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 [POWERPC] Kill typedef-ed structs for hash PTEs and BATs 2007-06-14 22:30:16 +10:00
call_pci.h [PATCH] powerpc: reintroduce HvCallPci_configLoad32 2006-05-24 16:08:56 +10:00
call_sm.h merge filename and modify references to iseries/hv_types.h 2005-11-02 13:46:07 +11:00
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 powerpc: Get iseries to compile with ARCH=powerpc 2005-10-10 22:52:26 +10:00
hvlog.c [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
hvlpconfig.c [POWERPC] iseries: Move ItLpNaca into platforms/iseries 2006-07-13 18:42:52 +10:00
iommu.c powerpc: Fix bogus it_blocksize in VIO iommu code 2010-08-24 15:26:31 +10:00
ipl_parms.h [POWERPC] iSeries: Localise and constify some iSeries data 2008-04-15 21:21:25 +10:00
irq.c powerpc: Remove whitespace in irq chip name fields 2010-02-17 14:02:48 +11:00
irq.h [POWERPC] iSeries_init_IRQ non-PCI tidy 2007-11-08 14:15:33 +11:00
it_exp_vpd_panel.h [POWERPC] iseries: Make ItExtVpdPanel private to iSeries 2006-07-13 18:42:29 +10:00
it_lp_naca.h [POWERPC] Typo fixes interrrupt -> interrupt 2007-08-17 11:01:51 +10:00
Kconfig viocd: needs to depend on BLOCK 2009-05-12 13:28:23 +02:00
ksyms.c [POWERPC] Lazy interrupt disabling for 64-bit machines 2006-10-16 16:31:36 +10:00
lpardata.c [POWERPC] iSeries: Localise and constify some iSeries data 2008-04-15 21:21:25 +10:00
lpevents.c powerpc: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
main_store.h [POWERPC] iseries: remove some gcc 4.1 warnings 2006-08-25 13:27:35 +10:00
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 [POWERPC] Lazy interrupt disabling for 64-bit machines 2006-10-16 16:31:36 +10:00
naca.h [POWERPC] iSeries: Localise and constify some iSeries data 2008-04-15 21:21:25 +10:00
pci.c powerpc/iseries: Fix possible null pointer dereference in iSeries_pcibios_fixup_resources 2010-07-08 18:11:43 +10:00
pci.h [POWERPC] fix iSeries PCI resource management 2007-12-20 16:18:10 +11:00
proc.c powerpc: Remove trailing space in messages 2010-02-09 13:56:23 +11:00
processor_vpd.h ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
release_data.h [POWERPC] iSeries: Localise and constify some iSeries data 2008-04-15 21:21:25 +10:00
setup.c powerpc: Remove trailing space in messages 2010-02-09 13:56:23 +11:00
setup.h [POWERPC] iSeries: Fix sparse warnings in setup.c 2007-12-03 13:56:27 +11:00
smp.c powerpc/cpumask: Convert iseries SMP code to new cpumask API 2010-05-06 17:16:15 +10:00
smp.h [POWERPC] Fix iseries/smp.c for irq breakage 2006-10-07 10:10:30 +10:00
spcomm_area.h [POWERPC] iSeries: Localise and constify some iSeries data 2008-04-15 21:21:25 +10:00
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 [POWERPC] iSeries: Localise and constify some iSeries data 2008-04-15 21:21:25 +10:00