android_kernel_samsung_msm8976/arch/powerpc/platforms/pseries
Haren Myneni 5f50867b4f [POWERPC] kdump: Reserve the existing TCE mappings left by the first kernel
During kdump boot, noticed some machines checkstop on dma protection
fault for ongoing DMA left in the first kernel. Instead of initializing
TCE entries in iommu_init() for the kdump boot, this patch fixes this
issue by walking through the each TCE table and checks whether the
entries are in use by the first kernel. If so, reserve those entries by
setting the corresponding bit in tbl->it_map such that these entries
will not be available for the kdump boot.

However it could be possible that all TCE entries might be used up due
to the driver bug that does continuous mapping. My observation is around
1700 TCE  entries are used on some systems (Ex: P4) at some point of
time during kdump boot and saving dump (either write into the disk or
sending to remote machine). Hence, this patch will make sure that
minimum of 2048 entries will be available such that kdump boot could be
successful in some cases.

Signed-off-by: Haren Myneni <haren@us.ibm.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-06-28 11:59:46 +10:00
..
eeh.c [PATCH] powerpc/pseries: bugfix: balance calls to pci_device_put 2006-04-13 09:34:15 -07:00
eeh_cache.c spelling fixes 2006-06-26 18:35:02 +02:00
eeh_driver.c [POWERPC] pseries: Print PCI slot location code on failure 2006-06-21 15:01:32 +10:00
eeh_event.c Merge ../linux-2.6 2006-05-05 15:45:48 +10:00
firmware.c [PATCH] powerpc: Rename and export ppc64_firmware_features 2006-03-28 16:45:20 +11:00
firmware.h [PATCH] powerpc: Move pSeries firmware feature setup into platforms/pseries 2006-02-10 16:52:03 +11:00
hvCall.S [PATCH] powerpc: Extends HCALL interface for InfiniBand usage 2006-04-01 22:37:00 +11:00
hvconsole.c [PATCH] powerpc/pseries: Change H_StudlyCaps to H_SHOUTING_CAPS 2006-04-01 22:36:57 +11:00
hvcserver.c [PATCH] powerpc/pseries: Change H_StudlyCaps to H_SHOUTING_CAPS 2006-04-01 22:36:57 +11:00
iommu.c [POWERPC] kdump: Reserve the existing TCE mappings left by the first kernel 2006-06-28 11:59:46 +10:00
Kconfig powerpc: Disallow lparcfg being a module 2006-03-14 11:35:37 +11:00
lpar.c [PATCH] powerpc: Extends HCALL interface for InfiniBand usage 2006-04-01 22:37:00 +11:00
Makefile [POWERPC] Optimise some TOC usage 2006-06-15 19:31:25 +10:00
nvram.c powerpc: move pSeries files to arch/powerpc/platforms/pseries 2005-10-10 22:03:41 +10:00
pci.c [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00
pci_dlpar.c [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00
plpar_wrappers.h [PATCH] powerpc: Make ppc_md.set_dabr non 64-bit specific 2005-11-07 13:31:13 +11:00
ras.c [PATCH] powerpc: Fix some initcall return values 2006-03-28 16:45:34 +11:00
ras.h [PATCH] cell: enable pause(0) in cpu_idle 2006-01-09 15:44:32 +11:00
reconfig.c Merge ../linux-2.6 2006-03-29 13:24:50 +11:00
rtasd.c [PATCH] powerpc: Quiet rtasd output at boot 2006-04-22 18:46:07 +10:00
scanlog.c [POWERPC] RTAS delay, fix module build breaks 2006-06-21 15:01:27 +10:00
setup.c Merge branch 'merge' 2006-06-12 17:53:34 +10:00
smp.c [PATCH] powerpc: Replace platform_is_lpar() with a firmware feature 2006-03-22 15:04:17 +11:00
xics.c [PATCH] powerpc: Lack of ISA interrupts on XICS isn't dangerous 2006-04-22 18:45:13 +10:00
xics.h [PATCH] powerpc: Move xics.[ch] into platforms/pseries 2005-10-28 16:39:19 +10:00