Received: by 10.223.164.202 with SMTP id h10csp772233wrb; Thu, 23 Nov 2017 06:03:47 -0800 (PST) X-Google-Smtp-Source: AGs4zMYK6uGHNWgjmxSKY2ZtZ3qe80LhV3MzXFu0BsTKao0AL4cLUrDjPy3K5fX6NjyFc5kRLF/N X-Received: by 10.84.195.3 with SMTP id i3mr4448837pld.282.1511445826973; Thu, 23 Nov 2017 06:03:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511445826; cv=none; d=google.com; s=arc-20160816; b=niR+WS9zh9d4mQCqtBz3t3u5Iwdaq4RtqDwkHrGuP/hF6TOZdrl0xOLggOr4CYhDgN z9BiU+o5OjtnRLUibMnl7zh2QH9JUvtIeqeazJIuRtDFxpDkPC0zpLMK+EwhtDZ6XKZM xZ5MSVDinyB5F668b5wofWrCv+nUFYVGxPgCKTt8sKwyDldePu1oPQsp9k5hgsQ1VUzl kB6v3cgKX30x3R5pBzL+IQGZEicSmcNdaM015ys16L2fF7oF99NXnH8xdqVyzrX/xShX 1Pz6pz7TFYn15ArhrcCbpan+aVboFu08RwqU9xr6zJBwAIHpKCZJJwLymUzX7mqHTCDr ItFg== 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=kKuSRhszibrifdGyknHHNXVrUvjApHZvlOa4MteMYGs=; b=pyzS0EBsyF+ULCKteZ1ZY3HTHA51akX3YmqbfRL83Gl4meeigWbMTrax4ULZM4ep4t 7JemTWLQmPMJnJn8j3moiGvY70AyEG1CgGQ83xAT6ypSYBeAjCzdwi+zHHHaHRTLnlBg 8bYpkYBkfi1i0t07rg6GOBWtesRBdxP8ktaYNPNCE7r5J+33QQ2McFt2CrbhUnuL0Set fhunRwsEObjIzZWT2+XEU7jYQ2n+AC/thLu9hzXPzCQ1D/wFFOvluSYUUD42WkmQsGK9 so4vfY9MgJKEO3vo7qK08to5lwlEWe9r1A0n3cAqiOyFfqdo3iUIlazL9P17ytHat8UX OaFg== 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 y13si951818pge.702.2017.11.23.06.03.35; Thu, 23 Nov 2017 06:03:46 -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 S1753162AbdKWOCj (ORCPT + 75 others); Thu, 23 Nov 2017 09:02:39 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60120 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753059AbdKWOCh (ORCPT ); Thu, 23 Nov 2017 09:02:37 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 84702A0B22; Thu, 23 Nov 2017 14:02:37 +0000 (UTC) Received: from localhost (ovpn-112-71.ams2.redhat.com [10.36.112.71]) by smtp.corp.redhat.com (Postfix) with ESMTP id E2BEA60F8B; Thu, 23 Nov 2017 14:02:29 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= To: linux-kernel@vger.kernel.org Cc: somlo@cmu.edu, xiaolong.ye@intel.com, 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 v8 4/5] crash: export paddr_vmcoreinfo_note() Date: Thu, 23 Nov 2017 15:02:05 +0100 Message-Id: <20171123140206.3911-5-marcandre.lureau@redhat.com> In-Reply-To: <20171123140206.3911-1-marcandre.lureau@redhat.com> References: <20171123140206.3911-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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 23 Nov 2017 14:02:37 +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 b3663896278e..2394f0501c65 100644 --- a/kernel/crash_core.c +++ b/kernel/crash_core.c @@ -376,6 +376,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.277.ga3d2ad2c43 From 1584957725868680818@xxx Fri Nov 24 14:24:35 +0000 2017 X-GM-THRID: 1584938985787925683 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread