linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Mark Brown <broonie@kernel.org>
Cc: kbuild-all@lists.01.org,
	"Catalin Marinas" <catalin.marinas@arm.com>,
	"Will Deacon" <will@kernel.org>,
	"Alexander Viro" <viro@zeniv.linux.org.uk>,
	"Paul Elliott" <paul.elliott@arm.com>,
	"Peter Zijlstra" <peterz@infradead.org>,
	"Yu-cheng Yu" <yu-cheng.yu@intel.com>,
	"Amit Kachhap" <amit.kachhap@arm.com>,
	"Vincenzo Frascino" <vincenzo.frascino@arm.com>,
	"Marc Zyngier" <maz@kernel.org>,
	"Eugene Syromiatnikov" <esyr@redhat.com>,
	"Szabolcs Nagy" <szabolcs.nagy@arm.com>,
	"H . J . Lu" <hjl.tools@gmail.com>,
	"Andrew Jones" <drjones@redhat.com>,
	"Kees Cook" <keescook@chromium.org>,
	"Arnd Bergmann" <arnd@arndb.de>, "Jann Horn" <jannh@google.com>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Kristina Martšenko" <kristina.martsenko@arm.com>,
	"Thomas Gleixner" <tglx@linutronix.de>,
	"Florian Weimer" <fweimer@redhat.com>,
	"Sudakshina Das" <sudi.das@arm.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org,
	linux-fsdevel@vger.kernel.org,
	"Dave Martin" <Dave.Martin@arm.com>,
	"Mark Brown" <broonie@kernel.org>
Subject: Re: [PATCH v5 09/12] arm64: traps: Shuffle code to eliminate forward declarations
Date: Sat, 25 Jan 2020 07:00:20 +0800	[thread overview]
Message-ID: <202001250601.9AvE8NuS%lkp@intel.com> (raw)
In-Reply-To: <20200122212144.6409-10-broonie@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 3922 bytes --]

Hi Mark,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on asm-generic/master]
[also build test ERROR on kvmarm/next linus/master v5.5-rc7]
[cannot apply to arm64/for-next/core arm-perf/for-next/perf next-20200124]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Mark-Brown/arm64-ARMv8-5-A-Branch-Target-Identification-support/20200124-203746
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git master
config: arm64-randconfig-a001-20200124 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/arm64/kernel/traps.c: In function 'do_sysinstr':
>> arch/arm64/kernel/traps.c:728:14: error: 'sys64_hooks' undeclared (first use in this function); did you mean 'sys64_hook'?
     for (hook = sys64_hooks; hook->handler; hook++)
                 ^~~~~~~~~~~
                 sys64_hook
   arch/arm64/kernel/traps.c:728:14: note: each undeclared identifier is reported only once for each function it appears in
>> arch/arm64/kernel/traps.c:728:31: error: dereferencing pointer to incomplete type 'const struct sys64_hook'
     for (hook = sys64_hooks; hook->handler; hook++)
                                  ^~
>> arch/arm64/kernel/traps.c:728:46: error: increment of pointer to an incomplete type 'const struct sys64_hook'
     for (hook = sys64_hooks; hook->handler; hook++)
                                                 ^~

vim +728 arch/arm64/kernel/traps.c

