kernel-fxtec-pro1x/arch/powerpc/platforms/iseries
Anton Blanchard 7aa241fdce powerpc: Fix bogus it_blocksize in VIO iommu code
When looking at some issues with the virtual ethernet driver I noticed
that TCE allocation was following a very strange pattern:

address 00e9000 length 2048
address 0409000 length 2048 <-----
address 0429000 length 2048
address 0449000 length 2048
address 0469000 length 2048
address 0489000 length 2048
address 04a9000 length 2048
address 04c9000 length 2048
address 04e9000 length 2048
address 4009000 length 2048 <-----
address 4029000 length 2048

Huge unexplained gaps in what should be an empty TCE table. It turns out
it_blocksize, the amount we want to align the next allocation to, was
c0000000fe903b20. Completely bogus.

Initialise it to something reasonable in the VIO IOMMU code, and use kzalloc
everywhere to protect against this when we next add a non compulsary
field to iommu code and forget to initialise it.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2010-08-24 15:26:31 +10:00
..
call_hpt.h
call_pci.h
call_sm.h
dt.c powerpc/iseries: Remove compiler version dependent hack 2009-10-27 16:42:39 +11:00
exception.h powerpc: Use names rather than numbers for SPRGs (v2) 2009-08-20 10:12:27 +10:00
exception.S powerpc: Avoid bad relocations in iSeries code 2010-05-21 17:31:08 +10:00
htab.c powerpc: Replace old style lock initializer 2009-11-24 14:31:28 +11:00
hvcall.S
hvlog.c
hvlpconfig.c
iommu.c powerpc: Fix bogus it_blocksize in VIO iommu code 2010-08-24 15:26:31 +10:00
ipl_parms.h
irq.c powerpc: Remove whitespace in irq chip name fields 2010-02-17 14:02:48 +11:00
irq.h
it_exp_vpd_panel.h
it_lp_naca.h
Kconfig viocd: needs to depend on BLOCK 2009-05-12 13:28:23 +02:00
ksyms.c
lpardata.c
lpevents.c
main_store.h
Makefile powerpc/iseries: Remove compiler version dependent hack 2009-10-27 16:42:39 +11:00
mf.c of/address: Clean up function declarations 2010-08-01 01:42:42 -06:00
misc.S
naca.h
pci.c powerpc/iseries: Fix possible null pointer dereference in iSeries_pcibios_fixup_resources 2010-07-08 18:11:43 +10:00
pci.h
proc.c powerpc: Remove trailing space in messages 2010-02-09 13:56:23 +11:00
processor_vpd.h
release_data.h
setup.c powerpc: Remove trailing space in messages 2010-02-09 13:56:23 +11:00
setup.h
smp.c powerpc/cpumask: Convert iseries SMP code to new cpumask API 2010-05-06 17:16:15 +10:00
smp.h
spcomm_area.h
vio.c powerpc/iseries: Use kstrdup 2010-07-09 11:28:36 +10:00
viopath.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vpd_areas.h