lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202110120748.EROxcYlY-lkp@intel.com>
Date:   Tue, 12 Oct 2021 07:06:12 +0800
From:   kernel test robot <lkp@...el.com>
To:     Liguang Zhang <zhangliguang@...ux.alibaba.com>,
        "Rafael J. Wysocki" <rafael@...nel.org>,
        Len Brown <lenb@...nel.org>, James Morse <james.morse@....com>,
        Tony Luck <tony.luck@...el.com>, Borislav Petkov <bp@...en8.de>
Cc:     kbuild-all@...ts.01.org, linux-acpi@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        Liguang Zhang <zhangliguang@...ux.alibaba.com>
Subject: Re: [PATCH] ACPI / APEI: restore interrupt before panic in sdei flow

Hi Liguang,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on rafael-pm/linux-next]
[also build test WARNING on linux/master linus/master v5.15-rc5 next-20211011]
[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/Liguang-Zhang/ACPI-APEI-restore-interrupt-before-panic-in-sdei-flow/20211011-231126
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-randconfig-a012-20211011 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/abb332bc84212b2ef288bb3e7ad24a04cd4853e6
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Liguang-Zhang/ACPI-APEI-restore-interrupt-before-panic-in-sdei-flow/20211011-231126
        git checkout abb332bc84212b2ef288bb3e7ad24a04cd4853e6
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   In file included from drivers/acpi/apei/ghes.c:20:
>> include/linux/arm_sdei.h:53:5: warning: no previous prototype for 'sdei_api_event_complete_and_resume' [-Wmissing-prototypes]
      53 | int sdei_api_event_complete_and_resume(u64 addr) { return 0; }
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/sdei_api_event_complete_and_resume +53 include/linux/arm_sdei.h

    44	
    45	#ifdef CONFIG_ARM_SDE_INTERFACE
    46	/* For use by arch code when CPU hotplug notifiers are not appropriate. */
    47	int sdei_mask_local_cpu(void);
    48	int sdei_unmask_local_cpu(void);
    49	int sdei_api_event_complete_and_resume(u64 addr);
    50	#else
    51	static inline int sdei_mask_local_cpu(void) { return 0; }
    52	static inline int sdei_unmask_local_cpu(void) { return 0; }
  > 53	int sdei_api_event_complete_and_resume(u64 addr) { return 0; }
    54	#endif /* CONFIG_ARM_SDE_INTERFACE */
    55	
    56	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (32522 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