[PATCH v1 0/2] small kern_hyp_va() cleanups
Oliver Upton
oliver.upton at linux.dev
Thu Feb 8 03:22:03 PST 2024
Hi Joey,
Thanks for having a look.
On Thu, Feb 08, 2024 at 10:54:20AM +0000, Joey Gouly wrote:
> I wanted to add some comments to __kern_hyp_va(), since I was recently trying
> to understand it, and I think it could be helpful for someone looking at it in
> the future.
That part is definitely a bit screwy :)
> The second patch removes the assembly macro version, since it is unused. Maybe
> (out-of-tree) pkvm uses it or it's just worth keeping around in case someone
> needs it in the future. So if that patch isn't applied it's not too important.
Keeping unused code hanging around is rarely useful. While it is nice to
give consideration to the pKVM folks (looks like they don't need it), it
is easy enough to re-introduce later on.
--
Thanks,
Oliver
More information about the linux-arm-kernel
mailing list