2022-10-03 09:28:40

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 00/30] 5.4.216-rc1 review

This is the start of the stable review cycle for the 5.4.216 release.
There are 30 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.

Responses should be made by Wed, 05 Oct 2022 07:07:06 +0000.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.216-rc1.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <[email protected]>
Linux 5.4.216-rc1

Florian Fainelli <[email protected]>
clk: iproc: Do not rely on node name for correct PLL setup

Han Xu <[email protected]>
clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks

Wang Yufen <[email protected]>
selftests: Fix the if conditions of in test_extra_filter()

Michael Kelley <[email protected]>
nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices

Chaitanya Kulkarni <[email protected]>
nvme: add new line after variable declatation

Peilin Ye <[email protected]>
usbnet: Fix memory leak in usbnet_disconnect()

Yang Yingliang <[email protected]>
Input: melfas_mip4 - fix return value check in mip4_probe()

Brian Norris <[email protected]>
Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time"

Samuel Holland <[email protected]>
soc: sunxi: sram: Fix debugfs info for A64 SRAM C

Samuel Holland <[email protected]>
soc: sunxi: sram: Fix probe function ordering issues

Cai Huoqing <[email protected]>
soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource()

Samuel Holland <[email protected]>
soc: sunxi: sram: Prevent the driver from being unbound

Samuel Holland <[email protected]>
soc: sunxi: sram: Actually claim SRAM regions

YuTong Chang <[email protected]>
ARM: dts: am33xx: Fix MMCHS0 dma properties

Faiz Abbas <[email protected]>
ARM: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver

Hangyu Hua <[email protected]>
media: dvb_vb2: fix possible out of bound access

Minchan Kim <[email protected]>
mm: fix madivse_pageout mishandling on non-LRU page

Alistair Popple <[email protected]>
mm/migrate_device.c: flush TLB while holding PTL

Maurizio Lombardi <[email protected]>
mm: prevent page_frag_alloc() from corrupting the memory

Mel Gorman <[email protected]>
mm/page_alloc: fix race condition between build_all_zonelists and page allocation

Sergei Antonov <[email protected]>
mmc: moxart: fix 4-bit bus width and remove 8-bit bus width

Niklas Cassel <[email protected]>
libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205

Sasha Levin <[email protected]>
Revert "net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()"

ChenXiaoSong <[email protected]>
ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()

Linus Walleij <[email protected]>
ARM: dts: integrator: Tag PCI host with device_type

Aidan MacDonald <[email protected]>
clk: ingenic-tcu: Properly enable registers before accessing timers

Frank Wunderlich <[email protected]>
net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455

Hongling Zeng <[email protected]>
uas: ignore UAS for Thinkplus chips

Hongling Zeng <[email protected]>
usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS

Hongling Zeng <[email protected]>
uas: add no-uas quirk for Hiksemi usb_disk


-------------

Diffstat:

Makefile | 4 +-
arch/arm/boot/dts/am335x-baltos.dtsi | 2 +-
arch/arm/boot/dts/am335x-boneblack-common.dtsi | 1 +
arch/arm/boot/dts/am335x-boneblack-wireless.dts | 1 -
arch/arm/boot/dts/am335x-boneblue.dts | 1 -
arch/arm/boot/dts/am335x-bonegreen-wireless.dts | 1 -
arch/arm/boot/dts/am335x-evm.dts | 3 +-
arch/arm/boot/dts/am335x-evmsk.dts | 2 +-
arch/arm/boot/dts/am335x-lxm.dts | 2 +-
arch/arm/boot/dts/am335x-moxa-uc-2100-common.dtsi | 2 +-
arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts | 2 +-
arch/arm/boot/dts/am335x-pepper.dts | 4 +-
arch/arm/boot/dts/am335x-phycore-som.dtsi | 2 +-
arch/arm/boot/dts/am33xx-l4.dtsi | 9 +--
arch/arm/boot/dts/am33xx.dtsi | 3 +-
arch/arm/boot/dts/am4372.dtsi | 3 +-
arch/arm/boot/dts/am437x-cm-t43.dts | 2 +-
arch/arm/boot/dts/am437x-gp-evm.dts | 4 +-
arch/arm/boot/dts/am437x-l4.dtsi | 5 +-
arch/arm/boot/dts/am437x-sk-evm.dts | 2 +-
arch/arm/boot/dts/integratorap.dts | 1 +
drivers/ata/libata-core.c | 4 ++
drivers/clk/bcm/clk-iproc-pll.c | 12 ++--
drivers/clk/imx/clk-imx6sx.c | 4 +-
drivers/clk/ingenic/tcu.c | 15 ++---
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 13 -----
drivers/input/touchscreen/melfas_mip4.c | 2 +-
drivers/media/dvb-core/dvb_vb2.c | 11 ++++
drivers/mmc/host/moxart-mmc.c | 17 +-----
drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c | 4 +-
drivers/net/usb/qmi_wwan.c | 1 +
drivers/net/usb/usbnet.c | 7 ++-
drivers/nvme/host/core.c | 9 ++-
drivers/soc/sunxi/sunxi_sram.c | 27 ++++-----
drivers/usb/storage/unusual_uas.h | 21 +++++++
fs/ntfs/super.c | 3 +-
mm/madvise.c | 7 ++-
mm/migrate.c | 5 +-
mm/page_alloc.c | 65 ++++++++++++++++++----
tools/testing/selftests/net/reuseport_bpf.c | 2 +-
40 files changed, 173 insertions(+), 112 deletions(-)



2022-10-03 09:28:50

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 02/30] usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS

From: Hongling Zeng <[email protected]>

commit e00b488e813f0f1ad9f778e771b7cd2fe2877023 upstream.

The UAS mode of Hiksemi USB_HDD is reported to fail to work on several
platforms with the following error message, then after re-connecting the
device will be offlined and not working at all.

[ 592.518442][ 2] sd 8:0:0:0: [sda] tag#17 uas_eh_abort_handler 0 uas-tag 18
inflight: CMD
[ 592.527575][ 2] sd 8:0:0:0: [sda] tag#17 CDB: Write(10) 2a 00 03 6f 88 00 00
04 00 00
[ 592.536330][ 2] sd 8:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1
inflight: CMD
[ 592.545266][ 2] sd 8:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 07 44 1a 88 00
00 08 00

