kernel: bump 6.1 to 6.1.57
authorJohn Audia <therealgraysky@proton.me>
Wed, 11 Oct 2023 18:55:10 +0000 (14:55 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 14 Oct 2023 13:51:53 +0000 (15:51 +0200)
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.57

Manually rebased:
generic/pending-6.1/702-net-ethernet-mtk_eth_soc-enable-threaded-NAPI.patch

Removed upstreamed:
qualcommax/patches-6.1/0134-PCI-qcom-Fixing-broken-pcie-enumeration-for-2_3_3-co.patch[1]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.57&id=2dfb5f324d799f4545e17631415aba6d302a8e2b

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Reviewed-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: John Audia <therealgraysky@proton.me>
19 files changed:
include/kernel-6.1
target/linux/ath79/patches-6.1/900-unaligned_access_hacks.patch
target/linux/bcm27xx/patches-6.1/950-0401-mm-page_alloc-cma-introduce-a-customisable-threshold.patch
target/linux/bcm27xx/patches-6.1/950-0699-Bluetooth-hci_sync-Add-fallback-bd-address-prop.patch
target/linux/generic/backport-6.1/020-v6.3-06-BACKPORT-mm-multi-gen-LRU-per-node-lru_gen_folio-lis.patch
target/linux/generic/backport-6.1/020-v6.3-10-UPSTREAM-mm-add-vma_has_recency.patch
target/linux/generic/backport-6.1/807-v6.5-04-net-dsa-mv88e6xxx-fix-88E6393X-family-internal-phys-.patch
target/linux/generic/backport-6.1/807-v6.5-05-net-dsa-mv88e6xxx-pass-mv88e6xxx_chip-structure-to-p.patch
target/linux/generic/backport-6.1/807-v6.5-06-net-dsa-mv88e6xxx-enable-support-for-88E6361-switch.patch
target/linux/generic/hack-6.1/711-net-dsa-mv88e6xxx-disable-ATU-violation.patch
target/linux/generic/pending-6.1/120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch
target/linux/generic/pending-6.1/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
target/linux/generic/pending-6.1/701-netfilter-nf_tables-ignore-EOPNOTSUPP-on-flowtable-d.patch
target/linux/generic/pending-6.1/702-net-ethernet-mtk_eth_soc-enable-threaded-NAPI.patch
target/linux/generic/pending-6.1/768-net-dsa-mv88e6xxx-Request-assisted-learning-on-CPU-port.patch
target/linux/generic/pending-6.1/834-ledtrig-libata.patch
target/linux/mediatek/patches-6.1/901-arm-add-cmdline-override.patch
target/linux/qualcommax/patches-6.1/0020-v6.3-PCI-qcom-Add-support-for-IPQ8074-Gen3-port.patch
target/linux/qualcommax/patches-6.1/0134-PCI-qcom-Fixing-broken-pcie-enumeration-for-2_3_3-co.patch [deleted file]

index 0354d642c8550c4bbe37b0d2c5bfa29b9c331330..c91629d5d85a248f9f2793c0edb6f17a6b86aa8c 100644 (file)
@@ -1,2 +1,2 @@
-LINUX_VERSION-6.1 = .56
-LINUX_KERNEL_HASH-6.1.56 = 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c
+LINUX_VERSION-6.1 = .57
+LINUX_KERNEL_HASH-6.1.57 = f9ebfe3ddc5152d87b37e33be30e31875d137433be10a57ce29d2eae7b6e91b1
index 943aa1a132f75b8dfe23e73e6d77fd4d4196f4e1..c919a8f2631bcbed44559c0fe65edf2960ffba37 100644 (file)
@@ -349,7 +349,7 @@ SVN-Revision: 35130
        list_for_each_entry(p, head, list) {
 --- a/net/ipv4/tcp_output.c
 +++ b/net/ipv4/tcp_output.c
-@@ -611,48 +611,53 @@ static void tcp_options_write(struct tcp
+@@ -610,48 +610,53 @@ static void tcp_options_write(struct tcp
        u16 options = opts->options;    /* mungable copy */
  
        if (unlikely(OPTION_MD5 & options)) {
@@ -426,7 +426,7 @@ SVN-Revision: 35130
        }
  
        if (unlikely(opts->num_sack_blocks)) {
-@@ -660,16 +665,17 @@ static void tcp_options_write(struct tcp
+@@ -659,16 +664,17 @@ static void tcp_options_write(struct tcp
                        tp->duplicate_sack : tp->selective_acks;
                int this_sack;
  
@@ -450,7 +450,7 @@ SVN-Revision: 35130
                }
  
                tp->rx_opt.dsack = 0;
-@@ -682,13 +688,14 @@ static void tcp_options_write(struct tcp
+@@ -681,13 +687,14 @@ static void tcp_options_write(struct tcp
  
                if (foc->exp) {
                        len = TCPOLEN_EXP_FASTOPEN_BASE + foc->len;
@@ -750,7 +750,7 @@ SVN-Revision: 35130
  EXPORT_SYMBOL(xfrm_parse_spi);
 --- a/net/ipv4/tcp_input.c
 +++ b/net/ipv4/tcp_input.c
-@@ -4165,14 +4165,16 @@ static bool tcp_parse_aligned_timestamp(
+@@ -4178,14 +4178,16 @@ static bool tcp_parse_aligned_timestamp(
  {
        const __be32 *ptr = (const __be32 *)(th + 1);
  
index 34f1cea30e0b0053f3fda42034369c6845215027..fed130ca854a36864e962c0f5be4b3b680a39790 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
 
 --- a/mm/page_alloc.c
 +++ b/mm/page_alloc.c
-@@ -273,6 +273,27 @@ EXPORT_SYMBOL(init_on_alloc);
+@@ -253,6 +253,27 @@ EXPORT_SYMBOL(init_on_alloc);
  DEFINE_STATIC_KEY_MAYBE(CONFIG_INIT_ON_FREE_DEFAULT_ON, init_on_free);
  EXPORT_SYMBOL(init_on_free);
  
@@ -48,7 +48,7 @@ Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
  static bool _init_on_alloc_enabled_early __read_mostly
                                = IS_ENABLED(CONFIG_INIT_ON_ALLOC_DEFAULT_ON);
  static int __init early_init_on_alloc(char *buf)
-@@ -3093,12 +3114,13 @@ __rmqueue(struct zone *zone, unsigned in
+@@ -3073,12 +3094,13 @@ __rmqueue(struct zone *zone, unsigned in
        if (IS_ENABLED(CONFIG_CMA)) {
                /*
                 * Balance movable allocations between regular and CMA areas by
index 7bb65c28d487b53c5a6149a5116837ef1c472afc..d4c5a0183e46af9455e422bec25168b4bdc1fd55 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
 
 --- a/net/bluetooth/hci_sync.c
 +++ b/net/bluetooth/hci_sync.c
-@@ -4635,6 +4635,7 @@ static const struct {
+@@ -4630,6 +4630,7 @@ static const struct {
   */
  static int hci_dev_setup_sync(struct hci_dev *hdev)
  {
@@ -28,7 +28,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
        int ret = 0;
        bool invalid_bdaddr;
        size_t i;
-@@ -4663,7 +4664,9 @@ static int hci_dev_setup_sync(struct hci
+@@ -4658,7 +4659,9 @@ static int hci_dev_setup_sync(struct hci
  
        if (!ret) {
                if (test_bit(HCI_QUIRK_USE_BDADDR_PROPERTY, &hdev->quirks) &&
index 71bee2d2a71d87be71e7d08c04f54620d03d41d4..612ed6f6bab8d1548752de77084a2a2db6a930e3 100644 (file)
@@ -361,7 +361,7 @@ Signed-off-by: T.J. Mercier <tjmercier@google.com>
  static void mem_cgroup_css_free(struct cgroup_subsys_state *css)
 --- a/mm/page_alloc.c
 +++ b/mm/page_alloc.c
-@@ -7957,6 +7957,7 @@ static void __init free_area_init_node(i
+@@ -7943,6 +7943,7 @@ static void __init free_area_init_node(i
        pgdat_set_deferred_range(pgdat);
  
        free_area_init_core(pgdat);
index 8fd5564d00790f76eb8659ef92ff969637eb4608..aea6aa18e28fa984c3f42739d5e1c8067250d6b1 100644 (file)
@@ -77,7 +77,7 @@ Signed-off-by: T.J. Mercier <tjmercier@google.com>
  #endif
 --- a/mm/memory.c
 +++ b/mm/memory.c
-@@ -1435,8 +1435,7 @@ again:
+@@ -1445,8 +1445,7 @@ again:
                                        force_flush = 1;
                                        set_page_dirty(page);
                                }
@@ -87,7 +87,7 @@ Signed-off-by: T.J. Mercier <tjmercier@google.com>
                                        mark_page_accessed(page);
                        }
                        rss[mm_counter(page)]--;
-@@ -5189,8 +5188,8 @@ static inline void mm_account_fault(stru
+@@ -5199,8 +5198,8 @@ static inline void mm_account_fault(stru
  #ifdef CONFIG_LRU_GEN
  static void lru_gen_enter_fault(struct vm_area_struct *vma)
  {
index b7db7fb1bc4183f89326fbc3b583541867dbbed2..12ea3ebda077c7fb013f92c995af561aec909157 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 
 --- a/drivers/net/dsa/mv88e6xxx/chip.c
 +++ b/drivers/net/dsa/mv88e6xxx/chip.c
-@@ -5942,7 +5942,8 @@ static const struct mv88e6xxx_info mv88e
+@@ -5944,7 +5944,8 @@ static const struct mv88e6xxx_info mv88e
                .name = "Marvell 88E6191X",
                .num_databases = 4096,
                .num_ports = 11,        /* 10 + Z80 */
@@ -30,7 +30,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
                .max_vid = 8191,
                .max_sid = 63,
                .port_base_addr = 0x0,
-@@ -5965,7 +5966,8 @@ static const struct mv88e6xxx_info mv88e
+@@ -5967,7 +5968,8 @@ static const struct mv88e6xxx_info mv88e
                .name = "Marvell 88E6193X",
                .num_databases = 4096,
                .num_ports = 11,        /* 10 + Z80 */
@@ -40,7 +40,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
                .max_vid = 8191,
                .max_sid = 63,
                .port_base_addr = 0x0,
-@@ -6284,7 +6286,8 @@ static const struct mv88e6xxx_info mv88e
+@@ -6286,7 +6288,8 @@ static const struct mv88e6xxx_info mv88e
                .name = "Marvell 88E6393X",
                .num_databases = 4096,
                .num_ports = 11,        /* 10 + Z80 */
index 92ce97b27b4e9c3a78a54545bf4afd055748368d..72dfcee82c13ac13ce4509fa06304449b42a10b4 100644 (file)
@@ -24,7 +24,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 
 --- a/drivers/net/dsa/mv88e6xxx/chip.c
 +++ b/drivers/net/dsa/mv88e6xxx/chip.c
-@@ -3326,7 +3326,7 @@ static int mv88e6xxx_setup_port(struct m
+@@ -3328,7 +3328,7 @@ static int mv88e6xxx_setup_port(struct m
                caps = pl_config.mac_capabilities;
  
                if (chip->info->ops->port_max_speed_mode)
index e5e815d2a4b8696f1201e20fdaacee4efd65fd69..dc6d5497f21178a63b4eddbcd5a01cb7b6786932 100644 (file)
@@ -58,7 +58,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
                }
        }
  
-@@ -6229,6 +6235,32 @@ static const struct mv88e6xxx_info mv88e
+@@ -6231,6 +6237,32 @@ static const struct mv88e6xxx_info mv88e
                .ptp_support = true,
                .ops = &mv88e6352_ops,
        },
index 5a8f253c34831a5bcaae100909245386cadb1d3a..f09ad117b0d18dc64f73649e8fa0c44ffd4efb4d 100644 (file)
@@ -9,7 +9,7 @@ Subject: [PATCH] net/dsa/mv88e6xxx: disable ATU violation
 
 --- a/drivers/net/dsa/mv88e6xxx/chip.c
 +++ b/drivers/net/dsa/mv88e6xxx/chip.c
-@@ -3486,6 +3486,9 @@ static int mv88e6xxx_setup_port(struct m
+@@ -3488,6 +3488,9 @@ static int mv88e6xxx_setup_port(struct m
        else
                reg = 1 << port;
  
index c381bcf8e1923a038bdd896ef48b34536e40b92f..4bf473f9a797459c1fa926b14b93288b71b053ad 100644 (file)
@@ -71,7 +71,7 @@ Signed-off-by: Tobias Wolf <dev-NTEO@vplace.de>
 
 --- a/mm/page_alloc.c
 +++ b/mm/page_alloc.c
-@@ -7911,7 +7911,7 @@ static void __init alloc_node_mem_map(st
+@@ -7897,7 +7897,7 @@ static void __init alloc_node_mem_map(st
        if (pgdat == NODE_DATA(0)) {
                mem_map = NODE_DATA(0)->node_mem_map;
                if (page_to_pfn(mem_map) != pgdat->node_start_pfn)
index 99a03e31c373a011176f5af1fbf9f5daed68f81a..765eecd9d713fff92c87708420ea1a3a394609a9 100644 (file)
@@ -8,7 +8,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 
 --- a/drivers/mtd/ubi/build.c
 +++ b/drivers/mtd/ubi/build.c
-@@ -1205,6 +1205,73 @@ static struct mtd_info * __init open_mtd
+@@ -1212,6 +1212,73 @@ static struct mtd_info * __init open_mtd
        return mtd;
  }
  
@@ -82,7 +82,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  static int __init ubi_init(void)
  {
        int err, i, k;
-@@ -1289,6 +1356,12 @@ static int __init ubi_init(void)
+@@ -1296,6 +1363,12 @@ static int __init ubi_init(void)
                }
        }
  
index 0901213491d919fae1e4dafd7096caf430577117..6e913bbaf6882eec72ae31ad1423227d9b329b23 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 
 --- a/net/netfilter/nf_tables_api.c
 +++ b/net/netfilter/nf_tables_api.c
-@@ -7864,7 +7864,7 @@ static int nft_register_flowtable_net_ho
+@@ -7876,7 +7876,7 @@ static int nft_register_flowtable_net_ho
                err = flowtable->data.type->setup(&flowtable->data,
                                                  hook->ops.dev,
                                                  FLOW_BLOCK_BIND);
index a48a993e2fb3ad5a51fdca7877041cfe4063080e..842fef3a9c5b3f2a9bc6525a931f11a08140702c 100644 (file)
@@ -10,26 +10,6 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 
 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -3155,8 +3155,8 @@ static irqreturn_t mtk_handle_irq_rx(int
-       eth->rx_events++;
-       if (likely(napi_schedule_prep(&eth->rx_napi))) {
--              __napi_schedule(&eth->rx_napi);
-               mtk_rx_irq_disable(eth, eth->soc->txrx.rx_irq_done_mask);
-+              __napi_schedule(&eth->rx_napi);
-       }
-       return IRQ_HANDLED;
-@@ -3168,8 +3168,8 @@ static irqreturn_t mtk_handle_irq_tx(int
-       eth->tx_events++;
-       if (likely(napi_schedule_prep(&eth->tx_napi))) {
--              __napi_schedule(&eth->tx_napi);
-               mtk_tx_irq_disable(eth, MTK_TX_DONE_INT);
-+              __napi_schedule(&eth->tx_napi);
-       }
-       return IRQ_HANDLED;
 @@ -4941,6 +4941,8 @@ static int mtk_probe(struct platform_dev
         * for NAPI to work
         */
index a32c7d3603ffe6d9bb611dfcf5583da5a28c8cb6..9556c90b5791b71d70e75530d7001e1a87f428ac 100644 (file)
@@ -17,7 +17,7 @@ Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
 
 --- a/drivers/net/dsa/mv88e6xxx/chip.c
 +++ b/drivers/net/dsa/mv88e6xxx/chip.c
-@@ -7023,6 +7023,7 @@ static int mv88e6xxx_register_switch(str
+@@ -7025,6 +7025,7 @@ static int mv88e6xxx_register_switch(str
        ds->ops = &mv88e6xxx_switch_ops;
        ds->ageing_time_min = chip->info->age_time_coeff;
        ds->ageing_time_max = chip->info->age_time_coeff * U8_MAX;
index 57fdb020f812fe873f45e97b60ebd55c697075da..e9339c22068d82aeece004fc91af68473bde721b 100644 (file)
@@ -75,7 +75,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  
        /* clear exclusive status */
        if (unlikely(qc->flags & ATA_QCFLAG_CLEAR_EXCL &&
-@@ -5328,6 +5344,9 @@ struct ata_port *ata_port_alloc(struct a
+@@ -5344,6 +5360,9 @@ struct ata_port *ata_port_alloc(struct a
        ap->stats.unhandled_irq = 1;
        ap->stats.idle_irq = 1;
  #endif
@@ -85,7 +85,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
        ata_sff_port_init(ap);
  
        return ap;
-@@ -5363,6 +5382,12 @@ static void ata_host_release(struct kref
+@@ -5379,6 +5398,12 @@ static void ata_host_release(struct kref
  
                kfree(ap->pmp_link);
                kfree(ap->slave_link);
@@ -98,7 +98,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
                kfree(ap);
                host->ports[i] = NULL;
        }
-@@ -5765,7 +5790,23 @@ int ata_host_register(struct ata_host *h
+@@ -5781,7 +5806,23 @@ int ata_host_register(struct ata_host *h
                host->ports[i]->print_id = atomic_inc_return(&ata_print_id);
                host->ports[i]->local_port_no = i + 1;
        }
index 3978f52db135b3e3ad697fbaa3699757f1ddd086..f9fc450277c0372838f9eb89b28b980bf74d1988 100644 (file)
@@ -37,7 +37,7 @@
         * CONFIG_CMDLINE is meant to be a default in case nothing else
 --- a/arch/arm64/Kconfig
 +++ b/arch/arm64/Kconfig
-@@ -2221,6 +2221,14 @@ config CMDLINE_FORCE
+@@ -2234,6 +2234,14 @@ config CMDLINE_FORCE
  
  endchoice
  
index 8f4ef91b7620edd68fa1ddf57d6dde43b7ebcc90..3d5c2182e9b556f46e07ff2970ce57e8e3304ec6 100644 (file)
@@ -16,7 +16,7 @@ Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
 
 --- a/drivers/pci/controller/dwc/pcie-qcom.c
 +++ b/drivers/pci/controller/dwc/pcie-qcom.c
-@@ -1764,6 +1764,7 @@ static const struct of_device_id qcom_pc
+@@ -1762,6 +1762,7 @@ static const struct of_device_id qcom_pc
        { .compatible = "qcom,pcie-ipq8064", .data = &cfg_2_1_0 },
        { .compatible = "qcom,pcie-ipq8064-v2", .data = &cfg_2_1_0 },
        { .compatible = "qcom,pcie-ipq8074", .data = &cfg_2_3_3 },
diff --git a/target/linux/qualcommax/patches-6.1/0134-PCI-qcom-Fixing-broken-pcie-enumeration-for-2_3_3-co.patch b/target/linux/qualcommax/patches-6.1/0134-PCI-qcom-Fixing-broken-pcie-enumeration-for-2_3_3-co.patch
deleted file mode 100644 (file)
index 1b34cdd..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-From f92c2f22197b7beed59b81f2aa179e16987c02e4 Mon Sep 17 00:00:00 2001
-From: Sricharan Ramabadhran <quic_srichara@quicinc.com>
-Date: Mon, 24 Jul 2023 12:04:29 +0530
-Subject: [PATCH] PCI: qcom: Fixing broken pcie enumeration for 2_3_3 configs
- ops
-
-PARF_SLV_ADDR_SPACE_SIZE_2_3_3 macro is used for IPQ8074 2_3_3 post_init.
-PCIe slave addr register offset is 0x358, but was wrongly changed to
-0x168 as a part of commit 39171b33f652 ("PCI: qcom: Remove PCIE20_ prefix
-from register definitions"). Fixing it, by using the right macro and remove
-the unused PARF_SLV_ADDR_SPACE_SIZE_2_3_3.
-
-Without this access to the registers of slave addr space like iATU etc
-are broken leading to pcie enumeration failure.
-
-Fixes: 39171b33f652 ("PCI: qcom: Remove PCIE20_ prefix from register definitions")
-Cc: <Stable@vger.kernel.org>
-Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
-Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
-Signed-off-by: Sricharan Ramabadhran <quic_srichara@quicinc.com>
----
- drivers/pci/controller/dwc/pcie-qcom.c | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
---- a/drivers/pci/controller/dwc/pcie-qcom.c
-+++ b/drivers/pci/controller/dwc/pcie-qcom.c
-@@ -40,7 +40,6 @@
- #define PARF_PHY_REFCLK                               0x4c
- #define PARF_CONFIG_BITS                      0x50
- #define PARF_DBI_BASE_ADDR                    0x168
--#define PARF_SLV_ADDR_SPACE_SIZE_2_3_3                0x16c /* Register offset specific to IP ver 2.3.3 */
- #define PARF_MHI_CLOCK_RESET_CTRL             0x174
- #define PARF_AXI_MSTR_WR_ADDR_HALT            0x178
- #define PARF_AXI_MSTR_WR_ADDR_HALT_V2         0x1a8
-@@ -1148,8 +1147,7 @@ static int qcom_pcie_post_init_2_3_3(str
-       u16 offset = dw_pcie_find_capability(pci, PCI_CAP_ID_EXP);
-       u32 val;
--      writel(SLV_ADDR_SPACE_SZ,
--              pcie->parf + PARF_SLV_ADDR_SPACE_SIZE_2_3_3);
-+      writel(SLV_ADDR_SPACE_SZ, pcie->parf + PARF_SLV_ADDR_SPACE_SIZE);
-       val = readl(pcie->parf + PARF_PHY_CTRL);
-       val &= ~BIT(0);