[PATCH 04/18] KVM: arm64: Move FP state ownership from flag to a tristate

Mark Brown broonie at kernel.org
Fri Jun 3 02:14:11 PDT 2022


On Sat, May 28, 2022 at 12:38:14PM +0100, Marc Zyngier wrote:

> As it turns out, this isn't really a good match for flags, and
> we'd be better off if this was a simpler tristate, each state
> having a name that actually reflect the state:
> 
> - FP_STATE_CLEAN
> - FP_STATE_HOST_DIRTY
> - FP_STATE_GUEST_DIRTY

I had to think a bit more than I liked about the _DIRTY in the
names of the host and guest flags, but that's really just
bikeshedding and not a meaningful issue.

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/20220603/1ca7a91b/attachment.sig>


More information about the linux-arm-kernel mailing list