On Wed, Oct 25, 2023 at 04:56:22PM +0200, David Hildenbrand wrote:
On 25.10.23 07:14, Ethan Chen wrote:
IOMMU have size information during translation.
Can you add some more information why we would want this and how the backend
can do "better" things with the size at hand?
With size information, IOMMU can reject a memory access which is patially in
valid region.
Currently translation function limit memory access size with a mask, so the
valid part of access will success. My target is to detect partially hit and
reject whole access. Translation function cannot detect partially hit because
it lacks size information.