From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BF40FC3DA4A for ; Thu, 1 Aug 2024 09:54:36 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=A39K2ghm; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WZPSq2sGCz3cW3 for ; Thu, 1 Aug 2024 19:54:35 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=A39K2ghm; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linaro.org (client-ip=2a00:1450:4864:20::52c; helo=mail-ed1-x52c.google.com; envelope-from=alex.bennee@linaro.org; receiver=lists.ozlabs.org) Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4WZPS24Zlgz30TQ for ; Thu, 1 Aug 2024 19:53:52 +1000 (AEST) Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5a2ffc34722so3551482a12.0 for ; Thu, 01 Aug 2024 02:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722506028; x=1723110828; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=8MGDW2w0EUrwnI4S//nT3S+vOipXyZxOwDlAdIY1JMk=; b=A39K2ghmnIbPg7/P02p377vDaTlIkFEQwldrf3MLdmHYbZWvCOMVNQDCUn1Hx+20Wn Kwys838pvWbYpn8PyZeyIfgqTwyt0nLJcDxGeZOmoiZ+dR2ISZp1RrEKCV+moJEVjfwx FPIc/Tv2zXeyAmTZL27T+SHWGOFOCeMbaNAN37l0OuY6fWpxJsJ4mccmBLPNwtxVWsNl tU27ZgL4Cx8IQwr97uTSw2XVN6q4C02bHO5MTOkKHebq5JLc7HbH1FojtVF5f0ONiBD2 XAurUdzGqo26Z3JNtlNdpAvxsWgxPwWsFjzpVAueMJzdyvYFuheIer1zawC4faepjtau 7f2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722506028; x=1723110828; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8MGDW2w0EUrwnI4S//nT3S+vOipXyZxOwDlAdIY1JMk=; b=VS0bwZhNGneUy/bRK81D8u9IZuK9zPMPnITxbSTF5KPTNx+CUuYyVhDi6f6kTJzI0N PCoNwtpPNdOQpe1QzOAQe0dXap9CBXWsh3SAhmMHwSNP0CBNqDjPU4Q6QvWraCLItQpD VKjrrn3x98Kkww1NvXJZKrKXBcUrVCqOhtALenQH8CqMlBnd/nmXvZQjruSxO9Qa3R/D 6+oPIpA5kP3hKGJ4zt2NIvJWf74R8tdM54tclMGBx9urmKBTJjzgK4u94Y7XPBjR1yTP rLVrcgGhwR5YpeVrg28Ugut9oaIjNP0V47QX6/GOHF5JjotvgoSj+cIGnhiaVPPqkZMz f5mQ== X-Forwarded-Encrypted: i=1; AJvYcCWOzRcIy5kpVOyc/GYc4gdPbvxV5vQZW7mZPYTetNph5/qMS0A9PoZ9IjeP40e764Z8edHn4BgLe1Y/nQJKQMrCJ6F94RLfcHo2khjwdQ== X-Gm-Message-State: AOJu0YyQVGJaIPmQ5Bh2T5/RAGL+gJoh6+IsC3HVseJUeE631NdUytl2 tGb+P1d1D9PrPYQS2lRo272RKO92ZTIRIrsNGNk73vaj8MQn2ayDodC8sxpAU/k= X-Google-Smtp-Source: AGHT+IHNrw29WKyolinu6cyXHFfq+0WsM6WXcBxZ1/oFvQaGEtI1aOWo6VY84S/JlZwJgkWdM0qlVw== X-Received: by 2002:a05:6402:440d:b0:57d:5442:a709 with SMTP id 4fb4d7f45d1cf-5b778dc53f8mr879162a12.0.1722506028149; Thu, 01 Aug 2024 02:53:48 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5b5257f39adsm2866327a12.96.2024.08.01.02.53.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Aug 2024 02:53:41 -0700 (PDT) Received: from draig (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id CC0595F80C; Thu, 1 Aug 2024 10:53:39 +0100 (BST) From: =?utf-8?Q?Alex_Benn=C3=A9e?= To: Sean Christopherson Subject: Re: [PATCH v12 24/84] KVM: Use plain "struct page" pointer instead of single-entry array In-Reply-To: <20240726235234.228822-25-seanjc@google.com> (Sean Christopherson's message of "Fri, 26 Jul 2024 16:51:33 -0700") References: <20240726235234.228822-1-seanjc@google.com> <20240726235234.228822-25-seanjc@google.com> Date: Thu, 01 Aug 2024 10:53:39 +0100 Message-ID: <87le1gefh8.fsf@draig.linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, David Matlack , linux-riscv@lists.infradead.org, Claudio Imbrenda , Janosch Frank , Marc Zyngier , Huacai Chen , Christian Borntraeger , Albert Ou , Bibo Mao , loongarch@lists.linux.dev, Paul Walmsley , kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, Oliver Upton , Palmer Dabbelt , David Stevens , kvm-riscv@lists.infradead.org, Anup Patel , Paolo Bonzini , Tianrui Zhao , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Sean Christopherson writes: > Use a single pointer instead of a single-entry array for the struct page > pointer in hva_to_pfn_fast(). Using an array makes the code unnecessarily > annoying to read and update. > > No functional change intended. > > Signed-off-by: Sean Christopherson Reviewed-by: Alex Benn=C3=A9e --=20 Alex Benn=C3=A9e Virtualisation Tech Lead @ Linaro