On Thu, Nov 07, 2024 at 09:02:16AM +0530, Neeraj Upadhyay wrote: > Intention of doing per reg is to be explicit about which registers > are accessed from backing page, which from hv and which are not allowed > access. As access (and their perms) are per-reg and not range-based, this > made sense to me. Also, if ranges are used, I think 16-byte aligned > checks are needed for the range. If using ranges looks more logical grouping > here, I can update it as per the above range groupings. Is this list of registers going to remain or are we going to keep adding to it so that the ranges become contiguous? And yes, there is some merit to explicitly naming them but you can also put that in a comment once above those functions too. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette