Received: by 10.223.176.5 with SMTP id f5csp84734wra; Tue, 6 Feb 2018 17:44:47 -0800 (PST) X-Google-Smtp-Source: AH8x224urNZXamDWUNbmjLA3MYuyfyWVvJWDALmii6intINgXI4Z1PDx7PXr4CuWUfoTVcV/EtoW X-Received: by 10.98.75.11 with SMTP id y11mr4199704pfa.169.1517967886952; Tue, 06 Feb 2018 17:44:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517967886; cv=none; d=google.com; s=arc-20160816; b=BJ7UMyu0wmWJ1deGafTfZHRCVS4HSiOGxidOv5ZnHfJ+YMr08vSDtF6mLHLl0zNoM1 z5/CIJn0zLjVXfoLKbJTTwSnbP9y2XfWjvIOy8tef2a/UfYV+P2VU3Cuueo1xftELUJC dB2JRLrjRxO8kX/6SbwXCTrwPZuoDnXihCIAS6HSf7c6bMsrh9A/S9ugrkszzaGGjgRd UzCguzgblvW7qze5W55hnz08Cx+0E5pg9z64Ep0kL5nLXrHHIlUeyS7+8SC3Qo4EpEI0 IBJ/R5NJw06FMZhJ1Vd9og7XWhFrahnjejKd3FUBp0+RswHZkefDdBGlookLEuX4Z+2L TO/g== 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=s9atGimicKlsquwAN2WTWdq/46ZB19Za90jZJWZWK54=; b=bD2qwry0GGrmDTAGSwGYjmLaWpn7QzOyoEqd8aITB0rgha66ZSInCiDitjJ5CtsPYm Y9bRR40CoqTm3f2pVrNTtPKtxb+2dDPGTLuIFdpklPg9DcEgtKBEdW3qrTz1tPYKjB21 +QqUn2Yhf/rYlJMC6A/N++/gx6E/mrQwS9mJN3D9VqO7g29xyBmyB8/iEoyOs9JNzVV1 ZAtrdd3S8TUOeJrCHXZmu91nVkRjlAR4uWIhn7r43tHPb/UdQCzAnTpmdtE/qyaiquOu U8iUW7VaJHVmDNjgDoGWiLkMzJaXy4RozMR5G4clJ7renxnkMOmdDu/Pu8P7M9GUReka Vlkg== 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 w1si225744pgr.637.2018.02.06.17.44.32; Tue, 06 Feb 2018 17:44: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 S1754268AbeBGBmn (ORCPT + 99 others); Tue, 6 Feb 2018 20:42:43 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:56126 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753762AbeBGBmk (ORCPT ); Tue, 6 Feb 2018 20:42:40 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A12F2814DF58; Wed, 7 Feb 2018 01:35:35 +0000 (UTC) Received: from localhost (ovpn-112-16.ams2.redhat.com [10.36.112.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id 310231227903; Wed, 7 Feb 2018 01:35:28 +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 v13 1/4] crash: export paddr_vmcoreinfo_note() Date: Wed, 7 Feb 2018 02:35:22 +0100 Message-Id: <20180207013525.1634-2-marcandre.lureau@redhat.com> In-Reply-To: <20180207013525.1634-1-marcandre.lureau@redhat.com> References: <20180207013525.1634-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.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Wed, 07 Feb 2018 01:35:35 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Wed, 07 Feb 2018 01:35:35 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'marcandre.lureau@redhat.com' RCPT:'' 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.1.73.g5832b7e9f2