From: kernel test robot <lkp@intel.com>
To: Sai Prakash Ranjan <quic_saipraka@quicinc.com>,
Will Deacon <will@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Marc Zyngier <maz@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
Steven Rostedt <rostedt@goodmis.org>
Cc: kbuild-all@lists.01.org, gregkh <gregkh@linuxfoundation.org>,
quic_psodagud@quicinc.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org
Subject: Re: [PATCHv7 5/5] asm-generic/io: Add logging support for MMIO accessors
Date: Sun, 16 Jan 2022 00:33:33 +0800 [thread overview]
Message-ID: <202201160019.hrsMYj6V-lkp@intel.com> (raw)
In-Reply-To: <8085e36ca19787ae111e4cfbb5c555e65bd34be6.1642233364.git.quic_saipraka@quicinc.com>
Hi Sai,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on next-20220115]
[cannot apply to arm64/for-next/core arnd-asm-generic/master arm-perf/for-next/perf linus/master v5.16 v5.16-rc8 v5.16-rc7 v5.16]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Sai-Prakash-Ranjan/lib-rwmmio-arm64-Add-support-to-trace-register-reads-writes/20220115-211708
base: bd8d9cef2a7932e688ca267ea1adf5ea6557c777
config: nios2-defconfig (https://download.01.org/0day-ci/archive/20220116/202201160019.hrsMYj6V-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/0757812bba83a756f73ce1a84c86ded3e276cd0f
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Sai-Prakash-Ranjan/lib-rwmmio-arm64-Add-support-to-trace-register-reads-writes/20220115-211708
git checkout 0757812bba83a756f73ce1a84c86ded3e276cd0f
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from arch/nios2/include/asm/io.h:41,
from include/linux/io.h:13,
from arch/nios2/include/asm/pgtable.h:18,
from include/linux/pgtable.h:6,
from arch/nios2/kernel/nios2_ksyms.c:11:
include/asm-generic/io.h: In function 'readb':
>> include/asm-generic/io.h:181:32: error: '_THIS_IP_' undeclared (first use in this function)
181 | log_read_mmio(8, addr, _THIS_IP_);
| ^~~~~~~~~
include/asm-generic/io.h:181:32: note: each undeclared identifier is reported only once for each function it appears in
include/asm-generic/io.h: In function 'readw':
include/asm-generic/io.h:196:33: error: '_THIS_IP_' undeclared (first use in this function)
196 | log_read_mmio(16, addr, _THIS_IP_);
| ^~~~~~~~~
include/asm-generic/io.h: In function 'readl':
include/asm-generic/io.h:211:33: error: '_THIS_IP_' undeclared (first use in this function)
211 | log_read_mmio(32, addr, _THIS_IP_);
| ^~~~~~~~~
include/asm-generic/io.h: In function 'writeb':
include/asm-generic/io.h:241:40: error: '_THIS_IP_' undeclared (first use in this function)
241 | log_write_mmio(value, 8, addr, _THIS_IP_);
| ^~~~~~~~~
include/asm-generic/io.h: In function 'writew':
include/asm-generic/io.h:253:41: error: '_THIS_IP_' undeclared (first use in this function)
253 | log_write_mmio(value, 16, addr, _THIS_IP_);
| ^~~~~~~~~
include/asm-generic/io.h: In function 'writel':
include/asm-generic/io.h:265:41: error: '_THIS_IP_' undeclared (first use in this function)
265 | log_write_mmio(value, 32, addr, _THIS_IP_);
| ^~~~~~~~~
vim +/_THIS_IP_ +181 include/asm-generic/io.h
169
170 /*
171 * {read,write}{b,w,l,q}() access little endian memory and return result in
172 * native endianness.
173 */
174
175 #ifndef readb
176 #define readb readb
177 static inline u8 readb(const volatile void __iomem *addr)
178 {
179 u8 val;
180
> 181 log_read_mmio(8, addr, _THIS_IP_);
182 __io_br();
183 val = __raw_readb(addr);
184 __io_ar(val);
185 log_post_read_mmio(val, 8, addr, _THIS_IP_);
186 return val;
187 }
188 #endif
189
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next prev parent reply other threads:[~2022-01-15 16:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-15 13:14 [PATCHv7 0/5] lib/rwmmio/arm64: Add support to trace register reads/writes Sai Prakash Ranjan
2022-01-15 13:14 ` [PATCHv7 1/5] arm64: io: Use asm-generic high level MMIO accessors Sai Prakash Ranjan
2022-01-15 13:14 ` [PATCHv7 2/5] irqchip/tegra: Fix overflow implicit truncation warnings Sai Prakash Ranjan
2022-01-15 13:14 ` [PATCHv7 3/5] drm/meson: " Sai Prakash Ranjan
2022-01-15 13:14 ` [PATCHv7 4/5] lib: Add register read/write tracing support Sai Prakash Ranjan
2022-01-15 13:14 ` [PATCHv7 5/5] asm-generic/io: Add logging support for MMIO accessors Sai Prakash Ranjan
2022-01-15 16:33 ` kernel test robot [this message]
2022-01-17 3:36 ` Sai Prakash Ranjan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202201160019.hrsMYj6V-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=gregkh@linuxfoundation.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maz@kernel.org \
--cc=quic_psodagud@quicinc.com \
--cc=quic_saipraka@quicinc.com \
--cc=rostedt@goodmis.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox