I'm announcing the release of the 5.18.12 kernel.
This, and the 5.15.55, 5.10.131, and 5.4.206 releases are only for those users of the drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c driver, to prevent known data loss issues with that codebase. If you don't use this driver, no need to upgrade.
The updated 5.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.18.y and can be browsed at the normal kernel.org git web browser: https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git%3Ba=summa...
thanks,
greg k-h
------------
Makefile | 2 +- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Greg Kroah-Hartman (2): Revert "mtd: rawnand: gpmi: Fix setting busy timeout setting" Linux 5.18.12
diff --git a/Makefile b/Makefile index 323032d60ac3..f8e2445b6044 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 18 -SUBLEVEL = 11 +SUBLEVEL = 12 EXTRAVERSION = NAME = Superb Owl
diff --git a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c index 375529b7d12e..44b14c9dc9a7 100644 --- a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c @@ -695,7 +695,7 @@ static int gpmi_nfc_compute_timings(struct gpmi_nand_data *this, hw->timing0 = BF_GPMI_TIMING0_ADDRESS_SETUP(addr_setup_cycles) | BF_GPMI_TIMING0_DATA_HOLD(data_hold_cycles) | BF_GPMI_TIMING0_DATA_SETUP(data_setup_cycles); - hw->timing1 = BF_GPMI_TIMING1_BUSY_TIMEOUT(DIV_ROUND_UP(busy_timeout_cycles, 4096)); + hw->timing1 = BF_GPMI_TIMING1_BUSY_TIMEOUT(busy_timeout_cycles * 4096);
/* * Derive NFC ideal delay from {3}:
linux-stable-mirror@lists.linaro.org