linux-stable/arch
Xunlei Pang 5203f4995d powerpc/fadump: use the correct VMCOREINFO_NOTE_SIZE for phdr
vmcoreinfo_max_size stands for the vmcoreinfo_data, the correct one we
should use is vmcoreinfo_note whose total size is VMCOREINFO_NOTE_SIZE.

Like explained in commit 77019967f0 ("kdump: fix exported size of
vmcoreinfo note"), it should not affect the actual function, but we
better fix it, also this change should be safe and backward compatible.

After this, we can get rid of variable vmcoreinfo_max_size, let's use
the corresponding macros directly, fewer variables means more safety for
vmcoreinfo operation.

[xlpang@redhat.com: fix build warning]
  Link: http://lkml.kernel.org/r/1494830606-27736-1-git-send-email-xlpang@redhat.com
Link: http://lkml.kernel.org/r/1493281021-20737-2-git-send-email-xlpang@redhat.com
Signed-off-by: Xunlei Pang <xlpang@redhat.com>
Reviewed-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Reviewed-by: Dave Young <dyoung@redhat.com>
Cc: Hari Bathini <hbathini@linux.vnet.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-07-12 16:25:59 -07:00
..
alpha
arc
arm arm: move ELF_ET_DYN_BASE to 4MB 2017-07-10 16:32:36 -07:00
arm64 arm64: move ELF_ET_DYN_BASE to 4GB / 4MB 2017-07-10 16:32:36 -07:00
blackfin
c6x
cris
frv frv: cmpxchg: implement cmpxchg64() 2017-07-10 16:32:34 -07:00
h8300
hexagon
ia64 kexec: move vmcoreinfo out of the kernel's .bss section 2017-07-12 16:25:59 -07:00
m32r
m68k Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu 2017-07-11 09:52:56 -07:00
metag
microblaze
mips lib/extable.c: use bsearch() library function in search_extable() 2017-07-10 16:32:35 -07:00
mn10300
nios2
openrisc
parisc
powerpc powerpc/fadump: use the correct VMCOREINFO_NOTE_SIZE for phdr 2017-07-12 16:25:59 -07:00
s390 kexec: move vmcoreinfo out of the kernel's .bss section 2017-07-12 16:25:59 -07:00
score
sh lib/extable.c: use bsearch() library function in search_extable() 2017-07-10 16:32:35 -07:00
sparc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc 2017-07-11 21:34:24 -07:00
tile
um
unicore32
x86 kexec: move vmcoreinfo out of the kernel's .bss section 2017-07-12 16:25:59 -07:00
xtensa
.gitignore
Kconfig