[pm:bleeding-edge] BUILD SUCCESS ab41a33191ea4f1ce5834f2b776988867dfad807
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: ab41a33191ea4f1ce5834f2b776988867dfad807 Merge branch 'acpi-pci' into bleeding-edge
elapsed time: 722m
configs tested: 108
configs skipped: 3
The following configs have been built successfully.
More configs may be tested in the coming days.
arm64 allyesconfig
arm64 defconfig
arm64 allmodconfig
arm64 allnoconfig
arm defconfig
arm allyesconfig
arm allmodconfig
arm allnoconfig
sh se7751_defconfig
arm imx_v6_v7_defconfig
arm xcep_defconfig
arm pxa255-idp_defconfig
arm tango4_defconfig
arm pxa_defconfig
arm lpc18xx_defconfig
mips ip27_defconfig
arm eseries_pxa_defconfig
mips loongson3_defconfig
arm lart_defconfig
i386 allyesconfig
i386 defconfig
i386 debian-10.3
i386 allnoconfig
ia64 allmodconfig
ia64 defconfig
ia64 allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k allnoconfig
m68k sun3_defconfig
m68k defconfig
m68k allyesconfig
nds32 defconfig
nds32 allnoconfig
csky allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
xtensa allyesconfig
h8300 allyesconfig
h8300 allmodconfig
xtensa defconfig
arc defconfig
arc allyesconfig
sh allmodconfig
sh allnoconfig
microblaze allnoconfig
nios2 defconfig
nios2 allyesconfig
openrisc defconfig
c6x allyesconfig
c6x allnoconfig
openrisc allyesconfig
mips allyesconfig
mips allnoconfig
mips allmodconfig
parisc allnoconfig
parisc defconfig
parisc allyesconfig
parisc allmodconfig
powerpc defconfig
powerpc allyesconfig
powerpc rhel-kconfig
powerpc allmodconfig
powerpc allnoconfig
i386 randconfig-a002-20200624
i386 randconfig-a006-20200624
i386 randconfig-a003-20200624
i386 randconfig-a001-20200624
i386 randconfig-a005-20200624
i386 randconfig-a004-20200624
i386 randconfig-a013-20200624
i386 randconfig-a016-20200624
i386 randconfig-a012-20200624
i386 randconfig-a011-20200624
i386 randconfig-a015-20200624
x86_64 randconfig-a004-20200624
x86_64 randconfig-a002-20200624
x86_64 randconfig-a003-20200624
x86_64 randconfig-a005-20200624
x86_64 randconfig-a001-20200624
x86_64 randconfig-a006-20200624
riscv allyesconfig
riscv allnoconfig
riscv defconfig
riscv allmodconfig
s390 allyesconfig
s390 allnoconfig
s390 allmodconfig
s390 defconfig
sparc allyesconfig
sparc defconfig
sparc64 defconfig
sparc64 allnoconfig
sparc64 allyesconfig
sparc64 allmodconfig
um allmodconfig
um allnoconfig
um allyesconfig
um defconfig
x86_64 rhel-7.6
x86_64 rhel-7.6-kselftests
x86_64 rhel-8.3
x86_64 kexec
x86_64 rhel
x86_64 rhel-7.2-clear
x86_64 lkp
x86_64 fedora-25
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months, 1 week
[pm:bleeding-edge] BUILD SUCCESS b3cad17e9253db657cacf38bedf70bbac8b542c3
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: b3cad17e9253db657cacf38bedf70bbac8b542c3 Merge branch 'acpi-dptf' into bleeding-edge
elapsed time: 723m
configs tested: 109
configs skipped: 1
The following configs have been built successfully.
More configs may be tested in the coming days.
arm defconfig
arm allyesconfig
arm allmodconfig
arm allnoconfig
arm64 allyesconfig
arm64 defconfig
arm64 allmodconfig
arm64 allnoconfig
arm mainstone_defconfig
arm moxart_defconfig
m68k q40_defconfig
sh sdk7786_defconfig
s390 allnoconfig
arm mps2_defconfig
powerpc mpc885_ads_defconfig
sh sh7763rdp_defconfig
c6x evmc6472_defconfig
riscv rv32_defconfig
arm lart_defconfig
mips loongson3_defconfig
i386 allyesconfig
i386 defconfig
i386 debian-10.3
i386 allnoconfig
ia64 allmodconfig
ia64 defconfig
ia64 allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k allnoconfig
m68k sun3_defconfig
m68k defconfig
m68k allyesconfig
nios2 defconfig
nios2 allyesconfig
openrisc defconfig
c6x allyesconfig
c6x allnoconfig
openrisc allyesconfig
nds32 defconfig
nds32 allnoconfig
csky allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
xtensa allyesconfig
h8300 allyesconfig
h8300 allmodconfig
xtensa defconfig
arc defconfig
arc allyesconfig
sh allmodconfig
sh allnoconfig
microblaze allnoconfig
mips allyesconfig
mips allnoconfig
mips allmodconfig
parisc allnoconfig
parisc defconfig
parisc allyesconfig
parisc allmodconfig
powerpc defconfig
powerpc allyesconfig
powerpc rhel-kconfig
powerpc allmodconfig
powerpc allnoconfig
i386 randconfig-a002-20200624
i386 randconfig-a006-20200624
i386 randconfig-a003-20200624
i386 randconfig-a001-20200624
i386 randconfig-a005-20200624
i386 randconfig-a004-20200624
i386 randconfig-a013-20200624
i386 randconfig-a016-20200624
i386 randconfig-a012-20200624
i386 randconfig-a014-20200624
i386 randconfig-a011-20200624
i386 randconfig-a015-20200624
x86_64 randconfig-a004-20200624
x86_64 randconfig-a002-20200624
x86_64 randconfig-a003-20200624
x86_64 randconfig-a005-20200624
x86_64 randconfig-a001-20200624
x86_64 randconfig-a006-20200624
riscv allyesconfig
riscv allnoconfig
riscv defconfig
riscv allmodconfig
s390 allyesconfig
s390 allmodconfig
s390 defconfig
sparc allyesconfig
sparc defconfig
sparc64 defconfig
sparc64 allnoconfig
sparc64 allyesconfig
sparc64 allmodconfig
um allmodconfig
um allnoconfig
um allyesconfig
um defconfig
x86_64 rhel-7.6
x86_64 rhel-7.6-kselftests
x86_64 rhel-8.3
x86_64 kexec
x86_64 rhel
x86_64 rhel-7.2-clear
x86_64 lkp
x86_64 fedora-25
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months, 1 week
[pm:bleeding-edge] BUILD SUCCESS 869e6a63587372b60fed9580bf908cf2a5c820bd
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 869e6a63587372b60fed9580bf908cf2a5c820bd Merge branch 'acpi-tables' into bleeding-edge
elapsed time: 722m
configs tested: 98
configs skipped: 1
The following configs have been built successfully.
More configs may be tested in the coming days.
arm64 allyesconfig
arm64 defconfig
arm64 allmodconfig
arm64 allnoconfig
arm defconfig
arm allyesconfig
arm allmodconfig
arm allnoconfig
i386 allnoconfig
i386 allyesconfig
i386 defconfig
i386 debian-10.3
ia64 allmodconfig
ia64 defconfig
ia64 allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k allnoconfig
m68k sun3_defconfig
m68k defconfig
m68k allyesconfig
nios2 defconfig
nios2 allyesconfig
openrisc defconfig
c6x allyesconfig
c6x allnoconfig
openrisc allyesconfig
nds32 defconfig
nds32 allnoconfig
csky allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
xtensa allyesconfig
h8300 allyesconfig
h8300 allmodconfig
xtensa defconfig
arc defconfig
arc allyesconfig
sh allmodconfig
sh allnoconfig
microblaze allnoconfig
mips allyesconfig
mips allnoconfig
mips allmodconfig
parisc allnoconfig
parisc defconfig
parisc allyesconfig
parisc allmodconfig
powerpc defconfig
powerpc allyesconfig
powerpc rhel-kconfig
powerpc allmodconfig
powerpc allnoconfig
i386 randconfig-a002-20200624
i386 randconfig-a006-20200624
i386 randconfig-a003-20200624
i386 randconfig-a001-20200624
i386 randconfig-a005-20200624
i386 randconfig-a004-20200624
i386 randconfig-a013-20200624
i386 randconfig-a016-20200624
i386 randconfig-a012-20200624
i386 randconfig-a014-20200624
i386 randconfig-a011-20200624
i386 randconfig-a015-20200624
x86_64 randconfig-a004-20200624
x86_64 randconfig-a002-20200624
x86_64 randconfig-a003-20200624
x86_64 randconfig-a005-20200624
x86_64 randconfig-a001-20200624
x86_64 randconfig-a006-20200624
riscv allyesconfig
riscv allnoconfig
riscv defconfig
riscv allmodconfig
s390 allyesconfig
s390 allnoconfig
s390 allmodconfig
s390 defconfig
sparc allyesconfig
sparc defconfig
sparc64 defconfig
sparc64 allnoconfig
sparc64 allyesconfig
sparc64 allmodconfig
um allmodconfig
um allnoconfig
um allyesconfig
um defconfig
x86_64 rhel-7.6
x86_64 rhel-7.6-kselftests
x86_64 rhel-8.3
x86_64 kexec
x86_64 rhel
x86_64 rhel-7.2-clear
x86_64 lkp
x86_64 fedora-25
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months, 1 week
[pm:bleeding-edge] BUILD SUCCESS ecc844444841b81afe167ea405503dfef069b22b
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: ecc844444841b81afe167ea405503dfef069b22b Merge branch 'pm-sleep' into bleeding-edge
elapsed time: 720m
configs tested: 104
configs skipped: 3
The following configs have been built successfully.
More configs may be tested in the coming days.
arm defconfig
arm allyesconfig
arm allmodconfig
arm allnoconfig
arm64 allyesconfig
arm64 defconfig
arm64 allmodconfig
arm64 allnoconfig
arm tct_hammer_defconfig
arc haps_hs_defconfig
arm lpd270_defconfig
mips ip27_defconfig
m68k amcore_defconfig
powerpc gamecube_defconfig
i386 allnoconfig
i386 allyesconfig
i386 defconfig
i386 debian-10.3
ia64 allmodconfig
ia64 defconfig
ia64 allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k allnoconfig
m68k sun3_defconfig
m68k defconfig
m68k allyesconfig
nds32 defconfig
nds32 allnoconfig
csky allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
xtensa allyesconfig
h8300 allyesconfig
h8300 allmodconfig
xtensa defconfig
arc defconfig
arc allyesconfig
sh allmodconfig
sh allnoconfig
microblaze allnoconfig
nios2 defconfig
nios2 allyesconfig
openrisc defconfig
c6x allyesconfig
c6x allnoconfig
openrisc allyesconfig
mips allyesconfig
mips allnoconfig
mips allmodconfig
parisc allnoconfig
parisc defconfig
parisc allyesconfig
parisc allmodconfig
powerpc defconfig
powerpc allyesconfig
powerpc rhel-kconfig
powerpc allmodconfig
powerpc allnoconfig
i386 randconfig-a006-20200623
i386 randconfig-a002-20200623
i386 randconfig-a003-20200623
i386 randconfig-a001-20200623
i386 randconfig-a005-20200623
i386 randconfig-a004-20200623
x86_64 randconfig-a012-20200623
x86_64 randconfig-a011-20200623
x86_64 randconfig-a013-20200623
x86_64 randconfig-a014-20200623
x86_64 randconfig-a015-20200623
x86_64 randconfig-a016-20200623
i386 randconfig-a013-20200623
i386 randconfig-a016-20200623
i386 randconfig-a012-20200623
i386 randconfig-a014-20200623
i386 randconfig-a015-20200623
i386 randconfig-a011-20200623
riscv allyesconfig
riscv allnoconfig
riscv defconfig
riscv allmodconfig
s390 allyesconfig
s390 allnoconfig
s390 allmodconfig
s390 defconfig
sparc allyesconfig
sparc defconfig
sparc64 defconfig
sparc64 allnoconfig
sparc64 allyesconfig
sparc64 allmodconfig
um allmodconfig
um allnoconfig
um allyesconfig
um defconfig
x86_64 rhel-7.6
x86_64 rhel-7.6-kselftests
x86_64 rhel-8.3
x86_64 kexec
x86_64 rhel
x86_64 rhel-7.2-clear
x86_64 lkp
x86_64 fedora-25
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months, 1 week
[pm:bleeding-edge] BUILD SUCCESS 0d62e7bd3feab497ce3b148fc279e393bf4ba775
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 0d62e7bd3feab497ce3b148fc279e393bf4ba775 Merge branch 'acpi-sysfs-next' into bleeding-edge
elapsed time: 726m
configs tested: 107
configs skipped: 4
The following configs have been built successfully.
More configs may be tested in the coming days.
arm64 allyesconfig
arm64 defconfig
arm64 allmodconfig
arm64 allnoconfig
arm defconfig
arm allyesconfig
arm allmodconfig
arm allnoconfig
mips malta_kvm_guest_defconfig
arm s3c6400_defconfig
xtensa alldefconfig
sh sh7785lcr_32bit_defconfig
xtensa xip_kc705_defconfig
arm keystone_defconfig
arm versatile_defconfig
m68k mac_defconfig
sh sh2007_defconfig
i386 allyesconfig
i386 defconfig
i386 debian-10.3
i386 allnoconfig
ia64 allmodconfig
ia64 defconfig
ia64 allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k allnoconfig
m68k sun3_defconfig
m68k defconfig
m68k allyesconfig
nios2 defconfig
nios2 allyesconfig
openrisc defconfig
c6x allyesconfig
c6x allnoconfig
openrisc allyesconfig
nds32 defconfig
nds32 allnoconfig
csky allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
xtensa allyesconfig
h8300 allyesconfig
h8300 allmodconfig
xtensa defconfig
arc defconfig
arc allyesconfig
sh allmodconfig
sh allnoconfig
microblaze allnoconfig
mips allyesconfig
mips allnoconfig
mips allmodconfig
parisc allnoconfig
parisc defconfig
parisc allyesconfig
parisc allmodconfig
powerpc defconfig
powerpc allyesconfig
powerpc rhel-kconfig
powerpc allmodconfig
powerpc allnoconfig
i386 randconfig-a006-20200622
i386 randconfig-a002-20200622
i386 randconfig-a003-20200622
i386 randconfig-a001-20200622
i386 randconfig-a005-20200622
i386 randconfig-a004-20200622
x86_64 randconfig-a004-20200622
x86_64 randconfig-a002-20200622
x86_64 randconfig-a003-20200622
x86_64 randconfig-a005-20200622
x86_64 randconfig-a001-20200622
x86_64 randconfig-a006-20200622
i386 randconfig-a013-20200622
i386 randconfig-a016-20200622
i386 randconfig-a012-20200622
i386 randconfig-a014-20200622
i386 randconfig-a015-20200622
i386 randconfig-a011-20200622
riscv allyesconfig
riscv allnoconfig
riscv defconfig
riscv allmodconfig
s390 allyesconfig
s390 allnoconfig
s390 allmodconfig
s390 defconfig
sparc allyesconfig
sparc defconfig
sparc64 defconfig
sparc64 allnoconfig
sparc64 allyesconfig
sparc64 allmodconfig
um allmodconfig
um allnoconfig
um allyesconfig
um defconfig
x86_64 rhel-7.6
x86_64 rhel-7.6-kselftests
x86_64 rhel-8.3
x86_64 kexec
x86_64 rhel
x86_64 rhel-7.2-clear
x86_64 lkp
x86_64 fedora-25
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months, 1 week
[pm:acpica-osl 2/2] drivers/acpi/osl.c:409:3: error: non-void function 'acpi_os_unref_iomem' should return a value
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git acpica-osl
head: 20957f62fa1421ff73e5f0e1167a9ea826c69d6b
commit: 20957f62fa1421ff73e5f0e1167a9ea826c69d6b [2/2] ACPI: OSL: Add support for deferred unmapping of ACPI memory
config: x86_64-randconfig-r012-20200614 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project cb5072d1877b38c972f95092db2cedbcddb81da6)
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
git checkout 20957f62fa1421ff73e5f0e1167a9ea826c69d6b
# 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 >>, old ones prefixed by <<):
>> drivers/acpi/osl.c:409:3: error: non-void function 'acpi_os_unref_iomem' should return a value [-Wreturn-type]
return;
^
1 error generated.
vim +/acpi_os_unref_iomem +409 drivers/acpi/osl.c
392
393 static bool __ref acpi_os_unref_iomem(void __iomem *virt, acpi_size size)
394 {
395 struct acpi_ioremap *map;
396 bool ret;
397
398 if (!acpi_permanent_mmap) {
399 __acpi_unmap_table(virt, size);
400 return false;
401 }
402
403 mutex_lock(&acpi_ioremap_lock);
404
405 map = acpi_map_lookup_virt(virt, size);
406 if (!map) {
407 mutex_unlock(&acpi_ioremap_lock);
408 WARN(true, PREFIX "%s: bad address %p\n", __func__, virt);
> 409 return;
410 }
411 ret = acpi_os_drop_map_ref(map);
412
413 mutex_unlock(&acpi_ioremap_lock);
414
415 return ret;
416 }
417
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months, 2 weeks
[pm:acpica-osl 2/2] drivers/acpi/osl.c:402:3: error: non-void function 'acpi_os_unref_iomem' should return a value
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git acpica-osl
head: 6790a0b9e44a1e8f43bef642f6adb7200ec29551
commit: 6790a0b9e44a1e8f43bef642f6adb7200ec29551 [2/2] ACPI: OSL: Add support for deferred unmapping of ACPI memory
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project cb5072d1877b38c972f95092db2cedbcddb81da6)
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
git checkout 6790a0b9e44a1e8f43bef642f6adb7200ec29551
# 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 >>, old ones prefixed by <<):
>> drivers/acpi/osl.c:402:3: error: non-void function 'acpi_os_unref_iomem' should return a value [-Wreturn-type]
return;
^
drivers/acpi/osl.c:411:3: error: non-void function 'acpi_os_unref_iomem' should return a value [-Wreturn-type]
return;
^
2 errors generated.
vim +/acpi_os_unref_iomem +402 drivers/acpi/osl.c
394
395 static unsigned long __ref acpi_os_unref_iomem(void __iomem *virt, acpi_size size)
396 {
397 struct acpi_ioremap *map;
398 unsigned long refcount;
399
400 if (!acpi_permanent_mmap) {
401 __acpi_unmap_table(virt, size);
> 402 return;
403 }
404
405 mutex_lock(&acpi_ioremap_lock);
406
407 map = acpi_map_lookup_virt(virt, size);
408 if (!map) {
409 mutex_unlock(&acpi_ioremap_lock);
410 WARN(true, PREFIX "%s: bad address %p\n", __func__, virt);
411 return;
412 }
413 refcount = acpi_os_drop_map_ref(map);
414
415 mutex_unlock(&acpi_ioremap_lock);
416
417 return refcount;
418 }
419
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months, 2 weeks
[pm:acpica-osl 2/2] drivers/acpi/osl.c:402:3: warning: 'return' with no value, in function returning non-void
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git acpica-osl
head: 6790a0b9e44a1e8f43bef642f6adb7200ec29551
commit: 6790a0b9e44a1e8f43bef642f6adb7200ec29551 [2/2] ACPI: OSL: Add support for deferred unmapping of ACPI memory
config: x86_64-rhel-7.6 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout 6790a0b9e44a1e8f43bef642f6adb7200ec29551
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
drivers/acpi/osl.c: In function 'acpi_os_vprintf':
drivers/acpi/osl.c:153:2: warning: function 'acpi_os_vprintf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
153 | vsprintf(buffer, fmt, args);
| ^~~~~~~~
drivers/acpi/osl.c: In function 'acpi_os_unref_iomem':
>> drivers/acpi/osl.c:402:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
402 | return;
| ^~~~~~
drivers/acpi/osl.c:395:28: note: declared here
395 | static unsigned long __ref acpi_os_unref_iomem(void __iomem *virt, acpi_size size)
| ^~~~~~~~~~~~~~~~~~~
drivers/acpi/osl.c:411:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
411 | return;
| ^~~~~~
drivers/acpi/osl.c:395:28: note: declared here
395 | static unsigned long __ref acpi_os_unref_iomem(void __iomem *virt, acpi_size size)
| ^~~~~~~~~~~~~~~~~~~
vim +/return +402 drivers/acpi/osl.c
394
395 static unsigned long __ref acpi_os_unref_iomem(void __iomem *virt, acpi_size size)
396 {
397 struct acpi_ioremap *map;
398 unsigned long refcount;
399
400 if (!acpi_permanent_mmap) {
401 __acpi_unmap_table(virt, size);
> 402 return;
403 }
404
405 mutex_lock(&acpi_ioremap_lock);
406
407 map = acpi_map_lookup_virt(virt, size);
408 if (!map) {
409 mutex_unlock(&acpi_ioremap_lock);
410 WARN(true, PREFIX "%s: bad address %p\n", __func__, virt);
411 return;
412 }
413 refcount = acpi_os_drop_map_ref(map);
414
415 mutex_unlock(&acpi_ioremap_lock);
416
417 return refcount;
418 }
419
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months, 2 weeks
[pm:acpica-osl 2/2] drivers/acpi/osl.c:533:13: error: implicit declaration of function 'acpi_os_drop_map_ref'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git acpica-osl
head: cfc2a23e4be42e58a453502acaf4a6330ef32f5f
commit: cfc2a23e4be42e58a453502acaf4a6330ef32f5f [2/2] ACPI: OSL: Add support for deferred unmapping of ACPI memory
config: i386-randconfig-s031-20200614 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-250-g42323db3-dirty
git checkout cfc2a23e4be42e58a453502acaf4a6330ef32f5f
# save the attached .config to linux build tree
make W=1 C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
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 >>, old ones prefixed by <<):
drivers/acpi/osl.c: In function 'acpi_os_vprintf':
drivers/acpi/osl.c:153:2: warning: function 'acpi_os_vprintf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
153 | vsprintf(buffer, fmt, args);
| ^~~~~~~~
drivers/acpi/osl.c: In function 'acpi_os_unmap_generic_address':
>> drivers/acpi/osl.c:533:13: error: implicit declaration of function 'acpi_os_drop_map_ref' [-Werror=implicit-function-declaration]
533 | refcount = acpi_os_drop_map_ref(map);
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/acpi/osl.c:537:3: error: implicit declaration of function 'acpi_os_map_cleanup'; did you mean 'acpi_os_map_memory'? [-Werror=implicit-function-declaration]
537 | acpi_os_map_cleanup(map);
| ^~~~~~~~~~~~~~~~~~~
| acpi_os_map_memory
cc1: some warnings being treated as errors
sparse warnings: (new ones prefixed by >>)
drivers/acpi/osl.c:375:17: sparse: sparse: cast removes address space '<asn:2>' of expression
>> drivers/acpi/osl.c:481:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> *virt @@ got void *virt @@
>> drivers/acpi/osl.c:481:29: sparse: expected void [noderef] <asn:2> *virt
>> drivers/acpi/osl.c:481:29: sparse: got void *virt
drivers/acpi/osl.c:533:20: sparse: sparse: undefined identifier 'acpi_os_drop_map_ref'
drivers/acpi/osl.c:537:17: sparse: sparse: undefined identifier 'acpi_os_map_cleanup'
drivers/acpi/osl.c:757:1: sparse: sparse: context imbalance in 'acpi_os_read_memory' - wrong count at exit
drivers/acpi/osl.c:790:1: sparse: sparse: context imbalance in 'acpi_os_write_memory' - wrong count at exit
vim +/acpi_os_drop_map_ref +533 drivers/acpi/osl.c
620242ae8c3d9c Myron Stowe 2010-10-21 466
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 467 /**
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 468 * acpi_os_unmap_deferred - Drop a memory mapping reference.
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 469 * @virt: Start of the address range to drop a reference to.
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 470 * @size: Size of the address range to drop a reference to.
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 471 *
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 472 * Look up the given virtual address range in the list of existing ACPI memory
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 473 * mappings, drop a reference to it and if there are no more active references
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 474 * to it, put it in the list of unused memory mappings.
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 475 *
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 476 * During early init (when acpi_permanent_mmap has not been set yet) this
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 477 * routine behaves like acpi_os_unmap_memory().
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 478 */
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 479 void __ref acpi_os_unmap_deferred(void *virt, acpi_size size)
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 480 {
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 @481 acpi_os_unref_iomem(virt, size);
ad71860a17ba33 Alexey Starikovskiy 2007-02-02 482 }
a238317ce81855 Lv Zheng 2014-05-20 483
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 484 /**
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 485 * acpi_os_release_unused_mappings - Release unused ACPI memory mappings.
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 486 */
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 487 void acpi_os_release_unused_mappings(void)
a238317ce81855 Lv Zheng 2014-05-20 488 {
cfc2a23e4be42e Rafael J. Wysocki 2020-06-13 489 __acpi_os_release_unused_mappings(false);
a238317ce81855 Lv Zheng 2014-05-20 490 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 491
6f68c91c55ea35 Myron Stowe 2011-11-07 492 int acpi_os_map_generic_address(struct acpi_generic_address *gas)
29718521237a1b Myron Stowe 2010-10-21 493 {
bc9ffce27962c0 Myron Stowe 2011-11-07 494 u64 addr;
29718521237a1b Myron Stowe 2010-10-21 495 void __iomem *virt;
29718521237a1b Myron Stowe 2010-10-21 496
bc9ffce27962c0 Myron Stowe 2011-11-07 497 if (gas->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY)
29718521237a1b Myron Stowe 2010-10-21 498 return 0;
29718521237a1b Myron Stowe 2010-10-21 499
bc9ffce27962c0 Myron Stowe 2011-11-07 500 /* Handle possible alignment issues */
bc9ffce27962c0 Myron Stowe 2011-11-07 501 memcpy(&addr, &gas->address, sizeof(addr));
bc9ffce27962c0 Myron Stowe 2011-11-07 502 if (!addr || !gas->bit_width)
29718521237a1b Myron Stowe 2010-10-21 503 return -EINVAL;
29718521237a1b Myron Stowe 2010-10-21 504
a238317ce81855 Lv Zheng 2014-05-20 505 virt = acpi_os_map_iomem(addr, gas->bit_width / 8);
29718521237a1b Myron Stowe 2010-10-21 506 if (!virt)
29718521237a1b Myron Stowe 2010-10-21 507 return -EIO;
29718521237a1b Myron Stowe 2010-10-21 508
29718521237a1b Myron Stowe 2010-10-21 509 return 0;
29718521237a1b Myron Stowe 2010-10-21 510 }
6f68c91c55ea35 Myron Stowe 2011-11-07 511 EXPORT_SYMBOL(acpi_os_map_generic_address);
29718521237a1b Myron Stowe 2010-10-21 512
6f68c91c55ea35 Myron Stowe 2011-11-07 513 void acpi_os_unmap_generic_address(struct acpi_generic_address *gas)
29718521237a1b Myron Stowe 2010-10-21 514 {
bc9ffce27962c0 Myron Stowe 2011-11-07 515 u64 addr;
7fe135dc058fae Rafael J. Wysocki 2011-02-08 516 struct acpi_ioremap *map;
833a426cc471b6 Francesco Ruggeri 2019-11-19 517 unsigned long refcount;
29718521237a1b Myron Stowe 2010-10-21 518
bc9ffce27962c0 Myron Stowe 2011-11-07 519 if (gas->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY)
29718521237a1b Myron Stowe 2010-10-21 520 return;
29718521237a1b Myron Stowe 2010-10-21 521
bc9ffce27962c0 Myron Stowe 2011-11-07 522 /* Handle possible alignment issues */
bc9ffce27962c0 Myron Stowe 2011-11-07 523 memcpy(&addr, &gas->address, sizeof(addr));
bc9ffce27962c0 Myron Stowe 2011-11-07 524 if (!addr || !gas->bit_width)
29718521237a1b Myron Stowe 2010-10-21 525 return;
29718521237a1b Myron Stowe 2010-10-21 526
7bbb890358b96c Rafael J. Wysocki 2011-02-08 527 mutex_lock(&acpi_ioremap_lock);
bc9ffce27962c0 Myron Stowe 2011-11-07 528 map = acpi_map_lookup(addr, gas->bit_width / 8);
7fe135dc058fae Rafael J. Wysocki 2011-02-08 529 if (!map) {
7fe135dc058fae Rafael J. Wysocki 2011-02-08 530 mutex_unlock(&acpi_ioremap_lock);
7fe135dc058fae Rafael J. Wysocki 2011-02-08 531 return;
7fe135dc058fae Rafael J. Wysocki 2011-02-08 532 }
833a426cc471b6 Francesco Ruggeri 2019-11-19 @533 refcount = acpi_os_drop_map_ref(map);
7bbb890358b96c Rafael J. Wysocki 2011-02-08 534 mutex_unlock(&acpi_ioremap_lock);
29718521237a1b Myron Stowe 2010-10-21 535
833a426cc471b6 Francesco Ruggeri 2019-11-19 536 if (!refcount)
b7c1fadd6c2eea Rafael J. Wysocki 2011-02-08 @537 acpi_os_map_cleanup(map);
29718521237a1b Myron Stowe 2010-10-21 538 }
6f68c91c55ea35 Myron Stowe 2011-11-07 539 EXPORT_SYMBOL(acpi_os_unmap_generic_address);
29718521237a1b Myron Stowe 2010-10-21 540
:::::: The code at line 533 was first introduced by commit
:::::: 833a426cc471b6088011b3d67f1dc4e147614647 ACPI: OSL: only free map once in osl.c
:::::: TO: Francesco Ruggeri <fruggeri(a)arista.com>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki(a)intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months, 3 weeks