From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5D1AC2BA18 for ; Fri, 21 Jun 2024 00:40:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7C7776B0329; Thu, 20 Jun 2024 20:40:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 74DAF8D0108; Thu, 20 Jun 2024 20:40:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 52C296B032B; Thu, 20 Jun 2024 20:40:20 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 2917D6B0329 for ; Thu, 20 Jun 2024 20:40:20 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id C7EFA140545 for ; Fri, 21 Jun 2024 00:40:19 +0000 (UTC) X-FDA: 82253039358.05.ED9D02F Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by imf12.hostedemail.com (Postfix) with ESMTP id 904F040002 for ; Fri, 21 Jun 2024 00:40:15 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Ie15obh5; spf=pass (imf12.hostedemail.com: domain of lkp@intel.com designates 198.175.65.15 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1718930408; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=8alT1Znd8+YrI28pjvHXUuloj57WGMYl+0hUFu5MJ7I=; b=MH0sqV2kQ/9j3RyPDmbG6HrTFLzmk1GRfb8F6gvwvwbBg/oKd6IXF7kKdYRB75T4I0Rnd5 Pm8FA7NRJC+yjk8jF2F4GiVxvvyHZTojrxxyoCNXwvIqM5hVUxci1OCBkoC+tT7msfVITl WTr4Mw2CygYjLd+jil1ewWNKXWGKzIw= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718930408; a=rsa-sha256; cv=none; b=UGdcyQEEpN3gI5DSlvIMkB34s9ma3GivZ12uw9+XNB1osHw/nKirvLCin2M8lrOJHv5KcD DRaImG4CDSg55w3EtDu7wN85v0mXCb8380nqGTZ//Sn7kp3273L75Oa2uTcfqwXINNsN7a GQW3ieIlMlPUsnhmpny33tetFbY028s= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Ie15obh5; spf=pass (imf12.hostedemail.com: domain of lkp@intel.com designates 198.175.65.15 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718930417; x=1750466417; h=date:from:to:cc:subject:message-id:mime-version; bh=sMWthwXIFJZp0S9H1q6Y/N/vWrMO/9rmuZRM0tzS7KY=; b=Ie15obh5P1okWgjrPYR1ZJ9Vo42mRklCFn5QmU7Iklqun+5rrpCyeD7C aJ/kMASZzwfpH02AXMQ8M+5pEi0CeOZrVdYXiX4gAaLTInXPiB2KYGkfD 7p5Hw/kDfSaz6dDuc8ietU5a9+/5jip2KZ4vaLdsVuk4X7jMScdCu0KmG jpwKFwQUp5ttsFTse3ge4BkFYLFXPmuDtrRBL52ETR4WvaD3kn554iFfo n54omth9urTzMXDUej+NVmdlq/ikFsX48X/ZJyNYUKaTy+vspvVf8w3M5 d/vUE+iyLCUATJTEHjDliCj2Wk+zGWIyyRfmNU98FvQ+SiZL7VQZxBlUj A==; X-CSE-ConnectionGUID: ZgLDNShLREmKcYD97+4axQ== X-CSE-MsgGUID: Pkohhx3FT4KbqFv4FeYNqA== X-IronPort-AV: E=McAfee;i="6700,10204,11109"; a="19722401" X-IronPort-AV: E=Sophos;i="6.08,253,1712646000"; d="scan'208";a="19722401" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2024 17:40:15 -0700 X-CSE-ConnectionGUID: yIC9teKbQm+h72a09igVww== X-CSE-MsgGUID: r5g23D/BRwaD2IQtpixvrQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,253,1712646000"; d="scan'208";a="47375956" Received: from lkp-server01.sh.intel.com (HELO 68891e0c336b) ([10.239.97.150]) by orviesa005.jf.intel.com with ESMTP; 20 Jun 2024 17:40:08 -0700 Received: from kbuild by 68891e0c336b with local (Exim 4.96) (envelope-from ) id 1sKSJx-00084M-28; Fri, 21 Jun 2024 00:40:05 +0000 Date: Fri, 21 Jun 2024 08:39:53 +0800 From: kernel test robot To: Joshua Yeong Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Conor Dooley Subject: [linux-next:master 1969/7397] drivers/cache/starfive_starlink_cache.c:40:8: error: call to undeclared function 'readq'; ISO C99 and later do not support implicit function declarations Message-ID: <202406210833.YnAXTakc-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: ubuynk1c6537kpui7u9anjibxpmt158o X-Rspamd-Queue-Id: 904F040002 X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1718930415-869808 X-HE-Meta: U2FsdGVkX1/cbpyCsd05CvSHaeXi5t3qGnzwZP3EQw/wCEXuNq075g9tZTdi2/skQq0oQHeG3faqdzJjMMaIXG89+/g6fle1dOy/BA5PQmaS3LS2ZxOnxvpX2DNHWsKNEI29EDlIsmfSqP7UZYo1pReHh2SFgBWwgvgwCqq0bYMUV14xQtS8Dcyg8kUp1JGDB0BL6xZiaW5gZaC3lo5uI8jx84V6hE9Mf+U6zznLA0HQZAOdqoVjjGzSNY3vr+7XfSgsV9PM4A/3VlAHcQc9qnuSzEYP2SoKhHjutRaaqhz7BzKySkRJhzThcPkltO2q8sHHf/kYNm56xSmht9MYU5ON8iSNHum8/uNPsbqCkyCRi680WdERhj8e022MQ7QUNfVmiPipGBfngRlr69EofZJil7TT0/3TqEPTbrkoN0VKQpIcIrs2hwnUClC0wJyiFOt+2n5HOnici/NDms1Nu14md6Oi0pi65uGWZav+d5y21m+KMGj9hBfbW2AItgvHpzY0kjHh4hqUfzk9lexYhSB7LTbbKZ4y/NGGQbvvKHsx+7rKxlwyrFj+INjFHLVUzxol3RarJqpd5qgzOUMYmXzh0W/WHwwY5H6ZQ0SFOg82vaOe9orkHADyM0de9xQTDqctNTTvhfiDfHq599MpMP+i2kIXG2RVnfi/L9sjd5LMW7nlTHzMLPpnP1oN+cI7qpMBxmD/Kl7TM+FvvsKsMzGlDnOWnKCTIY9Hd5wpSFuL9v60rosHj2km4s3HU0NVcbUEHmpas4YK5hYh41wHdKXb7vWYpXT9dVh+fjD16Jq4p6QdClAG0corbXdhsEjT4XBcdbF+NVJ4isgjaAze+mAxh3wlM1uIzgMItSTIK4Otj++fibt5gi6EfW+zUS2eqXCIVkKVc6hZf041Gdbl1VL+JrOKdpub8eOsInQHoer+4ouovzmREoCsENiTwZtxXj7el/zZsOt5PCXvI2F JNgn1hBI 6iFy0iTj2S5wBWanU+eqTp28AUYia0KkcQhxYYvYXCVuRli0Y2jlGIA9crsoeOPf4EJ5aPu+y1VrgyrHExY218+mfZUUslBgToDFqqxty3B+FbtlRxejwTMdDn+Zm+iOGWJRgqWY4VcLM2VLlMdFNaJgnp5W12SkutywQpDW7aUx7CsWQnf9V31Pcb1RpiCh0gZ/0+FD7fCrhgHzChtJzJHByy0ZjDqXsjLMpPvJeM/jEoJ6iXLEUUzoF1FMPG9Au9j9HEQ6JohasVu8e6FWpBP24TzWZi5Z2ZEOXBeqlGQzjp9OmyYiB8ZM92j+GsF8pYV4+lZ7PBkMTmWfapBIXBxmsnJWxdNtHk+9CSlUT97vAXBLzP2olC+nj93NCT9fh0z+3ToVJhxy7D7C+SzobUJL1w4t1dOJGEecC X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: b992b79ca8bc336fa8e2c80990b5af80ed8f36fd commit: cabff60ca77da6cb460988e2af40bde95776d92b [1969/7397] cache: Add StarFive StarLink cache management config: riscv-randconfig-r061-20240621 (https://download.01.org/0day-ci/archive/20240621/202406210833.YnAXTakc-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project ad79a14c9e5ec4a369eed4adf567c22cc029863f) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240621/202406210833.YnAXTakc-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202406210833.YnAXTakc-lkp@intel.com/ All error/warnings (new ones prefixed by >>): | ~~~~~~~~~~~ ^ ~~~ In file included from drivers/cache/starfive_starlink_cache.c:12: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:14: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:548:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 548 | val = __raw_readb(PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:561:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 561 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ In file included from drivers/cache/starfive_starlink_cache.c:12: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:14: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:574:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 574 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ In file included from drivers/cache/starfive_starlink_cache.c:12: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:14: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:585:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 585 | __raw_writeb(value, PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:595:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 595 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:605:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 605 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:744:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 744 | insb(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:104:53: note: expanded from macro 'insb' 104 | #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from drivers/cache/starfive_starlink_cache.c:12: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:14: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:752:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 752 | insw(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:105:53: note: expanded from macro 'insw' 105 | #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from drivers/cache/starfive_starlink_cache.c:12: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:14: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:760:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 760 | insl(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:106:53: note: expanded from macro 'insl' 106 | #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from drivers/cache/starfive_starlink_cache.c:12: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:14: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:769:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 769 | outsb(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:118:55: note: expanded from macro 'outsb' 118 | #define outsb(addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from drivers/cache/starfive_starlink_cache.c:12: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:14: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:778:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 778 | outsw(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:119:55: note: expanded from macro 'outsw' 119 | #define outsw(addr, buffer, count) __outsw(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from drivers/cache/starfive_starlink_cache.c:12: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:14: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:787:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 787 | outsl(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:120:55: note: expanded from macro 'outsl' 120 | #define outsl(addr, buffer, count) __outsl(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from drivers/cache/starfive_starlink_cache.c:12: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:14: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:1115:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 1115 | return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port; | ~~~~~~~~~~ ^ >> drivers/cache/starfive_starlink_cache.c:40:8: error: call to undeclared function 'readq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | ret = readq_poll_timeout_atomic(ctl, v, !(v & STARLINK_CACHE_FLUSH_CTL_ENABLE_MASK), | ^ include/linux/iopoll.h:179:28: note: expanded from macro 'readq_poll_timeout_atomic' 179 | readx_poll_timeout_atomic(readq, addr, val, cond, delay_us, timeout_us) | ^ >> drivers/cache/starfive_starlink_cache.c:49:2: error: call to undeclared function 'writeq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), | ^ >> drivers/cache/starfive_starlink_cache.c:49:20: warning: shift count is negative [-Wshift-count-negative] 49 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:487:22: note: expanded from macro 'compiletime_assert' 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:475:23: note: expanded from macro '_compiletime_assert' 475 | __compiletime_assert(condition, msg, prefix, suffix) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:467:9: note: expanded from macro '__compiletime_assert' 467 | if (!(condition)) \ | ^~~~~~~~~ >> drivers/cache/starfive_starlink_cache.c:49:20: warning: shift count is negative [-Wshift-count-negative] 49 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:487:22: note: expanded from macro 'compiletime_assert' 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:475:23: note: expanded from macro '_compiletime_assert' 475 | __compiletime_assert(condition, msg, prefix, suffix) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:467:9: note: expanded from macro '__compiletime_assert' 467 | if (!(condition)) \ | ^~~~~~~~~ >> drivers/cache/starfive_starlink_cache.c:49:20: warning: shift count is negative [-Wshift-count-negative] 49 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:487:22: note: expanded from macro 'compiletime_assert' 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:475:23: note: expanded from macro '_compiletime_assert' 475 | __compiletime_assert(condition, msg, prefix, suffix) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:467:9: note: expanded from macro '__compiletime_assert' 467 | if (!(condition)) \ | ^~~~~~~~~ >> drivers/cache/starfive_starlink_cache.c:49:20: warning: shift count is negative [-Wshift-count-negative] 49 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:487:22: note: expanded from macro 'compiletime_assert' 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:475:23: note: expanded from macro '_compiletime_assert' 475 | __compiletime_assert(condition, msg, prefix, suffix) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:467:9: note: expanded from macro '__compiletime_assert' 467 | if (!(condition)) \ | ^~~~~~~~~ >> drivers/cache/starfive_starlink_cache.c:49:20: warning: shift count is negative [-Wshift-count-negative] 49 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:487:22: note: expanded from macro 'compiletime_assert' 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:475:23: note: expanded from macro '_compiletime_assert' 475 | __compiletime_assert(condition, msg, prefix, suffix) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:467:9: note: expanded from macro '__compiletime_assert' 467 | if (!(condition)) \ | ^~~~~~~~~ >> drivers/cache/starfive_starlink_cache.c:49:20: warning: shift count is negative [-Wshift-count-negative] 49 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:487:22: note: expanded from macro 'compiletime_assert' 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:475:23: note: expanded from macro '_compiletime_assert' 475 | __compiletime_assert(condition, msg, prefix, suffix) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:467:9: note: expanded from macro '__compiletime_assert' 467 | if (!(condition)) \ | ^~~~~~~~~ >> drivers/cache/starfive_starlink_cache.c:49:20: warning: shift count is negative [-Wshift-count-negative] 49 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:487:22: note: expanded from macro 'compiletime_assert' 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:475:23: note: expanded from macro '_compiletime_assert' 475 | __compiletime_assert(condition, msg, prefix, suffix) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:467:9: note: expanded from macro '__compiletime_assert' 467 | if (!(condition)) \ | ^~~~~~~~~ >> drivers/cache/starfive_starlink_cache.c:49:20: warning: shift count is negative [-Wshift-count-negative] 49 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:487:22: note: expanded from macro 'compiletime_assert' 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:475:23: note: expanded from macro '_compiletime_assert' 475 | __compiletime_assert(condition, msg, prefix, suffix) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:467:9: note: expanded from macro '__compiletime_assert' 467 | if (!(condition)) \ | ^~~~~~~~~ >> drivers/cache/starfive_starlink_cache.c:49:20: warning: shift count is negative [-Wshift-count-negative] 49 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:487:22: note: expanded from macro 'compiletime_assert' 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:475:23: note: expanded from macro '_compiletime_assert' 475 | __compiletime_assert(condition, msg, prefix, suffix) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:467:9: note: expanded from macro '__compiletime_assert' 467 | if (!(condition)) \ | ^~~~~~~~~ >> drivers/cache/starfive_starlink_cache.c:49:20: warning: shift count is negative [-Wshift-count-negative] 49 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ include/linux/bitfield.h:116:38: note: expanded from macro 'FIELD_PREP' 116 | ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \ | ~~~~~~~~~^~~~~~ include/linux/bitfield.h:45:38: note: expanded from macro '__bf_shf' 45 | #define __bf_shf(x) (__builtin_ffsll(x) - 1) | ^ >> drivers/cache/starfive_starlink_cache.c:49:20: warning: shift count is negative [-Wshift-count-negative] 49 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ include/linux/bitfield.h:116:49: note: expanded from macro 'FIELD_PREP' 116 | ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \ | ^~~~~ drivers/cache/starfive_starlink_cache.c:51:20: warning: shift count is negative [-Wshift-count-negative] 51 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr + size), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:487:22: note: expanded from macro 'compiletime_assert' 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:475:23: note: expanded from macro '_compiletime_assert' 475 | __compiletime_assert(condition, msg, prefix, suffix) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:467:9: note: expanded from macro '__compiletime_assert' 467 | if (!(condition)) \ | ^~~~~~~~~ drivers/cache/starfive_starlink_cache.c:51:20: warning: shift count is negative [-Wshift-count-negative] 51 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr + size), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:487:22: note: expanded from macro 'compiletime_assert' 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:475:23: note: expanded from macro '_compiletime_assert' 475 | __compiletime_assert(condition, msg, prefix, suffix) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:467:9: note: expanded from macro '__compiletime_assert' 467 | if (!(condition)) \ | ^~~~~~~~~ drivers/cache/starfive_starlink_cache.c:51:20: warning: shift count is negative [-Wshift-count-negative] 51 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr + size), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:487:22: note: expanded from macro 'compiletime_assert' 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:475:23: note: expanded from macro '_compiletime_assert' 475 | __compiletime_assert(condition, msg, prefix, suffix) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:467:9: note: expanded from macro '__compiletime_assert' 467 | if (!(condition)) \ | ^~~~~~~~~ drivers/cache/starfive_starlink_cache.c:51:20: warning: shift count is negative [-Wshift-count-negative] 51 | writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr + size), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cache/starfive_starlink_cache.c:22:44: note: expanded from macro 'STARLINK_CACHE_ADDRESS_RANGE_MASK' 22 | #define STARLINK_CACHE_ADDRESS_RANGE_MASK GENMASK(39, 0) | ^ include/linux/bits.h:35:31: note: expanded from macro 'GENMASK' 35 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^ include/uapi/linux/bits.h:9:19: note: expanded from macro '__GENMASK' 9 | (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) | ^ note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:487:22: note: expanded from macro 'compiletime_assert' 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:475:23: note: expanded from macro '_compiletime_assert' 475 | __compiletime_assert(condition, msg, prefix, suffix) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:467:9: note: expanded from macro '__compiletime_assert' .. vim +/readq +40 drivers/cache/starfive_starlink_cache.c 33 34 static void starlink_cache_flush_complete(void) 35 { 36 volatile void __iomem *ctl = starlink_cache_base + STARLINK_CACHE_FLUSH_CTL; 37 u64 v; 38 int ret; 39 > 40 ret = readq_poll_timeout_atomic(ctl, v, !(v & STARLINK_CACHE_FLUSH_CTL_ENABLE_MASK), 41 STARLINK_CACHE_FLUSH_POLL_DELAY_US, 42 STARLINK_CACHE_FLUSH_TIMEOUT_US); 43 if (ret) 44 WARN(1, "StarFive Starlink cache flush operation timeout\n"); 45 } 46 47 static void starlink_cache_dma_cache_wback(phys_addr_t paddr, unsigned long size) 48 { > 49 writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), 50 starlink_cache_base + STARLINK_CACHE_FLUSH_START_ADDR); 51 writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr + size), 52 starlink_cache_base + STARLINK_CACHE_FLUSH_END_ADDR); 53 54 mb(); 55 writeq(FIELD_PREP(STARLINK_CACHE_FLUSH_CTL_MODE_MASK, 56 STARLINK_CACHE_FLUSH_CTL_CLEAN_SHARED), 57 starlink_cache_base + STARLINK_CACHE_FLUSH_CTL); 58 59 starlink_cache_flush_complete(); 60 } 61 62 static void starlink_cache_dma_cache_invalidate(phys_addr_t paddr, unsigned long size) 63 { 64 writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), 65 starlink_cache_base + STARLINK_CACHE_FLUSH_START_ADDR); 66 writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr + size), 67 starlink_cache_base + STARLINK_CACHE_FLUSH_END_ADDR); 68 69 mb(); 70 writeq(FIELD_PREP(STARLINK_CACHE_FLUSH_CTL_MODE_MASK, 71 STARLINK_CACHE_FLUSH_CTL_MAKE_INVALIDATE), 72 starlink_cache_base + STARLINK_CACHE_FLUSH_CTL); 73 74 starlink_cache_flush_complete(); 75 } 76 77 static void starlink_cache_dma_cache_wback_inv(phys_addr_t paddr, unsigned long size) 78 { 79 writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr), 80 starlink_cache_base + STARLINK_CACHE_FLUSH_START_ADDR); 81 writeq(FIELD_PREP(STARLINK_CACHE_ADDRESS_RANGE_MASK, paddr + size), 82 starlink_cache_base + STARLINK_CACHE_FLUSH_END_ADDR); 83 84 mb(); 85 writeq(FIELD_PREP(STARLINK_CACHE_FLUSH_CTL_MODE_MASK, 86 STARLINK_CACHE_FLUSH_CTL_CLEAN_INVALIDATE), 87 starlink_cache_base + STARLINK_CACHE_FLUSH_CTL); 88 89 starlink_cache_flush_complete(); 90 } 91 92 static const struct riscv_nonstd_cache_ops starlink_cache_ops = { > 93 .wback = &starlink_cache_dma_cache_wback, 94 .inv = &starlink_cache_dma_cache_invalidate, 95 .wback_inv = &starlink_cache_dma_cache_wback_inv, 96 }; 97 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki