qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 15/20] amd_iommu: Toggle memory regions based on address t


From: Sairaj Kodilkar
Subject: Re: [PATCH v2 15/20] amd_iommu: Toggle memory regions based on address translation mode
Date: Mon, 12 May 2025 12:22:59 +0530
User-agent: Mozilla Thunderbird



On 5/2/2025 7:46 AM, Alejandro Jimenez wrote:
Enable the appropriate memory region for an address space depending on the
address translation mode selected for it. This is currently based on a
generic x86 IOMMMU property, and only done during the address space

s/IOMMMU/IOMMU

initialization. Extract the code into a helper and toggle the regions based
on whether the specific address space is using address translation (via the
newly introduced addr_translation field). Later, region activation will also
be controlled by availability of DMA remapping capability (via dma-remap
property to be introduced in follow up changes).

Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>

Regards
Sairaj Kodilkar




reply via email to

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