|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v14 5/5] arm/vpci: honor access size when returning an error
Hi Stewart, On 14/05/2024 15:33, Stewart Hildebrand wrote: From: Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx> Guest can try to read config space using different access sizes: 8, 16, 32, 64 bits. We need to take this into account when we are returning an error back to MMIO handler, otherwise it is possible to provide more data than requested: i.e. guest issues LDRB instruction to read one byte, but we are writing 0xFFFFFFFFFFFFFFFF in the target register. Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx> Signed-off-by: Stewart Hildebrand <stewart.hildebrand@xxxxxxx> With one remark below: Acked-by: Julien Grall <jgrall@xxxxxxxxxx>
The name 'access_mask' is a bit confusing. I would not expect such value for be returned to the guest. What about 'invalid'? Also can you confirm whether patches #4 and #5 be committed without the rest of the series? Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |