From 843e3dace75ccd0af1b0c82433f306f4df253082 Mon Sep 17 00:00:00 2001 From: John Audia Date: Thu, 12 Jan 2023 07:19:14 -0500 Subject: kernel: bump 5.15 to 5.15.87 Removed upstreamed: generic/hack-5.15/290-net-dsa-mv88e6xxx-depend-on-PTP-conditionally.patch[1] Build system: x86_64 Build-tested: bcm2711/RPi4B, filogic/xiaomi_redmi-router-ax6000-ubootmod Run-tested: bcm2711/RPi4B, filogic/xiaomi_redmi-router-ax6000-ubootmod 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.87&id=945e58bdaf6faf6e3f957d182244fa830acddab4 Signed-off-by: John Audia --- ...dsa-mv88e6xxx-depend-on-PTP-conditionally.patch | 44 ---------------------- .../linux/generic/hack-5.15/902-debloat_proc.patch | 2 +- 2 files changed, 1 insertion(+), 45 deletions(-) delete mode 100644 target/linux/generic/hack-5.15/290-net-dsa-mv88e6xxx-depend-on-PTP-conditionally.patch (limited to 'target/linux/generic/hack-5.15') diff --git a/target/linux/generic/hack-5.15/290-net-dsa-mv88e6xxx-depend-on-PTP-conditionally.patch b/target/linux/generic/hack-5.15/290-net-dsa-mv88e6xxx-depend-on-PTP-conditionally.patch deleted file mode 100644 index 86b03d156e..0000000000 --- a/target/linux/generic/hack-5.15/290-net-dsa-mv88e6xxx-depend-on-PTP-conditionally.patch +++ /dev/null @@ -1,44 +0,0 @@ -From e6866ed4219b8c7754dcd3eb1a654f6f524b0e56 Mon Sep 17 00:00:00 2001 -From: "Johnny S. Lee" -Date: Thu, 15 Dec 2022 17:49:04 +0800 -Subject: [PATCH] net: dsa: mv88e6xxx: depend on PTP conditionally - -PTP hardware timestamping related objects are not linked when PTP -support for MV88E6xxx (NET_DSA_MV88E6XXX_PTP) is disabled, therefore -NET_DSA_MV88E6XXX should not depend on PTP_1588_CLOCK_OPTIONAL -regardless of NET_DSA_MV88E6XXX_PTP. - -Instead, condition more strictly on how NET_DSA_MV88E6XXX_PTP's -dependencies are met, making sure that it cannot be enabled when -NET_DSA_MV88E6XXX=y and PTP_1588_CLOCK=m. - -In other words, this commit allows NET_DSA_MV88E6XXX to be built-in -while PTP_1588_CLOCK is a module, as long as NET_DSA_MV88E6XXX_PTP is -prevented from being enabled. - -Fixes: e5f31552674e ("ethernet: fix PTP_1588_CLOCK dependencies") -Signed-off-by: Johnny S. Lee ---- - drivers/net/dsa/mv88e6xxx/Kconfig | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - ---- a/drivers/net/dsa/mv88e6xxx/Kconfig -+++ b/drivers/net/dsa/mv88e6xxx/Kconfig -@@ -2,7 +2,6 @@ - config NET_DSA_MV88E6XXX - tristate "Marvell 88E6xxx Ethernet switch fabric support" - depends on NET_DSA -- depends on PTP_1588_CLOCK_OPTIONAL - select IRQ_DOMAIN - select NET_DSA_TAG_EDSA - select NET_DSA_TAG_DSA -@@ -13,7 +12,8 @@ config NET_DSA_MV88E6XXX - config NET_DSA_MV88E6XXX_PTP - bool "PTP support for Marvell 88E6xxx" - default n -- depends on NET_DSA_MV88E6XXX && PTP_1588_CLOCK -+ depends on (NET_DSA_MV88E6XXX = y && PTP_1588_CLOCK = y) || \ -+ (NET_DSA_MV88E6XXX = m && PTP_1588_CLOCK) - help - Say Y to enable PTP hardware timestamping on Marvell 88E6xxx switch - chips that support it. diff --git a/target/linux/generic/hack-5.15/902-debloat_proc.patch b/target/linux/generic/hack-5.15/902-debloat_proc.patch index 753b9705bc..102baa0bf4 100644 --- a/target/linux/generic/hack-5.15/902-debloat_proc.patch +++ b/target/linux/generic/hack-5.15/902-debloat_proc.patch @@ -29,7 +29,7 @@ Signed-off-by: Felix Fietkau --- a/fs/locks.c +++ b/fs/locks.c -@@ -2929,6 +2929,8 @@ static const struct seq_operations locks +@@ -2952,6 +2952,8 @@ static const struct seq_operations locks static int __init proc_locks_init(void) { -- cgit v1.2.3