These disks have a broken uas implementation, the tag field of the status
iu-s is not set properly,so we need to fall-back to usb-storage.

Acked-by: Alan Stern <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Hongling Zeng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/usb/storage/unusual_uas.h | 7 +++++++
1 file changed, 7 insertions(+)

--- a/drivers/usb/storage/unusual_uas.h
+++ b/drivers/usb/storage/unusual_uas.h
@@ -83,6 +83,13 @@ UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x99
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
US_FL_NO_REPORT_LUNS),

+/* Reported-by: Hongling Zeng <[email protected]> */
+UNUSUAL_DEV(0x0bda, 0x9210, 0x0000, 0x9999,
+ "Hiksemi",
+ "External HDD",
+ USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+ US_FL_IGNORE_UAS),
+
/* Reported-by: Benjamin Tissoires <[email protected]> */
UNUSUAL_DEV(0x13fd, 0x3940, 0x0000, 0x9999,
"Initio Corporation",


2022-10-03 09:29:12

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 17/30] ARM: dts: am33xx: Fix MMCHS0 dma properties

From: YuTong Chang <[email protected]>

[ Upstream commit 2eb502f496f7764027b7958d4e74356fed918059 ]

According to technical manual(table 11-24), the DMA of MMCHS0 should be
direct mapped.

Fixes: b5e509066074 ("ARM: DTS: am33xx: Use the new DT bindings for the eDMA3")
Signed-off-by: YuTong Chang <[email protected]>
Message-Id: <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
arch/arm/boot/dts/am33xx-l4.dtsi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/am33xx-l4.dtsi b/arch/arm/boot/dts/am33xx-l4.dtsi
index b0fe02a91c37..cacd564b4d28 100644
--- a/arch/arm/boot/dts/am33xx-l4.dtsi
+++ b/arch/arm/boot/dts/am33xx-l4.dtsi
@@ -1335,8 +1335,7 @@
mmc1: mmc@0 {
compatible = "ti,am335-sdhci";
ti,needs-special-reset;
- dmas = <&edma_xbar 24 0 0
- &edma_xbar 25 0 0>;
+ dmas = <&edma 24 0>, <&edma 25 0>;
dma-names = "tx", "rx";
interrupts = <64>;
reg = <0x0 0x1000>;
--
2.35.1



2022-10-03 09:29:43

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 13/30] mm/migrate_device.c: flush TLB while holding PTL

From: Alistair Popple <[email protected]>

commit 60bae73708963de4a17231077285bd9ff2f41c44 upstream.

When clearing a PTE the TLB should be flushed whilst still holding the PTL
to avoid a potential race with madvise/munmap/etc. For example consider
the following sequence:

CPU0 CPU1
---- ----

migrate_vma_collect_pmd()
pte_unmap_unlock()
madvise(MADV_DONTNEED)
-> zap_pte_range()
pte_offset_map_lock()
[ PTE not present, TLB not flushed ]
pte_unmap_unlock()
[ page is still accessible via stale TLB ]
flush_tlb_range()

In this case the page may still be accessed via the stale TLB entry after
madvise returns. Fix this by flushing the TLB while holding the PTL.

Fixes: 8c3328f1f36a ("mm/migrate: migrate_vma() unmap page from vma while collecting pages")
Link: https://lkml.kernel.org/r/9f801e9d8d830408f2ca27821f606e09aa856899.1662078528.git-series.apopple@nvidia.com
Signed-off-by: Alistair Popple <[email protected]>
Reported-by: Nadav Amit <[email protected]>
Reviewed-by: "Huang, Ying" <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Acked-by: Peter Xu <[email protected]>
Cc: Alex Sierra <[email protected]>
Cc: Ben Skeggs <[email protected]>
Cc: Felix Kuehling <[email protected]>
Cc: huang ying <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: John Hubbard <[email protected]>
Cc: Karol Herbst <[email protected]>
Cc: Logan Gunthorpe <[email protected]>
Cc: Lyude Paul <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Ralph Campbell <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
mm/migrate.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

--- a/mm/migrate.c
+++ b/mm/migrate.c
@@ -2343,13 +2343,14 @@ next:
migrate->dst[migrate->npages] = 0;
migrate->src[migrate->npages++] = mpfn;
}
- arch_leave_lazy_mmu_mode();
- pte_unmap_unlock(ptep - 1, ptl);

/* Only flush the TLB if we actually modified any entries */
if (unmapped)
flush_tlb_range(walk->vma, start, end);

+ arch_leave_lazy_mmu_mode();
+ pte_unmap_unlock(ptep - 1, ptl);
+
return 0;
}



2022-10-03 09:30:35

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 07/30] ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()

From: ChenXiaoSong <[email protected]>

commit 1b513f613731e2afc05550e8070d79fac80c661e upstream.

Syzkaller reported BUG_ON as follows:

