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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 ECD08C64EC7 for ; Sat, 25 Feb 2023 10:34:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SimKv0IrSeq9xf4vUYoB67MBn6KiVG7SnAkgMZXaBQ0=; b=qT9flYFzsGoUBH tuK2PI55Sb06uBn4uN4pvQvT+g2u1OXi6laL2Gui1cP4AlY6G+HNGjzX5WyVyiCAx5XIX838TE4XX aWPj5V3VF9WMl+Z1w12ozlA9xgm7CpGTqjNvS/IV/jsdE8Maidxm7vufTZAR9Sxan7Ar4WRdQnuoo kJ0L/iHxeWmxZg3iQ9fAOgkY0umxXh4zPs0/eeCuH4XS4yOkn+yNPohx9hyvLKaEpsQQjmJa5Qjz4 SaX7VrDv/mWvH4TY6wGj4NxvlJdEZPI91eCjv85hmjlM5SDVijiWPqluR6+lIjWZSBFOEifXnb1eE mXiXZNunTUUm41B03V0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pVrrN-005VJI-IU; Sat, 25 Feb 2023 10:32:57 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pVrrK-005VHq-B0 for linux-arm-kernel@lists.infradead.org; Sat, 25 Feb 2023 10:32:55 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A808BB808D2; Sat, 25 Feb 2023 10:32:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65D39C433D2; Sat, 25 Feb 2023 10:32:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677321167; bh=GWWCYFWq7FJcty/g4faf96mwq52yRHHXEaQ/c2U22o4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=bPgOumt43neLBbsnV9VJ7q5Vp9nkVia0+yEQgAKax39vbwpsWliRiSoYWRYcXmKVt HttypUTrEOJ+ejh16ha3rIrT135cJVQ4TAG+bgUd5Gv4JcH8C9Y0CZSIQJ8y6bW5Ta lzGRIgXAj58rsS74Go5l2bfyiLUdmdnHk5BCpcUiKSIJdx189zL7Rx4Mk5Bi1p/E9T Q3QYqDY1xaN6MSDhGpuH43mbVwvGqeLNsvuKO5XOsQjD6aHv/Qj/6/LZ3Q/t4gxt7N L/0igZtlFN2I2y/AR4bONaRhvFWtoaqCFl6tsHV4+SJg3K8Nx3vi+4SNCUkq5CpLnO LeXktVsHa86LQ== Received: from sofa.misterjones.org ([185.219.108.64] helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pVrrB-00D6vI-03; Sat, 25 Feb 2023 10:32:45 +0000 Date: Sat, 25 Feb 2023 10:32:40 +0000 Message-ID: <87cz5ydohj.wl-maz@kernel.org> From: Marc Zyngier To: Colton Lewis Cc: kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, james.morse@arm.com, suzuki.poulose@arm.com, oliver.upton@linux.dev, yuzenghui@huawei.com, ricarkol@google.com, sveith@amazon.de, dwmw2@infradead.org Subject: Re: [PATCH 12/16] KVM: arm64: nv: timers: Add a per-timer, per-vcpu offset In-Reply-To: References: <20230216142123.2638675-13-maz@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: coltonlewis@google.com, kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, james.morse@arm.com, suzuki.poulose@arm.com, oliver.upton@linux.dev, yuzenghui@huawei.com, ricarkol@google.com, sveith@amazon.de, dwmw2@infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230225_023254_566330_9CC350AA X-CRM114-Status: GOOD ( 20.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 24 Feb 2023 20:07:59 +0000, Colton Lewis wrote: > > Marc Zyngier writes: > > > diff --git a/include/kvm/arm_arch_timer.h b/include/kvm/arm_arch_timer.h > > index 62ef4883e644..e76e513b90c5 100644 > > --- a/include/kvm/arm_arch_timer.h > > +++ b/include/kvm/arm_arch_timer.h > > @@ -29,6 +29,11 @@ struct arch_timer_offset { > > * structure. If NULL, assume a zero offset. > > */ > > u64 *vm_offset; > > + /* > > + * If set, pointer to one of the offsets in the vcpu's sysreg > > + * array. If NULL, assume a zero offset. > > + */ > > + u64 *vcpu_offset; > > }; > > > struct arch_timer_vm_offsets { > > -- > > 2.34.1 > > This pointer isn't initialized until next commit and this commit is > small so I think it should be merged with the next one. Like the rest of the vcpu structure, this is of course initialised to zero. Yes, the patch is small. It does *one* thing, which is to plug a new offset. Should it be buried into a much bigger patch? I don't think so. M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel