Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1381451rdb; Mon, 19 Feb 2024 13:44:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWBumqTWa4SOQ8OReJxJZhnHRMpR7kGW91vD5598hUp1BgjTJloHEmxzPkLC5VYp3wgr4ZbqUeHotEvIr7jK6yOo2PopeDtyiECd9F6uw== X-Google-Smtp-Source: AGHT+IHClnpppJHcV/0wmYqIMirON+LYk2vnaKF4pMdSfiANMHOiW+mOYs/ptbmJJHFsk2ULN5MZ X-Received: by 2002:a17:903:2284:b0:1db:cb54:5e77 with SMTP id b4-20020a170903228400b001dbcb545e77mr10038406plh.22.1708379048598; Mon, 19 Feb 2024 13:44:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708379048; cv=pass; d=google.com; s=arc-20160816; b=gYXNAJkRA4+1If+1aSYS3tvONkJLFkmpI6y0KERInBWcLmeMNnx+1+sewPZuBG04uy 0NSfhHqUUAiPcoEaOiEEtQ28bHTGovpjFbuz0Uu2kOmNJvG6EJY2Oa2xNrsfcjXA3Ed5 dw2vqFCZNgWwEfSVvJTOi5+t57o7MGA/tu30U3QbrZcd80UAPnTB8twkah3FNRkkd9ri siHRahg+18ucMTn6LBZfP9SDLa6Y1jaApwOBnNtRzWHaCGnO+h19lfl5JIOL5obbUmF7 459bltung2K6V8aiNIg9nN2dHTf23CwtsC+7tXWGjkX1iXVB68CK+EFHmlshzsUR1Lwr grSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=QIr2v00MmtLW5AiJLj4vFJLvOqk80nsA5VSLXwCEAuk=; fh=NpLou0lpblrYmjb5/Knxco0awc/kzaOMaL2JMmltct4=; b=rxiO4VAGN9ctWLM0jeec3yitb261Yfi88OFFcafbeOPnauRO2IJyd6ta+N6K33PnR7 PqzB6xjVxY2SkmFTIdApOAP0GIe/aZA6o9drJaPft3408ktNzxVaPwRN7E4Ak/QFhiqw im7LYTR/8rntuY5E8DPJk2Fi853/ai2z0Z61EYQIIXWXi+wQNLusPY8Ft47szyqRKyGj w9iDBqgPlYM+muw+uqbNs5/3H2MiZiY4EpWQ4nr9zDmEQsmuhrChG8dzcfWRlfbDk49P gEeBGShv1idcpOrzuvz3w6e34oTaQ0ockVKkElf0e8Z1NRlGGhI6V2cVwXj5LbuZJPGr JRtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=VfVfn11z; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-72022-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72022-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q15-20020a170902eb8f00b001dbc70ef010si4523601plg.362.2024.02.19.13.44.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 13:44:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72022-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=VfVfn11z; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-72022-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72022-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5076D284190 for ; Mon, 19 Feb 2024 21:44:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 757E854BD2; Mon, 19 Feb 2024 21:43:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="VfVfn11z" Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 382AE537E9 for ; Mon, 19 Feb 2024 21:43:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708379036; cv=none; b=agj0tJK6y6C0w8AWRsYCzIluCVkylN4xHVjqmf9EkOpFRTcd6RkQGjXUFkIJ2ZNhpNNbPob38Wg6btjgUqqYyriWx+1VuM/Mbxw2y+8YxgeUugkvVORWXm4mwQWWUNtvTy5wc6PANZiXyJfCjA+jtwwtkGGGd/nf6ARU3uK/1no= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708379036; c=relaxed/simple; bh=k6LH3b1KRcD8NJGil47OnFJ3hyweLeYZpxuRnYRLbos=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=CEx+qlKFzjl5Qwm+nQtbytx0pYxUAtfx4bt+TJ55n8eah1LIvaGlaraIOGmjjSbgr3RPTlhwYStSfT+ylM3PQClHml+fj2AZCYs3unqBHA7foDscI+6p6boe+kd0Fhlh/9KS+HSLGgOmDREGJ0ynLhTN/eh4X7V1Kuc8cJESFvg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=VfVfn11z; arc=none smtp.client-ip=209.85.219.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-dc6b26845cdso7351247276.3 for ; Mon, 19 Feb 2024 13:43:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1708379034; x=1708983834; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=QIr2v00MmtLW5AiJLj4vFJLvOqk80nsA5VSLXwCEAuk=; b=VfVfn11zCkinb8Wzey0w02G6cMocpi+WxyrRxeIAkT2FuqO7M/aDfOBzKS8qI6Pj2+ pG3HqDYfRvVTPKekkE/LCcfuZeC6ll2HUGdJQJs0bnknAMdUoLuGWzuCe/G4i5Hcyyrf NijeDmRRx+W9vF/X2+HHVdU/at6NkW44GnrCA+Rd1Xs53Xb87509LFeUBRKVz08U19qW CcywW3gU+Of9EPzcR+C6RG3BOpBk9bYQ8v/dEeAiiJY47zFgbkztr45rI3ZMNCUrr7gO hWWMtFL7lSGZS5w9xYdBfvWEUG6pfPk11Djgt6kVNzMsNC4rzGHMTguBSBiszBwufeVd bm6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708379034; x=1708983834; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QIr2v00MmtLW5AiJLj4vFJLvOqk80nsA5VSLXwCEAuk=; b=o6oVewL8Rg+i7wHYs1trnccvw219rvHIHafEQF+EOhFFEvz50/6U9IyBBAW8xKipgx u56ayw9XzKc1STyhGrsgNlp+hOj4dBAvfdPp2UIDS1sCvpOQhfeVhiYyYCy1SMLkhPfW ItZvGod2R7kGSzrhb3HVoDC2l7kmWLE+/vCOz4hRBDNOl8y+5m3JWU8ZQLl3LXghAY+g 0M/1WjHBes6HDdxvbBSzW61SmmHSHbWM876UUhgpcw4Jpc77N3OpoNun6yRDQELLDeKF njZFyuH9Ud3Zz94sIvjfG2yFeNHcfLogxnhD7aKOOqUpQwkYCxBdJF4ylj1YTJHagFXf o1Ig== X-Forwarded-Encrypted: i=1; AJvYcCUM1dgob4/lb8Ko68hMmcTxwjPlnRfw4V/JQUTyjtFkmKHZcqZSihx481dJ784biCLXLhXh+beAmaU+7Kw37OxVE7pJZ0gDO4xxH/vx X-Gm-Message-State: AOJu0Ywbn2Duuw0V5vBSvFbkbXUSNZCBqBSrinfbJW0NhxOQINq1eXdb 5qT1/lLgfTNREN0zcKl+/ABxGJjXX6eSU041h8jaLqMu1rkdu7Est/w1U0fgVcXk8C1lXnqqZHK TMQ== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:6902:705:b0:dc7:53a0:83ad with SMTP id k5-20020a056902070500b00dc753a083admr3628924ybt.5.1708379034234; Mon, 19 Feb 2024 13:43:54 -0800 (PST) Date: Mon, 19 Feb 2024 13:43:52 -0800 In-Reply-To: <20240215152916.1158-6-paul@xen.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240215152916.1158-1-paul@xen.org> <20240215152916.1158-6-paul@xen.org> Message-ID: Subject: Re: [PATCH v13 05/21] KVM: pfncache: remove KVM_GUEST_USES_PFN usage From: Sean Christopherson To: Paul Durrant Cc: Paolo Bonzini , Jonathan Corbet , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , David Hildenbrand , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Sven Schnelle , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , David Woodhouse , Shuah Khan , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-kselftest@vger.kernel.org Content-Type: text/plain; charset="us-ascii" On Thu, Feb 15, 2024, Paul Durrant wrote: > From: Paul Durrant > > As noted in [1] the KVM_GUEST_USES_PFN usage flag is never set by any > callers of kvm_gpc_init(), which also makes the 'vcpu' argument redundant. The changelog should explicitly call out that not only is KVM_GUEST_USES_PFN unused, it's incomplete/broken (which is also partly why it's unused). Without that information, removing the support looks like a somewhat arbitrary decision, versus a deliberate change to make it easier to support the gpc code.