All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baoquan He <bhe@redhat.com>
To: Jiri Bohac <jbohac@suse.cz>
Cc: Toshi Kani <toshi.kani@hpe.com>, David Airlie <airlied@linux.ie>,
	kexec@lists.infradead.org, linux-kernel@vger.kernel.org,
	Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Bjorn Helgaas <bhelgaas@google.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Dave Young <dyoung@redhat.com>, Vivek Goyal <vgoyal@redhat.com>
Subject: Re: [PATCH] x86/kexec: Exclude GART aperture from vmcore
Date: Mon, 6 Nov 2017 17:27:29 +0800	[thread overview]
Message-ID: <20171106092729.GB3669@x1> (raw)
In-Reply-To: <20171106090155.p7jhe2m57whfxma3@dwarf.suse.cz>

Hi Jiri,

Thanks for providing these information.

On 11/06/17 at 10:01am, Jiri Bohac wrote:
> Hi Baoquan,
> 
> 	[    0.000000] memblock_reserve: [0x00000000b8000000-0x00000000bbffffff] gart_iommu_hole_init+0x396/0x4b6
> 	[    0.000000] AGP: Mapping aperture over RAM [mem 0xb8000000-0xbbffffff] (65536KB)
> ^^^^^

> /proc/iomem:
> 	00000000-00000fff : Reserved
> 	00001000-0009d7ff : System RAM
> 	0009d800-0009ffff : Reserved
> 	000a0000-000bffff : PCI Bus 0000:00
> 	000c0000-000cafff : PCI Bus 0000:00
> 	  000c0000-000cafff : Video ROM
> 	000cb000-000ccfff : Adapter ROM
> 	000ce000-000fffff : Reserved
> 	  000f0000-000fffff : System ROM
> 	00100000-c7e7ffff : System RAM
> 	  0b000000-0b792eb5 : Kernel code
> 	  0b792eb6-0bd5d47f : Kernel data
> 	  0c274000-0c3c8fff : Kernel bss
> 	  b7000000-c6ffffff : Crash kernel

It's weird, gart aperture located in crashkernel region? Or we need
reserve the low crashkernel memory for gart aperture usage, Just like
swiotlb?

Sorry, I am not familiar with gart.

Thanks
Baoquan


> 	c7e80000-c7e8afff : ACPI Tables
> 	c7e8b000-c7e8cfff : ACPI Non-volatile Storage
> 	c7e8d000-c7ffffff : Reserved
> 	c8000000-ce0fffff : PCI Bus 0000:00
> 	  c8000000-c80003ff : IOAPIC 1
> 	  c8014000-c80143ff : 0000:00:11.0
> 	    c8014000-c80143ff : ahci
> 	  c8014400-c80144ff : 0000:00:12.2
> 	    c8014400-c80144ff : ehci_hcd
 
 

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

WARNING: multiple messages have this Message-ID (diff)
From: Baoquan He <bhe@redhat.com>
To: Jiri Bohac <jbohac@suse.cz>
Cc: David Airlie <airlied@linux.ie>, Dave Young <dyoung@redhat.com>,
	Vivek Goyal <vgoyal@redhat.com>,
	Bjorn Helgaas <bhelgaas@google.com>,
	Toshi Kani <toshi.kani@hpe.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
	linux-kernel@vger.kernel.org, kexec@lists.infradead.org,
	Borislav Petkov <bp@alien8.de>
Subject: Re: [PATCH] x86/kexec: Exclude GART aperture from vmcore
Date: Mon, 6 Nov 2017 17:27:29 +0800	[thread overview]
Message-ID: <20171106092729.GB3669@x1> (raw)
In-Reply-To: <20171106090155.p7jhe2m57whfxma3@dwarf.suse.cz>

Hi Jiri,

Thanks for providing these information.

On 11/06/17 at 10:01am, Jiri Bohac wrote:
> Hi Baoquan,
> 
> 	[    0.000000] memblock_reserve: [0x00000000b8000000-0x00000000bbffffff] gart_iommu_hole_init+0x396/0x4b6
> 	[    0.000000] AGP: Mapping aperture over RAM [mem 0xb8000000-0xbbffffff] (65536KB)
> ^^^^^

> /proc/iomem:
> 	00000000-00000fff : Reserved
> 	00001000-0009d7ff : System RAM
> 	0009d800-0009ffff : Reserved
> 	000a0000-000bffff : PCI Bus 0000:00
> 	000c0000-000cafff : PCI Bus 0000:00
> 	  000c0000-000cafff : Video ROM
> 	000cb000-000ccfff : Adapter ROM
> 	000ce000-000fffff : Reserved
> 	  000f0000-000fffff : System ROM
> 	00100000-c7e7ffff : System RAM
> 	  0b000000-0b792eb5 : Kernel code
> 	  0b792eb6-0bd5d47f : Kernel data
> 	  0c274000-0c3c8fff : Kernel bss
> 	  b7000000-c6ffffff : Crash kernel

It's weird, gart aperture located in crashkernel region? Or we need
reserve the low crashkernel memory for gart aperture usage, Just like
swiotlb?

Sorry, I am not familiar with gart.

Thanks
Baoquan


> 	c7e80000-c7e8afff : ACPI Tables
> 	c7e8b000-c7e8cfff : ACPI Non-volatile Storage
> 	c7e8d000-c7ffffff : Reserved
> 	c8000000-ce0fffff : PCI Bus 0000:00
> 	  c8000000-c80003ff : IOAPIC 1
> 	  c8014000-c80143ff : 0000:00:11.0
> 	    c8014000-c80143ff : ahci
> 	  c8014400-c80144ff : 0000:00:12.2
> 	    c8014400-c80144ff : ehci_hcd
 
 

  reply	other threads:[~2017-11-06  9:28 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-03 17:28 [PATCH] x86/kexec: Exclude GART aperture from vmcore Jiri Bohac
2017-11-03 17:28 ` Jiri Bohac
2017-11-06  2:41 ` Baoquan He
2017-11-06  2:41   ` Baoquan He
2017-11-06  9:01   ` Jiri Bohac
2017-11-06  9:01     ` Jiri Bohac
2017-11-06  9:27     ` Baoquan He [this message]
2017-11-06  9:27       ` Baoquan He
2017-11-06  9:56       ` Jiri Bohac
2017-11-06  9:56         ` Jiri Bohac
2017-11-07 11:39         ` Baoquan He
2017-11-07 11:39           ` Baoquan He
2017-11-07 13:42           ` Jiri Bohac
2017-11-07 13:42             ` Jiri Bohac
2017-11-07 15:34             ` Jiri Bohac
2017-11-07 15:34               ` Jiri Bohac
2017-11-12  8:04               ` Baoquan He
2017-11-12  8:04                 ` Baoquan He
2017-11-12 10:23                 ` Baoquan He
2017-11-12 10:23                   ` Baoquan He
2017-11-28 21:58                 ` Jiri Bohac
2017-11-28 21:58                   ` Jiri Bohac
2017-11-29  2:43                   ` Baoquan He
2017-11-29  2:43                     ` Baoquan He
2017-11-29 12:27                     ` Jiri Bohac
2017-11-29 12:27                       ` Jiri Bohac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171106092729.GB3669@x1 \
    --to=bhe@redhat.com \
    --cc=airlied@linux.ie \
    --cc=bhelgaas@google.com \
    --cc=bp@alien8.de \
    --cc=dyoung@redhat.com \
    --cc=hpa@zytor.com \
    --cc=jbohac@suse.cz \
    --cc=kexec@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=toshi.kani@hpe.com \
    --cc=vgoyal@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.