Re: [PATCH] x86/kexec: Exclude GART aperture from vmcore

From: Baoquan He
Date: Mon Nov 06 2017 - 04:27:58 EST


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