[pm:bleeding-edge] BUILD SUCCESS WITH WARNING 506a524e05e240d2878cf86a56c47e72e09d329f
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 506a524e05e240d2878cf86a56c47e72e09d329f Merge branches 'acpi-scan' and 'acpi-processor-fixes' into linux-next
Warning reports:
https://lore.kernel.org/linux-acpi/202103310719.fEFGj0lc-lkp@intel.com
https://lore.kernel.org/linux-acpi/202103310741.YpByfbnj-lkp@intel.com
Warning in current branch:
drivers/acpi/processor_idle.c:542:15: warning: extra tokens at end of #ifdef directive
drivers/acpi/processor_idle.c:546:15: warning: extra tokens at end of #ifdef directive
drivers/acpi/processor_idle.c:546:15: warning: extra tokens at end of #ifdef directive [-Wextra-tokens]
Warning ids grouped by kconfigs:
gcc_recent_errors
|-- ia64-allmodconfig
| `-- drivers-acpi-processor_idle.c:warning:extra-tokens-at-end-of-ifdef-directive
|-- ia64-allyesconfig
| `-- drivers-acpi-processor_idle.c:warning:extra-tokens-at-end-of-ifdef-directive
|-- x86_64-allmodconfig
| `-- drivers-acpi-processor_idle.c:warning:extra-tokens-at-end-of-ifdef-directive
`-- x86_64-randconfig-s022-20210330
`-- drivers-acpi-processor_idle.c:warning:extra-tokens-at-end-of-ifdef-directive
clang_recent_errors
`-- x86_64-randconfig-a012-20210330
`-- drivers-acpi-processor_idle.c:warning:extra-tokens-at-end-of-ifdef-directive
elapsed time: 723m
configs tested: 128
configs skipped: 4
gcc tested configs:
arm defconfig
arm64 allyesconfig
arm64 defconfig
arm allyesconfig
arm allmodconfig
riscv allmodconfig
x86_64 allyesconfig
i386 allyesconfig
riscv allyesconfig
mips gcw0_defconfig
powerpc warp_defconfig
powerpc kmeter1_defconfig
mips ip22_defconfig
powerpc mpc837x_rdb_defconfig
nios2 3c120_defconfig
xtensa xip_kc705_defconfig
openrisc defconfig
mips rs90_defconfig
arm s3c2410_defconfig
mips db1xxx_defconfig
arm cerfcube_defconfig
arm tegra_defconfig
sh ul2_defconfig
arm neponset_defconfig
powerpc mpc836x_rdk_defconfig
xtensa virt_defconfig
sh titan_defconfig
arm mini2440_defconfig
arm gemini_defconfig
powerpc xes_mpc85xx_defconfig
powerpc fsp2_defconfig
arc alldefconfig
ia64 gensparse_defconfig
sh sdk7780_defconfig
m68k amiga_defconfig
sh j2_defconfig
arm magician_defconfig
arm exynos_defconfig
h8300 defconfig
arm am200epdkit_defconfig
sh se7343_defconfig
ia64 zx1_defconfig
parisc allyesconfig
mips cobalt_defconfig
powerpc pq2fads_defconfig
powerpc obs600_defconfig
mips bcm47xx_defconfig
powerpc mpc834x_mds_defconfig
powerpc ppc44x_defconfig
nios2 defconfig
mips ar7_defconfig
mips cu1000-neo_defconfig
sparc sparc64_defconfig
sh se7619_defconfig
arm vt8500_v6_v7_defconfig
powerpc arches_defconfig
mips qi_lb60_defconfig
mips malta_kvm_guest_defconfig
powerpc ebony_defconfig
sh migor_defconfig
mips lemote2f_defconfig
ia64 allmodconfig
ia64 defconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
m68k allyesconfig
arc allyesconfig
nds32 allnoconfig
nds32 defconfig
nios2 allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
xtensa allyesconfig
h8300 allyesconfig
arc defconfig
sh allmodconfig
parisc defconfig
s390 allyesconfig
s390 allmodconfig
s390 defconfig
sparc allyesconfig
sparc defconfig
i386 defconfig
mips allyesconfig
mips allmodconfig
powerpc allyesconfig
powerpc allmodconfig
powerpc allnoconfig
x86_64 randconfig-a004-20210330
x86_64 randconfig-a003-20210330
x86_64 randconfig-a002-20210330
x86_64 randconfig-a001-20210330
x86_64 randconfig-a005-20210330
x86_64 randconfig-a006-20210330
i386 randconfig-a004-20210330
i386 randconfig-a006-20210330
i386 randconfig-a003-20210330
i386 randconfig-a002-20210330
i386 randconfig-a001-20210330
i386 randconfig-a005-20210330
i386 randconfig-a015-20210330
i386 randconfig-a011-20210330
i386 randconfig-a014-20210330
i386 randconfig-a013-20210330
i386 randconfig-a016-20210330
i386 randconfig-a012-20210330
riscv nommu_k210_defconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
um allmodconfig
um allnoconfig
um allyesconfig
um defconfig
x86_64 rhel-8.3-kselftests
x86_64 defconfig
x86_64 rhel-8.3
x86_64 rhel-8.3-kbuiltin
x86_64 kexec
clang tested configs:
x86_64 randconfig-a012-20210330
x86_64 randconfig-a015-20210330
x86_64 randconfig-a014-20210330
x86_64 randconfig-a016-20210330
x86_64 randconfig-a013-20210330
x86_64 randconfig-a011-20210330
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 week, 3 days
[pm:bleeding-edge 46/47] drivers/acpi/processor_idle.c:546:15: warning: extra tokens at end of #ifdef directive
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: 506a524e05e240d2878cf86a56c47e72e09d329f
commit: bc5706eaeae0b51385d3859b0fdf17a2c8fdc134 [46/47] ACPI: processor: Fix CPU0 wakeup in acpi_idle_play_dead()
config: x86_64-randconfig-s022-20210330 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-279-g6d5d9b42-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commi...
git remote add pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
git fetch --no-tags pm bleeding-edge
git checkout bc5706eaeae0b51385d3859b0fdf17a2c8fdc134
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/acpi/processor_idle.c: In function 'acpi_idle_play_dead':
>> drivers/acpi/processor_idle.c:546:15: warning: extra tokens at end of #ifdef directive
546 | #ifdef defined(CONFIG_X86) && defined(CONFIG_HOTPLUG_CPU)
| ^
drivers/acpi/processor_idle.c: At top level:
drivers/acpi/processor_idle.c:1103:12: warning: no previous prototype for 'acpi_processor_ffh_lpi_probe' [-Wmissing-prototypes]
1103 | int __weak acpi_processor_ffh_lpi_probe(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/acpi/processor_idle.c:1108:12: warning: no previous prototype for 'acpi_processor_ffh_lpi_enter' [-Wmissing-prototypes]
1108 | int __weak acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for ADI_AXI_ADC
Depends on IIO && HAS_IOMEM && OF
Selected by
- AD9467 && IIO && SPI
vim +546 drivers/acpi/processor_idle.c
524
525 /**
526 * acpi_idle_play_dead - enters an ACPI state for long-term idle (i.e. off-lining)
527 * @dev: the target CPU
528 * @index: the index of suggested state
529 */
530 static int acpi_idle_play_dead(struct cpuidle_device *dev, int index)
531 {
532 struct acpi_processor_cx *cx = per_cpu(acpi_cstate[index], dev->cpu);
533
534 ACPI_FLUSH_CPU_CACHE();
535
536 while (1) {
537
538 if (cx->entry_method == ACPI_CSTATE_HALT)
539 safe_halt();
540 else if (cx->entry_method == ACPI_CSTATE_SYSTEMIO) {
541 inb(cx->address);
542 wait_for_freeze();
543 } else
544 return -ENODEV;
545
> 546 #ifdef defined(CONFIG_X86) && defined(CONFIG_HOTPLUG_CPU)
547 /* If NMI wants to wake up CPU0, start CPU0. */
548 if (wakeup_cpu0())
549 start_cpu0();
550 #endif
551 }
552
553 /* Never reached */
554 return 0;
555 }
556
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 week, 4 days
[pm:bleeding-edge 46/47] drivers/acpi/processor_idle.c:546:15: warning: extra tokens at end of #ifdef directive
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: 506a524e05e240d2878cf86a56c47e72e09d329f
commit: bc5706eaeae0b51385d3859b0fdf17a2c8fdc134 [46/47] ACPI: processor: Fix CPU0 wakeup in acpi_idle_play_dead()
config: x86_64-randconfig-a012-20210330 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 482283042f795ecc27838a3b2f76b5494991401c)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commi...
git remote add pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
git fetch --no-tags pm bleeding-edge
git checkout bc5706eaeae0b51385d3859b0fdf17a2c8fdc134
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/acpi/processor_idle.c:546:15: warning: extra tokens at end of #ifdef directive [-Wextra-tokens]
#ifdef defined(CONFIG_X86) && defined(CONFIG_HOTPLUG_CPU)
^
//
drivers/acpi/processor_idle.c:1103:12: warning: no previous prototype for function 'acpi_processor_ffh_lpi_probe' [-Wmissing-prototypes]
int __weak acpi_processor_ffh_lpi_probe(unsigned int cpu)
^
drivers/acpi/processor_idle.c:1103:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __weak acpi_processor_ffh_lpi_probe(unsigned int cpu)
^
static
drivers/acpi/processor_idle.c:1108:12: warning: no previous prototype for function 'acpi_processor_ffh_lpi_enter' [-Wmissing-prototypes]
int __weak acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi)
^
drivers/acpi/processor_idle.c:1108:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __weak acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi)
^
static
3 warnings generated.
vim +546 drivers/acpi/processor_idle.c
524
525 /**
526 * acpi_idle_play_dead - enters an ACPI state for long-term idle (i.e. off-lining)
527 * @dev: the target CPU
528 * @index: the index of suggested state
529 */
530 static int acpi_idle_play_dead(struct cpuidle_device *dev, int index)
531 {
532 struct acpi_processor_cx *cx = per_cpu(acpi_cstate[index], dev->cpu);
533
534 ACPI_FLUSH_CPU_CACHE();
535
536 while (1) {
537
538 if (cx->entry_method == ACPI_CSTATE_HALT)
539 safe_halt();
540 else if (cx->entry_method == ACPI_CSTATE_SYSTEMIO) {
541 inb(cx->address);
542 wait_for_freeze();
543 } else
544 return -ENODEV;
545
> 546 #ifdef defined(CONFIG_X86) && defined(CONFIG_HOTPLUG_CPU)
547 /* If NMI wants to wake up CPU0, start CPU0. */
548 if (wakeup_cpu0())
549 start_cpu0();
550 #endif
551 }
552
553 /* Never reached */
554 return 0;
555 }
556
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 week, 4 days
Re: [PATCH] ACPICA: Fix a typo
by Rafael J. Wysocki
On Tue, Mar 30, 2021 at 2:19 AM Kaneda, Erik <erik.kaneda(a)intel.com> wrote:
>
>
>
> > -----Original Message-----
> > From: Rafael J. Wysocki <rafael(a)kernel.org>
> > Sent: Monday, March 29, 2021 5:48 AM
> > To: Bhaskar Chowdhury <unixbhaskar(a)gmail.com>; Kaneda, Erik
> > <erik.kaneda(a)intel.com>
> > Cc: Wysocki, Rafael J <rafael.j.wysocki(a)intel.com>; ACPI Devel Maling List
> > <linux-acpi(a)vger.kernel.org>; open list:ACPI COMPONENT ARCHITECTURE
> > (ACPICA) <devel(a)acpica.org>; Linux Kernel Mailing List <linux-
> > kernel(a)vger.kernel.org>; Randy Dunlap <rdunlap(a)infradead.org>
> > Subject: [Devel] Re: [PATCH] ACPICA: Fix a typo
> >
> > On Fri, Mar 26, 2021 at 1:22 AM Bhaskar Chowdhury
> > <unixbhaskar(a)gmail.com> wrote:
> > >
> > >
> > > s/optimzation/optimization/
> > >
> > > Signed-off-by: Bhaskar Chowdhury <unixbhaskar(a)gmail.com>
> > > ---
> > > include/acpi/acoutput.h | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h
> > > index 1538a6853822..1b4c45815695 100644
> > > --- a/include/acpi/acoutput.h
> > > +++ b/include/acpi/acoutput.h
> > > @@ -362,7 +362,7 @@
> > > *
> > > * A less-safe version of the macros is provided for optional use if the
> > > * compiler uses excessive CPU stack (for example, this may happen in the
> > > - * debug case if code optimzation is disabled.)
> > > + * debug case if code optimization is disabled.)
> > > */
> > >
> > > /* Exit trace helper macro */
> > > --
> >
> > Erik, could you pick up this patch, please? It is simple enough IMV ...
>
> No problem, I'll pick it up
Thanks!
1 week, 4 days
[pm:bleeding-edge] BUILD REGRESSION a70fdf61936ab0200d31bebea4b44bb67454ce07
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: a70fdf61936ab0200d31bebea4b44bb67454ce07 Merge branch 'acpi-processor-fixes' into bleeding-edge
Error/Warning reports:
https://lore.kernel.org/linux-acpi/202103300514.cNhP3ar5-lkp@intel.com
https://lore.kernel.org/linux-acpi/202103300806.BOpYVHTe-lkp@intel.com
Error/Warning in current branch:
drivers/acpi/processor_idle.c:548:7: error: implicit declaration of function 'wakeup_cpu0' [-Werror,-Wimplicit-function-declaration]
drivers/acpi/processor_idle.c:548:7: error: implicit declaration of function 'wakeup_cpu0' [-Werror=implicit-function-declaration]
drivers/acpi/processor_idle.c:549:4: error: implicit declaration of function 'start_cpu0' [-Werror,-Wimplicit-function-declaration]
drivers/acpi/processor_idle.c:549:4: error: implicit declaration of function 'start_cpu0'; did you mean 'task_cpu'? [-Werror=implicit-function-declaration]
Error/Warning ids grouped by kconfigs:
gcc_recent_errors
`-- i386-randconfig-a014-20210329
|-- drivers-acpi-processor_idle.c:error:implicit-declaration-of-function-start_cpu0
`-- drivers-acpi-processor_idle.c:error:implicit-declaration-of-function-wakeup_cpu0
clang_recent_errors
`-- x86_64-randconfig-a013-20210329
|-- drivers-acpi-processor_idle.c:error:implicit-declaration-of-function-start_cpu0-Werror-Wimplicit-function-declaration
`-- drivers-acpi-processor_idle.c:error:implicit-declaration-of-function-wakeup_cpu0-Werror-Wimplicit-function-declaration
elapsed time: 878m
configs tested: 102
configs skipped: 2
gcc tested configs:
arm defconfig
arm64 allyesconfig
arm64 defconfig
arm allyesconfig
arm allmodconfig
x86_64 allyesconfig
riscv allmodconfig
i386 allyesconfig
riscv allyesconfig
xtensa virt_defconfig
m68k m5249evb_defconfig
arm milbeaut_m10v_defconfig
arm magician_defconfig
powerpc tqm8540_defconfig
mips maltaaprp_defconfig
arm zeus_defconfig
mips rm200_defconfig
powerpc pseries_defconfig
arm hackkit_defconfig
m68k alldefconfig
parisc generic-64bit_defconfig
xtensa cadence_csp_defconfig
arm pxa3xx_defconfig
powerpc mpc834x_itx_defconfig
powerpc mpc8272_ads_defconfig
sh kfr2r09_defconfig
mips rs90_defconfig
arm neponset_defconfig
alpha alldefconfig
powerpc mvme5100_defconfig
powerpc acadia_defconfig
sh se7343_defconfig
arm tegra_defconfig
ia64 allmodconfig
ia64 defconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
m68k allyesconfig
nds32 defconfig
nios2 allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
xtensa allyesconfig
h8300 allyesconfig
arc defconfig
sh allmodconfig
parisc defconfig
s390 allyesconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
sparc allyesconfig
sparc defconfig
i386 defconfig
nios2 defconfig
arc allyesconfig
nds32 allnoconfig
mips allyesconfig
mips allmodconfig
powerpc allyesconfig
powerpc allmodconfig
powerpc allnoconfig
i386 randconfig-a003-20210329
i386 randconfig-a004-20210329
i386 randconfig-a001-20210329
i386 randconfig-a002-20210329
i386 randconfig-a006-20210329
i386 randconfig-a005-20210329
i386 randconfig-a014-20210329
i386 randconfig-a011-20210329
i386 randconfig-a015-20210329
i386 randconfig-a016-20210329
i386 randconfig-a013-20210329
i386 randconfig-a012-20210329
x86_64 randconfig-a002-20210329
x86_64 randconfig-a003-20210329
x86_64 randconfig-a006-20210329
x86_64 randconfig-a001-20210329
x86_64 randconfig-a005-20210329
x86_64 randconfig-a004-20210329
riscv nommu_k210_defconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
um allmodconfig
um allnoconfig
um allyesconfig
um defconfig
x86_64 rhel-8.3-kselftests
x86_64 defconfig
x86_64 rhel-8.3
x86_64 rhel-8.3-kbuiltin
x86_64 kexec
clang tested configs:
x86_64 randconfig-a015-20210329
x86_64 randconfig-a012-20210329
x86_64 randconfig-a013-20210329
x86_64 randconfig-a014-20210329
x86_64 randconfig-a011-20210329
x86_64 randconfig-a016-20210329
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 week, 4 days
[pm:bleeding-edge 47/48] drivers/acpi/processor_idle.c:548:7: error: implicit declaration of function 'wakeup_cpu0'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: a70fdf61936ab0200d31bebea4b44bb67454ce07
commit: 5f5e49e999acd8556e694e841d63226d21e409d9 [47/48] ACPI: processor: Fix CPU0 wakeup in acpi_idle_play_dead()
config: x86_64-randconfig-a013-20210329 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 2a28d1d3b7bf2062288b46af34e33ccc543a99fa)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commi...
git remote add pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
git fetch --no-tags pm bleeding-edge
git checkout 5f5e49e999acd8556e694e841d63226d21e409d9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/acpi/processor_idle.c:548:7: error: implicit declaration of function 'wakeup_cpu0' [-Werror,-Wimplicit-function-declaration]
if (wakeup_cpu0())
^
>> drivers/acpi/processor_idle.c:549:4: error: implicit declaration of function 'start_cpu0' [-Werror,-Wimplicit-function-declaration]
start_cpu0();
^
drivers/acpi/processor_idle.c:1103:12: warning: no previous prototype for function 'acpi_processor_ffh_lpi_probe' [-Wmissing-prototypes]
int __weak acpi_processor_ffh_lpi_probe(unsigned int cpu)
^
drivers/acpi/processor_idle.c:1103:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __weak acpi_processor_ffh_lpi_probe(unsigned int cpu)
^
static
drivers/acpi/processor_idle.c:1108:12: warning: no previous prototype for function 'acpi_processor_ffh_lpi_enter' [-Wmissing-prototypes]
int __weak acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi)
^
drivers/acpi/processor_idle.c:1108:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __weak acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi)
^
static
2 warnings and 2 errors generated.
vim +/wakeup_cpu0 +548 drivers/acpi/processor_idle.c
524
525 /**
526 * acpi_idle_play_dead - enters an ACPI state for long-term idle (i.e. off-lining)
527 * @dev: the target CPU
528 * @index: the index of suggested state
529 */
530 static int acpi_idle_play_dead(struct cpuidle_device *dev, int index)
531 {
532 struct acpi_processor_cx *cx = per_cpu(acpi_cstate[index], dev->cpu);
533
534 ACPI_FLUSH_CPU_CACHE();
535
536 while (1) {
537
538 if (cx->entry_method == ACPI_CSTATE_HALT)
539 safe_halt();
540 else if (cx->entry_method == ACPI_CSTATE_SYSTEMIO) {
541 inb(cx->address);
542 wait_for_freeze();
543 } else
544 return -ENODEV;
545
546 #ifdef CONFIG_X86
547 /* If NMI wants to wake up CPU0, start CPU0. */
> 548 if (wakeup_cpu0())
> 549 start_cpu0();
550 #endif
551 }
552
553 /* Never reached */
554 return 0;
555 }
556
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 week, 5 days
[pm:bleeding-edge 47/48] drivers/acpi/processor_idle.c:548:7: error: implicit declaration of function 'wakeup_cpu0'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: a70fdf61936ab0200d31bebea4b44bb67454ce07
commit: 5f5e49e999acd8556e694e841d63226d21e409d9 [47/48] ACPI: processor: Fix CPU0 wakeup in acpi_idle_play_dead()
config: i386-randconfig-a014-20210329 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commi...
git remote add pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
git fetch --no-tags pm bleeding-edge
git checkout 5f5e49e999acd8556e694e841d63226d21e409d9
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/acpi/processor_idle.c: In function 'acpi_idle_play_dead':
>> drivers/acpi/processor_idle.c:548:7: error: implicit declaration of function 'wakeup_cpu0' [-Werror=implicit-function-declaration]
548 | if (wakeup_cpu0())
| ^~~~~~~~~~~
>> drivers/acpi/processor_idle.c:549:4: error: implicit declaration of function 'start_cpu0'; did you mean 'task_cpu'? [-Werror=implicit-function-declaration]
549 | start_cpu0();
| ^~~~~~~~~~
| task_cpu
drivers/acpi/processor_idle.c: At top level:
drivers/acpi/processor_idle.c:1103:12: warning: no previous prototype for 'acpi_processor_ffh_lpi_probe' [-Wmissing-prototypes]
1103 | int __weak acpi_processor_ffh_lpi_probe(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/acpi/processor_idle.c:1108:12: warning: no previous prototype for 'acpi_processor_ffh_lpi_enter' [-Wmissing-prototypes]
1108 | int __weak acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/wakeup_cpu0 +548 drivers/acpi/processor_idle.c
524
525 /**
526 * acpi_idle_play_dead - enters an ACPI state for long-term idle (i.e. off-lining)
527 * @dev: the target CPU
528 * @index: the index of suggested state
529 */
530 static int acpi_idle_play_dead(struct cpuidle_device *dev, int index)
531 {
532 struct acpi_processor_cx *cx = per_cpu(acpi_cstate[index], dev->cpu);
533
534 ACPI_FLUSH_CPU_CACHE();
535
536 while (1) {
537
538 if (cx->entry_method == ACPI_CSTATE_HALT)
539 safe_halt();
540 else if (cx->entry_method == ACPI_CSTATE_SYSTEMIO) {
541 inb(cx->address);
542 wait_for_freeze();
543 } else
544 return -ENODEV;
545
546 #ifdef CONFIG_X86
547 /* If NMI wants to wake up CPU0, start CPU0. */
> 548 if (wakeup_cpu0())
> 549 start_cpu0();
550 #endif
551 }
552
553 /* Never reached */
554 return 0;
555 }
556
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 week, 5 days
Re: [PATCH] ACPICA: Fix a typo
by Rafael J. Wysocki
On Fri, Mar 26, 2021 at 1:22 AM Bhaskar Chowdhury <unixbhaskar(a)gmail.com> wrote:
>
>
> s/optimzation/optimization/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar(a)gmail.com>
> ---
> include/acpi/acoutput.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h
> index 1538a6853822..1b4c45815695 100644
> --- a/include/acpi/acoutput.h
> +++ b/include/acpi/acoutput.h
> @@ -362,7 +362,7 @@
> *
> * A less-safe version of the macros is provided for optional use if the
> * compiler uses excessive CPU stack (for example, this may happen in the
> - * debug case if code optimzation is disabled.)
> + * debug case if code optimization is disabled.)
> */
>
> /* Exit trace helper macro */
> --
Erik, could you pick up this patch, please? It is simple enough IMV ...
1 week, 5 days
[pm:bleeding-edge] BUILD SUCCESS 5fdb42f06656bb3434d22a8d455dbb34512e572a
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 5fdb42f06656bb3434d22a8d455dbb34512e572a Merge branch 'pm-cpufreq-fixes' into bleeding-edge
elapsed time: 721m
configs tested: 96
configs skipped: 2
The following configs have been built successfully.
More configs may be tested in the coming days.
gcc tested configs:
arm defconfig
arm64 allyesconfig
arm64 defconfig
arm allyesconfig
arm allmodconfig
riscv allmodconfig
riscv allyesconfig
arm hackkit_defconfig
arm lpc18xx_defconfig
sh kfr2r09_defconfig
sh ecovec24-romimage_defconfig
sh se7780_defconfig
xtensa generic_kc705_defconfig
powerpc arches_defconfig
arc vdk_hs38_smp_defconfig
powerpc eiger_defconfig
sh polaris_defconfig
powerpc walnut_defconfig
arm s3c6400_defconfig
powerpc mpc5200_defconfig
mips mtx1_defconfig
arm exynos_defconfig
sh shx3_defconfig
xtensa cadence_csp_defconfig
ia64 allmodconfig
ia64 defconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
m68k allyesconfig
nds32 defconfig
nios2 allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
xtensa allyesconfig
h8300 allyesconfig
arc defconfig
sh allmodconfig
parisc defconfig
s390 allyesconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
i386 allyesconfig
sparc allyesconfig
sparc defconfig
i386 tinyconfig
i386 defconfig
nios2 defconfig
arc allyesconfig
nds32 allnoconfig
mips allyesconfig
mips allmodconfig
powerpc allyesconfig
powerpc allmodconfig
powerpc allnoconfig
i386 randconfig-a004-20210326
i386 randconfig-a003-20210326
i386 randconfig-a001-20210326
i386 randconfig-a002-20210326
i386 randconfig-a006-20210326
i386 randconfig-a005-20210326
x86_64 randconfig-a012-20210326
x86_64 randconfig-a015-20210326
x86_64 randconfig-a014-20210326
x86_64 randconfig-a013-20210326
x86_64 randconfig-a016-20210326
x86_64 randconfig-a011-20210326
i386 randconfig-a014-20210326
i386 randconfig-a011-20210326
i386 randconfig-a015-20210326
i386 randconfig-a016-20210326
i386 randconfig-a012-20210326
i386 randconfig-a013-20210326
riscv nommu_k210_defconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
um allmodconfig
um allnoconfig
um allyesconfig
um defconfig
x86_64 allyesconfig
x86_64 rhel-8.3-kselftests
x86_64 defconfig
x86_64 rhel-8.3
x86_64 rhel-8.3-kbuiltin
x86_64 kexec
clang tested configs:
x86_64 randconfig-a002-20210326
x86_64 randconfig-a003-20210326
x86_64 randconfig-a001-20210326
x86_64 randconfig-a006-20210326
x86_64 randconfig-a004-20210326
x86_64 randconfig-a005-20210326
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 weeks
Re: [PATCH] ACPICA: Fix a typo
by Moore, Robert
Please make a pull request for this on our github.
Thanks,
Bob
-----Original Message-----
From: Bhaskar Chowdhury <unixbhaskar(a)gmail.com>
Sent: Thursday, March 25, 2021 5:19 PM
To: Moore, Robert <robert.moore(a)intel.com>; Kaneda, Erik <erik.kaneda(a)intel.com>; Wysocki, Rafael J <rafael.j.wysocki(a)intel.com>; lenb(a)kernel.org; linux-acpi(a)vger.kernel.org; devel(a)acpica.org; linux-kernel(a)vger.kernel.org
Cc: rdunlap(a)infradead.org; Bhaskar Chowdhury <unixbhaskar(a)gmail.com>
Subject: [PATCH] ACPICA: Fix a typo
s/optimzation/optimization/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar(a)gmail.com>
---
include/acpi/acoutput.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h index 1538a6853822..1b4c45815695 100644
--- a/include/acpi/acoutput.h
+++ b/include/acpi/acoutput.h
@@ -362,7 +362,7 @@
*
* A less-safe version of the macros is provided for optional use if the
* compiler uses excessive CPU stack (for example, this may happen in the
- * debug case if code optimzation is disabled.)
+ * debug case if code optimization is disabled.)
*/
/* Exit trace helper macro */
--
2.26.2
2 weeks, 1 day