linux-stable/arch/powerpc/include/asm
Benjamin Herrenschmidt 8b31e49d1d powerpc: Fix up dma_alloc_coherent() on platforms without cache coherency.
The implementation we just revived has issues, such as using a
Kconfig-defined virtual address area in kernel space that nothing
actually carves out (and thus will overlap whatever is there),
or having some dependencies on being self contained in a single
PTE page which adds unnecessary constraints on the kernel virtual
address space.

This fixes it by using more classic PTE accessors and automatically
locating the area for consistent memory, carving an appropriate hole
in the kernel virtual address space, leaving only the size of that
area as a Kconfig option. It also brings some dma-mask related fixes
from the ARM implementation which was almost identical initially but
grew its own fixes.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-05-27 16:33:59 +10:00
..
iseries powerpc/iseries: Fix pci breakage due to bad dma_data initialization 2009-05-15 16:43:41 +10:00
8xx_immap.h
8253pit.h
abs_addr.h
agp.h
asm-compat.h
atomic.h
auxvec.h
backlight.h
bitops.h
bootx.h
btext.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
cell-pmu.h
cell-regs.h
checksum.h
clk_interface.h
code-patching.h
compat.h
cpm.h
cpm1.h
cpm2.h
cputable.h
cputhreads.h
cputime.h
current.h
dbdma.h
dbell.h
dcr-generic.h
dcr-mmio.h
dcr-native.h
dcr-regs.h
dcr.h
delay.h
device.h
disassemble.h
div64.h
dma-mapping.h powerpc: Fix up dma_alloc_coherent() on platforms without cache coherency. 2009-05-27 16:33:59 +10:00
dma.h
edac.h
eeh.h
eeh_event.h
elf.h powerpc: ppc32 needs elf_read_implies_exec() 2009-04-28 13:52:19 +10:00
emergency-restart.h
errno.h
exception.h
fb.h
fcntl.h
feature-fixups.h
firmware.h
fixmap.h powerpc: Minor cleanups of kernel virt address space definitions 2009-05-27 16:32:50 +10:00
floppy.h
fs_pd.h
fsl_gtm.h
fsl_lbc.h
ftrace.h
futex.h powerpc: Fix data-corrupting bug in __futex_atomic_op 2009-04-15 15:23:53 +10:00
gpio.h
grackle.h
hardirq.h
heathrow.h
highmem.h mm: use debug_kmap_atomic 2009-04-01 08:59:14 -07:00
hugetlb.h
hvcall.h
hvconsole.h
hvcserver.h
hw_irq.h
hydra.h
i8259.h
ibmebus.h
ide.h
immap_86xx.h
immap_cpm2.h
immap_qe.h
io-defs.h
io.h
ioctl.h
ioctls.h
iommu.h
ipcbuf.h
ipic.h
irq.h
irq_regs.h
irqflags.h
Kbuild
kdebug.h
kdump.h
kexec.h
keylargo.h
kgdb.h
kmap_types.h
kprobes.h
kvm.h Merge branch 'header-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-03-26 16:11:41 -07:00
kvm_44x.h
kvm_asm.h
kvm_e500.h
kvm_host.h
kvm_para.h
kvm_ppc.h
libata-portmap.h
linkage.h
lmb.h
local.h
lppaca.h powerpc/pseries: Add dispatch dispersion statistics 2009-04-07 15:18:59 +10:00
lv1call.h
machdep.h
macio.h
mc146818rtc.h
mediabay.h
mman.h
mmu-8xx.h
mmu-40x.h
mmu-44x.h
mmu-book3e.h Merge commit 'origin/master' into next 2009-03-30 14:04:53 +11:00
mmu-hash32.h
mmu-hash64.h
mmu.h Revert "powerpc: Add support for early tlbilx opcode" 2009-04-23 08:51:22 -05:00
mmu_context.h
mmzone.h
module.h
mpc6xx.h
mpc8xx.h
mpc52xx.h
mpc52xx_psc.h
mpc86xx.h
mpc512x.h
mpc8260.h
mpic.h powerpc: Add support for CoreInt delivery of interrupts on MPIC 2009-04-06 09:09:14 -05:00
msgbuf.h
msi_bitmap.h
mutex.h
nvram.h
of_device.h
of_platform.h of: make of_(un)register_platform_driver common code 2009-05-02 15:36:10 -07:00
ohare.h
oprofile_impl.h
paca.h
page.h
page_32.h
page_64.h
param.h
parport.h parport_pc: Fix build failure drivers/parport/parport_pc.c for powerpc 2009-04-14 08:48:50 -07:00
pasemi_dma.h
pci-bridge.h
pci.h
percpu.h
pgalloc-32.h
pgalloc-64.h
pgalloc.h
pgtable-ppc32.h powerpc: Fix up dma_alloc_coherent() on platforms without cache coherency. 2009-05-27 16:33:59 +10:00
pgtable-ppc64-4k.h
pgtable-ppc64-64k.h
pgtable-ppc64.h
pgtable.h
phyp_dump.h
pmac_feature.h
pmac_low_i2c.h
pmac_pfunc.h
pmc.h
pmi.h
poll.h
posix_types.h
ppc-opcode.h Revert "powerpc: Add support for early tlbilx opcode" 2009-04-23 08:51:22 -05:00
ppc-pci.h
ppc4xx.h
ppc_asm.h powerpc: Use __REF macro instead of old .text.init.refok. 2009-04-27 19:51:58 -07:00
processor.h powerpc: Sanitize stack pointer in signal handling code 2009-03-27 16:58:24 +11:00
prom.h
ps3.h powerpc/ps3: Add rtc-ps3 2009-04-02 01:05:32 +00:00
ps3av.h
ps3fb.h powerpc: Remove duplicated #include's 2009-04-07 15:18:58 +10:00
ps3stor.h
pSeries_reconfig.h
pte-8xx.h
pte-40x.h
pte-44x.h
pte-common.h powerpc: Fix oops when loading modules 2009-04-07 15:19:01 +10:00
pte-fsl-booke.h
pte-hash32.h
pte-hash64-4k.h
pte-hash64-64k.h
pte-hash64.h
ptrace.h
qe.h
qe_ic.h
reg.h powerpc: Move SPEFSCR defines to common header 2009-04-02 10:41:31 -05:00
reg_8xx.h
reg_booke.h powerpc: Move SPEFSCR defines to common header 2009-04-02 10:41:31 -05:00
reg_fsl_emb.h
resource.h
rheap.h
rio.h
rtas.h powerpc/pseries: Scan for all events in rtasd 2009-04-07 15:18:59 +10:00
rtc.h
rwsem.h
scatterlist.h
seccomp.h
sections.h
sembuf.h
serial.h
setjmp.h
setup.h
sfp-machine.h powerpc/math-emu: Change types to work on ppc64 2009-04-02 16:17:36 -05:00
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
smu.h
socket.h
sockios.h
sparsemem.h
spinlock.h Allow rwlocks to re-enable interrupts 2009-04-02 19:05:11 -07:00
spinlock_types.h
spu.h
spu_csa.h
spu_info.h
spu_priv1.h
sstep.h
stat.h
statfs.h
string.h
suspend.h pm: cleanup includes 2009-04-01 08:59:16 -07:00
swab.h
synch.h
syscall.h
syscalls.h
systbl.h powerpc: Wire up preadv and pwritev 2009-04-07 15:19:00 +10:00
system.h powerpc: Allow mem=x cmdline to work with 4G+ 2009-05-15 16:43:41 +10:00
tce.h
termbits.h
termios.h
thread_info.h
time.h
timex.h
tlb.h
tlbflush.h
topology.h cpumask: remove node_to_first_cpu 2009-03-30 22:05:12 +10:30
tsi108.h
tsi108_irq.h
tsi108_pci.h
types.h
uaccess.h
ucc.h
ucc_fast.h
ucc_slow.h
ucontext.h
udbg.h
uic.h
unaligned.h
uninorth.h
unistd.h powerpc: Wire up preadv and pwritev 2009-04-07 15:19:00 +10:00
user.h
vdso.h
vdso_datapage.h
vga.h
vio.h
xilinx_intc.h
xmon.h
xor.h