~nouman2000/ubuntu/+source/linux/+git/jammy:master-next

Last commit made on 2024-01-24
Get this branch:
git clone -b master-next https://git.launchpad.net/~nouman2000/ubuntu/+source/linux/+git/jammy
Only Raja can upload to this branch. If you are Raja please log in for upload directions.

Branch merges

Branch information

Name:
master-next
Repository:
lp:~nouman2000/ubuntu/+source/linux/+git/jammy

Recent commits

fc26d77... by Dave Ertman <email address hidden>

ice: alter feature support check for SRIOV and LAG

BugLink: https://bugs.launchpad.net/bugs/2036239

Previously, the ice driver had support for using a handler for bonding
netdev events to ensure that conflicting features were not allowed to be
activated at the same time. While this was still in place, additional
support was added to specifically support SRIOV and LAG together. These
both utilized the netdev event handler, but the SRIOV and LAG feature was
behind a capabilities feature check to make sure the current NVM has
support.

The exclusion part of the event handler should be removed since there are
users who have custom made solutions that depend on the non-exclusion of
features.

Wrap the creation/registration and cleanup of the event handler and
associated structs in the probe flow with a feature check so that the
only systems that support the full implementation of LAG features will
initialize support. This will leave other systems unhindered with
functionality as it existed before any LAG code was added.

Fixes: bb52f42acef6 ("ice: Add driver support for firmware changes for LAG")
Reviewed-by: Jesse Brandeburg <email address hidden>
Signed-off-by: Dave Ertman <email address hidden>
Reviewed-by: Simon Horman <email address hidden>
Tested-by: Pucha Himasekhar Reddy <email address hidden> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <email address hidden>

(cherry-picked from commit 4d50fcdc2476eef94c14c6761073af5667bb43b6)
Signed-off-by: Robert Malz <email address hidden>
Acked-by: Jacob Martin <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

843aa8f... by Dave Ertman <email address hidden>

ice: Add driver support for firmware changes for LAG

BugLink: https://bugs.launchpad.net/bugs/2036239

Add the defines, fields, and detection code for FW support of LAG for
SRIOV. Also exposes some previously static functions to allow access
in the lag code.

Clean up code that is unused or not needed for LAG support. Also add
an ordered workqueue for processing LAG events.

Reviewed-by: Daniel Machon <email address hidden>
Signed-off-by: Dave Ertman <email address hidden>
Tested-by: Sujai Buvaneswaran <email address hidden>
Signed-off-by: Tony Nguyen <email address hidden>

(backported from commit bb52f42acef6ac317ee298d39909ce17bbaddb82)
[rmalz: backported changes related to discovering device capabilities,
        ignored mutex and workqueue implementation,
        applied changes due to lack of ice_clear_feature_support function]
Signed-off-by: Robert Malz <email address hidden>
Acked-by: Jacob Martin <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

7182acf... by Anirudh Venkataramanan <email address hidden>

ice: Add feature bitmap, helpers and a check for DSCP

BugLink: https://bugs.launchpad.net/bugs/2036239

DSCP a.k.a L3 QoS is only supported on certain devices. To enforce this,
this patch introduces a bitmap of features and helper functions.

The feature bitmap is set based on device IDs on driver init. Currently,
DSCP is the only feature in this bitmap, but there will be more in the
future. In the DCB netlink flow, check if the feature bit is set before
exercising DSCP.

Signed-off-by: Anirudh Venkataramanan <email address hidden>
Tested-by: Gurucharan G <email address hidden>
Signed-off-by: Tony Nguyen <email address hidden>

(backported from commit 40b247608bc50b5c046dfb1073c0ee7f57769c86)
[rmalz: backported feature bitmap implementation,
        ignored check for DSCP]
Signed-off-by: Robert Malz <email address hidden>
Acked-by: Jacob Martin <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

fdda7de... by Kan Liang <email address hidden>

perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery table

BugLink: https://bugs.launchpad.net/bugs/2048404

The kernel warning message is triggered, when SPR MCC is used.

[ 17.945331] ------------[ cut here ]------------
[ 17.946305] WARNING: CPU: 65 PID: 1 at
arch/x86/events/intel/uncore_discovery.c:184
intel_uncore_has_discovery_tables+0x4c0/0x65c
[ 17.946305] Modules linked in:
[ 17.946305] CPU: 65 PID: 1 Comm: swapper/0 Not tainted
5.4.17-2136.313.1-X10-2c+ #4

It's caused by the broken discovery table of UPI.

The discovery tables are from hardware. Except for dropping the broken
information, there is nothing Linux can do. Using WARN_ON_ONCE() is
overkilled.

Use the pr_info() to replace WARN_ON_ONCE(), and specify what uncore unit
is dropped and the reason.

Signed-off-by: Kan Liang <email address hidden>
Signed-off-by: Peter Zijlstra (Intel) <email address hidden>
Tested-by: Michael Petlan <email address hidden>
Link: https://<email address hidden>

(cherry picked from commit 5d515ee40cb57ea5331998f27df7946a69f14dc3)
Signed-off-by: Tim Gardner <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Acked-by: Manuel Diewald <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

