[rafael-pm:bleeding-edge] BUILD SUCCESS 203eb3b975f961128ac00226afd60fbf7ceb2dfb
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 203eb3b975f961128ac00226afd60fbf7ceb2dfb Merge branch 'acpi-fan' into bleeding-edge
elapsed time: 721m
configs tested: 111
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 allmodconfig
arm allyesconfig
arm defconfig
arm64 allyesconfig
i386 randconfig-c001
mips randconfig-c004-20220225
mips tb0226_defconfig
sh kfr2r09_defconfig
arc axs103_smp_defconfig
powerpc pq2fads_defconfig
arm sama5_defconfig
parisc generic-64bit_defconfig
microblaze mmu_defconfig
arm h5000_defconfig
sh se7750_defconfig
h8300 h8s-sim_defconfig
mips rb532_defconfig
sh sh7757lcr_defconfig
arm randconfig-c002-20220225
arm randconfig-c002-20220226
ia64 defconfig
ia64 allmodconfig
ia64 allyesconfig
m68k allyesconfig
m68k allmodconfig
m68k defconfig
nds32 allnoconfig
nios2 defconfig
arc allyesconfig
csky defconfig
alpha defconfig
nds32 defconfig
nios2 allyesconfig
alpha allyesconfig
arc defconfig
sh allmodconfig
h8300 allyesconfig
xtensa allyesconfig
parisc defconfig
parisc64 defconfig
s390 allmodconfig
s390 defconfig
parisc allyesconfig
s390 allyesconfig
i386 allyesconfig
i386 debian-10.3
i386 debian-10.3-kselftests
i386 defconfig
sparc allyesconfig
sparc defconfig
mips allyesconfig
mips allmodconfig
powerpc allnoconfig
powerpc allmodconfig
powerpc allyesconfig
x86_64 randconfig-a002
x86_64 randconfig-a004
x86_64 randconfig-a006
i386 randconfig-a003
i386 randconfig-a001
i386 randconfig-a005
x86_64 randconfig-a015
x86_64 randconfig-a013
x86_64 randconfig-a011
i386 randconfig-a014
i386 randconfig-a012
i386 randconfig-a016
arc randconfig-r043-20220225
s390 randconfig-r044-20220226
riscv randconfig-r042-20220226
arc randconfig-r043-20220226
riscv nommu_k210_defconfig
riscv allyesconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
riscv nommu_virt_defconfig
um i386_defconfig
um x86_64_defconfig
x86_64 defconfig
x86_64 allyesconfig
x86_64 kexec
x86_64 rhel-8.3
x86_64 rhel-8.3-func
x86_64 rhel-8.3-kselftests
clang tested configs:
powerpc mpc8315_rdb_defconfig
mips loongson2k_defconfig
riscv nommu_virt_defconfig
mips ip28_defconfig
powerpc ppa8548_defconfig
arm sama7_defconfig
mips malta_kvm_defconfig
x86_64 randconfig-a001
x86_64 randconfig-a003
x86_64 randconfig-a005
i386 randconfig-a002
i386 randconfig-a006
i386 randconfig-a004
x86_64 randconfig-a012
x86_64 randconfig-a016
x86_64 randconfig-a014
i386 randconfig-a013
i386 randconfig-a011
i386 randconfig-a015
hexagon randconfig-r045-20220225
hexagon randconfig-r041-20220226
hexagon randconfig-r045-20220226
s390 randconfig-r044-20220225
hexagon randconfig-r041-20220225
riscv randconfig-r042-20220225
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
3 months, 4 weeks
Re: [PATCH 3/4] acpi: exsystem: Warn about sleeps greater than 50 ms
by Rafael J. Wysocki
On Thu, Feb 24, 2022 at 12:38 PM Paul Menzel <pmenzel(a)molgen.mpg.de> wrote:
>
> Quick boottime is important, so warn about sleeps greater than 50 ms in
> ACPI.
>
> 50 ms is still long compared to distribution Linux kernels reaching initrd
> in 350 ms, so should probably changed to 10 ms, so people are aware
> about this.
>
> Signed-off-by: Paul Menzel <pmenzel(a)molgen.mpg.de>
First off, as ACPICA material, this should be submitted to the
upstream project via https://github.com/acpica/acpica/.
> ---
> drivers/acpi/acpica/exsystem.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/acpi/acpica/exsystem.c b/drivers/acpi/acpica/exsystem.c
> index 00f66af31ffa..bdffb8aac05c 100644
> --- a/drivers/acpi/acpica/exsystem.c
> +++ b/drivers/acpi/acpica/exsystem.c
> @@ -167,6 +167,11 @@ acpi_status acpi_ex_system_do_sleep(u64 how_long_ms)
>
> acpi_ex_exit_interpreter();
>
> + if (how_long_ms > 50) {
> + ACPI_WARNING((AE_INFO,
Second, the log level is somewhat high for something like this.
> + "Time parameter %llu > 50 ms. Please contact firmware vendor for more responsive system.", how_long_ms));
Also, I would rephrase the warning message to something like "Firmware
issue: Excessive delay (%llu ms) in ACPI Control Method".
> + }
> +
> /*
> * For compatibility with other ACPI implementations and to prevent
> * accidental deep sleeps, limit the sleep time to something reasonable.
> --
> 2.35.1
>
3 months, 4 weeks
Re: [rafael-pm:bleeding-edge 59/73] arch/x86/include/asm/pci_x86.h:133:19: error: expected ';' after top level declarator
by Rafael J. Wysocki
On Fri, Feb 25, 2022 at 12:49 PM Hans de Goede <hdegoede(a)redhat.com> wrote:
>
> Hi Rafael,
>
> On 2/25/22 00:24, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
> > head: 8276cbee5a52543c614a1e1bc2624188d5970848
> > commit: 62fabd56faafe033eb0be3ba24000b8db13d4c17 [59/73] x86/PCI: Disable exclusion of E820 reserved addresses in some cases
> > config: x86_64-randconfig-a012 (https://download.01.org/0day-ci/archive/20220225/202202250758.oDiHyXAy-lk...)
> > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
> > 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 62fabd56faafe033eb0be3ba24000b8db13d4c17
> > # 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=x86_64 SHELL=/bin/bash
> >
> > 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 >>):
> >
> > In file included from arch/x86/kernel/resource.c:4:
> > arch/x86/include/asm/pci_x86.h:97:8: error: unknown type name 'raw_spinlock_t'
> > extern raw_spinlock_t pci_config_lock;
> > ^
> >>> arch/x86/include/asm/pci_x86.h:133:19: error: expected ';' after top level declarator
> > extern void __init dmi_check_pciprobe(void);
> > ^
> > ;
> > arch/x86/include/asm/pci_x86.h:134:19: error: expected ';' after top level declarator
> > extern void __init dmi_check_skip_isa_align(void);
> > ^
> > ;
>
> So the problem here seems to be that arch/x86/include/asm/pci_x86.h does not include
> all the headers which it relies on. Instead it release on the files which include it
> to include those headers before hand.
>
> This should fix the errors reported here:
>
> --- a/arch/x86/include/asm/pci_x86.h
> +++ b/arch/x86/include/asm/pci_x86.h
> @@ -5,7 +5,9 @@
> * (c) 1999 Martin Mares <mj(a)ucw.cz>
> */
>
> +#include <linux/init.h>
> #include <linux/ioport.h>
> +#include <linux/spinlock.h>
>
> #undef DEBUG
>
> I believe this is best squashed into the original commit,
Done, thanks!
> but let me know if
> you want me to send this out as a proper follow up patch; or if you want a
> new version of the troublesome commit to replace the original one.
3 months, 4 weeks
[rafael-pm:bleeding-edge] BUILD REGRESSION 8276cbee5a52543c614a1e1bc2624188d5970848
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 8276cbee5a52543c614a1e1bc2624188d5970848 Merge branch 'thermal-int340x-fixes' into bleeding-edge
Error/Warning reports:
https://lore.kernel.org/llvm/202202250758.oDiHyXAy-lkp@intel.com
Error/Warning in current branch:
arch/x86/include/asm/pci_x86.h:133:19: error: expected ';' after top level declarator
arch/x86/include/asm/pci_x86.h:138:12: error: redeclaration of '__init' with a different type: 'int' vs 'void'
arch/x86/include/asm/pci_x86.h:174:33: error: redeclaration of '__init' with a different type: 'struct pci_mmcfg_region *' vs 'void'
possible Error/Warning in current branch (please contact us if interested):
arch/x86/include/asm/pci_x86.h:133:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dmi_check_pciprobe'
arch/x86/include/asm/pci_x86.h:134:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dmi_check_skip_isa_align'
arch/x86/include/asm/pci_x86.h:138:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pci_acpi_init'
arch/x86/include/asm/pci_x86.h:145:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pcibios_irq_init'
arch/x86/include/asm/pci_x86.h:146:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pcibios_init'
arch/x86/include/asm/pci_x86.h:166:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pci_mmcfg_arch_init'
arch/x86/include/asm/pci_x86.h:167:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pci_mmcfg_arch_free'
arch/x86/include/asm/pci_x86.h:174:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pci_mmconfig_add'
arch/x86/include/asm/pci_x86.h:97:8: error: unknown type name 'raw_spinlock_t'
Error/Warning ids grouped by kconfigs:
gcc_recent_errors
|-- i386-randconfig-a003
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_pciprobe
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_skip_isa_align
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_acpi_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_free
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmconfig_add
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_irq_init
| `-- arch-x86-include-asm-pci_x86.h:error:unknown-type-name-raw_spinlock_t
|-- i386-randconfig-c001
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_pciprobe
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_skip_isa_align
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_acpi_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_free
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmconfig_add
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_irq_init
| `-- arch-x86-include-asm-pci_x86.h:error:unknown-type-name-raw_spinlock_t
|-- i386-randconfig-s001
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_pciprobe
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_skip_isa_align
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_acpi_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_free
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmconfig_add
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_irq_init
| `-- arch-x86-include-asm-pci_x86.h:error:unknown-type-name-raw_spinlock_t
|-- i386-randconfig-s002
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_pciprobe
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_skip_isa_align
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_acpi_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_free
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmconfig_add
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_irq_init
| `-- arch-x86-include-asm-pci_x86.h:error:unknown-type-name-raw_spinlock_t
|-- x86_64-alldefconfig
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_pciprobe
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_skip_isa_align
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_acpi_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_free
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmconfig_add
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_irq_init
| `-- arch-x86-include-asm-pci_x86.h:error:unknown-type-name-raw_spinlock_t
|-- x86_64-randconfig-c002
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_pciprobe
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_skip_isa_align
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_acpi_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_free
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmconfig_add
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_irq_init
| `-- arch-x86-include-asm-pci_x86.h:error:unknown-type-name-raw_spinlock_t
|-- x86_64-randconfig-s021
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_pciprobe
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_skip_isa_align
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_acpi_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_free
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmconfig_add
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_init
| |-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_irq_init
| `-- arch-x86-include-asm-pci_x86.h:error:unknown-type-name-raw_spinlock_t
`-- x86_64-randconfig-s022
|-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_pciprobe
|-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-dmi_check_skip_isa_align
|-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_acpi_init
|-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_free
|-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmcfg_arch_init
|-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pci_mmconfig_add
|-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_init
|-- arch-x86-include-asm-pci_x86.h:error:expected-asm-or-__attribute__-before-pcibios_irq_init
`-- arch-x86-include-asm-pci_x86.h:error:unknown-type-name-raw_spinlock_t
clang_recent_errors
|-- i386-randconfig-a002
| |-- arch-x86-include-asm-pci_x86.h:error:expected-after-top-level-declarator
| |-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:int-vs-void
| `-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:struct-pci_mmcfg_region-vs-void
|-- i386-randconfig-a004
| |-- arch-x86-include-asm-pci_x86.h:error:expected-after-top-level-declarator
| |-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:int-vs-void
| `-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:struct-pci_mmcfg_region-vs-void
|-- i386-randconfig-a006
| |-- arch-x86-include-asm-pci_x86.h:error:expected-after-top-level-declarator
| |-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:int-vs-void
| `-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:struct-pci_mmcfg_region-vs-void
|-- i386-randconfig-a011
| |-- arch-x86-include-asm-pci_x86.h:error:expected-after-top-level-declarator
| |-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:int-vs-void
| `-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:struct-pci_mmcfg_region-vs-void
|-- i386-randconfig-a013
| |-- arch-x86-include-asm-pci_x86.h:error:expected-after-top-level-declarator
| |-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:int-vs-void
| `-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:struct-pci_mmcfg_region-vs-void
|-- i386-randconfig-a015
| |-- arch-x86-include-asm-pci_x86.h:error:expected-after-top-level-declarator
| |-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:int-vs-void
| `-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:struct-pci_mmcfg_region-vs-void
|-- x86_64-randconfig-a001
| |-- arch-x86-include-asm-pci_x86.h:error:expected-after-top-level-declarator
| |-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:int-vs-void
| `-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:struct-pci_mmcfg_region-vs-void
|-- x86_64-randconfig-a005
| |-- arch-x86-include-asm-pci_x86.h:error:expected-after-top-level-declarator
| |-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:int-vs-void
| `-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:struct-pci_mmcfg_region-vs-void
`-- x86_64-randconfig-a012
|-- arch-x86-include-asm-pci_x86.h:error:expected-after-top-level-declarator
|-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:int-vs-void
`-- arch-x86-include-asm-pci_x86.h:error:redeclaration-of-__init-with-a-different-type:struct-pci_mmcfg_region-vs-void
elapsed time: 731m
configs tested: 110
configs skipped: 3
gcc tested configs:
arm defconfig
arm64 defconfig
arm allmodconfig
arm allyesconfig
arm64 allyesconfig
i386 randconfig-c001
microblaze mmu_defconfig
powerpc sequoia_defconfig
arm spear6xx_defconfig
powerpc iss476-smp_defconfig
x86_64 alldefconfig
arc axs103_smp_defconfig
m68k atari_defconfig
arm iop32x_defconfig
powerpc eiger_defconfig
sh sh7724_generic_defconfig
mips bmips_be_defconfig
xtensa common_defconfig
sh sdk7780_defconfig
arm randconfig-c002-20220224
ia64 defconfig
ia64 allmodconfig
ia64 allyesconfig
m68k defconfig
m68k allyesconfig
m68k allmodconfig
csky defconfig
alpha defconfig
nds32 defconfig
alpha allyesconfig
nios2 allyesconfig
arc defconfig
sh allmodconfig
xtensa allyesconfig
h8300 allyesconfig
parisc defconfig
parisc64 defconfig
s390 allmodconfig
s390 defconfig
parisc allyesconfig
s390 allyesconfig
i386 allyesconfig
i386 debian-10.3
i386 debian-10.3-kselftests
i386 defconfig
sparc allyesconfig
sparc defconfig
nds32 allnoconfig
nios2 defconfig
arc allyesconfig
mips allmodconfig
mips allyesconfig
powerpc allnoconfig
powerpc allmodconfig
powerpc allyesconfig
i386 randconfig-a003
i386 randconfig-a001
i386 randconfig-a005
i386 randconfig-a014
i386 randconfig-a012
i386 randconfig-a016
x86_64 randconfig-a002
x86_64 randconfig-a004
x86_64 randconfig-a006
arc randconfig-r043-20220223
s390 randconfig-r044-20220224
arc randconfig-r043-20220224
riscv randconfig-r042-20220224
riscv nommu_k210_defconfig
riscv nommu_virt_defconfig
riscv allyesconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
um i386_defconfig
um x86_64_defconfig
x86_64 defconfig
x86_64 allyesconfig
x86_64 kexec
x86_64 rhel-8.3
x86_64 rhel-8.3-func
x86_64 rhel-8.3-kselftests
clang tested configs:
powerpc randconfig-c003-20220225
mips randconfig-c004-20220225
arm randconfig-c002-20220225
s390 randconfig-c005-20220225
riscv randconfig-c006-20220225
mips omega2p_defconfig
mips sb1250_swarm_defconfig
mips ip28_defconfig
arm ixp4xx_defconfig
powerpc g5_defconfig
mips rm200_defconfig
mips malta_defconfig
i386 randconfig-a002
i386 randconfig-a004
i386 randconfig-a006
i386 randconfig-a011
i386 randconfig-a013
i386 randconfig-a015
x86_64 randconfig-a001
x86_64 randconfig-a003
x86_64 randconfig-a005
hexagon randconfig-r045-20220223
hexagon randconfig-r045-20220224
s390 randconfig-r044-20220223
riscv randconfig-r042-20220223
hexagon randconfig-r041-20220224
hexagon randconfig-r041-20220223
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
3 months, 4 weeks
[rafael-pm:bleeding-edge 59/73] arch/x86/include/asm/pci_x86.h:133:19: error: expected ';' after top level declarator
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: 8276cbee5a52543c614a1e1bc2624188d5970848
commit: 62fabd56faafe033eb0be3ba24000b8db13d4c17 [59/73] x86/PCI: Disable exclusion of E820 reserved addresses in some cases
config: x86_64-randconfig-a012 (https://download.01.org/0day-ci/archive/20220225/202202250758.oDiHyXAy-lk...)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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 62fabd56faafe033eb0be3ba24000b8db13d4c17
# 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=x86_64 SHELL=/bin/bash
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 >>):
In file included from arch/x86/kernel/resource.c:4:
arch/x86/include/asm/pci_x86.h:97:8: error: unknown type name 'raw_spinlock_t'
extern raw_spinlock_t pci_config_lock;
^
>> arch/x86/include/asm/pci_x86.h:133:19: error: expected ';' after top level declarator
extern void __init dmi_check_pciprobe(void);
^
;
arch/x86/include/asm/pci_x86.h:134:19: error: expected ';' after top level declarator
extern void __init dmi_check_skip_isa_align(void);
^
;
>> arch/x86/include/asm/pci_x86.h:138:12: error: redeclaration of '__init' with a different type: 'int' vs 'void'
extern int __init pci_acpi_init(void);
^
arch/x86/include/asm/pci_x86.h:134:13: note: previous declaration is here
extern void __init dmi_check_skip_isa_align(void);
^
arch/x86/include/asm/pci_x86.h:138:18: error: expected ';' after top level declarator
extern int __init pci_acpi_init(void);
^
;
arch/x86/include/asm/pci_x86.h:145:19: error: expected ';' after top level declarator
extern void __init pcibios_irq_init(void);
^
;
arch/x86/include/asm/pci_x86.h:146:12: error: redeclaration of '__init' with a different type: 'int' vs 'void'
extern int __init pcibios_init(void);
^
arch/x86/include/asm/pci_x86.h:145:13: note: previous declaration is here
extern void __init pcibios_irq_init(void);
^
arch/x86/include/asm/pci_x86.h:146:18: error: expected ';' after top level declarator
extern int __init pcibios_init(void);
^
;
arch/x86/include/asm/pci_x86.h:166:12: error: redeclaration of '__init' with a different type: 'int' vs 'void'
extern int __init pci_mmcfg_arch_init(void);
^
arch/x86/include/asm/pci_x86.h:145:13: note: previous declaration is here
extern void __init pcibios_irq_init(void);
^
arch/x86/include/asm/pci_x86.h:166:18: error: expected ';' after top level declarator
extern int __init pci_mmcfg_arch_init(void);
^
;
arch/x86/include/asm/pci_x86.h:167:19: error: expected ';' after top level declarator
extern void __init pci_mmcfg_arch_free(void);
^
;
>> arch/x86/include/asm/pci_x86.h:174:33: error: redeclaration of '__init' with a different type: 'struct pci_mmcfg_region *' vs 'void'
extern struct pci_mmcfg_region *__init pci_mmconfig_add(int segment, int start,
^
arch/x86/include/asm/pci_x86.h:167:13: note: previous declaration is here
extern void __init pci_mmcfg_arch_free(void);
^
arch/x86/include/asm/pci_x86.h:174:39: error: expected ';' after top level declarator
extern struct pci_mmcfg_region *__init pci_mmconfig_add(int segment, int start,
^
;
13 errors generated.
vim +133 arch/x86/include/asm/pci_x86.h
^1da177e4c3f41 arch/i386/pci/pci.h Linus Torvalds 2005-04-16 96
d19f61f098ae93 arch/x86/include/asm/pci_x86.h Thomas Gleixner 2010-02-17 @97 extern raw_spinlock_t pci_config_lock;
^1da177e4c3f41 arch/i386/pci/pci.h Linus Torvalds 2005-04-16 98
^1da177e4c3f41 arch/i386/pci/pci.h Linus Torvalds 2005-04-16 99 extern int (*pcibios_enable_irq)(struct pci_dev *dev);
87bec66b969152 arch/i386/pci/pci.h David Shaohua Li 2005-07-27 100 extern void (*pcibios_disable_irq)(struct pci_dev *dev);
928cf8c6276334 arch/i386/pci/pci.h Andi Kleen 2005-12-12 101
6c777e8799a93e arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2016-02-17 102 extern bool mp_should_keep_irq(struct device *dev);
6c777e8799a93e arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2016-02-17 103
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 104 struct pci_raw_ops {
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 105 int (*read)(unsigned int domain, unsigned int bus, unsigned int devfn,
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 106 int reg, int len, u32 *val);
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 107 int (*write)(unsigned int domain, unsigned int bus, unsigned int devfn,
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 108 int reg, int len, u32 val);
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 109 };
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 110
72da0b07b1b497 arch/x86/include/asm/pci_x86.h Jan Beulich 2011-09-15 111 extern const struct pci_raw_ops *raw_pci_ops;
72da0b07b1b497 arch/x86/include/asm/pci_x86.h Jan Beulich 2011-09-15 112 extern const struct pci_raw_ops *raw_pci_ext_ops;
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 113
c0fa40784cce9c arch/x86/include/asm/pci_x86.h Jiang Liu 2012-06-22 114 extern const struct pci_raw_ops pci_mmcfg;
72da0b07b1b497 arch/x86/include/asm/pci_x86.h Jan Beulich 2011-09-15 115 extern const struct pci_raw_ops pci_direct_conf1;
14d7ca5c575853 arch/x86/pci/pci.h H. Peter Anvin 2008-11-11 116 extern bool port_cf9_safe;
928cf8c6276334 arch/i386/pci/pci.h Andi Kleen 2005-12-12 117
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 118 /* arch_initcall level */
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 119 #ifdef CONFIG_PCI_DIRECT
5e544d618f0fb2 arch/i386/pci/pci.h Andi Kleen 2006-09-26 120 extern int pci_direct_probe(void);
5e544d618f0fb2 arch/i386/pci/pci.h Andi Kleen 2006-09-26 121 extern void pci_direct_init(int type);
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 122 #else
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 123 static inline int pci_direct_probe(void) { return -1; }
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 124 static inline void pci_direct_init(int type) { }
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 125 #endif
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 126
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 127 #ifdef CONFIG_PCI_BIOS
92c05fc1a32e5c arch/i386/pci/pci.h Andi Kleen 2006-03-23 128 extern void pci_pcbios_init(void);
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 129 #else
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 130 static inline void pci_pcbios_init(void) { }
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 131 #endif
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 132
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 @133 extern void __init dmi_check_pciprobe(void);
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 134 extern void __init dmi_check_skip_isa_align(void);
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 135
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 136 /* some common used subsys_initcalls */
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 137 #ifdef CONFIG_PCI
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 @138 extern int __init pci_acpi_init(void);
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 139 #else
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 140 static inline int __init pci_acpi_init(void)
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 141 {
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 142 return -EINVAL;
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 143 }
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 144 #endif
ab3b37937e8f4f arch/x86/include/asm/pci_x86.h Thomas Gleixner 2009-08-29 145 extern void __init pcibios_irq_init(void);
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 146 extern int __init pcibios_init(void);
b72d0db9dd41da arch/x86/include/asm/pci_x86.h Thomas Gleixner 2009-08-29 147 extern int pci_legacy_init(void);
9325a28ce2fa7c arch/x86/include/asm/pci_x86.h Thomas Gleixner 2009-08-29 148 extern void pcibios_fixup_irqs(void);
5e544d618f0fb2 arch/i386/pci/pci.h Andi Kleen 2006-09-26 149
b78673944b22b6 arch/i386/pci/pci.h Olivier Galibert 2007-02-13 150 /* pci-mmconfig.c */
b78673944b22b6 arch/i386/pci/pci.h Olivier Galibert 2007-02-13 151
56ddf4d3cf04e8 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 152 /* "PCI MMCONFIG %04x [bus %02x-%02x]" */
56ddf4d3cf04e8 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 153 #define PCI_MMCFG_RESOURCE_NAME_LEN (22 + 4 + 2 + 2)
56ddf4d3cf04e8 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 154
d215a9c8b46e55 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 155 struct pci_mmcfg_region {
ff097ddd4aeac7 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 156 struct list_head list;
56ddf4d3cf04e8 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 157 struct resource res;
d215a9c8b46e55 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 158 u64 address;
3f0f5503926f74 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 159 char __iomem *virt;
d7e6b66fe87c9f arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 160 u16 segment;
d7e6b66fe87c9f arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 161 u8 start_bus;
d7e6b66fe87c9f arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 162 u8 end_bus;
56ddf4d3cf04e8 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 163 char name[PCI_MMCFG_RESOURCE_NAME_LEN];
d215a9c8b46e55 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 164 };
d215a9c8b46e55 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 165
429d512e532ec9 arch/i386/pci/pci.h OGAWA Hirofumi 2007-02-13 @166 extern int __init pci_mmcfg_arch_init(void);
0b64ad7123eb01 arch/x86/pci/pci.h Yinghai Lu 2008-02-15 167 extern void __init pci_mmcfg_arch_free(void);
a18e3690a52790 arch/x86/include/asm/pci_x86.h Greg Kroah-Hartman 2012-12-21 168 extern int pci_mmcfg_arch_map(struct pci_mmcfg_region *cfg);
9cf0105da5a315 arch/x86/include/asm/pci_x86.h Jiang Liu 2012-06-22 169 extern void pci_mmcfg_arch_unmap(struct pci_mmcfg_region *cfg);
a18e3690a52790 arch/x86/include/asm/pci_x86.h Greg Kroah-Hartman 2012-12-21 170 extern int pci_mmconfig_insert(struct device *dev, u16 seg, u8 start, u8 end,
a18e3690a52790 arch/x86/include/asm/pci_x86.h Greg Kroah-Hartman 2012-12-21 171 phys_addr_t addr);
9c95111b330d2d arch/x86/include/asm/pci_x86.h Jiang Liu 2012-06-22 172 extern int pci_mmconfig_delete(u16 seg, u8 start, u8 end);
f6e1d8cc38b377 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 173 extern struct pci_mmcfg_region *pci_mmconfig_lookup(int segment, int bus);
6fa4a94e150be2 arch/x86/include/asm/pci_x86.h Otavio Pontes 2018-03-07 @174 extern struct pci_mmcfg_region *__init pci_mmconfig_add(int segment, int start,
6fa4a94e150be2 arch/x86/include/asm/pci_x86.h Otavio Pontes 2018-03-07 175 int end, u64 addr);
3320ad994afb2c arch/i386/pci/pci.h dean gaudet 2007-08-10 176
:::::: The code at line 133 was first introduced by commit
:::::: 8dd779b19ce5972072ad2372a86c8acbae4da768 x86/pci: removing subsys_initcall ordering dependencies
:::::: TO: Robert Richter <robert.richter(a)amd.com>
:::::: CC: Ingo Molnar <mingo(a)elte.hu>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
4 months
[rafael-pm:testing 54/57] arch/x86/include/asm/pci_x86.h:97:8: error: unknown type name 'raw_spinlock_t'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git testing
head: fc4232749306d2fb9341c4c6d17c489ab657a67e
commit: 62fabd56faafe033eb0be3ba24000b8db13d4c17 [54/57] x86/PCI: Disable exclusion of E820 reserved addresses in some cases
config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20220225/202202250514.JzetOofA-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commi...
git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
git fetch --no-tags rafael-pm testing
git checkout 62fabd56faafe033eb0be3ba24000b8db13d4c17
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/
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 >>):
In file included from arch/x86/kernel/resource.c:4:
>> arch/x86/include/asm/pci_x86.h:97:8: error: unknown type name 'raw_spinlock_t'
97 | extern raw_spinlock_t pci_config_lock;
| ^~~~~~~~~~~~~~
>> arch/x86/include/asm/pci_x86.h:133:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dmi_check_pciprobe'
133 | extern void __init dmi_check_pciprobe(void);
| ^~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/pci_x86.h:134:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dmi_check_skip_isa_align'
134 | extern void __init dmi_check_skip_isa_align(void);
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/pci_x86.h:140:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pci_acpi_init'
140 | static inline int __init pci_acpi_init(void)
| ^~~~~~~~~~~~~
>> arch/x86/include/asm/pci_x86.h:145:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pcibios_irq_init'
145 | extern void __init pcibios_irq_init(void);
| ^~~~~~~~~~~~~~~~
>> arch/x86/include/asm/pci_x86.h:146:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pcibios_init'
146 | extern int __init pcibios_init(void);
| ^~~~~~~~~~~~
>> arch/x86/include/asm/pci_x86.h:166:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pci_mmcfg_arch_init'
166 | extern int __init pci_mmcfg_arch_init(void);
| ^~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/pci_x86.h:167:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pci_mmcfg_arch_free'
167 | extern void __init pci_mmcfg_arch_free(void);
| ^~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/pci_x86.h:174:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pci_mmconfig_add'
174 | extern struct pci_mmcfg_region *__init pci_mmconfig_add(int segment, int start,
| ^~~~~~~~~~~~~~~~
vim +/raw_spinlock_t +97 arch/x86/include/asm/pci_x86.h
^1da177e4c3f41 arch/i386/pci/pci.h Linus Torvalds 2005-04-16 96
d19f61f098ae93 arch/x86/include/asm/pci_x86.h Thomas Gleixner 2010-02-17 @97 extern raw_spinlock_t pci_config_lock;
^1da177e4c3f41 arch/i386/pci/pci.h Linus Torvalds 2005-04-16 98
^1da177e4c3f41 arch/i386/pci/pci.h Linus Torvalds 2005-04-16 99 extern int (*pcibios_enable_irq)(struct pci_dev *dev);
87bec66b969152 arch/i386/pci/pci.h David Shaohua Li 2005-07-27 100 extern void (*pcibios_disable_irq)(struct pci_dev *dev);
928cf8c6276334 arch/i386/pci/pci.h Andi Kleen 2005-12-12 101
6c777e8799a93e arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2016-02-17 102 extern bool mp_should_keep_irq(struct device *dev);
6c777e8799a93e arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2016-02-17 103
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 104 struct pci_raw_ops {
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 105 int (*read)(unsigned int domain, unsigned int bus, unsigned int devfn,
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 106 int reg, int len, u32 *val);
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 107 int (*write)(unsigned int domain, unsigned int bus, unsigned int devfn,
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 108 int reg, int len, u32 val);
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 109 };
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 110
72da0b07b1b497 arch/x86/include/asm/pci_x86.h Jan Beulich 2011-09-15 111 extern const struct pci_raw_ops *raw_pci_ops;
72da0b07b1b497 arch/x86/include/asm/pci_x86.h Jan Beulich 2011-09-15 112 extern const struct pci_raw_ops *raw_pci_ext_ops;
b6ce068a1285a2 arch/x86/pci/pci.h Matthew Wilcox 2008-02-10 113
c0fa40784cce9c arch/x86/include/asm/pci_x86.h Jiang Liu 2012-06-22 114 extern const struct pci_raw_ops pci_mmcfg;
72da0b07b1b497 arch/x86/include/asm/pci_x86.h Jan Beulich 2011-09-15 115 extern const struct pci_raw_ops pci_direct_conf1;
14d7ca5c575853 arch/x86/pci/pci.h H. Peter Anvin 2008-11-11 116 extern bool port_cf9_safe;
928cf8c6276334 arch/i386/pci/pci.h Andi Kleen 2005-12-12 117
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 118 /* arch_initcall level */
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 119 #ifdef CONFIG_PCI_DIRECT
5e544d618f0fb2 arch/i386/pci/pci.h Andi Kleen 2006-09-26 120 extern int pci_direct_probe(void);
5e544d618f0fb2 arch/i386/pci/pci.h Andi Kleen 2006-09-26 121 extern void pci_direct_init(int type);
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 122 #else
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 123 static inline int pci_direct_probe(void) { return -1; }
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 124 static inline void pci_direct_init(int type) { }
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 125 #endif
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 126
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 127 #ifdef CONFIG_PCI_BIOS
92c05fc1a32e5c arch/i386/pci/pci.h Andi Kleen 2006-03-23 128 extern void pci_pcbios_init(void);
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 129 #else
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 130 static inline void pci_pcbios_init(void) { }
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 131 #endif
445d3595ab290b arch/x86/include/asm/pci_x86.h Thomas Gleixner 2020-08-26 132
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 @133 extern void __init dmi_check_pciprobe(void);
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 @134 extern void __init dmi_check_skip_isa_align(void);
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 135
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 136 /* some common used subsys_initcalls */
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 137 #ifdef CONFIG_PCI
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 138 extern int __init pci_acpi_init(void);
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 139 #else
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 @140 static inline int __init pci_acpi_init(void)
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 141 {
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 142 return -EINVAL;
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 143 }
5d32a66541c468 arch/x86/include/asm/pci_x86.h Sinan Kaya 2018-12-19 144 #endif
ab3b37937e8f4f arch/x86/include/asm/pci_x86.h Thomas Gleixner 2009-08-29 @145 extern void __init pcibios_irq_init(void);
8dd779b19ce597 arch/x86/pci/pci.h Robert Richter 2008-07-02 @146 extern int __init pcibios_init(void);
b72d0db9dd41da arch/x86/include/asm/pci_x86.h Thomas Gleixner 2009-08-29 147 extern int pci_legacy_init(void);
9325a28ce2fa7c arch/x86/include/asm/pci_x86.h Thomas Gleixner 2009-08-29 148 extern void pcibios_fixup_irqs(void);
5e544d618f0fb2 arch/i386/pci/pci.h Andi Kleen 2006-09-26 149
b78673944b22b6 arch/i386/pci/pci.h Olivier Galibert 2007-02-13 150 /* pci-mmconfig.c */
b78673944b22b6 arch/i386/pci/pci.h Olivier Galibert 2007-02-13 151
56ddf4d3cf04e8 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 152 /* "PCI MMCONFIG %04x [bus %02x-%02x]" */
56ddf4d3cf04e8 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 153 #define PCI_MMCFG_RESOURCE_NAME_LEN (22 + 4 + 2 + 2)
56ddf4d3cf04e8 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 154
d215a9c8b46e55 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 155 struct pci_mmcfg_region {
ff097ddd4aeac7 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 156 struct list_head list;
56ddf4d3cf04e8 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 157 struct resource res;
d215a9c8b46e55 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 158 u64 address;
3f0f5503926f74 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 159 char __iomem *virt;
d7e6b66fe87c9f arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 160 u16 segment;
d7e6b66fe87c9f arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 161 u8 start_bus;
d7e6b66fe87c9f arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 162 u8 end_bus;
56ddf4d3cf04e8 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 163 char name[PCI_MMCFG_RESOURCE_NAME_LEN];
d215a9c8b46e55 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 164 };
d215a9c8b46e55 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 165
429d512e532ec9 arch/i386/pci/pci.h OGAWA Hirofumi 2007-02-13 @166 extern int __init pci_mmcfg_arch_init(void);
0b64ad7123eb01 arch/x86/pci/pci.h Yinghai Lu 2008-02-15 @167 extern void __init pci_mmcfg_arch_free(void);
a18e3690a52790 arch/x86/include/asm/pci_x86.h Greg Kroah-Hartman 2012-12-21 168 extern int pci_mmcfg_arch_map(struct pci_mmcfg_region *cfg);
9cf0105da5a315 arch/x86/include/asm/pci_x86.h Jiang Liu 2012-06-22 169 extern void pci_mmcfg_arch_unmap(struct pci_mmcfg_region *cfg);
a18e3690a52790 arch/x86/include/asm/pci_x86.h Greg Kroah-Hartman 2012-12-21 170 extern int pci_mmconfig_insert(struct device *dev, u16 seg, u8 start, u8 end,
a18e3690a52790 arch/x86/include/asm/pci_x86.h Greg Kroah-Hartman 2012-12-21 171 phys_addr_t addr);
9c95111b330d2d arch/x86/include/asm/pci_x86.h Jiang Liu 2012-06-22 172 extern int pci_mmconfig_delete(u16 seg, u8 start, u8 end);
f6e1d8cc38b377 arch/x86/include/asm/pci_x86.h Bjorn Helgaas 2009-11-13 173 extern struct pci_mmcfg_region *pci_mmconfig_lookup(int segment, int bus);
6fa4a94e150be2 arch/x86/include/asm/pci_x86.h Otavio Pontes 2018-03-07 @174 extern struct pci_mmcfg_region *__init pci_mmconfig_add(int segment, int start,
6fa4a94e150be2 arch/x86/include/asm/pci_x86.h Otavio Pontes 2018-03-07 175 int end, u64 addr);
3320ad994afb2c arch/i386/pci/pci.h dean gaudet 2007-08-10 176
:::::: The code at line 97 was first introduced by commit
:::::: d19f61f098ae9315b76a97962007f687683916d4 x86/PCI: Convert pci_config_lock to raw_spinlock
:::::: TO: Thomas Gleixner <tglx(a)linutronix.de>
:::::: CC: Jesse Barnes <jbarnes(a)virtuousgeek.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
4 months
Re: [PATCH 3/4] acpi: exsystem: Warn about sleeps greater than 50 ms
by Moore, Robert
So, this is the current implementation:
/*
* For compatibility with other ACPI implementations and to prevent
* accidental deep sleeps, limit the sleep time to something reasonable.
*/
if (HowLong > ACPI_MAX_SLEEP)
{
HowLong = ACPI_MAX_SLEEP;
}
AcpiOsSleep (HowLong);
Where ACPI_MAX_SLEEP is:
#define ACPI_MAX_SLEEP 2000 /* 2000 millisec == two seconds */
-----Original Message-----
From: Paul Menzel <pmenzel(a)molgen.mpg.de>
Sent: Thursday, February 24, 2022 3:38 AM
To: Moore, Robert <robert.moore(a)intel.com>; Wysocki, Rafael J <rafael.j.wysocki(a)intel.com>; Len Brown <lenb(a)kernel.org>
Cc: Paul Menzel <pmenzel(a)molgen.mpg.de>; linux-acpi(a)vger.kernel.org; devel(a)acpica.org; linux-kernel(a)vger.kernel.org
Subject: [PATCH 3/4] acpi: exsystem: Warn about sleeps greater than 50 ms
Quick boottime is important, so warn about sleeps greater than 50 ms in ACPI.
50 ms is still long compared to distribution Linux kernels reaching initrd in 350 ms, so should probably changed to 10 ms, so people are aware about this.
Signed-off-by: Paul Menzel <pmenzel(a)molgen.mpg.de>
---
drivers/acpi/acpica/exsystem.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/acpi/acpica/exsystem.c b/drivers/acpi/acpica/exsystem.c index 00f66af31ffa..bdffb8aac05c 100644
--- a/drivers/acpi/acpica/exsystem.c
+++ b/drivers/acpi/acpica/exsystem.c
@@ -167,6 +167,11 @@ acpi_status acpi_ex_system_do_sleep(u64 how_long_ms)
acpi_ex_exit_interpreter();
+ if (how_long_ms > 50) {
+ ACPI_WARNING((AE_INFO,
+ "Time parameter %llu > 50 ms. Please contact firmware vendor for more responsive system.", how_long_ms));
+ }
+
/*
* For compatibility with other ACPI implementations and to prevent
* accidental deep sleeps, limit the sleep time to something reasonable.
--
2.35.1
4 months
Contribution copyright question
by bwicaksono@nvidia.com
To whom it may concern,
What is the acceptable method to mark code contribution by organization outside Intel ?
Will it be fine to add a new copyright line under "Copyright (c) 2000 – 2017 Intel Corp." ?
I could not find such case from previous commits. So I assumed this is prohibited, but want to get confirmation.
Regards,
Besar
4 months
[rafael-pm:bleeding-edge] BUILD SUCCESS 2ecb866af0048e96c331a206a876a935d3649f78
by kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 2ecb866af0048e96c331a206a876a935d3649f78 Merge branch 'thermal-hfi' into linux-next
elapsed time: 731m
configs tested: 168
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-20220221
sh kfr2r09-romimage_defconfig
arm corgi_defconfig
ia64 alldefconfig
sh secureedge5410_defconfig
mips mpc30x_defconfig
sh kfr2r09_defconfig
powerpc wii_defconfig
sh rts7751r2dplus_defconfig
mips gcw0_defconfig
mips decstation_64_defconfig
sh lboxre2_defconfig
xtensa virt_defconfig
ia64 tiger_defconfig
arm iop32x_defconfig
sh shx3_defconfig
h8300 h8300h-sim_defconfig
arm aspeed_g5_defconfig
m68k hp300_defconfig
arm xcep_defconfig
xtensa common_defconfig
sh se7721_defconfig
alpha alldefconfig
sh se7724_defconfig
mips allyesconfig
arm jornada720_defconfig
sh allmodconfig
powerpc storcenter_defconfig
mips tb0226_defconfig
mips ip32_defconfig
sh hp6xx_defconfig
m68k m5208evb_defconfig
s390 allmodconfig
mips bmips_be_defconfig
m68k m5407c3_defconfig
s390 allyesconfig
m68k m5475evb_defconfig
arm nhk8815_defconfig
arm pxa3xx_defconfig
powerpc warp_defconfig
sh sh2007_defconfig
arm gemini_defconfig
powerpc pasemi_defconfig
m68k sun3x_defconfig
mips cobalt_defconfig
arm clps711x_defconfig
arm pleb_defconfig
powerpc holly_defconfig
sh sh7770_generic_defconfig
xtensa cadence_csp_defconfig
powerpc amigaone_defconfig
powerpc redwood_defconfig
sh ecovec24-romimage_defconfig
powerpc ps3_defconfig
mips jmr3927_defconfig
microblaze defconfig
mips db1xxx_defconfig
arc tb10x_defconfig
arm mvebu_v7_defconfig
powerpc cell_defconfig
powerpc iss476-smp_defconfig
sh rsk7269_defconfig
powerpc tqm8555_defconfig
sh apsh4ad0a_defconfig
arm sunxi_defconfig
arm randconfig-c002-20220221
ia64 allmodconfig
ia64 defconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
m68k allyesconfig
nds32 allnoconfig
nios2 defconfig
arc allyesconfig
nds32 defconfig
nios2 allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
xtensa allyesconfig
h8300 allyesconfig
arc defconfig
parisc defconfig
s390 defconfig
parisc64 defconfig
parisc allyesconfig
i386 allyesconfig
sparc allyesconfig
sparc defconfig
i386 defconfig
i386 debian-10.3-kselftests
i386 debian-10.3
mips allmodconfig
powerpc allyesconfig
powerpc allmodconfig
powerpc allnoconfig
x86_64 randconfig-a003-20220221
x86_64 randconfig-a002-20220221
x86_64 randconfig-a005-20220221
x86_64 randconfig-a006-20220221
x86_64 randconfig-a001-20220221
x86_64 randconfig-a004-20220221
i386 randconfig-a002-20220221
i386 randconfig-a001-20220221
i386 randconfig-a005-20220221
i386 randconfig-a003-20220221
i386 randconfig-a006-20220221
i386 randconfig-a004-20220221
arc randconfig-r043-20220221
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 rhel-8.3-func
x86_64 kexec
clang tested configs:
powerpc randconfig-c003-20220222
x86_64 randconfig-c007
arm randconfig-c002-20220222
mips randconfig-c004-20220222
i386 randconfig-c001
riscv randconfig-c006-20220222
powerpc randconfig-c003-20220221
x86_64 randconfig-c007-20220221
arm randconfig-c002-20220221
mips randconfig-c004-20220221
i386 randconfig-c001-20220221
riscv randconfig-c006-20220221
s390 randconfig-c005-20220221
arm moxart_defconfig
arm colibri_pxa270_defconfig
powerpc pmac32_defconfig
powerpc mpc8272_ads_defconfig
arm vexpress_defconfig
arm collie_defconfig
powerpc mpc866_ads_defconfig
arm colibri_pxa300_defconfig
powerpc ppc44x_defconfig
x86_64 randconfig-a011-20220221
x86_64 randconfig-a015-20220221
x86_64 randconfig-a014-20220221
x86_64 randconfig-a016-20220221
x86_64 randconfig-a013-20220221
x86_64 randconfig-a012-20220221
i386 randconfig-a016-20220221
i386 randconfig-a012-20220221
i386 randconfig-a015-20220221
i386 randconfig-a011-20220221
i386 randconfig-a014-20220221
i386 randconfig-a013-20220221
hexagon randconfig-r045-20220221
hexagon randconfig-r041-20220221
riscv randconfig-r042-20220221
hexagon randconfig-r045-20220222
hexagon randconfig-r041-20220222
s390 randconfig-r044-20220221
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
4 months
Re: [PATCH] ACPICA: use swap() to make code cleaner
by Rafael J. Wysocki
On Tue, Feb 15, 2022 at 1:52 AM <davidcomponentone(a)gmail.com> wrote:
>
> From: Yang Guang <yang.guang5(a)zte.com.cn>
>
> Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid
> opencoding it.
>
> Reported-by: Zeal Robot <zealci(a)zte.com.cn>
> Signed-off-by: Yang Guang <yang.guang5(a)zte.com.cn>
> Signed-off-by: David Yang <davidcomponentone(a)gmail.com>
> ---
> drivers/acpi/acpica/nsrepair2.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/drivers/acpi/acpica/nsrepair2.c b/drivers/acpi/acpica/nsrepair2.c
> index 14b71b41e845..ac6a5397660f 100644
> --- a/drivers/acpi/acpica/nsrepair2.c
> +++ b/drivers/acpi/acpica/nsrepair2.c
> @@ -875,7 +875,6 @@ acpi_ns_sort_list(union acpi_operand_object **elements,
> {
> union acpi_operand_object *obj_desc1;
> union acpi_operand_object *obj_desc2;
> - union acpi_operand_object *temp_obj;
> u32 i;
> u32 j;
>
> @@ -892,9 +891,7 @@ acpi_ns_sort_list(union acpi_operand_object **elements,
> || ((sort_direction == ACPI_SORT_DESCENDING)
> && (obj_desc1->integer.value <
> obj_desc2->integer.value))) {
> - temp_obj = elements[j - 1];
> - elements[j - 1] = elements[j];
> - elements[j] = temp_obj;
> + swap(elements[j - 1], elements[j]);
> }
> }
> }
> --
This is an ACPICA change that should be routed through the upstream
project at https://github.com/acpica/acpica, but there is no
counterpart of swap() in the upstream code base.
4 months