------------[ cut here ]------------
kernel BUG at fs/ntfs/dir.c:86!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 3 PID: 758 Comm: a.out Not tainted 5.19.0-next-20220808 #5
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
RIP: 0010:ntfs_lookup_inode_by_name+0xd11/0x2d10
Code: ff e9 b9 01 00 00 e8 1e fe d6 fe 48 8b 7d 98 49 8d 5d 07 e8 91 85 29 ff 48 c7 45 98 00 00 00 00 e9 5a fb ff ff e8 ff fd d6 fe <0f> 0b e8 f8 fd d6 fe 0f 0b e8 f1 fd d6 fe 48 8b b5 50 ff ff ff 4c
RSP: 0018:ffff888079607978 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000008000 RCX: 0000000000000000
RDX: ffff88807cf10000 RSI: ffffffff82a4a081 RDI: 0000000000000003
RBP: ffff888079607a70 R08: 0000000000000001 R09: ffff88807a6d01d7
R10: ffffed100f4da03a R11: 0000000000000000 R12: ffff88800f0fb110
R13: ffff88800f0ee000 R14: ffff88800f0fb000 R15: 0000000000000001
FS: 00007f33b63c7540(0000) GS:ffff888108580000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f33b635c090 CR3: 000000000f39e005 CR4: 0000000000770ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
PKRU: 55555554
Call Trace:
<TASK>
load_system_files+0x1f7f/0x3620
ntfs_fill_super+0xa01/0x1be0
mount_bdev+0x36a/0x440
ntfs_mount+0x3a/0x50
legacy_get_tree+0xfb/0x210
vfs_get_tree+0x8f/0x2f0
do_new_mount+0x30a/0x760
path_mount+0x4de/0x1880
__x64_sys_mount+0x2b3/0x340
do_syscall_64+0x38/0x90
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f33b62ff9ea
Code: 48 8b 0d a9 f4 0b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 76 f4 0b 00 f7 d8 64 89 01 48
RSP: 002b:00007ffd0c471aa8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f33b62ff9ea
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffd0c471be0
RBP: 00007ffd0c471c60 R08: 00007ffd0c471ae0 R09: 00007ffd0c471c24
R10: 0000000000000000 R11: 0000000000000202 R12: 000055bac5afc160
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---

Fix this by adding sanity check on extended system files' directory inode
to ensure that it is directory, just like ntfs_extend_init() when mounting
ntfs3.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: ChenXiaoSong <[email protected]>
Cc: Anton Altaparmakov <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
fs/ntfs/super.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

