Skip to content

Update to Linux 6.1.123#454

Merged
saiarcot895 merged 2 commits intosonic-net:masterfrom
saiarcot895:linux-6.1.123-update
May 20, 2025
Merged

Update to Linux 6.1.123#454
saiarcot895 merged 2 commits intosonic-net:masterfrom
saiarcot895:linux-6.1.123-update

Conversation

@saiarcot895
Copy link
Contributor

@saiarcot895 saiarcot895 commented Jan 9, 2025

This updates the kernel to 6.1.123, bringing in bug and CVE fixes.

0001-Revert-mtd-spi-nor-Correct-flags-for-Winbond-w25q128.patch and 0001-devlink-Fix-RCU-stall-when-unregistering-a-devlink-i.patch have been reverted as they're included in 6.1.123. Other existing patches didn't require any modifications.

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@paulmenzel paulmenzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for doing this. It’d be great if you documented your findings about the patches in the commit message as you already did the work analyzing, which patches to apply and which not.

patch/series Outdated
0093-hwmon-pmbus-Add-support-for-MPS-Multi-phase-mp2855-c.patch
0094-i2c-asf-Introduce-MCTP-support-over-ASF-controller.patch
0095-platform-mellanox-nvsw-sn2201-Add-support-for-new-sy.patch
#0095-platform-mellanox-nvsw-sn2201-Add-support-for-new-sy.patch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was a patch conflict, so I disabled it just for the purposes of getting the build working. This set of patches is managed by Mellanox, and they'll update these patches as needed for 6.1.123.

From 29922c1e20e86e643687a76b8c3181e388067b03 Mon Sep 17 00:00:00 2001
From: Vivek Reddy <[email protected]>
Date: Fri, 27 Sep 2024 02:27:37 +0000
Subject: [PATCH] Revert "mtd: spi-nor: Correct flags for Winbond w25q128"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be the commit below, which does a little bit more though.

commit a207af9bfe76bdc97c14ce58b31759d74440cf8e
Author: Michael Walle <[email protected]>
Date:   Fri Jun 21 14:09:29 2024 +0200

    mtd: spi-nor: winbond: fix w25q128 regression
    
    commit d35df77707bf5ae1221b5ba1c8a88cf4fcdd4901 upstream.
    
    Commit 83e824a4a595 ("mtd: spi-nor: Correct flags for Winbond w25q128")
    removed the flags for non-SFDP devices. It was assumed that it wasn't in
    use anymore. This wasn't true. Add the no_sfdp_flags as well as the size
    again.
    
    We add the additional flags for dual and quad read because they have
    been reported to work properly by Hartmut using both older and newer
    versions of this flash, the similar flashes with 64Mbit and 256Mbit
    already have these flags and because it will (luckily) trigger our
    legacy SFDP parsing, so newer versions with SFDP support will still get
    the parameters from the SFDP tables.
    
    Reported-by: Hartmut Birr <[email protected]>
    Closes: https://lore.kernel.org/r/CALxbwRo_-9CaJmt7r7ELgu+vOcgk=xZcGHobnKf=oT2=u4d4aA@mail.gmail.com/
    Fixes: 83e824a4a595 ("mtd: spi-nor: Correct flags for Winbond w25q128")
    Reviewed-by: Linus Walleij <[email protected]>
    Signed-off-by: Michael Walle <[email protected]>
    Acked-by: Tudor Ambarus <[email protected]>
    Reviewed-by: Esben Haabendal <[email protected]>
    Reviewed-by: Pratyush Yadav <[email protected]>
    Signed-off-by: Pratyush Yadav <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Link: https://lore.kernel.org/r/[email protected]
    [Backported to v6.6 - vastly different due to upstream changes]
    Reviewed-by: Tudor Ambarus <[email protected]>
    Signed-off-by: Linus Walleij <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>

diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c
index b7c775b615e85..58aba52022bfb 100644
--- a/drivers/mtd/spi-nor/winbond.c
+++ b/drivers/mtd/spi-nor/winbond.c
@@ -120,9 +120,10 @@ static const struct flash_info winbond_nor_parts[] = {
                NO_SFDP_FLAGS(SECT_4K) },
        { "w25q80bl", INFO(0xef4014, 0, 64 * 1024,  16)
                NO_SFDP_FLAGS(SECT_4K) },
-       { "w25q128", INFO(0xef4018, 0, 0, 0)
-               PARSE_SFDP
-               FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) },
+       { "w25q128", INFO(0xef4018, 0, 64 * 1024, 256)
+               FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+               NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ |
+                             SPI_NOR_QUAD_READ) },
        { "w25q256", INFO(0xef4019, 0, 64 * 1024, 512)
                NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ)
                .fixups = &w25q256_fixups },

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@saiarcot895 saiarcot895 marked this pull request as ready for review May 7, 2025 02:33
@saiarcot895 saiarcot895 requested a review from a team as a code owner May 7, 2025 02:33
@saiarcot895 saiarcot895 requested a review from paulmenzel May 7, 2025 02:33
@paulmenzel
Copy link
Contributor

Due to the merges, it’s hard to review as the merged commits in the branch master are shown again. No idea why though. Could you please rebase?

saiarcot895 and others added 2 commits May 12, 2025 13:07
Signed-off-by: Saikrishna Arcot <[email protected]>
## Patch List
* 0095-platform-mellanox-nvsw-sn2201-Add-support-for-new-sy.patch :
* 0098-platform-mellanox-Downstream-Add-support-for-new-Nvi.patch :
* 0099-platform-mellanox-Downstream-Add-support-DGX-flavor-.patch :
* 0100-platform-mellanox-mlxreg-io-Extend-number-of-hwmon-a.patch :
* 0101-platform_data-mlxreg-Add-fields-for-interrupt-storm-.patch :
* 0102-platform-mellanox-mlxreg-hotplug-Add-support-for-han.patch :
* 0103-platform-mellanox-mlx-dpu-improve-interrupt-handling.patch :
* 8012-hwmon-pmbus-Downstream-Workaround-for-psu-attributes.patch :
@saiarcot895 saiarcot895 force-pushed the linux-6.1.123-update branch from 2c65f42 to c289a12 Compare May 12, 2025 20:08
@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@saiarcot895
Copy link
Contributor Author

Due to the merges, it’s hard to review as the merged commits in the branch master are shown again. No idea why though. Could you please rebase?

Done

@saiarcot895 saiarcot895 merged commit aec83ae into sonic-net:master May 20, 2025
6 checks passed
@mssonicbld
Copy link

Cherry-pick PR to 202505: #483

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants