Please consider for 4.19.y - applies cleanly on 4.19.102.
All three patches are already in 5.4.y so no need to apply them there as well.
Thanks,
Mathieu
Boris Brezillon (1):
spi: spi-mem: Add extra sanity checks on the op param
Brandon Maier (1):
gpio: zynq: Report gpio direction at boot
Shubhrajyoti Datta (1):
serial: uartps: Add a timeout to the tx empty wait
drivers/gpio/gpio-zynq.c | 23 +++++++++++++
drivers/spi/spi-mem.c | 54 ++++++++++++++++++++++++++----
drivers/tty/serial/xilinx_uartps.c | 14 +++++---
3 files changed, 81 insertions(+), 10 deletions(-)
--
2.20.1
Greg,
Commit 2b73ea379624 ("x86/boot: Handle malformed SRAT tables during
early ACPI parsing") fixes a boot hang on some ASUS motherboards with
an older BIOS. Could you pull this into 5.4.x and 5.5.x? Should cherry
pick cleanly into both.
Thanks
Steve
All created csrow objects must be removed in the error path of
edac_create_csrow_objects(). The objects have been added as devices.
They need to be removed by doing a device_del() *and* put_device()
call to also free their memory. The misssing put_device() leaves a
memory leak. Use device_unregister() instead of device_del() which
properly unregisters the device doing both.
Fixes: 7adc05d2dc3a ("EDAC/sysfs: Drop device references properly")
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Robert Richter <rrichter(a)marvell.com>
---
drivers/edac/edac_mc_sysfs.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_mc_sysfs.c
index 1c9c6a7b9f66..c70ec0a306d8 100644
--- a/drivers/edac/edac_mc_sysfs.c
+++ b/drivers/edac/edac_mc_sysfs.c
@@ -444,8 +444,7 @@ static int edac_create_csrow_objects(struct mem_ctl_info *mci)
csrow = mci->csrows[i];
if (!nr_pages_per_csrow(csrow))
continue;
-
- device_del(&mci->csrows[i]->dev);
+ device_unregister(&mci->csrows[i]->dev);
}
return err;
--
2.20.1