--- a/fs/ntfs/super.c
+++ b/fs/ntfs/super.c
@@ -2092,7 +2092,8 @@ get_ctx_vol_failed:
// TODO: Initialize security.
/* Get the extended system files' directory inode. */
vol->extend_ino = ntfs_iget(sb, FILE_Extend);
- if (IS_ERR(vol->extend_ino) || is_bad_inode(vol->extend_ino)) {
+ if (IS_ERR(vol->extend_ino) || is_bad_inode(vol->extend_ino) ||
+ !S_ISDIR(vol->extend_ino->i_mode)) {
if (!IS_ERR(vol->extend_ino))
iput(vol->extend_ino);
ntfs_error(sb, "Failed to load $Extend.");


2022-10-03 09:30:40

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 11/30] mm/page_alloc: fix race condition between build_all_zonelists and page allocation

From: Mel Gorman <[email protected]>

commit 3d36424b3b5850bd92f3e89b953a430d7cfc88ef upstream.

Patrick Daly reported the following problem;

NODE_DATA(nid)->node_zonelists[ZONELIST_FALLBACK] - before offline operation
[0] - ZONE_MOVABLE
[1] - ZONE_NORMAL
[2] - NULL

For a GFP_KERNEL allocation, alloc_pages_slowpath() will save the
offset of ZONE_NORMAL in ac->preferred_zoneref. If a concurrent
memory_offline operation removes the last page from ZONE_MOVABLE,
build_all_zonelists() & build_zonerefs_node() will update
node_zonelists as shown below. Only populated zones are added.

NODE_DATA(nid)->node_zonelists[ZONELIST_FALLBACK] - after offline operation
[0] - ZONE_NORMAL
[1] - NULL
[2] - NULL

The race is simple -- page allocation could be in progress when a memory
hot-remove operation triggers a zonelist rebuild that removes zones. The
allocation request will still have a valid ac->preferred_zoneref that is
now pointing to NULL and triggers an OOM kill.

This problem probably always existed but may be slightly easier to trigger
due to 6aa303defb74 ("mm, vmscan: only allocate and reclaim from zones
with pages managed by the buddy allocator") which distinguishes between
zones that are completely unpopulated versus zones that have valid pages
not managed by the buddy allocator (e.g. reserved, memblock, ballooning
etc). Memory hotplug had multiple stages with timing considerations
around managed/present page updates, the zonelist rebuild and the zone
span updates. As David Hildenbrand puts it

memory offlining adjusts managed+present pages of the zone
essentially in one go. If after the adjustments, the zone is no
longer populated (present==0), we rebuild the zone lists.

Once that's done, we try shrinking the zone (start+spanned
pages) -- which results in zone_start_pfn == 0 if there are no
more pages. That happens *after* rebuilding the zonelists via
remove_pfn_range_from_zone().

The only requirement to fix the race is that a page allocation request
identifies when a zonelist rebuild has happened since the allocation
request started and no page has yet been allocated. Use a seqlock_t to
track zonelist updates with a lockless read-side of the zonelist and
protecting the rebuild and update of the counter with a spinlock.

[[email protected]: make zonelist_update_seq static]
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 6aa303defb74 ("mm, vmscan: only allocate and reclaim from zones with pages managed by the buddy allocator")
Signed-off-by: Mel Gorman <[email protected]>
Reported-by: Patrick Daly <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Cc: <[email protected]> [4.9+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
mm/page_alloc.c | 53 +++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 43 insertions(+), 10 deletions(-)

--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -4123,6 +4123,30 @@ void fs_reclaim_release(gfp_t gfp_mask)
EXPORT_SYMBOL_GPL(fs_reclaim_release);
#endif

+/*
+ * Zonelists may change due to hotplug during allocation. Detect when zonelists
+ * have been rebuilt so allocation retries. Reader side does not lock and
+ * retries the allocation if zonelist changes. Writer side is protected by the
+ * embedded spin_lock.
+ */
+static DEFINE_SEQLOCK(zonelist_update_seq);
+
+static unsigned int zonelist_iter_begin(void)
+{
+ if (IS_ENABLED(CONFIG_MEMORY_HOTREMOVE))
+ return read_seqbegin(&zonelist_update_seq);
+
+ return 0;
+}
+
+static unsigned int check_retry_zonelist(unsigned int seq)
+{
+ if (IS_ENABLED(CONFIG_MEMORY_HOTREMOVE))
+ return read_seqretry(&zonelist_update_seq, seq);
+
+ return seq;
+}
+
/* Perform direct synchronous page reclaim */
static int
__perform_reclaim(gfp_t gfp_mask, unsigned int order,
@@ -4430,6 +4454,7 @@ __alloc_pages_slowpath(gfp_t gfp_mask, u
int compaction_retries;
int no_progress_loops;
unsigned int cpuset_mems_cookie;
+ unsigned int zonelist_iter_cookie;
int reserve_flags;

/*
@@ -4440,11 +4465,12 @@ __alloc_pages_slowpath(gfp_t gfp_mask, u
(__GFP_ATOMIC|__GFP_DIRECT_RECLAIM)))
gfp_mask &= ~__GFP_ATOMIC;

-retry_cpuset:
+restart:
compaction_retries = 0;
no_progress_loops = 0;
compact_priority = DEF_COMPACT_PRIORITY;
cpuset_mems_cookie = read_mems_allowed_begin();
+ zonelist_iter_cookie = zonelist_iter_begin();

/*
* The fast path uses conservative alloc_flags to succeed only until
@@ -4617,9 +4643,13 @@ retry:
goto retry;


- /* Deal with possible cpuset update races before we start OOM killing */
- if (check_retry_cpuset(cpuset_mems_cookie, ac))
- goto retry_cpuset;
+ /*
+ * Deal with possible cpuset update races or zonelist updates to avoid
+ * a unnecessary OOM kill.
+ */
+ if (check_retry_cpuset(cpuset_mems_cookie, ac) ||
+ check_retry_zonelist(zonelist_iter_cookie))
+ goto restart;

/* Reclaim has failed us, start killing things */
page = __alloc_pages_may_oom(gfp_mask, order, ac, &did_some_progress);
@@ -4639,9 +4669,13 @@ retry:
}

nopage:
- /* Deal with possible cpuset update races before we fail */
- if (check_retry_cpuset(cpuset_mems_cookie, ac))
- goto retry_cpuset;
+ /*
+ * Deal with possible cpuset update races or zonelist updates to avoid
+ * a unnecessary OOM kill.
+ */
+ if (check_retry_cpuset(cpuset_mems_cookie, ac) ||
+ check_retry_zonelist(zonelist_iter_cookie))
+ goto restart;

/*
* Make sure that __GFP_NOFAIL request doesn't leak out and make sure
@@ -5770,9 +5804,8 @@ static void __build_all_zonelists(void *
int nid;
int __maybe_unused cpu;
pg_data_t *self = data;
- static DEFINE_SPINLOCK(lock);

- spin_lock(&lock);
+ write_seqlock(&zonelist_update_seq);

#ifdef CONFIG_NUMA
memset(node_load, 0, sizeof(node_load));
@@ -5805,7 +5838,7 @@ static void __build_all_zonelists(void *
#endif
}

- spin_unlock(&lock);
+ write_sequnlock(&zonelist_update_seq);
}

static noinline void __init


2022-10-03 18:02:15

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.4 00/30] 5.4.216-rc1 review

On Mon, Oct 03, 2022 at 09:11:42AM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.216 release.
> There are 30 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 05 Oct 2022 07:07:06 +0000.
> Anything received after that time might be too late.
>

Build results:
total: 161 pass: 161 fail: 0
Qemu test results:
total: 447 pass: 447 fail: 0

Tested-by: Guenter Roeck <[email protected]>

Guenter

2022-10-03 18:31:57

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH 5.4 00/30] 5.4.216-rc1 review

On 10/3/22 00:11, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.216 release.
> There are 30 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 05 Oct 2022 07:07:06 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.216-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels, build tested on
BMIPS_GENERIC:

Tested-by: Florian Fainelli <[email protected]>
--
Florian

2022-10-04 00:31:30

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH 5.4 00/30] 5.4.216-rc1 review

On 10/3/22 01:11, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.216 release.
> There are 30 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 05 Oct 2022 07:07:06 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.216-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
> -------------
> Pseudo-Shortlog of commits:
>
> Greg Kroah-Hartman <[email protected]>
> Linux 5.4.216-rc1
>
> Florian Fainelli <[email protected]>
> clk: iproc: Do not rely on node name for correct PLL setup
>
> Han Xu <[email protected]>
> clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks
>
> Wang Yufen <[email protected]>
> selftests: Fix the if conditions of in test_extra_filter()
>
> Michael Kelley <[email protected]>
> nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices
>
> Chaitanya Kulkarni <[email protected]>
> nvme: add new line after variable declatation
>
> Peilin Ye <[email protected]>
> usbnet: Fix memory leak in usbnet_disconnect()
>
> Yang Yingliang <[email protected]>
> Input: melfas_mip4 - fix return value check in mip4_probe()
>
> Brian Norris <[email protected]>
> Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time"
>
> Samuel Holland <[email protected]>
> soc: sunxi: sram: Fix debugfs info for A64 SRAM C
>
> Samuel Holland <[email protected]>
> soc: sunxi: sram: Fix probe function ordering issues
>
> Cai Huoqing <[email protected]>
> soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource()
>
> Samuel Holland <[email protected]>
> soc: sunxi: sram: Prevent the driver from being unbound
>
> Samuel Holland <[email protected]>
> soc: sunxi: sram: Actually claim SRAM regions
>
> YuTong Chang <[email protected]>
> ARM: dts: am33xx: Fix MMCHS0 dma properties
>
> Faiz Abbas <[email protected]>
> ARM: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver
>
> Hangyu Hua <[email protected]>
> media: dvb_vb2: fix possible out of bound access
>
> Minchan Kim <[email protected]>
> mm: fix madivse_pageout mishandling on non-LRU page
>
> Alistair Popple <[email protected]>
> mm/migrate_device.c: flush TLB while holding PTL
>
> Maurizio Lombardi <[email protected]>
> mm: prevent page_frag_alloc() from corrupting the memory
>
> Mel Gorman <[email protected]>
> mm/page_alloc: fix race condition between build_all_zonelists and page allocation
>
> Sergei Antonov <[email protected]>
> mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
>
> Niklas Cassel <[email protected]>
> libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205
>
> Sasha Levin <[email protected]>
> Revert "net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()"
>
> ChenXiaoSong <[email protected]>
> ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
>
> Linus Walleij <[email protected]>
> ARM: dts: integrator: Tag PCI host with device_type
>
> Aidan MacDonald <[email protected]>
> clk: ingenic-tcu: Properly enable registers before accessing timers
>
> Frank Wunderlich <[email protected]>
> net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455
>
> Hongling Zeng <[email protected]>
> uas: ignore UAS for Thinkplus chips
>
> Hongling Zeng <[email protected]>
> usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS
>
> Hongling Zeng <[email protected]>
> uas: add no-uas quirk for Hiksemi usb_disk
>
>
> -------------
>
> Diffstat:
>
> Makefile | 4 +-
> arch/arm/boot/dts/am335x-baltos.dtsi | 2 +-
> arch/arm/boot/dts/am335x-boneblack-common.dtsi | 1 +
> arch/arm/boot/dts/am335x-boneblack-wireless.dts | 1 -
> arch/arm/boot/dts/am335x-boneblue.dts | 1 -
> arch/arm/boot/dts/am335x-bonegreen-wireless.dts | 1 -
> arch/arm/boot/dts/am335x-evm.dts | 3 +-
> arch/arm/boot/dts/am335x-evmsk.dts | 2 +-
> arch/arm/boot/dts/am335x-lxm.dts | 2 +-
> arch/arm/boot/dts/am335x-moxa-uc-2100-common.dtsi | 2 +-
> arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts | 2 +-
> arch/arm/boot/dts/am335x-pepper.dts | 4 +-
> arch/arm/boot/dts/am335x-phycore-som.dtsi | 2 +-
> arch/arm/boot/dts/am33xx-l4.dtsi | 9 +--
> arch/arm/boot/dts/am33xx.dtsi | 3 +-
> arch/arm/boot/dts/am4372.dtsi | 3 +-
> arch/arm/boot/dts/am437x-cm-t43.dts | 2 +-
> arch/arm/boot/dts/am437x-gp-evm.dts | 4 +-
> arch/arm/boot/dts/am437x-l4.dtsi | 5 +-
> arch/arm/boot/dts/am437x-sk-evm.dts | 2 +-
> arch/arm/boot/dts/integratorap.dts | 1 +
> drivers/ata/libata-core.c | 4 ++
> drivers/clk/bcm/clk-iproc-pll.c | 12 ++--
> drivers/clk/imx/clk-imx6sx.c | 4 +-
> drivers/clk/ingenic/tcu.c | 15 ++---
> drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 13 -----
> drivers/input/touchscreen/melfas_mip4.c | 2 +-
> drivers/media/dvb-core/dvb_vb2.c | 11 ++++
> drivers/mmc/host/moxart-mmc.c | 17 +-----
> drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c | 4 +-
> drivers/net/usb/qmi_wwan.c | 1 +
> drivers/net/usb/usbnet.c | 7 ++-
> drivers/nvme/host/core.c | 9 ++-
> drivers/soc/sunxi/sunxi_sram.c | 27 ++++-----
> drivers/usb/storage/unusual_uas.h | 21 +++++++
> fs/ntfs/super.c | 3 +-
> mm/madvise.c | 7 ++-
> mm/migrate.c | 5 +-
> mm/page_alloc.c | 65 ++++++++++++++++++----
> tools/testing/selftests/net/reuseport_bpf.c | 2 +-
> 40 files changed, 173 insertions(+), 112 deletions(-)
>
>
>

Compiled and failed to boot. Reverting the following patch fixes
the problem.

commit 4b453403a945b13ea8aa9e8628bec1eaffeb7257 (HEAD -> linux-5.4.y)
Author: Shuah Khan <[email protected]>
Date: Mon Oct 3 15:45:57 2022 -0600

Revert "drm/amdgpu: use dirty framebuffer helper"

thanks,
-- Shuah

This reverts commit c89849ecfd2e10838b31c519c2a6607266b58f02.

2022-10-04 09:25:15

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 5.4 00/30] 5.4.216-rc1 review

On Mon, 3 Oct 2022 at 12:54, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 5.4.216 release.
> There are 30 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 05 Oct 2022 07:07:06 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.216-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

Results from Linaro's test farm.
No regressions on arm64, arm, x86_64, and i386.

Tested-by: Linux Kernel Functional Testing <[email protected]>

## Build
* kernel: 5.4.216-rc1
* git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
* git branch: linux-5.4.y
* git commit: d69f2dcfc489105c21e2323f5a9e8f215296ea31
* git describe: v5.4.215-31-gd69f2dcfc489
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.4.y/build/v5.4.215-31-gd69f2dcfc489

## No Test Regressions (compared to v5.4.215)

## No Metric Regressions (compared to v5.4.215)

## No Test Fixes (compared to v5.4.215)

## No Metric Fixes (compared to v5.4.215)

## Test result summary
total: 95444, pass: 83176, fail: 739, skip: 11127, xfail: 402

## Build Summary
* arc: 10 total, 10 passed, 0 failed
* arm: 332 total, 331 passed, 1 failed
* arm64: 61 total, 56 passed, 5 failed
* i386: 31 total, 29 passed, 2 failed
* mips: 56 total, 53 passed, 3 failed
* parisc: 12 total, 12 passed, 0 failed
* powerpc: 63 total, 57 passed, 6 failed
* riscv: 27 total, 26 passed, 1 failed
* s390: 15 total, 15 passed, 0 failed
* sh: 24 total, 24 passed, 0 failed
* sparc: 12 total, 12 passed, 0 failed
* x86_64: 57 total, 55 passed, 2 failed

## Test suites summary
* fwts
* igt-gpu-tools
* kunit
* kvm-unit-tests
* libgpiod
* libhugetlbfs
* log-parser-boot
* log-parser-test
* ltp-cap_bounds
* ltp-commands
* ltp-containers
* ltp-controllers
* ltp-cpuhotplug
* ltp-crypto
* ltp-cve
* ltp-dio
* ltp-fcntl-locktests
* ltp-filecaps
* ltp-fs
* ltp-fs_bind
* ltp-fs_perms_simple
* ltp-fsx
* ltp-hugetlb
* ltp-io
* ltp-ipc
* ltp-math
* ltp-mm
* ltp-nptl
* ltp-open-posix-tests
* ltp-pty
* ltp-sched
* ltp-securebits
* ltp-syscalls
* ltp-tracing
* network-basic-tests
* packetdrill
* rcutorture
* v4l2-compliance
* vdso

--
Linaro LKFT
https://lkft.linaro.org

2022-10-04 12:11:37

by Sudip Mukherjee

[permalink] [raw]
Subject: Re: [PATCH 5.4 00/30] 5.4.216-rc1 review

Hi Greg,

On Mon, Oct 03, 2022 at 09:11:42AM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.216 release.
> There are 30 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 05 Oct 2022 07:07:06 +0000.
> Anything received after that time might be too late.

Build test (gcc version 11.3.1 20220925):
mips: 65 configs -> no failure
arm: 106 configs -> no failure
arm64: 2 configs -> no failure
x86_64: 4 configs -> no failure
alpha allmodconfig -> no failure
powerpc allmodconfig -> no failure
riscv allmodconfig -> no failure
s390 allmodconfig -> no failure
xtensa allmodconfig -> no failure


Boot test:
x86_64: Booted on my test laptop. No regression.
x86_64: Booted on qemu. No regression. [1]

[1]. https://openqa.qa.codethink.co.uk/tests/1944


Tested-by: Sudip Mukherjee <[email protected]>

--
Regards
Sudip

2022-10-04 17:42:08

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 5.4 00/30] 5.4.216-rc1 review

On Mon, Oct 03, 2022 at 05:49:21PM -0600, Shuah Khan wrote:
> On 10/3/22 01:11, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.4.216 release.
> > There are 30 patches in this series, all will be posted as a response
> > to this one. If anyone has any issues with these being applied, please
> > let me know.
> >
> > Responses should be made by Wed, 05 Oct 2022 07:07:06 +0000.
> > Anything received after that time might be too late.
> >
> > The whole patch series can be found in one patch at:
> > https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.216-rc1.gz
> > or in the git tree and branch at:
> > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> > and the diffstat can be found below.
> >
> > thanks,
> >
> > greg k-h
> >
> > -------------
> > Pseudo-Shortlog of commits:
> >
> > Greg Kroah-Hartman <[email protected]>
> > Linux 5.4.216-rc1
> >
> > Florian Fainelli <[email protected]>
> > clk: iproc: Do not rely on node name for correct PLL setup
> >
> > Han Xu <[email protected]>
> > clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks
> >
> > Wang Yufen <[email protected]>
> > selftests: Fix the if conditions of in test_extra_filter()
> >
> > Michael Kelley <[email protected]>
> > nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices
> >
> > Chaitanya Kulkarni <[email protected]>
> > nvme: add new line after variable declatation
> >
> > Peilin Ye <[email protected]>
> > usbnet: Fix memory leak in usbnet_disconnect()
> >
> > Yang Yingliang <[email protected]>
> > Input: melfas_mip4 - fix return value check in mip4_probe()
> >
> > Brian Norris <[email protected]>
> > Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time"
> >
> > Samuel Holland <[email protected]>
> > soc: sunxi: sram: Fix debugfs info for A64 SRAM C
> >
> > Samuel Holland <[email protected]>
> > soc: sunxi: sram: Fix probe function ordering issues
> >
> > Cai Huoqing <[email protected]>
> > soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource()
> >
> > Samuel Holland <[email protected]>
> > soc: sunxi: sram: Prevent the driver from being unbound
> >
> > Samuel Holland <[email protected]>
> > soc: sunxi: sram: Actually claim SRAM regions
> >
> > YuTong Chang <[email protected]>
> > ARM: dts: am33xx: Fix MMCHS0 dma properties
> >
> > Faiz Abbas <[email protected]>
> > ARM: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver
> >
> > Hangyu Hua <[email protected]>
> > media: dvb_vb2: fix possible out of bound access
> >
> > Minchan Kim <[email protected]>
> > mm: fix madivse_pageout mishandling on non-LRU page
> >
> > Alistair Popple <[email protected]>
> > mm/migrate_device.c: flush TLB while holding PTL
> >
> > Maurizio Lombardi <[email protected]>
> > mm: prevent page_frag_alloc() from corrupting the memory
> >
> > Mel Gorman <[email protected]>
> > mm/page_alloc: fix race condition between build_all_zonelists and page allocation
> >
> > Sergei Antonov <[email protected]>
> > mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
> >
> > Niklas Cassel <[email protected]>
> > libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205
> >
> > Sasha Levin <[email protected]>
> > Revert "net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()"
> >
> > ChenXiaoSong <[email protected]>
> > ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
> >
> > Linus Walleij <[email protected]>
> > ARM: dts: integrator: Tag PCI host with device_type
> >
> > Aidan MacDonald <[email protected]>
> > clk: ingenic-tcu: Properly enable registers before accessing timers
> >
> > Frank Wunderlich <[email protected]>
> > net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455
> >
> > Hongling Zeng <[email protected]>
> > uas: ignore UAS for Thinkplus chips
> >
> > Hongling Zeng <[email protected]>
> > usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS
> >
> > Hongling Zeng <[email protected]>
> > uas: add no-uas quirk for Hiksemi usb_disk
> >
> >
> > -------------
> >
> > Diffstat:
> >
> > Makefile | 4 +-
> > arch/arm/boot/dts/am335x-baltos.dtsi | 2 +-
> > arch/arm/boot/dts/am335x-boneblack-common.dtsi | 1 +
> > arch/arm/boot/dts/am335x-boneblack-wireless.dts | 1 -
> > arch/arm/boot/dts/am335x-boneblue.dts | 1 -
> > arch/arm/boot/dts/am335x-bonegreen-wireless.dts | 1 -
> > arch/arm/boot/dts/am335x-evm.dts | 3 +-
> > arch/arm/boot/dts/am335x-evmsk.dts | 2 +-
> > arch/arm/boot/dts/am335x-lxm.dts | 2 +-
> > arch/arm/boot/dts/am335x-moxa-uc-2100-common.dtsi | 2 +-
> > arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts | 2 +-
> > arch/arm/boot/dts/am335x-pepper.dts | 4 +-
> > arch/arm/boot/dts/am335x-phycore-som.dtsi | 2 +-
> > arch/arm/boot/dts/am33xx-l4.dtsi | 9 +--
> > arch/arm/boot/dts/am33xx.dtsi | 3 +-
> > arch/arm/boot/dts/am4372.dtsi | 3 +-
> > arch/arm/boot/dts/am437x-cm-t43.dts | 2 +-
> > arch/arm/boot/dts/am437x-gp-evm.dts | 4 +-
> > arch/arm/boot/dts/am437x-l4.dtsi | 5 +-
> > arch/arm/boot/dts/am437x-sk-evm.dts | 2 +-
> > arch/arm/boot/dts/integratorap.dts | 1 +
> > drivers/ata/libata-core.c | 4 ++
> > drivers/clk/bcm/clk-iproc-pll.c | 12 ++--
> > drivers/clk/imx/clk-imx6sx.c | 4 +-
> > drivers/clk/ingenic/tcu.c | 15 ++---
> > drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 13 -----
> > drivers/input/touchscreen/melfas_mip4.c | 2 +-
> > drivers/media/dvb-core/dvb_vb2.c | 11 ++++
> > drivers/mmc/host/moxart-mmc.c | 17 +-----
> > drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c | 4 +-
> > drivers/net/usb/qmi_wwan.c | 1 +
> > drivers/net/usb/usbnet.c | 7 ++-
> > drivers/nvme/host/core.c | 9 ++-
> > drivers/soc/sunxi/sunxi_sram.c | 27 ++++-----
> > drivers/usb/storage/unusual_uas.h | 21 +++++++
> > fs/ntfs/super.c | 3 +-
> > mm/madvise.c | 7 ++-
> > mm/migrate.c | 5 +-
> > mm/page_alloc.c | 65 ++++++++++++++++++----
> > tools/testing/selftests/net/reuseport_bpf.c | 2 +-
> > 40 files changed, 173 insertions(+), 112 deletions(-)
> >
> >
> >
>
> Compiled and failed to boot. Reverting the following patch fixes
> the problem.
>
> commit 4b453403a945b13ea8aa9e8628bec1eaffeb7257 (HEAD -> linux-5.4.y)
> Author: Shuah Khan <[email protected]>
> Date: Mon Oct 3 15:45:57 2022 -0600
>
> Revert "drm/amdgpu: use dirty framebuffer helper"
>
> thanks,
> -- Shuah
> This reverts commit c89849ecfd2e10838b31c519c2a6607266b58f02.

As that commit is in 5.4.215, it's not part of this -rc series. Do you
want to submit a patch for the revert, or want me to make one up after
5.4.216 is out?

thanks,

greg k-h

2022-10-04 17:54:45

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH 5.4 00/30] 5.4.216-rc1 review

On 10/4/22 11:37, Greg Kroah-Hartman wrote:
> On Mon, Oct 03, 2022 at 05:49:21PM -0600, Shuah Khan wrote:
>> On 10/3/22 01:11, Greg Kroah-Hartman wrote:
>>> This is the start of the stable review cycle for the 5.4.216 release.
>>> There are 30 patches in this series, all will be posted as a response
>>> to this one. If anyone has any issues with these being applied, please
>>> let me know.
>>>
>>> Responses should be made by Wed, 05 Oct 2022 07:07:06 +0000.
>>> Anything received after that time might be too late.
>>>
>>> The whole patch series can be found in one patch at:
>>> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.216-rc1.gz
>>> or in the git tree and branch at:
>>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
>>> and the diffstat can be found below.
>>>
>>> thanks,
>>>
>>> greg k-h
>>>
>>> -------------
>>> Pseudo-Shortlog of commits:
>>>
>>> Greg Kroah-Hartman <[email protected]>
>>> Linux 5.4.216-rc1
>>>
>>> Florian Fainelli <[email protected]>
>>> clk: iproc: Do not rely on node name for correct PLL setup
>>>
>>> Han Xu <[email protected]>
>>> clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks
>>>
>>> Wang Yufen <[email protected]>
>>> selftests: Fix the if conditions of in test_extra_filter()
>>>
>>> Michael Kelley <[email protected]>
>>> nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices
>>>
>>> Chaitanya Kulkarni <[email protected]>
>>> nvme: add new line after variable declatation
>>>
>>> Peilin Ye <[email protected]>
>>> usbnet: Fix memory leak in usbnet_disconnect()
>>>
>>> Yang Yingliang <[email protected]>
>>> Input: melfas_mip4 - fix return value check in mip4_probe()
>>>
>>> Brian Norris <[email protected]>
>>> Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time"
>>>
>>> Samuel Holland <[email protected]>
>>> soc: sunxi: sram: Fix debugfs info for A64 SRAM C
>>>
>>> Samuel Holland <[email protected]>
>>> soc: sunxi: sram: Fix probe function ordering issues
>>>
>>> Cai Huoqing <[email protected]>
>>> soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource()
>>>
>>> Samuel Holland <[email protected]>
>>> soc: sunxi: sram: Prevent the driver from being unbound
>>>
>>> Samuel Holland <[email protected]>
>>> soc: sunxi: sram: Actually claim SRAM regions
>>>
>>> YuTong Chang <[email protected]>
>>> ARM: dts: am33xx: Fix MMCHS0 dma properties
>>>
>>> Faiz Abbas <[email protected]>
>>> ARM: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver
>>>
>>> Hangyu Hua <[email protected]>
>>> media: dvb_vb2: fix possible out of bound access
>>>
>>> Minchan Kim <[email protected]>
>>> mm: fix madivse_pageout mishandling on non-LRU page
>>>
>>> Alistair Popple <[email protected]>
>>> mm/migrate_device.c: flush TLB while holding PTL
>>>
>>> Maurizio Lombardi <[email protected]>
>>> mm: prevent page_frag_alloc() from corrupting the memory
>>>
>>> Mel Gorman <[email protected]>
>>> mm/page_alloc: fix race condition between build_all_zonelists and page allocation
>>>
>>> Sergei Antonov <[email protected]>
>>> mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
>>>
>>> Niklas Cassel <[email protected]>
>>> libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205
>>>
>>> Sasha Levin <[email protected]>
>>> Revert "net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()"
>>>
>>> ChenXiaoSong <[email protected]>
>>> ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
>>>
>>> Linus Walleij <[email protected]>
>>> ARM: dts: integrator: Tag PCI host with device_type
>>>
>>> Aidan MacDonald <[email protected]>
>>> clk: ingenic-tcu: Properly enable registers before accessing timers
>>>
>>> Frank Wunderlich <[email protected]>
>>> net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455
>>>
>>> Hongling Zeng <[email protected]>
>>> uas: ignore UAS for Thinkplus chips
>>>
>>> Hongling Zeng <[email protected]>
>>> usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS
>>>
>>> Hongling Zeng <[email protected]>
>>> uas: add no-uas quirk for Hiksemi usb_disk
>>>
>>>
>>> -------------
>>>
>>> Diffstat:
>>>
>>> Makefile | 4 +-
>>> arch/arm/boot/dts/am335x-baltos.dtsi | 2 +-
>>> arch/arm/boot/dts/am335x-boneblack-common.dtsi | 1 +
>>> arch/arm/boot/dts/am335x-boneblack-wireless.dts | 1 -
>>> arch/arm/boot/dts/am335x-boneblue.dts | 1 -
>>> arch/arm/boot/dts/am335x-bonegreen-wireless.dts | 1 -
>>> arch/arm/boot/dts/am335x-evm.dts | 3 +-
>>> arch/arm/boot/dts/am335x-evmsk.dts | 2 +-
>>> arch/arm/boot/dts/am335x-lxm.dts | 2 +-
>>> arch/arm/boot/dts/am335x-moxa-uc-2100-common.dtsi | 2 +-
>>> arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts | 2 +-
>>> arch/arm/boot/dts/am335x-pepper.dts | 4 +-
>>> arch/arm/boot/dts/am335x-phycore-som.dtsi | 2 +-
>>> arch/arm/boot/dts/am33xx-l4.dtsi | 9 +--
>>> arch/arm/boot/dts/am33xx.dtsi | 3 +-
>>> arch/arm/boot/dts/am4372.dtsi | 3 +-
>>> arch/arm/boot/dts/am437x-cm-t43.dts | 2 +-
>>> arch/arm/boot/dts/am437x-gp-evm.dts | 4 +-
>>> arch/arm/boot/dts/am437x-l4.dtsi | 5 +-
>>> arch/arm/boot/dts/am437x-sk-evm.dts | 2 +-
>>> arch/arm/boot/dts/integratorap.dts | 1 +
>>> drivers/ata/libata-core.c | 4 ++
>>> drivers/clk/bcm/clk-iproc-pll.c | 12 ++--
>>> drivers/clk/imx/clk-imx6sx.c | 4 +-
>>> drivers/clk/ingenic/tcu.c | 15 ++---
>>> drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 13 -----
>>> drivers/input/touchscreen/melfas_mip4.c | 2 +-
>>> drivers/media/dvb-core/dvb_vb2.c | 11 ++++
>>> drivers/mmc/host/moxart-mmc.c | 17 +-----
>>> drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c | 4 +-
>>> drivers/net/usb/qmi_wwan.c | 1 +
>>> drivers/net/usb/usbnet.c | 7 ++-
>>> drivers/nvme/host/core.c | 9 ++-
>>> drivers/soc/sunxi/sunxi_sram.c | 27 ++++-----
>>> drivers/usb/storage/unusual_uas.h | 21 +++++++
>>> fs/ntfs/super.c | 3 +-
>>> mm/madvise.c | 7 ++-
>>> mm/migrate.c | 5 +-
>>> mm/page_alloc.c | 65 ++++++++++++++++++----
>>> tools/testing/selftests/net/reuseport_bpf.c | 2 +-
>>> 40 files changed, 173 insertions(+), 112 deletions(-)
>>>
>>>
>>>
>>
>> Compiled and failed to boot. Reverting the following patch fixes
>> the problem.
>>
>> commit 4b453403a945b13ea8aa9e8628bec1eaffeb7257 (HEAD -> linux-5.4.y)
>> Author: Shuah Khan <[email protected]>
>> Date: Mon Oct 3 15:45:57 2022 -0600
>>
>> Revert "drm/amdgpu: use dirty framebuffer helper"
>>
>> thanks,
>> -- Shuah
>> This reverts commit c89849ecfd2e10838b31c519c2a6607266b58f02.
>
> As that commit is in 5.4.215, it's not part of this -rc series. Do you
> want to submit a patch for the revert, or want me to make one up after
> 5.4.216 is out?
>

I will send in a revert.

thanks,
-- Shuah

2022-10-05 11:28:20

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 5.4 00/30] 5.4.216-rc1 review

On Tue, Oct 04, 2022 at 11:39:57AM -0600, Shuah Khan wrote:
> On 10/4/22 11:37, Greg Kroah-Hartman wrote:
> > On Mon, Oct 03, 2022 at 05:49:21PM -0600, Shuah Khan wrote:
> > > On 10/3/22 01:11, Greg Kroah-Hartman wrote:
> > > Compiled and failed to boot. Reverting the following patch fixes
> > > the problem.
> > >
> > > commit 4b453403a945b13ea8aa9e8628bec1eaffeb7257 (HEAD -> linux-5.4.y)
> > > Author: Shuah Khan <[email protected]>
> > > Date: Mon Oct 3 15:45:57 2022 -0600
> > >
> > > Revert "drm/amdgpu: use dirty framebuffer helper"
> > >
> > > thanks,
> > > -- Shuah
> > > This reverts commit c89849ecfd2e10838b31c519c2a6607266b58f02.
> >
> > As that commit is in 5.4.215, it's not part of this -rc series. Do you
> > want to submit a patch for the revert, or want me to make one up after
> > 5.4.216 is out?
> >
>
> I will send in a revert.

I've done it now, no need to send it in.

thanks,

greg k-h