[rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 8d681a5245f0a5cfb20326b4f6578af1adb8676b Merge branch 'acpi-sysfs' into bleeding-edge
Warning reports:
https://lore.kernel.org/llvm/202112280907.gTYYYuB4-lkp@intel.com
Warning in current branch:
drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
Warning ids grouped by kconfigs:
clang_recent_errors
|-- i386-randconfig-a001-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a002-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a003-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a004-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a005-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a006-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a011-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a012-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a013-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a014-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a015-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a016-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a001-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a002-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a003-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a004-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a005-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a006-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a011-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a012-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a013-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a014-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a015-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a016-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-r012-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
`-- x86_64-randconfig-r024-20211228
`-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
elapsed time: 725m
configs tested: 104
configs skipped: 3
gcc tested configs:
arm allyesconfig
arm allmodconfig
arm defconfig
arm64 defconfig
arm64 allyesconfig
i386 randconfig-c001-20211228
arm sama7_defconfig
arc nsim_700_defconfig
arm qcom_defconfig
arm pxa3xx_defconfig
powerpc bluestone_defconfig
mips bmips_stb_defconfig
arm ezx_defconfig
sh se7343_defconfig
powerpc skiroot_defconfig
arm lpc18xx_defconfig
arm imx_v6_v7_defconfig
arm pxa910_defconfig
powerpc mpc885_ads_defconfig
powerpc pq2fads_defconfig
arm sama5_defconfig
arm shmobile_defconfig
arc vdk_hs38_smp_defconfig
csky alldefconfig
riscv nommu_k210_sdcard_defconfig
arm randconfig-c002-20211229
ia64 defconfig
ia64 allmodconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
m68k allyesconfig
nds32 allnoconfig
nios2 defconfig
arc allyesconfig
csky defconfig
alpha defconfig
nds32 defconfig
alpha allyesconfig
nios2 allyesconfig
arc defconfig
sh allmodconfig
h8300 allyesconfig
xtensa allyesconfig
parisc defconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
s390 allyesconfig
i386 allyesconfig
sparc defconfig
i386 defconfig
i386 debian-10.3-kselftests
i386 debian-10.3
sparc allyesconfig
mips allyesconfig
mips allmodconfig
powerpc allnoconfig
powerpc allmodconfig
powerpc allyesconfig
arc randconfig-r043-20211228
riscv nommu_k210_defconfig
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
um x86_64_defconfig
um i386_defconfig
x86_64 allyesconfig
x86_64 defconfig
x86_64 rhel-8.3
x86_64 rhel-8.3-func
x86_64 kexec
x86_64 rhel-8.3-kselftests
clang tested configs:
x86_64 randconfig-a001-20211229
x86_64 randconfig-a003-20211229
x86_64 randconfig-a004-20211229
x86_64 randconfig-a002-20211229
x86_64 randconfig-a005-20211229
x86_64 randconfig-a006-20211229
i386 randconfig-a002-20211229
i386 randconfig-a003-20211229
i386 randconfig-a001-20211229
i386 randconfig-a005-20211229
i386 randconfig-a006-20211229
i386 randconfig-a004-20211229
x86_64 randconfig-a013-20211228
x86_64 randconfig-a012-20211228
x86_64 randconfig-a011-20211228
x86_64 randconfig-a016-20211228
x86_64 randconfig-a015-20211228
x86_64 randconfig-a014-20211228
i386 randconfig-a012-20211228
i386 randconfig-a011-20211228
i386 randconfig-a013-20211228
i386 randconfig-a016-20211228
i386 randconfig-a014-20211228
i386 randconfig-a015-20211228
hexagon randconfig-r041-20211228
riscv randconfig-r042-20211228
s390 randconfig-r044-20211228
hexagon randconfig-r045-20211228
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
5 months, 4 weeks
[rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 642439a4441150c7ab54db8d54fac1c7fee57b5a
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 642439a4441150c7ab54db8d54fac1c7fee57b5a Merge branch 'acpi-processor' into bleeding-edge
Warning reports:
https://lore.kernel.org/llvm/202112280907.gTYYYuB4-lkp@intel.com
Warning in current branch:
drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
possible Warning in current branch (please contact us if interested):
sound/soc/sh/rz-ssi.c:1023:9: warning: ignoring return value of 'pm_runtime_resume_and_get' declared with attribute 'warn_unused_result' [-Wunused-result]
Warning ids grouped by kconfigs:
gcc_recent_errors
|-- alpha-allmodconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- alpha-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- arc-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- arc-randconfig-r043-20211230
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- arm-allmodconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- arm-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- arm-randconfig-c002-20211230
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- arm64-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- arm64-defconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- h8300-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- ia64-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- ia64-buildonly-randconfig-r004-20211231
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- m68k-allmodconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- m68k-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- mips-allmodconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- mips-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- nios2-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- parisc-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- powerpc-allmodconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- powerpc-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- riscv-allmodconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- riscv-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- s390-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- sh-allmodconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- sparc-allyesconfig
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
|-- sparc64-randconfig-r005-20211230
| `-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
`-- xtensa-allyesconfig
`-- sound-soc-sh-rz-ssi.c:warning:ignoring-return-value-of-pm_runtime_resume_and_get-declared-with-attribute-warn_unused_result
clang_recent_errors
|-- i386-randconfig-a001-20211230
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a002-20211230
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a003-20211230
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a004-20211230
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a005-20211230
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a006-20211230
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a011-20211231
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a012-20211231
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a013-20211231
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a014-20211231
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a015-20211231
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a016-20211231
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-r033-20211230
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a001-20211230
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a002-20211230
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a003-20211230
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a004-20211230
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a005-20211230
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
`-- x86_64-randconfig-a006-20211230
`-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
elapsed time: 724m
configs tested: 106
configs skipped: 3
gcc tested configs:
arm defconfig
arm allmodconfig
arm allyesconfig
arm64 defconfig
arm64 allyesconfig
i386 randconfig-c001-20211230
sh apsh4a3a_defconfig
arm multi_v4t_defconfig
sh rts7751r2dplus_defconfig
sh se7721_defconfig
powerpc mpc8313_rdb_defconfig
h8300 h8s-sim_defconfig
arm spitz_defconfig
arm pxa168_defconfig
powerpc g5_defconfig
powerpc mpc7448_hpc2_defconfig
powerpc ge_imp3a_defconfig
mips mtx1_defconfig
sh ecovec24-romimage_defconfig
arm mini2440_defconfig
xtensa alldefconfig
sh migor_defconfig
arm zeus_defconfig
arm at91_dt_defconfig
m68k m5249evb_defconfig
mips ath79_defconfig
s390 debug_defconfig
arm randconfig-c002-20211230
ia64 allmodconfig
ia64 defconfig
ia64 allyesconfig
m68k defconfig
m68k allmodconfig
m68k allyesconfig
nds32 defconfig
csky defconfig
alpha defconfig
alpha allyesconfig
nios2 allyesconfig
arc defconfig
sh allmodconfig
h8300 allyesconfig
xtensa allyesconfig
parisc defconfig
s390 allyesconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
i386 allyesconfig
sparc defconfig
i386 defconfig
i386 debian-10.3-kselftests
i386 debian-10.3
sparc allyesconfig
nds32 allnoconfig
nios2 defconfig
arc allyesconfig
mips allyesconfig
mips allmodconfig
powerpc allnoconfig
powerpc allyesconfig
powerpc allmodconfig
x86_64 randconfig-a013-20211230
x86_64 randconfig-a015-20211230
x86_64 randconfig-a012-20211230
x86_64 randconfig-a011-20211230
x86_64 randconfig-a016-20211230
x86_64 randconfig-a014-20211230
arc randconfig-r043-20211230
riscv randconfig-r042-20211230
s390 randconfig-r044-20211230
riscv nommu_k210_defconfig
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
um i386_defconfig
um x86_64_defconfig
x86_64 defconfig
x86_64 rhel-8.3
x86_64 kexec
x86_64 allyesconfig
x86_64 rhel-8.3-func
x86_64 rhel-8.3-kselftests
clang tested configs:
x86_64 randconfig-a002-20211230
x86_64 randconfig-a001-20211230
x86_64 randconfig-a003-20211230
x86_64 randconfig-a006-20211230
x86_64 randconfig-a004-20211230
x86_64 randconfig-a005-20211230
i386 randconfig-a001-20211230
i386 randconfig-a004-20211230
i386 randconfig-a002-20211230
i386 randconfig-a006-20211230
i386 randconfig-a003-20211230
i386 randconfig-a005-20211230
i386 randconfig-a011-20211231
i386 randconfig-a012-20211231
i386 randconfig-a013-20211231
i386 randconfig-a014-20211231
i386 randconfig-a015-20211231
i386 randconfig-a016-20211231
hexagon randconfig-r041-20211230
hexagon randconfig-r045-20211230
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
6 months
Re: [PATCH] ACPICA: DEBUGGER: Add return value check to acpi_db_walk_for_fields()
by Rafael J. Wysocki
On Wed, Dec 29, 2021 at 10:41 AM shenzijun <shenzijun(a)kylinos.cn> wrote:
>
> From: Zijun Shen <shenzijun(a)kylinos.cn>
>
> The function acpi_db_walk_for_fields frees buffer.pointer by the
> first ACPI_FREE. And then uses the second ACPI_FREE to free
> buffer.pointer which may assigns again in acpi_evaluate_object.
> It's necessary to make sure that buffer.pointer get a block of
> memory in acpi_evaluate_object and acpi_evaluate_object return 0.
>
> Signed-off-by: Zijun Shen <shenzijun(a)kylinos.cn>
> ---
> drivers/acpi/acpica/dbnames.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/acpica/dbnames.c b/drivers/acpi/acpica/dbnames.c
> index 3615e1a6efd8..7a2d980cb2b8 100644
> --- a/drivers/acpi/acpica/dbnames.c
> +++ b/drivers/acpi/acpica/dbnames.c
> @@ -550,7 +550,10 @@ acpi_db_walk_for_fields(acpi_handle obj_handle,
> ACPI_FREE(buffer.pointer);
>
> buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER;
> - acpi_evaluate_object(obj_handle, NULL, NULL, &buffer);
> + status = acpi_evaluate_object(obj_handle, NULL, NULL, &buffer);
> + if (ACPI_FAILURE(status)) {
> + return (AE_OK);
> + }
>
> /*
> * Since this is a field unit, surround the output in braces
> --
This is ACPICA material, so please submit it to the upstream ACPICA
project via https://github.com/acpica/acpica/
Thanks!
6 months
Re: [PATCH] ACPICA: Remove initialization of static variables to 0
by Rafael J. Wysocki
On Fri, Dec 24, 2021 at 10:15 AM Yin Xiujiang <yinxiujiang(a)kylinos.cn> wrote:
>
> Remove the initialization of three static variables to 0 which is
> pointless
>
> Signed-off-by: Yin Xiujiang <yinxiujiang(a)kylinos.cn>
> ---
> drivers/acpi/acpica/dbhistry.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/acpi/acpica/dbhistry.c b/drivers/acpi/acpica/dbhistry.c
> index fd813c5d3952..60b77b11c0f2 100644
> --- a/drivers/acpi/acpica/dbhistry.c
> +++ b/drivers/acpi/acpica/dbhistry.c
> @@ -24,9 +24,9 @@ typedef struct history_info {
> } HISTORY_INFO;
>
> static HISTORY_INFO acpi_gbl_history_buffer[HISTORY_SIZE];
> -static u16 acpi_gbl_lo_history = 0;
> -static u16 acpi_gbl_num_history = 0;
> -static u16 acpi_gbl_next_history_index = 0;
> +static u16 acpi_gbl_lo_history;
> +static u16 acpi_gbl_num_history;
> +static u16 acpi_gbl_next_history_index;
>
> /*******************************************************************************
> *
> --
This is ACPICA material, so please submit it to the upstream ACPICA
project via https://github.com/acpica/acpica/
Thanks!
6 months
[rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 86e4182dd2d1465f6446863dd26da97ea069c8a2
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 86e4182dd2d1465f6446863dd26da97ea069c8a2 Merge branch 'acpi-pfrut' into bleeding-edge
Warning reports:
https://lore.kernel.org/llvm/202112280907.gTYYYuB4-lkp@intel.com
Warning in current branch:
drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
Warning ids grouped by kconfigs:
clang_recent_errors
|-- i386-randconfig-a012-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
`-- x86_64-randconfig-a015-20211228
`-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
elapsed time: 721m
configs tested: 102
configs skipped: 3
gcc tested configs:
arm defconfig
arm allyesconfig
arm allmodconfig
arm64 defconfig
arm64 allyesconfig
i386 randconfig-c001-20211228
powerpc mpc8540_ads_defconfig
mips jmr3927_defconfig
powerpc microwatt_defconfig
sh shmin_defconfig
powerpc obs600_defconfig
powerpc amigaone_defconfig
sparc defconfig
arm spitz_defconfig
sh ap325rxa_defconfig
powerpc mpc866_ads_defconfig
s390 alldefconfig
sh ul2_defconfig
ia64 gensparse_defconfig
sh migor_defconfig
powerpc allnoconfig
powerpc eiger_defconfig
powerpc tqm8548_defconfig
arm ixp4xx_defconfig
riscv rv32_defconfig
sh urquell_defconfig
arm randconfig-c002-20211228
ia64 defconfig
ia64 allmodconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
m68k allyesconfig
nds32 allnoconfig
nios2 defconfig
arc allyesconfig
csky defconfig
alpha defconfig
nds32 defconfig
alpha allyesconfig
nios2 allyesconfig
arc defconfig
sh allmodconfig
h8300 allyesconfig
xtensa allyesconfig
parisc defconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
s390 allyesconfig
i386 allyesconfig
i386 defconfig
i386 debian-10.3-kselftests
i386 debian-10.3
sparc allyesconfig
mips allmodconfig
mips allyesconfig
powerpc allmodconfig
powerpc allyesconfig
x86_64 randconfig-a001-20211228
x86_64 randconfig-a003-20211228
x86_64 randconfig-a002-20211228
x86_64 randconfig-a005-20211228
x86_64 randconfig-a004-20211228
x86_64 randconfig-a006-20211228
i386 randconfig-a002-20211228
i386 randconfig-a003-20211228
i386 randconfig-a001-20211228
i386 randconfig-a005-20211228
i386 randconfig-a006-20211228
i386 randconfig-a004-20211228
arc randconfig-r043-20211228
riscv nommu_k210_defconfig
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv allmodconfig
um i386_defconfig
um x86_64_defconfig
x86_64 allyesconfig
x86_64 defconfig
x86_64 rhel-8.3
x86_64 rhel-8.3-func
x86_64 kexec
x86_64 rhel-8.3-kselftests
clang tested configs:
x86_64 randconfig-a014-20211228
x86_64 randconfig-a013-20211228
x86_64 randconfig-a012-20211228
x86_64 randconfig-a011-20211228
x86_64 randconfig-a016-20211228
x86_64 randconfig-a015-20211228
i386 randconfig-a012-20211228
i386 randconfig-a011-20211228
i386 randconfig-a013-20211228
i386 randconfig-a014-20211228
i386 randconfig-a016-20211228
i386 randconfig-a015-20211228
hexagon randconfig-r041-20211228
riscv randconfig-r042-20211228
s390 randconfig-r044-20211228
hexagon randconfig-r045-20211228
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
6 months
[rafael-pm:bleeding-edge 97/119] drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer subtraction with a null pointer has undefined behavior
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: 86e4182dd2d1465f6446863dd26da97ea069c8a2
commit: ca25f92b72d25457653dbf2a81f322235804fb05 [97/119] ACPICA: Use original data_table_region pointer for accesses
config: i386-randconfig-a012-20211228 (https://download.01.org/0day-ci/archive/20211228/202112280907.gTYYYuB4-lk...)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7171af744543433ac75b232eb7dfdaef7efd4d7a)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commi...
git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
git fetch --no-tags rafael-pm bleeding-edge
git checkout ca25f92b72d25457653dbf2a81f322235804fb05
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/acpi/acpica/
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/acpica/exregion.c:519:17: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
(address - ACPI_PTR_TO_PHYSADDR(mapping->pointer));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:513:41: note: expanded from macro 'ACPI_PTR_TO_PHYSADDR'
#define ACPI_PTR_TO_PHYSADDR(i) ACPI_TO_INTEGER(i)
^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:510:41: note: expanded from macro 'ACPI_TO_INTEGER'
#define ACPI_TO_INTEGER(p) ACPI_PTR_DIFF (p, (void *) 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:505:79: note: expanded from macro 'ACPI_PTR_DIFF'
#define ACPI_PTR_DIFF(a, b) ((acpi_size) (ACPI_CAST_PTR (u8, (a)) - ACPI_CAST_PTR (u8, (b))))
^ ~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
vim +519 drivers/acpi/acpica/exregion.c
486
487 /*******************************************************************************
488 *
489 * FUNCTION: acpi_ex_data_table_space_handler
490 *
491 * PARAMETERS: function - Read or Write operation
492 * address - Where in the space to read or write
493 * bit_width - Field width in bits (8, 16, or 32)
494 * value - Pointer to in or out value
495 * handler_context - Pointer to Handler's context
496 * region_context - Pointer to context specific to the
497 * accessed region
498 *
499 * RETURN: Status
500 *
501 * DESCRIPTION: Handler for the Data Table address space (Op Region)
502 *
503 ******************************************************************************/
504
505 acpi_status
506 acpi_ex_data_table_space_handler(u32 function,
507 acpi_physical_address address,
508 u32 bit_width,
509 u64 *value,
510 void *handler_context, void *region_context)
511 {
512 struct acpi_data_table_space_context *mapping;
513 char *pointer;
514
515 ACPI_FUNCTION_TRACE(ex_data_table_space_handler);
516
517 mapping = (struct acpi_data_table_space_context *) region_context;
518 pointer = ACPI_CAST_PTR(char, mapping->pointer) +
> 519 (address - ACPI_PTR_TO_PHYSADDR(mapping->pointer));
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
6 months
[rafael-pm:bleeding-edge] BUILD SUCCESS 58d53ba537f27d9ddcf2c94f5f5bd52b63246b95
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 58d53ba537f27d9ddcf2c94f5f5bd52b63246b95 Merge branch 'pm-core' into bleeding-edge
elapsed time: 854m
configs tested: 96
configs skipped: 3
The following configs have been built successfully.
More configs may be tested in the coming days.
gcc tested configs:
arm defconfig
arm allyesconfig
arm allmodconfig
arm64 defconfig
arm64 allyesconfig
i386 randconfig-c001-20211223
arm pxa255-idp_defconfig
arc nsimosci_defconfig
sh sdk7786_defconfig
mips ath25_defconfig
mips tb0287_defconfig
arm aspeed_g4_defconfig
arm pxa3xx_defconfig
sh se7722_defconfig
mips cu1000-neo_defconfig
powerpc wii_defconfig
mips e55_defconfig
arm randconfig-c002-20211223
ia64 defconfig
ia64 allmodconfig
ia64 allyesconfig
m68k defconfig
m68k allyesconfig
m68k allmodconfig
nds32 allnoconfig
nios2 defconfig
arc allyesconfig
csky defconfig
alpha defconfig
nds32 defconfig
alpha allyesconfig
nios2 allyesconfig
arc defconfig
sh allmodconfig
h8300 allyesconfig
xtensa allyesconfig
parisc defconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
s390 allyesconfig
i386 allyesconfig
sparc allyesconfig
i386 defconfig
i386 debian-10.3-kselftests
i386 debian-10.3
sparc defconfig
mips allyesconfig
mips allmodconfig
powerpc allnoconfig
powerpc allmodconfig
powerpc allyesconfig
x86_64 randconfig-a001-20211222
x86_64 randconfig-a003-20211222
x86_64 randconfig-a005-20211222
x86_64 randconfig-a006-20211222
x86_64 randconfig-a004-20211222
x86_64 randconfig-a002-20211222
i386 randconfig-a002-20211222
i386 randconfig-a003-20211222
i386 randconfig-a001-20211222
i386 randconfig-a005-20211222
i386 randconfig-a006-20211222
i386 randconfig-a004-20211222
x86_64 randconfig-a015-20211223
x86_64 randconfig-a014-20211223
x86_64 randconfig-a011-20211223
x86_64 randconfig-a012-20211223
x86_64 randconfig-a013-20211223
x86_64 randconfig-a016-20211223
i386 randconfig-a012-20211223
i386 randconfig-a011-20211223
i386 randconfig-a013-20211223
i386 randconfig-a014-20211223
i386 randconfig-a015-20211223
i386 randconfig-a016-20211223
arc randconfig-r043-20211222
riscv nommu_k210_defconfig
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
um x86_64_defconfig
um i386_defconfig
x86_64 defconfig
x86_64 rhel-8.3
x86_64 rhel-8.3-func
x86_64 kexec
x86_64 allyesconfig
x86_64 rhel-8.3-kselftests
clang tested configs:
hexagon randconfig-r045-20211222
riscv randconfig-r042-20211222
s390 randconfig-r044-20211222
hexagon randconfig-r041-20211222
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
6 months, 1 week
[rafael-pm:bleeding-edge] BUILD SUCCESS bd982f30deb7baab86095fc89f33954f10dcc387
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: bd982f30deb7baab86095fc89f33954f10dcc387 Merge branches 'thermal-tools' and 'thermal-int340x' into linux-next
elapsed time: 722m
configs tested: 137
configs skipped: 3
The following configs have been built successfully.
More configs may be tested in the coming days.
gcc tested configs:
arm64 defconfig
arm defconfig
arm64 allyesconfig
arm allyesconfig
arm allmodconfig
arm imx_v4_v5_defconfig
arm exynos_defconfig
riscv defconfig
powerpc mpc837x_mds_defconfig
arm pxa910_defconfig
mips bcm63xx_defconfig
sh espt_defconfig
mips loongson1c_defconfig
arm realview_defconfig
powerpc storcenter_defconfig
sh edosk7705_defconfig
arm cm_x300_defconfig
mips malta_qemu_32r6_defconfig
sh se7712_defconfig
m68k m5275evb_defconfig
powerpc ppc44x_defconfig
arm alldefconfig
mips rt305x_defconfig
mips gcw0_defconfig
mips bmips_be_defconfig
powerpc skiroot_defconfig
mips maltaaprp_defconfig
arm ixp4xx_defconfig
mips bmips_stb_defconfig
sh shmin_defconfig
um alldefconfig
nds32 allnoconfig
sh se7206_defconfig
mips jmr3927_defconfig
mips capcella_defconfig
powerpc canyonlands_defconfig
sh dreamcast_defconfig
mips ci20_defconfig
m68k q40_defconfig
powerpc lite5200b_defconfig
arm pcm027_defconfig
powerpc katmai_defconfig
arm assabet_defconfig
arm pxa_defconfig
powerpc pseries_defconfig
m68k sun3x_defconfig
sparc64 defconfig
powerpc tqm8540_defconfig
um defconfig
sh urquell_defconfig
sh microdev_defconfig
arm mps2_defconfig
sh ecovec24_defconfig
arm jornada720_defconfig
arm zeus_defconfig
powerpc amigaone_defconfig
s390 alldefconfig
powerpc mpc83xx_defconfig
openrisc or1ksim_defconfig
sh se7721_defconfig
arm randconfig-c002-20211220
ia64 allmodconfig
ia64 defconfig
ia64 allyesconfig
m68k defconfig
m68k allyesconfig
m68k allmodconfig
nios2 defconfig
arc allyesconfig
nds32 defconfig
csky defconfig
alpha defconfig
alpha allyesconfig
nios2 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 defconfig
i386 debian-10.3-kselftests
i386 debian-10.3
mips allyesconfig
mips allmodconfig
powerpc allyesconfig
powerpc allmodconfig
powerpc allnoconfig
x86_64 randconfig-a001-20211220
x86_64 randconfig-a003-20211220
x86_64 randconfig-a005-20211220
x86_64 randconfig-a006-20211220
x86_64 randconfig-a004-20211220
x86_64 randconfig-a002-20211220
i386 randconfig-a006-20211220
i386 randconfig-a004-20211220
i386 randconfig-a002-20211220
i386 randconfig-a003-20211220
i386 randconfig-a005-20211220
i386 randconfig-a001-20211220
arc randconfig-r043-20211220
riscv nommu_k210_defconfig
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv rv32_defconfig
riscv allmodconfig
um x86_64_defconfig
um i386_defconfig
x86_64 allyesconfig
x86_64 rhel-8.3-kselftests
x86_64 defconfig
x86_64 rhel-8.3
x86_64 rhel-8.3-func
x86_64 kexec
clang tested configs:
x86_64 randconfig-a013-20211220
x86_64 randconfig-a015-20211220
x86_64 randconfig-a014-20211220
x86_64 randconfig-a012-20211220
x86_64 randconfig-a011-20211220
x86_64 randconfig-a016-20211220
i386 randconfig-a012-20211220
i386 randconfig-a011-20211220
i386 randconfig-a014-20211220
i386 randconfig-a016-20211220
i386 randconfig-a015-20211220
i386 randconfig-a013-20211220
hexagon randconfig-r041-20211220
hexagon randconfig-r045-20211220
riscv randconfig-r042-20211220
s390 randconfig-r044-20211220
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
6 months, 1 week
[rafael-pm:bleeding-edge] BUILD SUCCESS 13500db7a43ad5848884273e6c647633c93db266
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 13500db7a43ad5848884273e6c647633c93db266 Merge branch 'pm-core' into bleeding-edge
elapsed time: 1168m
configs tested: 118
configs skipped: 3
The following configs have been built successfully.
More configs may be tested in the coming days.
gcc tested configs:
arm defconfig
arm allyesconfig
arm allmodconfig
arm64 defconfig
arm64 allyesconfig
i386 randconfig-c001-20211216
mips ar7_defconfig
m68k bvme6000_defconfig
powerpc mpc7448_hpc2_defconfig
arm alldefconfig
powerpc mpc8560_ads_defconfig
nios2 alldefconfig
powerpc pasemi_defconfig
m68k m5407c3_defconfig
arm netwinder_defconfig
powerpc pmac32_defconfig
arm hackkit_defconfig
arc nsim_700_defconfig
arm pxa168_defconfig
openrisc simple_smp_defconfig
ia64 tiger_defconfig
mips omega2p_defconfig
arm lubbock_defconfig
arm magician_defconfig
sh se7721_defconfig
powerpc mpc834x_itxgp_defconfig
powerpc walnut_defconfig
mips rt305x_defconfig
arm axm55xx_defconfig
parisc alldefconfig
m68k amiga_defconfig
m68k mvme147_defconfig
sh sh7757lcr_defconfig
arm randconfig-c002-20211218
ia64 defconfig
ia64 allmodconfig
ia64 allyesconfig
m68k defconfig
m68k allyesconfig
m68k allmodconfig
csky defconfig
alpha defconfig
nds32 defconfig
alpha allyesconfig
nios2 allyesconfig
nds32 allnoconfig
nios2 defconfig
arc allyesconfig
arc defconfig
sh allmodconfig
h8300 allyesconfig
xtensa allyesconfig
parisc defconfig
s390 allmodconfig
s390 defconfig
parisc allyesconfig
s390 allyesconfig
i386 allyesconfig
sparc defconfig
i386 defconfig
i386 debian-10.3-kselftests
i386 debian-10.3
sparc allyesconfig
mips allmodconfig
mips allyesconfig
powerpc allnoconfig
powerpc allmodconfig
powerpc allyesconfig
i386 randconfig-a002-20211218
i386 randconfig-a001-20211218
i386 randconfig-a003-20211218
i386 randconfig-a004-20211218
i386 randconfig-a005-20211218
i386 randconfig-a006-20211218
i386 randconfig-a013-20211217
i386 randconfig-a011-20211217
i386 randconfig-a012-20211217
i386 randconfig-a016-20211217
i386 randconfig-a014-20211217
i386 randconfig-a015-20211217
arc randconfig-r043-20211216
x86_64 randconfig-a001-20211216
x86_64 randconfig-a002-20211216
x86_64 randconfig-a003-20211216
x86_64 randconfig-a004-20211216
x86_64 randconfig-a006-20211216
x86_64 randconfig-a005-20211216
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
riscv nommu_k210_defconfig
um i386_defconfig
um x86_64_defconfig
x86_64 defconfig
x86_64 rhel-8.3
x86_64 kexec
x86_64 allyesconfig
x86_64 rhel-8.3-func
x86_64 rhel-8.3-kselftests
clang tested configs:
x86_64 randconfig-a011-20211216
x86_64 randconfig-a014-20211216
x86_64 randconfig-a012-20211216
x86_64 randconfig-a013-20211216
x86_64 randconfig-a015-20211216
x86_64 randconfig-a016-20211216
i386 randconfig-a011-20211216
i386 randconfig-a014-20211216
i386 randconfig-a012-20211216
i386 randconfig-a013-20211216
i386 randconfig-a015-20211216
i386 randconfig-a016-20211216
hexagon randconfig-r045-20211216
s390 randconfig-r044-20211216
riscv randconfig-r042-20211216
hexagon randconfig-r041-20211216
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
6 months, 2 weeks
ACPICA version 20211217 released
by Moore, Robert
17 December 2021. Summary of changes for version 20211217:
This release is available at https://acpica.org/downloads
1) ACPICA kernel-resident subsystem:
Hardware: Do not flush CPU cache when entering S4 and S5. According to ACPI 6.4, Section 16.2, the CPU cache flushing is required on entering to S1, S2, and S3, but the ACPICA code flushes the CPU cache regardless of the sleep state. Blind cache flush on entering S5 causes problems for TDX.
Avoid subobject buffer overflow when validating RSDP signature. Since the Signature member is accessed through an ACPI_TABLE_HEADER, the pointer to it is only to a 4-char array, and so trying to read past the 4th character, as will be done when it is an RSDP, reads beyond the bounds of the accessed member. Contributed by jrtc27.
Add support for PCC Opregion special context data. PCC Opregion added in ACPIC 6.3 requires special context data similar to GPIO and Generic Serial Bus as it needs to know the internal PCC buffer and its length as well as the PCC channel index when the opregion handler is being executed by the OSPM. Adds support for the special context data needed by PCC Opregion. Submitted by Sudeep Holla <sudeep.holla(a)arm.com>
2) iASL Compiler/Disassembler and ACPICA tools:
iASL: Completed compiler support for the NHLT ACPI table.
iASL/NHLT table: Fixed a reported problem where a fault would occur during disassembly of a "Linux-Specific" section if the "Specific Data" part was not present.
iASL: Added full support (compiler and disassembler) for the AGDI ACPI table. Contributed by: Ilkka Koskinen <ilkka(a)os.amperecomputing.com>.
iASL: Added full support for the TDEL ACPI table.
iASL table compiler: FADT support updates:
1) Allow the 32-bit DSDT address to be zero.
2) Issue error if both the 32-bit and 64-bit DSDT addresses are zero.
iASL: Fix unaligned accesses to local cache allocations. Contributed by jrtc27.
iASL: Open binary input files in binary mode, not text mode Affects binary input AML files, as well as binary data table files, for disassembly.
6 months, 2 weeks