public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel" <ard.biesheuvel@arm.com>
To: Jeremy Linton <jeremy.linton@arm.com>, devel@edk2.groups.io
Cc: leif@nuviainc.com, pete@akeo.ie, samer.el-haj-mahmoud@arm.com,
	awarkentin@vmware.com, philmd@redhat.com
Subject: Re: [PATCH 1/3] Platform/RaspberryPi/Acpitables: Further lower the DMA zone
Date: Mon, 11 Jan 2021 09:50:29 +0100	[thread overview]
Message-ID: <3a601696-8c66-2c85-9414-cbea4b923595@arm.com> (raw)
In-Reply-To: <20210108061623.1721817-2-jeremy.linton@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.



  reply	other threads:[~2021-01-11  8:50 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 [this message]
2021-01-11 14:58     ` Andrei Warkentin
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=3a601696-8c66-2c85-9414-cbea4b923595@arm.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