[edk2-devel] [PATCH 1/3] Platform/RaspberryPi/Acpitables: Further lower the DMA zone
Andrei Warkentin
awarkentin at vmware.com
Mon Jan 11 14:58:58 UTC 2021
Hi Ard and Jeremy,
Let's keep _DMA regardless. Not all OSes support the IORT mechanism for DMA restrictions....
A
---
Отправлено из Workspace ONE Boxer<https://whatisworkspaceone.com/boxer>
11 января 2021 г. в 2:50:34 AM GMT-6 Ard Biesheuvel <ard.biesheuvel at arm.com> пишет:
On 1/8/21 7:16 AM, Jeremy Linton wrote:
> We are going to add a _DMA() for the new controller, but
> it won't work right with the linux driver unless we lower
> the DMA zone again.
>
> Signed-off-by: Jeremy Linton <jeremy.linton at arm.com>
> ---
> Platform/RaspberryPi/AcpiTables/Iort.aslc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Platform/RaspberryPi/AcpiTables/Iort.aslc b/Platform/RaspberryPi/AcpiTables/Iort.aslc
> index 00720194bb..f576fa3b04 100644
> --- a/Platform/RaspberryPi/AcpiTables/Iort.aslc
> +++ b/Platform/RaspberryPi/AcpiTables/Iort.aslc
> @@ -46,7 +46,7 @@ STATIC RPI4_IO_REMAPPING_STRUCTURE Iort = {
> 0x0, // AllocationHints
> 0x0, // Reserved
> 0x0, // MemoryAccessFlags
> - 31, // AddressSizeLimit
> + 30, // AddressSizeLimit
> }, {
> "\\_SB_.SCB0.XHC0" // ObjectName
> }
>
If you create a new named component node here for the device(s) that
actually need this lower limit, you can avoid the _DMA method altogether.
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#70121): https://edk2.groups.io/g/devel/message/70121
Mute This Topic: https://groups.io/mt/79518730/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20210111/96053cd6/attachment.htm>
More information about the edk2-devel-archive
mailing list