linux/include/asm-mips
David S. Miller e24c2d963a [PATCH] PCI: DMA bursting advice
After seeing, at best, "guesses" as to the following kind
of information in several drivers, I decided that we really
need a way for platforms to specifically give advice in this
area for what works best with their PCI controller implementation.

Basically, this new interface gives DMA bursting advice on
PCI.  There are three forms of the advice:

1) Burst as much as possible, it is not necessary to end bursts
   on some particular boundary for best performance.

2) Burst on some byte count multiple.  A DMA burst to some multiple of
   number of bytes may be done, but it is important to end the burst
   on an exact multiple for best performance.

   The best example of this I am aware of are the PPC64 PCI
   controllers, where if you end a burst mid-cacheline then
   chip has to refetch the data and the IOMMU translations
   which hurts performance a lot.

3) Burst on a single byte count multiple.  Bursts shall end
   exactly on the next multiple boundary for best performance.

   Sparc64 and Alpha's PCI controllers operate this way.  They
   disconnect any device which tries to burst across a cacheline
   boundary.

   Actually, newer sparc64 PCI controllers do not have this behavior.
   That is why the "pdev" is passed into the interface, so I can
   add code later to check which PCI controller the system is using
   and give advice accordingly.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-06-27 21:52:45 -07:00
..
arc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cobalt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ddb5xxx Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dec Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
galileo-boards Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gcc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hp-lj Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip32 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
it8172 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jmr3927 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lasat Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-atlas Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-au1x00 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-db1x00 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ddb5074 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-dec Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ev64120 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ev96100 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-generic Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ip22 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ip27 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ip32 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ja Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-jazz Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-jmr3927/asm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-lasat Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-mips Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ocelot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ocelot3 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-pb1x00 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-rm200 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-sibyte Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-vr41xx Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-yosemite Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mips-boards Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sibyte Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sn Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tx4927 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vr41xx [PATCH] mips: add vr41xx gpio support 2005-06-21 18:46:32 -07:00
vr4181 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xtalk Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
8253pit.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
a.out.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
addrspace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asmmacro-32.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asmmacro-64.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asmmacro.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atomic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bcache.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bitops.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bootinfo.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
branch.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
break.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bug.h [PATCH] remove all kernel BUGs 2005-05-01 08:59:01 -07:00
bugs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
byteorder.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cachectl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cacheflush.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cacheops.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
checksum.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat.h [PATCH] compat: introduce compat_time_t 2005-06-23 09:45:32 -07:00
compiler.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpu-features.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpu-info.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cputime.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
current.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ddb5074.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
delay.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
div64.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma-mapping.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ds1286.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
elf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
errno.h [PATCH] add EOWNERDEAD and ENOTRECOVERABLE version 2 2005-05-01 08:59:06 -07:00
fcntl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fixmap.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
floppy.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fpregdef.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fpu_emulator.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gdb-stub.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gfx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gt64120.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gt64240.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hardirq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hazards.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hdreg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
highmem.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hw_irq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i8259.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ide.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inst.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
interrupt.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inventory.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ioctls.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipcbuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq_cpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isadep.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
it8712.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jazz.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jazzdma.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kmap_types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
linkage.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
local.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m48t35.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m48t37.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
marvell.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mc146818-time.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mc146818rtc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mipsprom.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mipsregs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mman.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmu_context.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmzone.h [PATCH] mips: add MIPS-specific support for flatmem/discontigmem 2005-06-25 16:24:25 -07:00
module.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
msc01_ic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
msgbuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
namei.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nile4.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
numnodes.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
paccess.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
page.h [PATCH] mips: add MIPS-specific support for flatmem/discontigmem 2005-06-25 16:24:25 -07:00
param.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci.h [PATCH] PCI: DMA bursting advice 2005-06-27 21:52:45 -07:00
percpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pgalloc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pgtable-32.h [PATCH] freepgt: arch FIRST_USER_ADDRESS 0 2005-04-19 13:29:23 -07:00
pgtable-64.h [PATCH] freepgt: arch FIRST_USER_ADDRESS 0 2005-04-19 13:29:23 -07:00
pgtable-bits.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pgtable.h [PATCH] mips: add MIPS-specific support for flatmem/discontigmem 2005-06-25 16:24:25 -07:00
pmon.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
poll.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
posix_types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prefetch.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
processor.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ptrace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
r4kcache.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
reboot.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
reg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
regdef.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
resource.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
riscos-syscall.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rtc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scatterlist.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sections.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
segment.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
semaphore.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sembuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
serial.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgialib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgiarcs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgidefs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shmbuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shmparam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sigcontext.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
siginfo.h [PATCH] consolidate SIGEV_PAD_SIZE 2005-05-01 08:59:08 -07:00
signal.h [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
sim.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smp.h [PATCH] smp_processor_id() cleanup 2005-06-21 18:46:13 -07:00
sni.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
socket.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sockios.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
spinlock.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stackframe.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stat.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
statfs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
string.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
suspend.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysmips.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
system.h [PATCH] sched: cleanup context switch locking 2005-06-25 16:24:43 -07:00
termbits.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
termios.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
thread_info.h [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
time.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
timex.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
titan_dep.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlbdebug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlbflush.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
topology.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
traps.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tx3912.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
uaccess.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ucontext.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
unaligned.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
unistd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
user.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vga.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
war.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
watch.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wbflush.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xor.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xxs1500.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00