[PATCH v5 5/5] s390/vmcore: Use vmcore for zfcpdump

Michael Holzheu holzheu at linux.vnet.ibm.com
Wed Jun 12 05:14:22 EDT 2013


On Wed, 12 Jun 2013 08:47:52 +0900
HATAYAMA Daisuke <d.hatayama at jp.fujitsu.com> wrote:

> (2013/06/08 1:56), Michael Holzheu wrote:
[snip]
> > +static int remap_oldmem_pfn_range_zfcpdump(struct vm_area_struct *vma,
> > +					   unsigned long from,
> > +					   unsigned long pfn,
> > +					   unsigned long size, pgprot_t prot)
> > +{
> > +	unsigned long size_hsa;
> > +
> > +	if (pfn < ZFCPDUMP_HSA_SIZE >> PAGE_SHIFT) {
> > +		size_hsa = min(size, OLDMEM_SIZE - (pfn << PAGE_SHIFT));
> 
> ZFCPDUMP_HSA_SIZE?

Correct!

Michael




More information about the kexec mailing list