c57d135... by =?utf-8?q?Fr=C3=A9d=C3=A9ric_Danis?= <email address hidden>

Bluetooth: L2CAP: Send reject on command corrupted request

BugLink: https://bugs.launchpad.net/bugs/2047634

L2CAP/COS/CED/BI-02-C PTS test send a malformed L2CAP signaling packet
with 2 commands in it (a connection request and an unknown command) and
expect to get a connection response packet and a command reject packet.
The second is currently not sent.

Cc: <email address hidden>
Signed-off-by: Frédéric Danis <email address hidden>
Signed-off-by: Luiz Augusto von Dentz <email address hidden>

(cherry picked from commit 78b99eb1faa7371bf9c534690f26a71b6996622d)
Signed-off-by: Hui Wang <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

b4edf68... by Portia Stephens

UBUNTU: Upstream stable to v5.15.142

BugLink: https://bugs.launchpad.net/bugs/2050849

Ignore: yes
Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

df59c00... by Greg Kroah-Hartman <email address hidden>

Linux 5.15.142

BugLink: https://bugs.launchpad.net/bugs/2050849

Link: https://<email address hidden>
Tested-by: Jon Hunter <email address hidden>
Tested-by: SeongJae Park <email address hidden>
Tested-by: Florian Fainelli <email address hidden>
Tested-by: Shuah Khan <email address hidden>
Link: https://<email address hidden>
Tested-by: Florian Fainelli <email address hidden>
Tested-by: Allen Pais <email address hidden>
Tested-by: Harshit Mogalapalli <email address hidden>
Tested-by: Linux Kernel Functional Testing <email address hidden>
Tested-by: Ron Economos <email address hidden>
Tested-by: Jon Hunter <email address hidden>
Tested-by: Guenter Roeck <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

4ce70ce... by Christoph Hellwig <email address hidden>

iomap: update ki_pos a little later in iomap_dio_complete

BugLink: https://bugs.launchpad.net/bugs/2050849

commit 936e114a245b6e38e0dbf706a67e7611fc993da1 upstream.

Move the ki_pos update down a bit to prepare for a better common helper
that invalidates pages based of an iocb.

Link: https://<email address hidden>
Signed-off-by: Christoph Hellwig <email address hidden>
Reviewed-by: Damien Le Moal <email address hidden>
Reviewed-by: Hannes Reinecke <email address hidden>
Reviewed-by: Darrick J. Wong <email address hidden>
Cc: Al Viro <email address hidden>
Cc: Andreas Gruenbacher <email address hidden>
Cc: Anna Schumaker <email address hidden>
Cc: Chao Yu <email address hidden>
Cc: Christian Brauner <email address hidden>
Cc: Ilya Dryomov <email address hidden>
Cc: Jaegeuk Kim <email address hidden>
Cc: Jens Axboe <email address hidden>
Cc: Johannes Thumshirn <email address hidden>
Cc: Matthew Wilcox <email address hidden>
Cc: Miklos Szeredi <email address hidden>
Cc: Miklos Szeredi <email address hidden>
Cc: Theodore Ts'o <email address hidden>
Cc: Trond Myklebust <email address hidden>
Cc: Xiubo Li <email address hidden>
Signed-off-by: Andrew Morton <email address hidden>
Cc: Jan Kara <email address hidden>
Link: https://lore.kernel.org/r/20231205122122.dfhhoaswsfscuhc3@quack3
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

c51c8cd... by Heiner Kallweit

r8169: fix deadlock on RTL8125 in jumbo mtu mode

BugLink: https://bugs.launchpad.net/bugs/2050849

[ Upstream commit 59d395ed606d8df14615712b0cdcdadb2d962175 ]

The original change results in a deadlock if jumbo mtu mode is used.
Reason is that the phydev lock is held when rtl_reset_work() is called
here, and rtl_jumbo_config() calls phy_start_aneg() which also tries
to acquire the phydev lock. Fix this by calling rtl_reset_work()
asynchronously.

Fixes: 621735f59064 ("r8169: fix rare issue with broken rx after link-down on RTL8125")
Reported-by: Ian Chen <email address hidden>
Tested-by: Ian Chen <email address hidden>
Cc: <email address hidden>
Signed-off-by: Heiner Kallweit <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Paolo Abeni <email address hidden>
Signed-off-by: Sasha Levin <email address hidden>
Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

a799ab1... by Heiner Kallweit

r8169: disable ASPM in case of tx timeout

BugLink: https://bugs.launchpad.net/bugs/2050849

[ Upstream commit 80c0576ef179311f624bc450fede30a89afe9792 ]

There are still single reports of systems where ASPM incompatibilities
cause tx timeouts. It's not clear whom to blame, so let's disable
ASPM in case of a tx timeout.

v2:
- add one-time warning for informing the user

Signed-off-by: Heiner Kallweit <email address hidden>
Reviewed-by: Alexander Duyck <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Jakub Kicinski <email address hidden>
Stable-dep-of: 59d395ed606d ("r8169: fix deadlock on RTL8125 in jumbo mtu mode")
Signed-off-by: Sasha Levin <email address hidden>
Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>