From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752617AbdKFJ1y (ORCPT ); Mon, 6 Nov 2017 04:27:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38124 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751575AbdKFJ1w (ORCPT ); Mon, 6 Nov 2017 04:27:52 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3700FC049D4C Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=bhe@redhat.com Date: Mon, 6 Nov 2017 17:27:29 +0800 From: Baoquan He To: Jiri Bohac Cc: David Airlie , Dave Young , Vivek Goyal , Bjorn Helgaas , Toshi Kani , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , linux-kernel@vger.kernel.org, kexec@lists.infradead.org, Borislav Petkov Subject: Re: [PATCH] x86/kexec: Exclude GART aperture from vmcore Message-ID: <20171106092729.GB3669@x1> References: <20171103172822.4ty6yjhewroe4z4j@dwarf.suse.cz> <20171106024143.GA3669@x1> <20171106090155.p7jhe2m57whfxma3@dwarf.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171106090155.p7jhe2m57whfxma3@dwarf.suse.cz> User-Agent: Mutt/1.7.0 (2016-08-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 06 Nov 2017 09:27:52 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eBdhV-0007FK-3h for kexec@lists.infradead.org; Mon, 06 Nov 2017 09:28:16 +0000 Date: Mon, 6 Nov 2017 17:27:29 +0800 From: Baoquan He Subject: Re: [PATCH] x86/kexec: Exclude GART aperture from vmcore Message-ID: <20171106092729.GB3669@x1> References: <20171103172822.4ty6yjhewroe4z4j@dwarf.suse.cz> <20171106024143.GA3669@x1> <20171106090155.p7jhe2m57whfxma3@dwarf.suse.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20171106090155.p7jhe2m57whfxma3@dwarf.suse.cz> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Jiri Bohac Cc: Toshi Kani , David Airlie , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Bjorn Helgaas , Thomas Gleixner , Dave Young , Vivek Goyal 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