lkml.org 
[lkml]   [2023]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH AUTOSEL 6.4 07/12] arm64: cpufeature: detect FEAT_HCX
On Sun, Jul 02, 2023 at 03:50:52PM -0400, Sasha Levin wrote:
> From: Kristina Martsenko <kristina.martsenko@arm.com>
>
> [ Upstream commit b0c756fe996ac930033882ca56410639e5cad1ec ]
>
> Detect if the system has the new HCRX_EL2 register added in ARMv8.7/9.2,
> so that subsequent patches can check for its presence.
>
> KVM currently relies on the register being present on all CPUs (or
> none), so the kernel will panic if that is not the case. Fortunately no
> such systems currently exist, but this can be revisited if they appear.
> Note that the kernel will not panic if CONFIG_KVM is disabled.

This is a new feature, it's not clear why we'd backport it (especially
since it's a new feature which is a dependency for other features rather
than something that people can use outside of the kernel)?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-07-03 13:52    [W:0.173 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site