ACPICA version 20200430 released
by Moore, Robert
30 April 2020. Summary of changes for version 20200430:
This release is available at https://acpica.org/downloads
1) ACPICA kernel-resident subsystem:
Cleaned up the coding style of a couple of global variables (AcpiGbl_NextCmdNum and AcpiProtocolLengths) caught by static analyzers. AcpiProtocolLengths was made static, and the definition of AcpiGbl_NextCmdNum was moved to acglobal.h.
2) iASL Compiler/Disassembler and ACPICA tools:
iASL DataTable Compiler: Fixed a segfault on errors that aren't directly associated with a field.
Disassembler: has been made more resilient so that it will continue to parse AML even if it the AML generates ACPI namespace errors. This enables iASL to disassemble some AML that may have been compiled using older versions of iASL that no longer compile with newer versions of iASL.
iASL: Fixed the required parameters for _NIH and _NIG. Previously, there was a mixup where _NIG required one parameter and _NIH required zero parameters. This change swaps these parameter requirements. Now it is required that _NIH must be called with one parameter and _NIG requires zero parameters.
iASL: Allow use of undefined externals as long as they are protected by an if (CondRefOf (...)) block when compiling multiple definition blocks.
iASL: Fixed the type override behavior of named objects that are declared as External. External declarations will no longer override the type of the actual definition if it already exists.
AcpiNames: Added setargv.obj to the MSVC 2017 link sequence to enable command line wildcard support on Windows. Note: the AcpiNames utility is essentially redundant with the AcpiExec utility (using the "namespace" command) and is therefore deprecated. It will be removed in future releases of ACPICA.
Disassembler: ignore AE_ALREADY_EXISTS status when parsing create* operators. The disassembler is intended to emit existing ASL code as-is. Therefore, error messages emitted during disassembly should be ignored or handled in a way such that the disassembler can continue to parse the AML. This change ignores AE_ALREADY_EXISTS errors during the deferred Op parsing for create operators in order to complete parsing ASL termlists.
iASL DataTable Compiler: IVRS table: fix potentially uninitialized variable warning. Some compilers catch potential uninitialized variables. This is done by examining branches of if/else statements. This change replaces an "else if" with an "else" to fix the uninitialized variable warning.
2 years, 2 months
[pm:bleeding-edge] BUILD SUCCESS d38f9bc9261a2b20e8509370b5df9bdb3badaf81
by kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: d38f9bc9261a2b20e8509370b5df9bdb3badaf81 Merge branch 'pm-acpi' into linux-next
elapsed time: 855m
configs tested: 163
configs skipped: 0
The following configs have been built successfully.
More configs may be tested in the coming days.
arm efm32_defconfig
arm at91_dt_defconfig
arm shmobile_defconfig
arm64 defconfig
arm exynos_defconfig
arm multi_v5_defconfig
arm sunxi_defconfig
arm multi_v7_defconfig
arm64 allyesconfig
arm allyesconfig
arm64 allmodconfig
arm allmodconfig
arm64 allnoconfig
arm allnoconfig
sparc allyesconfig
h8300 h8300h-sim_defconfig
c6x allyesconfig
ia64 allnoconfig
openrisc simple_smp_defconfig
mips decstation_64_defconfig
riscv allnoconfig
riscv rv32_defconfig
i386 allnoconfig
i386 allyesconfig
i386 alldefconfig
i386 defconfig
i386 debian-10.3
ia64 allmodconfig
ia64 defconfig
ia64 generic_defconfig
ia64 tiger_defconfig
ia64 bigsur_defconfig
ia64 allyesconfig
ia64 alldefconfig
xtensa iss_defconfig
xtensa common_defconfig
openrisc or1ksim_defconfig
nios2 3c120_defconfig
nios2 10m50_defconfig
c6x evmc6678_defconfig
nds32 defconfig
nds32 allnoconfig
csky defconfig
alpha defconfig
h8300 h8s-sim_defconfig
h8300 edosk2674_defconfig
m68k m5475evb_defconfig
m68k allmodconfig
m68k sun3_defconfig
m68k multi_defconfig
arc defconfig
arc allyesconfig
powerpc defconfig
powerpc ppc64_defconfig
powerpc rhel-kconfig
microblaze mmu_defconfig
microblaze nommu_defconfig
powerpc allnoconfig
mips fuloong2e_defconfig
mips malta_kvm_defconfig
mips ar7_defconfig
mips allyesconfig
mips 64r6el_defconfig
mips allnoconfig
mips 32r2_defconfig
mips allmodconfig
mips malta_kvm_guest_defconfig
mips tb0287_defconfig
mips capcella_defconfig
mips ip32_defconfig
mips loongson3_defconfig
mips ath79_defconfig
mips bcm63xx_defconfig
parisc allnoconfig
parisc generic-64bit_defconfig
parisc generic-32bit_defconfig
parisc allyesconfig
parisc allmodconfig
parisc randconfig-a001-20200427
alpha randconfig-a001-20200427
mips randconfig-a001-20200427
m68k randconfig-a001-20200427
riscv randconfig-a001-20200427
nds32 randconfig-a001-20200427
nios2 randconfig-a001-20200427
c6x randconfig-a001-20200427
h8300 randconfig-a001-20200427
sparc64 randconfig-a001-20200427
microblaze randconfig-a001-20200427
sh randconfig-a001-20200427
csky randconfig-a001-20200427
xtensa randconfig-a001-20200427
openrisc randconfig-a001-20200427
i386 randconfig-b003-20200427
i386 randconfig-b002-20200427
x86_64 randconfig-b001-20200427
i386 randconfig-b001-20200427
x86_64 randconfig-b002-20200427
x86_64 randconfig-b003-20200427
i386 randconfig-c002-20200427
i386 randconfig-c001-20200427
x86_64 randconfig-c002-20200427
x86_64 randconfig-c001-20200427
i386 randconfig-c003-20200427
x86_64 randconfig-c003-20200427
x86_64 randconfig-d001-20200427
x86_64 randconfig-d002-20200427
i386 randconfig-d002-20200427
i386 randconfig-d001-20200427
x86_64 randconfig-d003-20200427
i386 randconfig-d003-20200427
i386 randconfig-e003-20200427
x86_64 randconfig-e002-20200427
x86_64 randconfig-e003-20200427
i386 randconfig-e002-20200427
i386 randconfig-e001-20200427
x86_64 randconfig-e001-20200427
i386 randconfig-f003-20200427
i386 randconfig-g003-20200427
i386 randconfig-g001-20200427
x86_64 randconfig-g001-20200427
i386 randconfig-g002-20200427
x86_64 randconfig-g003-20200427
i386 randconfig-h003-20200427
x86_64 randconfig-h002-20200427
i386 randconfig-h002-20200427
i386 randconfig-h001-20200427
sparc randconfig-a001-20200427
ia64 randconfig-a001-20200427
arm randconfig-a001-20200427
arm64 randconfig-a001-20200427
arc randconfig-a001-20200427
riscv allyesconfig
riscv nommu_virt_defconfig
riscv defconfig
riscv allmodconfig
s390 zfcpdump_defconfig
s390 debug_defconfig
s390 allyesconfig
s390 allnoconfig
s390 allmodconfig
s390 alldefconfig
s390 defconfig
sh rsk7269_defconfig
sh allmodconfig
sh titan_defconfig
sh sh7785lcr_32bit_defconfig
sh allnoconfig
sparc defconfig
sparc64 defconfig
sparc64 allnoconfig
sparc64 allyesconfig
sparc64 allmodconfig
um x86_64_defconfig
um i386_defconfig
um defconfig
x86_64 rhel
x86_64 rhel-7.6
x86_64 rhel-7.6-kselftests
x86_64 rhel-7.2-clear
x86_64 lkp
x86_64 fedora-25
x86_64 kexec
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
2 years, 2 months
[pm:bleeding-edge] BUILD SUCCESS cd227cc5ff829b628f48df3e6b18fc59349c4f9c
by kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: cd227cc5ff829b628f48df3e6b18fc59349c4f9c Merge branch 'pnp' into linux-next
elapsed time: 1796m
configs tested: 214
configs skipped: 0
The following configs have been built successfully.
More configs may be tested in the coming days.
arm64 allyesconfig
arm allyesconfig
arm64 allmodconfig
arm allmodconfig
arm64 allnoconfig
arm allnoconfig
arm efm32_defconfig
arm at91_dt_defconfig
arm shmobile_defconfig
arm64 defconfig
arm exynos_defconfig
arm multi_v5_defconfig
arm sunxi_defconfig
arm multi_v7_defconfig
sparc allyesconfig
arc allyesconfig
m68k multi_defconfig
sparc64 defconfig
m68k m5475evb_defconfig
sh sh7785lcr_32bit_defconfig
um x86_64_defconfig
mips ip32_defconfig
h8300 h8s-sim_defconfig
riscv nommu_virt_defconfig
ia64 allnoconfig
powerpc ppc64_defconfig
sh allnoconfig
c6x evmc6678_defconfig
mips allnoconfig
s390 allnoconfig
ia64 tiger_defconfig
riscv rv32_defconfig
riscv allyesconfig
xtensa common_defconfig
powerpc defconfig
ia64 defconfig
nds32 allnoconfig
nios2 10m50_defconfig
parisc allyesconfig
ia64 allyesconfig
parisc allnoconfig
i386 allnoconfig
i386 allyesconfig
i386 alldefconfig
i386 defconfig
i386 debian-10.3
ia64 allmodconfig
ia64 generic_defconfig
ia64 bigsur_defconfig
ia64 alldefconfig
nios2 3c120_defconfig
xtensa iss_defconfig
c6x allyesconfig
openrisc simple_smp_defconfig
openrisc or1ksim_defconfig
nds32 defconfig
csky defconfig
alpha defconfig
h8300 edosk2674_defconfig
m68k allmodconfig
h8300 h8300h-sim_defconfig
m68k sun3_defconfig
arc defconfig
powerpc rhel-kconfig
microblaze mmu_defconfig
microblaze nommu_defconfig
powerpc allnoconfig
mips fuloong2e_defconfig
mips malta_kvm_defconfig
mips ar7_defconfig
mips allyesconfig
mips 64r6el_defconfig
mips 32r2_defconfig
mips allmodconfig
mips malta_kvm_guest_defconfig
mips tb0287_defconfig
mips capcella_defconfig
mips decstation_64_defconfig
mips loongson3_defconfig
mips ath79_defconfig
mips bcm63xx_defconfig
parisc generic-64bit_defconfig
parisc generic-32bit_defconfig
parisc allmodconfig
parisc randconfig-a001-20200426
mips randconfig-a001-20200426
alpha randconfig-a001-20200426
m68k randconfig-a001-20200426
riscv randconfig-a001-20200426
nds32 randconfig-a001-20200426
parisc randconfig-a001-20200424
alpha randconfig-a001-20200424
m68k randconfig-a001-20200424
riscv randconfig-a001-20200424
nds32 randconfig-a001-20200424
nios2 randconfig-a001-20200424
c6x randconfig-a001-20200424
h8300 randconfig-a001-20200424
sparc64 randconfig-a001-20200424
microblaze randconfig-a001-20200424
nios2 randconfig-a001-20200426
c6x randconfig-a001-20200426
h8300 randconfig-a001-20200426
sparc64 randconfig-a001-20200426
microblaze randconfig-a001-20200426
nios2 randconfig-a001-20200425
c6x randconfig-a001-20200425
h8300 randconfig-a001-20200425
sparc64 randconfig-a001-20200425
microblaze randconfig-a001-20200425
sh randconfig-a001-20200426
csky randconfig-a001-20200426
s390 randconfig-a001-20200426
xtensa randconfig-a001-20200426
openrisc randconfig-a001-20200426
sh randconfig-a001-20200424
csky randconfig-a001-20200424
s390 randconfig-a001-20200424
xtensa randconfig-a001-20200424
openrisc randconfig-a001-20200424
i386 randconfig-b002-20200424
i386 randconfig-b001-20200424
i386 randconfig-b003-20200424
x86_64 randconfig-b002-20200424
i386 randconfig-b002-20200425
x86_64 randconfig-b001-20200425
i386 randconfig-b001-20200425
i386 randconfig-b003-20200425
x86_64 randconfig-b002-20200425
x86_64 randconfig-b003-20200425
x86_64 randconfig-a001-20200426
i386 randconfig-a003-20200426
x86_64 randconfig-a003-20200426
i386 randconfig-a002-20200426
i386 randconfig-a001-20200426
x86_64 randconfig-a002-20200426
i386 randconfig-c002-20200424
i386 randconfig-c001-20200424
x86_64 randconfig-c001-20200424
i386 randconfig-c003-20200424
x86_64 randconfig-c003-20200424
x86_64 randconfig-d001-20200424
i386 randconfig-d002-20200424
i386 randconfig-d001-20200424
x86_64 randconfig-d003-20200424
i386 randconfig-d003-20200424
i386 randconfig-e003-20200424
x86_64 randconfig-e002-20200424
i386 randconfig-e002-20200424
i386 randconfig-e001-20200424
x86_64 randconfig-a001-20200424
i386 randconfig-a003-20200424
x86_64 randconfig-a003-20200424
i386 randconfig-a002-20200424
i386 randconfig-a001-20200424
x86_64 randconfig-a002-20200424
x86_64 randconfig-f002-20200424
i386 randconfig-f002-20200424
i386 randconfig-f003-20200424
x86_64 randconfig-f003-20200424
i386 randconfig-f001-20200424
x86_64 randconfig-f001-20200424
i386 randconfig-f002-20200425
i386 randconfig-f003-20200425
x86_64 randconfig-f003-20200425
i386 randconfig-f001-20200425
x86_64 randconfig-f001-20200425
i386 randconfig-g003-20200424
i386 randconfig-g001-20200424
x86_64 randconfig-g001-20200424
x86_64 randconfig-g002-20200424
i386 randconfig-g002-20200424
x86_64 randconfig-g003-20200424
sparc randconfig-a001-20200426
ia64 randconfig-a001-20200426
powerpc randconfig-a001-20200426
arm randconfig-a001-20200426
arm64 randconfig-a001-20200426
arc randconfig-a001-20200426
sparc randconfig-a001-20200425
ia64 randconfig-a001-20200425
powerpc randconfig-a001-20200425
arm randconfig-a001-20200425
arc randconfig-a001-20200425
sparc randconfig-a001-20200424
ia64 randconfig-a001-20200424
powerpc randconfig-a001-20200424
arm64 randconfig-a001-20200424
arc randconfig-a001-20200424
riscv allnoconfig
riscv defconfig
riscv allmodconfig
s390 zfcpdump_defconfig
s390 debug_defconfig
s390 allyesconfig
s390 allmodconfig
s390 alldefconfig
s390 defconfig
sh rsk7269_defconfig
sh allmodconfig
sh titan_defconfig
sparc defconfig
sparc64 allnoconfig
sparc64 allyesconfig
sparc64 allmodconfig
um i386_defconfig
um defconfig
x86_64 rhel
x86_64 lkp
x86_64 fedora-25
x86_64 kexec
x86_64 rhel-7.2-clear
x86_64 rhel-7.6-kselftests
x86_64 rhel-7.6
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
2 years, 2 months
Re: [PATCH] ACPICA: make acpi_protocol_lengths static
by Rafael J. Wysocki
On Wed, Apr 15, 2020 at 10:23 AM Jason Yan <yanaijie(a)huawei.com> wrote:
>
> Fix the following sparse warning:
>
> drivers/acpi/acpica/exfield.c:25:10: warning: symbol
> 'acpi_protocol_lengths' was not declared. Should it be static?
>
> Reported-by: Hulk Robot <hulkci(a)huawei.com>
> Signed-off-by: Jason Yan <yanaijie(a)huawei.com>
Erik, Bob, this one is yours. :-)
> ---
> drivers/acpi/acpica/exfield.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/acpica/exfield.c b/drivers/acpi/acpica/exfield.c
> index e85eb31e5075..3323a2ba6a31 100644
> --- a/drivers/acpi/acpica/exfield.c
> +++ b/drivers/acpi/acpica/exfield.c
> @@ -22,7 +22,7 @@ ACPI_MODULE_NAME("exfield")
> */
> #define ACPI_INVALID_PROTOCOL_ID 0x80
> #define ACPI_MAX_PROTOCOL_ID 0x0F
> -const u8 acpi_protocol_lengths[] = {
> +static const u8 acpi_protocol_lengths[] = {
> ACPI_INVALID_PROTOCOL_ID, /* 0 - reserved */
> ACPI_INVALID_PROTOCOL_ID, /* 1 - reserved */
> 0x00, /* 2 - ATTRIB_QUICK */
> --
> 2.21.1
>
2 years, 2 months
Re: [PATCH] ACPICA: Use ARRAY_SIZE instead of hardcoded siz
by Moore, Robert
I think we've discussed this in the past. ARRAY_SIZE is not standard, and will get in the way of portability:
On gcc v7.4.0:
../../../source/components/resources/rsdumpinfo.c:335:25: note: in expansion of macro 'ACPI_RSD_TABLE_SIZE'
{ACPI_RSD_TITLE, ACPI_RSD_TABLE_SIZE (AcpiRsDumpGenericReg), "Generic Register", NULL},
../../../source/components/resources/rsdumpinfo.c:166:37: error: initializer element is not constant
#define ACPI_RSD_TABLE_SIZE(name) ARRAY_SIZE (name)
And, on MSVC 2017:
Severity Code Description Project File Line Suppression State
Warning C4013 'ARRAY_SIZE' undefined; assuming extern returning int AcpiExec c:\acpica\source\components\resources\rsdumpinfo.c 179
-----Original Message-----
From: Jason Yan <yanaijie(a)huawei.com>
Sent: Monday, April 13, 2020 7:32 AM
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: Jason Yan <yanaijie(a)huawei.com>
Subject: [PATCH] ACPICA: Use ARRAY_SIZE instead of hardcoded siz
Fix the following coccicheck warning:
./drivers/acpi/acpica/rsdumpinfo.c:18:48-49: WARNING: Use ARRAY_SIZE
./drivers/acpi/acpica/rsdumpinfo.c:18:48-49: WARNING: Use ARRAY_SIZE
./drivers/acpi/acpica/rsdumpinfo.c:18:48-49: WARNING: Use ARRAY_SIZE
./drivers/acpi/acpica/rsdumpinfo.c:18:48-49: WARNING: Use ARRAY_SIZE
./drivers/acpi/acpica/rsdumpinfo.c:18:48-49: WARNING: Use ARRAY_SIZE
./drivers/acpi/acpica/rsdumpinfo.c:18:48-49: WARNING: Use ARRAY_SIZE
./drivers/acpi/acpica/rsdumpinfo.c:18:48-49: WARNING: Use ARRAY_SIZE
Signed-off-by: Jason Yan <yanaijie(a)huawei.com>
---
drivers/acpi/acpica/rsdumpinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/acpica/rsdumpinfo.c b/drivers/acpi/acpica/rsdumpinfo.c
index cafa8134b4c6..f1ba4cd8080f 100644
--- a/drivers/acpi/acpica/rsdumpinfo.c
+++ b/drivers/acpi/acpica/rsdumpinfo.c
@@ -15,7 +15,7 @@ ACPI_MODULE_NAME("rsdumpinfo") #if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DISASSEMBLER) || defined(ACPI_DEBUGGER)
#define ACPI_RSD_OFFSET(f) (u8) ACPI_OFFSET (union acpi_resource_data,f)
#define ACPI_PRT_OFFSET(f) (u8) ACPI_OFFSET (struct acpi_pci_routing_table,f)
-#define ACPI_RSD_TABLE_SIZE(name) (sizeof(name) / sizeof (struct acpi_rsdump_info))
+#define ACPI_RSD_TABLE_SIZE(name) ARRAY_SIZE(name)
/*******************************************************************************
*
* Resource Descriptor info tables
--
2.21.1
2 years, 2 months
[pm:bleeding-edge] BUILD SUCCESS 1846b08e7d4fe43b7e158c56783e347ec0b1fd5f
by kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 1846b08e7d4fe43b7e158c56783e347ec0b1fd5f Merge branch 'intel_pstate-passive' into bleeding-edge
elapsed time: 484m
configs tested: 150
configs skipped: 0
The following configs have been built successfully.
More configs may be tested in the coming days.
arm64 allyesconfig
arm allyesconfig
arm64 allnoconfig
arm allnoconfig
arm efm32_defconfig
arm at91_dt_defconfig
arm shmobile_defconfig
arm64 defconfig
arm exynos_defconfig
arm multi_v5_defconfig
arm sunxi_defconfig
arm multi_v7_defconfig
sparc allyesconfig
i386 allnoconfig
i386 allyesconfig
i386 alldefconfig
i386 defconfig
i386 debian-10.3
ia64 allmodconfig
ia64 defconfig
ia64 allnoconfig
ia64 allyesconfig
ia64 alldefconfig
arm64 allmodconfig
arm allmodconfig
nios2 3c120_defconfig
nios2 10m50_defconfig
c6x evmc6678_defconfig
xtensa iss_defconfig
c6x allyesconfig
xtensa common_defconfig
openrisc simple_smp_defconfig
openrisc or1ksim_defconfig
nds32 defconfig
nds32 allnoconfig
csky defconfig
alpha defconfig
h8300 h8s-sim_defconfig
h8300 edosk2674_defconfig
m68k m5475evb_defconfig
m68k allmodconfig
h8300 h8300h-sim_defconfig
m68k sun3_defconfig
m68k multi_defconfig
arc defconfig
arc allyesconfig
powerpc defconfig
powerpc ppc64_defconfig
powerpc rhel-kconfig
microblaze mmu_defconfig
microblaze nommu_defconfig
powerpc allnoconfig
mips fuloong2e_defconfig
mips malta_kvm_defconfig
mips allyesconfig
mips 64r6el_defconfig
mips allnoconfig
mips 32r2_defconfig
mips allmodconfig
parisc allnoconfig
parisc generic-64bit_defconfig
parisc generic-32bit_defconfig
parisc allyesconfig
i386 randconfig-a002-20200410
x86_64 randconfig-a001-20200410
x86_64 randconfig-a002-20200410
i386 randconfig-a003-20200410
x86_64 randconfig-a003-20200410
i386 randconfig-a001-20200410
mips randconfig-a001-20200410
nds32 randconfig-a001-20200410
m68k randconfig-a001-20200410
riscv randconfig-a001-20200410
alpha randconfig-a001-20200410
parisc randconfig-a001-20200410
h8300 randconfig-a001-20200411
nios2 randconfig-a001-20200411
c6x randconfig-a001-20200411
microblaze randconfig-a001-20200411
sparc64 randconfig-a001-20200411
x86_64 randconfig-b002-20200410
i386 randconfig-b001-20200410
x86_64 randconfig-b001-20200410
x86_64 randconfig-b003-20200410
i386 randconfig-b003-20200410
i386 randconfig-b002-20200410
i386 randconfig-d002-20200410
x86_64 randconfig-d003-20200410
x86_64 randconfig-d001-20200410
i386 randconfig-d003-20200410
i386 randconfig-d001-20200410
x86_64 randconfig-d002-20200410
i386 randconfig-e001-20200410
i386 randconfig-e002-20200410
x86_64 randconfig-e002-20200410
i386 randconfig-e003-20200410
x86_64 randconfig-e003-20200410
i386 randconfig-f003-20200411
i386 randconfig-f002-20200411
x86_64 randconfig-f003-20200411
x86_64 randconfig-f001-20200411
x86_64 randconfig-f002-20200411
i386 randconfig-f001-20200411
x86_64 randconfig-g003-20200410
i386 randconfig-g003-20200410
x86_64 randconfig-g002-20200410
x86_64 randconfig-g001-20200410
i386 randconfig-g002-20200410
i386 randconfig-g001-20200410
i386 randconfig-h003-20200411
i386 randconfig-h002-20200411
i386 randconfig-h001-20200411
x86_64 randconfig-h002-20200411
arm64 randconfig-a001-20200410
ia64 randconfig-a001-20200410
arc randconfig-a001-20200410
sparc randconfig-a001-20200410
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
s390 zfcpdump_defconfig
s390 debug_defconfig
s390 allyesconfig
s390 allnoconfig
s390 allmodconfig
s390 alldefconfig
s390 defconfig
sh rsk7269_defconfig
sh allmodconfig
sh titan_defconfig
sh sh7785lcr_32bit_defconfig
sh allnoconfig
sparc defconfig
sparc64 defconfig
sparc64 allnoconfig
sparc64 allyesconfig
sparc64 allmodconfig
um x86_64_defconfig
um i386_defconfig
um defconfig
x86_64 rhel
x86_64 rhel-7.6
x86_64 rhel-7.6-kselftests
x86_64 rhel-7.2-clear
x86_64 lkp
x86_64 fedora-25
x86_64 kexec
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
2 years, 2 months
[pm:bleeding-edge] BUILD SUCCESS cc451aab60d1a0edc121d9dc3876c04859c0ac76
by kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: cc451aab60d1a0edc121d9dc3876c04859c0ac76 Merge branch 'intel_pstate-passive' into bleeding-edge
elapsed time: 1254m
configs tested: 158
configs skipped: 0
The following configs have been built successfully.
More configs may be tested in the coming days.
arm64 allyesconfig
arm efm32_defconfig
arm at91_dt_defconfig
arm shmobile_defconfig
arm64 defconfig
arm exynos_defconfig
arm multi_v5_defconfig
arm sunxi_defconfig
arm multi_v7_defconfig
sparc allyesconfig
i386 allnoconfig
i386 allyesconfig
i386 alldefconfig
i386 defconfig
i386 debian-10.3
ia64 allmodconfig
ia64 defconfig
ia64 allnoconfig
ia64 allyesconfig
ia64 alldefconfig
arm64 allmodconfig
arm allmodconfig
nios2 3c120_defconfig
nios2 10m50_defconfig
c6x evmc6678_defconfig
xtensa iss_defconfig
c6x allyesconfig
xtensa common_defconfig
openrisc simple_smp_defconfig
openrisc or1ksim_defconfig
nds32 defconfig
nds32 allnoconfig
csky defconfig
alpha defconfig
h8300 h8s-sim_defconfig
h8300 edosk2674_defconfig
m68k m5475evb_defconfig
m68k allmodconfig
h8300 h8300h-sim_defconfig
m68k sun3_defconfig
m68k multi_defconfig
arc defconfig
arc allyesconfig
powerpc defconfig
powerpc ppc64_defconfig
powerpc rhel-kconfig
microblaze mmu_defconfig
microblaze nommu_defconfig
powerpc allnoconfig
mips fuloong2e_defconfig
mips malta_kvm_defconfig
mips allyesconfig
mips 64r6el_defconfig
mips allnoconfig
mips 32r2_defconfig
mips allmodconfig
parisc allnoconfig
parisc generic-64bit_defconfig
parisc generic-32bit_defconfig
parisc allyesconfig
x86_64 randconfig-a003-20200408
i386 randconfig-a002-20200408
x86_64 randconfig-a001-20200408
x86_64 randconfig-a002-20200408
i386 randconfig-a003-20200408
i386 randconfig-a001-20200408
mips randconfig-a001-20200408
nds32 randconfig-a001-20200408
m68k randconfig-a001-20200408
alpha randconfig-a001-20200408
parisc randconfig-a001-20200408
riscv randconfig-a001-20200408
sparc64 randconfig-a001-20200408
h8300 randconfig-a001-20200408
nios2 randconfig-a001-20200408
microblaze randconfig-a001-20200408
c6x randconfig-a001-20200408
s390 randconfig-a001-20200408
xtensa randconfig-a001-20200408
csky randconfig-a001-20200408
openrisc randconfig-a001-20200408
sh randconfig-a001-20200408
i386 randconfig-b003-20200408
x86_64 randconfig-b002-20200408
x86_64 randconfig-b003-20200408
i386 randconfig-b001-20200408
x86_64 randconfig-b001-20200408
i386 randconfig-b002-20200408
x86_64 randconfig-c002-20200408
i386 randconfig-c001-20200408
i386 randconfig-c003-20200408
x86_64 randconfig-c003-20200408
i386 randconfig-c002-20200408
x86_64 randconfig-c001-20200408
x86_64 randconfig-d001-20200408
x86_64 randconfig-d003-20200408
i386 randconfig-d003-20200408
i386 randconfig-d001-20200408
x86_64 randconfig-d002-20200408
i386 randconfig-d002-20200408
x86_64 randconfig-e002-20200408
i386 randconfig-e003-20200408
i386 randconfig-e001-20200408
x86_64 randconfig-e001-20200408
x86_64 randconfig-e003-20200408
i386 randconfig-e002-20200408
i386 randconfig-f001-20200408
i386 randconfig-f003-20200408
x86_64 randconfig-f003-20200408
x86_64 randconfig-f001-20200408
i386 randconfig-f002-20200408
x86_64 randconfig-g003-20200408
i386 randconfig-g003-20200408
x86_64 randconfig-g002-20200408
i386 randconfig-g002-20200408
i386 randconfig-g001-20200408
i386 randconfig-h002-20200408
i386 randconfig-h003-20200408
i386 randconfig-h001-20200408
x86_64 randconfig-h001-20200408
x86_64 randconfig-h003-20200408
sparc randconfig-a001-20200408
arm64 randconfig-a001-20200408
ia64 randconfig-a001-20200408
arc randconfig-a001-20200408
arm randconfig-a001-20200408
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
s390 zfcpdump_defconfig
s390 debug_defconfig
s390 allyesconfig
s390 allnoconfig
s390 allmodconfig
s390 alldefconfig
s390 defconfig
sh rsk7269_defconfig
sh allmodconfig
sh titan_defconfig
sh sh7785lcr_32bit_defconfig
sh allnoconfig
sparc defconfig
sparc64 defconfig
sparc64 allnoconfig
sparc64 allyesconfig
sparc64 allmodconfig
um x86_64_defconfig
um i386_defconfig
um defconfig
x86_64 rhel
x86_64 rhel-7.6
x86_64 rhel-7.2-clear
x86_64 lkp
x86_64 fedora-25
x86_64 kexec
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
2 years, 2 months
[pm:pm-sleep-core 3/7] drivers/base/power/main.c:646:3: error: label 'skip' used but not defined
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-sleep-core
head: a10300155e14f5644294172cfda77106ee71e236
commit: c56010827abbc0b471d4af29f2e7d45c661ae1b3 [3/7] PM: sleep: core: Do not skip callbacks in the resume phase
config: nds32-defconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout c56010827abbc0b471d4af29f2e7d45c661ae1b3
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/base/power/main.c: In function 'device_resume_noirq':
drivers/base/power/main.c:656:1: warning: label 'Skip' defined but not used [-Wunused-label]
656 | Skip:
| ^~~~
>> drivers/base/power/main.c:646:3: error: label 'skip' used but not defined
646 | goto skip;
| ^~~~
vim +/skip +646 drivers/base/power/main.c
584
585 /**
586 * device_resume_noirq - Execute a "noirq resume" callback for given device.
587 * @dev: Device to handle.
588 * @state: PM transition of the system being carried out.
589 * @async: If true, the device is being resumed asynchronously.
590 *
591 * The driver of @dev will not receive interrupts while this function is being
592 * executed.
593 */
594 static int device_resume_noirq(struct device *dev, pm_message_t state, bool async)
595 {
596 pm_callback_t callback = NULL;
597 const char *info = NULL;
598 bool skip_resume;
599 int error = 0;
600
601 TRACE_DEVICE(dev);
602 TRACE_RESUME(0);
603
604 if (dev->power.syscore || dev->power.direct_complete)
605 goto Out;
606
607 if (!dev->power.is_noirq_suspended)
608 goto Out;
609
610 if (!dpm_wait_for_superior(dev, async))
611 goto Out;
612
613 skip_resume = dev_pm_may_skip_resume(dev);
614 /*
615 * If the driver callback is skipped below or by the middle layer
616 * callback and device_resume_early() also skips the driver callback for
617 * this device later, it needs to appear as "suspended" to PM-runtime,
618 * so change its status accordingly.
619 *
620 * Otherwise, the device is going to be resumed, so set its PM-runtime
621 * status to "active", but do that only if DPM_FLAG_SMART_SUSPEND is set
622 * to avoid confusing drivers that don't use it.
623 */
624 if (skip_resume)
625 pm_runtime_set_suspended(dev);
626 else if (dev_pm_smart_suspend_and_suspended(dev))
627 pm_runtime_set_active(dev);
628
629 if (dev->pm_domain) {
630 info = "noirq power domain ";
631 callback = pm_noirq_op(&dev->pm_domain->ops, state);
632 } else if (dev->type && dev->type->pm) {
633 info = "noirq type ";
634 callback = pm_noirq_op(dev->type->pm, state);
635 } else if (dev->class && dev->class->pm) {
636 info = "noirq class ";
637 callback = pm_noirq_op(dev->class->pm, state);
638 } else if (dev->bus && dev->bus->pm) {
639 info = "noirq bus ";
640 callback = pm_noirq_op(dev->bus->pm, state);
641 }
642 if (callback)
643 goto Run;
644
645 if (skip_resume)
> 646 goto skip;
647
648 if (dev->driver && dev->driver->pm) {
649 info = "noirq driver ";
650 callback = pm_noirq_op(dev->driver->pm, state);
651 }
652
653 Run:
654 error = dpm_run_callback(callback, dev, state, info);
655
656 Skip:
657 dev->power.is_noirq_suspended = false;
658
659 Out:
660 complete_all(&dev->power.completion);
661 TRACE_RESUME(error);
662 return error;
663 }
664
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
2 years, 2 months
[pm:bleeding-edge] BUILD SUCCESS b1eebcf18a87987171c4b2f32e59eda369290e83
by kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: b1eebcf18a87987171c4b2f32e59eda369290e83 Merge branch 'pm-sleep' into bleeding-edge
elapsed time: 481m
configs tested: 158
configs skipped: 0
The following configs have been built successfully.
More configs may be tested in the coming days.
arm64 allyesconfig
arm allyesconfig
arm64 allmodconfig
arm allmodconfig
arm64 allnoconfig
arm allnoconfig
arm efm32_defconfig
arm at91_dt_defconfig
arm shmobile_defconfig
arm64 defconfig
arm exynos_defconfig
arm multi_v5_defconfig
arm sunxi_defconfig
arm multi_v7_defconfig
sparc allyesconfig
i386 allnoconfig
i386 allyesconfig
i386 alldefconfig
i386 defconfig
i386 debian-10.3
ia64 allmodconfig
ia64 defconfig
ia64 allnoconfig
ia64 allyesconfig
ia64 alldefconfig
nios2 3c120_defconfig
nios2 10m50_defconfig
c6x evmc6678_defconfig
xtensa iss_defconfig
c6x allyesconfig
xtensa common_defconfig
openrisc simple_smp_defconfig
openrisc or1ksim_defconfig
nds32 defconfig
nds32 allnoconfig
csky defconfig
alpha defconfig
h8300 h8s-sim_defconfig
h8300 edosk2674_defconfig
m68k m5475evb_defconfig
m68k allmodconfig
h8300 h8300h-sim_defconfig
m68k sun3_defconfig
m68k multi_defconfig
arc defconfig
arc allyesconfig
powerpc defconfig
powerpc ppc64_defconfig
powerpc rhel-kconfig
microblaze mmu_defconfig
microblaze nommu_defconfig
powerpc allnoconfig
mips fuloong2e_defconfig
mips malta_kvm_defconfig
mips allyesconfig
mips 64r6el_defconfig
mips allnoconfig
mips 32r2_defconfig
mips allmodconfig
parisc allnoconfig
parisc generic-64bit_defconfig
parisc generic-32bit_defconfig
parisc allyesconfig
x86_64 randconfig-a003-20200407
i386 randconfig-a002-20200407
x86_64 randconfig-a002-20200407
x86_64 randconfig-a001-20200407
i386 randconfig-a001-20200407
i386 randconfig-a003-20200407
mips randconfig-a001-20200406
nds32 randconfig-a001-20200406
m68k randconfig-a001-20200406
parisc randconfig-a001-20200406
alpha randconfig-a001-20200406
riscv randconfig-a001-20200406
sparc64 randconfig-a001-20200406
h8300 randconfig-a001-20200406
nios2 randconfig-a001-20200406
microblaze randconfig-a001-20200406
c6x randconfig-a001-20200406
s390 randconfig-a001-20200406
xtensa randconfig-a001-20200406
csky randconfig-a001-20200406
openrisc randconfig-a001-20200406
sh randconfig-a001-20200406
i386 randconfig-b003-20200406
x86_64 randconfig-b002-20200406
x86_64 randconfig-b001-20200406
i386 randconfig-b001-20200406
x86_64 randconfig-b003-20200406
i386 randconfig-b002-20200406
i386 randconfig-c003-20200406
i386 randconfig-c001-20200406
x86_64 randconfig-c002-20200406
x86_64 randconfig-c003-20200406
i386 randconfig-c002-20200406
x86_64 randconfig-c001-20200406
i386 randconfig-e001-20200407
i386 randconfig-e003-20200407
x86_64 randconfig-e002-20200407
x86_64 randconfig-e001-20200407
i386 randconfig-e002-20200407
x86_64 randconfig-e003-20200407
i386 randconfig-f001-20200407
x86_64 randconfig-f003-20200407
i386 randconfig-f003-20200407
x86_64 randconfig-f001-20200407
x86_64 randconfig-f002-20200407
i386 randconfig-f002-20200407
x86_64 randconfig-g003-20200406
i386 randconfig-g003-20200406
x86_64 randconfig-g002-20200406
i386 randconfig-g001-20200406
i386 randconfig-g002-20200406
x86_64 randconfig-g001-20200406
x86_64 randconfig-h002-20200406
i386 randconfig-h002-20200406
i386 randconfig-h003-20200406
i386 randconfig-h001-20200406
x86_64 randconfig-h003-20200406
x86_64 randconfig-h001-20200406
arm64 randconfig-a001-20200406
sparc randconfig-a001-20200406
ia64 randconfig-a001-20200406
arc randconfig-a001-20200406
arm randconfig-a001-20200406
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
s390 zfcpdump_defconfig
s390 debug_defconfig
s390 allyesconfig
s390 allnoconfig
s390 allmodconfig
s390 alldefconfig
s390 defconfig
sh rsk7269_defconfig
sh allmodconfig
sh titan_defconfig
sh sh7785lcr_32bit_defconfig
sh allnoconfig
sparc defconfig
sparc64 defconfig
sparc64 allnoconfig
sparc64 allyesconfig
sparc64 allmodconfig
um x86_64_defconfig
um i386_defconfig
um defconfig
x86_64 rhel
x86_64 rhel-7.6
x86_64 rhel-7.2-clear
x86_64 lkp
x86_64 fedora-25
x86_64 kexec
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
2 years, 2 months
[pm:pm-sleep-core 2/3] drivers/base/power/main.c:588:31: warning: initialization of 'const char *' from 'char' makes pointer from integer without a cast
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-sleep-core
head: 3aa654e1e731ad8f8aff1a937e09fae14380b6e5
commit: f31f24f5fef92e6b50dffdd2c53d2d4c4c8c2fc9 [2/3] PM: sleep: core: Fold functions into their callers
config: nds32-randconfig-a001-20200405 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout f31f24f5fef92e6b50dffdd2c53d2d4c4c8c2fc9
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/compiler_types.h:68,
from <command-line>:
drivers/base/power/main.c: In function 'device_resume_noirq':
>> drivers/base/power/main.c:588:31: warning: initialization of 'const char *' from 'char' makes pointer from integer without a cast [-Wint-conversion]
588 | const char uninitialized_var(*info);
| ^
include/linux/compiler-gcc.h:65:34: note: in definition of macro 'uninitialized_var'
65 | #define uninitialized_var(x) x = x
| ^
drivers/base/power/main.c: In function 'device_resume_early':
drivers/base/power/main.c:779:31: warning: initialization of 'const char *' from 'char' makes pointer from integer without a cast [-Wint-conversion]
779 | const char uninitialized_var(*info);
| ^
include/linux/compiler-gcc.h:65:34: note: in definition of macro 'uninitialized_var'
65 | #define uninitialized_var(x) x = x
| ^
drivers/base/power/main.c: In function '__device_suspend_noirq':
drivers/base/power/main.c:1196:31: warning: initialization of 'const char *' from 'char' makes pointer from integer without a cast [-Wint-conversion]
1196 | const char uninitialized_var(*info);
| ^
include/linux/compiler-gcc.h:65:34: note: in definition of macro 'uninitialized_var'
65 | #define uninitialized_var(x) x = x
| ^
drivers/base/power/main.c: In function '__device_suspend_late':
drivers/base/power/main.c:1381:31: warning: initialization of 'const char *' from 'char' makes pointer from integer without a cast [-Wint-conversion]
1381 | const char uninitialized_var(*info);
| ^
include/linux/compiler-gcc.h:65:34: note: in definition of macro 'uninitialized_var'
65 | #define uninitialized_var(x) x = x
| ^
drivers/base/power/main.c: In function 'device_resume_early':
drivers/base/power/main.c:779:31: warning: 'info' is used uninitialized in this function [-Wuninitialized]
779 | const char uninitialized_var(*info);
| ^
drivers/base/power/main.c: In function 'device_resume_noirq':
drivers/base/power/main.c:588:31: warning: 'info' is used uninitialized in this function [-Wuninitialized]
588 | const char uninitialized_var(*info);
| ^
drivers/base/power/main.c: In function '__device_suspend_noirq':
drivers/base/power/main.c:1196:31: warning: 'info' is used uninitialized in this function [-Wuninitialized]
1196 | const char uninitialized_var(*info);
| ^
drivers/base/power/main.c: In function '__device_suspend_late':
drivers/base/power/main.c:1381:31: warning: 'info' is used uninitialized in this function [-Wuninitialized]
1381 | const char uninitialized_var(*info);
| ^
vim +588 drivers/base/power/main.c
575
576 /**
577 * device_resume_noirq - Execute a "noirq resume" callback for given device.
578 * @dev: Device to handle.
579 * @state: PM transition of the system being carried out.
580 * @async: If true, the device is being resumed asynchronously.
581 *
582 * The driver of @dev will not receive interrupts while this function is being
583 * executed.
584 */
585 static int device_resume_noirq(struct device *dev, pm_message_t state, bool async)
586 {
587 pm_callback_t callback = NULL;
> 588 const char uninitialized_var(*info);
589 bool skip_resume;
590 int error = 0;
591
592 TRACE_DEVICE(dev);
593 TRACE_RESUME(0);
594
595 if (dev->power.syscore || dev->power.direct_complete)
596 goto Out;
597
598 if (!dev->power.is_noirq_suspended)
599 goto Out;
600
601 if (!dpm_wait_for_superior(dev, async))
602 goto Out;
603
604 if (dev->pm_domain) {
605 info = "noirq power domain ";
606 callback = pm_noirq_op(&dev->pm_domain->ops, state);
607 } else if (dev->type && dev->type->pm) {
608 info = "noirq type ";
609 callback = pm_noirq_op(dev->type->pm, state);
610 } else if (dev->class && dev->class->pm) {
611 info = "noirq class ";
612 callback = pm_noirq_op(dev->class->pm, state);
613 } else if (dev->bus && dev->bus->pm) {
614 info = "noirq bus ";
615 callback = pm_noirq_op(dev->bus->pm, state);
616 }
617 if (callback) {
618 skip_resume = false;
619 goto Run;
620 }
621
622 skip_resume = dev_pm_may_skip_resume(dev);
623 if (skip_resume)
624 goto Skip;
625
626 /*
627 * If "freeze" driver callbacks have been skipped during hibernation,
628 * because the device was runtime-suspended in __device_suspend_late(),
629 * the corresponding "thaw" callbacks must be skipped too, because
630 * running them for a runtime-suspended device may not be valid.
631 */
632 if (dev_pm_smart_suspend_and_suspended(dev) &&
633 state.event == PM_EVENT_THAW) {
634 skip_resume = true;
635 goto Skip;
636 }
637
638 if (dev->driver && dev->driver->pm) {
639 info = "noirq driver ";
640 callback = pm_noirq_op(dev->driver->pm, state);
641 }
642
643 /*
644 * The device is going to be resumed, so set its PM-runtime status to
645 * "active" (that can be done for all devices regardless of whether or
646 * not PM-runtime is enabled for them).
647 */
648 pm_runtime_set_active(dev);
649
650 Run:
651 error = dpm_run_callback(callback, dev, state, info);
652
653 Skip:
654 dev->power.is_noirq_suspended = false;
655
656 if (skip_resume) {
657 /* Make the next phases of resume skip the device. */
658 dev->power.is_late_suspended = false;
659 dev->power.is_suspended = false;
660 /*
661 * The device is going to be left in suspend, but it might not
662 * have been in runtime suspend before the system suspended, so
663 * its runtime PM status needs to be updated to avoid confusing
664 * the runtime PM framework when runtime PM is enabled for the
665 * device again.
666 */
667 pm_runtime_set_suspended(dev);
668 }
669
670 Out:
671 complete_all(&dev->power.completion);
672 TRACE_RESUME(error);
673 return error;
674 }
675
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
2 years, 2 months