Re: [PATCH v3 01/10] x86/tdx: Split MMIO read and write operations

From: Kirill A. Shutemov
Date: Mon Aug 19 2024 - 06:19:19 EST


On Fri, Aug 16, 2024 at 03:43:51PM +0200, Alexey Gladkov wrote:
> From: "Alexey Gladkov (Intel)" <legion@xxxxxxxxxx>
>
> To implement MMIO in userspace, additional memory checks need to be
> implemented. To avoid overly complicating the handle_mmio() function
> and to separate checks from actions, it would be better to split this
> function into two separate functions to handle read and write
> operations.
>
> Signed-off-by: Alexey Gladkov (Intel) <legion@xxxxxxxxxx>

Reviewed-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>

--
Kiryl Shutsemau / Kirill A. Shutemov