From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.5602.1633135964633294562 for ; Fri, 01 Oct 2021 17:52:45 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: jeremy.linton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3766DD6E; Fri, 1 Oct 2021 17:52:44 -0700 (PDT) Received: from u200856.usa.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E66FD3F766; Fri, 1 Oct 2021 17:52:43 -0700 (PDT) From: "Jeremy Linton" To: devel@edk2.groups.io Cc: pete@akeo.ie, ardb+tianocore@kernel.org, leif@nuviainc.com, awarkentin@vmware.com, Sunny.Wang@arm.com, samer.el-haj-mahmoud@arm.com, Jeremy Linton Subject: [PATCH 0/5] Platform/Rpi: Various cleanups Date: Fri, 1 Oct 2021 19:52:33 -0500 Message-Id: <20211002005238.40280-1-jeremy.linton@arm.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable This set is a few patches I've been collecting to fix minor issues I've s= een while debugging other problems, or just various things I think should pro= bably be changed. Generally I don't think they fix anything that is currently u= ser visible, although its quite possible some mysterious failures go away. I've been running all of them in some form or another for a few months an= d generally nothing has broken because of them AFAIK. So its probably time = to start getting a few of them out of my private tree. The first is just a compiler warning. The second is mostly expanding the mailbox lock to cover the return data. The third is an update to make the hopefully merged soon CM4 quirk actually work with the patches currently = on LKML. Number 4 is an odd one because it just looks wrong, and I'm worried= its causing random bugs. The final is a corrected shutdown sequence that was discussed months ago. It looks right. but didn't actually fix the data persistence problems that resulted in the couple second reboot delay that is currently in place. Jeremy Linton (5): Platform/RaspberryPi: Fix vfr warning caused by two defaults Platform/RaspberryPi: Expand locking to cover return data Platform/RaspberryPi: Update Linux quirk name Platform/RaspberryPi: Normal memory should not be marked as uncached Platform/RaspberryPi: Disconnect/shutdown all drivers before reboot Platform/RaspberryPi/AcpiTables/Pci.asl | 2 +- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 4 +- .../RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr | 2 +- .../Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c | 102 ++++++++++++---= ------ Platform/RaspberryPi/Library/ResetLib/ResetLib.c | 44 +++++++++ 5 files changed, 107 insertions(+), 47 deletions(-) --=20 2.13.7