android_kernel_xiaomi_sm7250/arch/x86_64/kernel
Mike Waychison 5b20192727 [PATCH] x86_64: Fix a race in the free_iommu path
We do this by removing a micro-optimization that tries to avoid grabbing
the iommu_bitmap_lock spinlock and using a bus-locked operation.

This still races with other simultaneous alloc_iommu or free_iommu(size >
1) which both use bus-unlocked operations.

The end result of this race is eventually ending up with an
iommu_gart_bitmap that has bits errornously set all over, making large
contiguous iommu space allocations fail with 'PCI-DMA: Out of IOMMU space'.

Signed-off-by: Mike Waychison <mikew@google.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-22 09:19:52 -07:00
..
acpi
cpufreq
aperture.c
apic.c
asm-offsets.c
crash_dump.c
crash.c
e820.c
early_printk.c
entry.S
functionlist
genapic_cluster.c
genapic_flat.c
genapic.c
head64.c
head.S
i387.c
i8259.c
init_task.c
io_apic.c
ioport.c
irq.c
kprobes.c
ldt.c
machine_kexec.c
Makefile
mce_amd.c
mce_intel.c
mce.c
module.c
mpparse.c
nmi.c
pci-dma.c
pci-gart.c
pci-nommu.c
pci-swiotlb.c
pmtimer.c
process.c
ptrace.c
reboot.c
relocate_kernel.S
setup64.c
setup.c
signal.c
smp.c
smpboot.c
suspend_asm.S
suspend.c
sys_x86_64.c
syscall.c
time.c
trampoline.S
traps.c
vmlinux.lds.S
vsmp.c
vsyscall.c
x8664_ksyms.c