+ s390-vmcore-use-vmcore-for-zfcpdump.patch added to -mm tree
Subject: + s390-vmcore-use-vmcore-for-zfcpdump.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 26 Jul 2013 13:20:58 -0700
The patch titled
Subject: s390/vmcore: use vmcore for zfcpdump
has been added to the -mm tree. Its filename is
s390-vmcore-use-vmcore-for-zfcpdump.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/s390-vmcore-use-vmcore-for-zfcpdump.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/s390-vmcore-use-vmcore-for-zfcpdump.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Michael Holzheu <[email protected]>
Subject: s390/vmcore: use vmcore for zfcpdump
Modify the s390 copy_oldmem_page() and remap_oldmem_pfn_range() function for zfcpdump to read from the HSA memory if memory below HSA_SIZE bytes is requested. Otherwise real memory is used.
---
arch/s390/Kconfig | 3 arch/s390/include/asm/sclp.h | 1 arch/s390/kernel/crash_dump.c | 122 +++++++++++++++++++++++++++----- drivers/s390/char/zcore.c | 6 - 4 files changed, 110 insertions(+), 22 deletions(-)
arch/s390/Kconfig renamed from arch/s390/Kconfig~s390-vmcore-use-vmcore-for-zfcpdump +2 -1
@@ -514,6 +514,7 @@ config CRASH_DUMP bool "kernel crash dumps" depends on 64BIT && SMP select KEXEC + select ZFCPDUMP help Generate crash dump after being started by kexec. Crash dump kernels are loaded in the main kernel with kexec-tools
@@ -524,7 +525,7 @@ config CRASH_DUMP config ZFCPDUMP def_bool n prompt "zfcpdump support" - select SMP + depends on SMP help Select this option if you want to build an zfcpdump enabled kernel. Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this.
arch/s390/include/asm/sclp.h renamed from arch/s390/include/asm/sclp.h~s390-vmcore-use-vmcore-for-zfcpdump +1 -0
@@ -56,5 +56,6 @@ bool sclp_has_linemode(void);bool sclp_has_vt220 (void );int sclp_pci_configure (u32 fid);int sclp_pci_deconfigure (u32 fid); +int memcpy_hsa (void *dest,unsigned long src,size_t count,int mode);#endif /* _ASM_S390_SCLP_H */
arch/s390/kernel/crash_dump.c renamed from arch/s390/kernel/crash_dump.c~s390-vmcore-use-vmcore-for-zfcpdump +104 -18
173 lines not on this page · raw message
drivers/s390/char/zcore.c renamed from drivers/s390/char/zcore.c~s390-vmcore-use-vmcore-for-zfcpdump +3 -3
@@ -30,8 +30,8 @@ #define TRACE(x...) debug_sprintf_event(zcore_dbf, 1, x) -#define TO_USER 0 -#define TO_KERNEL 1 +#define TO_USER 1 +#define TO_KERNEL 0#define CHUNK_INFO_SIZE 34/* 2 16-byte char, each followed by blank */ enum arch_id {
@@ -73,7 +73,7 @@ static struct ipl_parameter_block *ipl_b* @count: Size of buffer, which should be copied * @mode: Either TO_KERNEL or TO_USER */ -static int memcpy_hsa (void *dest,unsigned long src,size_t count,int mode) +int memcpy_hsa (void *dest,unsigned long src,size_t count,int mode) {int offs, blk_num; static char buf[PAGE_SIZE] __attribute__((__aligned__(PAGE_SIZE)));
_
Patches currently in -mm which might be from [email protected] are
vmcore-introduce-elf-header-in-new-memory-feature.patch s390-vmcore-use-elf-header-in-new-memory-feature.patch vmcore-introduce-remap_oldmem_pfn_range.patch s390-vmcore-implement-remap_oldmem_pfn_range-for-s390.patch vmcore-enable-proc-vmcore-mmap-for-s390.patch s390-vmcore-use-vmcore-for-zfcpdump.patch