From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72C751773D for ; Thu, 20 Jul 2023 17:10:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46E65C433C8; Thu, 20 Jul 2023 17:10:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689873006; bh=Y+i24CHoJc5QabjXQViDDqZ/I35dAz32ifnhHyDIVSw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=iTSCZVyQu4V6PubdpEGqrGFYnHMcO7H22tJozWvpb9L1YGaYjBbL0Yj9NATyrO9Y7 j42bqxtYWMxO0nEY+hyuC6GWiZoOLXT4iqSN5dN6H0noxsSkihRZofCnymlvuS4XS+ /GYEOBT041eaOmpt+j4Phq3HUB+OgaTPwGUlo2jTOB/lBAEbul5dSgATmHClvAjNKd +BQiyagsS2FZpar3tSTHUo80VQg+gv2U3dxHRAbogrb6kdq4G6bVfOW5fcL/hCJwN9 5LOWozZYMDiAM5ZLenw5O5aZ1ES2Rpg1eZBl+WWIElNLjuMsy8cta/U1m24NRg8zFR t9Oc3c3T1Cx0w== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.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 1qMXAB-00Emqu-03; Thu, 20 Jul 2023 18:10:04 +0100 Date: Thu, 20 Jul 2023 18:10:02 +0100 Message-ID: <86sf9itsph.wl-maz@kernel.org> From: Marc Zyngier To: Oliver Upton Cc: kvmarm@lists.linux.dev, James Morse , Suzuki K Poulose , Zenghui Yu Subject: Re: [PATCH] KVM: arm64: Rephrase percpu enable/disable tracking in terms of hyp In-Reply-To: <20230719231855.262973-1-oliver.upton@linux.dev> References: <20230719231855.262973-1-oliver.upton@linux.dev> 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/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: oliver.upton@linux.dev, kvmarm@lists.linux.dev, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On Thu, 20 Jul 2023 00:18:55 +0100, Oliver Upton wrote: > > kvm_arm_hardware_enabled is rather misleading, since it doesn't track > the state of all hardware resources needed for running a VM. What it > actually tracks is whether or not the hyp cpu context has been > initialized. > > Since we're now at the point where vgic + timer irq management has > been separated from kvm_arm_hardware_enabled, rephrase it (and the > associated helpers) to make it clear what state is being tracked. > > Signed-off-by: Oliver Upton Acked-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible.