From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web12.5780.1613030838469371213 for ; Thu, 11 Feb 2021 00:07:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b9gIcMhq; spf=pass (domain: kernel.org, ip: 198.145.29.99, mailfrom: ardb@kernel.org) Received: by mail.kernel.org (Postfix) with ESMTPSA id C0DB260C40 for ; Thu, 11 Feb 2021 08:07:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613030837; bh=Wuph7IcMRb+wJXdY3Ws/b3FEmuZqs5U2bHrzf5wN6U4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=b9gIcMhqLAncP0dnrS+Q75LuEtVRxxwe4Dr8VOpGXjkg9uelGdFkZezFyCjrCcifp giyWB4OJ0CVt8Nko3dVglplA+9002EAeAauIZMTMuuy8yZJ+ePy+Bxj1kMWXq6Cr3b BPi2Dd3uFn8q8E4GJcpC5UckqFPh5Vu3S5l70v0SZo7Mloliv0JX4rnlvn+Jr5VUoo 7iaDGzPuBodRU47UTjjmtZkLdfAdPJe+06EA539GsYOA4pFEJMLUVtCE+iwH8KSSvq jg6oSFfnvSfPleBEe/LbDxx9V57s9SdpqYCX2VVebSS8AUQ/m864AYvXxwNNhSVGSb Xsojj+FrtNA9w== Received: by mail-ot1-f45.google.com with SMTP id e5so4384563otb.11 for ; Thu, 11 Feb 2021 00:07:17 -0800 (PST) X-Gm-Message-State: AOAM530x5N5Mw8egoebnFwskw3yvGp2wvxAu3KSUPldx5GSwYR9geBZc gsY6hqzAau3plChf+sWYXjbjH5YIN257IO+nPLE= X-Google-Smtp-Source: ABdhPJyTvsBbnTqqn+TgqC34hrHrdkm5coJpQgq8slVuDGbk+MXvbKnQBiBuzZoCqbX+JpgUxtU4uucb9kvnUjgmoxs= X-Received: by 2002:a05:6830:1285:: with SMTP id z5mr4957882otp.90.1613030837140; Thu, 11 Feb 2021 00:07:17 -0800 (PST) MIME-Version: 1.0 References: <20210201225343.2001835-1-jeremy.linton@arm.com> In-Reply-To: <20210201225343.2001835-1-jeremy.linton@arm.com> From: "Ard Biesheuvel" Date: Thu, 11 Feb 2021 09:07:06 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/4] RPi: SD/Wifi Acpi updates To: Jeremy Linton Cc: devel@edk2.groups.io, Peter Batard , Andrei Warkentin , Samer El-Haj-Mahmoud , Leif Lindholm , Ard Biesheuvel Content-Type: text/plain; charset="UTF-8" On Mon, 1 Feb 2021 at 23:53, Jeremy Linton wrote: > > The existing RPi3 acpi entries for the Arasan > and sdhci controllers needs updating to work > with the RPi4. This is done by adding a caps > override for the legacy Arasan controller and > then adding an entirely new entry for the newer > eMMC2 controller. > > Then we flip the default routing to make the eMMC2 > the default for the SD card, so that the wifi can > start working on the Arasan. > > Additional we add a menu item to enable the SDMA/ADMA2 > modes on the controller. > > v1->v2: Add option for user to enable/disable eMMC DMA > Only enable the emmc2 table on rpi4 & > !Arasan routing > Move emmc2 into its own SSDT and drop > second _DMA entry > > Jeremy Linton (4): > Platform/RaspberryPi: Add Negative table check > Platform/RaspberryPi/Acpitables: Add eMMC2 device and tweak Arasan > Platform/RaspberryPi: User control of eMMC2 DMA > Platform/RaspberryPi: Invert default Arasan, Emmc2 routing > Hi Jeremy, I don't see v2 2/4 in my mailbox or in the ML archive. Can you resend please? Also, what is the status of this work on the Linux side? > Platform/RaspberryPi/AcpiTables/AcpiTables.inf | 1 + > Platform/RaspberryPi/AcpiTables/Emmc.asl | 130 +++++++++++++++++++++ > Platform/RaspberryPi/AcpiTables/Sdhc.asl | 18 ++- > Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 26 +++++ > .../RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf | 1 + > .../RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.uni | 5 + > .../RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr | 17 +++ > Platform/RaspberryPi/Include/ConfigVars.h | 8 ++ > Platform/RaspberryPi/RPi3/RPi3.dsc | 1 + > Platform/RaspberryPi/RPi4/RPi4.dsc | 3 +- > Platform/RaspberryPi/RPi4/Readme.md | 2 +- > Platform/RaspberryPi/RaspberryPi.dec | 1 + > 12 files changed, 208 insertions(+), 5 deletions(-) > create mode 100644 Platform/RaspberryPi/AcpiTables/Emmc.asl > > -- > 2.13.7 >