Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp5142898pxb; Tue, 28 Sep 2021 11:24:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvRJKRMSQmiEnPll3fWsTeABY/ZVlJnKArtJeypKt43zrdfzMIhxAoKKP71B6aXqJZyTxa X-Received: by 2002:a17:90a:708c:: with SMTP id g12mr1502771pjk.13.1632853495021; Tue, 28 Sep 2021 11:24:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632853495; cv=none; d=google.com; s=arc-20160816; b=EsK5K0opi5ULqPgWyxhkgaAeE847oBmOGkuPbKHOTvKfjg0bNcnMax0DrxNt0+aGTK o6O5dnOMi0zl12sHjHVpZDUsS1euzGwNzC8nlPPgL+xYw0mwpfe6VEd9FOMklZsx3n8h fDpKzVK1zexxeSSaJT4ZeW5n4lxtVFYagcSlbBCZS7kHuRD73W5g9x245wuLR4+sfhEv IhnmbV/WfWauksV7f6NaxG+kje5aXnoNHzxHZc/N0/+axrXvD75vBgD89i7EkW296AhQ 2ITemZpA5kxwB+xuW5BSkkXhDWJKk/3bPsu3RGnzMVApyxK8xL/VbjUcm5D2j7HtpA3Z 2Ytg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gYZMK3UAt+mBMIBRezGxf4/V47kcWFAO89PKtDrJxFs=; b=YEZWDgwM6KQoh1Bmx9vomA+dLOJG6soHfE/oUaU3Ha1N2fETxt8JNWHw6kk8vwjyKV SwauJmY5N1u3Ig3SVv1DWUpApIo3Gt6BbFOGfQ4he51cz3I1uj81DXtW77/kXYai8E8P TU/EI1keh7SRmXO1Jm+gxpW0zx3mXKzpvhLT2yBxJi/4cwoFWvwSNPpokLMyaeTbKDxv ozGGq8UrEWDLKSOATtehbs8Lz8J4CwCC/KsvkoZ0ruc7XxIvDibRkarkNCRmxMr92o+f RWhNArxtKE4qj4QQseZjyIgAduiFv+lj51AYpDrX3YybSb7iZZFuYaFUR0OkYl4cQDx6 loLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="ChmAjoD/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h4si25399145pgp.162.2021.09.28.11.24.42; Tue, 28 Sep 2021 11:24:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="ChmAjoD/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242366AbhI1SZY (ORCPT + 99 others); Tue, 28 Sep 2021 14:25:24 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:56197 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242240AbhI1SZH (ORCPT ); Tue, 28 Sep 2021 14:25:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632853407; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gYZMK3UAt+mBMIBRezGxf4/V47kcWFAO89PKtDrJxFs=; b=ChmAjoD//b+aNe5MaIKdYHcTLx7Vltb/wMTpQwt64J0j3ThdQnX9vEZLsGvW8BsvOU7bH2 XrGw7WZW+zuFXUH0w5hnPxwziuDyLBPEStGkjgMkZO48imP24ted8HxtuT/Fk/GbpS+soY MhZEcxm3SKuXmq53Tf8oeNE41BZ+hvo= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-392-V1xArUnZPgOcWIzpkWqGiQ-1; Tue, 28 Sep 2021 14:23:25 -0400 X-MC-Unique: V1xArUnZPgOcWIzpkWqGiQ-1 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 mimecast-mx01.redhat.com (Postfix) with ESMTPS id 582378145EF; Tue, 28 Sep 2021 18:23:22 +0000 (UTC) Received: from t480s.redhat.com (unknown [10.39.194.120]) by smtp.corp.redhat.com (Postfix) with ESMTP id DE92A60854; Tue, 28 Sep 2021 18:23:16 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: David Hildenbrand , Andrew Morton , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Boris Ostrovsky , Juergen Gross , Stefano Stabellini , "Michael S. Tsirkin" , Jason Wang , Dave Young , Baoquan He , Vivek Goyal , Michal Hocko , Oscar Salvador , Mike Rapoport , "Rafael J. Wysocki" , x86@kernel.org, xen-devel@lists.xenproject.org, virtualization@lists.linux-foundation.org, kexec@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH v1 1/8] x86/xen: update xen_oldmem_pfn_is_ram() documentation Date: Tue, 28 Sep 2021 20:22:51 +0200 Message-Id: <20210928182258.12451-2-david@redhat.com> In-Reply-To: <20210928182258.12451-1-david@redhat.com> References: <20210928182258.12451-1-david@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The callback is only used for the vmcore nowadays. Signed-off-by: David Hildenbrand --- arch/x86/xen/mmu_hvm.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/x86/xen/mmu_hvm.c b/arch/x86/xen/mmu_hvm.c index 57409373750f..b242d1f4b426 100644 --- a/arch/x86/xen/mmu_hvm.c +++ b/arch/x86/xen/mmu_hvm.c @@ -9,12 +9,9 @@ #ifdef CONFIG_PROC_VMCORE /* - * This function is used in two contexts: - * - the kdump kernel has to check whether a pfn of the crashed kernel - * was a ballooned page. vmcore is using this function to decide - * whether to access a pfn of the crashed kernel. - * - the kexec kernel has to check whether a pfn was ballooned by the - * previous kernel. If the pfn is ballooned, handle it properly. + * The kdump kernel has to check whether a pfn of the crashed kernel + * was a ballooned page. vmcore is using this function to decide + * whether to access a pfn of the crashed kernel. * Returns 0 if the pfn is not backed by a RAM page, the caller may * handle the pfn special in this case. */ -- 2.31.1