[PATCH v1] KVM: arm64: print Hyp mode

Mark Brown broonie at kernel.org
Fri Feb 9 07:42:08 PST 2024


On Fri, Feb 09, 2024 at 10:37:19AM +0000, Joey Gouly wrote:
> Print which of the hyp modes is being used (hVHE, nVHE).
> 
> Signed-off-by: Joey Gouly <joey.gouly at arm.com>
> Cc: Marc Zyngier <maz at kernel.org>
> Cc: Oliver Upton <oliver.upton at linux.dev>
> Cc: Mark Brown <broonie at kernel.org>

> From what I could tell there isn't a way to tell which of the two modes was
> actually booted in, and this could be useful for looking at log outputs.

Something like this would be helpful catching errors getting test
coverage.

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240209/8a3dd6e9/attachment.sig>


More information about the linux-arm-kernel mailing list