x86, calgary: Use 8M TCE table size by default
authorWANG Chao <chaowang@redhat.com>
Mon, 10 Mar 2014 14:52:00 +0000 (22:52 +0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 11 Apr 2014 02:51:32 +0000 (19:51 -0700)
commit0534af01cca338193abbfdb53650af91e65dbf10
tree420c080426b959c5ee10e40b8cc43af66c5b87f6
parentc71ef7b3c3be3337deaf1eb28dd26e0d5d4b4aa7
x86, calgary: Use 8M TCE table size by default

New kexec-tools wants to pass kdump kernel needed memmap via E820
directly, instead of memmap=exactmap. This makes saved_max_pfn not
be passed down to 2nd kernel. To keep 1st kernel and 2nd kernel using
the same TCE table size, Muli suggest to hard code the size to max (8M).

We can't get rid of saved_max_pfn this time, for backward compatibility
with old first kernel and new second kernel. However new first kernel
and old second kernel can not work unfortunately.

v2->v1:
- retain saved_max_pfn so new 2nd kernel can work with old 1st kernel
  from Vivek

Signed-off-by: WANG Chao <chaowang@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Acked-by: Muli Ben-Yehuda <mulix@mulix.org>
Acked-by: Jon Mason <jdmason@kudzu.us>
Link: http://lkml.kernel.org/r/1394463120-26999-1-git-send-email-chaowang@redhat.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/pci-calgary_64.c