All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Elliot Berman <quic_eberman@quicinc.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 4/4] power: reset: Implement a PSCI SYSTEM_RESET2 reboot-mode driver
Date: Tue, 25 Jul 2023 16:49:58 +0800	[thread overview]
Message-ID: <202307251602.zQABbJGF-lkp@intel.com> (raw)
In-Reply-To: <20230724223057.1208122-5-quic_eberman@quicinc.com>

Hi Elliot,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on 6eaae198076080886b9e7d57f4ae06fa782f90ef]

url:    https://github.com/intel-lab-lkp/linux/commits/Elliot-Berman/power-reset-reboot-mode-Allow-magic-to-be-0/20230725-063351
base:   6eaae198076080886b9e7d57f4ae06fa782f90ef
patch link:    https://lore.kernel.org/r/20230724223057.1208122-5-quic_eberman%40quicinc.com
patch subject: [RFC PATCH 4/4] power: reset: Implement a PSCI SYSTEM_RESET2 reboot-mode driver
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20230725/202307251602.zQABbJGF-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230725/202307251602.zQABbJGF-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307251602.zQABbJGF-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/firmware/psci/psci.c:25:10: fatal error: asm/cpuidle.h: No such file or directory
      25 | #include <asm/cpuidle.h>
         |          ^~~~~~~~~~~~~~~
   compilation terminated.
--
   drivers/firmware/smccc/smccc.c: In function 'arm_smccc_version_init':