70c63cdfd6ee61 Marc Zyngier     2018-09-27  723  
afa7c0e5b965cd James Morse      2019-10-25  724  void do_sysinstr(unsigned int esr, struct pt_regs *regs)
9dbd5bb25c56e3 Suzuki K Poulose 2016-09-09  725  {
37143dcc44f8f3 Mark Rutland     2019-08-13  726  	const struct sys64_hook *hook;
9dbd5bb25c56e3 Suzuki K Poulose 2016-09-09  727  
9dbd5bb25c56e3 Suzuki K Poulose 2016-09-09 @728  	for (hook = sys64_hooks; hook->handler; hook++)
9dbd5bb25c56e3 Suzuki K Poulose 2016-09-09  729  		if ((hook->esr_mask & esr) == hook->esr_val) {
9dbd5bb25c56e3 Suzuki K Poulose 2016-09-09  730  			hook->handler(esr, regs);
9dbd5bb25c56e3 Suzuki K Poulose 2016-09-09  731  			return;
9dbd5bb25c56e3 Suzuki K Poulose 2016-09-09  732  		}
9dbd5bb25c56e3 Suzuki K Poulose 2016-09-09  733  
49f6cba617fef4 Mark Rutland     2017-01-27  734  	/*
49f6cba617fef4 Mark Rutland     2017-01-27  735  	 * New SYS instructions may previously have been undefined at EL0. Fall
49f6cba617fef4 Mark Rutland     2017-01-27  736  	 * back to our usual undefined instruction handler so that we handle
49f6cba617fef4 Mark Rutland     2017-01-27  737  	 * these consistently.
49f6cba617fef4 Mark Rutland     2017-01-27  738  	 */
49f6cba617fef4 Mark Rutland     2017-01-27  739  	do_undefinstr(regs);
9dbd5bb25c56e3 Suzuki K Poulose 2016-09-09  740  }
b6e43c0e3129ff James Morse      2019-10-25  741  NOKPROBE_SYMBOL(do_sysinstr);
9dbd5bb25c56e3 Suzuki K Poulose 2016-09-09  742  

:::::: The code at line 728 was first introduced by commit
:::::: 9dbd5bb25c56e35e6b4c34d968689a1ded850924 arm64: Refactor sysinstr exception handling

:::::: TO: Suzuki K Poulose <suzuki.poulose@arm.com>
:::::: CC: Will Deacon <will.deacon@arm.com>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31894 bytes --]

  reply	other threads:[~2020-01-24 23:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-22 21:21 [PATCH v5 00/12] arm64: ARMv8.5-A: Branch Target Identification support Mark Brown
2020-01-22 21:21 ` [PATCH v5 01/12] ELF: UAPI and Kconfig additions for ELF program properties Mark Brown
2020-01-22 21:21 ` [PATCH v5 02/12] ELF: Add ELF program property parsing support Mark Brown
2020-01-22 21:21 ` [PATCH v5 03/12] mm: Reserve asm-generic prot flag 0x10 for arch use Mark Brown
2020-01-22 21:21 ` [PATCH v5 04/12] arm64: Basic Branch Target Identification support Mark Brown
2020-01-22 21:21 ` [PATCH v5 05/12] elf: Allow arch to tweak initial mmap prot flags Mark Brown
2020-01-22 21:21 ` [PATCH v5 06/12] arm64: elf: Enable BTI at exec based on ELF program properties Mark Brown
2020-01-24 19:12   ` kbuild test robot
2020-01-22 21:21 ` [PATCH v5 07/12] arm64: BTI: Decode BYTPE bits when printing PSTATE Mark Brown
2020-01-22 21:21 ` [PATCH v5 08/12] arm64: unify native/compat instruction skipping Mark Brown
2020-01-22 21:21 ` [PATCH v5 09/12] arm64: traps: Shuffle code to eliminate forward declarations Mark Brown
2020-01-24 23:00   ` kbuild test robot [this message]
2020-01-22 21:21 ` [PATCH v5 10/12] arm64: BTI: Reset BTYPE when skipping emulated instructions Mark Brown
2020-01-22 21:21 ` [PATCH v5 11/12] KVM: " Mark Brown
2020-01-22 21:21 ` [PATCH v5 12/12] arm64: mm: Display guarded pages in ptdump Mark Brown

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=202001250601.9AvE8NuS%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Dave.Martin@arm.com \
    --cc=amit.kachhap@arm.com \
    --cc=arnd@arndb.de \
    --cc=broonie@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=drjones@redhat.com \
    --cc=esyr@redhat.com \
    --cc=fweimer@redhat.com \
    --cc=hjl.tools@gmail.com \
    --cc=jannh@google.com \
    --cc=kbuild-all@lists.01.org \
    --cc=keescook@chromium.org \
    --cc=kristina.martsenko@arm.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=paul.elliott@arm.com \
    --cc=peterz@infradead.org \
    --cc=richard.henderson@linaro.org \
    --cc=sudi.das@arm.com \
    --cc=szabolcs.nagy@arm.com \
    --cc=tglx@linutronix.de \
    --cc=vincenzo.frascino@arm.com \
    --cc=viro@zeniv.linux.org.uk \
    --cc=will@kernel.org \
    --cc=yu-cheng.yu@intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).