linux/arch/powerpc/platforms
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
..
4xx ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
8xx powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
83xx powerpc: converted embedded platforms to use new define_machine support 2006-03-30 23:39:57 -06:00
85xx Add 85xx CDS to arch/powerpc 2006-04-04 16:09:18 -05:00
86xx [POWERPC] Remove obsolete #include <linux/config.h>. 2006-06-28 11:52:22 +10:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell spelling fixes 2006-06-26 18:35:02 +02:00
chrp powerpc: Fix CHRP booting - needs a define_machine call 2006-04-05 16:01:45 +10:00
embedded6xx [PATCH] powerpc: Updated Kconfig and Makefiles for 83xx support 2006-01-11 15:35:29 +11:00
iseries [POWERPC] node local IOMMU tables 2006-06-15 19:31:26 +10:00
maple [PATCH] powerpc: Don't print chosen idle loop at every boot 2006-04-22 18:45:11 +10:00
powermac [PATCH] Rewritten backlight infrastructure for portable Apple computers 2006-06-25 10:00:59 -07:00
prep powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
pseries [POWERPC] kdump: Reserve the existing TCE mappings left by the first kernel 2006-06-28 11:59:46 +10:00
Makefile [POWERPC] Add the mpc8641 hpcn Kconfig and Makefiles. 2006-06-21 15:01:27 +10:00