>> drivers/firmware/smccc/smccc.c:30:32: error: implicit declaration of function 'smccc_probe_trng' [-Werror=implicit-function-declaration]
      30 |         smccc_trng_available = smccc_probe_trng();
         |                                ^~~~~~~~~~~~~~~~
   In file included from drivers/firmware/smccc/smccc.c:10:
   include/linux/arm-smccc.h:536:49: error: expected string literal before 'SMCCC_HVC_INST'
     536 | #define arm_smccc_1_1_hvc(...)  __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
         |                                                 ^~~~~~~~~~~~~~
   include/linux/arm-smccc.h:499:30: note: in definition of macro '__arm_smccc_1_1'
     499 |                              inst "\n" :                                \
         |                              ^~~~
   include/linux/arm-smccc.h:570:25: note: in expansion of macro 'arm_smccc_1_1_hvc'
     570 |                         arm_smccc_1_1_hvc(__VA_ARGS__);                 \
         |                         ^~~~~~~~~~~~~~~~~
   drivers/firmware/smccc/smccc.c:37:17: note: in expansion of macro 'arm_smccc_1_1_invoke'
      37 |                 arm_smccc_1_1_invoke(ARM_SMCCC_ARCH_FEATURES_FUNC_ID,
         |                 ^~~~~~~~~~~~~~~~~~~~
   include/linux/arm-smccc.h:438:29: warning: unused variable 'arg1' [-Wunused-variable]
     438 |         register typeof(a1) arg1 asm("r1") = __a1
         |                             ^~~~
   include/linux/arm-smccc.h:478:37: note: in expansion of macro '__declare_arg_1'
     478 | #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
         |                                     ^~~~~~~~~~~~~~
   include/linux/arm-smccc.h:479:37: note: in expansion of macro '___declare_args'
     479 | #define __declare_args(count, ...)  ___declare_args(count, __VA_ARGS__)
         |                                     ^~~~~~~~~~~~~~~
   include/linux/arm-smccc.h:497:17: note: in expansion of macro '__declare_args'
     497 |                 __declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); \
         |                 ^~~~~~~~~~~~~~
   include/linux/arm-smccc.h:536:33: note: in expansion of macro '__arm_smccc_1_1'
     536 | #define arm_smccc_1_1_hvc(...)  __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
         |                                 ^~~~~~~~~~~~~~~
   include/linux/arm-smccc.h:570:25: note: in expansion of macro 'arm_smccc_1_1_hvc'
     570 |                         arm_smccc_1_1_hvc(__VA_ARGS__);                 \
         |                         ^~~~~~~~~~~~~~~~~
   drivers/firmware/smccc/smccc.c:37:17: note: in expansion of macro 'arm_smccc_1_1_invoke'
      37 |                 arm_smccc_1_1_invoke(ARM_SMCCC_ARCH_FEATURES_FUNC_ID,
         |                 ^~~~~~~~~~~~~~~~~~~~
   include/linux/arm-smccc.h:437:32: warning: unused variable 'arg0' [-Wunused-variable]
     437 |         register unsigned long arg0 asm("r0") = (u32)a0;                        \
         |                                ^~~~
   include/linux/arm-smccc.h:478:37: note: in expansion of macro '__declare_arg_1'
     478 | #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
         |                                     ^~~~~~~~~~~~~~
   include/linux/arm-smccc.h:479:37: note: in expansion of macro '___declare_args'
     479 | #define __declare_args(count, ...)  ___declare_args(count, __VA_ARGS__)
         |                                     ^~~~~~~~~~~~~~~
   include/linux/arm-smccc.h:497:17: note: in expansion of macro '__declare_args'
     497 |                 __declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); \
         |                 ^~~~~~~~~~~~~~
   include/linux/arm-smccc.h:536:33: note: in expansion of macro '__arm_smccc_1_1'
     536 | #define arm_smccc_1_1_hvc(...)  __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
         |                                 ^~~~~~~~~~~~~~~
   include/linux/arm-smccc.h:570:25: note: in expansion of macro 'arm_smccc_1_1_hvc'
     570 |                         arm_smccc_1_1_hvc(__VA_ARGS__);                 \
         |                         ^~~~~~~~~~~~~~~~~
   drivers/firmware/smccc/smccc.c:37:17: note: in expansion of macro 'arm_smccc_1_1_invoke'
      37 |                 arm_smccc_1_1_invoke(ARM_SMCCC_ARCH_FEATURES_FUNC_ID,
         |                 ^~~~~~~~~~~~~~~~~~~~
   include/linux/arm-smccc.h:520:49: error: expected string literal before 'SMCCC_SMC_INST'
     520 | #define arm_smccc_1_1_smc(...)  __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
         |                                                 ^~~~~~~~~~~~~~
   include/linux/arm-smccc.h:499:30: note: in definition of macro '__arm_smccc_1_1'
     499 |                              inst "\n" :                                \
         |                              ^~~~
   include/linux/arm-smccc.h:573:25: note: in expansion of macro 'arm_smccc_1_1_smc'
     573 |                         arm_smccc_1_1_smc(__VA_ARGS__);                 \
         |                         ^~~~~~~~~~~~~~~~~
   drivers/firmware/smccc/smccc.c:37:17: note: in expansion of macro 'arm_smccc_1_1_invoke'
      37 |                 arm_smccc_1_1_invoke(ARM_SMCCC_ARCH_FEATURES_FUNC_ID,
         |                 ^~~~~~~~~~~~~~~~~~~~
   include/linux/arm-smccc.h:438:29: warning: unused variable 'arg1' [-Wunused-variable]
     438 |         register typeof(a1) arg1 asm("r1") = __a1
         |                             ^~~~
   include/linux/arm-smccc.h:478:37: note: in expansion of macro '__declare_arg_1'
     478 | #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
         |                                     ^~~~~~~~~~~~~~
   include/linux/arm-smccc.h:479:37: note: in expansion of macro '___declare_args'
     479 | #define __declare_args(count, ...)  ___declare_args(count, __VA_ARGS__)
         |                                     ^~~~~~~~~~~~~~~
   include/linux/arm-smccc.h:497:17: note: in expansion of macro '__declare_args'
     497 |                 __declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); \
         |                 ^~~~~~~~~~~~~~
   include/linux/arm-smccc.h:520:33: note: in expansion of macro '__arm_smccc_1_1'
     520 | #define arm_smccc_1_1_smc(...)  __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
         |                                 ^~~~~~~~~~~~~~~
   include/linux/arm-smccc.h:573:25: note: in expansion of macro 'arm_smccc_1_1_smc'
     573 |                         arm_smccc_1_1_smc(__VA_ARGS__);                 \
         |                         ^~~~~~~~~~~~~~~~~
   drivers/firmware/smccc/smccc.c:37:17: note: in expansion of macro 'arm_smccc_1_1_invoke'
      37 |                 arm_smccc_1_1_invoke(ARM_SMCCC_ARCH_FEATURES_FUNC_ID,
         |                 ^~~~~~~~~~~~~~~~~~~~
   include/linux/arm-smccc.h:437:32: warning: unused variable 'arg0' [-Wunused-variable]
     437 |         register unsigned long arg0 asm("r0") = (u32)a0;                        \
         |                                ^~~~
   include/linux/arm-smccc.h:478:37: note: in expansion of macro '__declare_arg_1'
     478 | #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
         |                                     ^~~~~~~~~~~~~~
   include/linux/arm-smccc.h:479:37: note: in expansion of macro '___declare_args'
     479 | #define __declare_args(count, ...)  ___declare_args(count, __VA_ARGS__)
         |                                     ^~~~~~~~~~~~~~~
   include/linux/arm-smccc.h:497:17: note: in expansion of macro '__declare_args'
--
>> drivers/firmware/smccc/kvm_guest.c:11:10: fatal error: asm/hypervisor.h: No such file or directory
      11 | #include <asm/hypervisor.h>
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.


vim +25 drivers/firmware/psci/psci.c

bff60792f994a8 drivers/firmware/psci.c      Mark Rutland      2015-07-31  24  
8b6f2499ac45d5 drivers/firmware/psci.c      Lorenzo Pieralisi 2016-02-01 @25  #include <asm/cpuidle.h>
bff60792f994a8 drivers/firmware/psci.c      Mark Rutland      2015-07-31  26  #include <asm/cputype.h>
6e085e0ac9cf16 drivers/firmware/psci/psci.c Will Deacon       2020-12-09  27  #include <asm/hypervisor.h>
bff60792f994a8 drivers/firmware/psci.c      Mark Rutland      2015-07-31  28  #include <asm/system_misc.h>
bff60792f994a8 drivers/firmware/psci.c      Mark Rutland      2015-07-31  29  #include <asm/smp_plat.h>
faf7ec4a92c023 drivers/firmware/psci.c      Sudeep Holla      2015-06-18  30  #include <asm/suspend.h>
bff60792f994a8 drivers/firmware/psci.c      Mark Rutland      2015-07-31  31  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2023-07-25  8:50 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24 22:30 [RFC PATCH 0/4] Implement a PSCI SYSTEM_RESET2 reboot-mode driver Elliot Berman
2023-07-24 22:30 ` [RFC PATCH 1/4] power: reset: reboot-mode: Allow magic to be 0 Elliot Berman
2023-07-26  5:06   ` Pavan Kondeti
2023-07-24 22:30 ` [RFC PATCH 2/4] power: reset: reboot-mode: Wire reboot_mode enum to magic Elliot Berman
2023-07-25 10:03   ` Mukesh Ojha
2023-07-25 21:04     ` Elliot Berman
2023-07-26  5:10       ` Pavan Kondeti
2023-07-24 22:30 ` [RFC PATCH 3/4] dt-bindings: power: reset: Document arm,psci-vendor-reset Elliot Berman
2023-07-24 23:23   ` Rob Herring
2023-07-25 18:01     ` Elliot Berman
2023-07-25 20:26       ` Elliot Berman
2023-07-26 13:45       ` Rob Herring
2023-07-26 17:18         ` Elliot Berman
2023-07-25  8:29   ` Mukesh Ojha
2023-07-24 22:30 ` [RFC PATCH 4/4] power: reset: Implement a PSCI SYSTEM_RESET2 reboot-mode driver Elliot Berman
2023-07-25  5:44   ` Krzysztof Kozlowski
2023-07-25  8:07   ` kernel test robot
2023-07-25  8:07   ` kernel test robot
2023-07-25  8:49   ` kernel test robot [this message]
2023-07-26 10:41   ` Pavan Kondeti
2023-07-26 17:19     ` Elliot Berman
2023-07-27  3:00       ` Pavan Kondeti
2023-07-27  3:00         ` Pavan Kondeti
2023-07-25 19:12 ` [RFC PATCH 0/4] " Florian Fainelli
2023-07-25 20:27   ` Elliot Berman
2023-07-26 17:38     ` Florian Fainelli

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=202307251602.zQABbJGF-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=quic_eberman@quicinc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.