Received: by 10.223.176.5 with SMTP id f5csp2719217wra; Thu, 1 Feb 2018 05:07:11 -0800 (PST) X-Google-Smtp-Source: AH8x226+uQYrYYPKu0Z2v02KsIlHUzjaqn3r0QlMGQfXWiWSAJXgYthbUxubbnA+L04kYj8rS7Vy X-Received: by 2002:a17:902:7e43:: with SMTP id a3-v6mr16195984pln.138.1517490431341; Thu, 01 Feb 2018 05:07:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517490431; cv=none; d=google.com; s=arc-20160816; b=Lk+4goXxZwepsMTAPoZDUS+ZWGaw3bvymu4uHluipUxhRVAVO/MD0isxXXJRpqO4UE tY7/cCP33gIvyjPcgS4QcP+SbVrjF/Q9PK5T92kDd0jJEVqtYc1PYmxfH+PemTJmOWI1 KdAcW4LLdPv5mpodDpFGDn+R2GhAiB/oG0hw68K13/5R9nL+nX0WfeCV5c3EvEUBPGXr ILOY9SnwXYloa1uFua4PhVfp76uh0+qbRrC6mnIsGVHBvAUs+Q1+nhwXqcEbYZLLekIr cnDrNO0tZDkDw5gn3jJSmKImmXond0hqNCgC98/gqLzReBQsn+PoBue4DgiUOTtIro4v rYcg== 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=O7i0S+0bacoF6yqmm6d0t76CF3HYUMleCUa2jLJ7ijQ=; b=VX5/KQv/tFl2jFLvlVMTJTzAzUfLt8NVhJNvuanKtHn6SarNbxUNai5WFSGMEdibng B0hLHyFRotCKHr0d+Jjg2tRNpocz1HpwUH2w3BgQ39He2zpD2lfa65ypq3OFoBq6Q8QH wqZOyOKmvFvrEgAgoFHBzKhLQrA7bWXBXgkHrpNNSYnC33COJtuJihKQzxMO0QzDRSkT SKImvp9cLKpDNicAHnRa8I7uUsN824RruPJPB51+krwo2u9Ti//Xum3OGtHPz4TdK6Sq 1Wq0MCRFGgEeLsquLg6oGObHOyQfEMsPUvOlsxCUZGXmgp1hjTVDY8jPvj7ZBaVhbecn 3J4A== 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 g8-v6si14938005plt.687.2018.02.01.05.06.56; Thu, 01 Feb 2018 05:07:11 -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 S1752341AbeBANGd (ORCPT + 99 others); Thu, 1 Feb 2018 08:06:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55528 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751916AbeBANGc (ORCPT ); Thu, 1 Feb 2018 08:06:32 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 44BA82D1DB; Thu, 1 Feb 2018 13:06:32 +0000 (UTC) Received: from localhost (ovpn-112-22.ams2.redhat.com [10.36.112.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id ED6F45D9C8; Thu, 1 Feb 2018 13:05:15 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= To: linux-kernel@vger.kernel.org Cc: slp@redhat.com, bhe@redhat.com, mst@redhat.com, somlo@cmu.edu, xiaolong.ye@intel.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Andrew Morton , Dave Young , Hari Bathini , Tony Luck , Vivek Goyal Subject: [PATCH v11 3/4] crash: export paddr_vmcoreinfo_note() Date: Thu, 1 Feb 2018 14:02:59 +0100 Message-Id: <20180201130300.9962-4-marcandre.lureau@redhat.com> In-Reply-To: <20180201130300.9962-1-marcandre.lureau@redhat.com> References: <20180201130300.9962-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.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 01 Feb 2018 13:06:32 +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 4f63597c824d..a93590cdd9e1 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.16.0.rc1.1.gef27df75a1