From: "Ard Biesheuvel" <ard.biesheuvel@linaro.org>
To: Pete Batard <pete@akeo.ie>
Cc: edk2-devel-groups-io <devel@edk2.groups.io>,
"Leif Lindholm" <leif@nuviainc.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Jeremy Linton" <lintonrjeremy@gmail.com>
Subject: Re: [edk2-platforms][PATCH 1/1] Platform/RPi4: Add ACPI entry for Genet network interface
Date: Fri, 14 Feb 2020 08:55:45 +0000 [thread overview]
Message-ID: <CAKv+Gu8TkN3ca34YeHaLPX4yqRBnyhxA1wv6G2t-CjHzXMJnJQ@mail.gmail.com> (raw)
In-Reply-To: <20200203134010.12144-1-pete@akeo.ie>
On Mon, 3 Feb 2020 at 14:40, Pete Batard <pete@akeo.ie> wrote:
>
> The Raspberry Pi 4 platforms uses a Broadcom Genet network interface, for
> which we need ACPI entries in order to make it usable under Linux.
>
> This patch adds these entries, including a max-dma-burst-size DSD attribute
> aimed at simplifying support for Genet on distros that use older kernels,
> such as Debian.
>
> Note that we ran these settings through someone working for Broadcom, who
> okayed the proposed values including ownership of max-dma-burst-size (which
> we expect to also require for Device Tree usage on older kernels, hence the
> requirement for a designated owner).
>
> Signed-off-by: Pete Batard <pete@akeo.ie>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Pushed as 2f1cb7447690..cc7a0c68618c
> ---
> Platform/RaspberryPi/RPi4/AcpiTables/Dsdt.asl | 29 ++++++++++++++++++++
> 1 file changed, 29 insertions(+)
>
> diff --git a/Platform/RaspberryPi/RPi4/AcpiTables/Dsdt.asl b/Platform/RaspberryPi/RPi4/AcpiTables/Dsdt.asl
> index b2f1d3439211..12c3967fa9e1 100644
> --- a/Platform/RaspberryPi/RPi4/AcpiTables/Dsdt.asl
> +++ b/Platform/RaspberryPi/RPi4/AcpiTables/Dsdt.asl
> @@ -267,6 +267,35 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 5, "MSFT", "EDK2", 2)
> }
> }
>
> + Device (ETH0)
> + {
> + Name (_HID, "BCM6E4E")
> + Name (_CID, "BCM6E4E")
> + Name (_UID, 0x0)
> + Name (_CCA, 0x0)
> + Method (_STA)
> + {
> + Return (0xf)
> + }
> + Method (_CRS, 0x0, Serialized)
> + {
> + Name (RBUF, ResourceTemplate ()
> + {
> + Memory32Fixed (ReadWrite, 0xfd580000, 0x10000, )
> + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) { 0xBD }
> + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) { 0xBE }
> + })
> + Return (RBUF)
> + }
> + Name (_DSD, Package () {
> + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
> + Package () {
> + Package () { "brcm,max-dma-burst-size", 0x08 },
> + Package () { "phy-mode", "rgmii" },
> + }
> + })
> + }
> +
> // Description: I2C
> Device (I2C1)
> {
> --
> 2.21.0.windows.1
>
prev parent reply other threads:[~2020-02-14 8:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-03 13:40 [edk2-platforms][PATCH 1/1] Platform/RPi4: Add ACPI entry for Genet network interface Pete Batard
2020-02-08 8:52 ` Ard Biesheuvel
2020-02-08 14:19 ` Pete Batard
2020-02-08 17:24 ` Ard Biesheuvel
2020-02-14 8:55 ` Ard Biesheuvel [this message]
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=CAKv+Gu8TkN3ca34YeHaLPX4yqRBnyhxA1wv6G2t-CjHzXMJnJQ@mail.gmail.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