android_kernel_oneplus_msm8998/arch/x86
Prarit Bhargava 92fe37c0f0 x86/PCI: Mark Broadwell-EP Home Agent 1 as having non-compliant BARs
[ Upstream commit da77b67195de1c65bef4908fa29967c4d0af2da2 ]

Commit b894157145e4 ("x86/PCI: Mark Broadwell-EP Home Agent & PCU as having
non-compliant BARs") marked Home Agent 0 & PCU has having non-compliant
BARs.  Home Agent 1 also has non-compliant BARs.

Mark Home Agent 1 as having non-compliant BARs so the PCI core doesn't
touch them.

The problem with these devices is documented in the Xeon v4 specification
update:

  BDF2          PCI BARs in the Home Agent Will Return Non-Zero Values
                During Enumeration

  Problem:      During system initialization the Operating System may access
                the standard PCI BARs (Base Address Registers).  Due to
                this erratum, accesses to the Home Agent BAR registers (Bus
                1; Device 18; Function 0,4; Offsets (0x14-0x24) will return
                non-zero values.

  Implication:  The operating system may issue a warning.  Intel has not
                observed any functional failures due to this erratum.

Link: http://www.intel.com/content/www/us/en/processors/xeon/xeon-e5-v4-spec-update.html
Fixes: b894157145e4 ("x86/PCI: Mark Broadwell-EP Home Agent & PCU as having non-compliant BARs")
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Ingo Molnar <mingo@redhat.com>
CC: "H. Peter Anvin" <hpa@zytor.com>
CC: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-11-10 07:41:36 -08:00
..
boot x86/cpufeature: Carve out X86_FEATURE_* 2018-07-17 11:31:44 +02:00
configs
crypto x86/fpu: Remove use_eager_fpu() 2018-10-20 09:52:37 +02:00
entry x86/vdso: Fix vDSO syscall fallback asm constraint regression 2018-10-13 09:11:32 +02:00
ia32
include x86/fpu: Finish excising 'eagerfpu' 2018-10-20 09:52:37 +02:00
kernel x86/fpu: Remove struct fpu::counter 2018-10-20 09:52:37 +02:00
kvm x86/fpu: Remove use_eager_fpu() 2018-10-20 09:52:37 +02:00
lguest
lib x86/cpufeature: Carve out X86_FEATURE_* 2018-07-17 11:31:44 +02:00
math-emu x86/fpu/math-emu: Fix possible uninitialized variable use 2018-02-25 11:03:43 +01:00
mm x86/mm/pat: Prevent hang during boot when mapping pages 2018-11-10 07:41:35 -08:00
net bpf, x64: increase number of passes 2018-03-28 18:40:17 +02:00
oprofile x86/cpufeature: Carve out X86_FEATURE_* 2018-07-17 11:31:44 +02:00
pci x86/PCI: Mark Broadwell-EP Home Agent 1 as having non-compliant BARs 2018-11-10 07:41:36 -08:00
platform x86/speculation: Use IBRS if available before calling into firmware 2018-07-25 10:18:21 +02:00
power x86/power: Fix swsusp_arch_resume prototype 2018-05-30 07:48:55 +02:00
purgatory
ras
realmode x86/pti/efi: broken conversion from efi to kernel page table 2018-01-17 09:35:29 +01:00
tools x86: Treat R_X86_64_PLT32 as R_X86_64_PC32 2018-03-18 11:17:52 +01:00
um um: Avoid longjmp/setjmp symbol clashes with libpthread.a 2018-11-10 07:41:35 -08:00
video
xen xen/x86/vpmu: Zero struct pt_regs before calling into sample handling code 2018-09-29 03:08:51 -07:00
.gitignore
Kbuild
Kconfig x86/cpu: Provide a config option to disable static_cpu_has 2018-07-17 11:31:44 +02:00
Kconfig.cpu
Kconfig.debug x86/cpufeature: Replace the old static_cpu_has() with safe variant 2018-07-17 11:31:44 +02:00
Makefile x86/build/64: Force the linker to use 2MB page size 2018-03-28 18:40:16 +02:00
Makefile.um
Makefile_32.cpu