From: "Andrei Warkentin" <awarkentin@vmware.com>
To: Ard Biesheuvel <ard.biesheuvel@arm.com>,
Jeremy Linton <jeremy.linton@arm.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "leif@nuviainc.com" <leif@nuviainc.com>,
"pete@akeo.ie" <pete@akeo.ie>,
"samer.el-haj-mahmoud@arm.com" <samer.el-haj-mahmoud@arm.com>,
"philmd@redhat.com" <philmd@redhat.com>
Subject: Re: [PATCH 1/3] Platform/RaspberryPi/Acpitables: Further lower the DMA zone
Date: Mon, 11 Jan 2021 14:58:58 +0000 [thread overview]
Message-ID: <9663EAA6-5DAC-46C5-8EA4-5A009BFB6402@vmware.com> (raw)
In-Reply-To: <3a601696-8c66-2c85-9414-cbea4b923595@arm.com>
[-- Attachment #1: Type: text/plain, Size: 1599 bytes --]
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@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@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.
[-- Attachment #2: Type: text/html, Size: 4425 bytes --]
next prev parent reply other threads:[~2021-01-11 14:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-08 6:16 [PATCH 0/3] Rpi: SD/Wifi Acpi updates Jeremy Linton
2021-01-08 6:16 ` [PATCH 1/3] Platform/RaspberryPi/Acpitables: Further lower the DMA zone Jeremy Linton
2021-01-11 8:50 ` Ard Biesheuvel
2021-01-11 14:58 ` Andrei Warkentin [this message]
2021-01-08 6:16 ` [PATCH 2/3] Platform/RaspberryPi/Acpitables: Add eMMC2 device and tweak Arasan Jeremy Linton
2021-01-08 8:28 ` Ard Biesheuvel
2021-01-08 16:27 ` Jeremy Linton
2021-01-09 14:09 ` [edk2-devel] " Mark Kettenis
2021-01-10 11:53 ` Mark Kettenis
2021-01-11 1:45 ` Jeremy Linton
2021-01-12 18:48 ` Mark Kettenis
2021-01-11 5:59 ` Jeremy Linton
2021-01-08 6:16 ` [PATCH 3/3] Platform/RaspberryPi; Invert default Arasan, Emmc2 routing Jeremy Linton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9663EAA6-5DAC-46C5-8EA4-5A009BFB6402@vmware.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox