]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: Move cache and TLB flushes over to method ops.
authorDavid S. Miller <davem@davemloft.net>
Mon, 14 May 2012 03:49:31 +0000 (20:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 May 2012 03:49:31 +0000 (20:49 -0700)
commitb89e2468c2bcf9bcc1030158a31f255114dd15f3
treefb3f20377d8567af11be07c383ff21bf5fc6850a
parentc36fb47b9c8cc87d672bd2141a72c05c69527201
sparc32: Move cache and TLB flushes over to method ops.

This eliminated most of the remaining users of btfixup.

There are some complications because of the special cases we
have for sun4d, leon, and some flavors of viking.

It was found that there are no cases where a flush_page_for_dma
method was not hooked up to something, so the "noflush" iommu
methods were removed.

Add some documentation to the viking_sun4d_smp_ops to describe exactly
the hardware bug which causes us to need special TLB flushing on
sun4d.

Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
arch/sparc/include/asm/cacheflush_32.h
arch/sparc/include/asm/cachetlb_32.h [new file with mode: 0644]
arch/sparc/include/asm/tlbflush_32.h
arch/sparc/kernel/leon_kernel.c
arch/sparc/kernel/leon_smp.c
arch/sparc/kernel/smp_32.c
arch/sparc/kernel/sun4d_irq.c
arch/sparc/kernel/sun4d_smp.c
arch/sparc/kernel/sun4m_irq.c
arch/sparc/kernel/sun4m_smp.c
arch/sparc/mm/btfixup.c
arch/sparc/mm/iommu.c
arch/sparc/mm/srmmu.c