qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/6] exec/memory: Introduce the translate_size function withi


From: David Hildenbrand
Subject: Re: [PATCH 1/6] exec/memory: Introduce the translate_size function within the IOMMU class
Date: Thu, 26 Oct 2023 09:26:57 +0200
User-agent: Mozilla Thunderbird

On 26.10.23 09:14, Ethan Chen wrote:
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.

Thanks; please add some of that to the patch description.

--
Cheers,

David / dhildenb




reply via email to

[Prev in Thread] Current Thread [Next in Thread]