Received: by 10.223.185.116 with SMTP id b49csp743073wrg; Wed, 14 Feb 2018 06:23:30 -0800 (PST) X-Google-Smtp-Source: AH8x224NpwJb55k+2FnvQ7Lvs3YngihYK8WxRMDWYNjkbtvo9bZdESDB5cLCJfMR0XGYwG1MZfVs X-Received: by 2002:a17:902:bd90:: with SMTP id q16-v6mr4549881pls.284.1518618210452; Wed, 14 Feb 2018 06:23:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518618210; cv=none; d=google.com; s=arc-20160816; b=J3z8JVpy46YQjXHEtjieDUHV8Y+3yozqzO5NOmOjcQu5uJ7FNqQIzyydMFhNMEG7xe 4YQWhyd7AnJ1RB8C3Gjm78qcg7yYsYhXSPZX5Grg1locEI2TeJz32HVKIRKCMuTf6fVT QQW29GkyKQHDAdPS8bcXkhTa9LO2zHPB1saSxFsZUzD7S5Am7NgfpTGy3EiFEqlQVnxI 08KeVsD0yNTsfoNjmXHirUMZ4HdLJEsaFkAdcHfPNbkxzgMuiBZ9Swhzv1COgn7smi/V mnx7GIO1CanBANQ6E7VFaNow8xG4Ww4tu5/0Rd26kkS5KEOjzw2UZZfx3nRu5D4QZA/m OuWQ== 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=04aQTPHmAIvVCpIKJcfvL0oQTnamZPovDuBkYzjCDkqPYAmZLgM4MtXBkteyPfO8D7 m1/W6x02fqOHpm2A3fmySitav2w6Bo0ngn+/VZcyRjJqwXdBMAN5PYdOJfJ/yPUqRFuX kg2Ug2Nyu0lbCoI0nicYF8si6xTn3u/hxVjLIVPXshup0wvKIuWlkjS8bifpa6n3NvD2 kA6WpoqC3iys7bbQTWZ5l/z5lhBLnjRsyA+KnQVsCSbBbHFw7h48WH6WrgdE2JLxBr19 3ahBtgzabsz0a3QYjPc0VWv7CjvVgv4WTaen935Fyqi7DaU6E/YJXcfHfjmkZZdfSHJD reVg== 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 t7si1196549pfh.290.2018.02.14.06.23.15; Wed, 14 Feb 2018 06:23:30 -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 S1030745AbeBNOVc (ORCPT + 99 others); Wed, 14 Feb 2018 09:21:32 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:60706 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1030527AbeBNOSx (ORCPT ); Wed, 14 Feb 2018 09:18:53 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5669240EC7E1; Wed, 14 Feb 2018 14:18:53 +0000 (UTC) Received: from localhost (ovpn-112-21.ams2.redhat.com [10.36.112.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id EE9E52024CA4; Wed, 14 Feb 2018 14:18:52 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= To: linux-kernel@vger.kernel.org Cc: bhe@redhat.com, slp@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 v14 1/9] crash: export paddr_vmcoreinfo_note() Date: Wed, 14 Feb 2018 15:18:42 +0100 Message-Id: <20180214141850.4017-2-marcandre.lureau@redhat.com> In-Reply-To: <20180214141850.4017-1-marcandre.lureau@redhat.com> References: <20180214141850.4017-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.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Wed, 14 Feb 2018 14:18:53 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Wed, 14 Feb 2018 14:18:53 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.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