android_kernel_xiaomi_sm8350/arch/sparc64
David S. Miller 2f3a2efd85 [SPARC64]: Fix SBUS IOMMU allocation code.
There are several IOMMU allocator bugs.  Instead of trying to fix this
overly complicated code, just mirror the PCI IOMMU arena allocator
which is very stable and well stress tested.

I tried to make the code as identical as possible so we can switch
sun4u PCI and SBUS over to a common piece of IOMMU code.  All that
will be need are two callbacks, one to do a full IOMMU flush and one
to do a streaming buffer flush.

This patch gets rid of a lot of hangs and mysterious crashes on SBUS
sparc64 systems, at least for me.

Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-11 23:56:10 -07:00
..
boot
kernel [SPARC64]: Fix SBUS IOMMU allocation code. 2007-04-11 23:56:10 -07:00
lib [SPARC64]: store-init needs trailing membar. 2007-03-19 13:27:33 -07:00
math-emu [SPARC64] math-emu: Delete debugging printk left by previous commit. 2006-03-20 01:13:53 -08:00
mm [SPARC64]: Get DEBUG_PAGEALLOC working again. 2007-03-16 17:20:28 -07:00
oprofile
prom [SPARC]: Kill prom_getname, unused and not implemented properly. 2006-07-21 14:17:55 -07:00
solaris [PATCH] mark struct file_operations const 2 2007-02-12 09:48:44 -08:00
defconfig [SPARC64]: Use Kconfig.preempt 2007-03-17 15:23:22 -07:00
Kconfig [SPARC64]: Use Kconfig.preempt 2007-03-17 15:23:22 -07:00
Kconfig.debug [SPARC64]: Add irqtrace/stacktrace/lockdep support. 2006-12-10 02:39:09 -08:00
Makefile