Received: by 10.223.164.202 with SMTP id h10csp599490wrb; Mon, 13 Nov 2017 11:32:12 -0800 (PST) X-Google-Smtp-Source: AGs4zMbyLnGPovWcaA8pUNGmGpLxD1EnTHgASUEUVrtJs8asoSGnLJAqO4rEDuij4Q/RRCnIZZJ2 X-Received: by 10.159.196.152 with SMTP id c24mr10188647plo.413.1510601532188; Mon, 13 Nov 2017 11:32:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510601532; cv=none; d=google.com; s=arc-20160816; b=tK3wDxwgAR5zzFPSEy06caOakqyyhk3yFTrnZ2NL90KyuREejlnu4M/DvldACOw+M6 pogeE7og8s2TQ+qmqGNa7Orv6jmPfNlHnxMIcrziTy8JTVzoej1yAY6+Yh9sYVY0MSJf 5fl1YFm8WUFzMrFG7jJ46IHpcS9JBRNw0iXvZwgDVC7skcaTKX2q59HHGpfGlgkBWZcg e/iBd5VANcZ9lpvBNaWc2N9+y4ePIazpVwXH0FUqdOC+aINe8q8lfXuvylUMrw0MEtxs hmZDPjh3LQ2HWAtQ7/DmG5hrZ0R+qMZ9pMJH0FueVFIvm91h64y6VXHrJCO+Hh25dwG2 qcZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=erKmu04bQeAU9JdyblM2e3PAfFSiqF3r8/DHUqBOd1k=; b=tNr39kGX+zfFT8V0FY/5WvJVMSV5U1OP/TS3cqmcp2aTWGMzWyTGXCYLZVMQrWgjX5 WSiIJZYFECrldUca+NTjPFH5U3zrsxV84AtEMsYjWKnJrOKDCLBIwnXUGMrPUAxhUcXH PdH/HeQF/crOWw66FCWKqYXx+UW4dhYalQYa0lEcP3aag+ElrjZ0AVIwn6Lcia+BaMg9 GUSJiNzySh3eRUeIt7+DMwXl2UrexBz7jXTMmfv7maHWHqISzprls1eeJ+aqc1qFCmFu KfDChllJCnakE266c1B2h0C76H496GZe+JUu4dmxejyvWBh9icU5xnsFZSQnnThT17XN bZRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k4si7578230pgn.596.2017.11.13.11.32.00; Mon, 13 Nov 2017 11:32:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754735AbdKMTa4 (ORCPT + 87 others); Mon, 13 Nov 2017 14:30:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54960 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754350AbdKMTay (ORCPT ); Mon, 13 Nov 2017 14:30:54 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E18421FAFF; Mon, 13 Nov 2017 19:30:53 +0000 (UTC) Received: from localhost (unknown [10.36.112.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id D6AD999680; Mon, 13 Nov 2017 19:30:48 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= To: linux-kernel@vger.kernel.org Cc: somlo@cmu.edu, qemu-devel@nongnu.org, mst@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Andrew Morton , Baoquan He , Dave Young , Hari Bathini , Tony Luck , Vivek Goyal Subject: [PATCH v6 4/5] crash: export paddr_vmcoreinfo_note() Date: Mon, 13 Nov 2017 20:29:57 +0100 Message-Id: <20171113192958.22953-5-marcandre.lureau@redhat.com> In-Reply-To: <20171113192958.22953-1-marcandre.lureau@redhat.com> References: <20171113192958.22953-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 13 Nov 2017 19:30:53 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following patch is going to use the symbol from the fw_cfg module, to call the function and write the note location details in the vmcoreinfo entry, so qemu can produce dumps with the vmcoreinfo note. CC: Andrew Morton CC: Baoquan He CC: Dave Young CC: Dave Young CC: Hari Bathini CC: Tony Luck CC: Vivek Goyal Signed-off-by: Marc-André Lureau Acked-by: Gabriel Somlo --- kernel/crash_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/crash_core.c b/kernel/crash_core.c index 6db80fc0810b..47541c891810 100644 --- a/kernel/crash_core.c +++ b/kernel/crash_core.c @@ -375,6 +375,7 @@ phys_addr_t __weak paddr_vmcoreinfo_note(void) { return __pa(vmcoreinfo_note); } +EXPORT_SYMBOL(paddr_vmcoreinfo_note); static int __init crash_save_vmcoreinfo_init(void) { -- 2.15.0.125.g8f49766d64 From 1584172858020393030@xxx Wed Nov 15 22:29:27 +0000 2017 X-GM-THRID: 1584172858020393030 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread