[rafael-pm:bleeding-edge 6/11] drivers/base/swnode.c:1120:17: error: too many arguments to function 'software_node_notify'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: 9808623e1bba7d929b50865d7e2d7042cd4e5e7b
commit: 810fc8571f8b70a4263266d979f97edec2804574 [6/11] software node: balance refcount for managed sw nodes
config: arc-randconfig-r001-20210916 (attached as .config)
compiler: arc-elf-gcc (GCC) 11.2.0
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 810fc8571f8b70a4263266d979f97edec2804574
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/base/swnode.c: In function 'device_create_managed_software_node':
>> drivers/base/swnode.c:1120:17: error: too many arguments to function 'software_node_notify'
1120 | software_node_notify(dev, KOBJ_ADD);
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/base/swnode.c:14:
drivers/base/base.h:206:6: note: declared here
206 | void software_node_notify(struct device *dev);
| ^~~~~~~~~~~~~~~~~~~~
vim +/software_node_notify +1120 drivers/base/swnode.c
1085
1086 /**
1087 * device_create_managed_software_node - Create a software node for a device
1088 * @dev: The device the software node is assigned to.
1089 * @properties: Device properties for the software node.
1090 * @parent: Parent of the software node.
1091 *
1092 * Creates a software node as a managed resource for @dev, which means the
1093 * lifetime of the newly created software node is tied to the lifetime of @dev.
1094 * Software nodes created with this function should not be reused or shared
1095 * because of that. The function takes a deep copy of @properties for the
1096 * software node.
1097 *
1098 * Since the new software node is assigned directly to @dev, and since it should
1099 * not be shared, it is not returned to the caller. The function returns 0 on
1100 * success, and errno in case of an error.
1101 */
1102 int device_create_managed_software_node(struct device *dev,
1103 const struct property_entry *properties,
1104 const struct software_node *parent)
1105 {
1106 struct fwnode_handle *p = software_node_fwnode(parent);
1107 struct fwnode_handle *fwnode;
1108
1109 if (parent && !p)
1110 return -EINVAL;
1111
1112 fwnode = fwnode_create_software_node(properties, p);
1113 if (IS_ERR(fwnode))
1114 return PTR_ERR(fwnode);
1115
1116 to_swnode(fwnode)->managed = true;
1117 set_secondary_fwnode(dev, fwnode);
1118
1119 if (device_is_registered(dev))
> 1120 software_node_notify(dev, KOBJ_ADD);
1121
1122 return 0;
1123 }
1124 EXPORT_SYMBOL_GPL(device_create_managed_software_node);
1125
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
11 months
[pm:bleeding-edge] BUILD SUCCESS b7ce7601b5d63191fa66e36621a2ed731c617f9c
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: b7ce7601b5d63191fa66e36621a2ed731c617f9c Merge branch 'pm-cpufreq' into bleeding-edge
elapsed time: 1012m
configs tested: 94
configs skipped: 3
The following configs have been built successfully.
More configs may be tested in the coming days.
gcc tested configs:
arm defconfig
arm64 allyesconfig
arm64 defconfig
arm allyesconfig
arm allmodconfig
arm hackkit_defconfig
sh rts7751r2dplus_defconfig
mips maltasmvp_defconfig
mips ip22_defconfig
sh rts7751r2d1_defconfig
openrisc alldefconfig
m68k mvme16x_defconfig
powerpc ep8248e_defconfig
powerpc arches_defconfig
riscv defconfig
arm lpc18xx_defconfig
arm h3600_defconfig
arm dove_defconfig
powerpc canyonlands_defconfig
arc axs103_defconfig
ia64 allmodconfig
ia64 defconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
m68k allyesconfig
nds32 defconfig
nios2 allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
xtensa allyesconfig
h8300 allyesconfig
arc defconfig
sh allmodconfig
parisc defconfig
s390 allyesconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
i386 allyesconfig
sparc allyesconfig
sparc defconfig
i386 defconfig
nios2 defconfig
arc allyesconfig
nds32 allnoconfig
mips allyesconfig
mips allmodconfig
powerpc allyesconfig
powerpc allmodconfig
powerpc allnoconfig
x86_64 randconfig-a002-20210913
x86_64 randconfig-a003-20210913
x86_64 randconfig-a006-20210913
x86_64 randconfig-a004-20210913
x86_64 randconfig-a005-20210913
x86_64 randconfig-a001-20210913
i386 randconfig-a004-20210913
i386 randconfig-a005-20210913
i386 randconfig-a002-20210913
i386 randconfig-a006-20210913
i386 randconfig-a003-20210913
i386 randconfig-a001-20210913
arc randconfig-r043-20210913
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 kexec
clang tested configs:
x86_64 randconfig-a016-20210913
x86_64 randconfig-a013-20210913
x86_64 randconfig-a012-20210913
x86_64 randconfig-a011-20210913
x86_64 randconfig-a014-20210913
x86_64 randconfig-a015-20210913
i386 randconfig-a016-20210913
i386 randconfig-a011-20210913
i386 randconfig-a015-20210913
i386 randconfig-a012-20210913
i386 randconfig-a013-20210913
i386 randconfig-a014-20210913
riscv randconfig-r042-20210913
hexagon randconfig-r045-20210913
s390 randconfig-r044-20210913
hexagon randconfig-r041-20210913
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
11 months
Re: [PATCH AUTOSEL 4.4 24/35] ACPICA: iASL: Fix for WPBT table with no command-line arguments
by Rafael J. Wysocki
On Sat, Sep 11, 2021 at 4:38 PM Sasha Levin <sashal(a)kernel.org> wrote:
>
> On Fri, Sep 10, 2021 at 09:45:36AM +0200, Pavel Machek wrote:
> >Hi!
> >
> >> Handle the case where the Command-line Arguments table field
> >> does not exist.
> >>
> >> ACPICA commit d6487164497fda170a1b1453c5d58f2be7c873d6
> >
> >I'm not sure what is going on here, but adding unused definition will
> >not make any difference for 4.4 users, so we don't need this in
> >-stable...?
>
> Ugh, dropped, thanks!
>
> I wonder what this patch actually does upstream.
There are AML compiler changes in it, but the compiler is not included
into the Linux kernel.
11 months
Re: [PATCH v2] Revert "ACPI: Add memory semantics to acpi_os_map_memory()"
by Lorenzo Pieralisi
On Fri, Sep 10, 2021 at 07:28:49PM +0200, Ard Biesheuvel wrote:
> On Fri, 10 Sept 2021 at 16:32, Jia He <justin.he(a)arm.com> wrote:
> >
> > This reverts commit 437b38c51162f8b87beb28a833c4d5dc85fa864e.
> >
> > After this commit, a boot panic is alway hit on an Ampere EMAG server
> > with call trace as follows:
> > Internal error: synchronous external abort: 96000410 [#1] SMP
> > Modules linked in:
> > CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.14.0+ #462
> > Hardware name: MiTAC RAPTOR EV-883832-X3-0001/RAPTOR, BIOS 0.14 02/22/2019
> > pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
> > [...snip...]
> > Call trace:
> > acpi_ex_system_memory_space_handler+0x26c/0x2c8
> > acpi_ev_address_space_dispatch+0x228/0x2c4
> > acpi_ex_access_region+0x114/0x268
> > acpi_ex_field_datum_io+0x128/0x1b8
> > acpi_ex_extract_from_field+0x14c/0x2ac
> > acpi_ex_read_data_from_field+0x190/0x1b8
> > acpi_ex_resolve_node_to_value+0x1ec/0x288
> > acpi_ex_resolve_to_value+0x250/0x274
> > acpi_ds_evaluate_name_path+0xac/0x124
> > acpi_ds_exec_end_op+0x90/0x410
> > acpi_ps_parse_loop+0x4ac/0x5d8
> > acpi_ps_parse_aml+0xe0/0x2c8
> > acpi_ps_execute_method+0x19c/0x1ac
> > acpi_ns_evaluate+0x1f8/0x26c
> > acpi_ns_init_one_device+0x104/0x140
> > acpi_ns_walk_namespace+0x158/0x1d0
> > acpi_ns_initialize_devices+0x194/0x218
> > acpi_initialize_objects+0x48/0x50
> > acpi_init+0xe0/0x498
> >
> > As mentioned by Lorenzo:
> > "We are forcing memory semantics mappings to PROT_NORMAL_NC, which
> > eMAG does not like at all and I'd need to understand why. It looks
> > like the issue happen in SystemMemory Opregion handler."
> >
> > Hence just revert it before everything is clear.
> >
>
> Can we try to find the root cause first? -rc1 is not even out yet, and
> reverting it now means we can not resubmit it until the next merge
> window.
Yes, absolutely. We need to understand where the problem is, because it
looks like we can't map SystemMemory Opregion with NORMAL_NC if the PA
is not in the EFI map, that's a problem (ie how can we determine the
right memory attributes for SystemMemory Operation regions then) but
let's not speculate and find what the issue is first.
Lorenzo
11 months, 1 week
[pm:bleeding-edge] BUILD SUCCESS 10aed6c075d44bba5c62a13654041e54fc2acb13
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 10aed6c075d44bba5c62a13654041e54fc2acb13 Merge branch 'pm-misc' into linux-next
elapsed time: 1024m
configs tested: 153
configs skipped: 3
The following configs have been built successfully.
More configs may be tested in the coming days.
gcc tested configs:
arm defconfig
arm64 allyesconfig
arm64 defconfig
arm allyesconfig
arm allmodconfig
i386 randconfig-c001-20210910
xtensa xip_kc705_defconfig
mips bcm47xx_defconfig
powerpc tqm8548_defconfig
arm jornada720_defconfig
arm imote2_defconfig
powerpc akebono_defconfig
nios2 3c120_defconfig
sh ap325rxa_defconfig
m68k atari_defconfig
h8300 h8300h-sim_defconfig
m68k multi_defconfig
arm s3c6400_defconfig
xtensa smp_lx200_defconfig
powerpc gamecube_defconfig
sh migor_defconfig
microblaze mmu_defconfig
arm mainstone_defconfig
sh rsk7269_defconfig
powerpc powernv_defconfig
arm pxa255-idp_defconfig
powerpc ps3_defconfig
mips nlm_xlr_defconfig
arc vdk_hs38_smp_defconfig
arm stm32_defconfig
arm assabet_defconfig
mips rbtx49xx_defconfig
sh rsk7264_defconfig
mips tb0287_defconfig
h8300 h8s-sim_defconfig
powerpc bluestone_defconfig
mips ip27_defconfig
powerpc ksi8560_defconfig
powerpc tqm8541_defconfig
m68k alldefconfig
m68k m5475evb_defconfig
powerpc microwatt_defconfig
mips ath25_defconfig
arm zeus_defconfig
arm tct_hammer_defconfig
arm magician_defconfig
powerpc tqm8540_defconfig
microblaze defconfig
powerpc mpc5200_defconfig
arm colibri_pxa300_defconfig
arm clps711x_defconfig
s390 alldefconfig
ia64 gensparse_defconfig
sh se7712_defconfig
arm ixp4xx_defconfig
ia64 allyesconfig
powerpc pmac32_defconfig
arm lpc18xx_defconfig
powerpc bamboo_defconfig
um defconfig
m68k m5208evb_defconfig
arm ep93xx_defconfig
powerpc canyonlands_defconfig
alpha alldefconfig
powerpc mpc8560_ads_defconfig
arm mv78xx0_defconfig
powerpc mpc7448_hpc2_defconfig
powerpc adder875_defconfig
parisc defconfig
sh r7785rp_defconfig
arm h5000_defconfig
mips workpad_defconfig
arm palmz72_defconfig
arm versatile_defconfig
x86_64 randconfig-c001-20210910
arm randconfig-c002-20210910
x86_64 allnoconfig
ia64 allmodconfig
ia64 defconfig
m68k defconfig
m68k allmodconfig
m68k allyesconfig
nios2 defconfig
arc allyesconfig
nds32 allnoconfig
nds32 defconfig
csky defconfig
alpha defconfig
alpha allyesconfig
nios2 allyesconfig
h8300 allyesconfig
arc defconfig
sh allmodconfig
xtensa allyesconfig
s390 defconfig
s390 allmodconfig
parisc allyesconfig
s390 allyesconfig
sparc allyesconfig
sparc defconfig
i386 defconfig
i386 allyesconfig
mips allyesconfig
mips allmodconfig
powerpc allmodconfig
powerpc allnoconfig
powerpc allyesconfig
x86_64 randconfig-a013-20210910
x86_64 randconfig-a016-20210910
x86_64 randconfig-a012-20210910
x86_64 randconfig-a011-20210910
x86_64 randconfig-a014-20210910
x86_64 randconfig-a015-20210910
i386 randconfig-a016-20210910
i386 randconfig-a011-20210910
i386 randconfig-a012-20210910
i386 randconfig-a013-20210910
i386 randconfig-a014-20210910
riscv randconfig-r042-20210910
s390 randconfig-r044-20210910
arc randconfig-r043-20210910
riscv nommu_k210_defconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allyesconfig
riscv allmodconfig
x86_64 rhel-8.3-kselftests
um x86_64_defconfig
um i386_defconfig
x86_64 allyesconfig
x86_64 defconfig
x86_64 rhel-8.3
x86_64 kexec
clang tested configs:
x86_64 randconfig-c007-20210910
mips randconfig-c004-20210910
powerpc randconfig-c003-20210910
i386 randconfig-c001-20210910
s390 randconfig-c005-20210910
x86_64 randconfig-a002-20210910
x86_64 randconfig-a003-20210910
x86_64 randconfig-a004-20210910
x86_64 randconfig-a006-20210910
x86_64 randconfig-a001-20210910
x86_64 randconfig-a005-20210910
i386 randconfig-a004-20210910
i386 randconfig-a005-20210910
i386 randconfig-a002-20210910
i386 randconfig-a006-20210910
i386 randconfig-a001-20210910
i386 randconfig-a003-20210910
hexagon randconfig-r045-20210910
hexagon randconfig-r041-20210910
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
11 months, 1 week
Re: [PATCH] Revert "ACPI: Add memory semantics to acpi_os_map_memory()"
by Lorenzo Pieralisi
[dropped CC stable, +CC Harb]
On Fri, Sep 10, 2021 at 08:28:20PM +0800, Jia He wrote:
> This reverts commit 437b38c51162f8b87beb28a833c4d5dc85fa864e.
>
> After this commit, a boot panic is alway hit on an Ampere EMAG server
> with call trace as follows:
> Internal error: synchronous external abort: 96000410 [#1] SMP
> Modules linked in:
> CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.14.0+ #462
> Hardware name: MiTAC RAPTOR EV-883832-X3-0001/RAPTOR, BIOS 0.14 02/22/2019
> pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
> [...snip...]
> Call trace:
> acpi_ex_system_memory_space_handler+0x26c/0x2c8
> acpi_ev_address_space_dispatch+0x228/0x2c4
> acpi_ex_access_region+0x114/0x268
> acpi_ex_field_datum_io+0x128/0x1b8
> acpi_ex_extract_from_field+0x14c/0x2ac
> acpi_ex_read_data_from_field+0x190/0x1b8
> acpi_ex_resolve_node_to_value+0x1ec/0x288
> acpi_ex_resolve_to_value+0x250/0x274
> acpi_ds_evaluate_name_path+0xac/0x124
> acpi_ds_exec_end_op+0x90/0x410
> acpi_ps_parse_loop+0x4ac/0x5d8
> acpi_ps_parse_aml+0xe0/0x2c8
> acpi_ps_execute_method+0x19c/0x1ac
> acpi_ns_evaluate+0x1f8/0x26c
> acpi_ns_init_one_device+0x104/0x140
> acpi_ns_walk_namespace+0x158/0x1d0
> acpi_ns_initialize_devices+0x194/0x218
> acpi_initialize_objects+0x48/0x50
> acpi_init+0xe0/0x498
>
> From the debugging, we're mapping something which is *not* described by
> the EFI memory map, but *does* want PROT_NORMAL_NC.
"Does not" you mean. We are forcing memory semantics mappings to
PROT_NORMAL_NC, which eMAG does not like at all and I'd need to
understand why.
It looks like the issue happen in SystemMemory Opregion handler.
>
> Hence just revert it before everything is clear.
>
> Fixes: 437b38c51162 ("ACPI: Add memory semantics to acpi_os_map_memory()")
> Cc: stable(a)vger.kernel.org
No need, it is not even in an -rc yet (and stable should not be CCed in
the addressees CC list).
Thanks,
Lorenzo
> Cc: Lorenzo Pieralisi <lorenzo.pieralisi(a)arm.com>
> Cc: Ard Biesheuvel <ardb(a)kernel.org>
> Cc: Hanjun Guo <guohanjun(a)huawei.com>
> Cc: Catalin Marinas <catalin.marinas(a)arm.com>
> Cc: Rafael J. Wysocki <rafael.j.wysocki(a)intel.com>
>
> Signed-off-by: Jia He <justin.he(a)arm.com>
> ---
> arch/arm64/include/asm/acpi.h | 3 ---
> arch/arm64/kernel/acpi.c | 19 +++----------------
> drivers/acpi/osl.c | 23 +++++++----------------
> include/acpi/acpi_io.h | 8 --------
> 4 files changed, 10 insertions(+), 43 deletions(-)
>
> diff --git a/arch/arm64/include/asm/acpi.h b/arch/arm64/include/asm/acpi.h
> index 7535dc7cc5aa..bd68e1b7f29f 100644
> --- a/arch/arm64/include/asm/acpi.h
> +++ b/arch/arm64/include/asm/acpi.h
> @@ -50,9 +50,6 @@ pgprot_t __acpi_get_mem_attribute(phys_addr_t addr);
> void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_size size);
> #define acpi_os_ioremap acpi_os_ioremap
>
> -void __iomem *acpi_os_memmap(acpi_physical_address phys, acpi_size size);
> -#define acpi_os_memmap acpi_os_memmap
> -
> typedef u64 phys_cpuid_t;
> #define PHYS_CPUID_INVALID INVALID_HWID
>
> diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64/kernel/acpi.c
> index 1c9c2f7a1c04..f3851724fe35 100644
> --- a/arch/arm64/kernel/acpi.c
> +++ b/arch/arm64/kernel/acpi.c
> @@ -273,8 +273,7 @@ pgprot_t __acpi_get_mem_attribute(phys_addr_t addr)
> return __pgprot(PROT_DEVICE_nGnRnE);
> }
>
> -static void __iomem *__acpi_os_ioremap(acpi_physical_address phys,
> - acpi_size size, bool memory)
> +void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_size size)
> {
> efi_memory_desc_t *md, *region = NULL;
> pgprot_t prot;
> @@ -300,11 +299,9 @@ static void __iomem *__acpi_os_ioremap(acpi_physical_address phys,
> * It is fine for AML to remap regions that are not represented in the
> * EFI memory map at all, as it only describes normal memory, and MMIO
> * regions that require a virtual mapping to make them accessible to
> - * the EFI runtime services. Determine the region default
> - * attributes by checking the requested memory semantics.
> + * the EFI runtime services.
> */
> - prot = memory ? __pgprot(PROT_NORMAL_NC) :
> - __pgprot(PROT_DEVICE_nGnRnE);
> + prot = __pgprot(PROT_DEVICE_nGnRnE);
> if (region) {
> switch (region->type) {
> case EFI_LOADER_CODE:
> @@ -364,16 +361,6 @@ static void __iomem *__acpi_os_ioremap(acpi_physical_address phys,
> return __ioremap(phys, size, prot);
> }
>
> -void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_size size)
> -{
> - return __acpi_os_ioremap(phys, size, false);
> -}
> -
> -void __iomem *acpi_os_memmap(acpi_physical_address phys, acpi_size size)
> -{
> - return __acpi_os_ioremap(phys, size, true);
> -}
> -
> /*
> * Claim Synchronous External Aborts as a firmware first notification.
> *
> diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
> index a43f1521efe6..45c5c0e45e33 100644
> --- a/drivers/acpi/osl.c
> +++ b/drivers/acpi/osl.c
> @@ -284,8 +284,7 @@ acpi_map_lookup_virt(void __iomem *virt, acpi_size size)
> #define should_use_kmap(pfn) page_is_ram(pfn)
> #endif
>
> -static void __iomem *acpi_map(acpi_physical_address pg_off, unsigned long pg_sz,
> - bool memory)
> +static void __iomem *acpi_map(acpi_physical_address pg_off, unsigned long pg_sz)
> {
> unsigned long pfn;
>
> @@ -295,8 +294,7 @@ static void __iomem *acpi_map(acpi_physical_address pg_off, unsigned long pg_sz,
> return NULL;
> return (void __iomem __force *)kmap(pfn_to_page(pfn));
> } else
> - return memory ? acpi_os_memmap(pg_off, pg_sz) :
> - acpi_os_ioremap(pg_off, pg_sz);
> + return acpi_os_ioremap(pg_off, pg_sz);
> }
>
> static void acpi_unmap(acpi_physical_address pg_off, void __iomem *vaddr)
> @@ -311,10 +309,9 @@ static void acpi_unmap(acpi_physical_address pg_off, void __iomem *vaddr)
> }
>
> /**
> - * __acpi_os_map_iomem - Get a virtual address for a given physical address range.
> + * acpi_os_map_iomem - Get a virtual address for a given physical address range.
> * @phys: Start of the physical address range to map.
> * @size: Size of the physical address range to map.
> - * @memory: true if remapping memory, false if IO
> *
> * Look up the given physical address range in the list of existing ACPI memory
> * mappings. If found, get a reference to it and return a pointer to it (its
> @@ -324,8 +321,8 @@ static void acpi_unmap(acpi_physical_address pg_off, void __iomem *vaddr)
> * During early init (when acpi_permanent_mmap has not been set yet) this
> * routine simply calls __acpi_map_table() to get the job done.
> */
> -static void __iomem __ref
> -*__acpi_os_map_iomem(acpi_physical_address phys, acpi_size size, bool memory)
> +void __iomem __ref
> +*acpi_os_map_iomem(acpi_physical_address phys, acpi_size size)
> {
> struct acpi_ioremap *map;
> void __iomem *virt;
> @@ -356,7 +353,7 @@ static void __iomem __ref
>
> pg_off = round_down(phys, PAGE_SIZE);
> pg_sz = round_up(phys + size, PAGE_SIZE) - pg_off;
> - virt = acpi_map(phys, size, memory);
> + virt = acpi_map(phys, size);
> if (!virt) {
> mutex_unlock(&acpi_ioremap_lock);
> kfree(map);
> @@ -375,17 +372,11 @@ static void __iomem __ref
> mutex_unlock(&acpi_ioremap_lock);
> return map->virt + (phys - map->phys);
> }
> -
> -void __iomem *__ref
> -acpi_os_map_iomem(acpi_physical_address phys, acpi_size size)
> -{
> - return __acpi_os_map_iomem(phys, size, false);
> -}
> EXPORT_SYMBOL_GPL(acpi_os_map_iomem);
>
> void *__ref acpi_os_map_memory(acpi_physical_address phys, acpi_size size)
> {
> - return (void *)__acpi_os_map_iomem(phys, size, true);
> + return (void *)acpi_os_map_iomem(phys, size);
> }
> EXPORT_SYMBOL_GPL(acpi_os_map_memory);
>
> diff --git a/include/acpi/acpi_io.h b/include/acpi/acpi_io.h
> index a0212e67d6f4..027faa8883aa 100644
> --- a/include/acpi/acpi_io.h
> +++ b/include/acpi/acpi_io.h
> @@ -14,14 +14,6 @@ static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys,
> }
> #endif
>
> -#ifndef acpi_os_memmap
> -static inline void __iomem *acpi_os_memmap(acpi_physical_address phys,
> - acpi_size size)
> -{
> - return ioremap_cache(phys, size);
> -}
> -#endif
> -
> extern bool acpi_permanent_mmap;
>
> void __iomem __ref
> --
> 2.17.1
>
11 months, 1 week
[pm:bleeding-edge] BUILD SUCCESS 11080a410d7e295a16caa8be650460089e172790
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 11080a410d7e295a16caa8be650460089e172790 Merge branch 'acpi-prm' into linux-next
elapsed time: 727m
configs tested: 173
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 allyesconfig
arm allmodconfig
arm defconfig
arm64 allyesconfig
i386 randconfig-c001-20210908
i386 randconfig-c001-20210910
powerpc xes_mpc85xx_defconfig
parisc generic-64bit_defconfig
arm ezx_defconfig
powerpc mpc83xx_defconfig
mips cu1830-neo_defconfig
sh kfr2r09_defconfig
sh apsh4ad0a_defconfig
nios2 alldefconfig
powerpc pcm030_defconfig
powerpc storcenter_defconfig
arm ep93xx_defconfig
sparc sparc32_defconfig
arm bcm2835_defconfig
powerpc mpc8540_ads_defconfig
arm mv78xx0_defconfig
arc axs103_defconfig
arm axm55xx_defconfig
mips loongson2k_defconfig
mips fuloong2e_defconfig
ia64 zx1_defconfig
openrisc simple_smp_defconfig
mips pic32mzda_defconfig
powerpc mvme5100_defconfig
powerpc asp8347_defconfig
powerpc ppc64_defconfig
xtensa alldefconfig
powerpc mpc836x_rdk_defconfig
powerpc klondike_defconfig
openrisc defconfig
mips ath79_defconfig
arc axs101_defconfig
parisc generic-32bit_defconfig
arm versatile_defconfig
arm oxnas_v6_defconfig
powerpc sam440ep_defconfig
mips workpad_defconfig
sh espt_defconfig
h8300 h8300h-sim_defconfig
arm nhk8815_defconfig
sh polaris_defconfig
m68k mvme16x_defconfig
sh sh7763rdp_defconfig
powerpc taishan_defconfig
mips ip22_defconfig
sh se7721_defconfig
arm tct_hammer_defconfig
sh se7712_defconfig
arm assabet_defconfig
arm ixp4xx_defconfig
ia64 allyesconfig
powerpc pmac32_defconfig
sh kfr2r09-romimage_defconfig
x86_64 alldefconfig
powerpc ppc6xx_defconfig
m68k m5407c3_defconfig
microblaze mmu_defconfig
powerpc mpc832x_rdb_defconfig
sh se7724_defconfig
csky alldefconfig
sh hp6xx_defconfig
xtensa xip_kc705_defconfig
x86_64 randconfig-c001-20210910
x86_64 randconfig-c001-20210908
arm randconfig-c002-20210908
x86_64 allnoconfig
ia64 allmodconfig
ia64 defconfig
m68k allmodconfig
m68k allyesconfig
m68k defconfig
nios2 defconfig
nds32 allnoconfig
arc allyesconfig
nds32 defconfig
nios2 allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
h8300 allyesconfig
arc defconfig
sh allmodconfig
xtensa allyesconfig
parisc defconfig
s390 allmodconfig
s390 defconfig
parisc allyesconfig
s390 allyesconfig
sparc allyesconfig
sparc defconfig
i386 defconfig
i386 allyesconfig
mips allyesconfig
mips allmodconfig
powerpc allyesconfig
powerpc allmodconfig
powerpc allnoconfig
x86_64 randconfig-a004-20210908
x86_64 randconfig-a006-20210908
x86_64 randconfig-a003-20210908
x86_64 randconfig-a001-20210908
x86_64 randconfig-a005-20210908
x86_64 randconfig-a002-20210908
i386 randconfig-a005-20210908
i386 randconfig-a004-20210908
i386 randconfig-a006-20210908
i386 randconfig-a002-20210908
i386 randconfig-a001-20210908
i386 randconfig-a003-20210908
x86_64 randconfig-a013-20210910
x86_64 randconfig-a016-20210910
x86_64 randconfig-a012-20210910
x86_64 randconfig-a011-20210910
x86_64 randconfig-a014-20210910
x86_64 randconfig-a015-20210910
i386 randconfig-a016-20210910
i386 randconfig-a011-20210910
i386 randconfig-a012-20210910
i386 randconfig-a013-20210910
i386 randconfig-a014-20210910
i386 randconfig-a015-20210910
arc randconfig-r043-20210908
riscv nommu_k210_defconfig
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
x86_64 rhel-8.3-kselftests
um x86_64_defconfig
um i386_defconfig
x86_64 allyesconfig
x86_64 defconfig
x86_64 rhel-8.3
x86_64 kexec
clang tested configs:
s390 randconfig-c005-20210908
powerpc randconfig-c003-20210908
mips randconfig-c004-20210908
i386 randconfig-c001-20210908
x86_64 randconfig-a002-20210910
x86_64 randconfig-a003-20210910
x86_64 randconfig-a004-20210910
x86_64 randconfig-a006-20210910
x86_64 randconfig-a001-20210910
x86_64 randconfig-a005-20210910
i386 randconfig-a004-20210910
i386 randconfig-a005-20210910
i386 randconfig-a002-20210910
i386 randconfig-a006-20210910
i386 randconfig-a001-20210910
i386 randconfig-a003-20210910
x86_64 randconfig-a016-20210908
x86_64 randconfig-a011-20210908
x86_64 randconfig-a012-20210908
x86_64 randconfig-a015-20210908
x86_64 randconfig-a014-20210908
x86_64 randconfig-a013-20210908
i386 randconfig-a012-20210908
i386 randconfig-a015-20210908
i386 randconfig-a011-20210908
i386 randconfig-a013-20210908
i386 randconfig-a014-20210908
i386 randconfig-a016-20210908
riscv randconfig-r042-20210908
hexagon randconfig-r045-20210908
s390 randconfig-r044-20210908
hexagon randconfig-r041-20210908
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
11 months, 1 week
[pm:bleeding-edge] BUILD SUCCESS 7f85576dc1891d92822c497f37502e552d419e87
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 7f85576dc1891d92822c497f37502e552d419e87 Merge branch 'acpi-prm' into bleeding-edge
elapsed time: 721m
configs tested: 103
configs skipped: 3
The following configs have been built successfully.
More configs may be tested in the coming days.
gcc tested configs:
arm defconfig
arm64 allyesconfig
arm64 defconfig
arm allyesconfig
arm allmodconfig
sh se7750_defconfig
sh se7722_defconfig
mips loongson1c_defconfig
powerpc holly_defconfig
m68k defconfig
arm nhk8815_defconfig
m68k m5208evb_defconfig
openrisc defconfig
arm versatile_defconfig
arm cerfcube_defconfig
arm ixp4xx_defconfig
m68k m5407c3_defconfig
powerpc mpc8313_rdb_defconfig
arc hsdk_defconfig
powerpc wii_defconfig
arm dove_defconfig
arm neponset_defconfig
i386 alldefconfig
mips fuloong2e_defconfig
mips rb532_defconfig
xtensa cadence_csp_defconfig
i386 randconfig-c001-20210908
x86_64 randconfig-c001-20210908
arm randconfig-c002-20210908
ia64 allmodconfig
ia64 defconfig
ia64 allyesconfig
m68k allmodconfig
m68k allyesconfig
nios2 defconfig
arc allyesconfig
nds32 allnoconfig
nds32 defconfig
nios2 allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
xtensa allyesconfig
h8300 allyesconfig
arc defconfig
sh allmodconfig
parisc defconfig
s390 allyesconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
i386 allyesconfig
sparc allyesconfig
sparc defconfig
i386 defconfig
mips allyesconfig
mips allmodconfig
powerpc allyesconfig
powerpc allmodconfig
powerpc allnoconfig
i386 randconfig-a005-20210908
i386 randconfig-a004-20210908
i386 randconfig-a006-20210908
i386 randconfig-a002-20210908
i386 randconfig-a001-20210908
i386 randconfig-a003-20210908
x86_64 randconfig-a004-20210908
x86_64 randconfig-a006-20210908
x86_64 randconfig-a003-20210908
x86_64 randconfig-a001-20210908
x86_64 randconfig-a005-20210908
x86_64 randconfig-a002-20210908
arc randconfig-r043-20210908
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 rhel-8.3-kselftests
x86_64 defconfig
x86_64 rhel-8.3
x86_64 kexec
clang tested configs:
x86_64 randconfig-a016-20210908
x86_64 randconfig-a011-20210908
x86_64 randconfig-a012-20210908
x86_64 randconfig-a015-20210908
x86_64 randconfig-a014-20210908
x86_64 randconfig-a013-20210908
i386 randconfig-a012-20210908
i386 randconfig-a015-20210908
i386 randconfig-a011-20210908
i386 randconfig-a013-20210908
i386 randconfig-a014-20210908
i386 randconfig-a016-20210908
riscv randconfig-r042-20210908
hexagon randconfig-r045-20210908
s390 randconfig-r044-20210908
hexagon randconfig-r041-20210908
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
11 months, 1 week
[pm:bleeding-edge] BUILD SUCCESS 7d0798a20c777f0726d75b686224b15444d491f1
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 7d0798a20c777f0726d75b686224b15444d491f1 Merge branches 'pm-sleep', 'pm-em', 'pm-cpufreq-next' and 'acpi-scan' into bleeding-edge
elapsed time: 1015m
configs tested: 102
configs skipped: 3
The following configs have been built successfully.
More configs may be tested in the coming days.
gcc tested configs:
arm64 allyesconfig
arm64 defconfig
arm allyesconfig
arm allmodconfig
arm defconfig
i386 randconfig-c001-20210908
arc haps_hs_defconfig
mips ath79_defconfig
xtensa cadence_csp_defconfig
powerpc ppc44x_defconfig
sh sdk7780_defconfig
sh edosk7760_defconfig
powerpc tqm8540_defconfig
arm orion5x_defconfig
mips ci20_defconfig
mips pic32mzda_defconfig
mips maltaup_defconfig
arm versatile_defconfig
arm imote2_defconfig
arm netwinder_defconfig
sh se7343_defconfig
arm dove_defconfig
powerpc mpc8315_rdb_defconfig
mips maltaaprp_defconfig
x86_64 randconfig-c001-20210908
arm randconfig-c002-20210908
x86_64 allnoconfig
ia64 allmodconfig
ia64 defconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
m68k allyesconfig
nios2 defconfig
arc allyesconfig
nds32 allnoconfig
nds32 defconfig
nios2 allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
xtensa allyesconfig
h8300 allyesconfig
arc defconfig
sh allmodconfig
parisc defconfig
s390 allyesconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
i386 allyesconfig
sparc allyesconfig
sparc defconfig
i386 defconfig
mips allyesconfig
mips allmodconfig
powerpc allyesconfig
powerpc allmodconfig
powerpc allnoconfig
i386 randconfig-a005-20210906
i386 randconfig-a004-20210906
i386 randconfig-a006-20210906
i386 randconfig-a002-20210906
i386 randconfig-a003-20210906
i386 randconfig-a001-20210906
arc randconfig-r043-20210906
x86_64 randconfig-a006-20210906
x86_64 randconfig-a004-20210906
x86_64 randconfig-a003-20210906
x86_64 randconfig-a005-20210906
x86_64 randconfig-a001-20210906
x86_64 randconfig-a002-20210906
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 rhel-8.3-kselftests
x86_64 defconfig
x86_64 rhel-8.3
x86_64 kexec
clang tested configs:
x86_64 randconfig-a011-20210906
x86_64 randconfig-a016-20210906
x86_64 randconfig-a012-20210906
x86_64 randconfig-a015-20210906
x86_64 randconfig-a014-20210906
x86_64 randconfig-a013-20210906
i386 randconfig-a012-20210906
i386 randconfig-a015-20210906
i386 randconfig-a011-20210906
i386 randconfig-a013-20210906
i386 randconfig-a014-20210906
i386 randconfig-a016-20210906
riscv randconfig-r042-20210906
hexagon randconfig-r045-20210906
s390 randconfig-r044-20210906
hexagon randconfig-r041-20210906
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
11 months, 1 week
[pm:bleeding-edge] BUILD SUCCESS 6f65d2319f21868fed3a3a424e6e4005611f1488
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 6f65d2319f21868fed3a3a424e6e4005611f1488 Merge branches 'acpi-pci', 'acpi-pm' and 'acpi-docs' into linux-next
elapsed time: 720m
configs tested: 172
configs skipped: 4
The following configs have been built successfully.
More configs may be tested in the coming days.
gcc tested configs:
arm defconfig
arm64 allyesconfig
arm64 defconfig
arm allyesconfig
arm allmodconfig
i386 randconfig-c001-20210904
um alldefconfig
powerpc kilauea_defconfig
sh se7343_defconfig
mips workpad_defconfig
sh sh7770_generic_defconfig
arm s5pv210_defconfig
powerpc mpc7448_hpc2_defconfig
arm axm55xx_defconfig
powerpc mpc834x_itx_defconfig
powerpc rainier_defconfig
mips tb0226_defconfig
m68k m5272c3_defconfig
mips bcm63xx_defconfig
arm socfpga_defconfig
arm spear6xx_defconfig
powerpc mpc8560_ads_defconfig
m68k amcore_defconfig
sparc sparc64_defconfig
sh se7206_defconfig
mips capcella_defconfig
arm collie_defconfig
powerpc mpc836x_mds_defconfig
microblaze mmu_defconfig
arm colibri_pxa270_defconfig
arm simpad_defconfig
arc haps_hs_smp_defconfig
powerpc klondike_defconfig
powerpc tqm8548_defconfig
powerpc cell_defconfig
h8300 edosk2674_defconfig
powerpc pasemi_defconfig
s390 allmodconfig
powerpc mpc83xx_defconfig
powerpc makalu_defconfig
mips gcw0_defconfig
riscv defconfig
xtensa common_defconfig
powerpc tqm8540_defconfig
arm colibri_pxa300_defconfig
arm imx_v6_v7_defconfig
sh urquell_defconfig
xtensa nommu_kc705_defconfig
arm at91_dt_defconfig
ia64 generic_defconfig
powerpc katmai_defconfig
arm nhk8815_defconfig
sh polaris_defconfig
mips malta_qemu_32r6_defconfig
powerpc asp8347_defconfig
arm versatile_defconfig
mips nlm_xlr_defconfig
sh shx3_defconfig
arm clps711x_defconfig
um defconfig
m68k allyesconfig
mips rt305x_defconfig
mips maltaup_defconfig
arm viper_defconfig
powerpc mpc866_ads_defconfig
powerpc mpc8313_rdb_defconfig
arm pxa255-idp_defconfig
ia64 bigsur_defconfig
nds32 alldefconfig
powerpc g5_defconfig
arm lubbock_defconfig
h8300 h8300h-sim_defconfig
openrisc simple_smp_defconfig
arm lart_defconfig
powerpc ppc64e_defconfig
mips ci20_defconfig
sh magicpanelr2_defconfig
arm vt8500_v6_v7_defconfig
sh ecovec24_defconfig
sh rts7751r2dplus_defconfig
powerpc mpc834x_itxgp_defconfig
m68k mvme16x_defconfig
mips bmips_stb_defconfig
mips maltaaprp_defconfig
powerpc akebono_defconfig
sh microdev_defconfig
powerpc mpc85xx_cds_defconfig
xtensa generic_kc705_defconfig
parisc generic-32bit_defconfig
arm exynos_defconfig
sh rsk7264_defconfig
powerpc tqm5200_defconfig
mips maltaup_xpa_defconfig
arm randconfig-c002-20210904
x86_64 allnoconfig
ia64 allmodconfig
ia64 defconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
nios2 defconfig
arc allyesconfig
nds32 allnoconfig
nds32 defconfig
nios2 allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
xtensa allyesconfig
h8300 allyesconfig
arc defconfig
sh allmodconfig
parisc defconfig
s390 allyesconfig
parisc allyesconfig
s390 defconfig
i386 allyesconfig
sparc allyesconfig
sparc defconfig
i386 defconfig
mips allyesconfig
mips allmodconfig
powerpc allyesconfig
powerpc allmodconfig
powerpc allnoconfig
x86_64 randconfig-a006-20210904
x86_64 randconfig-a004-20210904
x86_64 randconfig-a003-20210904
x86_64 randconfig-a005-20210904
x86_64 randconfig-a001-20210904
x86_64 randconfig-a002-20210904
i386 randconfig-a005-20210904
i386 randconfig-a004-20210904
i386 randconfig-a006-20210904
i386 randconfig-a002-20210904
i386 randconfig-a003-20210904
i386 randconfig-a001-20210904
arc randconfig-r043-20210904
riscv nommu_k210_defconfig
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv rv32_defconfig
riscv allmodconfig
x86_64 rhel-8.3-kselftests
um x86_64_defconfig
um i386_defconfig
x86_64 allyesconfig
x86_64 defconfig
x86_64 rhel-8.3
x86_64 kexec
clang tested configs:
s390 randconfig-c005-20210904
mips randconfig-c004-20210904
powerpc randconfig-c003-20210904
x86_64 randconfig-c007-20210904
i386 randconfig-c001-20210904
arm randconfig-c002-20210904
riscv randconfig-c006-20210904
x86_64 randconfig-a011-20210904
x86_64 randconfig-a016-20210904
x86_64 randconfig-a012-20210904
x86_64 randconfig-a015-20210904
x86_64 randconfig-a014-20210904
x86_64 randconfig-a013-20210904
i386 randconfig-a012-20210904
i386 randconfig-a015-20210904
i386 randconfig-a011-20210904
i386 randconfig-a013-20210904
i386 randconfig-a014-20210904
i386 randconfig-a016-20210904
riscv randconfig-r042-20210904
hexagon randconfig-r045-20210904
s390 randconfig-r044-20210904
hexagon randconfig-r041-20210904
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
11 months, 2 weeks