6.7.2-rc1 review
Subsystems (9)
Greg Kroah-Hartman
maintainerPATCH 578/641 PCI: mediatek-gen3: Fix translation window size calculation
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jianjun Wang <[email protected]>
[ Upstream commit 9ccc1318cf4bd90601f221268e42c3374703d681 ]
When using the fls() helper, the translation table should be a power of two; otherwise, the resulting value will not be correct.
For example, given fls(0x3e00000) - 1 = 25, the PCIe translation window size will be set to 0x2000000 instead of the expected size 0x3e00000.
Fix the translation window by splitting the MMIO space into multiple tables if its size is not a power of two.
--- drivers/pci/controller/pcie-mediatek-gen3.c | 85 ++++++++++++--------- 1 file changed, 50 insertions(+), 35 deletions(-)
drivers/pci/controller/pcie-mediatek-gen3.c +50 -35
@@ -245,35 +245,60 @@ static int mtk_pcie_set_trans_table(struct mtk_gen3_pcie *pcie,resource_size_t cpu_addr, resource_size_t pci_addr, resource_size_t size, - unsigned long type, int num) + unsigned long type, int *num) { + resource_size_t remaining = size; +resource_size_t table_size; +resource_size_t addr_align; +const char *range_type;void __iomem *table;u32 val; -if (num >=PCIE_MAX_TRANS_TABLES ) { -dev_err (pcie->dev,"not enough translate table for addr: %#llx, limited to [%d]\n" , - (unsigned long long )cpu_addr,PCIE_MAX_TRANS_TABLES ); -return -ENODEV ; - } +while (remaining && (*num <PCIE_MAX_TRANS_TABLES )) { +/* Table size needs to be a power of 2 */ + table_size =BIT (fls (remaining) -1 ); + +if (cpu_addr >0 ) { + addr_align =BIT (ffs (cpu_addr) -1 ); + table_size =min (table_size, addr_align); + } + +/* Minimum size of translate table is 4KiB */ +if (table_size <0x1000 ) { +dev_err (pcie->dev,"illegal table size %#llx\n" , + (unsigned long long )table_size); +return -EINVAL ; + } - table = pcie->base +PCIE_TRANS_TABLE_BASE_REG + - num *PCIE_ATR_TLB_SET_OFFSET ; + table = pcie->base +PCIE_TRANS_TABLE_BASE_REG + *num *PCIE_ATR_TLB_SET_OFFSET ; +writel_relaxed (lower_32_bits (cpu_addr) |PCIE_ATR_SIZE (fls (table_size) -1 ), table); +writel_relaxed (upper_32_bits (cpu_addr), table +PCIE_ATR_SRC_ADDR_MSB_OFFSET ); +writel_relaxed (lower_32_bits (pci_addr), table +PCIE_ATR_TRSL_ADDR_LSB_OFFSET ); +writel_relaxed (upper_32_bits (pci_addr), table +PCIE_ATR_TRSL_ADDR_MSB_OFFSET ); -writel_relaxed (lower_32_bits (cpu_addr) |PCIE_ATR_SIZE (fls (size) -1 ), - table); -writel_relaxed (upper_32_bits (cpu_addr), - table +PCIE_ATR_SRC_ADDR_MSB_OFFSET ); -writel_relaxed (lower_32_bits (pci_addr), - table +PCIE_ATR_TRSL_ADDR_LSB_OFFSET ); -writel_relaxed (upper_32_bits (pci_addr), - table +PCIE_ATR_TRSL_ADDR_MSB_OFFSET ); +if (type ==IORESOURCE_IO ) { + val =PCIE_ATR_TYPE_IO |PCIE_ATR_TLP_TYPE_IO ; + range_type ="IO" ; + }else { + val =PCIE_ATR_TYPE_MEM |PCIE_ATR_TLP_TYPE_MEM ; + range_type ="MEM" ; + } -if (type ==IORESOURCE_IO ) - val =PCIE_ATR_TYPE_IO |PCIE_ATR_TLP_TYPE_IO ; -else - val =PCIE_ATR_TYPE_MEM |PCIE_ATR_TLP_TYPE_MEM ; +writel_relaxed (val, table +PCIE_ATR_TRSL_PARAM_OFFSET ); -writel_relaxed (val, table +PCIE_ATR_TRSL_PARAM_OFFSET ); +dev_dbg (pcie->dev,"set %s trans window[%d]: cpu_addr = %#llx, pci_addr = %#llx, size = %#llx\n" , + range_type, *num, (unsigned long long )cpu_addr, + (unsigned long long )pci_addr, (unsigned long long )table_size); + + cpu_addr += table_size; + pci_addr += table_size; + remaining -= table_size; + (*num)++; + } + +if (remaining) +dev_warn (pcie->dev,"not enough translate table for addr: %#llx, limited to [%d]\n" , + (unsigned long long )cpu_addr,PCIE_MAX_TRANS_TABLES );return 0 ; }
@@ -380,30 +405,20 @@ static int mtk_pcie_startup_port(struct mtk_gen3_pcie *pcie)resource_size_t cpu_addr;resource_size_t pci_addr;resource_size_t size; -const char *range_type; -if (type ==IORESOURCE_IO ) { +if (type ==IORESOURCE_IO ) cpu_addr =pci_pio_to_address (res->start); - range_type ="IO" ; - }else if (type ==IORESOURCE_MEM ) { +else if (type ==IORESOURCE_MEM ) cpu_addr = res->start; - range_type ="MEM" ; - }else { +else continue ; - } pci_addr = res->start - entry->offset; size =resource_size (res); err =mtk_pcie_set_trans_table (pcie, cpu_addr, pci_addr, size, - type, table_index); + type, &table_index);if (err)return err; - -dev_dbg (pcie->dev,"set %s trans window[%d]: cpu_addr = %#llx, pci_addr = %#llx, size = %#llx\n" , - range_type, table_index, (unsigned long long )cpu_addr, - (unsigned long long )pci_addr, (unsigned long long )size); - - table_index++; }return 0 ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 579/641 ASoC: mediatek: sof-common: Add NULL check for normal_link string
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: AngeloGioacchino Del Regno <[email protected]>
[ Upstream commit e3b3ec967a7d93b9010a5af9a2394c8b5c8f31ed ]
It's not granted that all entries of struct sof_conn_stream declare a normal_link (a non-SOF, direct link) string, and this is the case for SoCs that support only SOF paths (hence do not support both direct and SOF usecases).
For example, in the case of MT8188 there is no normal_link string in any of the sof_conn_stream entries and there will be more drivers doing that in the future.
To avoid possible NULL pointer KPs, add a NULL check for normal_link.
--- sound/soc/mediatek/common/mtk-dsp-sof-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/mediatek/common/mtk-dsp-sof-common.c +1 -1
@@ -24,7 +24,7 @@ int mtk_sof_dai_link_fixup(struct snd_soc_pcm_runtime *rtd,struct snd_soc_dai_link *sof_dai_link =NULL ;const struct sof_conn_stream *conn = &sof_priv->conn_streams[i]; -if (strcmp (rtd->dai_link->name, conn->normal_link)) +if (conn->normal_link &&strcmp (rtd->dai_link->name, conn->normal_link))continue ;for_each_card_rtds (card, runtime) {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 580/641 s390/pci: fix max size calculation in zpci_memcpy_toio()
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Niklas Schnelle <[email protected]>
[ Upstream commit 80df7d6af7f6d229b34cf237b2cc9024c07111cd ]
The zpci_get_max_write_size() helper is used to determine the maximum size a PCI store or load can use at a given __iomem address.
For the PCI block store the following restrictions apply:
1. The dst + len must not cross a 4K boundary in the (pseudo-)MMIO space
2. len must not exceed ZPCI_MAX_WRITE_SIZE
3. len must be a multiple of 8 bytes
4. The src address must be double word (8 byte) aligned
5. The dst address must be double word (8 byte) aligned
Otherwise only a normal PCI store which takes its src value from a register can be used. For these PCI store restriction 1 still applies. Similarly 1 also applies to PCI loads.
It turns out zpci_max_write_size() instead implements stricter conditions which prevents PCI block stores from being used where they can and should be used. In particular instead of conditions 4 and 5 it wrongly enforces both dst and src to be size aligned. This indirectly covers condition 1 but also prevents many legal PCI block stores.
On top of the functional shortcomings the zpci_get_max_write_size() is misnamed as it is used for both read and write size calculations. Rename it to zpci_get_max_io_size() and implement the listed conditions explicitly.
--- arch/s390/include/asm/pci_io.h | 32 ++++++++++++++++++-------------- arch/s390/pci/pci_mmio.c | 12 ++++++------ 2 files changed, 24 insertions(+), 20 deletions(-)
arch/s390/include/asm/pci_io.h +18 -14
@@ -11,6 +11,8 @@/* I/O size constraints */ #define ZPCI_MAX_READ_SIZE 8#define ZPCI_MAX_WRITE_SIZE 128 +#define ZPCI_BOUNDARY_SIZE (1 << 12) +#define ZPCI_BOUNDARY_MASK (ZPCI_BOUNDARY_SIZE - 1)/* I/O Map */ #define ZPCI_IOMAP_SHIFT 48
@@ -125,16 +127,18 @@ static inline int zpci_read_single(void *dst, const volatile void __iomem *src,int zpci_write_block (volatile void __iomem *dst,const void *src,unsigned long len); -static inline u8 zpci_get_max_write_size (u64 src,u64 dst,int len,int max) +static inline int zpci_get_max_io_size (u64 src,u64 dst,int len,int max) { -int count = len > max ? max : len, size =1 ; +int offset = dst &ZPCI_BOUNDARY_MASK ; +int size; -while (!(src &0x1 ) && !(dst &0x1 ) && ((size <<1 ) <= count)) { - dst = dst >>1 ; - src = src >>1 ; - size = size <<1 ; - } -return size; + size =min3 (len,ZPCI_BOUNDARY_SIZE - offset, max); +if (IS_ALIGNED (src,8 ) &&IS_ALIGNED (dst,8 ) &&IS_ALIGNED (size,8 )) +return size; + +if (size >=8 ) +return 8 ; +return rounddown_pow_of_two (size); } static inline int zpci_memcpy_fromio(void *dst,
@@ -144,9 +148,9 @@ static inline int zpci_memcpy_fromio(void *dst,int size, rc =0 ;while (n >0 ) { - size =zpci_get_max_write_size ((u64 __force ) src, - (u64 ) dst, n, -ZPCI_MAX_READ_SIZE ); + size =zpci_get_max_io_size ((u64 __force ) src, + (u64 ) dst, n, +ZPCI_MAX_READ_SIZE ); rc =zpci_read_single (dst, src, size);if (rc)break ;
@@ -166,9 +170,9 @@ static inline int zpci_memcpy_toio(volatile void __iomem *dst,return -EINVAL ;while (n >0 ) { - size =zpci_get_max_write_size ((u64 __force ) dst, - (u64 ) src, n, -ZPCI_MAX_WRITE_SIZE ); + size =zpci_get_max_io_size ((u64 __force ) dst, + (u64 ) src, n, +ZPCI_MAX_WRITE_SIZE );if (size >8 )/* main path */ rc =zpci_write_block (dst, src, size);else
arch/s390/pci/pci_mmio.c +6 -6
@@ -97,9 +97,9 @@ static inline int __memcpy_toio_inuser(void __iomem *dst,return -EINVAL ;while (n >0 ) { - size =zpci_get_max_write_size ((u64 __force ) dst, - (u64 __force ) src, n, -ZPCI_MAX_WRITE_SIZE ); + size =zpci_get_max_io_size ((u64 __force ) dst, + (u64 __force ) src, n, +ZPCI_MAX_WRITE_SIZE );if (size >8 )/* main path */ rc =__pcistb_mio_inuser (dst, src, size, &status);else
@@ -242,9 +242,9 @@ static inline int __memcpy_fromio_inuser(void __user *dst,u8 status;while (n >0 ) { - size =zpci_get_max_write_size ((u64 __force ) src, - (u64 __force ) dst, n, -ZPCI_MAX_READ_SIZE ); + size =zpci_get_max_io_size ((u64 __force ) src, + (u64 __force ) dst, n, +ZPCI_MAX_READ_SIZE ); rc =__pcilg_mio_inuser (dst, src, size, &status);if (rc)break ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 581/641 net: qualcomm: rmnet: fix global oob in rmnet_policy
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Lin Ma <[email protected]>
[ Upstream commit b33fb5b801c6db408b774a68e7c8722796b59ecc ]
The variable rmnet_link_ops assign a *bigger* maxtype which leads to a global out-of-bounds read when parsing the netlink attributes. See bug trace below:
==================================================================
BUG: KASAN: global-out-of-bounds in validate_nla lib/nlattr.c:386 [inline]
BUG: KASAN: global-out-of-bounds in __nla_validate_parse+0x24af/0x2750 lib/nlattr.c:600
Read of size 1 at addr ffffffff92c438d0 by task syz-executor.6/84207
CPU: 0 PID: 84207 Comm: syz-executor.6 Tainted: G N 6.1.0 #3
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x8b/0xb3 lib/dump_stack.c:106
print_address_description mm/kasan/report.c:284 [inline]
print_report+0x172/0x475 mm/kasan/report.c:395
kasan_report+0xbb/0x1c0 mm/kasan/report.c:495
validate_nla lib/nlattr.c:386 [inline]
__nla_validate_parse+0x24af/0x2750 lib/nlattr.c:600
__nla_parse+0x3e/0x50 lib/nlattr.c:697
nla_parse_nested_deprecated include/net/netlink.h:1248 [inline]
__rtnl_newlink+0x50a/0x1880 net/core/rtnetlink.c:3485
rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3594
rtnetlink_rcv_msg+0x43c/0xd70 net/core/rtnetlink.c:6091
netlink_rcv_skb+0x14f/0x410 net/netlink/af_netlink.c:2540
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x54e/0x800 net/netlink/af_netlink.c:1345
netlink_sendmsg+0x930/0xe50 net/netlink/af_netlink.c:1921
sock_sendmsg_nosec net/socket.c:714 [inline]
sock_sendmsg+0x154/0x190 net/socket.c:734
____sys_sendmsg+0x6df/0x840 net/socket.c:2482
___sys_sendmsg+0x110/0x1b0 net/socket.c:2536
__sys_sendmsg+0xf3/0x1c0 net/socket.c:2565
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fdcf2072359
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdcf13e3168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fdcf219ff80 RCX: 00007fdcf2072359
RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003
RBP: 00007fdcf20bd493 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffbb8d7bdf R14: 00007fdcf13e3300 R15: 0000000000022000
</TASK>
The buggy address belongs to the variable:
rmnet_policy+0x30/0xe0
The buggy address belongs to the physical page:
page:0000000065bdeb3c refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x155243
flags: 0x200000000001000(reserved|node=0|zone=2)
raw: 0200000000001000 ffffea00055490c8 ffffea00055490c8 0000000000000000
raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
Memory state around the buggy address:
ffffffff92c43780: f9 f9 f9 f9 00 00 00 02 f9 f9 f9 f9 00 00 00 07
ffffffff92c43800: f9 f9 f9 f9 00 00 00 05 f9 f9 f9 f9 06 f9 f9 f9
>ffffffff92c43880: f9 f9 f9 f9 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9
^
ffffffff92c43900: 00 00 00 00 00 00 00 00 07 f9 f9 f9 f9 f9 f9 f9
ffffffff92c43980: 00 00 00 07 f9 f9 f9 f9 00 00 00 05 f9 f9 f9 f9According to the comment of nla_parse_nested_deprecated, the maxtype should be len(destination array) - 1. Hence use IFLA_RMNET_MAX here.
--- drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c +1 -1
@@ -396,7 +396,7 @@ static int rmnet_fill_info(struct sk_buff *skb, const struct net_device *dev)struct rtnl_link_ops rmnet_link_ops__read_mostly = { .kind ="rmnet" , - .maxtype = __IFLA_RMNET_MAX, + .maxtype =IFLA_RMNET_MAX , .priv_size =sizeof (struct rmnet_priv ), .setup = rmnet_vnd_setup, .validate = rmnet_rtnl_validate,
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 582/641 net: dsa: fix netdev_priv() dereference before check on non-DSA netdevice events
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Vladimir Oltean <[email protected]>
[ Upstream commit 844f104790bd69c2e4dbb9ee3eba46fde1fcea7b ]
After the blamed commit, we started doing this dereference for every NETDEV_CHANGEUPPER and NETDEV_PRECHANGEUPPER event in the system.
static inline struct dsa_port *dsa_user_to_port(const struct net_device *dev)
{
struct dsa_user_priv *p = netdev_priv(dev);
return p->dp;
}Which is obviously bogus, because not all net_devices have a netdev_priv() of type struct dsa_user_priv. But struct dsa_user_priv is fairly small, and p->dp means dereferencing 8 bytes starting with offset 16. Most drivers allocate that much private memory anyway, making our access not fault, and we discard the bogus data quickly afterwards, so this wasn't caught.
But the dummy interface is somewhat special in that it calls alloc_netdev() with a priv size of 0. So every netdev_priv() dereference is invalid, and we get this when we emit a NETDEV_PRECHANGEUPPER event with a VLAN as its new upper:
$ ip link add dummy1 type dummy $ ip link add link dummy1 name dummy1.100 type vlan id 100 [ 43.309174] ================================================================== [ 43.316456] BUG: KASAN: slab-out-of-bounds in dsa_user_prechangeupper+0x30/0xe8 [ 43.323835] Read of size 8 at addr ffff3f86481d2990 by task ip/374 [ 43.330058] [ 43.342436] Call trace: [ 43.366542] dsa_user_prechangeupper+0x30/0xe8 [ 43.371024] dsa_user_netdevice_event+0xb38/0xee8 [ 43.375768] notifier_call_chain+0xa4/0x210 [ 43.379985] raw_notifier_call_chain+0x24/0x38 [ 43.384464] __netdev_upper_dev_link+0x3ec/0x5d8 [ 43.389120] netdev_upper_dev_link+0x70/0xa8 [ 43.393424] register_vlan_dev+0x1bc/0x310 [ 43.397554] vlan_newlink+0x210/0x248 [ 43.401247] rtnl_newlink+0x9fc/0xe30 [ 43.404942] rtnetlink_rcv_msg+0x378/0x580
Avoid the kernel oops by dereferencing after the type check, as customary.
--- net/dsa/user.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
net/dsa/user.c +5 -2
@@ -2829,13 +2829,14 @@ EXPORT_SYMBOL_GPL(dsa_user_dev_check);static int dsa_user_changeupper (struct net_device *dev,struct netdev_notifier_changeupper_info *info) { -struct dsa_port *dp =dsa_user_to_port (dev);struct netlink_ext_ack *extack;int err =NOTIFY_DONE ; +struct dsa_port *dp;if (!dsa_user_dev_check (dev))return err; + dp =dsa_user_to_port (dev); extack =netdev_notifier_info_to_extack (&info->info);if (netif_is_bridge_master (info->upper_dev)) {
@@ -2888,11 +2889,13 @@ static int dsa_user_changeupper(struct net_device *dev,static int dsa_user_prechangeupper (struct net_device *dev,struct netdev_notifier_changeupper_info *info) { -struct dsa_port *dp =dsa_user_to_port (dev); +struct dsa_port *dp;if (!dsa_user_dev_check (dev))return NOTIFY_DONE ; + dp =dsa_user_to_port (dev); +if (netif_is_bridge_master (info->upper_dev) && !info->linking)dsa_port_pre_bridge_leave (dp, info->upper_dev);else if (netif_is_lag_master (info->upper_dev) && !info->linking)
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 583/641 rxrpc: Fix use of Dont Fragment flag
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: David Howells <[email protected]>
[ Upstream commit 8722014311e613244f33952354956a82fa4b0472 ]
rxrpc normally has the Don't Fragment flag set on the UDP packets it transmits, except when it has decided that DATA packets aren't getting through - in which case it turns it off just for the DATA transmissions. This can be a problem, however, for RESPONSE packets that convey authentication and crypto data from the client to the server as ticket may be larger than can fit in the MTU.
In such a case, rxrpc gets itself into an infinite loop as the sendmsg returns an error (EMSGSIZE), which causes rxkad_send_response() to return -EAGAIN - and the CHALLENGE packet is put back on the Rx queue to retry, leading to the I/O thread endlessly attempting to perform the transmission.
Fix this by disabling DF on RESPONSE packets for now. The use of DF and best data MTU determination needs reconsidering at some point in the future.
--- net/rxrpc/ar-internal.h | 1 + net/rxrpc/local_object.c | 13 ++++++++++++- net/rxrpc/output.c | 6 ++---- net/rxrpc/rxkad.c | 2 ++ 4 files changed, 17 insertions(+), 5 deletions(-)
net/rxrpc/ar-internal.h +1 -0
@@ -1076,6 +1076,7 @@ void rxrpc_send_version_request(struct rxrpc_local *local,/* * local_object.c */ +void rxrpc_local_dont_fragment (const struct rxrpc_local *local,bool set);struct rxrpc_local *rxrpc_lookup_local (struct net *,const struct sockaddr_rxrpc *);struct rxrpc_local *rxrpc_get_local (struct rxrpc_local *,enum rxrpc_local_trace );struct rxrpc_local *rxrpc_get_local_maybe (struct rxrpc_local *,enum rxrpc_local_trace );
net/rxrpc/local_object.c +12 -1
@@ -36,6 +36,17 @@ static void rxrpc_encap_err_rcv(struct sock *sk, struct sk_buff *skb, int err,return ipv6_icmp_error (sk, skb, err, port, info, payload); } +/* +* Set or clear the Don't Fragment flag on a socket. +*/ +void rxrpc_local_dont_fragment (const struct rxrpc_local *local,bool set) +{ +if (set) +ip_sock_set_mtu_discover (local->socket->sk,IP_PMTUDISC_DO ); +else +ip_sock_set_mtu_discover (local->socket->sk,IP_PMTUDISC_DONT ); +} +/* * Compare a local to an address. Return -ve, 0 or +ve to indicate less than, * same or greater than.
@@ -203,7 +214,7 @@ static int rxrpc_open_socket(struct rxrpc_local *local, struct net *net)ip_sock_set_recverr (usk);/* we want to set the don't fragment bit */ -ip_sock_set_mtu_discover (usk,IP_PMTUDISC_DO ); +rxrpc_local_dont_fragment (local, true);/* We want receive timestamps. */ sock_enable_timestamps (usk);
net/rxrpc/output.c +2 -4
@@ -494,14 +494,12 @@ int rxrpc_send_data_packet(struct rxrpc_call *call, struct rxrpc_txbuf *txb)switch (conn->local->srx.transport.family) {case AF_INET6 :case AF_INET : -ip_sock_set_mtu_discover (conn->local->socket->sk, -IP_PMTUDISC_DONT ); +rxrpc_local_dont_fragment (conn->local, false);rxrpc_inc_stat (call->rxnet, stat_tx_data_send_frag); ret =do_udp_sendmsg (conn->local->socket, &msg, len); conn->peer->last_tx_at =ktime_get_seconds (); -ip_sock_set_mtu_discover (conn->local->socket->sk, -IP_PMTUDISC_DO ); +rxrpc_local_dont_fragment (conn->local, true);break ;default :
net/rxrpc/rxkad.c +2 -0
@@ -724,7 +724,9 @@ static int rxkad_send_response(struct rxrpc_connection *conn, serial =atomic_inc_return (&conn->serial); whdr.serial =htonl (serial); +rxrpc_local_dont_fragment (conn->local, false); ret =kernel_sendmsg (conn->local->socket, &msg, iov,3 , len); +rxrpc_local_dont_fragment (conn->local, true);if (ret <0 ) {trace_rxrpc_tx_fail (conn->debug_id, serial, ret, rxrpc_tx_point_rxkad_response);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 584/641 octeontx2-af: CN10KB: Fix FIFO length calculation for RPM2
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Nithin Dabilpuram <[email protected]>
[ Upstream commit a0cb76a770083a22167659e64ba69af6425b1d9b ]
RPM0 and RPM1 on the CN10KB SoC have 8 LMACs each, whereas RPM2 has only 4 LMACs. Similarly, the RPM0 and RPM1 have 256KB FIFO, whereas RPM2 has 128KB FIFO. This patch fixes an issue with improper TX credit programming for the RPM2 link.
--- drivers/net/ethernet/marvell/octeontx2/af/rpm.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/net/ethernet/marvell/octeontx2/af/rpm.c +6 -1
@@ -506,6 +506,7 @@ u32 rpm2_get_lmac_fifo_len(void *rpmd, int lmac_id)rpm_t *rpm = rpmd;u8 num_lmacs;u32 fifo_len; +u16 max_lmac; lmac_info =rpm_read (rpm,0 ,RPM2_CMRX_RX_LMACS );/* LMACs are divided into two groups and each group
@@ -513,7 +514,11 @@ u32 rpm2_get_lmac_fifo_len(void *rpmd, int lmac_id)* Group0 lmac_id range {0..3} * Group1 lmac_id range {4..7} */ - fifo_len = rpm->mac_ops->fifo_len /2 ; + max_lmac = (rpm_read (rpm,0 ,CGX_CONST ) >>24 ) &0xFF ; +if (max_lmac >4 ) + fifo_len = rpm->mac_ops->fifo_len /2 ; +else + fifo_len = rpm->mac_ops->fifo_len;if (lmac_id <4 ) { num_lmacs =hweight8 (lmac_info &0xF );
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 585/641 net: ethernet: ti: am65-cpsw: Fix max mtu to fit ethernet frames
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Sanjuán García, Jorge <[email protected]>
[ Upstream commit 64e47d8afb5ca533b27efc006405e5bcae2c4a7b ]
The value of AM65_CPSW_MAX_PACKET_SIZE represents the maximum length of a received frame. This value is written to the register AM65_CPSW_PORT_REG_RX_MAXLEN.
The maximum MTU configured on the network device should then leave some room for the ethernet headers and frame check. Otherwise, if the network interface is configured to its maximum mtu possible, the frames will be larger than AM65_CPSW_MAX_PACKET_SIZE and will get dropped as oversized.
The switch supports ethernet frame sizes between 64 and 2024 bytes (including VLAN) as stated in the technical reference manual, so define AM65_CPSW_MAX_PACKET_SIZE with that maximum size.
--- drivers/net/ethernet/ti/am65-cpsw-nuss.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/net/ethernet/ti/am65-cpsw-nuss.c +3 -2
@@ -56,7 +56,7 @@#define AM65_CPSW_MAX_PORTS 8#define AM65_CPSW_MIN_PACKET_SIZE VLAN_ETH_ZLEN -#define AM65_CPSW_MAX_PACKET_SIZE (VLAN_ETH_FRAME_LEN + ETH_FCS_LEN) +#define AM65_CPSW_MAX_PACKET_SIZE 2024#define AM65_CPSW_REG_CTL 0x004#define AM65_CPSW_REG_STAT_PORT_EN 0x014
@@ -2167,7 +2167,8 @@ am65_cpsw_nuss_init_port_ndev(struct am65_cpsw_common *common, u32 port_idx)eth_hw_addr_set (port->ndev, port->slave.mac_addr); port->ndev->min_mtu =AM65_CPSW_MIN_PACKET_SIZE ; - port->ndev->max_mtu =AM65_CPSW_MAX_PACKET_SIZE ; + port->ndev->max_mtu =AM65_CPSW_MAX_PACKET_SIZE - + (VLAN_ETH_HLEN +ETH_FCS_LEN ); port->ndev->hw_features =NETIF_F_SG |NETIF_F_RXCSUM | NETIF_F_HW_CSUM |
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 586/641 amt: do not use overwrapped cb area
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Taehee Yoo <[email protected]>
[ Upstream commit bec161add35b478a7746bf58bcdea6faa19129ef ]
amt driver uses skb->cb for storing tunnel information.
This job is worked before TC layer and then amt driver load tunnel info from skb->cb after TC layer.
So, its cb area should not be overwrapped with CB area used by TC. In order to not use cb area used by TC, it skips the biggest cb structure used by TC, which was qdisc_skb_cb.
But it's not anymore.
Currently, biggest structure of TC's CB is tc_skb_cb.
So, it should skip size of tc_skb_cb instead of qdisc_skb_cb.
--- drivers/net/amt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/amt.c +3 -3
@@ -11,7 +11,7 @@#include <linux/net.h> #include <linux/igmp.h> #include <linux/workqueue.h> -#include <net/sch_generic.h> +#include <net/pkt_sched.h> #include <net/net_namespace.h> #include <net/ip.h> #include <net/udp.h>
@@ -80,11 +80,11 @@ static struct mld2_grec mldv2_zero_grec;static struct amt_skb_cb *amt_skb_cb (struct sk_buff *skb) { -BUILD_BUG_ON (sizeof (struct amt_skb_cb ) +sizeof (struct qdisc_skb_cb ) > +BUILD_BUG_ON (sizeof (struct amt_skb_cb ) +sizeof (struct tc_skb_cb ) > sizeof_field(struct sk_buff, cb));return (struct amt_skb_cb *)((void *)skb->cb + -sizeof (struct qdisc_skb_cb )); +sizeof (struct tc_skb_cb )); }static void __amt_source_gc_work (void )
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 587/641 ALSA: aloop: Introduce a function to get if access is interleaved mode
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Chancel Liu <[email protected]>
[ Upstream commit cdac6e1f716419ce307ad3e44a718557a5469c17 ]
There's a use case that playback stream of a loopback cable works on RW_INTERLEAVED mode while capture stream works on MMAP_INTERLEAVED mode:
aplay -Dhw:Loopback,0,0 S32_48K_2ch.wav;
arecord -Dplughw:Loopback,1,0 -fS32_LE -r16000 -c2 cap.wav;
The plug plugin handles only slave PCM support MMAP mode. Not only plug plugin but also other plugins like direct plugins(dmix/dsnoop/dshare) work on MMAP access mode. In this case capture stream is the slave PCM works on MMAP_INTERLEAVED mode. However loopback_check_format() rejects this access setting and return:
arecord: pcm_read:2240: read error: Input/output error
To fix it a function called is_access_interleaved() is introduced to get if access is interleaved mode. If both access of capture stream and playback stream is interleaved mode loopback_check_format() will allow this kind of access setting.
--- sound/drivers/aloop.c | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-)
sound/drivers/aloop.c +17 -6
@@ -322,6 +322,17 @@ static int loopback_snd_timer_close_cable(struct loopback_pcm *dpcm)return 0 ; } +static bool is_access_interleaved (snd_pcm_access_t access) +{ +switch (access) { +case SNDRV_PCM_ACCESS_MMAP_INTERLEAVED : +case SNDRV_PCM_ACCESS_RW_INTERLEAVED : +return true; +default : +return false; + } +}; +static int loopback_check_format (struct loopback_cable *cable,int stream) {struct snd_pcm_runtime *runtime, *cruntime;
@@ -341,7 +352,8 @@ static int loopback_check_format(struct loopback_cable *cable, int stream) check = runtime->format != cruntime->format || runtime->rate != cruntime->rate || runtime->channels != cruntime->channels || - runtime->access != cruntime->access; +is_access_interleaved (runtime->access) != +is_access_interleaved (cruntime->access);if (!check)return 0 ;if (stream ==SNDRV_PCM_STREAM_CAPTURE ) {
@@ -369,7 +381,8 @@ static int loopback_check_format(struct loopback_cable *cable, int stream) &setup->channels_id); setup->channels = runtime->channels; } -if (setup->access != runtime->access) { +if (is_access_interleaved (setup->access) != +is_access_interleaved (runtime->access)) {snd_ctl_notify (card,SNDRV_CTL_EVENT_MASK_VALUE , &setup->access_id); setup->access = runtime->access;
@@ -584,8 +597,7 @@ static void copy_play_buf(struct loopback_pcm *play, size = play->pcm_buffer_size - src_off;if (dst_off + size > capt->pcm_buffer_size) size = capt->pcm_buffer_size - dst_off; -if (runtime->access ==SNDRV_PCM_ACCESS_RW_NONINTERLEAVED || - runtime->access ==SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ) +if (!is_access_interleaved (runtime->access))copy_play_buf_part_n (play, capt, size, src_off, dst_off);else memcpy (dst + dst_off, src + src_off, size);
@@ -1544,8 +1556,7 @@ static int loopback_access_get(struct snd_kcontrol *kcontrol,mutex_lock (&loopback->cable_lock); access = loopback->setup[kcontrol->id.subdevice][kcontrol->id.device].access; - ucontrol->value.enumerated.item[0 ] = access ==SNDRV_PCM_ACCESS_RW_NONINTERLEAVED || - access ==SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ; + ucontrol->value.enumerated.item[0 ] = !is_access_interleaved (access);mutex_unlock (&loopback->cable_lock);return 0 ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 588/641 net: micrel: Fix PTP frame parsing for lan8841
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Horatiu Vultur <[email protected]>
[ Upstream commit acd66c2126eb9b5da2d89ae07dbcd73b909c2111 ]
The HW has the capability to check each frame if it is a PTP frame, which domain it is, which ptp frame type it is, different ip address in the frame. And if one of these checks fail then the frame is not timestamp. Most of these checks were disabled except checking the field minorVersionPTP inside the PTP header. Meaning that once a partner sends a frame compliant to 8021AS which has minorVersionPTP set to 1, then the frame was not timestamp because the HW expected by default a value of 0 in minorVersionPTP.
Fix this issue by removing this check so the userspace can decide on this.
--- drivers/net/phy/micrel.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/net/phy/micrel.c +8 -0
@@ -3335,8 +3335,10 @@ static int lan8814_probe(struct phy_device *phydev)#define LAN8841_ADC_CHANNEL_MASK 198#define LAN8841_PTP_RX_PARSE_L2_ADDR_EN 370#define LAN8841_PTP_RX_PARSE_IP_ADDR_EN 371 +#define LAN8841_PTP_RX_VERSION 374#define LAN8841_PTP_TX_PARSE_L2_ADDR_EN 434#define LAN8841_PTP_TX_PARSE_IP_ADDR_EN 435 +#define LAN8841_PTP_TX_VERSION 438#define LAN8841_PTP_CMD_CTL 256#define LAN8841_PTP_CMD_CTL_PTP_ENABLE BIT(2)#define LAN8841_PTP_CMD_CTL_PTP_DISABLE BIT(1)
@@ -3380,6 +3382,12 @@ static int lan8841_config_init(struct phy_device *phydev)phy_write_mmd (phydev,KSZ9131RN_MMD_COMMON_CTRL_REG ,LAN8841_PTP_RX_PARSE_IP_ADDR_EN ,0 ); +/* Disable checking for minorVersionPTP field */ +phy_write_mmd (phydev,KSZ9131RN_MMD_COMMON_CTRL_REG , +LAN8841_PTP_RX_VERSION ,0xff00 ); +phy_write_mmd (phydev,KSZ9131RN_MMD_COMMON_CTRL_REG , +LAN8841_PTP_TX_VERSION ,0xff00 ); +/* 100BT Clause 40 improvenent errata */ phy_write_mmd(phydev, LAN8841_MMD_ANALOG_REG, LAN8841_ANALOG_CONTROL_1,
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 589/641 net: phy: micrel: populate .soft_reset for KSZ9131
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Claudiu Beznea <[email protected]>
[ Upstream commit e398822c4751017fe401f57409488f5948d12fb5 ]
The RZ/G3S SMARC Module has 2 KSZ9131 PHYs. In this setup, the KSZ9131 PHY is used with the ravb Ethernet driver. It has been discovered that when bringing the Ethernet interface down/up continuously, e.g., with the following sh script:
$ while :; do ifconfig eth0 down; ifconfig eth0 up; done
the link speed and duplex are wrong after interrupting the bring down/up operation even though the Ethernet interface is up. To recover from this state the following configuration sequence is necessary (executed manually):
$ ifconfig eth0 down $ ifconfig eth0 up
The behavior has been identified also on the Microchip SAMA7G5-EK board which runs the macb driver and uses the same PHY.
The order of PHY-related operations in ravb_open() is as follows:ravb_open() ->
ravb_phy_start() ->
ravb_phy_init() ->
of_phy_connect() ->
phy_connect_direct() ->
phy_attach_direct() ->
phy_init_hw() ->
phydev->drv->soft_reset()
phydev->drv->config_init()
phydev->drv->config_intr()
phy_resume()
kszphy_resume()The order of PHY-related operations in ravb_close is as follows:ravb_close() ->
phy_stop() ->
phy_suspend() ->
kszphy_suspend() ->
genphy_suspend()
// set BMCR_PDOWN bit in MII_BMCRIn genphy_suspend() setting the BMCR_PDWN bit in MII_BMCR switches the PHY to Software Power-Down (SPD) mode (according to the KSZ9131 datasheet). Thus, when opening the interface after it has been previously closed (via ravb_close()), the phydev->drv->config_init() and phydev->drv->config_intr() reach the KSZ9131 PHY driver via the ksz9131_config_init() and kszphy_config_intr() functions.
KSZ9131 specifies that the MII management interface remains operational during SPD (Software Power-Down), but (according to manual):
- Only access to the standard registers (0 through 31) is supported.
- Access to MMD address spaces other than MMD address space 1 is possible if the spd_clock_gate_override bit is set.
- Access to MMD address space 1 is not possible.
The spd_clock_gate_override bit is not used in the KSZ9131 driver.
ksz9131_config_init() configures RGMII delay, pad skews and LEDs by accessesing MMD registers other than those in address space 1.
The datasheet for the KSZ9131 does not specify what happens if registers from an unsupported address space are accessed while the PHY is in SPD.
To fix the issue the .soft_reset method has been instantiated for KSZ9131, too. This resets the PHY to the default state before doing any configurations to it, thus switching it out of SPD.
--- drivers/net/phy/micrel.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/phy/micrel.c +1 -0
@@ -4850,6 +4850,7 @@ static struct phy_driver ksphy_driver[] = { .flags = PHY_POLL_CABLE_TEST, .driver_data = &ksz9131_type, .probe = kszphy_probe, + .soft_reset = genphy_soft_reset, .config_init = ksz9131_config_init, .config_intr = kszphy_config_intr, .config_aneg = ksz9131_config_aneg,
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 590/641 ALSA: hda: Properly setup HDMI stream
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Amadeusz Sławiński <[email protected]>
[ Upstream commit 454abb80e26ab85323a30e52aa7b0ee9aae1d38a ]
Since commit 4005d1ba0a7e ("ASoC: soc-dai: don't call PCM audio ops if the stream is not supported") HDMI playback is broken with avs driver. This happens because for HDMI stream (unlike generic HDA one) channels_min for stream is not set when creating PCMs. Fix this by setting the value based on first available converter.
--- sound/pci/hda/patch_hdmi.c | 6 ++++++ 1 file changed, 6 insertions(+)
sound/pci/hda/patch_hdmi.c +6 -0
@@ -2301,6 +2301,7 @@ static int generic_hdmi_build_pcms(struct hda_codec *codec)codec_dbg (codec,"hdmi: pcm_num set to %d\n" , pcm_num);for (idx =0 ; idx < pcm_num; idx++) { +struct hdmi_spec_per_cvt *per_cvt;struct hda_pcm *info;struct hda_pcm_stream *pstr;
@@ -2316,6 +2317,11 @@ static int generic_hdmi_build_pcms(struct hda_codec *codec) pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK ]; pstr->substreams =1 ; pstr->ops = generic_ops; + + per_cvt =get_cvt (spec,0 ); + pstr->channels_min = per_cvt->channels_min; + pstr->channels_max = per_cvt->channels_max; +/* pcm number is less than pcm_rec array size */ if (spec->pcm_used >=ARRAY_SIZE (spec->pcm_rec))break ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 591/641 mptcp: mptcp_parse_option() fix for MPTCPOPT_MP_JOIN
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Eric Dumazet <[email protected]>
[ Upstream commit 89e23277f9c16df6f9f9c1a1a07f8f132339c15c ]
mptcp_parse_option() currently sets OPTIONS_MPTCP_MPJ, for the three possible cases handled for MPTCPOPT_MP_JOIN option.
OPTIONS_MPTCP_MPJ is the combination of three flags:
- OPTION_MPTCP_MPJ_SYN
- OPTION_MPTCP_MPJ_SYNACK
- OPTION_MPTCP_MPJ_ACK
This is a problem, because backup, join_id, token, nonce and/or hmac fields could be left uninitialized in some cases.
Distinguish the three cases, as following patches will need this step.
--- net/mptcp/options.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
net/mptcp/options.c +3 -3
@@ -123,8 +123,8 @@ static void mptcp_parse_option(const struct sk_buff *skb,break ;case MPTCPOPT_MP_JOIN : - mp_opt->suboptions |=OPTIONS_MPTCP_MPJ ;if (opsize ==TCPOLEN_MPTCP_MPJ_SYN ) { + mp_opt->suboptions |=OPTION_MPTCP_MPJ_SYN ; mp_opt->backup = *ptr++ &MPTCPOPT_BACKUP ; mp_opt->join_id = *ptr++; mp_opt->token =get_unaligned_be32 (ptr);
@@ -135,6 +135,7 @@ static void mptcp_parse_option(const struct sk_buff *skb, mp_opt->backup, mp_opt->join_id, mp_opt->token, mp_opt->nonce); }else if (opsize ==TCPOLEN_MPTCP_MPJ_SYNACK ) { + mp_opt->suboptions |=OPTION_MPTCP_MPJ_SYNACK ; mp_opt->backup = *ptr++ &MPTCPOPT_BACKUP ; mp_opt->join_id = *ptr++; mp_opt->thmac =get_unaligned_be64 (ptr);
@@ -145,11 +146,10 @@ static void mptcp_parse_option(const struct sk_buff *skb, mp_opt->backup, mp_opt->join_id, mp_opt->thmac, mp_opt->nonce); }else if (opsize ==TCPOLEN_MPTCP_MPJ_ACK ) { + mp_opt->suboptions |=OPTION_MPTCP_MPJ_ACK ; ptr +=2 ;memcpy (mp_opt->hmac, ptr,MPTCPOPT_HMAC_LEN );pr_debug ("MP_JOIN hmac" ); - }else { - mp_opt->suboptions &= ~OPTIONS_MPTCP_MPJ ; }break ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 592/641 mptcp: strict validation before using mp_opt->hmac
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Eric Dumazet <[email protected]>
[ Upstream commit c1665273bdc7c201766c65e561c06711f2e050dc ]
mp_opt->hmac contains uninitialized data unless OPTION_MPTCP_MPJ_ACK was set in mptcp_parse_option().
We must refine the condition before we call subflow_hmac_valid().
--- net/mptcp/subflow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/mptcp/subflow.c +1 -1
@@ -788,7 +788,7 @@ static struct sock *subflow_syn_recv_sock(const struct sock *sk, }else if (subflow_req->mp_join) {mptcp_get_options (skb, &mp_opt); -if (!(mp_opt.suboptions &OPTIONS_MPTCP_MPJ ) || +if (!(mp_opt.suboptions &OPTION_MPTCP_MPJ_ACK ) || !subflow_hmac_valid (req, &mp_opt) || !mptcp_can_accept_new_subflow (subflow_req->msk)) {SUBFLOW_REQ_INC_STATS (req,MPTCP_MIB_JOINACKMAC );
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 593/641 mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect()
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Eric Dumazet <[email protected]>
[ Upstream commit be1d9d9d38da922bd4beeec5b6dd821ff5a1dfeb ]
subflow_finish_connect() uses four fields (backup, join_id, thmac, none) that may contain garbage unless OPTION_MPTCP_MPJ_SYNACK has been set in mptcp_parse_option()
--- net/mptcp/subflow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/mptcp/subflow.c +1 -1
@@ -506,7 +506,7 @@ static void subflow_finish_connect(struct sock *sk, const struct sk_buff *skb) }else if (subflow->request_join) {u8 hmac[SHA256_DIGEST_SIZE ]; -if (!(mp_opt.suboptions &OPTIONS_MPTCP_MPJ )) { +if (!(mp_opt.suboptions &OPTION_MPTCP_MPJ_SYNACK )) { subflow->reset_reason =MPTCP_RST_EMPTCP ; goto do_reset; }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 594/641 mptcp: use OPTION_MPTCP_MPJ_SYN in subflow_check_req()
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Eric Dumazet <[email protected]>
[ Upstream commit 66ff70df1a919a066942844bb095d6fcb748d78d ]
syzbot reported that subflow_check_req() was using uninitialized data in subflow_check_req() [1]
This is because mp_opt.token is only set when OPTION_MPTCP_MPJ_SYN is also set.
While we are are it, fix mptcp_subflow_init_cookie_req() to test for OPTION_MPTCP_MPJ_ACK.
[1]
BUG: KMSAN: uninit-value in subflow_token_join_request net/mptcp/subflow.c:91 [inline] BUG: KMSAN: uninit-value in subflow_check_req+0x1028/0x15d0 net/mptcp/subflow.c:209 subflow_token_join_request net/mptcp/subflow.c:91 [inline] subflow_check_req+0x1028/0x15d0 net/mptcp/subflow.c:209 subflow_v6_route_req+0x269/0x410 net/mptcp/subflow.c:367 tcp_conn_request+0x153a/0x4240 net/ipv4/tcp_input.c:7164 subflow_v6_conn_request+0x3ee/0x510 tcp_rcv_state_process+0x2e1/0x4ac0 net/ipv4/tcp_input.c:6659 tcp_v6_do_rcv+0x11bf/0x1fe0 net/ipv6/tcp_ipv6.c:1669 tcp_v6_rcv+0x480b/0x4fb0 net/ipv6/tcp_ipv6.c:1900 ip6_protocol_deliver_rcu+0xda6/0x2a60 net/ipv6/ip6_input.c:438 ip6_input_finish net/ipv6/ip6_input.c:483 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] ip6_input+0x15d/0x430 net/ipv6/ip6_input.c:492 dst_input include/net/dst.h:461 [inline] ip6_rcv_finish+0x5db/0x870 net/ipv6/ip6_input.c:79 NF_HOOK include/linux/netfilter.h:314 [inline] ipv6_rcv+0xda/0x390 net/ipv6/ip6_input.c:310 __netif_receive_skb_one_core net/core/dev.c:5532 [inline] __netif_receive_skb+0x1a6/0x5a0 net/core/dev.c:5646 netif_receive_skb_internal net/core/dev.c:5732 [inline] netif_receive_skb+0x58/0x660 net/core/dev.c:5791 tun_rx_batched+0x3ee/0x980 drivers/net/tun.c:1555 tun_get_user+0x53af/0x66d0 drivers/net/tun.c:2002 tun_chr_write_iter+0x3af/0x5d0 drivers/net/tun.c:2048 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x8ef/0x1490 fs/read_write.c:584 ksys_write+0x20f/0x4c0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x93/0xd0 fs/read_write.c:646 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b
Local variable mp_opt created at:
subflow_check_req+0x6d/0x15d0 net/mptcp/subflow.c:145 subflow_v6_route_req+0x269/0x410 net/mptcp/subflow.c:367 CPU: 1 PID: 5924 Comm: syz-executor.3 Not tainted 6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
--- net/mptcp/subflow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
net/mptcp/subflow.c +2 -2
@@ -158,7 +158,7 @@ static int subflow_check_req(struct request_sock *req,mptcp_get_options (skb, &mp_opt); opt_mp_capable = !!(mp_opt.suboptions &OPTIONS_MPTCP_MPC ); - opt_mp_join = !!(mp_opt.suboptions &OPTIONS_MPTCP_MPJ ); + opt_mp_join = !!(mp_opt.suboptions &OPTION_MPTCP_MPJ_SYN );if (opt_mp_capable) {SUBFLOW_REQ_INC_STATS (req,MPTCP_MIB_MPCAPABLEPASSIVE );
@@ -255,7 +255,7 @@ int mptcp_subflow_init_cookie_req(struct request_sock *req,mptcp_get_options (skb, &mp_opt); opt_mp_capable = !!(mp_opt.suboptions &OPTIONS_MPTCP_MPC ); - opt_mp_join = !!(mp_opt.suboptions &OPTIONS_MPTCP_MPJ ); + opt_mp_join = !!(mp_opt.suboptions &OPTION_MPTCP_MPJ_ACK );if (opt_mp_capable && opt_mp_join)return -EINVAL ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 595/641 mptcp: refine opt_mp_capable determination
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Eric Dumazet <[email protected]>
[ Upstream commit 724b00c12957973656d312dce2a110c75ae2c680 ]
OPTIONS_MPTCP_MPC is a combination of three flags.
It would be better to be strict about testing what flag is expected, at least for code readability.
mptcp_parse_option() already makes the distinction.
- subflow_check_req() should use OPTION_MPTCP_MPC_SYN.
- mptcp_subflow_init_cookie_req() should use OPTION_MPTCP_MPC_ACK.
- subflow_finish_connect() should use OPTION_MPTCP_MPC_SYNACK
- subflow_syn_recv_sock should use OPTION_MPTCP_MPC_ACK
--- net/mptcp/subflow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
net/mptcp/subflow.c +4 -4
@@ -157,7 +157,7 @@ static int subflow_check_req(struct request_sock *req,mptcp_get_options (skb, &mp_opt); - opt_mp_capable = !!(mp_opt.suboptions &OPTIONS_MPTCP_MPC ); + opt_mp_capable = !!(mp_opt.suboptions &OPTION_MPTCP_MPC_SYN ); opt_mp_join = !!(mp_opt.suboptions &OPTION_MPTCP_MPJ_SYN );if (opt_mp_capable) {SUBFLOW_REQ_INC_STATS (req,MPTCP_MIB_MPCAPABLEPASSIVE );
@@ -254,7 +254,7 @@ int mptcp_subflow_init_cookie_req(struct request_sock *req,subflow_init_req (req, sk_listener);mptcp_get_options (skb, &mp_opt); - opt_mp_capable = !!(mp_opt.suboptions &OPTIONS_MPTCP_MPC ); + opt_mp_capable = !!(mp_opt.suboptions &OPTION_MPTCP_MPC_ACK ); opt_mp_join = !!(mp_opt.suboptions &OPTION_MPTCP_MPJ_ACK );if (opt_mp_capable && opt_mp_join)return -EINVAL ;
@@ -486,7 +486,7 @@ static void subflow_finish_connect(struct sock *sk, const struct sk_buff *skb)mptcp_get_options (skb, &mp_opt);if (subflow->request_mptcp) { -if (!(mp_opt.suboptions &OPTIONS_MPTCP_MPC )) { +if (!(mp_opt.suboptions &OPTION_MPTCP_MPC_SYNACK )) {MPTCP_INC_STATS (sock_net (sk),MPTCP_MIB_MPCAPABLEACTIVEFALLBACK );mptcp_do_fallback (sk);
@@ -783,7 +783,7 @@ static struct sock *subflow_syn_recv_sock(const struct sock *sk,* options. */ mptcp_get_options (skb, &mp_opt); -if (!(mp_opt.suboptions &OPTIONS_MPTCP_MPC )) +if (!(mp_opt.suboptions &OPTION_MPTCP_MPC_ACK )) fallback = true; }else if (subflow_req->mp_join) {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 596/641 block: ensure we hold a queue reference when using queue limits
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jens Axboe <[email protected]>
[ Upstream commit 7b4f36cd22a65b750b4cb6ac14804fb7d6e6c67d ]
q_usage_counter is the only thing preventing us from the limits changing under us in __bio_split_to_limits, but blk_mq_submit_bio doesn't hold it while calling into it.
Move the splitting inside the region where we know we've got a queue reference. Ideally this could still remain a shared section of code, but let's keep the fix simple and defer any refactoring here to later.
--- block/blk-mq.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-)
block/blk-mq.c +10 -6
@@ -2951,12 +2951,6 @@ void blk_mq_submit_bio(struct bio *bio)blk_status_t ret; bio =blk_queue_bounce (bio, q); -if (bio_may_exceed_limits (bio, &q->limits)) { - bio =__bio_split_to_limits (bio, &q->limits, &nr_segs); -if (!bio) -return ; - } -bio_set_ioprio (bio);if (plug) {
@@ -2965,6 +2959,11 @@ void blk_mq_submit_bio(struct bio *bio) rq =NULL ; }if (rq) { +if (unlikely (bio_may_exceed_limits (bio, &q->limits))) { + bio =__bio_split_to_limits (bio, &q->limits, &nr_segs); +if (!bio) +return ; + }if (!bio_integrity_prep (bio))return ;if (blk_mq_attempt_bio_merge (q, bio, nr_segs))
@@ -2975,6 +2974,11 @@ void blk_mq_submit_bio(struct bio *bio) }else {if (unlikely (bio_queue_enter (bio)))return ; +if (unlikely (bio_may_exceed_limits (bio, &q->limits))) { + bio =__bio_split_to_limits (bio, &q->limits, &nr_segs); +if (!bio) + goto fail; + }if (!bio_integrity_prep (bio)) goto fail; }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 597/641 net: stmmac: Fix ethool link settings ops for integrated PCS
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Sneh Shah <[email protected]>
[ Upstream commit 08300adac3b8dab9e2fd3be0155c7d3093c755f4 ]
Currently get/set_link_ksettings ethtool ops are dependent on PCS. When PCS is integrated, it will not have separate link config. Bypass configuring and checking PCS for integrated PCS.
--- drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c +6 -4
@@ -311,8 +311,9 @@ static int stmmac_ethtool_get_link_ksettings(struct net_device *dev, {struct stmmac_priv *priv =netdev_priv (dev); -if (priv->hw->pcs &STMMAC_PCS_RGMII || - priv->hw->pcs &STMMAC_PCS_SGMII ) { +if (!(priv->plat->flags &STMMAC_FLAG_HAS_INTEGRATED_PCS ) && + (priv->hw->pcs &STMMAC_PCS_RGMII || + priv->hw->pcs &STMMAC_PCS_SGMII )) {struct rgmii_adv adv;u32 supported, advertising, lp_advertising;
@@ -397,8 +398,9 @@ stmmac_ethtool_set_link_ksettings(struct net_device *dev, {struct stmmac_priv *priv =netdev_priv (dev); -if (priv->hw->pcs &STMMAC_PCS_RGMII || - priv->hw->pcs &STMMAC_PCS_SGMII ) { +if (!(priv->plat->flags &STMMAC_FLAG_HAS_INTEGRATED_PCS ) && + (priv->hw->pcs &STMMAC_PCS_RGMII || + priv->hw->pcs &STMMAC_PCS_SGMII )) {/* Only support ANE */ if (cmd->base.autoneg !=AUTONEG_ENABLE )return -EINVAL ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 598/641 udp: annotate data-races around up->pending
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Eric Dumazet <[email protected]>
[ Upstream commit 482521d8e0c6520429478aa6866cd44128b33d5d ]
up->pending can be read without holding the socket lock, as pointed out by syzbot [1]
Add READ_ONCE() in lockless contexts, and WRITE_ONCE() on write side.
[1]
BUG: KCSAN: data-race in udpv6_sendmsg / udpv6_sendmsg
write to 0xffff88814e5eadf0 of 4 bytes by task 15547 on cpu 1:
udpv6_sendmsg+0x1405/0x1530 net/ipv6/udp.c:1596 inet6_sendmsg+0x63/0x80 net/ipv6/af_inet6.c:657 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] __sys_sendto+0x257/0x310 net/socket.c:2192 __do_sys_sendto net/socket.c:2204 [inline] __se_sys_sendto net/socket.c:2200 [inline] __x64_sys_sendto+0x78/0x90 net/socket.c:2200 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b
read to 0xffff88814e5eadf0 of 4 bytes by task 15551 on cpu 0:
udpv6_sendmsg+0x22c/0x1530 net/ipv6/udp.c:1373 inet6_sendmsg+0x63/0x80 net/ipv6/af_inet6.c:657 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2586 ___sys_sendmsg net/socket.c:2640 [inline] __sys_sendmmsg+0x269/0x500 net/socket.c:2726 __do_sys_sendmmsg net/socket.c:2755 [inline] __se_sys_sendmmsg net/socket.c:2752 [inline] __x64_sys_sendmmsg+0x57/0x60 net/socket.c:2752 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b
value changed: 0x00000000 -> 0x0000000a
Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 15551 Comm: syz-executor.1 Tainted: G W 6.7.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
--- net/ipv4/udp.c | 12 ++++++------ net/ipv6/udp.c | 16 ++++++++-------- 2 files changed, 14 insertions(+), 14 deletions(-)
net/ipv4/udp.c +6 -6
@@ -805,7 +805,7 @@ void udp_flush_pending_frames(struct sock *sk)if (up->pending) { up->len =0 ; - up->pending =0 ; +WRITE_ONCE (up->pending,0 );ip_flush_pending_frames (sk); } }
@@ -993,7 +993,7 @@ int udp_push_pending_frames(struct sock *sk) out: up->len =0 ; - up->pending =0 ; +WRITE_ONCE (up->pending,0 );return err; }EXPORT_SYMBOL (udp_push_pending_frames);
@@ -1070,7 +1070,7 @@ int udp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) getfrag = is_udplite ? udplite_getfrag : ip_generic_getfrag; fl4 = &inet->cork.fl.u.ip4; -if (up->pending) { +if (READ_ONCE (up->pending)) {/* * There are pending frames. * The socket lock must be held while it's corked.
@@ -1269,7 +1269,7 @@ int udp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) fl4->saddr = saddr; fl4->fl4_dport = dport; fl4->fl4_sport = inet->inet_sport; - up->pending =AF_INET ; +WRITE_ONCE (up->pending,AF_INET ); do_append_data: up->len += ulen;
@@ -1281,7 +1281,7 @@ int udp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)else if (!corkreq) err =udp_push_pending_frames (sk);else if (unlikely (skb_queue_empty (&sk->sk_write_queue))) - up->pending =0 ; +WRITE_ONCE (up->pending,0 );release_sock (sk); out:
@@ -1319,7 +1319,7 @@ void udp_splice_eof(struct socket *sock)struct sock *sk = sock->sk;struct udp_sock *up =udp_sk (sk); -if (!up->pending ||udp_test_bit (CORK , sk)) +if (!READ_ONCE (up->pending) ||udp_test_bit (CORK , sk))return ;lock_sock (sk);
net/ipv6/udp.c +8 -8
@@ -1135,7 +1135,7 @@ static void udp_v6_flush_pending_frames(struct sock *sk)udp_flush_pending_frames (sk); else if (up->pending) { up->len =0 ; - up->pending =0 ; +WRITE_ONCE (up->pending,0 );ip6_flush_pending_frames (sk); } }
@@ -1313,7 +1313,7 @@ static int udp_v6_push_pending_frames(struct sock *sk) &inet_sk(sk)->cork.base); out: up->len =0 ; - up->pending =0 ; +WRITE_ONCE (up->pending,0 );return err; }
@@ -1370,7 +1370,7 @@ int udpv6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)default :return -EINVAL ; } - }else if (!up->pending) { + }else if (!READ_ONCE (up->pending)) {if (sk->sk_state !=TCP_ESTABLISHED )return -EDESTADDRREQ ; daddr = &sk->sk_v6_daddr;
@@ -1401,8 +1401,8 @@ int udpv6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)return -EMSGSIZE ; getfrag = is_udplite ? udplite_getfrag : ip_generic_getfrag; -if (up->pending) { -if (up->pending ==AF_INET ) +if (READ_ONCE (up->pending)) { +if (READ_ONCE (up->pending) ==AF_INET )return udp_sendmsg (sk, msg, len);/* * There are pending frames.
@@ -1593,7 +1593,7 @@ int udpv6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) goto out; } - up->pending =AF_INET6 ; +WRITE_ONCE (up->pending,AF_INET6 ); do_append_data:if (ipc6.dontfrag <0 )
@@ -1607,7 +1607,7 @@ int udpv6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)else if (!corkreq) err =udp_v6_push_pending_frames (sk);else if (unlikely (skb_queue_empty (&sk->sk_write_queue))) - up->pending =0 ; +WRITE_ONCE (up->pending,0 );if (err >0 ) err =inet6_test_bit (RECVERR6 , sk) ?net_xmit_errno (err) :0 ;
@@ -1648,7 +1648,7 @@ static void udpv6_splice_eof(struct socket *sock)struct sock *sk = sock->sk;struct udp_sock *up =udp_sk (sk); -if (!up->pending ||udp_test_bit (CORK , sk)) +if (!READ_ONCE (up->pending) ||udp_test_bit (CORK , sk))return ;lock_sock (sk);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 599/641 erofs: fix inconsistent per-file compression format
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Gao Xiang <[email protected]>
[ Upstream commit 118a8cf504d7dfa519562d000f423ee3ca75d2c4 ]
EROFS can select compression algorithms on a per-file basis, and each per-file compression algorithm needs to be marked in the on-disk superblock for initialization.
However, syzkaller can generate inconsistent crafted images that use an unsupported algorithmtype for specific inodes, e.g. use MicroLZMA algorithmtype even it's not set in sbi->available_compr_algs. This can lead to an unexpected "BUG: kernel NULL pointer dereference" if the corresponding decompressor isn't built-in.
Fix this by checking against sbi->available_compr_algs for each m_algorithmformat request. Incorrect !erofs_sb_has_compr_cfgs preset bitmap is now fixed together since it was harmless previously.
--- fs/erofs/decompressor.c | 2 +- fs/erofs/zmap.c | 23 +++++++++++++---------- 2 files changed, 14 insertions(+), 11 deletions(-)
fs/erofs/decompressor.c +1 -1
@@ -398,7 +398,7 @@ int z_erofs_parse_cfgs(struct super_block *sb, struct erofs_super_block *dsb)int size, ret =0 ;if (!erofs_sb_has_compr_cfgs (sbi)) { - sbi->available_compr_algs =Z_EROFS_COMPRESSION_LZ4 ; + sbi->available_compr_algs =1 <<Z_EROFS_COMPRESSION_LZ4 ;return z_erofs_load_lz4_config (sb, dsb,NULL ,0 ); }
fs/erofs/zmap.c +13 -10
@@ -458,7 +458,7 @@ static int z_erofs_do_map_blocks(struct inode *inode, .map = map, };int err =0 ; -unsigned int lclusterbits, endoff; +unsigned int lclusterbits, endoff, afmt;unsigned long initial_lcn;unsigned long long ofs, end;
@@ -547,17 +547,20 @@ static int z_erofs_do_map_blocks(struct inode *inode, err = -EFSCORRUPTED ; goto unmap_out; } -if (vi->z_advise &Z_EROFS_ADVISE_INTERLACED_PCLUSTER ) - map->m_algorithmformat = -Z_EROFS_COMPRESSION_INTERLACED ; -else - map->m_algorithmformat = -Z_EROFS_COMPRESSION_SHIFTED ; - }else if (m.headtype ==Z_EROFS_LCLUSTER_TYPE_HEAD2 ) { - map->m_algorithmformat = vi->z_algorithmtype[1 ]; + afmt = vi->z_advise &Z_EROFS_ADVISE_INTERLACED_PCLUSTER ? +Z_EROFS_COMPRESSION_INTERLACED : +Z_EROFS_COMPRESSION_SHIFTED ; }else { - map->m_algorithmformat = vi->z_algorithmtype[0 ]; + afmt = m.headtype ==Z_EROFS_LCLUSTER_TYPE_HEAD2 ? + vi->z_algorithmtype[1 ] : vi->z_algorithmtype[0 ]; +if (!(EROFS_I_SB (inode)->available_compr_algs & (1 << afmt))) { +erofs_err (inode->i_sb,"inconsistent algorithmtype %u for nid %llu" , + afmt, vi->nid); + err = -EFSCORRUPTED ; + goto unmap_out; + } } + map->m_algorithmformat = afmt; if ((flags & EROFS_GET_BLOCKS_FIEMAP) || ((flags & EROFS_GET_BLOCKS_READMORE) &&
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 600/641 net: add more sanity check in virtio_net_hdr_to_skb()
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Eric Dumazet <[email protected]>
[ Upstream commit 9181d6f8a2bb32d158de66a84164fac05e3ddd18 ]
syzbot/KMSAN reports access to uninitialized data from gso_features_check() [1]
The repro use af_packet, injecting a gso packet and hdrlen == 0.
We could fix the issue making gso_features_check() more careful while dealing with NETIF_F_TSO_MANGLEID in fast path.
Or we can make sure virtio_net_hdr_to_skb() pulls minimal network and transport headers as intended.
Note that for GSO packets coming from untrusted sources, SKB_GSO_DODGY bit forces a proper header validation (and pull) before the packet can hit any device ndo_start_xmit(), thus we do not need a precise disection at virtio_net_hdr_to_skb() stage.
[1]
BUG: KMSAN: uninit-value in skb_gso_segment include/net/gso.h:83 [inline] BUG: KMSAN: uninit-value in validate_xmit_skb+0x10f2/0x1930 net/core/dev.c:3629 skb_gso_segment include/net/gso.h:83 [inline] validate_xmit_skb+0x10f2/0x1930 net/core/dev.c:3629 __dev_queue_xmit+0x1eac/0x5130 net/core/dev.c:4341 dev_queue_xmit include/linux/netdevice.h:3134 [inline] packet_xmit+0x9c/0x6b0 net/packet/af_packet.c:276 packet_snd net/packet/af_packet.c:3087 [inline] packet_sendmsg+0x8b1d/0x9f30 net/packet/af_packet.c:3119 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmsg net/socket.c:2667 [inline] __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b
Uninit was created at:
slab_post_alloc_hook+0x129/0xa70 mm/slab.h:768 slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x5e9/0xb10 mm/slub.c:3523 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:560 __alloc_skb+0x318/0x740 net/core/skbuff.c:651 alloc_skb include/linux/skbuff.h:1286 [inline] alloc_skb_with_frags+0xc8/0xbd0 net/core/skbuff.c:6334 sock_alloc_send_pskb+0xa80/0xbf0 net/core/sock.c:2780 packet_alloc_skb net/packet/af_packet.c:2936 [inline] packet_snd net/packet/af_packet.c:3030 [inline] packet_sendmsg+0x70e8/0x9f30 net/packet/af_packet.c:3119 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmsg net/socket.c:2667 [inline] __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b CPU: 0 PID: 5025 Comm: syz-executor279 Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
--- include/linux/virtio_net.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
include/linux/virtio_net.h +7 -2
@@ -3,6 +3,8 @@#define _LINUX_VIRTIO_NET_H#include <linux/if_vlan.h> +#include <linux/ip.h> +#include <linux/ipv6.h> #include <linux/udp.h> #include <uapi/linux/tcp.h> #include <uapi/linux/virtio_net.h>
@@ -49,6 +51,7 @@ static inline int virtio_net_hdr_to_skb(struct sk_buff *skb,const struct virtio_net_hdr *hdr, bool little_endian) { + unsigned int nh_min_len = sizeof(struct iphdr);unsigned int gso_type =0 ;unsigned int thlen =0 ;unsigned int p_off =0 ;
@@ -65,6 +68,7 @@ static inline int virtio_net_hdr_to_skb(struct sk_buff *skb, gso_type =SKB_GSO_TCPV6 ; ip_proto =IPPROTO_TCP ; thlen =sizeof (struct tcphdr ); + nh_min_len =sizeof (struct ipv6hdr );break ;case VIRTIO_NET_HDR_GSO_UDP : gso_type =SKB_GSO_UDP ;
@@ -100,7 +104,8 @@ static inline int virtio_net_hdr_to_skb(struct sk_buff *skb,if (!skb_partial_csum_set (skb, start, off))return -EINVAL ; - p_off =skb_transport_offset (skb) + thlen; + nh_min_len =max_t (u32, nh_min_len,skb_transport_offset (skb)); + p_off = nh_min_len + thlen;if (!pskb_may_pull (skb, p_off))return -EINVAL ; }else {
@@ -140,7 +145,7 @@ static inline int virtio_net_hdr_to_skb(struct sk_buff *skb,skb_set_transport_header (skb, keys.control.thoff); }else if (gso_type) { - p_off = thlen; + p_off = nh_min_len + thlen;if (!pskb_may_pull (skb, p_off))return -EINVAL ; }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 601/641 net: netdev_queue: netdev_txq_completed_mb(): fix wake condition
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Marc Kleine-Budde <[email protected]>
[ Upstream commit 894d7508316e7ad722df597d68b4b1797a9eee11 ]
netif_txq_try_stop() uses "get_desc >= start_thrs" as the check for the call to netif_tx_start_queue().
Use ">=" i netdev_txq_completed_mb(), too.
--- include/net/netdev_queues.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/netdev_queues.h +1 -1
@@ -128,7 +128,7 @@ netdev_txq_completed_mb(struct netdev_queue *dev_queue,netdev_txq_completed_mb (txq, pkts, bytes); \ \ _res =-1 ; \ -if (pkts &&likely (get_desc > start_thrs)) { \ +if (pkts &&likely (get_desc >= start_thrs)) { \ _res =1 ; \if (unlikely (netif_tx_queue_stopped (txq)) && \ !(down_cond)) { \
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 602/641 bpf: iter_udp: Retry with a larger batch size without going back to the previous bucket
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Martin KaFai Lau <[email protected]>
[ Upstream commit 19ca0823f6eaad01d18f664a00550abe912c034c ]
The current logic is to use a default size 16 to batch the whole bucket. If it is too small, it will retry with a larger batch size.
The current code accidentally does a state->bucket-- before retrying. This goes back to retry with the previous bucket which has already been done. This patch fixed it.
It is hard to create a selftest. I added a WARN_ON(state->bucket < 0), forced a particular port to be hashed to the first bucket, created >16 sockets, and observed the for-loop went back
to the "-1" bucket.
--- net/ipv4/udp.c | 1 - 1 file changed, 1 deletion(-)
net/ipv4/udp.c +0 -1
@@ -3213,7 +3213,6 @@ static struct sock *bpf_iter_udp_batch(struct seq_file *seq)/* After allocating a larger batch, retry one more time to grab * the whole bucket. */ - state->bucket--; goto again; } done:
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 603/641 bpf: Avoid iter->offset making backward progress in bpf_iter_udp
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Martin KaFai Lau <[email protected]>
[ Upstream commit 2242fd537fab52d5f4d2fbb1845f047c01fad0cf ]
There is a bug in the bpf_iter_udp_batch() function that stops the userspace from making forward progress.
The case that triggers the bug is the userspace passed in a very small read buffer. When the bpf prog does bpf_seq_printf, the userspace read buffer is not enough to capture the whole bucket.
When the read buffer is not large enough, the kernel will remember the offset of the bucket in iter->offset such that the next userspace read() can continue from where it left off.
The kernel will skip the number (== "iter->offset") of sockets in the next read(). However, the code directly decrements the "--iter->offset". This is incorrect because the next read() may not consume the whole bucket either and then the next-next read() will start from offset 0. The net effect is the userspace will keep reading from the beginning of a bucket and the process will never finish. "iter->offset" must always go forward until the whole bucket is consumed.
This patch fixes it by using a local variable "resume_offset" and "resume_bucket". "iter->offset" is always reset to 0 before it may be used. "iter->offset" will be advanced to the "resume_offset" when it continues from the "resume_bucket" (i.e. "state->bucket == resume_bucket"). This brings it closer to the bpf_iter_tcp's offset handling which does not suffer the same bug.
--- net/ipv4/udp.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-)
net/ipv4/udp.c +10 -11
@@ -3137,16 +3137,18 @@ static struct sock *bpf_iter_udp_batch(struct seq_file *seq)struct bpf_udp_iter_state *iter = seq->private;struct udp_iter_state *state = &iter->state;struct net *net =seq_file_net (seq); +int resume_bucket, resume_offset;struct udp_table *udptable;unsigned int batch_sks =0 ;bool resized = false;struct sock *sk; + resume_bucket = state->bucket; + resume_offset = iter->offset; +/* The current batch is done, so advance the bucket. */ -if (iter->st_bucket_done) { +if (iter->st_bucket_done) state->bucket++; - iter->offset =0 ; - } udptable =udp_get_table_seq (seq, net);
@@ -3166,19 +3168,19 @@ static struct sock *bpf_iter_udp_batch(struct seq_file *seq)for (; state->bucket <= udptable->mask; state->bucket++) {struct udp_hslot *hslot2 = &udptable->hash2[state->bucket]; -if (hlist_empty (&hslot2->head)) { - iter->offset =0 ; +if (hlist_empty (&hslot2->head))continue ; - } + iter->offset =0 ;spin_lock_bh (&hslot2->lock);udp_portaddr_for_each_entry (sk, &hslot2->head) {if (seq_sk_match (seq, sk)) {/* Resume from the last iterated socket at the * offset in the bucket before iterator was stopped. */ -if (iter->offset) { - --iter->offset; +if (state->bucket == resume_bucket && + iter->offset < resume_offset) { + ++iter->offset;continue ; }if (iter->end_sk < iter->max_sk) {
@@ -3192,9 +3194,6 @@ static struct sock *bpf_iter_udp_batch(struct seq_file *seq)if (iter->end_sk)break ; - -/* Reset the current bucket's offset before moving to the next bucket. */ - iter->offset =0 ; }/* All done: no batch made. */
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 604/641 net: tls, fix WARNIING in __sk_msg_free
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: John Fastabend <[email protected]>
[ Upstream commit dc9dfc8dc629e42f2234e3327b75324ffc752bc9 ]
A splice with MSG_SPLICE_PAGES will cause tls code to use the tls_sw_sendmsg_splice path in the TLS sendmsg code to move the user provided pages from the msg into the msg_pl. This will loop over the msg until msg_pl is full, checked by sk_msg_full(msg_pl). The user can also set the MORE flag to hint stack to delay sending until receiving more pages and ideally a full buffer.
If the user adds more pages to the msg than can fit in the msg_pl scatterlist (MAX_MSG_FRAGS) we should ignore the MORE flag and send the buffer anyways.
What actually happens though is we abort the msg to msg_pl scatterlist setup and then because we forget to set 'full record' indicating we can no longer consume data without a send we fallthrough to the 'continue' path which will check if msg_data_left(msg) has more bytes to send and then attempts to fit them in the already full msg_pl. Then next iteration of sender doing send will encounter a full msg_pl and throw the warning in the syzbot report.
To fix simply check if we have a full_record in splice code path and if not send the msg regardless of MORE flag.
--- net/tls/tls_sw.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
net/tls/tls_sw.c +5 -1
@@ -1052,7 +1052,11 @@ static int tls_sw_sendmsg_locked(struct sock *sk, struct msghdr *msg,if (ret <0 ) goto send_end; tls_ctx->pending_open_record_frags = true; -if (full_record || eor ||sk_msg_full (msg_pl)) + +if (sk_msg_full (msg_pl)) + full_record = true; + +if (full_record || eor) goto copied;continue ; }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 605/641 net: ravb: Fix dma_addr_t truncation in error case
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Nikita Yushchenko <[email protected]>
[ Upstream commit e327b2372bc0f18c30433ac40be07741b59231c5 ]
In ravb_start_xmit(), ravb driver uses u32 variable to store result of dma_map_single() call. Since ravb hardware has 32-bit address fields in descriptors, this works properly when mapping is successful - it is platform's job to provide mapping addresses that fit into hardware limitations.
However, in failure case dma_map_single() returns DMA_MAPPING_ERROR constant that is 64-bit when dma_addr_t is 64-bit. Storing this constant in u32 leads to truncation, and further call to dma_mapping_error() fails to notice the error.
Fix that by storing result of dma_map_single() in a dma_addr_t variable.
--- drivers/net/ethernet/renesas/ravb_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/renesas/ravb_main.c +1 -1
@@ -1949,7 +1949,7 @@ static netdev_tx_t ravb_start_xmit(struct sk_buff *skb, struct net_device *ndev)struct ravb_tstamp_skb *ts_skb;struct ravb_tx_desc *desc;unsigned long flags; -u32 dma_addr; +dma_addr_t dma_addr;void *buffer;u32 entry;u32 len;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 606/641 dt-bindings: gpio: xilinx: Fix node address in gpio
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Michal Simek <[email protected]>
[ Upstream commit 314c020c4ed3de72b15603eb6892250bc4b51702 ]
Node address doesn't match reg property which is not correct.
--- Documentation/devicetree/bindings/gpio/xlnx,gpio-xilinx.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/gpio/xlnx,gpio-xilinx.yaml +1 -1
@@ -126,7 +126,7 @@ examples: - | #include <dt-bindings/interrupt-controller/arm-gic.h> - gpio@e000a000 { + gpio@a0020000 { compatible = "xlnx,xps-gpio-1.00.a"; reg = <0xa0020000 0x10000>; #gpio-cells = <2>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 607/641 gpio: mlxbf3: add an error code check in mlxbf3_gpio_probe
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Su Hui <[email protected]>
[ Upstream commit d460e9c2075164e9b1fa9c4c95f8c05517bd8752 ]
Clang static checker warning: Value stored to 'ret' is never read. bgpio_init() returns error code if failed, it's better to add this check.
--- drivers/gpio/gpio-mlxbf3.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpio/gpio-mlxbf3.c +2 -0
@@ -215,6 +215,8 @@ static int mlxbf3_gpio_probe(struct platform_device *pdev) gs->gpio_clr_io +MLXBF_GPIO_FW_DATA_OUT_CLEAR , gs->gpio_set_io +MLXBF_GPIO_FW_OUTPUT_ENABLE_SET , gs->gpio_clr_io + MLXBF_GPIO_FW_OUTPUT_ENABLE_CLEAR, 0); +if (ret) +return dev_err_probe (dev, ret,"%s: bgpio_init() failed" , __func__); gc->request = gpiochip_generic_request; gc->free = gpiochip_generic_free;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 608/641 ASoC: SOF: ipc4-loader: remove the CPC check warnings
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Kai Vehmanen <[email protected]>
[ Upstream commit ab09fb9c629ed3aaea6a82467f08595dbc549726 ]
Warnings related to missing data in firmware manifest have proven to be too verbose. This relates to description of DSP module cost expressed in cycles per chunk (CPC). If a matching value is not found in the manifest, kernel will pass a zero value and DSP firmware will use a conservative value in its place.
Downgrade the warnings to dev_dbg().
--- sound/soc/sof/ipc4-loader.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-)
sound/soc/sof/ipc4-loader.c +4 -7
@@ -479,13 +479,10 @@ void sof_ipc4_update_cpc_from_manifest(struct snd_sof_dev *sdev, msg ="No CPC match in the firmware file's manifest" ; no_cpc: -dev_warn (sdev->dev,"%s (UUID: %pUL): %s (ibs/obs: %u/%u)\n" , - fw_module->man4_module_entry.name, - &fw_module->man4_module_entry.uuid, msg, basecfg->ibs, - basecfg->obs); -dev_warn_once (sdev->dev,"Please try to update the firmware.\n" ); -dev_warn_once (sdev->dev,"If the issue persists, file a bug at\n" ); -dev_warn_once (sdev->dev,"https://github.com/thesofproject/sof/issues/\n" ); +dev_dbg (sdev->dev,"%s (UUID: %pUL): %s (ibs/obs: %u/%u)\n" , + fw_module->man4_module_entry.name, + &fw_module->man4_module_entry.uuid, msg, basecfg->ibs, + basecfg->obs); }const struct sof_ipc_fw_loader_ops ipc4_loader_ops = {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 609/641 gpiolib: Fix scope-based gpio_device refcounting
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Lukas Wunner <[email protected]>
[ Upstream commit 832b371097eb928d077c827b8f117bf5b99d35c0 ]
Commit 9e4555d1e54a ("gpiolib: add support for scope-based management to gpio_device") sought to add scope-based gpio_device refcounting, but erroneously forgot a negation of IS_ERR_OR_NULL().
As a result, gpio_device_put() is not called if the gpio_device pointer is valid (meaning the ref is leaked), but only called if the pointer is NULL or an ERR_PTR().
While at it drop a superfluous trailing semicolon.
--- include/linux/gpio/driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/gpio/driver.h +1 -1
@@ -614,7 +614,7 @@ struct gpio_device *gpio_device_get(struct gpio_device *gdev);void gpio_device_put (struct gpio_device *gdev); DEFINE_FREE(gpio_device_put, struct gpio_device *, - if (IS_ERR_OR_NULL(_T)) gpio_device_put(_T)); + if (!IS_ERR_OR_NULL(_T)) gpio_device_put(_T))struct device *gpio_device_to_device (struct gpio_device *gdev);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 610/641 drm/amdkfd: fixes for HMM mem allocation
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dafna Hirschfeld <[email protected]>
[ Upstream commit 02eed83abc1395a1207591aafad9bcfc5cb1abcb ]
Fix err return value and reset pgmap->type after checking it.
--- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c +3 -3
@@ -1021,7 +1021,7 @@ int kgd2kfd_init_zone_device(struct amdgpu_device *adev) }else { res =devm_request_free_mem_region (adev->dev, &iomem_resource, size);if (IS_ERR (res)) -return -ENOMEM ; +return PTR_ERR (res); pgmap->range.start = res->start; pgmap->range.end = res->end; pgmap->type =MEMORY_DEVICE_PRIVATE ;
@@ -1037,10 +1037,10 @@ int kgd2kfd_init_zone_device(struct amdgpu_device *adev) r =devm_memremap_pages (adev->dev, pgmap);if (IS_ERR (r)) {pr_err ("failed to register HMM device memory\n" ); -/* Disable SVM support capability */ - pgmap->type =0 ;if (pgmap->type ==MEMORY_DEVICE_PRIVATE )devm_release_mem_region (adev->dev, res->start,resource_size (res)); +/* Disable SVM support capability */ + pgmap->type =0 ;return PTR_ERR (r); }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 611/641 drm/amdgpu: fall back to INPUT power for AVG power via INFO IOCTL
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Alex Deucher <[email protected]>
[ Upstream commit d02069850fc102b07ae923535d5e212f2c8a34e9 ]
For backwards compatibility with userspace.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +6 -1
@@ -1105,7 +1105,12 @@ int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)if (amdgpu_dpm_read_sensor (adev,AMDGPU_PP_SENSOR_GPU_AVG_POWER , (void *)&ui32, &ui32_size)) { -return -EINVAL ; +/* fall back to input power for backwards compat */ +if (amdgpu_dpm_read_sensor (adev, +AMDGPU_PP_SENSOR_GPU_INPUT_POWER , + (void *)&ui32, &ui32_size)) { +return -EINVAL ; + } } ui32 >>=8 ;break ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 612/641 selftests: bonding: Change script interpreter
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Benjamin Poirier <[email protected]>
[ Upstream commit c2518da8e6b0e248cfff1d4b6682e14020bd4d3f ]
The tests changed by this patch, as well as the scripts they source, use features which are not part of POSIX sh (ex. 'source' and 'local'). As a result, these tests fail when /bin/sh is dash such as on Debian. Change the interpreter to bash so that these tests can run successfully.
--- .../selftests/drivers/net/bonding/mode-1-recovery-updelay.sh | 2 +- .../selftests/drivers/net/bonding/mode-2-recovery-updelay.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/drivers/net/bonding/mode-1-recovery-updelay.sh +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # SPDX-License-Identifier: GPL-2.0 # Regression Test:
tools/testing/selftests/drivers/net/bonding/mode-2-recovery-updelay.sh +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # SPDX-License-Identifier: GPL-2.0 # Regression Test:
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 613/641 net: stmmac: ethtool: Fixed calltrace caused by unbalanced disable_irq_wake calls
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Qiang Ma <[email protected]>
[ Upstream commit a23aa04042187cbde16f470b49d4ad60d32e9206 ]
We found the following dmesg calltrace when testing the GMAC NIC notebook:
[9.448656] ------------[ cut here ]------------ [9.448658] Unbalanced IRQ 43 wake disable [9.448673] WARNING: CPU: 3 PID: 1083 at kernel/irq/manage.c:688 irq_set_irq_wake+0xe0/0x128 [9.448717] CPU: 3 PID: 1083 Comm: ethtool Tainted: G O 4.19 #1 [9.448773] ... [9.448774] Call Trace: [9.448781] [<9000000000209b5c>] show_stack+0x34/0x140 [9.448788] [<9000000000d52700>] dump_stack+0x98/0xd0 [9.448794] [<9000000000228610>] __warn+0xa8/0x120 [9.448797] [<9000000000d2fb60>] report_bug+0x98/0x130 [9.448800] [<900000000020a418>] do_bp+0x248/0x2f0 [9.448805] [<90000000002035f4>] handle_bp_int+0x4c/0x78 [9.448808] [<900000000029ea40>] irq_set_irq_wake+0xe0/0x128 [9.448813] [<9000000000a96a7c>] stmmac_set_wol+0x134/0x150 [9.448819] [<9000000000be6ed0>] dev_ethtool+0x1368/0x2440 [9.448824] [<9000000000c08350>] dev_ioctl+0x1f8/0x3e0 [9.448827] [<9000000000bb2a34>] sock_ioctl+0x2a4/0x450 [9.448832] [<900000000046f044>] do_vfs_ioctl+0xa4/0x738 [9.448834] [<900000000046f778>] ksys_ioctl+0xa0/0xe8 [9.448837] [<900000000046f7d8>] sys_ioctl+0x18/0x28 [9.448840] [<9000000000211ab4>] syscall_common+0x20/0x34 [9.448842] ---[ end trace 40c18d9aec863c3e ]---
Multiple disable_irq_wake() calls will keep decreasing the IRQ wake_depth, When wake_depth is 0, calling disable_irq_wake() again, will report the above calltrace.
Due to the need to appear in pairs, we cannot call disable_irq_wake() without calling enable_irq_wake(). Fix this by making sure there are no unbalanced disable_irq_wake() calls.
--- drivers/net/ethernet/stmicro/stmmac/stmmac.h | 1 + drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 10 ++++++++-- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 + 3 files changed, 10 insertions(+), 2 deletions(-)
drivers/net/ethernet/stmicro/stmmac/stmmac.h +1 -0
@@ -255,6 +255,7 @@ struct stmmac_priv {u32 msg_enable;int wolopts;int wol_irq; +bool wol_irq_disabled;int clk_csr;struct timer_list eee_ctrl_timer;int lpi_irq;
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c +8 -2
@@ -822,10 +822,16 @@ static int stmmac_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol)if (wol->wolopts) {pr_info ("stmmac: wakeup enable\n" );device_set_wakeup_enable (priv->device,1 ); -enable_irq_wake (priv->wol_irq); +/* Avoid unbalanced enable_irq_wake calls */ +if (priv->wol_irq_disabled) +enable_irq_wake (priv->wol_irq); + priv->wol_irq_disabled = false; }else {device_set_wakeup_enable (priv->device,0 ); -disable_irq_wake (priv->wol_irq); +/* Avoid unbalanced disable_irq_wake calls */ +if (!priv->wol_irq_disabled) +disable_irq_wake (priv->wol_irq); + priv->wol_irq_disabled = true; }mutex_lock (&priv->lock);
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +1 -0
@@ -3565,6 +3565,7 @@ static int stmmac_request_irq_multi_msi(struct net_device *dev)/* Request the Wake IRQ in case of another line * is used for WoL */ + priv->wol_irq_disabled = true;if (priv->wol_irq >0 && priv->wol_irq != dev->irq) { int_name = priv->int_name_wol;sprintf (int_name,"%s:%s" , dev->name,"wol" );
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 614/641 bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Hao Sun <[email protected]>
[ Upstream commit 22c7fa171a02d310e3a3f6ed46a698ca8a0060ed ]
For PTR_TO_FLOW_KEYS, check_flow_keys_access() only uses fixed off for validation. However, variable offset ptr alu is not prohibited for this ptr kind. So the variable offset is not checked.
The following prog is accepted:
func#0 @0
0: R1=ctx() R10=fp0
0: (bf) r6 = r1 ; R1=ctx() R6_w=ctx() 1: (79) r7 = *(u64 *)(r6 +144) ; R6_w=ctx() R7_w=flow_keys() 2: (b7) r8 = 1024 ; R8_w=1024 3: (37) r8 /= 1 ; R8_w=scalar() 4: (57) r8 &= 1024 ; R8_w=scalar(smin=smin32=0,
smax=umax=smax32=umax32=1024,var_off=(0x0; 0x400))
5: (0f) r7 += r8
mark_precise: frame0: last_idx 5 first_idx 0 subseq_idx -1
mark_precise: frame0: regs=r8 stack= before 4: (57) r8 &= 1024
mark_precise: frame0: regs=r8 stack= before 3: (37) r8 /= 1
mark_precise: frame0: regs=r8 stack= before 2: (b7) r8 = 1024 6: R7_w=flow_keys(smin=smin32=0,smax=umax=smax32=umax32=1024,var_off =(0x0; 0x400)) R8_w=scalar(smin=smin32=0,smax=umax=smax32=umax32=1024, var_off=(0x0; 0x400))
6: (79) r0 = *(u64 *)(r7 +0) ; R0_w=scalar()
7: (95) exit
This prog loads flow_keys to r7, and adds the variable offset r8 to r7, and finally causes out-of-bounds access:
BUG: unable to handle page fault for address: ffffc90014c80038 [...] Call Trace: <TASK> bpf_dispatcher_nop_func include/linux/bpf.h:1231 [inline] __bpf_prog_run include/linux/filter.h:651 [inline] bpf_prog_run include/linux/filter.h:658 [inline] bpf_prog_run_pin_on_cpu include/linux/filter.h:675 [inline] bpf_flow_dissect+0x15f/0x350 net/core/flow_dissector.c:991 bpf_prog_test_run_flow_dissector+0x39d/0x620 net/bpf/test_run.c:1359 bpf_prog_test_run kernel/bpf/syscall.c:4107 [inline] __sys_bpf+0xf8f/0x4560 kernel/bpf/syscall.c:5475 __do_sys_bpf kernel/bpf/syscall.c:5561 [inline] __se_sys_bpf kernel/bpf/syscall.c:5559 [inline] __x64_sys_bpf+0x73/0xb0 kernel/bpf/syscall.c:5559 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b
Fix this by rejecting ptr alu with variable offset on flow_keys. Applying the patch rejects the program with "R7 pointer arithmetic on flow_keys prohibited".
--- kernel/bpf/verifier.c | 4 ++++ 1 file changed, 4 insertions(+)
kernel/bpf/verifier.c +4 -0
@@ -12854,6 +12854,10 @@ static int adjust_ptr_min_max_vals(struct bpf_verifier_env *env, }switch (base_type (ptr_reg->type)) { +case PTR_TO_FLOW_KEYS : +if (known) +break ; + fallthrough;case CONST_PTR_TO_MAP :/* smin_val represents the known value */ if (known && smin_val ==0 && opcode ==BPF_ADD )
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 615/641 net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Kunwu Chan <[email protected]>
[ Upstream commit 776dac5a662774f07a876b650ba578d0a62d20db ]
devm_kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure.
--- drivers/net/dsa/vitesse-vsc73xx-core.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/dsa/vitesse-vsc73xx-core.c +2 -0
@@ -1135,6 +1135,8 @@ static int vsc73xx_gpio_probe(struct vsc73xx *vsc) vsc->gc.label =devm_kasprintf (vsc->dev,GFP_KERNEL ,"VSC%04x" , vsc->chipid); +if (!vsc->gc.label) +return -ENOMEM ; vsc->gc.ngpio =4 ; vsc->gc.owner =THIS_MODULE ; vsc->gc.parent = vsc->dev;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 616/641 LoongArch: BPF: Prevent out-of-bounds memory access
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Hengqi Chen <[email protected]>
[ Upstream commit 36a87385e31c9343af9a4756598e704741250a67 ]
The test_tag test triggers an unhandled page fault:
# ./test_tag [ 130.640218] CPU 0 Unable to handle kernel paging request at virtual address ffff80001b898004, era == 9000000003137f7c, ra == 9000000003139e70 [ 130.640501] Oops[#3]: [ 130.640553] CPU: 0 PID: 1326 Comm: test_tag Tainted: G D O 6.7.0-rc4-loong-devel-gb62ab1a397cf #47 61985c1d94084daa2432f771daa45b56b10d8d2a [ 130.640764] Hardware name: QEMU QEMU Virtual Machine, BIOS unknown 2/2/2022 [ 130.640874] pc 9000000003137f7c ra 9000000003139e70 tp 9000000104cb4000 sp 9000000104cb7a40 [ 130.641001] a0 ffff80001b894000 a1 ffff80001b897ff8 a2 000000006ba210be a3 0000000000000000 [ 130.641128] a4 000000006ba210be a5 00000000000000f1 a6 00000000000000b3 a7 0000000000000000 [ 130.641256] t0 0000000000000000 t1 00000000000007f6 t2 0000000000000000 t3 9000000004091b70 [ 130.641387] t4 000000006ba210be t5 0000000000000004 t6 fffffffffffffff0 t7 90000000040913e0 [ 130.641512] t8 0000000000000005 u0 0000000000000dc0 s9 0000000000000009 s0 9000000104cb7ae0 [ 130.641641] s1 00000000000007f6 s2 0000000000000009 s3 0000000000000095 s4 0000000000000000 [ 130.641771] s5 ffff80001b894000 s6 ffff80001b897fb0 s7 9000000004090c50 s8 0000000000000000 [ 130.641900] ra: 9000000003139e70 build_body+0x1fcc/0x4988 [ 130.642007] ERA: 9000000003137f7c build_body+0xd8/0x4988 [ 130.642112] CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE) [ 130.642261] PRMD: 00000004 (PPLV0 +PIE -PWE) [ 130.642353] EUEN: 00000003 (+FPE +SXE -ASXE -BTE) [ 130.642458] ECFG: 00071c1c (LIE=2-4,10-12 VS=7) [ 130.642554] ESTAT: 00010000 [PIL] (IS= ECode=1 EsubCode=0) [ 130.642658] BADV: ffff80001b898004 [ 130.642719] PRID: 0014c010 (Loongson-64bit, Loongson-3A5000) [ 130.642815] Modules linked in: [last unloaded: bpf_testmod(O)] [ 130.642924] Process test_tag (pid: 1326, threadinfo=00000000f7f4015f, task=000000006499f9fd) [ 130.643062] Stack : 0000000000000000 9000000003380724 0000000000000000 0000000104cb7be8 [ 130.643213] 0000000000000000 25af8d9b6e600558 9000000106250ea0 9000000104cb7ae0 [ 130.643378] 0000000000000000 0000000000000000 9000000104cb7be8 90000000049f6000 [ 130.643538] 0000000000000090 9000000106250ea0 ffff80001b894000 ffff80001b894000 [ 130.643685] 00007ffffb917790 900000000313ca94 0000000000000000 0000000000000000 [ 130.643831] ffff80001b894000 0000000000000ff7 0000000000000000 9000000100468000 [ 130.643983] 0000000000000000 0000000000000000 0000000000000040 25af8d9b6e600558 [ 130.644131] 0000000000000bb7 ffff80001b894048 0000000000000000 0000000000000000 [ 130.644276] 9000000104cb7be8 90000000049f6000 0000000000000090 9000000104cb7bdc [ 130.644423] ffff80001b894000 0000000000000000 00007ffffb917790 90000000032acfb0 [ 130.644572] ... [ 130.644629] Call Trace: [ 130.644641] [<9000000003137f7c>] build_body+0xd8/0x4988 [ 130.644785] [<900000000313ca94>] bpf_int_jit_compile+0x228/0x4ec [ 130.644891] [<90000000032acfb0>] bpf_prog_select_runtime+0x158/0x1b0 [ 130.645003] [<90000000032b3504>] bpf_prog_load+0x760/0xb44 [ 130.645089] [<90000000032b6744>] __sys_bpf+0xbb8/0x2588 [ 130.645175] [<90000000032b8388>] sys_bpf+0x20/0x2c [ 130.645259] [<9000000003f6ab38>] do_syscall+0x7c/0x94 [ 130.645369] [<9000000003121c5c>] handle_syscall+0xbc/0x158 [ 130.645507] [ 130.645539] Code: 380839f6 380831f9 28412bae <24000ca6> 004081ad 0014cb50 004083e8 02bff34c 58008e91 [ 130.645729] [ 130.646418] ---[ end trace 0000000000000000 ]---
On my machine, which has CONFIG_PAGE_SIZE_16KB=y, the test failed at loading a BPF prog with 2039 instructions:
prog = (struct bpf_prog *)ffff80001b894000
insn = (struct bpf_insn *)(prog->insnsi)ffff80001b894048 insn + 2039 = (struct bpf_insn *)ffff80001b898000 <- end of the page
In the build_insn() function, we are trying to access next instruction unconditionally, i.e. (insn + 1)->imm. The address lies in the next page and can be not owned by the current process, thus an page fault is inevitable and then segfault.
So, let's access next instruction only under dst = imm64 context.
With this fix, we have:
# ./test_tag test_tag: OK (40945 tests)
--- arch/loongarch/net/bpf_jit.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
arch/loongarch/net/bpf_jit.c +4 -1
@@ -465,7 +465,6 @@ static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx, bool extconst u8 dst = regmap[insn->dst_reg];const s16 off = insn->off;const s32 imm = insn->imm; -const u64 imm64 = (u64)(insn +1 )->imm <<32 | (u32 )insn->imm;const bool is32 =BPF_CLASS (insn->code) ==BPF_ALU ||BPF_CLASS (insn->code) ==BPF_JMP32 ;switch (code) {
@@ -923,8 +922,12 @@ static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx, bool ext/* dst = imm64 */ case BPF_LD |BPF_IMM |BPF_DW : + { +const u64 imm64 = (u64)(insn +1 )->imm <<32 | (u32 )insn->imm; +move_imm (ctx, dst, imm64, is32);return 1 ; + }/* dst = *(size *)(src + off) */ case BPF_LDX |BPF_MEM |BPF_B :
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 617/641 mptcp: relax check on MPC passive fallback
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Paolo Abeni <[email protected]>
[ Upstream commit c0f5aec28edf98906d28f08daace6522adf9ee7a ]
While testing the blamed commit below, I was able to miss (!) packetdrill failures in the fastopen test-cases.
On passive fastopen the child socket is created by incoming TCP MPC syn, allow for both MPC_SYN and MPC_ACK header.
--- net/mptcp/subflow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
net/mptcp/subflow.c +2 -1
@@ -783,7 +783,8 @@ static struct sock *subflow_syn_recv_sock(const struct sock *sk,* options. */ mptcp_get_options (skb, &mp_opt); -if (!(mp_opt.suboptions &OPTION_MPTCP_MPC_ACK )) +if (!(mp_opt.suboptions & + (OPTION_MPTCP_MPC_SYN |OPTION_MPTCP_MPC_ACK ))) fallback = true; }else if (subflow_req->mp_join) {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 618/641 net: netdevsim: dont try to destroy PHC on VFs
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jakub Kicinski <[email protected]>
[ Upstream commit ea937f77208323d35ffe2f8d8fc81b00118bfcda ]
PHC gets initialized in nsim_init_netdevsim(), which is only called if (nsim_dev_port_is_pf()).
Create a counterpart of nsim_init_netdevsim() and move the mock_phc_destroy() there.
This fixes a crash trying to destroy netdevsim with VFs instantiated, as caught by running the devlink.sh test:
BUG: kernel NULL pointer dereference, address: 00000000000000b8
RIP: 0010:mock_phc_destroy+0xd/0x30
Call Trace:
<TASK>
nsim_destroy+0x4a/0x70 [netdevsim]
__nsim_dev_port_del+0x47/0x70 [netdevsim]
nsim_dev_reload_destroy+0x105/0x120 [netdevsim]
nsim_drv_remove+0x2f/0xb0 [netdevsim]
device_release_driver_internal+0x1a1/0x210
bus_remove_device+0xd5/0x120
device_del+0x159/0x490
device_unregister+0x12/0x30
del_device_store+0x11a/0x1a0 [netdevsim]
kernfs_fop_write_iter+0x130/0x1d0
vfs_write+0x30b/0x4b0
ksys_write+0x69/0xf0
do_syscall_64+0xcc/0x1e0
entry_SYSCALL_64_after_hwframe+0x6f/0x77--- drivers/net/netdevsim/netdev.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
drivers/net/netdevsim/netdev.c +7 -2
@@ -369,6 +369,12 @@ static int nsim_init_netdevsim_vf(struct netdevsim *ns)return err; } +static void nsim_exit_netdevsim (struct netdevsim *ns) +{ +nsim_udp_tunnels_info_destroy (ns->netdev); +mock_phc_destroy (ns->phc); +} +struct netdevsim *nsim_create (struct nsim_dev *nsim_dev,struct nsim_dev_port *nsim_dev_port) {
@@ -417,8 +423,7 @@ void nsim_destroy(struct netdevsim *ns) }rtnl_unlock ();if (nsim_dev_port_is_pf (ns->nsim_dev_port)) -nsim_udp_tunnels_info_destroy (dev); -mock_phc_destroy (ns->phc); +nsim_exit_netdevsim (ns);free_netdev (dev); }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 619/641 netfilter: nf_tables: reject invalid set policy
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Pablo Neira Ayuso <[email protected]>
[ Upstream commit 0617c3de9b4026b87be12b0cb5c35f42c7c66fcb ]
Report -EINVAL in case userspace provides a unsupported set backend policy.
--- net/netfilter/nf_tables_api.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
net/netfilter/nf_tables_api.c +9 -1
@@ -5048,8 +5048,16 @@ static int nf_tables_newset(struct sk_buff *skb, const struct nfnl_info *info, } desc.policy =NFT_SET_POL_PERFORMANCE ; -if (nla[NFTA_SET_POLICY ] !=NULL ) +if (nla[NFTA_SET_POLICY ] !=NULL ) { desc.policy =ntohl (nla_get_be32 (nla[NFTA_SET_POLICY ])); +switch (desc.policy) { +case NFT_SET_POL_PERFORMANCE : +case NFT_SET_POL_MEMORY : +break ; +default : +return -EOPNOTSUPP ; + } + }if (nla[NFTA_SET_DESC ] !=NULL ) { err =nf_tables_set_desc_parse (&desc, nla[NFTA_SET_DESC ]);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 620/641 netfilter: nft_limit: do not ignore unsupported flags
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Pablo Neira Ayuso <[email protected]>
[ Upstream commit 91a139cee1202a4599a380810d93c69b5bac6197 ]
Bail out if userspace provides unsupported flags, otherwise future extensions to the limit expression will be silently ignored by the kernel.
--- net/netfilter/nft_limit.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-)
net/netfilter/nft_limit.c +12 -7
@@ -58,6 +58,7 @@ static inline bool nft_limit_eval(struct nft_limit_priv *priv, u64 cost)static int nft_limit_init (struct nft_limit_priv *priv,const struct nlattr *const tb[],bool pkts) { +bool invert = false;u64 unit, tokens; if (tb[NFTA_LIMIT_RATE] == NULL ||
@@ -90,19 +91,23 @@ static int nft_limit_init(struct nft_limit_priv *priv, priv->rate); } +if (tb[NFTA_LIMIT_FLAGS ]) { +u32 flags =ntohl (nla_get_be32 (tb[NFTA_LIMIT_FLAGS ])); + +if (flags & ~NFT_LIMIT_F_INV ) +return -EOPNOTSUPP ; + +if (flags &NFT_LIMIT_F_INV ) + invert = true; + } + priv->limit =kmalloc (sizeof (*priv->limit),GFP_KERNEL_ACCOUNT );if (!priv->limit)return -ENOMEM ; priv->limit->tokens = tokens; priv->tokens_max = priv->limit->tokens; - -if (tb[NFTA_LIMIT_FLAGS ]) { -u32 flags =ntohl (nla_get_be32 (tb[NFTA_LIMIT_FLAGS ])); - -if (flags &NFT_LIMIT_F_INV ) - priv->invert = true; - } + priv->invert = invert; priv->limit->last =ktime_get_ns ();spin_lock_init (&priv->limit->lock);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 621/641 netfilter: nfnetlink_log: use proper helper for fetching physinif
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Pavel Tikhomirov <[email protected]>
[ Upstream commit c3f9fd54cd87233f53bdf0e191a86b3a5e960e02 ]
We don't use physindev in __build_packet_message except for getting physinif from it. So let's switch to nf_bridge_get_physinif to get what we want directly.
Stable-dep-of: 9874808878d9 ("netfilter: bridge: replace physindev with physinif in nf_bridge_info")
--- net/netfilter/nfnetlink_log.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
net/netfilter/nfnetlink_log.c +4 -4
@@ -508,7 +508,7 @@ __build_packet_message(struct nfnl_log_net *log, htonl(br_port_get_rcu(indev)->br->dev->ifindex))) goto nla_put_failure; }else { -struct net_device *physindev; +int physinif;/* Case 2: indev is bridge group, we need to look for * physical device (when called from ipv4) */
@@ -516,10 +516,10 @@ __build_packet_message(struct nfnl_log_net *log, htonl(indev->ifindex))) goto nla_put_failure; - physindev =nf_bridge_get_physindev (skb); -if (physindev && + physinif =nf_bridge_get_physinif (skb); +if (physinif &&nla_put_be32 (inst->skb,NFULA_IFINDEX_PHYSINDEV , -htonl (physindev->ifindex))) +htonl (physinif))) goto nla_put_failure; }#endif
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 622/641 netfilter: nf_queue: remove excess nf_bridge variable
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Pavel Tikhomirov <[email protected]>
[ Upstream commit aeaa44075f8e49e2e0ad4507d925e690b7950145 ]
We don't really need nf_bridge variable here. And nf_bridge_info_exists is better replacement for nf_bridge_info_get in case we are only checking for existence.
Stable-dep-of: 9874808878d9 ("netfilter: bridge: replace physindev with physinif in nf_bridge_info")
--- net/netfilter/nf_queue.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
net/netfilter/nf_queue.c +1 -3
@@ -82,10 +82,8 @@ static void __nf_queue_entry_init_physdevs(struct nf_queue_entry *entry) {#if IS_ENABLED (CONFIG_BRIDGE_NETFILTER )const struct sk_buff *skb = entry->skb; -struct nf_bridge_info *nf_bridge; - nf_bridge =nf_bridge_info_get (skb); -if (nf_bridge) { +if (nf_bridge_info_exists (skb)) { entry->physin =nf_bridge_get_physindev (skb); entry->physout =nf_bridge_get_physoutdev (skb); }else {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 623/641 netfilter: propagate net to nf_bridge_get_physindev
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Pavel Tikhomirov <[email protected]>
[ Upstream commit a54e72197037d2c9bfcd70dddaac8c8ccb5b41ba ]
This is a preparation patch for replacing physindev with physinif on nf_bridge_info structure. We will use dev_get_by_index_rcu to resolve device, when needed, and it requires net to be available.
Stable-dep-of: 9874808878d9 ("netfilter: bridge: replace physindev with physinif in nf_bridge_info")
--- include/linux/netfilter_bridge.h | 2 +- net/ipv4/netfilter/nf_reject_ipv4.c | 2 +- net/ipv6/netfilter/nf_reject_ipv6.c | 2 +- net/netfilter/ipset/ip_set_hash_netiface.c | 8 ++++---- net/netfilter/nf_log_syslog.c | 13 +++++++------ net/netfilter/nf_queue.c | 2 +- net/netfilter/xt_physdev.c | 2 +- 7 files changed, 16 insertions(+), 15 deletions(-)
include/linux/netfilter_bridge.h +1 -1
@@ -56,7 +56,7 @@ static inline int nf_bridge_get_physoutif(const struct sk_buff *skb) }static inline struct net_device * -nf_bridge_get_physindev (const struct sk_buff *skb) +nf_bridge_get_physindev (const struct sk_buff *skb,struct net *net) {const struct nf_bridge_info *nf_bridge =nf_bridge_info_get (skb);
net/ipv4/netfilter/nf_reject_ipv4.c +1 -1
@@ -289,7 +289,7 @@ void nf_send_reset(struct net *net, struct sock *sk, struct sk_buff *oldskb,* build the eth header using the original destination's MAC as the * source, and send the RST packet directly. */ - br_indev =nf_bridge_get_physindev (oldskb); + br_indev =nf_bridge_get_physindev (oldskb, net);if (br_indev) {struct ethhdr *oeth =eth_hdr (oldskb);
net/ipv6/netfilter/nf_reject_ipv6.c +1 -1
@@ -354,7 +354,7 @@ void nf_send_reset6(struct net *net, struct sock *sk, struct sk_buff *oldskb,* build the eth header using the original destination's MAC as the * source, and send the RST packet directly. */ - br_indev =nf_bridge_get_physindev (oldskb); + br_indev =nf_bridge_get_physindev (oldskb, net);if (br_indev) {struct ethhdr *oeth =eth_hdr (oldskb);
net/netfilter/ipset/ip_set_hash_netiface.c +4 -4
@@ -138,9 +138,9 @@ hash_netiface4_data_next(struct hash_netiface4_elem *next,#include "ip_set_hash_gen.h" #if IS_ENABLED (CONFIG_BRIDGE_NETFILTER ) -static const char *get_physindev_name (const struct sk_buff *skb) +static const char *get_physindev_name (const struct sk_buff *skb,struct net *net) { -struct net_device *dev =nf_bridge_get_physindev (skb); +struct net_device *dev =nf_bridge_get_physindev (skb, net);return dev ? dev->name :NULL ; }
@@ -177,7 +177,7 @@ hash_netiface4_kadt(struct ip_set *set, const struct sk_buff *skb,if (opt->cmdflags &IPSET_FLAG_PHYSDEV ) {#if IS_ENABLED (CONFIG_BRIDGE_NETFILTER ) -const char *eiface =SRCDIR ?get_physindev_name (skb) : +const char *eiface =SRCDIR ?get_physindev_name (skb,xt_net (par)) :get_physoutdev_name (skb);if (!eiface)
@@ -395,7 +395,7 @@ hash_netiface6_kadt(struct ip_set *set, const struct sk_buff *skb,if (opt->cmdflags &IPSET_FLAG_PHYSDEV ) {#if IS_ENABLED (CONFIG_BRIDGE_NETFILTER ) -const char *eiface =SRCDIR ?get_physindev_name (skb) : +const char *eiface =SRCDIR ?get_physindev_name (skb,xt_net (par)) :get_physoutdev_name (skb);if (!eiface)
net/netfilter/nf_log_syslog.c +7 -6
@@ -111,7 +111,8 @@ nf_log_dump_packet_common(struct nf_log_buf *m, u8 pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, - const struct nf_loginfo *loginfo, const char *prefix) + const struct nf_loginfo *loginfo, const char *prefix, + struct net *net) { const struct net_device *physoutdev __maybe_unused;const struct net_device *physindev__maybe_unused ;
@@ -121,7 +122,7 @@ nf_log_dump_packet_common(struct nf_log_buf *m, u8 pf, in ? in->name :"" , out ? out->name : "");#if IS_ENABLED (CONFIG_BRIDGE_NETFILTER ) - physindev =nf_bridge_get_physindev (skb); + physindev =nf_bridge_get_physindev (skb, net);if (physindev && in != physindev)nf_log_buf_add (m,"PHYSIN=%s " , physindev->name); physoutdev =nf_bridge_get_physoutdev (skb);
@@ -148,7 +149,7 @@ static void nf_log_arp_packet(struct net *net, u_int8_t pf, loginfo = &default_loginfo;nf_log_dump_packet_common (m, pf, hooknum, skb, in, out, loginfo, - prefix); + prefix, net);dump_arp_packet (m, loginfo, skb,skb_network_offset (skb));nf_log_buf_close (m);
@@ -845,7 +846,7 @@ static void nf_log_ip_packet(struct net *net, u_int8_t pf, loginfo = &default_loginfo;nf_log_dump_packet_common (m, pf, hooknum, skb, in, - out, loginfo, prefix); + out, loginfo, prefix, net);if (in)dump_mac_header (m, loginfo, skb);
@@ -880,7 +881,7 @@ static void nf_log_ip6_packet(struct net *net, u_int8_t pf, loginfo = &default_loginfo;nf_log_dump_packet_common (m, pf, hooknum, skb, in, out, - loginfo, prefix); + loginfo, prefix, net);if (in)dump_mac_header (m, loginfo, skb);
@@ -916,7 +917,7 @@ static void nf_log_unknown_packet(struct net *net, u_int8_t pf, loginfo = &default_loginfo;nf_log_dump_packet_common (m, pf, hooknum, skb, in, out, loginfo, - prefix); + prefix, net);dump_mac_header (m, loginfo, skb);
net/netfilter/nf_queue.c +1 -1
@@ -84,7 +84,7 @@ static void __nf_queue_entry_init_physdevs(struct nf_queue_entry *entry)const struct sk_buff *skb = entry->skb;if (nf_bridge_info_exists (skb)) { - entry->physin =nf_bridge_get_physindev (skb); + entry->physin =nf_bridge_get_physindev (skb, entry->state.net); entry->physout =nf_bridge_get_physoutdev (skb); }else { entry->physin =NULL ;
net/netfilter/xt_physdev.c +1 -1
@@ -59,7 +59,7 @@ physdev_mt(const struct sk_buff *skb, struct xt_action_param *par) (!!outdev ^ !(info->invert & XT_PHYSDEV_OP_BRIDGED)))return false; - physdev =nf_bridge_get_physindev (skb); + physdev =nf_bridge_get_physindev (skb,xt_net (par)); indev = physdev ? physdev->name :NULL ; if ((info->bitmask & XT_PHYSDEV_OP_ISIN &&
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 624/641 netfilter: bridge: replace physindev with physinif in nf_bridge_info
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Pavel Tikhomirov <[email protected]>
[ Upstream commit 9874808878d9eed407e3977fd11fee49de1e1d86 ]
An skb can be added to a neigh->arp_queue while waiting for an arp reply. Where original skb's skb->dev can be different to neigh's neigh->dev. For instance in case of bridging dnated skb from one veth to another, the skb would be added to a neigh->arp_queue of the bridge.
As skb->dev can be reset back to nf_bridge->physindev and used, and as there is no explicit mechanism that prevents this physindev from been freed under us (for instance neigh_flush_dev doesn't cleanup skbs from different device's neigh queue) we can crash on e.g. this stack:
arp_process
neigh_update
skb = __skb_dequeue(&neigh->arp_queue)
neigh_resolve_output(..., skb)
...
br_nf_dev_xmit
br_nf_pre_routing_finish_bridge_slow
skb->dev = nf_bridge->physindev
br_handle_frame_finishLet's use plain ifindex instead of net_device link. To peek into the original net_device we will use dev_get_by_index_rcu(). Thus either we get device and are safe to use it or we don't get it and drop skb.
--- include/linux/netfilter_bridge.h | 4 +-- include/linux/skbuff.h | 2 +- net/bridge/br_netfilter_hooks.c | 42 +++++++++++++++++++++++------ net/bridge/br_netfilter_ipv6.c | 14 +++++++--- net/ipv4/netfilter/nf_reject_ipv4.c | 9 ++++--- net/ipv6/netfilter/nf_reject_ipv6.c | 11 +++++--- 6 files changed, 61 insertions(+), 21 deletions(-)
include/linux/netfilter_bridge.h +2 -2
@@ -42,7 +42,7 @@ static inline int nf_bridge_get_physinif(const struct sk_buff *skb)if (!nf_bridge)return 0 ; -return nf_bridge->physindev ? nf_bridge->physindev->ifindex :0 ; +return nf_bridge->physinif; }static inline int nf_bridge_get_physoutif (const struct sk_buff *skb)
@@ -60,7 +60,7 @@ nf_bridge_get_physindev(const struct sk_buff *skb, struct net *net) {const struct nf_bridge_info *nf_bridge =nf_bridge_info_get (skb); -return nf_bridge ? nf_bridge->physindev :NULL ; +return nf_bridge ?dev_get_by_index_rcu (net, nf_bridge->physinif) :NULL ; } static inline struct net_device *
include/linux/skbuff.h +1 -1
@@ -295,7 +295,7 @@ struct nf_bridge_info { u8 bridged_dnat:1; u8 sabotage_in_done:1;__u16 frag_max_size; -struct net_device *physindev; +int physinif;/* always valid & non-NULL from FORWARD on, for physdev match */ struct net_device *physoutdev;
net/bridge/br_netfilter_hooks.c +34 -8
102 lines not on this page · raw message
net/bridge/br_netfilter_ipv6.c +10 -4
@@ -102,9 +102,15 @@ static int br_nf_pre_routing_finish_ipv6(struct net *net, struct sock *sk, struc {struct nf_bridge_info *nf_bridge =nf_bridge_info_get (skb);struct rtable *rt; -struct net_device *dev = skb->dev; +struct net_device *dev = skb->dev, *br_indev;const struct nf_ipv6_ops *v6ops =nf_get_ipv6_ops (); + br_indev =nf_bridge_get_physindev (skb, net); +if (!br_indev) { +kfree_skb (skb); +return 0 ; + } + nf_bridge->frag_max_size =IP6CB (skb)->frag_max_size;if (nf_bridge->pkt_otherhost) {
@@ -122,7 +128,7 @@ static int br_nf_pre_routing_finish_ipv6(struct net *net, struct sock *sk, struc }if (skb_dst (skb)->dev == dev) { - skb->dev = nf_bridge->physindev; + skb->dev = br_indev;nf_bridge_update_protocol (skb);nf_bridge_push_encap_header (skb); br_nf_hook_thresh(NF_BR_PRE_ROUTING,
@@ -133,7 +139,7 @@ static int br_nf_pre_routing_finish_ipv6(struct net *net, struct sock *sk, strucether_addr_copy (eth_hdr (skb)->h_dest, dev->dev_addr); skb->pkt_type =PACKET_HOST ; }else { - rt =bridge_parent_rtable (nf_bridge->physindev); + rt =bridge_parent_rtable (br_indev);if (!rt) {kfree_skb (skb);return 0 ;
@@ -142,7 +148,7 @@ static int br_nf_pre_routing_finish_ipv6(struct net *net, struct sock *sk, strucskb_dst_set_noref (skb, &rt->dst); } - skb->dev = nf_bridge->physindev; + skb->dev = br_indev;nf_bridge_update_protocol (skb);nf_bridge_push_encap_header (skb); br_nf_hook_thresh(NF_BR_PRE_ROUTING, net, sk, skb,
net/ipv4/netfilter/nf_reject_ipv4.c +6 -3
@@ -239,7 +239,6 @@ static int nf_reject_fill_skb_dst(struct sk_buff *skb_in)void nf_send_reset (struct net *net,struct sock *sk,struct sk_buff *oldskb,int hook) { -struct net_device *br_indev__maybe_unused ;struct sk_buff *nskb;struct iphdr *niph;const struct tcphdr *oth;
@@ -289,9 +288,13 @@ void nf_send_reset(struct net *net, struct sock *sk, struct sk_buff *oldskb,* build the eth header using the original destination's MAC as the * source, and send the RST packet directly. */ - br_indev =nf_bridge_get_physindev (oldskb, net); -if (br_indev) { +if (nf_bridge_info_exists (oldskb)) {struct ethhdr *oeth =eth_hdr (oldskb); +struct net_device *br_indev; + + br_indev =nf_bridge_get_physindev (oldskb, net); +if (!br_indev) + goto free_nskb; nskb->dev = br_indev; niph->tot_len =htons (nskb->len);
net/ipv6/netfilter/nf_reject_ipv6.c +8 -3
@@ -278,7 +278,6 @@ static int nf_reject6_fill_skb_dst(struct sk_buff *skb_in)void nf_send_reset6 (struct net *net,struct sock *sk,struct sk_buff *oldskb,int hook) { -struct net_device *br_indev__maybe_unused ;struct sk_buff *nskb;struct tcphdr _otcph;const struct tcphdr *otcph;
@@ -354,9 +353,15 @@ void nf_send_reset6(struct net *net, struct sock *sk, struct sk_buff *oldskb,* build the eth header using the original destination's MAC as the * source, and send the RST packet directly. */ - br_indev =nf_bridge_get_physindev (oldskb, net); -if (br_indev) { +if (nf_bridge_info_exists (oldskb)) {struct ethhdr *oeth =eth_hdr (oldskb); +struct net_device *br_indev; + + br_indev =nf_bridge_get_physindev (oldskb, net); +if (!br_indev) { +kfree_skb (nskb); +return ; + } nskb->dev = br_indev; nskb->protocol =htons (ETH_P_IPV6 );
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 625/641 netfilter: nf_tables: do not allow mismatch field size and set key length
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Pablo Neira Ayuso <[email protected]>
[ Upstream commit 3ce67e3793f48c1b9635beb9bb71116ca1e51b58 ]
The set description provides the size of each field in the set whose sum should not mismatch the set key length, bail out otherwise.
I did not manage to crash nft_set_pipapo with mismatch fields and set key length so far, but this is UB which must be disallowed.
--- net/netfilter/nf_tables_api.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
net/netfilter/nf_tables_api.c +5 -1
@@ -4811,8 +4811,8 @@ static int nft_set_desc_concat_parse(const struct nlattr *attr,static int nft_set_desc_concat (struct nft_set_desc *desc,const struct nlattr *nla) { +u32 num_regs =0 , key_num_regs =0 ;struct nlattr *attr; -u32 num_regs =0 ;int rem, err, i;nla_for_each_nested (attr, nla, rem) {
@@ -4827,6 +4827,10 @@ static int nft_set_desc_concat(struct nft_set_desc *desc,for (i =0 ; i < desc->field_count; i++) num_regs +=DIV_ROUND_UP (desc->field_len[i],sizeof (u32)); + key_num_regs =DIV_ROUND_UP (desc->klen,sizeof (u32)); +if (key_num_regs != num_regs) +return -EINVAL ; +if (num_regs >NFT_REG32_COUNT )return -E2BIG ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 626/641 netfilter: nf_tables: skip dead set elements in netlink dump
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Pablo Neira Ayuso <[email protected]>
[ Upstream commit 6b1ca88e4bb63673dc9f9c7f23c899f22c3cb17a ]
Delete from packet path relies on the garbage collector to purge elements with NFT_SET_ELEM_DEAD_BIT on.
Skip these dead elements from nf_tables_dump_setelem() path, I very rarely see tests/shell/testcases/maps/typeof_maps_add_delete reports [DUMP FAILED] showing a mismatch in the expected output with an element that should not be there.
If the netlink dump happens before GC worker run, it might show dead elements in the ruleset listing.
nft_rhash_get() already skips dead elements in nft_rhash_cmp(), therefore, it already does not show the element when getting a single element via netlink control plane.
--- net/netfilter/nf_tables_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/netfilter/nf_tables_api.c +1 -1
@@ -5716,7 +5716,7 @@ static int nf_tables_dump_setelem(const struct nft_ctx *ctx,const struct nft_set_ext *ext =nft_set_elem_ext (set, elem_priv);struct nft_set_dump_args *args; -if (nft_set_elem_expired (ext)) +if (nft_set_elem_expired (ext) ||nft_set_elem_is_dead (ext))return 0 ; args = container_of(iter, struct nft_set_dump_args, iter);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 627/641 netfilter: nf_tables: reject NFT_SET_CONCAT with not field length description
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Pablo Neira Ayuso <[email protected]>
[ Upstream commit 113661e07460a6604aacc8ae1b23695a89e7d4b3 ]
It is still possible to set on the NFT_SET_CONCAT flag by specifying a set size and no field description, report EINVAL in such case.
--- net/netfilter/nf_tables_api.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
net/netfilter/nf_tables_api.c +5 -1
@@ -5068,8 +5068,12 @@ static int nf_tables_newset(struct sk_buff *skb, const struct nfnl_info *info,if (err <0 )return err; -if (desc.field_count >1 && !(flags &NFT_SET_CONCAT )) +if (desc.field_count >1 ) { +if (!(flags &NFT_SET_CONCAT )) +return -EINVAL ; + }else if (flags &NFT_SET_CONCAT ) {return -EINVAL ; + } }else if (flags &NFT_SET_CONCAT ) {return -EINVAL ; }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 628/641 ipvs: avoid stat macros calls from preemptible context
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Fedor Pchelkin <[email protected]>
[ Upstream commit d6938c1c76c64f42363d0d1f051e1b4641c2ad40 ]
Inside decrement_ttl() upon discovering that the packet ttl has exceeded, __IP_INC_STATS and __IP6_INC_STATS macros can be called from preemptible context having the following backtrace:
check_preemption_disabled: 48 callbacks suppressed
BUG: using __this_cpu_add() in preemptible [00000000] code: curl/1177 caller is decrement_ttl+0x217/0x830 CPU: 5 PID: 1177 Comm: curl Not tainted 6.7.0+ #34 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0xbd/0xe0 check_preemption_disabled+0xd1/0xe0 decrement_ttl+0x217/0x830 __ip_vs_get_out_rt+0x4e0/0x1ef0 ip_vs_nat_xmit+0x205/0xcd0 ip_vs_in_hook+0x9b1/0x26a0 nf_hook_slow+0xc2/0x210 nf_hook+0x1fb/0x770 __ip_local_out+0x33b/0x640 ip_local_out+0x2a/0x490 __ip_queue_xmit+0x990/0x1d10 __tcp_transmit_skb+0x288b/0x3d10 tcp_connect+0x3466/0x5180 tcp_v4_connect+0x1535/0x1bb0 __inet_stream_connect+0x40d/0x1040 inet_stream_connect+0x57/0xa0 __sys_connect_file+0x162/0x1a0 __sys_connect+0x137/0x160 __x64_sys_connect+0x72/0xb0 do_syscall_64+0x6f/0x140 entry_SYSCALL_64_after_hwframe+0x6e/0x76 RIP: 0033:0x7fe6dbbc34e0
Use the corresponding preemption-aware variants: IP_INC_STATS and IP6_INC_STATS.
Found by Linux Verification Center (linuxtesting.org).
--- net/netfilter/ipvs/ip_vs_xmit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
net/netfilter/ipvs/ip_vs_xmit.c +2 -2
@@ -271,7 +271,7 @@ static inline bool decrement_ttl(struct netns_ipvs *ipvs, skb->dev = dst->dev;icmpv6_send (skb,ICMPV6_TIME_EXCEED ,ICMPV6_EXC_HOPLIMIT ,0 ); -__IP6_INC_STATS (net, idev,IPSTATS_MIB_INHDRERRORS ); +IP6_INC_STATS (net, idev,IPSTATS_MIB_INHDRERRORS );return false; }
@@ -286,7 +286,7 @@ static inline bool decrement_ttl(struct netns_ipvs *ipvs, {if (ip_hdr (skb)->ttl <=1 ) {/* Tell the sender its packet died... */ -__IP_INC_STATS (net,IPSTATS_MIB_INHDRERRORS ); +IP_INC_STATS (net,IPSTATS_MIB_INHDRERRORS );icmp_send (skb,ICMP_TIME_EXCEEDED ,ICMP_EXC_TTL ,0 );return false; }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 629/641 io_uring: adjust defer tw counting
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Pavel Begunkov <[email protected]>
[ Upstream commit dc12d1799ce710fd90abbe0ced71e7e1ae0894fc ]
The UINT_MAX work item counting bias in io_req_local_work_add() in case of !IOU_F_TWQ_LAZY_WAKE works in a sense that we will not miss a wake up, however it's still eerie. In particular, if we add a lazy work item after a non-lazy one, we'll increment it and get nr_tw==0, and subsequent adds may try to unnecessarily wake up the task, which is though not so likely to happen in real workloads.
Half the bias, it's still large enough to be larger than any valid ->cq_wait_nr, which is limited by IORING_MAX_CQ_ENTRIES, but further have a good enough of space before it overflows.
--- io_uring/io_uring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
io_uring/io_uring.c +1 -1
@@ -1346,7 +1346,7 @@ static inline void io_req_local_work_add(struct io_kiocb *req, unsigned flags) nr_tw = nr_tw_prev +1 ;/* Large enough to fail the nr_wait comparison below */ if (!(flags &IOU_F_TWQ_LAZY_WAKE )) - nr_tw =-1U ; + nr_tw =INT_MAX ; req->nr_tw = nr_tw; req->io_task_work.node.next = first;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 630/641 kdb: Fix a potential buffer overflow in kdb_local()
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Christophe JAILLET <[email protected]>
[ Upstream commit 4f41d30cd6dc865c3cbc1a852372321eba6d4e4c ]
When appending "[defcmd]" to 'kdb_prompt_str', the size of the string already in the buffer should be taken into account.
An option could be to switch from strncat() to strlcat() which does the correct test to avoid such an overflow.
However, this actually looks as dead code, because 'defcmd_in_progress' can't be true here.
See a more detailed explanation at [1].
[1]: https://lore.kernel.org/all/CAD=FV=WSh7wKN7Yp-3wWiDgX4E3isQ8uh0LCzTmd1v9Cg9j+nQ@mail.gmail.com/
--- kernel/debug/kdb/kdb_main.c | 2 -- 1 file changed, 2 deletions(-)
kernel/debug/kdb/kdb_main.c +0 -2
@@ -1348,8 +1348,6 @@ static int kdb_local(kdb_reason_t reason, int error, struct pt_regs *regs,/* PROMPT can only be set if we have MEM_READ permission. */ snprintf (kdb_prompt_str,CMD_BUFLEN ,kdbgetenv ("PROMPT" ),raw_smp_processor_id ()); -if (defcmd_in_progress) -strncat (kdb_prompt_str,"[defcmd]" ,CMD_BUFLEN );/* * Fetch command from keyboard
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 631/641 arm64/ptrace: Dont flush ZA/ZT storage when writing ZA via ptrace
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Mark Brown <[email protected]>
[ Upstream commit b7c510d049049409e8945b932f4b0b357fa17415 ]
When writing ZA we currently unconditionally flush the buffer used to store it as part of ensuring that it is allocated. Since this buffer is shared with ZT0 this means that a write to ZA when PSTATE.ZA is already set will corrupt the value of ZT0 on a SME2 system. Fix this by only flushing the backing storage if PSTATE.ZA was not previously set.
This will mean that short or failed writes may leave stale data in the buffer, this seems as correct as our current behaviour and unlikely to be something that userspace will rely on.
--- arch/arm64/kernel/ptrace.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)
arch/arm64/kernel/ptrace.c +7 -6
@@ -1107,12 +1107,13 @@ static int za_set(struct task_struct *target, } } -/* Allocate/reinit ZA storage */ -sme_alloc (target, true); -if (!target->thread.sme_state) { - ret = -ENOMEM ; - goto out; - } +/* +* Only flush the storage if PSTATE.ZA was not already set, +* otherwise preserve any existing data. +*/ +sme_alloc (target, !thread_za_enabled (&target->thread)); +if (!target->thread.sme_state) +return -ENOMEM ;/* If there is no data then disable ZA */ if (!count) {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 632/641 ethtool: netlink: Add missing ethnl_ops_begin/complete
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ludvig Pärsson <[email protected]>
[ Upstream commit f1172f3ee3a98754d95b968968920a7d03fdebcc ]
Accessing an ethernet device that is powered off or clock gated might cause the CPU to hang. Add ethnl_ops_begin/complete in ethnl_set_features() to protect against this.
--- net/ethtool/features.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
net/ethtool/features.c +7 -2
@@ -234,17 +234,20 @@ int ethnl_set_features(struct sk_buff *skb, struct genl_info *info) dev = req_info.dev;rtnl_lock (); + ret =ethnl_ops_begin (dev); +if (ret <0 ) + goto out_rtnl;ethnl_features_to_bitmap (old_active, dev->features);ethnl_features_to_bitmap (old_wanted, dev->wanted_features); ret =ethnl_parse_bitset (req_wanted, req_mask,NETDEV_FEATURE_COUNT , tb[ETHTOOL_A_FEATURES_WANTED ], netdev_features_strings, info->extack);if (ret <0 ) - goto out_rtnl; + goto out_ops;if (ethnl_bitmap_to_features (req_mask) & ~NETIF_F_ETHTOOL_BITS ) {GENL_SET_ERR_MSG (info,"attempt to change non-ethtool features" ); ret = -EINVAL ; - goto out_rtnl; + goto out_ops; }/* set req_wanted bits not in req_mask from old_wanted */
@@ -281,6 +284,8 @@ int ethnl_set_features(struct sk_buff *skb, struct genl_info *info)if (mod)netdev_features_change (dev); +out_ops: +ethnl_ops_complete (dev); out_rtnl:rtnl_unlock ();ethnl_parse_header_dev_put (&req_info);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 633/641 loop: fix the the direct I/O support check when used on top of block devices
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Christoph Hellwig <[email protected]>
[ Upstream commit baa7d536077dcdfe2b70c476a8873d1745d3de0f ]
__loop_update_dio only checks the alignment requirement for block backed file systems, but misses them for the case where the loop device is created directly on top of another block device. Due to this creating a loop device with default option plus the direct I/O flag on a > 512 byte sector size file system will lead to incorrect I/O being submitted to the lower block device and a lot of error from the lock layer. This can be seen with xfstests generic/563.
Fix the code in __loop_update_dio by factoring the alignment check into a helper, and calling that also for the struct block_device of a block device inode.
Also remove the TODO comment talking about dynamically switching between buffered and direct I/O, which is a would be a recipe for horrible performance and occasional data loss.
--- drivers/block/loop.c | 52 +++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 27 deletions(-)
drivers/block/loop.c +25 -27
@@ -165,39 +165,37 @@ static loff_t get_loop_size(struct loop_device *lo, struct file *file)return get_size (lo->lo_offset, lo->lo_sizelimit, file); } +/* +* We support direct I/O only if lo_offset is aligned with the logical I/O size +* of backing device, and the logical block size of loop is bigger than that of +* the backing device. +*/ +static bool lo_bdev_can_use_dio (struct loop_device *lo, +struct block_device *backing_bdev) +{ +unsigned short sb_bsize =bdev_logical_block_size (backing_bdev); + +if (queue_logical_block_size (lo->lo_queue) < sb_bsize) +return false; +if (lo->lo_offset & (sb_bsize -1 )) +return false; +return true; +} +static void __loop_update_dio (struct loop_device *lo,bool dio) {struct file *file = lo->lo_backing_file; -struct address_space *mapping = file->f_mapping; -struct inode *inode = mapping->host; -unsigned short sb_bsize =0 ; -unsigned dio_align =0 ; +struct inode *inode = file->f_mapping->host; +struct block_device *backing_bdev =NULL ;bool use_dio; -if (inode->i_sb->s_bdev) { - sb_bsize =bdev_logical_block_size (inode->i_sb->s_bdev); - dio_align = sb_bsize -1 ; - } +if (S_ISBLK (inode->i_mode)) + backing_bdev =I_BDEV (inode); +else if (inode->i_sb->s_bdev) + backing_bdev = inode->i_sb->s_bdev; -/* -* We support direct I/O only if lo_offset is aligned with the -* logical I/O size of backing device, and the logical block -* size of loop is bigger than the backing device's. -* -* TODO: the above condition may be loosed in the future, and -* direct I/O may be switched runtime at that time because most -* of requests in sane applications should be PAGE_SIZE aligned -*/ -if (dio) { -if (queue_logical_block_size (lo->lo_queue) >= sb_bsize && - !(lo->lo_offset & dio_align) && - (file->f_mode &FMODE_CAN_ODIRECT )) - use_dio = true; -else - use_dio = false; - }else { - use_dio = false; - } + use_dio = dio && (file->f_mode &FMODE_CAN_ODIRECT ) && + (!backing_bdev ||lo_bdev_can_use_dio (lo, backing_bdev));if (lo->use_dio == use_dio)return ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 634/641 mlxsw: spectrum_acl_erp: Fix error flow of pool allocation failure
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Amit Cohen <[email protected]>
[ Upstream commit 6d6eeabcfaba2fcadf5443b575789ea606f9de83 ]
Lately, a bug was found when many TC filters are added - at some point, several bugs are printed to dmesg [1] and the switch is crashed with segmentation fault.
The issue starts when gen_pool_free() fails because of unexpected behavior - a try to free memory which is already freed, this leads to BUG() call which crashes the switch and makes many other bugs.
Trying to track down the unexpected behavior led to a bug in eRP code. The function mlxsw_sp_acl_erp_table_alloc() gets a pointer to the allocated index, sets the value and returns an error code. When gen_pool_alloc() fails it returns address 0, we track it and return -ENOBUFS outside, BUT the call for gen_pool_alloc() already override the index in erp_table structure. This is a problem when such allocation is done as part of table expansion. This is not a new table, which will not be used in case of allocation failure. We try to expand eRP table and override the current index (non-zero) with zero. Then, it leads to an unexpected behavior when address 0 is freed twice. Note that address 0 is valid in erp_table->base_index and indeed other tables use it.
gen_pool_alloc() fails in case that there is no space left in the pre-allocated pool, in our case, the pool is limited to ACL_MAX_ERPT_BANK_SIZE, which is read from hardware. When more than max erp entries are required, we exceed the limit and return an error, this error leads to "Failed to migrate vregion" print.
Fix this by changing erp_table->base_index only in case of a successful allocation.
Add a test case for such a scenario. Without this fix it causes segmentation fault:
$ TESTS="max_erp_entries_test" ./tc_flower.sh ./tc_flower.sh: line 988: 1560 Segmentation fault tc filter del dev $h2 ingress chain $i protocol ip pref $i handle $j flower &>/dev/null
[1]:
kernel BUG at lib/genalloc.c:508!
invalid opcode: 0000 [#1] PREEMPT SMP
CPU: 6 PID: 3531 Comm: tc Not tainted 6.7.0-rc5-custom-ga6893f479f5e #1 Hardware name: Mellanox Technologies Ltd. MSN4700/VMOD0010, BIOS 5.11 07/12/2021 RIP: 0010:gen_pool_free_owner+0xc9/0xe0 ... Call Trace: <TASK> __mlxsw_sp_acl_erp_table_other_dec+0x70/0xa0 [mlxsw_spectrum] mlxsw_sp_acl_erp_mask_destroy+0xf5/0x110 [mlxsw_spectrum] objagg_obj_root_destroy+0x18/0x80 [objagg] objagg_obj_destroy+0x12c/0x130 [objagg] mlxsw_sp_acl_erp_mask_put+0x37/0x50 [mlxsw_spectrum] mlxsw_sp_acl_ctcam_region_entry_remove+0x74/0xa0 [mlxsw_spectrum] mlxsw_sp_acl_ctcam_entry_del+0x1e/0x40 [mlxsw_spectrum] mlxsw_sp_acl_tcam_ventry_del+0x78/0xd0 [mlxsw_spectrum] mlxsw_sp_flower_destroy+0x4d/0x70 [mlxsw_spectrum] mlxsw_sp_flow_block_cb+0x73/0xb0 [mlxsw_spectrum] tc_setup_cb_destroy+0xc1/0x180 fl_hw_destroy_filter+0x94/0xc0 [cls_flower] __fl_delete+0x1ac/0x1c0 [cls_flower] fl_destroy+0xc2/0x150 [cls_flower] tcf_proto_destroy+0x1a/0xa0
...mlxsw_spectrum3 0000:07:00.0: Failed to migrate vregion mlxsw_spectrum3 0000:07:00.0: Failed to migrate vregion
--- .../mellanox/mlxsw/spectrum_acl_erp.c | 8 +-- .../drivers/net/mlxsw/spectrum-2/tc_flower.sh | 52 ++++++++++++++++++- 2 files changed, 56 insertions(+), 4 deletions(-)
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c +5 -3
@@ -301,6 +301,7 @@ mlxsw_sp_acl_erp_table_alloc(struct mlxsw_sp_acl_erp_core *erp_core, unsigned long *p_index) {unsigned int num_rows, entry_size; +unsigned long index;/* We only allow allocations of entire rows */ if (num_erps % erp_core->num_erp_banks !=0 )
@@ -309,10 +310,11 @@ mlxsw_sp_acl_erp_table_alloc(struct mlxsw_sp_acl_erp_core *erp_core, entry_size = erp_core->erpt_entries_size[region_type]; num_rows = num_erps / erp_core->num_erp_banks; - *p_index =gen_pool_alloc (erp_core->erp_tables, num_rows * entry_size); -if (*p_index ==0 ) + index =gen_pool_alloc (erp_core->erp_tables, num_rows * entry_size); +if (!index)return -ENOBUFS ; - *p_index -=MLXSW_SP_ACL_ERP_GENALLOC_OFFSET ; + + *p_index = index -MLXSW_SP_ACL_ERP_GENALLOC_OFFSET ;return 0 ; }
tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_flower.sh +51 -1
64 lines not on this page · raw message
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 635/641 mlxsw: spectrum_acl_tcam: Fix NULL pointer dereference in error path
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ido Schimmel <[email protected]>
[ Upstream commit efeb7dfea8ee10cdec11b6b6ba4e405edbe75809 ]
When calling mlxsw_sp_acl_tcam_region_destroy() from an error path after failing to attach the region to an ACL group, we hit a NULL pointer dereference upon 'region->group->tcam' [1].
Fix by retrieving the 'tcam' pointer using mlxsw_sp_acl_to_tcam().
[1]
BUG: kernel NULL pointer dereference, address: 0000000000000000 [...] RIP: 0010:mlxsw_sp_acl_tcam_region_destroy+0xa0/0xd0 [...] Call Trace: mlxsw_sp_acl_tcam_vchunk_get+0x88b/0xa20 mlxsw_sp_acl_tcam_ventry_add+0x25/0xe0 mlxsw_sp_acl_rule_add+0x47/0x240 mlxsw_sp_flower_replace+0x1a9/0x1d0 tc_setup_cb_add+0xdc/0x1c0 fl_hw_replace_filter+0x146/0x1f0 fl_change+0xc17/0x1360 tc_new_tfilter+0x472/0xb90 rtnetlink_rcv_msg+0x313/0x3b0 netlink_rcv_skb+0x58/0x100 netlink_unicast+0x244/0x390 netlink_sendmsg+0x1e4/0x440 ____sys_sendmsg+0x164/0x260 ___sys_sendmsg+0x9a/0xe0 __sys_sendmsg+0x7a/0xc0 do_syscall_64+0x40/0xe0 entry_SYSCALL_64_after_hwframe+0x63/0x6b
--- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c +2 -2
@@ -681,13 +681,13 @@ static void mlxsw_sp_acl_tcam_region_destroy(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_region *region) { + struct mlxsw_sp_acl_tcam *tcam = mlxsw_sp_acl_to_tcam(mlxsw_sp->acl);const struct mlxsw_sp_acl_tcam_ops *ops = mlxsw_sp->acl_tcam_ops; ops->region_fini (mlxsw_sp, region->priv);mlxsw_sp_acl_tcam_region_disable (mlxsw_sp, region);mlxsw_sp_acl_tcam_region_free (mlxsw_sp, region); -mlxsw_sp_acl_tcam_region_id_put (region->group->tcam, - region->id); +mlxsw_sp_acl_tcam_region_id_put (tcam, region->id);kfree (region); }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 636/641 mlxsw: spectrum_acl_tcam: Fix stack corruption
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ido Schimmel <[email protected]>
[ Upstream commit 483ae90d8f976f8339cf81066312e1329f2d3706 ]
When tc filters are first added to a net device, the corresponding local port gets bound to an ACL group in the device. The group contains a list of ACLs. In turn, each ACL points to a different TCAM region where the filters are stored. During forwarding, the ACLs are sequentially evaluated until a match is found.
One reason to place filters in different regions is when they are added with decreasing priorities and in an alternating order so that two consecutive filters can never fit in the same region because of their key usage.
In Spectrum-2 and newer ASICs the firmware started to report that the maximum number of ACLs in a group is more than 16, but the layout of the register that configures ACL groups (PAGT) was not updated to account for that. It is therefore possible to hit stack corruption [1] in the rare case where more than 16 ACLs in a group are required.
Fix by limiting the maximum ACL group size to the minimum between what the firmware reports and the maximum ACLs that fit in the PAGT register.
Add a test case to make sure the machine does not crash when this condition is hit.
[1]
Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: mlxsw_sp_acl_tcam_group_update+0x116/0x120 [...] dump_stack_lvl+0x36/0x50 panic+0x305/0x330 __stack_chk_fail+0x15/0x20 mlxsw_sp_acl_tcam_group_update+0x116/0x120 mlxsw_sp_acl_tcam_group_region_attach+0x69/0x110 mlxsw_sp_acl_tcam_vchunk_get+0x492/0xa20 mlxsw_sp_acl_tcam_ventry_add+0x25/0xe0 mlxsw_sp_acl_rule_add+0x47/0x240 mlxsw_sp_flower_replace+0x1a9/0x1d0 tc_setup_cb_add+0xdc/0x1c0 fl_hw_replace_filter+0x146/0x1f0 fl_change+0xc17/0x1360 tc_new_tfilter+0x472/0xb90 rtnetlink_rcv_msg+0x313/0x3b0 netlink_rcv_skb+0x58/0x100 netlink_unicast+0x244/0x390 netlink_sendmsg+0x1e4/0x440 ____sys_sendmsg+0x164/0x260 ___sys_sendmsg+0x9a/0xe0 __sys_sendmsg+0x7a/0xc0 do_syscall_64+0x40/0xe0 entry_SYSCALL_64_after_hwframe+0x63/0x6b
--- .../mellanox/mlxsw/spectrum_acl_tcam.c | 2 + .../drivers/net/mlxsw/spectrum-2/tc_flower.sh | 56 ++++++++++++++++++- 2 files changed, 57 insertions(+), 1 deletion(-)
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c +2 -0
@@ -1564,6 +1564,8 @@ int mlxsw_sp_acl_tcam_init(struct mlxsw_sp *mlxsw_sp, tcam->max_groups = max_groups; tcam->max_group_size =MLXSW_CORE_RES_GET (mlxsw_sp->core,ACL_MAX_GROUP_SIZE ); + tcam->max_group_size = min_t(unsigned int, tcam->max_group_size, +MLXSW_REG_PAGT_ACL_MAX_NUM ); err = ops->init (mlxsw_sp, tcam->priv, tcam);if (err)
tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_flower.sh +55 -1
68 lines not on this page · raw message
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 637/641 mlxsw: spectrum_router: Register netdevice notifier before nexthop
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Petr Machata <[email protected]>
[ Upstream commit 62bef63646c194e0f82b40304a0f2d060b28687b ]
If there are IPIP nexthops at the time when the driver is loaded (or the devlink instance reloaded), the driver looks up the corresponding IPIP entry. But IPIP entries are only created as a result of netdevice notifications. Since the netdevice notifier is registered after the nexthop notifier, mlxsw_sp_nexthop_type_init() never finds the IPIP entry, registers the nexthop MLXSW_SP_NEXTHOP_TYPE_ETH, and fails to assign a CRIF to the nexthop. Later on when the CRIF is necessary, the WARN_ON in mlxsw_sp_nexthop_rif() triggers, causing the splat [1].
In order to fix the issue, reorder the netdevice notifier to be registered before the nexthop one.
[1] (edited for clarity):
WARNING: CPU: 1 PID: 1364 at drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:3245 mlxsw_sp_nexthop_rif (drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:3246 (discriminator 1)) mlxsw_spectrum
Hardware name: Mellanox Technologies Ltd. MSN4410/VMOD0010, BIOS 5.11 01/06/2019
Call Trace:
? mlxsw_sp_nexthop_rif (drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:3246 (discriminator 1)) mlxsw_spectrum
__mlxsw_sp_nexthop_eth_update (drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:3637) mlxsw_spectrum
mlxsw_sp_nexthop_update (drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:3679 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:3727) mlxsw_spectrum
mlxsw_sp_nexthop_group_update (drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:3757) mlxsw_spectrum
mlxsw_sp_nexthop_group_refresh (drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:4112) mlxsw_spectrum
mlxsw_sp_nexthop_obj_event (drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:5118 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:5191 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:5315 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:5500) mlxsw_spectrum
nexthops_dump (net/ipv4/nexthop.c:217 net/ipv4/nexthop.c:440 net/ipv4/nexthop.c:3609)
register_nexthop_notifier (net/ipv4/nexthop.c:3624)
mlxsw_sp_router_init (drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:11486) mlxsw_spectrum
mlxsw_sp_init (drivers/net/ethernet/mellanox/mlxsw/spectrum.c:3267) mlxsw_spectrum
__mlxsw_core_bus_device_register (drivers/net/ethernet/mellanox/mlxsw/core.c:2202) mlxsw_core
mlxsw_devlink_core_bus_device_reload_up (drivers/net/ethernet/mellanox/mlxsw/core.c:2265 drivers/net/ethernet/mellanox/mlxsw/core.c:1603) mlxsw_core
devlink_reload (net/devlink/dev.c:314 net/devlink/dev.c:475)
[...]--- .../ethernet/mellanox/mlxsw/spectrum_router.c | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-)
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c +12 -12
@@ -11458,6 +11458,13 @@ int mlxsw_sp_router_init(struct mlxsw_sp *mlxsw_sp,if (err) goto err_register_netevent_notifier; + mlxsw_sp->router->netdevice_nb.notifier_call = + mlxsw_sp_router_netdevice_event; + err =register_netdevice_notifier_net (mlxsw_sp_net (mlxsw_sp), + &mlxsw_sp->router->netdevice_nb); +if (err) + goto err_register_netdev_notifier; + mlxsw_sp->router->nexthop_nb.notifier_call = mlxsw_sp_nexthop_obj_event; err = register_nexthop_notifier(mlxsw_sp_net(mlxsw_sp),
@@ -11473,22 +11480,15 @@ int mlxsw_sp_router_init(struct mlxsw_sp *mlxsw_sp,if (err) goto err_register_fib_notifier; - mlxsw_sp->router->netdevice_nb.notifier_call = - mlxsw_sp_router_netdevice_event; - err =register_netdevice_notifier_net (mlxsw_sp_net (mlxsw_sp), - &mlxsw_sp->router->netdevice_nb); -if (err) - goto err_register_netdev_notifier; -return 0 ; -err_register_netdev_notifier: -unregister_fib_notifier (mlxsw_sp_net (mlxsw_sp), - &mlxsw_sp->router->fib_nb); err_register_fib_notifier:unregister_nexthop_notifier (mlxsw_sp_net (mlxsw_sp), &mlxsw_sp->router->nexthop_nb); err_register_nexthop_notifier: +unregister_netdevice_notifier_net (mlxsw_sp_net (mlxsw_sp), + &router->netdevice_nb); +err_register_netdev_notifier:unregister_netevent_notifier (&mlxsw_sp->router->netevent_nb); err_register_netevent_notifier:unregister_inet6addr_validator_notifier (&router->inet6addr_valid_nb);
@@ -11536,11 +11536,11 @@ void mlxsw_sp_router_fini(struct mlxsw_sp *mlxsw_sp) {struct mlxsw_sp_router *router = mlxsw_sp->router; -unregister_netdevice_notifier_net (mlxsw_sp_net (mlxsw_sp), - &router->netdevice_nb);unregister_fib_notifier (mlxsw_sp_net (mlxsw_sp), &router->fib_nb);unregister_nexthop_notifier (mlxsw_sp_net (mlxsw_sp), &router->nexthop_nb); +unregister_netdevice_notifier_net (mlxsw_sp_net (mlxsw_sp), + &router->netdevice_nb);unregister_netevent_notifier (&router->netevent_nb);unregister_inet6addr_validator_notifier (&router->inet6addr_valid_nb);unregister_inetaddr_validator_notifier (&router->inetaddr_valid_nb);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 638/641 selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Amit Cohen <[email protected]>
[ Upstream commit b34f4de6d30cbaa8fed905a5080b6eace8c84dc7 ]
'qos_pfc' test checks PFC behavior. The idea is to limit the traffic using a shaper somewhere in the flow of the packets. In this area, the buffer is smaller than the buffer at the beginning of the flow, so it fills up until there is no more space left. The test configures there PFC which is supposed to notice that the headroom is filling up and send PFC Xoff to indicate the transmitter to stop sending traffic for the priorities sharing this PG.
The Xon/Xoff threshold is auto-configured and always equal to 2*(MTU rounded up to cell size). Even after sending the PFC Xoff packet, traffic will keep arriving until the transmitter receives and processes the PFC packet. This amount of traffic is known as the PFC delay allowance.
Currently the buffer for the delay traffic is configured as 100KB. The MTU in the test is 10KB, therefore the threshold for Xoff is about 20KB. This allows 80KB extra to be stored in this buffer.
8-lane ports use two buffers among which the configured buffer is split, the Xoff threshold then applies to each buffer in parallel.
The test does not take into account the behavior of 8-lane ports, when the ports are configured to 400Gbps with 8 lanes or 800Gbps with 8 lanes, packets are dropped and the test fails.
Check if the relevant ports use 8 lanes, in such case double the size of the buffer, as the headroom is split half-half.
--- .../selftests/drivers/net/mlxsw/qos_pfc.sh | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
tools/testing/selftests/drivers/net/mlxsw/qos_pfc.sh +17 -1
@@ -120,6 +120,9 @@ h2_destroy() switch_create() { + local lanes_swp4 + local pg1_size + # pools # -----
@@ -229,7 +232,20 @@ switch_create() dcb pfc set dev $swp4 prio-pfc all:off 1:on # PG0 will get autoconfigured to Xoff, give PG1 arbitrarily 100K, which # is (-2*MTU) about 80K of delay provision. - dcb buffer set dev $swp4 buffer-size all:0 1:$_100KB + pg1_size=$_100KB + + setup_wait_dev_with_timeout $swp4 + + lanes_swp4=$(ethtool $swp4 | grep 'Lanes:') + lanes_swp4=${lanes_swp4#*"Lanes: "} + + # 8-lane ports use two buffers among which the configured buffer + # is split, so double the size to get twice (20K + 80K). + if [[ $lanes_swp4 -eq 8 ]]; then + pg1_size=$((pg1_size * 2)) + fi + + dcb buffer set dev $swp4 buffer-size all:0 1:$pg1_size # bridges # -------
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 639/641 ipv6: mcast: fix data-race in ipv6_mc_down / mld_ifc_work
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Nikita Zhandarovich <[email protected]>
[ Upstream commit 2e7ef287f07c74985f1bf2858bedc62bd9ebf155 ]
idev->mc_ifc_count can be written over without proper locking.
Originally found by syzbot [1], fix this issue by encapsulating calls to mld_ifc_stop_work() (and mld_gq_stop_work() for good measure) with mutex_lock() and mutex_unlock() accordingly as these functions should only be called with mc_lock per their declarations.
[1]
BUG: KCSAN: data-race in ipv6_mc_down / mld_ifc_work
write to 0xffff88813a80c832 of 1 bytes by task 3771 on cpu 0:
mld_ifc_stop_work net/ipv6/mcast.c:1080 [inline] ipv6_mc_down+0x10a/0x280 net/ipv6/mcast.c:2725 addrconf_ifdown+0xe32/0xf10 net/ipv6/addrconf.c:3949 addrconf_notify+0x310/0x980 notifier_call_chain kernel/notifier.c:93 [inline] raw_notifier_call_chain+0x6b/0x1c0 kernel/notifier.c:461 __dev_notify_flags+0x205/0x3d0 dev_change_flags+0xab/0xd0 net/core/dev.c:8685 do_setlink+0x9f6/0x2430 net/core/rtnetlink.c:2916 rtnl_group_changelink net/core/rtnetlink.c:3458 [inline] __rtnl_newlink net/core/rtnetlink.c:3717 [inline] rtnl_newlink+0xbb3/0x1670 net/core/rtnetlink.c:3754 rtnetlink_rcv_msg+0x807/0x8c0 net/core/rtnetlink.c:6558 netlink_rcv_skb+0x126/0x220 net/netlink/af_netlink.c:2545 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:6576 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline] netlink_unicast+0x589/0x650 net/netlink/af_netlink.c:1368 netlink_sendmsg+0x66e/0x770 net/netlink/af_netlink.c:1910 ...
write to 0xffff88813a80c832 of 1 bytes by task 22 on cpu 1:
mld_ifc_work+0x54c/0x7b0 net/ipv6/mcast.c:2653 process_one_work kernel/workqueue.c:2627 [inline] process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2700 worker_thread+0x525/0x730 kernel/workqueue.c:2781 ...
--- net/ipv6/mcast.c | 4 ++++ 1 file changed, 4 insertions(+)
net/ipv6/mcast.c +4 -0
@@ -2722,8 +2722,12 @@ void ipv6_mc_down(struct inet6_dev *idev)synchronize_net ();mld_query_stop_work (idev);mld_report_stop_work (idev); + +mutex_lock (&idev->mc_lock);mld_ifc_stop_work (idev);mld_gq_stop_work (idev); +mutex_unlock (&idev->mc_lock); +mld_dad_stop_work (idev); }
Signature · 1 line
2.43.0
Hello,
Quoted 5 lines · On Mon, 22 Jan 2024 15:48:24 -0800 Greg Kroah-Hartman…
This is the start of the stable review cycle for the 6.7.2 release. There are 641 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.
Quoted 8 lines
Responses should be made by Wed, 24 Jan 2024 23:56:49 +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/v6.x/stable-review/patch-6.7.2-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.7.y
and the diffstat can be found below.
This rc kernel passes DAMON functionality test[1] on my test machine. Attaching the test results summary below. Please note that I retrieved the kernel from linux-stable-rc tree[2].
[1] https://github.com/awslabs/damon-tests/tree/next/corr
[2] 8538581d9e8e ("Linux 6.7.2-rc1")
Thanks,
SJ
[...]
---
ok 1 selftests: damon: debugfs_attrs.sh
ok 2 selftests: damon: debugfs_schemes.sh
ok 3 selftests: damon: debugfs_target_ids.sh
ok 4 selftests: damon: debugfs_empty_targets.sh
ok 5 selftests: damon: debugfs_huge_count_read_write.sh
ok 6 selftests: damon: debugfs_duplicate_context_creation.sh
ok 7 selftests: damon: debugfs_rm_non_contexts.sh
ok 8 selftests: damon: sysfs.sh
ok 9 selftests: damon: sysfs_update_removed_scheme_dir.sh
ok 10 selftests: damon: reclaim.sh
ok 11 selftests: damon: lru_sort.sh
ok 1 selftests: damon-tests: kunit.sh
ok 2 selftests: damon-tests: huge_count_read_write.sh
ok 3 selftests: damon-tests: buffer_overflow.sh
ok 4 selftests: damon-tests: rm_contexts.sh
ok 5 selftests: damon-tests: record_null_deref.sh
ok 6 selftests: damon-tests: dbgfs_target_ids_read_before_terminate_race.sh ok 7 selftests: damon-tests: dbgfs_target_ids_pid_leak.sh
ok 8 selftests: damon-tests: damo_tests.sh
ok 9 selftests: damon-tests: masim-record.sh
ok 10 selftests: damon-tests: build_i386.sh
ok 11 selftests: damon-tests: build_arm64.sh
ok 12 selftests: damon-tests: build_m68k.sh
ok 13 selftests: damon-tests: build_i386_idle_flag.sh
ok 14 selftests: damon-tests: build_i386_highpte.sh
ok 15 selftests: damon-tests: build_nomemcg.sh
[33m
[92mPASS [39m
Works fine on my Dell Latitude 7390 laptop with model name :
Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
and Crystal Linux: https://getcryst.al/site
Den tis 23 jan. 2024 kl 02:02 skrev Greg Kroah-Hartman <[email protected]>:
Quoted 2,600 lines
This is the start of the stable review cycle for the 6.7.2 release. There are 641 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, 24 Jan 2024 23:56:49 +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/v6.x/stable-review/patch-6.7.2-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.7.y
and the diffstat can be found below.thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:Greg Kroah-Hartman <[email protected]>
Linux 6.7.2-rc1Marek Szyprowski <[email protected]>
i2c: s3c24xx: fix transferring more than one message in polling modeMarek Szyprowski <[email protected]>
i2c: s3c24xx: fix read transfers in polling modeNikita Zhandarovich <[email protected]>
ipv6: mcast: fix data-race inipv6_mc_down/mld_ifc_workAmit Cohen <[email protected]>
selftests: mlxsw:qos_pfc: Adjust the test to support 8 lanesPetr Machata <[email protected]>
mlxsw:spectrum_router: Register netdevice notifier before nexthopIdo Schimmel <[email protected]>
mlxsw:spectrum_acl_tcam: Fix stack corruptionIdo Schimmel <[email protected]>
mlxsw:spectrum_acl_tcam: Fix NULL pointer dereference in error pathAmit Cohen <[email protected]>
mlxsw:spectrum_acl_erp: Fix error flow of pool allocation failureChristoph Hellwig <[email protected]>
loop: fix the the direct I/O support check when used on top of block devicesLudvig Pärsson <[email protected]>
ethtool: netlink: Add missing ethnl_ops_begin/completeMark Brown <[email protected]>
arm64/ptrace: Don't flush ZA/ZT storage when writing ZA via ptraceChristophe JAILLET <[email protected]>
kdb: Fix a potential buffer overflow inkdb_local()Pavel Begunkov <[email protected]>
io_uring: adjust defer tw countingFedor Pchelkin <[email protected]>
ipvs: avoid stat macros calls from preemptible contextPablo Neira Ayuso <[email protected]>
netfilter:nf_tables: rejectNFT_SET_CONCATwith not field length descriptionPablo Neira Ayuso <[email protected]>
netfilter:nf_tables: skip dead set elements in netlink dumpPablo Neira Ayuso <[email protected]>
netfilter:nf_tables: do not allow mismatch field size and set key lengthPavel Tikhomirov <[email protected]>
netfilter: bridge: replace physindev with physinif innf_bridge_infoPavel Tikhomirov <[email protected]>
netfilter: propagate net tonf_bridge_get_physindevPavel Tikhomirov <[email protected]>
netfilter:nf_queue: remove excessnf_bridgevariablePavel Tikhomirov <[email protected]>
netfilter:nfnetlink_log: use proper helper for fetching physinifPablo Neira Ayuso <[email protected]>
netfilter:nft_limit: do not ignore unsupported flagsPablo Neira Ayuso <[email protected]>
netfilter:nf_tables: reject invalid set policyJakub Kicinski <[email protected]>
net: netdevsim: don't try to destroy PHC on VFsPaolo Abeni <[email protected]>
mptcp: relax check on MPC passive fallbackHengqi Chen <[email protected]>
LoongArch: BPF: Prevent out-of-bounds memory accessKunwu Chan <[email protected]>
net: dsa: vsc73xx: Add null pointer check tovsc73xx_gpio_probeHao Sun <[email protected]>
bpf: Reject variable offset alu onPTR_TO_FLOW_KEYSQiang Ma <[email protected]>
net: stmmac: ethtool: Fixed calltrace caused by unbalanceddisable_irq_wakecallsBenjamin Poirier <[email protected]>
selftests: bonding: Change script interpreterAlex Deucher <[email protected]>
drm/amdgpu: fall back to INPUT power for AVG power via INFO IOCTLDafna Hirschfeld <[email protected]>
drm/amdkfd: fixes for HMM mem allocationLukas Wunner <[email protected]>
gpiolib: Fix scope-basedgpio_devicerefcountingKai Vehmanen <[email protected]>
ASoC: SOF: ipc4-loader: remove the CPC check warningsSu Hui <[email protected]>
gpio: mlxbf3: add an error code check inmlxbf3_gpio_probeMichal Simek <[email protected]>
dt-bindings: gpio: xilinx: Fix node address in gpioNikita Yushchenko <[email protected]>
net: ravb: Fixdma_addr_ttruncation in error caseJohn Fastabend <[email protected]>
net: tls, fix WARNIING in__sk_msg_freeMartin KaFai Lau <[email protected]>
bpf: Avoid iter->offset making backward progress in bpf_iter_udpMartin KaFai Lau <[email protected]>
bpf:iter_udp: Retry with a larger batch size without going back to the previous bucketMarc Kleine-Budde <[email protected]>
net:netdev_queue:netdev_txq_completed_mb(): fix wake conditionEric Dumazet <[email protected]>
net: add more sanity check invirtio_net_hdr_to_skb()Gao Xiang <[email protected]>
erofs: fix inconsistent per-file compression formatEric Dumazet <[email protected]>
udp: annotate data-races around up->pendingSneh Shah <[email protected]>
net: stmmac: Fix ethool link settings ops for integrated PCSJens Axboe <[email protected]>
block: ensure we hold a queue reference when using queue limitsEric Dumazet <[email protected]>
mptcp: refineopt_mp_capabledeterminationEric Dumazet <[email protected]>
mptcp: useOPTION_MPTCP_MPJ_SYNinsubflow_check_req()Eric Dumazet <[email protected]>
mptcp: useOPTION_MPTCP_MPJ_SYNACKinsubflow_finish_connect()Eric Dumazet <[email protected]>
mptcp: strict validation before using mp_opt->hmacEric Dumazet <[email protected]>
mptcp:mptcp_parse_option()fix forMPTCPOPT_MP_JOINAmadeusz Sławiński <[email protected]>
ALSA: hda: Properly setup HDMI streamClaudiu Beznea <[email protected]>
net: phy: micrel: populate .soft_reset for KSZ9131Horatiu Vultur <[email protected]>
net: micrel: Fix PTP frame parsing for lan8841Chancel Liu <[email protected]>
ALSA: aloop: Introduce a function to get if access is interleaved modeTaehee Yoo <[email protected]>
amt: do not use overwrapped cb areaSanjuán García, Jorge <[email protected]>
net: ethernet: ti: am65-cpsw: Fix max mtu to fit ethernet framesNithin Dabilpuram <[email protected]>
octeontx2-af: CN10KB: Fix FIFO length calculation for RPM2David Howells <[email protected]>
rxrpc: Fix use of Don't Fragment flagVladimir Oltean <[email protected]>
net: dsa: fixnetdev_priv()dereference before check on non-DSA netdevice eventsLin Ma <[email protected]>
net: qualcomm: rmnet: fix global oob inrmnet_policyNiklas Schnelle <[email protected]>
s390/pci: fix max size calculation inzpci_memcpy_toio()AngeloGioacchino Del Regno <[email protected]>
ASoC: mediatek: sof-common: Add NULL check fornormal_linkstringJianjun Wang <[email protected]>
PCI: mediatek-gen3: Fix translation window size calculationGaosheng Cui <[email protected]>
apparmor: Fix memory leak inunpack_profile()Siddharth Vadapalli <[email protected]>
PCI: keystone: Fix race condition when initializing PHYsMaurizio Lombardi <[email protected]>
nvmet-tcp: Fix the H2C expected PDU len calculationHarshit Mogalapalli <[email protected]>
PCI: xilinx-xdma: Fix error code inxilinx_pl_dma_pcie_init_irq_domain()Krzysztof Wilczyński <[email protected]>
PCI: xilinx-xdma: Fix uninitialized symbols inxilinx_pl_dma_pcie_setup_irq()Arnd Bergmann <[email protected]>
nvme: trace: avoid memcpy overflow warningArnd Bergmann <[email protected]>
nvmet: re-fix tracingstrncpy()warningShameer Kolothum <[email protected]>
hisi_acc_vfio_pci: Update migration data pointer correctly on saving/resumeChristophe JAILLET <[email protected]>
spi: coldfire-qspi: Remove an erroneousclk_disable_unprepare()from the remove functionDan Williams <[email protected]>
cxl/port: Fix missing target list lockBen Gainey <[email protected]>
perf db-export: Fix missing reference count get incall_path_from_sample()Dan Carpenter <[email protected]>
cdx: Unlock on error path inrescan_store()Dan Carpenter <[email protected]>
cdx: callof_node_put()on error pathSam Ravnborg <[email protected]>
serial: apbuart: fix console prompt on qemuChristoph Niedermaier <[email protected]>
serial: imx: Correct clock error message in functionprobe()Chunfeng Yun <[email protected]>
usb: xhci-mtk: fix a short packet issue of gen1 isoc-in transferFedor Pchelkin <[email protected]>
apparmor: avoid crash when parsed profile name is emptyFedor Pchelkin <[email protected]>
apparmor: fix possible memory leak inunpack_trans_tableJim Harris <[email protected]>
cxl/region: fix x9 interleave typoIan Rogers <[email protected]>
perf stat: Fix hard coded LL miss unitsIan Rogers <[email protected]>
perf env: Avoid recursively taking env->bpf_progs.lockFedor Pchelkin <[email protected]>
apparmor: free the allocated pdb objectsChristoph Hellwig <[email protected]>
nvmet-tcp: fix a missing endianess conversion innvmet_tcp_try_peek_pduMaurizio Lombardi <[email protected]>
nvmet-tcp: fix a crash innvmet_req_complete()Maurizio Lombardi <[email protected]>
nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU lengthJohn Johansen <[email protected]>
apparmor: Fix ref count leak intask_killChristophe JAILLET <[email protected]>
vdpa: Fix an error handling path ineni_vdpa_probe()Kunwu Chan <[email protected]>
power: supply: Fix null pointer dereference insmb2_probeJing Zhang <[email protected]>
perf vendor events: Remove UTF-8 characters from cmn.jsonAshish Mhetre <[email protected]>
iommu: Don't reserve 0-length IOVA regionAyush Singh <[email protected]>
greybus: gb-beagleplay: Remove use of pad bytesAndrzej Pietrasiewicz <[email protected]>
usb: gadget: webcam: Makeg_webcamloadable againNícolas F. R. A. Prado <[email protected]>
spmi: mtk-pmif: Serialize PMIF status check and command submissionRob Herring <[email protected]>
cdx: Explicitly include correct DT includes, againDouglas Anderson <[email protected]>
usb: core: Fix crash w/usb_choose_configuration()if no driverDmitry Baryshkov <[email protected]>
arm64: dts: qcom: qrb5165-rb5: use u16 for DP altmode svidOliver Neukum <[email protected]>
usb: cdc-acm: return correct error code on unsupported breakManivannan Sadhasivam <[email protected]>
PCI: epf-mhi: Fix the DMA data direction ofdma_unmap_single()Manivannan Sadhasivam <[email protected]>
bus: mhi: ep: Passmhi_ep_buf_infostruct to read/write APIsManivannan Sadhasivam <[email protected]>
bus: mhi: ep: Use slab allocator where applicableManivannan Sadhasivam <[email protected]>
bus: mhi: ep: Do not allocate event ring element on stackNamhyung Kim <[email protected]>
perf unwind-libunwind: Fix base address for .eh_frameNamhyung Kim <[email protected]>
perf unwind-libdw: Handle JIT-generated DSOs properlyNamhyung Kim <[email protected]>
perf genelf: Set ELF program header addresses properlyYicong Yang <[email protected]>
perf hisi-ptt: Fix one memory leakage inhisi_ptt_process_auxtrace_event()Yicong Yang <[email protected]>
perf header: Fix one memory leakage inperf_event__fprintf_event_update()Nuno Sa <[email protected]>
iio: adc: ad9467: fix scale settingNuno Sa <[email protected]>
iio: adc: ad9467: add mutex to structad9467_stateNuno Sa <[email protected]>
iio: adc: ad9467: don't ignore error codesNuno Sa <[email protected]>
iio: adc: ad9467: fix reset gpio handlingZhao Mengmeng <[email protected]>
selftests/sgx: Skip nonX86_64platformJo Van Bulck <[email protected]>
selftests/sgx: Include memory clobber for inline asm in test enclaveJo Van Bulck <[email protected]>
selftests/sgx: Fix uninitialized pointer dereferences inencl_get_entryJo Van Bulck <[email protected]>
selftests/sgx: Fix uninitialized pointer dereference in error pathPaul Geurts <[email protected]>
serial: imx: fix tx statemachine deadlockSakari Ailus <[email protected]>
software node: Let args be NULL insoftware_node_get_reference_argsSakari Ailus <[email protected]>
acpi: property: Let args be NULL in__acpi_node_get_property_referenceGregory Price <[email protected]>
base/node.c: initialize the accessor list before registeringIan Rogers <[email protected]>
perf stat: Exit perf stat if parse groups failsKan Liang <[email protected]>
perf mem: Fix error on hybrid related to availability of mem event in a PMUAthira Rajeev <[email protected]>
perf vendor events powerpc: Update datasource event name to fix duplicate eventsIlkka Koskinen <[email protected]>
perf vendor events arm64 AmpereOne: RenameBPU_FLUSH_MEM_FAULTtoGPC_FLUSH_MEM_FAULTBrett Creeley <[email protected]>
vfio/pds: Fix calculations inpds_vfio_dirty_syncVeronika Molnarova <[email protected]>
perf test record user-regs: Fix mask for vg registerDouglas Anderson <[email protected]>
r8152: Choose our USB config withchoose_configuration()rather thanprobe()Douglas Anderson <[email protected]>
usb: core: Allow subclassed USB drivers to overrideusb_choose_configuration()Umang Jain <[email protected]>
staging:vc04_services: Do not pass NULL tovchiq_log_error()Umang Jain <[email protected]>
staging:vc04_services:vchiq_core: Log through structvchiq_instanceArnaldo Carvalho de Melo <[email protected]>
libapi: Add missinglinux/types.hheader to get the__u64type onio.hAdrian Hunter <[email protected]>
perf header: Fix segfault onbuild_mem_topology()error pathNick Forrington <[email protected]>
perf test: Remove atomics fromtest_loopto avoid test failuresLaurentiu Tudor <[email protected]>
iommu: Map reserved memory as cacheable if device is coherentUwe Kleine-König <[email protected]>
serial: 8250: omap: Don't skip resource freeing ifpm_runtime_resume_and_get()failedAndy Shevchenko <[email protected]>
PCI: Avoid potential out-of-bounds read inpci_dev_for_each_resource()Su Hui <[email protected]>
power: supply: bq256xx: fix some problem inbq256xx_hw_initJan Palus <[email protected]>
power: supply: cw2015: correcttime_to_emptyunits in sysfsChristophe JAILLET <[email protected]>
MIPS: Alchemy: Fix an out-of-bound access indb1550_dev_setup()Christophe JAILLET <[email protected]>
MIPS: Alchemy: Fix an out-of-bound access indb1200_dev_setup()Ankit Nautiyal <[email protected]>
drm/i915/dp: Fix the max DSC bpc supported by sourceFrederik Haxel <[email protected]>
riscv: Fixed wrong register inXIP_FIXUP_FLASH_OFFSETmacroAlexandre Ghiti <[email protected]>
riscv: Fixset_direct_map_default_noflush()to reset_PAGE_EXECAlexandre Ghiti <[email protected]>
riscv: Fixmodule_alloc()that did not reset the linear mapping permissionsAlexandre Ghiti <[email protected]>
riscv: Fix wrong usage oflm_alias()when splitting a huge linear mappingAlexandre Ghiti <[email protected]>
riscv: Check if the code to patch lies in the exit sectionVincent Whitchurch <[email protected]>
um: virt-pci: fix platform map offsetSerge Semin <[email protected]>
mips: Fix incorrectmax_low_pfnadjustmentSerge Semin <[email protected]>
mips: dmi: Fix early remap on MIPS32Sebastian Andrzej Siewior <[email protected]>
srcu: Use try-lock lockdep annotation for NMI-safe access.Andy Shevchenko <[email protected]>
mfd: intel-lpss: Fix the fractional clock divider flagsKunwu Chan <[email protected]>
mfd: tps6594: Add null pointer check totps6594_device_init()Martin Kurbanov <[email protected]>
leds: aw200xx: Fix write to DIM parameterDang Huynh <[email protected]>
leds: aw2013: Select missing dependencyREGMAP_I2CPaul E. McKenney <[email protected]>
rcu: Restrict access to RCU CPU stall notifiersKunwu Chan <[email protected]>
mfd: syscon: Fix null pointer dereference inof_syscon_register()Charles Keepax <[email protected]>
mfd: cs42l43: Correct SoundWire port listNeil Armstrong <[email protected]>
mfd: rk8xx: fixup devices registration withPLATFORM_DEVID_AUTORandy Dunlap <[email protected]>
ARM: 9330/1: davinci: also select PINCTRLHugo Villeneuve <[email protected]>
serial: sc16is7xx: set safe default SPI clock frequencyHugo Villeneuve <[email protected]>
serial: sc16is7xx: add check for unsupported SPI modes during probeJason Gerecke <[email protected]>
HID: wacom: Correct behavior when processing some confidence == false touchesYauhen Kharuzhy <[email protected]>
HID: sensor-hub: Enable hid core report processing for all devicesMarcelo Schmitt <[email protected]>
iio: adc: ad7091r: Passiio_devto event handlerSean Christopherson <[email protected]>
KVM: x86/pmu: Reset the PMU, i.e. stop counters, before refreshingSean Christopherson <[email protected]>
KVM: x86/pmu: Move PMU reset logic to common x86 codeOliver Upton <[email protected]>
KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cacheMarc Zyngier <[email protected]>
KVM: arm64: vgic-v4: Restore pending state on host userspace writeKirill A. Shutemov <[email protected]>
x86/kvm: Do not try to disable kvmclock if it was not enabledManivannan Sadhasivam <[email protected]>
ARM: dts: qcom: sdx55: Fix the base address of PCIe PHYqizhong cheng <[email protected]>
PCI: mediatek: Clear interrupt status before dispatching handlerNiklas Cassel <[email protected]>
PCI: dwc: endpoint: Fixdw_pcie_ep_raise_msix_irq()alignment supportBjorn Helgaas <[email protected]>
x86/pci: Reserve ECAM if BIOS didn't include it in PNP0C02_CRSTadeusz Struk <[email protected]>
PCI/P2PDMA: Remove reference topci_p2pdma_map_sg()Huang Ying <[email protected]>
cxl/port: Fix decoder initialization whennr_targets>interleave_waysChristian König <[email protected]>
drm/amdgpu: revert "Adjust removal control flow for smuv13_0_2"Sean Christopherson <[email protected]>
Revert "nSVM: Check for reserved encodings ofTLB_CONTROLin nested VMCB"Nicolas Dichtel <[email protected]>
Revert "net: rtnetlink: Enslave device before bringing it up"Romain Gantois <[email protected]>
net: stmmac: Prevent DSA tags from breaking COEPetr Tesarik <[email protected]>
net: stmmac: fix ethtool per-queue statisticsDavid Lin <[email protected]>
wifi: mwifiex: fix uninitializedfirmware_statDavid Lin <[email protected]>
wifi: mwifiex: configure BSSID consistently when starting APDavid Lin <[email protected]>
wifi: mwifiex: add extra delay for firmware readyIlpo Järvinen <[email protected]>
wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessorsIlpo Järvinen <[email protected]>
wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable codeChristian Marangi <[email protected]>
wifi: mt76: fix broken precal loading from MTD for mt7915Isaac J. Manjarres <[email protected]>
iommu/dma: Trace bounce buffer usage when mapping buffersRob Clark <[email protected]>
iommu/arm-smmu-qcom: Add missing GMU entry to match tableAurelien Jarno <[email protected]>
media: solo6x10: replacemax(a, min(b, c))byclamp(b, a, c)Jiri Olsa <[email protected]>
bpf: Fix re-attachment branch inbpf_tracing_prog_attachGui-Dong Han <[email protected]>
Bluetooth: Fix atomicity violation in {min,max}_key_size_setStefan Berger <[email protected]>
rootfs: Fix support for rootfstype= when root= is givenBart Van Assche <[email protected]>
md/raid1: Useblk_opf_tfor read and write operationsUwe Kleine-König <[email protected]>
pwm: Fix out-of-bounds access inof_pwm_single_xlate()Uwe Kleine-König <[email protected]>
pwm: jz4740: Don't use dev_err_probe() in .request()Pablo Neira Ayuso <[email protected]>
netfilter:nf_tables: check if catch-all set element is active in next generationMatthew Wilcox (Oracle) <[email protected]>
block: Fix iterating over an empty bio withbio_for_each_folio_allMatthew Wilcox (Oracle) <[email protected]>
block: Remove special-casing of compound pagesMin Li <[email protected]>
block: add check that partition length needs to be aligned with block sizeMario Limonciello <[email protected]>
drm/amd: Enable PCIe PME from D3Yu Kuai <[email protected]>
md: Fixmd_seq_ops()regressionsJunxiao Bi <[email protected]>
md: bypass block throttle for superblock updateChandrakanth patil <[email protected]>
scsi: mpi3mr: Block PEL Enable Command on Controller Reset and Unrecoverable StateChandrakanth patil <[email protected]>
scsi: mpi3mr: Clean up block devices post controller resetChandrakanth patil <[email protected]>
scsi: mpi3mr: Refresh sdev queue depth after controller resetAmir Goldstein <[email protected]>
scsi: target: core: add missing file_{start,end}_write()Bart Van Assche <[email protected]>
scsi: ufs: core: Simplify power management during async scanNam Cao <[email protected]>
fbdev: flush deferred IO before closingNam Cao <[email protected]>
fbdev: flush deferred work infb_deferred_io_fsync()Thomas Zimmermann <[email protected]>
fbdev/acornfb: Fix name offb_opsinitializer macroJens Axboe <[email protected]>
io_uring: ensure localtask_workis run on wait timeoutJens Axboe <[email protected]>
io_uring/rw: ensure io->bytes_done is always initializedPavel Begunkov <[email protected]>
io_uring: don't check iopoll if request completesXi Ruoyao <[email protected]>
LoongArch: Fix and simplify fcsr initialization onexecve()Eric Biggers <[email protected]>
ceph: selectFS_ENCRYPTION_ALGSifFS_ENCRYPTIONNamjae Jeon <[email protected]>
ksmbd: only v2 leases handle the directoryNamjae Jeon <[email protected]>
ksmbd: fix UAF issue inksmbd_tcp_new_connection()Namjae Jeon <[email protected]>
ksmbd: validate mech token in session setupBin Li <[email protected]>
ALSA: hda/realtek: Enable headset mic on Lenovo M70 Gen5Yo-Jung Lin <[email protected]>
ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on HP ZBookÇağhan Demir <[email protected]>
ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq2xxxTakashi Iwai <[email protected]>
ALSA: oxygen: Fix right channel of capture volume mixerLino Sanfilippo <[email protected]>
serial: omap: do not override settings for RS485 supportLino Sanfilippo <[email protected]>
serial: 8250_exar: Set missingrs485_supportedflagChristoph Niedermaier <[email protected]>
serial: imx: Ensure thatimx_uart_rs485_config()is called with enabled clockLino Sanfilippo <[email protected]>
serial: core, imx: do not set RS485 enabled if it is not supportedStefan Wahren <[email protected]>
serial: 8250_bcm2835aux: Restore clock error handlingLino Sanfilippo <[email protected]>
serial: core: set missing supported flag for RX during TX GPIOLino Sanfilippo <[email protected]>
serial: core: make sure RS485 cannot be enabled when it is not supportedLino Sanfilippo <[email protected]>
serial: core: fix sanitizing check for RTS settingsLino Sanfilippo <[email protected]>
serial: Do not hold the port lock when setting rx-during-tx GPIOKrzysztof Kozlowski <[email protected]>
dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: fix path to headerGui-Dong Han <[email protected]>
usb: mon: Fix atomicity violation inmon_bin_vma_faultRD Babiera <[email protected]>
usb: typec: class: fixtypec_altmode_put_partnerto put plugsHeikki Krogerus <[email protected]>
Revert "usb: typec: class: fixtypec_altmode_put_partnerto put plugs"Frank Li <[email protected]>
usb: cdns3: Fix uvc fail when DMA cross 4k boundery since sg enabledFrank Li <[email protected]>
usb: cdns3: fix iso transfer error when mult is not zeroFrank Li <[email protected]>
usb: cdns3: fix uvc failure work since sg support enabledXu Yang <[email protected]>
usb: chipidea: wait controller resume finished for wakeup irqThinh Nguyen <[email protected]>
Revert "usb: dwc3: don't reset device side if dwc3 was configured as host-only"Thinh Nguyen <[email protected]>
Revert "usb: dwc3: Soft reset phy on probe for host"Wesley Cheng <[email protected]>
usb: dwc3: gadget: Queue PM runtime idle on disconnect eventWesley Cheng <[email protected]>
usb: dwc3: gadget: Handle EP0 request dequeuing properlyUttkarsh Aggarwal <[email protected]>
usb: dwc: ep0: Update request status indwc3_ep0_stall_restartXu Yang <[email protected]>
usb: phy: mxs: removeCONFIG_USB_OTGcondition formxs_phy_is_otg_host()Richard Acayan <[email protected]>
usb: gadget:u_ether: Re-attach netif device to mirror detachmentFrank Li <[email protected]>
Revert "usb: gadget:f_uvc: change endpoint allocation inuvc_function_bind()"Heiko Carstens <[email protected]>
tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplugMichael Ellerman <[email protected]>
powerpc/64s: Increase default stack size to 32KBArnd Bergmann <[email protected]>
clocksource/drivers/ep93xx: Fix error handling during probeInochi Amaoto <[email protected]>
dt-bindings: timer: thead,c900-aclint-mtimer: separate mtime and mtimecmp regsTony Lindgren <[email protected]>
clocksource/drivers/timer-ti-dm: Fix make W=n kerneldoc warningsCarlos Llamas <[email protected]>
binder: fix race betweenmmput()anddo_exit()Jan Beulich <[email protected]>
xen-netback: don't produce zero-size SKB fragsKaibo Ma <[email protected]>
Revert "drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole"Matthew Maurer <[email protected]>
rust: Ignore preserve-most functionsHans de Goede <[email protected]>
Input: atkbd - use ab83 as id when skipping the getid commandCarlos Llamas <[email protected]>
binder: fix unused alloc->free_async_spaceCarlos Llamas <[email protected]>
binder: fix async space check for 0-sized buffersJordan Rome <[email protected]>
selftests/bpf: Add assert for user stacks intest_task_stackTejun Heo <[email protected]>
Revert "kernfs: convertkernfs_idr_lockto an irq safe raw spinlock"Andrea Righi <[email protected]>
kernfs: convertkernfs_idr_lockto an irq safe raw spinlockJing Xia <[email protected]>
class: fix use-after-free inclass_register()Geert Uytterhoeven <[email protected]>
of: unittest: Fixof_count_phandle_with_args()expected value messageDario Binacchi <[email protected]>
fbdev: imxfb: fix left margin settingChristian A. Ehrhardt <[email protected]>
of: Fix double free inof_parse_phandle_with_args_mapLi Nan <[email protected]>
ksmbd: validate the zero field of packet headerMirsad Todorovac <[email protected]>
kselftest/alsa - conf: Stringify the printed errno insysfs_get()Mirsad Todorovac <[email protected]>
kselftest/alsa - mixer-test: Fix the print format specifier warningMirsad Todorovac <[email protected]>
kselftest/alsa - mixer-test: fix the number of parameters toksft_exit_fail_msg()Arnd Bergmann <[email protected]>
drm/amd/display: avoid stringop-overflow warnings fordp_decide_lane_settings()Zhipeng Lu <[email protected]>
drm/amd/pm/smu7: fix a memleak insmu7_hwmgr_backend_initSrinivasan Shanmugam <[email protected]>
drm/amdkfd: Confirm list is non-empty before utilizinglist_first_entryinkfd_topology.cSergey Gorenko <[email protected]>
IB/iser: Prevent invalidating wrong MRSrinivasan Shanmugam <[email protected]>
drm/amdkfd: Fix type of 'dbg_flags' in 'structkfd_process'Peter Robinson <[email protected]>
mmc:sdhci_omap: Fix TI SoC dependenciesPeter Robinson <[email protected]>
mmc:sdhci_am654: Fix TI SoC dependenciesGeoffrey D. Bennett <[email protected]>
ALSA: scarlett2: Add missing mutex lock around get meter levelsGeoffrey D. Bennett <[email protected]>
ALSA: scarlett2: Addclamp()inscarlett2_mixer_ctl_put()Geoffrey D. Bennett <[email protected]>
ALSA: scarlett2: Add missing error checks to*_ctl_get()Geoffrey D. Bennett <[email protected]>
ALSA: scarlett2: Add missing error check toscarlett2_usb_set_config()Geoffrey D. Bennett <[email protected]>
ALSA: scarlett2: Add missing error check toscarlett2_config_save()Hans de Goede <[email protected]>
ASoC: rt5645: Drop double EF20 entry from dmi_platform_data[]Philipp Zabel <[email protected]>
pwm: stm32: Fix enable count for clk in .probe()Philipp Zabel <[email protected]>
pwm: stm32: Use hweight32 instm32_pwm_detect_channelsThéo Lebrun <[email protected]>
clk: fixed-rate: fixclk_hw_register_fixed_rate_with_accuracy_parent_hwKonrad Dybcio <[email protected]>
clk: qcom: dispcc-sm8550: Use the correct PLL configuration functionKonrad Dybcio <[email protected]>
clk: qcom: dispcc-sm8550: Update disp PLL settingsKonrad Dybcio <[email protected]>
clk: qcom: gpucc-sm8550: Update GPU PLL settingsKonrad Dybcio <[email protected]>
clk: qcom: gcc-sm8550: Mark RCGs shared where applicableKonrad Dybcio <[email protected]>
clk: qcom: gcc-sm8550: use collapse-voting for PCIe GDSCsKonrad Dybcio <[email protected]>
clk: qcom: gcc-sm8550: Mark the PCIe GDSCs votableKonrad Dybcio <[email protected]>
clk: qcom: gcc-sm8550: Add the missingRETAIN_FF_ENABLEGDSC flagXingyuan Mo <[email protected]>
accel/habanalabs: fix information leak insec_attest_info()Nícolas F. R. A. Prado <[email protected]>
drm/mediatek: dp: Addphy_mtk_dpmodule as pre-dependencyGergo Koteles <[email protected]>
ASoC: tas2781: add support for FW version 0x0503Cristian Ciocaltea <[email protected]>
ASoC: amd: vangogh: Drop conflicting ACPI-based probingSu Hui <[email protected]>
clk: si5341: fix an error code problem insi5341_output_clk_set_rateMarek Vasut <[email protected]>
clk: rs9: Fix DIF OEn bit placement on 9FGV0241Vignesh Raghavendra <[email protected]>
watchdog:rti_wdt: Drop runtime pm reference count when watchdog is unusedStefan Wahren <[email protected]>
watchdog:bcm2835_wdt: FixWDIOC_SETTIMEOUThandlingJerry Hoemann <[email protected]>
watchdog/hpwdt: Only claim UNKNOWN NMI if from iLOCurtis Klein <[email protected]>
watchdog: set cdev owner before addingJay Buddhabhatti <[email protected]>
drivers: clk: zynqmp: update divider round rate logicJay Buddhabhatti <[email protected]>
drivers: clk: zynqmp: calculate closest mux rateYang Yingliang <[email protected]>
clk: sp7021: fix return value check insp7021_clk_probe()Satya Priya Kakitapalli <[email protected]>
clk: qcom: videocc-sm8150: Add missing PLL config propertyZhiguo Niu <[email protected]>
f2fs: fix to check return value off2fs_recover_xattr_dataZhipeng Lu <[email protected]>
drm/amd/pm: fix a double-free inamdgpu_parse_extended_power_tableZhipeng Lu <[email protected]>
gpu/drm/radeon: fix two memleaks inradeon_vm_initZhipeng Lu <[email protected]>
drivers/amd/pm: fix a use-after-free inkv_parse_power_tableZhipeng Lu <[email protected]>
drm/amd/pm: fix a double-free insi_dpm_initAlex Deucher <[email protected]>
drm/amdgpu/debugfs: fix error code when smc register accessors are NULLHsiao Chien Sung <[email protected]>
drm/mediatek: Fix underrun in VDO1 when switches off the layerHsiao Chien Sung <[email protected]>
drm/mediatek: Remove the redundant driver data for DPIHsiao Chien Sung <[email protected]>
drm/mediatek: Return error if MDP RDMA failed to enable the clockArnd Bergmann <[email protected]>
media: i2c: mt9m114: usefsleep()in place ofudelay()Jessica Zhang <[email protected]>
drm/msm/dpu: Drop enable andframe_countparameters fromdpu_hw_setup_misr()Jessica Zhang <[email protected]>
drm/msm/dpu: Setinput_selbit for INTFClaudiu Beznea <[email protected]>
clk: renesas: rzg2l: Check reset monitor registersClaudiu Beznea <[email protected]>
clk: renesas: rzg2l-cpg: Reuse code inrzg2l_cpg_reset()Christophe JAILLET <[email protected]>
media: dvb-frontends: m88ds3103: Fix a memory leak in an error handling path ofm88ds3103_probe()Dan Carpenter <[email protected]>
media: dvbdev: drop refcount on error path indvb_device_open()Chao Yu <[email protected]>
f2fs: fix to update iostat correctly inf2fs_filemap_fault()Chao Yu <[email protected]>
f2fs: fix to check compress file inf2fs_move_file_range()Chao Yu <[email protected]>
f2fs: fix to wait on block writeback forpost_readcaseChris Morgan <[email protected]>
drm/panel: st7701: Fix AVCL calculationBjorn Andersson <[email protected]>
drm/msm/adreno: Fix A680 chip idTomi Valkeinen <[email protected]>
media: rkisp1: Fix memory leaks inrkisp1_isp_unregister()Tomi Valkeinen <[email protected]>
media: rkisp1: Fix media device memory leakMehdi Djait <[email protected]>
media: dt-bindings: media: rkisp1: Fix the port description for the parallel interfaceTomi Valkeinen <[email protected]>
media: imx-mipi-csis: Drop extra clock enable atprobe()Tomi Valkeinen <[email protected]>
media: imx-mipi-csis: Fix clock handling inremove()Hans Verkuil <[email protected]>
media: videobuf2: request more buffers forvb2_readHans Verkuil <[email protected]>
media: bttv: add back vbi hackHans Verkuil <[email protected]>
media: bttv:start_streamingshould return a proper error codeDaniel Rosenberg <[email protected]>
f2fs: Restrict max filesize for 16K f2fsSatya Priya Kakitapalli <[email protected]>
clk: qcom: gpucc-sm8150: Update thegpu_cc_pll1configChengchang Tang <[email protected]>
RDMA/hns: Fix memory leak infree_mr_init()Pierre-Louis Bossart <[email protected]>
ASoC: SOF: Intel: pci-mtl: fix ARL-S definitionsZhipeng Lu <[email protected]>
media: cx231xx: fix a memleak incx231xx_init_isocTomi Valkeinen <[email protected]>
drm/bridge: tc358767: Fix return value on error caseTomi Valkeinen <[email protected]>
drm/bridge: cdns-mhdp8546: Fix use of uninitialized variableZhipeng Lu <[email protected]>
drm/radeon/trinity_dpm: fix a memleak intrinity_parse_power_tableZhipeng Lu <[email protected]>
drm/radeon/dpm: fix a memleak insumo_parse_power_tableYang Yingliang <[email protected]>
drm/radeon: check thealloc_workqueuereturn value inradeon_crtc_init()Alex Hung <[email protected]>
drm/amd/display: Check writeback connectors increate_validate_stream_for_sinkHarry Wentland <[email protected]>
drm/amd/display: Usedrm_connectorincreate_stream_for_sinkHarry Wentland <[email protected]>
drm/amd/display: Returndrm_connectorfromfind_first_crtc_matching_connectorDmitry Baryshkov <[email protected]>
drm/msm/dpu: correct clk bit for WB2 blockAngeloGioacchino Del Regno <[email protected]>
drm/panfrost: Ignorecore_maskfor poweroff and disable PWRTRANS irqDmitry Baryshkov <[email protected]>
drm/msm/dpu: populate SSPP scaler block versionDmitry Baryshkov <[email protected]>
drm/msm/dpu: enable SmartDMA on SM8450Bard Liao <[email protected]>
ASoC: SOF: topology: Use partial match for disconnecting DAI link and DAI widgetBard Liao <[email protected]>
ASoC: Intel: sof_sdw_rt_sdca_jack_common: ctx->headset_codec_dev = NULLBrent Lu <[email protected]>
ASoC: Intel:glk_rt5682_max98357a: fix board id mismatchSebastian Reichel <[email protected]>
media: v4l: async: Fix duplicated list deletionDmitry Baryshkov <[email protected]>
drm/drv: propagate errors fromdrm_modeset_register_all()Konrad Dybcio <[email protected]>
drm/msm/dsi: Usepm_runtime_resume_and_getto prevent refcnt leaksBjorn Andersson <[email protected]>
drm/msm/dpu: Add missing safe_lut_tbl in sc8180x catalogDmitry Baryshkov <[email protected]>
drm/msm/mdp4: flush vblank event on disableArnd Bergmann <[email protected]>
drm/msm/a6xx: add QMP dependencyLinus Walleij <[email protected]>
ASoC: cs35l34: Fix GPIO name and drop legacy includeLinus Walleij <[email protected]>
ASoC: cs35l33: Fix GPIO name and drop legacy includeUwe Kleine-König <[email protected]>
drm/imx/lcdc: Fix double-free of driver dataTomi Valkeinen <[email protected]>
drm/tidss: Fix dss resetTomi Valkeinen <[email protected]>
drm/tidss: Check for K2G in indispc_softreset()Tomi Valkeinen <[email protected]>
drm/tidss: Return error value from from softresetTomi Valkeinen <[email protected]>
drm/tidss: Move reset to the end ofdispc_init()Mario Limonciello <[email protected]>
drm/amd/display: Fix NULL pointer dereference at hibernateNikita Zhandarovich <[email protected]>
drm/radeon: check return value ofradeon_ring_lock()Nikita Zhandarovich <[email protected]>
drm/radeon/r100: Fix integer overflow issues inr100_cs_track_check()Nikita Zhandarovich <[email protected]>
drm/radeon/r600_cs: Fix possible int overflows inr600_cs_check_reg()Arnd Bergmann <[email protected]>
ASoC:fsl_rpmsg: updateKconfigdependenciesThomas Zimmermann <[email protected]>
fbdev/sm712fb: Use correct initializer macros for structfb_opsXin Ji <[email protected]>
Revert "drm/bridge: Add 200ms delay to wait FW HPD status stable"Chao Yu <[email protected]>
f2fs: fix to avoid dirent corruptionLiu Ying <[email protected]>
drm/bridge: imx93-mipi-dsi: Fix a couple of building warningsDario Binacchi <[email protected]>
drm/bridge: Fix typo inpost_disable()descriptionLuben Tuikov <[email protected]>
drm/sched: Fix bounds limiting when given a malformed entityAlexander Stein <[email protected]>
media: amphion: Fix VPU core alias namePaul Kocialkowski <[email protected]>
media: rkvdec: Hook the (TRY_)DECODER_CMD stateless ioctlsPaul Kocialkowski <[email protected]>
media: verisilicon: Hook the (TRY_)DECODER_CMD stateless ioctlsPaul Kocialkowski <[email protected]>
media: visl: Hook the (TRY_)DECODER_CMD stateless ioctlsZheng Wang <[email protected]>
media: mtk-jpeg: Remove cancel worker inmtk_jpeg_removeto avoid the crash of multi-core JPEG devicesRicardo B. Marliere <[email protected]>
media: pvrusb2: fix use after free on context disconnectionTomi Valkeinen <[email protected]>
drm/tilcdc: Fix irq free on unloadUwe Kleine-König <[email protected]>
drm/bridge: tpd12s015: Drop buggy__exitannotation for remove functionAbhinav Singh <[email protected]>
drm/nouveau/fence:: fix warning directly dereferencing a rcu pointerChris Morgan <[email protected]>
drm/panel-elida-kd35t133: hold panel in reset for unprepareChris Morgan <[email protected]>
drm/panel: nv3051d: Hold panel in reset for unprepareJunxian Huang <[email protected]>
RDMA/hns: Fix inappropriate err code for unsupported operationsLeon Romanovsky <[email protected]>
RDMA/usnic: Silence uninitialized symbol smatch warningsAngeloGioacchino Del Regno <[email protected]>
drm/panfrost: Really power off GPU cores inpanfrost_gpu_power_off()Ville Syrjälä <[email protected]>
drm/dp_mst: Fix fractional DSC bpp handlingJouni Högander <[email protected]>
drm/i915/display: Move releasing gem object away from fb trackingTomi Valkeinen <[email protected]>
Revert "drm/omapdrm: Annotate dma-fence critical section in commit path"Tomi Valkeinen <[email protected]>
Revert "drm/tidss: Annotate dma-fence critical section in commit path"Arnd Bergmann <[email protected]>
ARM: davinci: always selectCONFIG_CPU_ARM926TEric Dumazet <[email protected]>
ip6_tunnel: fixNEXTHDR_FRAGMENThandling inip6_tnl_parse_tlv_enc_lim()David Howells <[email protected]>
rxrpc: Fix skbuff cleanup of call'srecvmsg_queueandrx_oos_queueAsmaa Mnebhi <[email protected]>
mlxbf_gige: Enable the GigE port inmlxbf_gige_openAsmaa Mnebhi <[email protected]>
mlxbf_gige: Fix intermittent no ip issueTao Liu <[email protected]>
net/sched:act_ct: fix skb leak and crash on ooo fragsMing Lei <[email protected]>
blk-cgroup: fix rcu lockdep warning inblkg_lookup()Ilya Leoshkevich <[email protected]>
s390/bpf: Fix gotol with large offsetsEric Dumazet <[email protected]>
sctp: fix busy pollingEric Dumazet <[email protected]>
sctp: supportMSG_ERRQUEUEflag inrecvmsg()John Fastabend <[email protected]>
bpf: sockmap, fix proto update hook to avoid dup callsBenjamin Berg <[email protected]>
wifi: cfg80211: parse all ML elements in an ML probe responseBenjamin Berg <[email protected]>
wifi: cfg80211: correct comment about MLD IDKunwu Chan <[email protected]>
ice: Fix some null pointer dereference issues inice_ptp.cAndy Yan <[email protected]>
arm64: dts: rockchip: Fix led pinctrl of lubancat 1Christoph Hellwig <[email protected]>
null_blk: don't capmax_hw_sectorstoBLK_DEF_MAX_SECTORSFrancesco Dolcini <[email protected]>
Bluetooth: btmtkuart: fixrecv_buf()return valueFrancesco Dolcini <[email protected]>
Bluetooth: btnxpuart: fixrecv_buf()return valueLuiz Augusto von Dentz <[email protected]>
Bluetooth: Fix bogus check for re-auth no supported with non-sspPablo Neira Ayuso <[email protected]>
netfilter:nf_tables: validate chain type update if availableFlorian Westphal <[email protected]>
netfilter:nf_tables: mark newset as dead on transaction abortMiri Korenblit <[email protected]>
wifi: iwlwifi: assignphy_ctxtbefore eSR activationAnjaneyulu <[email protected]>
wifi: iwlwifi: fix out of boundcopy_from_userIlan Peer <[email protected]>
wifi: iwlwifi: mvm: Do not warn if valid link pair was not foundJohannes Berg <[email protected]>
wifi: iwlwifi: mvm: send TX path flush in rfkillJohannes Berg <[email protected]>
wifi: iwlwifi: mvm: set siso/mimo chains to 1 in FW SMPS requestAyala Beker <[email protected]>
wifi: mac80211: fix advertised TTLM schedulingSu Hui <[email protected]>
wifi: rtlwifi: rtl8192se: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: rtl8192ee: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: rtl8192de: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: rtl8192ce: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: rtl8192cu: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: rtl8192c: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: rtl8188ee: phy: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: addcalculate_bit_shift()Hou Tao <[email protected]>
bpf: Use c->unit_size to select target cache during freeKonrad Dybcio <[email protected]>
arm64: dts: qcom: sc8180x: Fix up PCIe nodesKonrad Dybcio <[email protected]>
arm64: dts: qcom: sc8180x: Mark PCIe hosts cache-coherentKonrad Dybcio <[email protected]>
arm64: dts: qcom: sm8550: Update idle state time requirementsKonrad Dybcio <[email protected]>
arm64: dts: qcom: sm8550: Separate out X3 idle stateChukun Pan <[email protected]>
arm64: dts: qcom: ipq6018: fix clock rates forGCC_USB0_MOCK_UTMI_CLKKonrad Dybcio <[email protected]>
arm64: dts: qcom: sc7280: Mark SDHCI hosts as cache-coherentLi Nan <[email protected]>
block: add check of 'minors' and 'first_minor' indevice_add_disk()Abel Vesa <[email protected]>
soc: qcom: llcc: FixLLCC_TRP_ATTR2_CFGnoffsetBartosz Golaszewski <[email protected]>
firmware: qcom: qseecom: fix memory leaks in error pathsDmitry Baryshkov <[email protected]>
arm64: dts: qcom: sm8150-hdk: fix SS USB regulatorsDmitry Baryshkov <[email protected]>
arm64: dts: qcom: sm8150: make dispcc cast minimal vote on MMCXKonrad Dybcio <[email protected]>
arm64: dts: qcom: sm6375: Hook up MPMJohan Hovold <[email protected]>
arm64: dts: qcom: sm6375: fix USB wakeup interrupt typesAtul Dhudase <[email protected]>
soc: qcom: llcc: Fixdis_cap_allocandretain_on_pcconfigurationNikita Travkin <[email protected]>
arm64: dts: qcom: acer-aspire1: Correct audio codec definitionHou Tao <[email protected]>
bpf: Limit the number of kprobes when attaching program to multiple kprobesHou Tao <[email protected]>
bpf: Limit the number of uprobes when attaching program to multiple uprobesJoakim Zhang <[email protected]>
dma-mapping: clear dev->dma_mem to NULL after freeing itArseniy Krasnov <[email protected]>
virtio/vsock: send credit update during settingSO_RCVLOWATArseniy Krasnov <[email protected]>
virtio/vsock: fix logic which reduces credit update messagesLeone Fernando <[email protected]>
ipmr: supportIP_PKTINFOon cache report IGMP msgHangbin Liu <[email protected]>
selftests/net: fix grep checking forfib_nexthop_multiprefixYonghong Song <[email protected]>
bpf: Fix a race condition betweenbtf_put()andmap_free()Ahmad Fatoum <[email protected]>
ARM: dts: stm32: don't mix SCMI and non-SCMI board compatiblesTushar Vyavahare <[email protected]>
selftests/xsk: Fix forSEND_RECEIVE_UNALIGNEDtestYihang Li <[email protected]>
scsi:hisi_sas: Correct the number of global debugfs registersYihang Li <[email protected]>
scsi:hisi_sas: Rollback some operations if FLR failedYihang Li <[email protected]>
scsi:hisi_sas: Check before using pointer variablesYihang Li <[email protected]>
scsi:hisi_sas: Replace with standard error code return valueManivannan Sadhasivam <[email protected]>
scsi: ufs: qcom: Fix the return value whenplatform_get_resource_byname()failsManivannan Sadhasivam <[email protected]>
scsi: ufs: qcom: Fix the return value ofufs_qcom_ice_program_key()Adam Ford <[email protected]>
arm64: dts: imx8mm: Reduce GPU to nominal speedGeert Uytterhoeven <[email protected]>
arm64: dts: renesas: white-hawk-cpu: Fix missing serial console pin controlRob Herring <[email protected]>
arm64: dts: xilinx: Apply overlays to base dtbsLi Nan <[email protected]>
block: Setmemalloc_noioto false ondevice_add_disk()error pathYiFei Zhu <[email protected]>
selftests/bpf: Relaxtime_taitest for equal timestamps intai_forwardMiri Korenblit <[email protected]>
wifi: iwlwifi: don't support triggered EHT CQI feedbackMing Yen Hsieh <[email protected]>
wifi: mt76: mt7921: fix wrong 6Ghz power typeMing Yen Hsieh <[email protected]>
wifi: mt76: mt7921: fix CLC command timeout when suspend/resumeMing Yen Hsieh <[email protected]>
wifi: mt76: mt7921: fix country count limitation for CLCEugen Hristev <[email protected]>
arm64: dts: mediatek: mt8186: fix address warning for ADSP mailboxesChen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8186: Fix alias prefix forovl_2l0Moudy Ho <[email protected]>
arm64: dts: mediatek: mt8195: revise VDOSYS RDMA node nameMoudy Ho <[email protected]>
arm64: dts: mediatek: mt8183: correct MDP3 DMA-related nodesMoudy Ho <[email protected]>
dt-bindings: media: mediatek: mdp3: correct RDMA and WROT node with generic namesTiezhu Yang <[email protected]>
test_bpf: Rename secondALU64_SMOD_XtoALU64_SMOD_KAndrei Matei <[email protected]>
bpf: Fix accesses to uninit stack slotsAndrei Matei <[email protected]>
bpf: Guard stack limits against 32bit overflowJohan Hovold <[email protected]>
arm64: dts: hisilicon: hikey970-pmic: fix regulator cells propertiesAndrei Matei <[email protected]>
bpf: Fix verification of indirect var-off stack accessWang Zhao <[email protected]>
wifi: mt76: mt7921s: fix workqueue problem causes STA association failArnd Bergmann <[email protected]>
wifi: mt76: mt7996: fix mt7996_mcu_all_sta_info_event struct packingStanleyYP Wang <[email protected]>
wifi: mt76: mt7915: also MT7981 is 3T3R but nss2 on 5 GHz bandStanleyYP Wang <[email protected]>
wifi: mt76: mt7915: fix EEPROM offset of TSSI flag on MT7981StanleyYP Wang <[email protected]>
wifi: mt76: mt7996: fix alignment of sta info eventMeiChia Chiu <[email protected]>
wifi: mt76: mt7996: fix rate usage of inband discovery framesSujuan Chen <[email protected]>
wifi: mt76: mt7996: fix the size of structbss_rate_tlvLorenzo Bianconi <[email protected]>
wifi: mt76: mt7915: fallback to non-wed mode ifplatform_get_resourcefails inmt7915_mmio_wed_init()Christian Marangi <[email protected]>
wifi: mt76: fix typo inmt76_get_of_eeprom_from_nvmemfunctionYi-Chia Hsieh <[email protected]>
wifi: mt76: mt7996: fix uninitialized variable in parsing txfreeJohan Hovold <[email protected]>
arm64: dts: qcom: sm8550: fix USB wakeup interrupt typesJohan Hovold <[email protected]>
arm64: dts: qcom: sc7280: fixusb_2wakeup interrupt typesJohan Hovold <[email protected]>
arm64: dts: qcom: sa8775p: fix USB wakeup interrupt typesKonrad Dybcio <[email protected]>
arm64: dts: qcom: sc7280: Mark Adreno SMMU as DMA coherentKonrad Dybcio <[email protected]>
arm64: dts: qcom: sc7280: Fix up GPU SIDsNia Espera <[email protected]>
arm64: dts: qcom: sm8350: Fix DMA0 addressKrzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm6125: add interrupts to DWC3 USB controllerKrzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sdm845-db845c: correct LED panic indicatorKrzysztof Kozlowski <[email protected]>
arm64: dts: qcom: qrb5165-rb5: correct LED panic indicatorCaleb Connolly <[email protected]>
arm64: dts: qcom: qrb2210-rb1: use USB host modeArtem Chernyshev <[email protected]>
scsi: fnic: Return error ifvmalloc()failedAndrii Nakryiko <[email protected]>
bpf: fix check for attempt to corrupt spilled pointerHangbin Liu <[email protected]>
selftests/net: specify the interface when do arpingHou Tao <[email protected]>
bpf: Defer the free of inner map when necessaryHou Tao <[email protected]>
bpf: Add map andneed_deferparameters to .map_fd_put_ptr()Douglas Anderson <[email protected]>
arm64: dts: qcom: sm6350: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sc8280xp: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sa8775p: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sm8250: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sm8150: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sdm845: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sc7280: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggeredKrzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8550: correct TX Soundwire clockKrzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8450: correct TX Soundwire clockBjorn Andersson <[email protected]>
arm64: dts: qcom: sc8180x-primus: Fix HALL_INT polarityStephen Boyd <[email protected]>
dt-bindings: arm: qcom: Fix html linkKrzysztof Kozlowski <[email protected]>
ARM: dts: qcom: sdx65: correct SPMI node nameKrzysztof Kozlowski <[email protected]>
ARM: dts: qcom: sdx65: correct PCIe EP phy-namesAndrii Nakryiko <[email protected]>
bpf: enforce precision of R0 on callback returnYu Kuai <[email protected]>
md: synchronize flush io with array reconfigurationJeroen van Ingen Schenau <[email protected]>
selftests/bpf: Fix erroneous bitmask operationMartin Blumenstingl <[email protected]>
wifi: rtw88: sdio: Honor the hostmax_req_sizein the RX pathJan Kiszka <[email protected]>
arm64: dts: ti: iot2050: Re-add aliasesTomi Valkeinen <[email protected]>
arm64: dts: ti: k3-am65-main: Fix DSS irq trigger typeNitin Yadav <[email protected]>
arm64: dts: ti: k3-am62a-main: Fix GPIO pin count in DT nodesSu Hui <[email protected]>
wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behaviorKarthikeyan Periyasamy <[email protected]>
wifi: ath12k: fix the error handler of rfkill configBart Van Assche <[email protected]>
scsi: bfa: Use the proper data type for BLIST flagsChristophe JAILLET <[email protected]>
firmware:ti_sci: Fix an off-by-one inti_sci_debugfs_create()Peter Delevoryas <[email protected]>
net/ncsi: Fix netlink major/minor version numbersJustin Tee <[email protected]>
scsi: lpfc: Fixlist_entrynull check warning inlpfc_cmpl_els_plogi()Dmitry Baryshkov <[email protected]>
ARM: dts: qcom: apq8064: correct XOADC register addressArnd Bergmann <[email protected]>
wifi: libertas: stop selecting wextLuca Weiss <[email protected]>
wifi: ath11k: Defer onrproc_getfailureJordan Rome <[email protected]>
bpf: Add crosstask check to__bpf_get_stackDave Marchevsky <[email protected]>
bpf: AddKF_RCUflag tobpf_refcount_acquire_implFlorian Lehner <[email protected]>
bpf, lpm: Fix check prefixlen before walking trieChih-Kang Chang <[email protected]>
wifi: rtw88: fix RX filter inFIF_ALLMULTIflagDan Carpenter <[email protected]>
wifi: plfxlc: check for allocation failure inplfxlc_usb_wreq_async()Luca Weiss <[email protected]>
ARM: dts: qcom: msm8226: provide dsi phy clocks to mmccJohan Hovold <[email protected]>
arm64: dts: qcom: sc8280xp-x13s: add missing camera LED pin configKonrad Dybcio <[email protected]>
arm64: dts: qcom: sc8280xp-x13s: Use the correct DP PHY compatibleCaleb Connolly <[email protected]>
arm64: dts: qcom: qrb4210-rb2: don't force usb peripheral modeDavid McKay <[email protected]>
asm-generic: Fix 32 bit__generic_cmpxchg_localBenjamin Coddington <[email protected]>
SUNRPC: Fixup v4.1 backchannel request timeoutsTrond Myklebust <[email protected]>
pNFS: Fix the pnfs block driver's calculation of layoutget sizeOlga Kornievskaia <[email protected]>
SUNRPC: fix_xprt_switch_find_current_entrylogicTrond Myklebust <[email protected]>
NFSv4.1/pnfs: Ensure we handle the errorNFS4ERR_RETURNCONFLICTScott Mayhew <[email protected]>
NFS: Use parent's objective cred innfs_access_login_time()Benjamin Coddington <[email protected]>
blocklayoutdriver: Fix reference leak ofpnfs_device_nodeArnd Bergmann <[email protected]>
csky: fixarch_jump_label_transform_staticoverrideDavid Howells <[email protected]>
keys, dns: Fix size check of V1 server-list headerChengming Zhou <[email protected]>
crypto: scomp - fix req->dst buffer overflowOvidiu Panait <[email protected]>
crypto: sahara - do not resize req->src when doing hash operationsOvidiu Panait <[email protected]>
crypto: sahara - fix processing hash requests with req->nbytes < sg->lengthOvidiu Panait <[email protected]>
crypto: sahara - improve error handling insahara_sha_process()Ovidiu Panait <[email protected]>
crypto: sahara - fixwait_for_completion_timeout()error handlingOvidiu Panait <[email protected]>
crypto: sahara - fix ahash reqsizeOvidiu Panait <[email protected]>
crypto: sahara - handle zero-length aes requestsOvidiu Panait <[email protected]>
crypto: sahara - avoid skcipher fallback code duplicationwangyangxin <[email protected]>
crypto: virtio - Wait for tasklet to complete on device removeAlexander Aring <[email protected]>
dlm: fix format seq ops type 4Edward Adam Davis <[email protected]>
gfs2: fix kernel BUG ingfs2_quota_cleanupOsama Muhammad <[email protected]>
gfs2: Fix kernel NULL pointer dereference ingfs2_rgrp_dumpChristian Brauner <[email protected]>
fs: indicate request originates from old mount APIGao Xiang <[email protected]>
erofs: fix memory leak on short-lived bounced pagesSergey Shtylyov <[email protected]>
pstore:ram_core: fix possible overflow inpersistent_ram_init_ecc()Zhiqi Song <[email protected]>
crypto: hisilicon/zip - save capability registers in probe processZhiqi Song <[email protected]>
crypto: hisilicon/sec2 - save capability registers in probe processZhiqi Song <[email protected]>
crypto: hisilicon/hpre - save capability registers in probe processWenkai Lin <[email protected]>
crypto: hisilicon/qm - add a function to set qm algsChenghai Huang <[email protected]>
crypto: hisilicon/zip - add zip comp high perf mode configurationZhiqi Song <[email protected]>
crypto: hisilicon/qm - save capability registers in qm init processOvidiu Panait <[email protected]>
crypto: sahara - fix error handling insahara_hw_descriptor_create()Ovidiu Panait <[email protected]>
crypto: sahara - fix processing requests with cryptlen < sg->lengthOvidiu Panait <[email protected]>
crypto: sahara - fix ahash selftest failureOvidiu Panait <[email protected]>
crypto: sahara - fix cbc selftest failureOvidiu Panait <[email protected]>
crypto: sahara - removeFLAGS_NEW_KEYlogicNikita Zhandarovich <[email protected]>
crypto: safexcel - Add error handling fordma_map_sg()callsYang Yingliang <[email protected]>
hwrng: stm32 - add missingclk_disable_unprepare()instm32_rng_init()Giovanni Cabiddu <[email protected]>
crypto: qat - add NULL pointer checkDamian Muszynski <[email protected]>
crypto: qat - fix mutex ordering inadf_rlDamian Muszynski <[email protected]>
crypto: qat - fix error path inadd_update_sla()Herbert Xu <[email protected]>
crypto:af_alg- Disallow multiple in-flight AIO requestsDinghao Liu <[email protected]>
crypto: ccp - fix memleak inccp_init_dm_workareaChen Ni <[email protected]>
crypto: sa2ul - Returncrypto_aead_setkeyto transfer the errorDamian Muszynski <[email protected]>
crypto: qat - addsysfs_addedflag for rate limitingDamian Muszynski <[email protected]>
crypto: qat - addsysfs_addedflag for rasGonglei (Arei) <[email protected]>
crypto: virtio - Handle dataq logic with taskletChanho Park <[email protected]>
crypto: jh7110 - Correct deferred probe returnDan Carpenter <[email protected]>
crypto: qat - prevent underflow inrp2srv_store()Dan Carpenter <[email protected]>
crypto: rsa - add a check for allocation failureMickaël Salaün <[email protected]>
selinux: Fix error priority for bind withAF_UNSPEConPF_INET6socketBinbin Zhou <[email protected]>
drivers/thermal/loongson2_thermal: Fix incorrectPTR_ERR()judgmentBorislav Petkov (AMD) <[email protected]>
cpuidle: haltpoll: Do not enable interrupts when entering idleZhaoLong Wang <[email protected]>
mtd: Fix gluebi NULL pointer dereference caused by ftl notifierRichard Fitzgerald <[email protected]>
kunit: debugfs: Handle errors fromalloc_string_stream()Richard Fitzgerald <[email protected]>
kunit: debugfs: Fix unchecked dereference indebugfs_print_results()Rafael J. Wysocki <[email protected]>
thermal: core: Fix NULL pointer dereference in zone registration error pathTony Luck <[email protected]>
ACPI: extlog: Clear Extended Error Log status whenRAS_CEChandled the errorAndy Shevchenko <[email protected]>
ACPI: LPSS: Fix the fractional clock divider flagsWolfram Sang <[email protected]>
spi: sh-msiof: Enforce fixed DTDL for R-Car H3Ard Biesheuvel <[email protected]>
efivarfs: Frees_fs_infoon unmountIlias Apalodimas <[email protected]>
efivarfs: force RO when remounting if SetVariable is not supportedGavrilov Ilia <[email protected]>
calipso: fix memory leak innetlbl_calipso_add_pass()Alexandra Diupina <[email protected]>
cpufreq: scmi: process the result ofdevm_of_clk_add_hw_provider()David E. Box <[email protected]>
platform/x86/intel/vsec: Fixxa_allocmemory leakYang Yingliang <[email protected]>
spi: cadence-quadspi: add missingclk_disable_unprepare()incqspi_probe()Chen Ni <[email protected]>
KEYS: encrypted: Add check for strsepNikita Kiryushin <[email protected]>
ACPI: LPIT: Avoid u32 multiplication overflowNikita Kiryushin <[email protected]>
ACPI: video: check for error while searching for backlight device parentRonald Monthero <[email protected]>
mtd: rawnand: IncrementIFC_TIMEOUT_MSECSfor nand controller responseAmit Kumar Mahapatra <[email protected]>
spi: spi-zynqmp-gqspi: fix driver kconfig dependenciesAlexander Antonov <[email protected]>
perf/x86/intel/uncore: Fix NULL pointer dereference issue inupi_fill_topology()Yiwei Lin <[email protected]>
sched/fair: Updatemin_vruntimeforreweight_entity()correctlyKunwu Chan <[email protected]>
powerpc/imc-pmu: Add a null pointer check inupdate_events_in_group()Kunwu Chan <[email protected]>
powerpc/powernv: Add a null pointer check inopal_powercap_init()Kunwu Chan <[email protected]>
powerpc/powernv: Add a null pointer check inopal_event_init()Kunwu Chan <[email protected]>
powerpc/powernv: Add a null pointer check toscom_debug_init_one()Nathan Lynch <[email protected]>
powerpc/rtas: Avoid warning on invalid token argument tosys_rtas()Kajol Jain <[email protected]>
powerpc/hv-gpci: Add return value check inaffinity_domain_via_partition_showfunctionMichael Ellerman <[email protected]>
selftests/powerpc: Fix error handling in FPU/VMX preemption testsNicholas Piggin <[email protected]>
KVM: PPC: Book3S HV: Handle pending exceptions on guest entry withMSR_EEJunhao He <[email protected]>
drivers/perf: hisi: Fix some event id for HiSilicon UC pmuRobin Murphy <[email protected]>
perf/arm-cmn: Fix HN-Fclass_occup_ideventsBorislav Petkov (AMD) <[email protected]>
x86/microcode/intel: Set new revision only after a successful updateNathan Lynch <[email protected]>
powerpc/pseries/memhp: Fix access beyond end of drmem arrayRandy Dunlap <[email protected]>
powerpc/44x: select I2C for CURRITUCKPeter Zijlstra <[email protected]>
x86: FixCPUIDLE_FLAG_IRQ_ENABLEleaking timer reprogramJann Horn <[email protected]>
fs/pipe: Fix lockdep false-positive in watchqueuepipe_write()Masahiro Yamada <[email protected]>
powerpc: add crtsavres.o to always-y instead of extra-yArnd Bergmann <[email protected]>
EDAC/thunderx: Fix possible out-of-bounds string accessYazen Ghannam <[email protected]>
x86/mce/inject: Clear test status valueColin Ian King <[email protected]>
x86/lib: Fix overflow when counting digits-------------
Diffstat:
Documentation/admin-guide/kernel-parameters.txt | 6 + Documentation/devicetree/bindings/arm/qcom.yaml | 2 +- .../devicetree/bindings/gpio/xlnx,gpio-xilinx.yaml | 2 +- .../bindings/media/mediatek,mdp3-rdma.yaml | 29 +- .../bindings/media/mediatek,mdp3-wrot.yaml | 23 +- .../devicetree/bindings/media/rockchip-isp1.yaml | 11 +- .../phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml | 4 +- .../bindings/timer/thead,c900-aclint-mtimer.yaml | 9 +- Documentation/driver-api/pci/p2pdma.rst | 16 +- Makefile | 4 +- arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 2 +- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 4 +- arch/arm/boot/dts/qcom/qcom-sdx55.dtsi | 4 +- arch/arm/boot/dts/qcom/qcom-sdx65.dtsi | 4 +- arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts | 2 +- arch/arm/boot/dts/st/stm32mp157c-dk2-scmi.dts | 2 +- arch/arm/boot/dts/st/stm32mp157c-ed1-scmi.dts | 2 +- arch/arm/boot/dts/st/stm32mp157c-ev1-scmi.dts | 3 +- arch/arm/mach-davinci/Kconfig | 2 + arch/arm64/boot/dts/freescale/imx8mm.dtsi | 4 +- arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi | 3 - arch/arm64/boot/dts/mediatek/mt8183.dtsi | 6 +- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 6 +- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 24 +- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 2 +- arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 4 + arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 1 - arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 4 +- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 14 +- arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts | 17 +- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +- arch/arm64/boot/dts/qcom/sc7280.dtsi | 12 +- arch/arm64/boot/dts/qcom/sc8180x-primus.dts | 2 +- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 10 +- .../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 11 + arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 2 +- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm6125.dtsi | 4 + arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm6375.dtsi | 41 ++- arch/arm64/boot/dts/qcom/sm8150-hdk.dts | 12 +- arch/arm64/boot/dts/qcom/sm8150.dtsi | 3 +- arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8350.dtsi | 4 +- arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8550.dtsi | 38 ++- .../boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi | 3 + arch/arm64/boot/dts/rockchip/rk3566-lubancat-1.dts | 2 +- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 4 +- arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 10 + arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 2 +- arch/arm64/boot/dts/xilinx/Makefile | 9 +- arch/arm64/kernel/ptrace.c | 13 +- arch/arm64/kvm/vgic/vgic-its.c | 5 + arch/arm64/kvm/vgic/vgic-mmio-v3.c | 27 +- arch/csky/include/asm/jump_label.h | 5 + arch/loongarch/include/asm/elf.h | 5 - arch/loongarch/kernel/elf.c | 5 - arch/loongarch/kernel/process.c | 1 + arch/loongarch/net/bpf_jit.c | 5 +- arch/mips/alchemy/devboards/db1200.c | 2 +- arch/mips/alchemy/devboards/db1550.c | 2 +- arch/mips/include/asm/dmi.h | 2 +- arch/mips/kernel/setup.c | 4 +- arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/rtas.c | 19 +- arch/powerpc/kvm/book3s_hv.c | 18 +- arch/powerpc/lib/Makefile | 2 +- arch/powerpc/perf/hv-gpci.c | 3 + arch/powerpc/perf/imc-pmu.c | 6 + arch/powerpc/platforms/44x/Kconfig | 1 + arch/powerpc/platforms/powernv/opal-irqchip.c | 2 + arch/powerpc/platforms/powernv/opal-powercap.c | 6 + arch/powerpc/platforms/powernv/opal-xscom.c | 5 + arch/powerpc/platforms/pseries/hotplug-memory.c | 9 +- arch/riscv/include/asm/sections.h | 1 + arch/riscv/include/asm/xip_fixup.h | 2 +- arch/riscv/kernel/module.c | 3 +- arch/riscv/kernel/patch.c | 11 +- arch/riscv/kernel/vmlinux-xip.lds.S | 2 + arch/riscv/kernel/vmlinux.lds.S | 2 + arch/riscv/mm/pageattr.c | 11 +- arch/s390/include/asm/pci_io.h | 32 +- arch/s390/net/bpf_jit_comp.c | 2 +- arch/s390/pci/pci_mmio.c | 12 +- arch/um/drivers/virt-pci.c | 2 +- arch/x86/events/intel/uncore_snbep.c | 10 +- arch/x86/include/asm/kvm-x86-pmu-ops.h | 2 +- arch/x86/include/asm/mwait.h | 11 +- arch/x86/kernel/cpu/mce/inject.c | 1 + arch/x86/kernel/cpu/microcode/intel.c | 14 +- arch/x86/kernel/kvmclock.c | 12 +- arch/x86/kvm/pmu.c | 63 +++- arch/x86/kvm/pmu.h | 18 -- arch/x86/kvm/svm/nested.c | 15 - arch/x86/kvm/svm/pmu.c | 16 - arch/x86/kvm/vmx/pmu_intel.c | 20 -- arch/x86/lib/misc.c | 2 +- arch/x86/pci/mmconfig-shared.c | 13 +- block/bio.c | 46 +-- block/blk-cgroup.h | 3 +- block/blk-mq.c | 16 +- block/genhd.c | 5 +- block/ioctl.c | 11 +- crypto/af_alg.c | 14 +- crypto/rsa.c | 2 + crypto/scompress.c | 6 + drivers/accel/habanalabs/common/habanalabs_ioctl.c | 2 +- drivers/acpi/acpi_extlog.c | 7 +- drivers/acpi/acpi_lpit.c | 2 +- drivers/acpi/acpi_lpss.c | 3 +- drivers/acpi/acpi_video.c | 12 +- drivers/acpi/property.c | 4 + drivers/android/binder_alloc.c | 22 +- drivers/base/class.c | 1 + drivers/base/node.c | 9 +- drivers/base/swnode.c | 3 + drivers/block/loop.c | 52 ++-- drivers/block/null_blk/main.c | 12 +- drivers/bluetooth/btmtkuart.c | 11 +- drivers/bluetooth/btnxpuart.c | 7 +- drivers/bus/mhi/ep/main.c | 139 ++++++--- drivers/bus/mhi/ep/ring.c | 41 +-- drivers/cdx/cdx.c | 14 +- drivers/char/hw_random/stm32-rng.c | 1 + drivers/clk/clk-renesas-pcie.c | 2 +- drivers/clk/clk-si5341.c | 4 +- drivers/clk/clk-sp7021.c | 12 +- drivers/clk/qcom/dispcc-sm8550.c | 12 +- drivers/clk/qcom/gcc-sm8550.c | 110 +++---- drivers/clk/qcom/gpucc-sm8150.c | 4 +- drivers/clk/qcom/gpucc-sm8550.c | 6 +- drivers/clk/qcom/videocc-sm8150.c | 1 + drivers/clk/renesas/rzg2l-cpg.c | 91 +++--- drivers/clk/zynqmp/clk-mux-zynqmp.c | 2 +- drivers/clk/zynqmp/divider.c | 66 +--- drivers/clocksource/timer-ep93xx.c | 5 +- drivers/clocksource/timer-ti-dm.c | 4 +- drivers/cpufreq/scmi-cpufreq.c | 7 +- drivers/cpuidle/cpuidle-haltpoll.c | 9 +- drivers/crypto/ccp/ccp-ops.c | 5 +- drivers/crypto/hisilicon/hpre/hpre_main.c | 122 ++++---- drivers/crypto/hisilicon/qm.c | 98 +++++- drivers/crypto/hisilicon/sec2/sec.h | 7 + drivers/crypto/hisilicon/sec2/sec_crypto.c | 10 +- drivers/crypto/hisilicon/sec2/sec_main.c | 70 +++-- drivers/crypto/hisilicon/zip/zip_main.c | 175 ++++++++--- drivers/crypto/inside-secure/safexcel_cipher.c | 19 +- .../intel/qat/qat_common/adf_accel_devices.h | 1 + drivers/crypto/intel/qat/qat_common/adf_rl.c | 7 +- drivers/crypto/intel/qat/qat_common/adf_rl.h | 1 + drivers/crypto/intel/qat/qat_common/adf_sysfs.c | 6 +- .../intel/qat/qat_common/adf_sysfs_ras_counters.c | 7 +- drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.c | 8 + drivers/crypto/sa2ul.c | 3 +- drivers/crypto/sahara.c | 248 +++++++-------- drivers/crypto/starfive/jh7110-cryp.c | 10 +- drivers/crypto/virtio/virtio_crypto_common.h | 2 + drivers/crypto/virtio/virtio_crypto_core.c | 26 +- drivers/cxl/core/port.c | 24 +- drivers/cxl/core/region.c | 2 +- drivers/cxl/cxl.h | 2 - drivers/edac/thunderx_edac.c | 10 +- drivers/firmware/qcom/qcom_qseecom_uefisecapp.c | 20 +- drivers/firmware/ti_sci.c | 10 +- drivers/gpio/gpio-mlxbf3.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 32 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 34 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h | 1 - drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c | 26 +- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 6 +- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 21 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 76 +++-- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 2 +- .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 6 +- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 +- .../display/dc/link/protocols/link_dp_training.c | 2 +- .../display/dc/link/protocols/link_dp_training.h | 2 +- drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c | 4 +- drivers/gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c | 52 +--- drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 5 +- .../gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 6 +- drivers/gpu/drm/bridge/analogix/anx7625.c | 3 - .../gpu/drm/bridge/cadence/cdns-mhdp8546-hdcp.c | 3 +- drivers/gpu/drm/bridge/imx/imx93-mipi-dsi.c | 4 +- drivers/gpu/drm/bridge/tc358767.c | 2 +- drivers/gpu/drm/bridge/ti-tpd12s015.c | 4 +- drivers/gpu/drm/display/drm_dp_mst_topology.c | 20 +- drivers/gpu/drm/drm_drv.c | 10 +- drivers/gpu/drm/i915/display/intel_dp.c | 2 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 5 +- drivers/gpu/drm/i915/display/intel_frontbuffer.c | 2 - .../gpu/drm/i915/gem/i915_gem_object_frontbuffer.h | 1 + drivers/gpu/drm/imx/lcdc/imx-lcdc.c | 9 - drivers/gpu/drm/mediatek/mtk_disp_merge.c | 2 +- drivers/gpu/drm/mediatek/mtk_dp.c | 1 + drivers/gpu/drm/mediatek/mtk_dpi.c | 16 +- drivers/gpu/drm/mediatek/mtk_mdp_rdma.c | 3 +- drivers/gpu/drm/msm/Kconfig | 1 + drivers/gpu/drm/msm/adreno/adreno_device.c | 2 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h | 8 +- .../drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h | 9 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h | 2 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_2_sc7180.h | 2 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h | 2 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h | 24 +- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 95 ++++-- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 6 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.h | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c | 6 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.h | 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c | 20 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h | 8 +- drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 9 + drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 4 +- drivers/gpu/drm/nouveau/dispnv50/disp.c | 3 +- drivers/gpu/drm/nouveau/nv04_fence.c | 2 +- drivers/gpu/drm/omapdrm/omap_drv.c | 9 +- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 2 + drivers/gpu/drm/panel/panel-newvision-nv3051d.c | 2 + drivers/gpu/drm/panel/panel-sitronix-st7701.c | 2 +- drivers/gpu/drm/panfrost/panfrost_gpu.c | 70 +++-- drivers/gpu/drm/radeon/r100.c | 4 +- drivers/gpu/drm/radeon/r600_cs.c | 4 +- drivers/gpu/drm/radeon/radeon_display.c | 7 +- drivers/gpu/drm/radeon/radeon_vm.c | 8 +- drivers/gpu/drm/radeon/si.c | 4 + drivers/gpu/drm/radeon/sumo_dpm.c | 4 +- drivers/gpu/drm/radeon/trinity_dpm.c | 4 +- drivers/gpu/drm/scheduler/sched_entity.c | 13 +- drivers/gpu/drm/tests/drm_dp_mst_helper_test.c | 6 +- drivers/gpu/drm/tidss/tidss_dispc.c | 63 +++- drivers/gpu/drm/tidss/tidss_kms.c | 4 - drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +- drivers/greybus/gb-beagleplay.c | 58 +++- drivers/hid/hid-sensor-hub.c | 2 +- drivers/hid/wacom_wac.c | 32 +- drivers/i2c/busses/i2c-s3c2410.c | 40 +-- drivers/idle/intel_idle.c | 19 +- drivers/iio/adc/ad7091r-base.c | 6 +- drivers/iio/adc/ad9467.c | 112 +++++-- drivers/iio/adc/adi-axi-adc.c | 74 +---- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 6 +- drivers/infiniband/hw/hns/hns_roce_pd.c | 2 +- drivers/infiniband/hw/mthca/mthca_cmd.c | 4 +- drivers/infiniband/hw/mthca/mthca_main.c | 2 +- drivers/infiniband/ulp/iser/iscsi_iser.h | 2 - drivers/infiniband/ulp/iser/iser_initiator.c | 5 +- drivers/infiniband/ulp/iser/iser_memory.c | 8 +- drivers/infiniband/ulp/iser/iser_verbs.c | 1 - drivers/input/keyboard/atkbd.c | 12 +- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + drivers/iommu/dma-iommu.c | 3 + drivers/iommu/of_iommu.c | 7 + drivers/leds/Kconfig | 1 + drivers/leds/leds-aw200xx.c | 7 +- drivers/md/md.c | 69 +++-- drivers/md/raid1.c | 12 +- drivers/media/common/videobuf2/videobuf2-core.c | 9 +- drivers/media/dvb-core/dvbdev.c | 2 + drivers/media/dvb-frontends/m88ds3103.c | 7 +- drivers/media/i2c/mt9m114.c | 2 +- drivers/media/pci/bt8xx/bttv-driver.c | 27 +- drivers/media/pci/bt8xx/bttv-vbi.c | 8 +- drivers/media/pci/solo6x10/solo6x10-offsets.h | 10 +- drivers/media/platform/amphion/vpu_core.c | 2 +- .../media/platform/mediatek/jpeg/mtk_jpeg_core.c | 1 - drivers/media/platform/nxp/imx-mipi-csis.c | 17 +- .../media/platform/rockchip/rkisp1/rkisp1-dev.c | 6 +- .../media/platform/rockchip/rkisp1/rkisp1-isp.c | 1 + drivers/media/platform/verisilicon/hantro_drv.c | 2 + drivers/media/platform/verisilicon/hantro_v4l2.c | 3 + drivers/media/test-drivers/visl/visl-video.c | 3 + drivers/media/usb/cx231xx/cx231xx-core.c | 2 + drivers/media/usb/pvrusb2/pvrusb2-context.c | 3 +- drivers/media/v4l2-core/v4l2-async.c | 1 - drivers/mfd/cs42l43-sdw.c | 74 ++--- drivers/mfd/intel-lpss.c | 2 +- drivers/mfd/rk8xx-core.c | 34 +-- drivers/mfd/syscon.c | 4 + drivers/mfd/tps6594-core.c | 3 + drivers/mmc/host/Kconfig | 10 +- drivers/mtd/mtd_blkdevs.c | 4 +- drivers/mtd/nand/raw/fsl_ifc_nand.c | 2 +- drivers/net/amt.c | 6 +- drivers/net/dsa/vitesse-vsc73xx-core.c | 2 + drivers/net/ethernet/intel/ice/ice_ptp.c | 4 + drivers/net/ethernet/marvell/octeontx2/af/rpm.c | 7 +- .../ethernet/mellanox/mlxbf_gige/mlxbf_gige_main.c | 26 +- .../ethernet/mellanox/mlxbf_gige/mlxbf_gige_rx.c | 6 +- .../net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c | 8 +- .../ethernet/mellanox/mlxsw/spectrum_acl_tcam.c | 6 +- .../net/ethernet/mellanox/mlxsw/spectrum_router.c | 24 +- drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c | 2 +- drivers/net/ethernet/renesas/ravb_main.c | 2 +- drivers/net/ethernet/stmicro/stmmac/stmmac.h | 1 + .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 29 +- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 33 +- drivers/net/ethernet/ti/am65-cpsw-nuss.c | 5 +- drivers/net/netdevsim/netdev.c | 9 +- drivers/net/phy/micrel.c | 9 + drivers/net/usb/r8152.c | 16 +- drivers/net/wireless/ath/ath11k/ahb.c | 4 +- drivers/net/wireless/ath/ath12k/core.c | 6 +- drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c | 3 +- drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 2 +- .../net/wireless/intel/iwlwifi/mvm/mld-mac80211.c | 8 +- drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c | 11 - drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 2 +- drivers/net/wireless/marvell/libertas/Kconfig | 2 - drivers/net/wireless/marvell/mwifiex/cfg80211.c | 2 + drivers/net/wireless/marvell/mwifiex/fw.h | 1 + drivers/net/wireless/marvell/mwifiex/ioctl.h | 1 + drivers/net/wireless/marvell/mwifiex/sdio.c | 21 +- drivers/net/wireless/marvell/mwifiex/sdio.h | 2 + drivers/net/wireless/marvell/mwifiex/uap_cmd.c | 8 + drivers/net/wireless/mediatek/mt76/eeprom.c | 6 +- drivers/net/wireless/mediatek/mt76/mt76.h | 3 +- drivers/net/wireless/mediatek/mt76/mt7615/sdio.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7915/eeprom.h | 3 +- drivers/net/wireless/mediatek/mt76/mt7915/main.c | 5 +- drivers/net/wireless/mediatek/mt76/mt7915/mmio.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7921/init.c | 23 +- drivers/net/wireless/mediatek/mt76/mt7921/main.c | 38 ++- drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 11 +- drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h | 1 + drivers/net/wireless/mediatek/mt76/mt7921/pci.c | 3 + drivers/net/wireless/mediatek/mt76/mt7921/sdio.c | 4 +- .../net/wireless/mediatek/mt76/mt7921/sdio_mac.c | 3 +- drivers/net/wireless/mediatek/mt76/mt7996/mac.c | 6 +- drivers/net/wireless/mediatek/mt76/mt7996/mcu.h | 10 +- drivers/net/wireless/mediatek/mt76/sdio.c | 18 +- drivers/net/wireless/purelifi/plfxlc/usb.c | 5 +- drivers/net/wireless/realtek/rtlwifi/pci.c | 79 +---- drivers/net/wireless/realtek/rtlwifi/pci.h | 5 - .../net/wireless/realtek/rtlwifi/rtl8188ee/phy.c | 14 +- .../wireless/realtek/rtlwifi/rtl8192c/phy_common.c | 12 +- .../wireless/realtek/rtlwifi/rtl8192c/phy_common.h | 1 - .../net/wireless/realtek/rtlwifi/rtl8192ce/phy.c | 6 +- .../net/wireless/realtek/rtlwifi/rtl8192ce/phy.h | 1 - .../net/wireless/realtek/rtlwifi/rtl8192cu/phy.c | 6 +- .../net/wireless/realtek/rtlwifi/rtl8192de/phy.c | 15 +- .../net/wireless/realtek/rtlwifi/rtl8192ee/phy.c | 16 +- .../net/wireless/realtek/rtlwifi/rtl8192se/phy.c | 15 +- .../net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 5 +- drivers/net/wireless/realtek/rtlwifi/wifi.h | 7 + drivers/net/wireless/realtek/rtw88/mac80211.c | 4 +- drivers/net/wireless/realtek/rtw88/sdio.c | 35 ++- drivers/net/xen-netback/netback.c | 44 ++- drivers/nvme/target/tcp.c | 22 +- drivers/nvme/target/trace.h | 5 +- drivers/of/base.c | 1 + drivers/of/unittest-data/tests-phandle.dtsi | 10 +- drivers/of/unittest.c | 74 +++-- drivers/pci/controller/dwc/pci-keystone.c | 9 + drivers/pci/controller/dwc/pcie-designware-ep.c | 1 + drivers/pci/controller/pcie-mediatek-gen3.c | 85 +++--- drivers/pci/controller/pcie-mediatek.c | 10 +- drivers/pci/controller/pcie-xilinx-dma-pl.c | 6 +- drivers/pci/endpoint/functions/pci-epf-mhi.c | 66 ++-- drivers/perf/arm-cmn.c | 2 +- drivers/perf/hisilicon/hisi_uncore_uc_pmu.c | 4 +- drivers/platform/x86/intel/vsec.c | 25 +- drivers/platform/x86/intel/vsec.h | 1 + drivers/power/supply/bq256xx_charger.c | 5 +- drivers/power/supply/cw2015_battery.c | 2 +- drivers/power/supply/qcom_pmi8998_charger.c | 4 + drivers/pwm/core.c | 2 +- drivers/pwm/pwm-jz4740.c | 7 +- drivers/pwm/pwm-stm32.c | 31 +- drivers/scsi/bfa/bfad_bsg.c | 2 +- drivers/scsi/fnic/fnic_debugfs.c | 3 +- drivers/scsi/hisi_sas/hisi_sas_main.c | 11 +- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 9 +- drivers/scsi/lpfc/lpfc_els.c | 4 +- drivers/scsi/mpi3mr/mpi3mr_app.c | 16 + drivers/scsi/mpi3mr/mpi3mr_os.c | 19 +- drivers/soc/qcom/llcc-qcom.c | 10 +- drivers/spi/Kconfig | 3 +- drivers/spi/spi-cadence-quadspi.c | 4 +- drivers/spi/spi-coldfire-qspi.c | 1 - drivers/spi/spi-sh-msiof.c | 17 ++ drivers/spmi/spmi-mtk-pmif.c | 20 +- drivers/staging/media/rkvdec/rkvdec.c | 3 + .../interface/vchiq_arm/vchiq_connected.c | 4 +- .../interface/vchiq_arm/vchiq_connected.h | 4 +- .../vc04_services/interface/vchiq_arm/vchiq_core.c | 6 +- drivers/target/target_core_file.c | 10 +- drivers/thermal/loongson2_thermal.c | 2 +- drivers/thermal/thermal_core.c | 1 - drivers/tty/serial/8250/8250_bcm2835aux.c | 2 + drivers/tty/serial/8250/8250_exar.c | 5 +- drivers/tty/serial/8250/8250_omap.c | 2 +- drivers/tty/serial/apbuart.c | 2 +- drivers/tty/serial/imx.c | 40 +-- drivers/tty/serial/omap-serial.c | 27 +- drivers/tty/serial/sc16is7xx.c | 8 +- drivers/tty/serial/serial_core.c | 61 +++- drivers/tty/serial/stm32-usart.c | 8 +- drivers/tty/tty_io.c | 3 + drivers/ufs/core/ufshcd.c | 7 +- drivers/ufs/host/ufs-qcom.c | 4 +- drivers/usb/cdns3/cdns3-gadget.c | 142 ++++++--- drivers/usb/cdns3/cdns3-gadget.h | 3 + drivers/usb/chipidea/core.c | 7 + drivers/usb/class/cdc-acm.c | 3 + drivers/usb/core/generic.c | 16 + drivers/usb/dwc3/core.c | 39 +-- drivers/usb/dwc3/ep0.c | 5 +- drivers/usb/dwc3/gadget.c | 19 +- drivers/usb/gadget/function/f_uvc.c | 63 ++-- drivers/usb/gadget/function/u_ether.c | 2 + drivers/usb/gadget/function/u_uvc.h | 6 + drivers/usb/gadget/legacy/webcam.c | 333 ++++++++++++++++----- drivers/usb/host/xhci-mtk.c | 40 ++- drivers/usb/host/xhci-mtk.h | 2 + drivers/usb/mon/mon_bin.c | 7 +- drivers/usb/phy/phy-mxs-usb.c | 3 +- drivers/usb/typec/class.c | 4 +- drivers/vdpa/alibaba/eni_vdpa.c | 6 +- drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 7 +- drivers/vfio/pci/pds/dirty.c | 6 +- drivers/vhost/vsock.c | 1 + drivers/video/fbdev/acornfb.c | 2 +- drivers/video/fbdev/core/fb_defio.c | 8 +- drivers/video/fbdev/imxfb.c | 27 +- drivers/video/fbdev/sm712fb.c | 6 +- drivers/watchdog/bcm2835_wdt.c | 3 +- drivers/watchdog/hpwdt.c | 2 +- drivers/watchdog/rti_wdt.c | 13 +- drivers/watchdog/watchdog_dev.c | 3 +- fs/ceph/Kconfig | 1 + fs/dlm/debug_fs.c | 2 +- fs/efivarfs/super.c | 15 + fs/erofs/decompressor.c | 2 +- fs/erofs/zdata.c | 5 +- fs/erofs/zmap.c | 23 +- fs/f2fs/data.c | 7 +- fs/f2fs/file.c | 7 +- fs/f2fs/namei.c | 2 +- fs/f2fs/node.c | 6 +- fs/f2fs/super.c | 8 + fs/f2fs/xattr.c | 11 +- fs/gfs2/quota.c | 3 +- fs/gfs2/rgrp.c | 2 +- fs/namespace.c | 11 + fs/nfs/blocklayout/blocklayout.c | 7 +- fs/nfs/dir.c | 2 +- fs/nfs/direct.c | 5 +- fs/nfs/internal.h | 2 +- fs/nfs/nfs4proc.c | 3 + fs/nfs/pnfs.c | 3 +- fs/pipe.c | 17 +- fs/pstore/ram_core.c | 2 +- fs/smb/server/asn1.c | 5 + fs/smb/server/connection.c | 6 - fs/smb/server/connection.h | 2 +- fs/smb/server/oplock.c | 6 + fs/smb/server/smb2pdu.c | 22 +- fs/smb/server/smb_common.c | 6 +- fs/smb/server/transport_rdma.c | 11 +- fs/smb/server/transport_tcp.c | 13 +- include/asm-generic/cmpxchg-local.h | 2 +- include/crypto/if_alg.h | 3 + include/drm/display/drm_dp_mst_helper.h | 2 +- include/drm/drm_bridge.h | 2 +- include/linux/bio.h | 9 +- include/linux/bpf.h | 13 +- include/linux/clk-provider.h | 4 +- include/linux/gpio/driver.h | 2 +- include/linux/hisi_acc_qm.h | 20 +- include/linux/iio/adc/adi-axi-adc.h | 4 + include/linux/mhi_ep.h | 19 +- include/linux/netfilter_bridge.h | 6 +- include/linux/pci.h | 12 +- include/linux/rcu_notifier.h | 6 +- include/linux/rcupdate.h | 6 + include/linux/skbuff.h | 2 +- include/linux/srcu.h | 2 +- include/linux/usb.h | 6 + include/linux/virtio_net.h | 9 +- include/linux/virtio_vsock.h | 1 + include/net/af_vsock.h | 2 +- include/net/bluetooth/hci_core.h | 1 - include/net/netdev_queues.h | 2 +- include/uapi/linux/bpf.h | 3 + init/do_mounts.c | 9 +- io_uring/io_uring.c | 22 +- io_uring/rw.c | 10 +- kernel/bpf/arraymap.c | 12 +- kernel/bpf/hashtab.c | 6 +- kernel/bpf/helpers.c | 2 +- kernel/bpf/lpm_trie.c | 3 + kernel/bpf/map_in_map.c | 13 +- kernel/bpf/map_in_map.h | 2 +- kernel/bpf/memalloc.c | 105 +------ kernel/bpf/stackmap.c | 11 +- kernel/bpf/syscall.c | 47 ++- kernel/bpf/verifier.c | 96 +++--- kernel/debug/kdb/kdb_main.c | 2 - kernel/dma/coherent.c | 4 +- kernel/rcu/Kconfig.debug | 25 ++ kernel/rcu/rcu.h | 8 +- kernel/rcu/rcutorture.c | 12 +- kernel/rcu/tree_stall.h | 11 +- kernel/rcu/update.c | 6 + kernel/sched/fair.c | 20 +- kernel/time/tick-sched.c | 5 + kernel/trace/bpf_trace.c | 7 + lib/kunit/debugfs.c | 34 ++- lib/test_bpf.c | 2 +- net/bluetooth/hci_conn.c | 8 +- net/bluetooth/hci_debugfs.c | 12 +- net/bluetooth/hci_event.c | 11 +- net/bridge/br_netfilter_hooks.c | 42 ++- net/bridge/br_netfilter_ipv6.c | 14 +- net/core/rtnetlink.c | 14 +- net/dns_resolver/dns_key.c | 2 +- net/dsa/user.c | 7 +- net/ethtool/features.c | 9 +- net/ipv4/af_inet.c | 1 + net/ipv4/ipmr.c | 13 +- net/ipv4/netfilter/nf_reject_ipv4.c | 9 +- net/ipv4/udp.c | 34 +-- net/ipv6/ip6_tunnel.c | 26 +- net/ipv6/mcast.c | 4 + net/ipv6/netfilter/nf_reject_ipv6.c | 11 +- net/ipv6/udp.c | 16 +- net/mac80211/mlme.c | 49 ++- net/mptcp/options.c | 6 +- net/mptcp/subflow.c | 17 +- net/ncsi/internal.h | 7 +- net/ncsi/ncsi-netlink.c | 4 +- net/ncsi/ncsi-pkt.h | 7 +- net/ncsi/ncsi-rsp.c | 26 +- net/netfilter/ipset/ip_set_hash_netiface.c | 8 +- net/netfilter/ipvs/ip_vs_xmit.c | 4 +- net/netfilter/nf_log_syslog.c | 13 +- net/netfilter/nf_queue.c | 6 +- net/netfilter/nf_tables_api.c | 38 ++- net/netfilter/nfnetlink_log.c | 8 +- net/netfilter/nft_limit.c | 19 +- net/netfilter/xt_physdev.c | 2 +- net/netlabel/netlabel_calipso.c | 49 +-- net/rxrpc/ar-internal.h | 1 + net/rxrpc/call_object.c | 4 +- net/rxrpc/local_object.c | 13 +- net/rxrpc/output.c | 6 +- net/rxrpc/rxkad.c | 2 + net/sched/act_ct.c | 12 +- net/sctp/socket.c | 13 +- net/sunrpc/xprt.c | 23 +- net/sunrpc/xprtmultipath.c | 2 +- net/tls/tls_sw.c | 6 +- net/unix/unix_bpf.c | 21 +- net/vmw_vsock/af_vsock.c | 9 +- net/vmw_vsock/hyperv_transport.c | 4 +- net/vmw_vsock/virtio_transport.c | 1 + net/vmw_vsock/virtio_transport_common.c | 43 ++- net/vmw_vsock/vsock_loopback.c | 1 + net/wireless/scan.c | 47 ++- rust/bindgen_parameters | 4 + security/apparmor/lib.c | 1 + security/apparmor/lsm.c | 1 - security/apparmor/policy.c | 13 +- security/apparmor/policy_unpack.c | 13 +- security/keys/encrypted-keys/encrypted.c | 4 + security/selinux/hooks.c | 7 + sound/drivers/aloop.c | 23 +- sound/pci/hda/patch_hdmi.c | 6 + sound/pci/hda/patch_realtek.c | 3 + sound/pci/oxygen/oxygen_mixer.c | 2 +- sound/soc/amd/vangogh/acp5x-mach.c | 35 +-- sound/soc/codecs/cs35l33.c | 4 +- sound/soc/codecs/cs35l34.c | 4 +- sound/soc/codecs/rt5645.c | 8 - sound/soc/codecs/tas2781-fmwlib.c | 1 + sound/soc/fsl/Kconfig | 1 + .../soc/intel/boards/sof_sdw_rt_sdca_jack_common.c | 1 + sound/soc/intel/common/soc-acpi-intel-glk-match.c | 14 +- sound/soc/mediatek/common/mtk-dsp-sof-common.c | 2 +- sound/soc/sof/intel/hda.h | 1 + sound/soc/sof/intel/mtl.c | 28 ++ sound/soc/sof/intel/pci-mtl.c | 12 +- sound/soc/sof/ipc4-loader.c | 11 +- sound/soc/sof/topology.c | 2 +- sound/usb/mixer_scarlett2.c | 207 +++++++++---- tools/include/uapi/linux/bpf.h | 3 + tools/lib/api/io.h | 1 + tools/perf/builtin-stat.c | 18 +- .../arch/arm64/ampere/ampereone/core-imp-def.json | 2 +- .../pmu-events/arch/arm64/arm/cmn/sys/cmn.json | 2 +- .../arch/powerpc/power10/datasource.json | 18 +- .../attr/test-record-user-regs-no-sve-aarch64 | 2 +- .../tests/attr/test-record-user-regs-sve-aarch64 | 2 +- tools/perf/tests/workloads/thloop.c | 4 +- tools/perf/util/bpf-event.c | 8 +- tools/perf/util/bpf-event.h | 12 +- tools/perf/util/db-export.c | 4 +- tools/perf/util/env.c | 50 ++-- tools/perf/util/env.h | 4 + tools/perf/util/genelf.c | 6 +- tools/perf/util/header.c | 17 +- tools/perf/util/hisi-ptt.c | 1 + tools/perf/util/mem-events.c | 25 +- tools/perf/util/stat-shadow.c | 2 +- tools/perf/util/unwind-libdw.c | 21 +- tools/perf/util/unwind-libunwind-local.c | 2 +- tools/testing/selftests/alsa/conf.c | 2 +- tools/testing/selftests/alsa/mixer-test.c | 4 +- tools/testing/selftests/bpf/prog_tests/bpf_iter.c | 2 + tools/testing/selftests/bpf/prog_tests/time_tai.c | 2 +- .../selftests/bpf/progs/bpf_iter_task_stack.c | 5 + tools/testing/selftests/bpf/progs/iters.c | 2 +- .../selftests/bpf/progs/test_global_func16.c | 2 +- .../selftests/bpf/progs/verifier_basic_stack.c | 8 +- .../testing/selftests/bpf/progs/verifier_int_ptr.c | 5 +- .../selftests/bpf/progs/verifier_raw_stack.c | 5 +- .../testing/selftests/bpf/progs/verifier_var_off.c | 62 +++- .../selftests/bpf/progs/xdp_synproxy_kern.c | 4 +- .../selftests/bpf/verifier/atomic_cmpxchg.c | 11 - tools/testing/selftests/bpf/verifier/calls.c | 4 +- tools/testing/selftests/bpf/xskxceiver.c | 25 +- .../drivers/net/bonding/mode-1-recovery-updelay.sh | 2 +- .../drivers/net/bonding/mode-2-recovery-updelay.sh | 2 +- .../testing/selftests/drivers/net/mlxsw/qos_pfc.sh | 18 +- .../drivers/net/mlxsw/spectrum-2/tc_flower.sh | 106 ++++++- .../selftests/net/arp_ndisc_untracked_subnets.sh | 2 +- .../selftests/net/fib_nexthop_multiprefix.sh | 4 +- tools/testing/selftests/powerpc/math/fpu_preempt.c | 9 +- tools/testing/selftests/powerpc/math/vmx_preempt.c | 10 +- tools/testing/selftests/sgx/Makefile | 2 +- tools/testing/selftests/sgx/load.c | 9 +- tools/testing/selftests/sgx/sigstruct.c | 5 +- tools/testing/selftests/sgx/test_encl.c | 8 +- 643 files changed, 5372 insertions(+), 3267 deletions(-)
Greg Kroah-Hartman
maintainerPATCH 640/641 i2c: s3c24xx: fix read transfers in polling mode
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Marek Szyprowski <[email protected]>
[ Upstream commit 0d9cf23ed55d7ba3ab26d617a3ae507863674c8f ]
To properly handle read transfers in polling mode, no waiting for the ACK state is needed as it will never come. Just wait a bit to ensure start state is on the bus and continue processing next bytes.
--- drivers/i2c/busses/i2c-s3c2410.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-)
drivers/i2c/busses/i2c-s3c2410.c +11 -2
@@ -216,8 +216,17 @@ static bool is_ack(struct s3c24xx_i2c *i2c)int tries;for (tries =50 ; tries; --tries) { -if (readl (i2c->regs +S3C2410_IICCON ) - &S3C2410_IICCON_IRQPEND ) { +unsigned long tmp =readl (i2c->regs +S3C2410_IICCON ); + +if (!(tmp &S3C2410_IICCON_ACKEN )) { +/* +* Wait a bit for the bus to stabilize, +* delay estimated experimentally. +*/ +usleep_range (100 ,200 ); +return true; + } +if (tmp &S3C2410_IICCON_IRQPEND ) {if (!(readl (i2c->regs +S3C2410_IICSTAT ) &S3C2410_IICSTAT_LASTBIT ))return true;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 641/641 i2c: s3c24xx: fix transferring more than one message in polling mode
In reply to Greg Kroah-Hartman6.7-stable review patch. If anyone has any objections, please let me know.
------------------
From: Marek Szyprowski <[email protected]>
[ Upstream commit 990489e1042c6c5d6bccf56deca68f8dbeed8180 ]
To properly handle ACK on the bus when transferring more than one message in polling mode, move the polling handling loop from s3c24xx_i2c_message_start() to s3c24xx_i2c_doxfer(). This way i2c_s3c_irq_nextbyte() is always executed till the end, properly acknowledging the IRQ bits and no recursive calls to i2c_s3c_irq_nextbyte() are made.
While touching this, also fix finishing transfers in polling mode by using common code path and always waiting for the bus to become idle and disabled.
--- drivers/i2c/busses/i2c-s3c2410.c | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-)
drivers/i2c/busses/i2c-s3c2410.c +10 -17
@@ -279,16 +279,6 @@ static void s3c24xx_i2c_message_start(struct s3c24xx_i2c *i2c, stat |=S3C2410_IICSTAT_START ;writel (stat, i2c->regs +S3C2410_IICSTAT ); - -if (i2c->quirks &QUIRK_POLL ) { -while ((i2c->msg_num !=0 ) &&is_ack (i2c)) { -i2c_s3c_irq_nextbyte (i2c, stat); - stat =readl (i2c->regs +S3C2410_IICSTAT ); - -if (stat &S3C2410_IICSTAT_ARBITR ) -dev_err (i2c->dev,"deal with arbitration loss\n" ); - } - } }static inline void s3c24xx_i2c_stop (struct s3c24xx_i2c *i2c,int ret)
@@ -694,7 +684,7 @@ static void s3c24xx_i2c_wait_idle(struct s3c24xx_i2c *i2c)static int s3c24xx_i2c_doxfer (struct s3c24xx_i2c *i2c,struct i2c_msg *msgs,int num) { -unsigned long timeout; +unsigned long timeout =0 ;int ret; ret =s3c24xx_i2c_set_master (i2c);
@@ -714,16 +704,19 @@ static int s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c,s3c24xx_i2c_message_start (i2c, msgs);if (i2c->quirks &QUIRK_POLL ) { - ret = i2c->msg_idx; +while ((i2c->msg_num !=0 ) &&is_ack (i2c)) { +unsigned long stat =readl (i2c->regs +S3C2410_IICSTAT ); -if (ret != num) -dev_dbg (i2c->dev,"incomplete xfer (%d)\n" , ret); +i2c_s3c_irq_nextbyte (i2c, stat); - goto out; + stat =readl (i2c->regs +S3C2410_IICSTAT ); +if (stat &S3C2410_IICSTAT_ARBITR ) +dev_err (i2c->dev,"deal with arbitration loss\n" ); + } + }else { + timeout =wait_event_timeout (i2c->wait, i2c->msg_num ==0 ,HZ *5 ); } - timeout =wait_event_timeout (i2c->wait, i2c->msg_num ==0 ,HZ *5 ); - ret = i2c->msg_idx;/*
Signature · 1 line
2.43.0
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.7.2 release. There are 641 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, 24 Jan 2024 23:56:49 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.7.2-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.7.y
and the diffstat can be found below.thanks,
greg k-h
Built and booted successfully on RISC-V RV64 (HiFive Unmatched).
Jon Hunter
maintainerQuoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.7.2 release. There are 641 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, 24 Jan 2024 23:56:49 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.7.2-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.7.y
and the diffstat can be found below.thanks,
greg k-h
Failures detected for Tegra ...
Test results for stable-v6.7:
10 builds: 10 pass, 0 fail
28 boots: 26 pass, 2 fail
96 tests: 95 pass, 1 failLinux version: 6.7.2-rc1-g8538581d9e8e
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000,
tegra20-ventana, tegra210-p2371-2180,
tegra210-p3450-0000, tegra30-cardhu-a04Boot failures: tegra210-p2371-2180
Test failures: tegra186-p2771-0000: pm-system-suspend.sh
Jon
Jon Hunter
maintainerQuoted 26 lines · Jon Hunter
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.7.2 release. There are 641 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, 24 Jan 2024 23:56:49 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.7.2-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.7.y
and the diffstat can be found below.thanks,
greg k-h
Failures detected for Tegra ...
Test results for stable-v6.7:
10 builds: 10 pass, 0 fail 28 boots: 26 pass, 2 fail 96 tests: 95 pass, 1 fail
Quoted 7 lines
Linux version: 6.7.2-rc1-g8538581d9e8e
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000, tegra20-ventana, tegra210-p2371-2180, tegra210-p3450-0000, tegra30-cardhu-a04Boot failures: tegra210-p2371-2180
This is a new regression for linux-6.7.y. See linux-5.15.y report.
Quoted 1 line
Test failures: tegra186-p2771-0000:
pm-system-suspend.sh
This one is a known issue for mainline v6.7.
Jon
Signature · 1 line
nvpublic
[2024-01-23 00:48] Greg Kroah-Hartman:
Quoted 2,588 lines
This is the start of the stable review cycle for the 6.7.2 release. There are 641 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, 24 Jan 2024 23:56:49 +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/v6.x/stable-review/patch-6.7.2-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.7.y
and the diffstat can be found below.thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:Greg Kroah-Hartman <[email protected]>
Linux 6.7.2-rc1Marek Szyprowski <[email protected]>
i2c: s3c24xx: fix transferring more than one message in polling modeMarek Szyprowski <[email protected]>
i2c: s3c24xx: fix read transfers in polling modeNikita Zhandarovich <[email protected]>
ipv6: mcast: fix data-race inipv6_mc_down/mld_ifc_workAmit Cohen <[email protected]>
selftests: mlxsw:qos_pfc: Adjust the test to support 8 lanesPetr Machata <[email protected]>
mlxsw:spectrum_router: Register netdevice notifier before nexthopIdo Schimmel <[email protected]>
mlxsw:spectrum_acl_tcam: Fix stack corruptionIdo Schimmel <[email protected]>
mlxsw:spectrum_acl_tcam: Fix NULL pointer dereference in error pathAmit Cohen <[email protected]>
mlxsw:spectrum_acl_erp: Fix error flow of pool allocation failureChristoph Hellwig <[email protected]>
loop: fix the the direct I/O support check when used on top of block devicesLudvig Pärsson <[email protected]>
ethtool: netlink: Add missing ethnl_ops_begin/completeMark Brown <[email protected]>
arm64/ptrace: Don't flush ZA/ZT storage when writing ZA via ptraceChristophe JAILLET <[email protected]>
kdb: Fix a potential buffer overflow inkdb_local()Pavel Begunkov <[email protected]>
io_uring: adjust defer tw countingFedor Pchelkin <[email protected]>
ipvs: avoid stat macros calls from preemptible contextPablo Neira Ayuso <[email protected]>
netfilter:nf_tables: rejectNFT_SET_CONCATwith not field length descriptionPablo Neira Ayuso <[email protected]>
netfilter:nf_tables: skip dead set elements in netlink dumpPablo Neira Ayuso <[email protected]>
netfilter:nf_tables: do not allow mismatch field size and set key lengthPavel Tikhomirov <[email protected]>
netfilter: bridge: replace physindev with physinif innf_bridge_infoPavel Tikhomirov <[email protected]>
netfilter: propagate net tonf_bridge_get_physindevPavel Tikhomirov <[email protected]>
netfilter:nf_queue: remove excessnf_bridgevariablePavel Tikhomirov <[email protected]>
netfilter:nfnetlink_log: use proper helper for fetching physinifPablo Neira Ayuso <[email protected]>
netfilter:nft_limit: do not ignore unsupported flagsPablo Neira Ayuso <[email protected]>
netfilter:nf_tables: reject invalid set policyJakub Kicinski <[email protected]>
net: netdevsim: don't try to destroy PHC on VFsPaolo Abeni <[email protected]>
mptcp: relax check on MPC passive fallbackHengqi Chen <[email protected]>
LoongArch: BPF: Prevent out-of-bounds memory accessKunwu Chan <[email protected]>
net: dsa: vsc73xx: Add null pointer check tovsc73xx_gpio_probeHao Sun <[email protected]>
bpf: Reject variable offset alu onPTR_TO_FLOW_KEYSQiang Ma <[email protected]>
net: stmmac: ethtool: Fixed calltrace caused by unbalanceddisable_irq_wakecallsBenjamin Poirier <[email protected]>
selftests: bonding: Change script interpreterAlex Deucher <[email protected]>
drm/amdgpu: fall back to INPUT power for AVG power via INFO IOCTLDafna Hirschfeld <[email protected]>
drm/amdkfd: fixes for HMM mem allocationLukas Wunner <[email protected]>
gpiolib: Fix scope-basedgpio_devicerefcountingKai Vehmanen <[email protected]>
ASoC: SOF: ipc4-loader: remove the CPC check warningsSu Hui <[email protected]>
gpio: mlxbf3: add an error code check inmlxbf3_gpio_probeMichal Simek <[email protected]>
dt-bindings: gpio: xilinx: Fix node address in gpioNikita Yushchenko <[email protected]>
net: ravb: Fixdma_addr_ttruncation in error caseJohn Fastabend <[email protected]>
net: tls, fix WARNIING in__sk_msg_freeMartin KaFai Lau <[email protected]>
bpf: Avoid iter->offset making backward progress in bpf_iter_udpMartin KaFai Lau <[email protected]>
bpf:iter_udp: Retry with a larger batch size without going back to the previous bucketMarc Kleine-Budde <[email protected]>
net:netdev_queue:netdev_txq_completed_mb(): fix wake conditionEric Dumazet <[email protected]>
net: add more sanity check invirtio_net_hdr_to_skb()Gao Xiang <[email protected]>
erofs: fix inconsistent per-file compression formatEric Dumazet <[email protected]>
udp: annotate data-races around up->pendingSneh Shah <[email protected]>
net: stmmac: Fix ethool link settings ops for integrated PCSJens Axboe <[email protected]>
block: ensure we hold a queue reference when using queue limitsEric Dumazet <[email protected]>
mptcp: refineopt_mp_capabledeterminationEric Dumazet <[email protected]>
mptcp: useOPTION_MPTCP_MPJ_SYNinsubflow_check_req()Eric Dumazet <[email protected]>
mptcp: useOPTION_MPTCP_MPJ_SYNACKinsubflow_finish_connect()Eric Dumazet <[email protected]>
mptcp: strict validation before using mp_opt->hmacEric Dumazet <[email protected]>
mptcp:mptcp_parse_option()fix forMPTCPOPT_MP_JOINAmadeusz Sławiński <[email protected]>
ALSA: hda: Properly setup HDMI streamClaudiu Beznea <[email protected]>
net: phy: micrel: populate .soft_reset for KSZ9131Horatiu Vultur <[email protected]>
net: micrel: Fix PTP frame parsing for lan8841Chancel Liu <[email protected]>
ALSA: aloop: Introduce a function to get if access is interleaved modeTaehee Yoo <[email protected]>
amt: do not use overwrapped cb areaSanjuán García, Jorge <[email protected]>
net: ethernet: ti: am65-cpsw: Fix max mtu to fit ethernet framesNithin Dabilpuram <[email protected]>
octeontx2-af: CN10KB: Fix FIFO length calculation for RPM2David Howells <[email protected]>
rxrpc: Fix use of Don't Fragment flagVladimir Oltean <[email protected]>
net: dsa: fixnetdev_priv()dereference before check on non-DSA netdevice eventsLin Ma <[email protected]>
net: qualcomm: rmnet: fix global oob inrmnet_policyNiklas Schnelle <[email protected]>
s390/pci: fix max size calculation inzpci_memcpy_toio()AngeloGioacchino Del Regno <[email protected]>
ASoC: mediatek: sof-common: Add NULL check fornormal_linkstringJianjun Wang <[email protected]>
PCI: mediatek-gen3: Fix translation window size calculationGaosheng Cui <[email protected]>
apparmor: Fix memory leak inunpack_profile()Siddharth Vadapalli <[email protected]>
PCI: keystone: Fix race condition when initializing PHYsMaurizio Lombardi <[email protected]>
nvmet-tcp: Fix the H2C expected PDU len calculationHarshit Mogalapalli <[email protected]>
PCI: xilinx-xdma: Fix error code inxilinx_pl_dma_pcie_init_irq_domain()Krzysztof Wilczyński <[email protected]>
PCI: xilinx-xdma: Fix uninitialized symbols inxilinx_pl_dma_pcie_setup_irq()Arnd Bergmann <[email protected]>
nvme: trace: avoid memcpy overflow warningArnd Bergmann <[email protected]>
nvmet: re-fix tracingstrncpy()warningShameer Kolothum <[email protected]>
hisi_acc_vfio_pci: Update migration data pointer correctly on saving/resumeChristophe JAILLET <[email protected]>
spi: coldfire-qspi: Remove an erroneousclk_disable_unprepare()from the remove functionDan Williams <[email protected]>
cxl/port: Fix missing target list lockBen Gainey <[email protected]>
perf db-export: Fix missing reference count get incall_path_from_sample()Dan Carpenter <[email protected]>
cdx: Unlock on error path inrescan_store()Dan Carpenter <[email protected]>
cdx: callof_node_put()on error pathSam Ravnborg <[email protected]>
serial: apbuart: fix console prompt on qemuChristoph Niedermaier <[email protected]>
serial: imx: Correct clock error message in functionprobe()Chunfeng Yun <[email protected]>
usb: xhci-mtk: fix a short packet issue of gen1 isoc-in transferFedor Pchelkin <[email protected]>
apparmor: avoid crash when parsed profile name is emptyFedor Pchelkin <[email protected]>
apparmor: fix possible memory leak inunpack_trans_tableJim Harris <[email protected]>
cxl/region: fix x9 interleave typoIan Rogers <[email protected]>
perf stat: Fix hard coded LL miss unitsIan Rogers <[email protected]>
perf env: Avoid recursively taking env->bpf_progs.lockFedor Pchelkin <[email protected]>
apparmor: free the allocated pdb objectsChristoph Hellwig <[email protected]>
nvmet-tcp: fix a missing endianess conversion innvmet_tcp_try_peek_pduMaurizio Lombardi <[email protected]>
nvmet-tcp: fix a crash innvmet_req_complete()Maurizio Lombardi <[email protected]>
nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU lengthJohn Johansen <[email protected]>
apparmor: Fix ref count leak intask_killChristophe JAILLET <[email protected]>
vdpa: Fix an error handling path ineni_vdpa_probe()Kunwu Chan <[email protected]>
power: supply: Fix null pointer dereference insmb2_probeJing Zhang <[email protected]>
perf vendor events: Remove UTF-8 characters from cmn.jsonAshish Mhetre <[email protected]>
iommu: Don't reserve 0-length IOVA regionAyush Singh <[email protected]>
greybus: gb-beagleplay: Remove use of pad bytesAndrzej Pietrasiewicz <[email protected]>
usb: gadget: webcam: Makeg_webcamloadable againNícolas F. R. A. Prado <[email protected]>
spmi: mtk-pmif: Serialize PMIF status check and command submissionRob Herring <[email protected]>
cdx: Explicitly include correct DT includes, againDouglas Anderson <[email protected]>
usb: core: Fix crash w/usb_choose_configuration()if no driverDmitry Baryshkov <[email protected]>
arm64: dts: qcom: qrb5165-rb5: use u16 for DP altmode svidOliver Neukum <[email protected]>
usb: cdc-acm: return correct error code on unsupported breakManivannan Sadhasivam <[email protected]>
PCI: epf-mhi: Fix the DMA data direction ofdma_unmap_single()Manivannan Sadhasivam <[email protected]>
bus: mhi: ep: Passmhi_ep_buf_infostruct to read/write APIsManivannan Sadhasivam <[email protected]>
bus: mhi: ep: Use slab allocator where applicableManivannan Sadhasivam <[email protected]>
bus: mhi: ep: Do not allocate event ring element on stackNamhyung Kim <[email protected]>
perf unwind-libunwind: Fix base address for .eh_frameNamhyung Kim <[email protected]>
perf unwind-libdw: Handle JIT-generated DSOs properlyNamhyung Kim <[email protected]>
perf genelf: Set ELF program header addresses properlyYicong Yang <[email protected]>
perf hisi-ptt: Fix one memory leakage inhisi_ptt_process_auxtrace_event()Yicong Yang <[email protected]>
perf header: Fix one memory leakage inperf_event__fprintf_event_update()Nuno Sa <[email protected]>
iio: adc: ad9467: fix scale settingNuno Sa <[email protected]>
iio: adc: ad9467: add mutex to structad9467_stateNuno Sa <[email protected]>
iio: adc: ad9467: don't ignore error codesNuno Sa <[email protected]>
iio: adc: ad9467: fix reset gpio handlingZhao Mengmeng <[email protected]>
selftests/sgx: Skip nonX86_64platformJo Van Bulck <[email protected]>
selftests/sgx: Include memory clobber for inline asm in test enclaveJo Van Bulck <[email protected]>
selftests/sgx: Fix uninitialized pointer dereferences inencl_get_entryJo Van Bulck <[email protected]>
selftests/sgx: Fix uninitialized pointer dereference in error pathPaul Geurts <[email protected]>
serial: imx: fix tx statemachine deadlockSakari Ailus <[email protected]>
software node: Let args be NULL insoftware_node_get_reference_argsSakari Ailus <[email protected]>
acpi: property: Let args be NULL in__acpi_node_get_property_referenceGregory Price <[email protected]>
base/node.c: initialize the accessor list before registeringIan Rogers <[email protected]>
perf stat: Exit perf stat if parse groups failsKan Liang <[email protected]>
perf mem: Fix error on hybrid related to availability of mem event in a PMUAthira Rajeev <[email protected]>
perf vendor events powerpc: Update datasource event name to fix duplicate eventsIlkka Koskinen <[email protected]>
perf vendor events arm64 AmpereOne: RenameBPU_FLUSH_MEM_FAULTtoGPC_FLUSH_MEM_FAULTBrett Creeley <[email protected]>
vfio/pds: Fix calculations inpds_vfio_dirty_syncVeronika Molnarova <[email protected]>
perf test record user-regs: Fix mask for vg registerDouglas Anderson <[email protected]>
r8152: Choose our USB config withchoose_configuration()rather thanprobe()Douglas Anderson <[email protected]>
usb: core: Allow subclassed USB drivers to overrideusb_choose_configuration()Umang Jain <[email protected]>
staging:vc04_services: Do not pass NULL tovchiq_log_error()Umang Jain <[email protected]>
staging:vc04_services:vchiq_core: Log through structvchiq_instanceArnaldo Carvalho de Melo <[email protected]>
libapi: Add missinglinux/types.hheader to get the__u64type onio.hAdrian Hunter <[email protected]>
perf header: Fix segfault onbuild_mem_topology()error pathNick Forrington <[email protected]>
perf test: Remove atomics fromtest_loopto avoid test failuresLaurentiu Tudor <[email protected]>
iommu: Map reserved memory as cacheable if device is coherentUwe Kleine-König <[email protected]>
serial: 8250: omap: Don't skip resource freeing ifpm_runtime_resume_and_get()failedAndy Shevchenko <[email protected]>
PCI: Avoid potential out-of-bounds read inpci_dev_for_each_resource()Su Hui <[email protected]>
power: supply: bq256xx: fix some problem inbq256xx_hw_initJan Palus <[email protected]>
power: supply: cw2015: correcttime_to_emptyunits in sysfsChristophe JAILLET <[email protected]>
MIPS: Alchemy: Fix an out-of-bound access indb1550_dev_setup()Christophe JAILLET <[email protected]>
MIPS: Alchemy: Fix an out-of-bound access indb1200_dev_setup()Ankit Nautiyal <[email protected]>
drm/i915/dp: Fix the max DSC bpc supported by sourceFrederik Haxel <[email protected]>
riscv: Fixed wrong register inXIP_FIXUP_FLASH_OFFSETmacroAlexandre Ghiti <[email protected]>
riscv: Fixset_direct_map_default_noflush()to reset_PAGE_EXECAlexandre Ghiti <[email protected]>
riscv: Fixmodule_alloc()that did not reset the linear mapping permissionsAlexandre Ghiti <[email protected]>
riscv: Fix wrong usage oflm_alias()when splitting a huge linear mappingAlexandre Ghiti <[email protected]>
riscv: Check if the code to patch lies in the exit sectionVincent Whitchurch <[email protected]>
um: virt-pci: fix platform map offsetSerge Semin <[email protected]>
mips: Fix incorrectmax_low_pfnadjustmentSerge Semin <[email protected]>
mips: dmi: Fix early remap on MIPS32Sebastian Andrzej Siewior <[email protected]>
srcu: Use try-lock lockdep annotation for NMI-safe access.Andy Shevchenko <[email protected]>
mfd: intel-lpss: Fix the fractional clock divider flagsKunwu Chan <[email protected]>
mfd: tps6594: Add null pointer check totps6594_device_init()Martin Kurbanov <[email protected]>
leds: aw200xx: Fix write to DIM parameterDang Huynh <[email protected]>
leds: aw2013: Select missing dependencyREGMAP_I2CPaul E. McKenney <[email protected]>
rcu: Restrict access to RCU CPU stall notifiersKunwu Chan <[email protected]>
mfd: syscon: Fix null pointer dereference inof_syscon_register()Charles Keepax <[email protected]>
mfd: cs42l43: Correct SoundWire port listNeil Armstrong <[email protected]>
mfd: rk8xx: fixup devices registration withPLATFORM_DEVID_AUTORandy Dunlap <[email protected]>
ARM: 9330/1: davinci: also select PINCTRLHugo Villeneuve <[email protected]>
serial: sc16is7xx: set safe default SPI clock frequencyHugo Villeneuve <[email protected]>
serial: sc16is7xx: add check for unsupported SPI modes during probeJason Gerecke <[email protected]>
HID: wacom: Correct behavior when processing some confidence == false touchesYauhen Kharuzhy <[email protected]>
HID: sensor-hub: Enable hid core report processing for all devicesMarcelo Schmitt <[email protected]>
iio: adc: ad7091r: Passiio_devto event handlerSean Christopherson <[email protected]>
KVM: x86/pmu: Reset the PMU, i.e. stop counters, before refreshingSean Christopherson <[email protected]>
KVM: x86/pmu: Move PMU reset logic to common x86 codeOliver Upton <[email protected]>
KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cacheMarc Zyngier <[email protected]>
KVM: arm64: vgic-v4: Restore pending state on host userspace writeKirill A. Shutemov <[email protected]>
x86/kvm: Do not try to disable kvmclock if it was not enabledManivannan Sadhasivam <[email protected]>
ARM: dts: qcom: sdx55: Fix the base address of PCIe PHYqizhong cheng <[email protected]>
PCI: mediatek: Clear interrupt status before dispatching handlerNiklas Cassel <[email protected]>
PCI: dwc: endpoint: Fixdw_pcie_ep_raise_msix_irq()alignment supportBjorn Helgaas <[email protected]>
x86/pci: Reserve ECAM if BIOS didn't include it in PNP0C02_CRSTadeusz Struk <[email protected]>
PCI/P2PDMA: Remove reference topci_p2pdma_map_sg()Huang Ying <[email protected]>
cxl/port: Fix decoder initialization whennr_targets>interleave_waysChristian König <[email protected]>
drm/amdgpu: revert "Adjust removal control flow for smuv13_0_2"Sean Christopherson <[email protected]>
Revert "nSVM: Check for reserved encodings ofTLB_CONTROLin nested VMCB"Nicolas Dichtel <[email protected]>
Revert "net: rtnetlink: Enslave device before bringing it up"Romain Gantois <[email protected]>
net: stmmac: Prevent DSA tags from breaking COEPetr Tesarik <[email protected]>
net: stmmac: fix ethtool per-queue statisticsDavid Lin <[email protected]>
wifi: mwifiex: fix uninitializedfirmware_statDavid Lin <[email protected]>
wifi: mwifiex: configure BSSID consistently when starting APDavid Lin <[email protected]>
wifi: mwifiex: add extra delay for firmware readyIlpo Järvinen <[email protected]>
wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessorsIlpo Järvinen <[email protected]>
wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable codeChristian Marangi <[email protected]>
wifi: mt76: fix broken precal loading from MTD for mt7915Isaac J. Manjarres <[email protected]>
iommu/dma: Trace bounce buffer usage when mapping buffersRob Clark <[email protected]>
iommu/arm-smmu-qcom: Add missing GMU entry to match tableAurelien Jarno <[email protected]>
media: solo6x10: replacemax(a, min(b, c))byclamp(b, a, c)Jiri Olsa <[email protected]>
bpf: Fix re-attachment branch inbpf_tracing_prog_attachGui-Dong Han <[email protected]>
Bluetooth: Fix atomicity violation in {min,max}_key_size_setStefan Berger <[email protected]>
rootfs: Fix support for rootfstype= when root= is givenBart Van Assche <[email protected]>
md/raid1: Useblk_opf_tfor read and write operationsUwe Kleine-König <[email protected]>
pwm: Fix out-of-bounds access inof_pwm_single_xlate()Uwe Kleine-König <[email protected]>
pwm: jz4740: Don't use dev_err_probe() in .request()Pablo Neira Ayuso <[email protected]>
netfilter:nf_tables: check if catch-all set element is active in next generationMatthew Wilcox (Oracle) <[email protected]>
block: Fix iterating over an empty bio withbio_for_each_folio_allMatthew Wilcox (Oracle) <[email protected]>
block: Remove special-casing of compound pagesMin Li <[email protected]>
block: add check that partition length needs to be aligned with block sizeMario Limonciello <[email protected]>
drm/amd: Enable PCIe PME from D3Yu Kuai <[email protected]>
md: Fixmd_seq_ops()regressionsJunxiao Bi <[email protected]>
md: bypass block throttle for superblock updateChandrakanth patil <[email protected]>
scsi: mpi3mr: Block PEL Enable Command on Controller Reset and Unrecoverable StateChandrakanth patil <[email protected]>
scsi: mpi3mr: Clean up block devices post controller resetChandrakanth patil <[email protected]>
scsi: mpi3mr: Refresh sdev queue depth after controller resetAmir Goldstein <[email protected]>
scsi: target: core: add missing file_{start,end}_write()Bart Van Assche <[email protected]>
scsi: ufs: core: Simplify power management during async scanNam Cao <[email protected]>
fbdev: flush deferred IO before closingNam Cao <[email protected]>
fbdev: flush deferred work infb_deferred_io_fsync()Thomas Zimmermann <[email protected]>
fbdev/acornfb: Fix name offb_opsinitializer macroJens Axboe <[email protected]>
io_uring: ensure localtask_workis run on wait timeoutJens Axboe <[email protected]>
io_uring/rw: ensure io->bytes_done is always initializedPavel Begunkov <[email protected]>
io_uring: don't check iopoll if request completesXi Ruoyao <[email protected]>
LoongArch: Fix and simplify fcsr initialization onexecve()Eric Biggers <[email protected]>
ceph: selectFS_ENCRYPTION_ALGSifFS_ENCRYPTIONNamjae Jeon <[email protected]>
ksmbd: only v2 leases handle the directoryNamjae Jeon <[email protected]>
ksmbd: fix UAF issue inksmbd_tcp_new_connection()Namjae Jeon <[email protected]>
ksmbd: validate mech token in session setupBin Li <[email protected]>
ALSA: hda/realtek: Enable headset mic on Lenovo M70 Gen5Yo-Jung Lin <[email protected]>
ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on HP ZBookÇağhan Demir <[email protected]>
ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq2xxxTakashi Iwai <[email protected]>
ALSA: oxygen: Fix right channel of capture volume mixerLino Sanfilippo <[email protected]>
serial: omap: do not override settings for RS485 supportLino Sanfilippo <[email protected]>
serial: 8250_exar: Set missingrs485_supportedflagChristoph Niedermaier <[email protected]>
serial: imx: Ensure thatimx_uart_rs485_config()is called with enabled clockLino Sanfilippo <[email protected]>
serial: core, imx: do not set RS485 enabled if it is not supportedStefan Wahren <[email protected]>
serial: 8250_bcm2835aux: Restore clock error handlingLino Sanfilippo <[email protected]>
serial: core: set missing supported flag for RX during TX GPIOLino Sanfilippo <[email protected]>
serial: core: make sure RS485 cannot be enabled when it is not supportedLino Sanfilippo <[email protected]>
serial: core: fix sanitizing check for RTS settingsLino Sanfilippo <[email protected]>
serial: Do not hold the port lock when setting rx-during-tx GPIOKrzysztof Kozlowski <[email protected]>
dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: fix path to headerGui-Dong Han <[email protected]>
usb: mon: Fix atomicity violation inmon_bin_vma_faultRD Babiera <[email protected]>
usb: typec: class: fixtypec_altmode_put_partnerto put plugsHeikki Krogerus <[email protected]>
Revert "usb: typec: class: fixtypec_altmode_put_partnerto put plugs"Frank Li <[email protected]>
usb: cdns3: Fix uvc fail when DMA cross 4k boundery since sg enabledFrank Li <[email protected]>
usb: cdns3: fix iso transfer error when mult is not zeroFrank Li <[email protected]>
usb: cdns3: fix uvc failure work since sg support enabledXu Yang <[email protected]>
usb: chipidea: wait controller resume finished for wakeup irqThinh Nguyen <[email protected]>
Revert "usb: dwc3: don't reset device side if dwc3 was configured as host-only"Thinh Nguyen <[email protected]>
Revert "usb: dwc3: Soft reset phy on probe for host"Wesley Cheng <[email protected]>
usb: dwc3: gadget: Queue PM runtime idle on disconnect eventWesley Cheng <[email protected]>
usb: dwc3: gadget: Handle EP0 request dequeuing properlyUttkarsh Aggarwal <[email protected]>
usb: dwc: ep0: Update request status indwc3_ep0_stall_restartXu Yang <[email protected]>
usb: phy: mxs: removeCONFIG_USB_OTGcondition formxs_phy_is_otg_host()Richard Acayan <[email protected]>
usb: gadget:u_ether: Re-attach netif device to mirror detachmentFrank Li <[email protected]>
Revert "usb: gadget:f_uvc: change endpoint allocation inuvc_function_bind()"Heiko Carstens <[email protected]>
tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplugMichael Ellerman <[email protected]>
powerpc/64s: Increase default stack size to 32KBArnd Bergmann <[email protected]>
clocksource/drivers/ep93xx: Fix error handling during probeInochi Amaoto <[email protected]>
dt-bindings: timer: thead,c900-aclint-mtimer: separate mtime and mtimecmp regsTony Lindgren <[email protected]>
clocksource/drivers/timer-ti-dm: Fix make W=n kerneldoc warningsCarlos Llamas <[email protected]>
binder: fix race betweenmmput()anddo_exit()Jan Beulich <[email protected]>
xen-netback: don't produce zero-size SKB fragsKaibo Ma <[email protected]>
Revert "drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole"Matthew Maurer <[email protected]>
rust: Ignore preserve-most functionsHans de Goede <[email protected]>
Input: atkbd - use ab83 as id when skipping the getid commandCarlos Llamas <[email protected]>
binder: fix unused alloc->free_async_spaceCarlos Llamas <[email protected]>
binder: fix async space check for 0-sized buffersJordan Rome <[email protected]>
selftests/bpf: Add assert for user stacks intest_task_stackTejun Heo <[email protected]>
Revert "kernfs: convertkernfs_idr_lockto an irq safe raw spinlock"Andrea Righi <[email protected]>
kernfs: convertkernfs_idr_lockto an irq safe raw spinlockJing Xia <[email protected]>
class: fix use-after-free inclass_register()Geert Uytterhoeven <[email protected]>
of: unittest: Fixof_count_phandle_with_args()expected value messageDario Binacchi <[email protected]>
fbdev: imxfb: fix left margin settingChristian A. Ehrhardt <[email protected]>
of: Fix double free inof_parse_phandle_with_args_mapLi Nan <[email protected]>
ksmbd: validate the zero field of packet headerMirsad Todorovac <[email protected]>
kselftest/alsa - conf: Stringify the printed errno insysfs_get()Mirsad Todorovac <[email protected]>
kselftest/alsa - mixer-test: Fix the print format specifier warningMirsad Todorovac <[email protected]>
kselftest/alsa - mixer-test: fix the number of parameters toksft_exit_fail_msg()Arnd Bergmann <[email protected]>
drm/amd/display: avoid stringop-overflow warnings fordp_decide_lane_settings()Zhipeng Lu <[email protected]>
drm/amd/pm/smu7: fix a memleak insmu7_hwmgr_backend_initSrinivasan Shanmugam <[email protected]>
drm/amdkfd: Confirm list is non-empty before utilizinglist_first_entryinkfd_topology.cSergey Gorenko <[email protected]>
IB/iser: Prevent invalidating wrong MRSrinivasan Shanmugam <[email protected]>
drm/amdkfd: Fix type of 'dbg_flags' in 'structkfd_process'Peter Robinson <[email protected]>
mmc:sdhci_omap: Fix TI SoC dependenciesPeter Robinson <[email protected]>
mmc:sdhci_am654: Fix TI SoC dependenciesGeoffrey D. Bennett <[email protected]>
ALSA: scarlett2: Add missing mutex lock around get meter levelsGeoffrey D. Bennett <[email protected]>
ALSA: scarlett2: Addclamp()inscarlett2_mixer_ctl_put()Geoffrey D. Bennett <[email protected]>
ALSA: scarlett2: Add missing error checks to*_ctl_get()Geoffrey D. Bennett <[email protected]>
ALSA: scarlett2: Add missing error check toscarlett2_usb_set_config()Geoffrey D. Bennett <[email protected]>
ALSA: scarlett2: Add missing error check toscarlett2_config_save()Hans de Goede <[email protected]>
ASoC: rt5645: Drop double EF20 entry from dmi_platform_data[]Philipp Zabel <[email protected]>
pwm: stm32: Fix enable count for clk in .probe()Philipp Zabel <[email protected]>
pwm: stm32: Use hweight32 instm32_pwm_detect_channelsThéo Lebrun <[email protected]>
clk: fixed-rate: fixclk_hw_register_fixed_rate_with_accuracy_parent_hwKonrad Dybcio <[email protected]>
clk: qcom: dispcc-sm8550: Use the correct PLL configuration functionKonrad Dybcio <[email protected]>
clk: qcom: dispcc-sm8550: Update disp PLL settingsKonrad Dybcio <[email protected]>
clk: qcom: gpucc-sm8550: Update GPU PLL settingsKonrad Dybcio <[email protected]>
clk: qcom: gcc-sm8550: Mark RCGs shared where applicableKonrad Dybcio <[email protected]>
clk: qcom: gcc-sm8550: use collapse-voting for PCIe GDSCsKonrad Dybcio <[email protected]>
clk: qcom: gcc-sm8550: Mark the PCIe GDSCs votableKonrad Dybcio <[email protected]>
clk: qcom: gcc-sm8550: Add the missingRETAIN_FF_ENABLEGDSC flagXingyuan Mo <[email protected]>
accel/habanalabs: fix information leak insec_attest_info()Nícolas F. R. A. Prado <[email protected]>
drm/mediatek: dp: Addphy_mtk_dpmodule as pre-dependencyGergo Koteles <[email protected]>
ASoC: tas2781: add support for FW version 0x0503Cristian Ciocaltea <[email protected]>
ASoC: amd: vangogh: Drop conflicting ACPI-based probingSu Hui <[email protected]>
clk: si5341: fix an error code problem insi5341_output_clk_set_rateMarek Vasut <[email protected]>
clk: rs9: Fix DIF OEn bit placement on 9FGV0241Vignesh Raghavendra <[email protected]>
watchdog:rti_wdt: Drop runtime pm reference count when watchdog is unusedStefan Wahren <[email protected]>
watchdog:bcm2835_wdt: FixWDIOC_SETTIMEOUThandlingJerry Hoemann <[email protected]>
watchdog/hpwdt: Only claim UNKNOWN NMI if from iLOCurtis Klein <[email protected]>
watchdog: set cdev owner before addingJay Buddhabhatti <[email protected]>
drivers: clk: zynqmp: update divider round rate logicJay Buddhabhatti <[email protected]>
drivers: clk: zynqmp: calculate closest mux rateYang Yingliang <[email protected]>
clk: sp7021: fix return value check insp7021_clk_probe()Satya Priya Kakitapalli <[email protected]>
clk: qcom: videocc-sm8150: Add missing PLL config propertyZhiguo Niu <[email protected]>
f2fs: fix to check return value off2fs_recover_xattr_dataZhipeng Lu <[email protected]>
drm/amd/pm: fix a double-free inamdgpu_parse_extended_power_tableZhipeng Lu <[email protected]>
gpu/drm/radeon: fix two memleaks inradeon_vm_initZhipeng Lu <[email protected]>
drivers/amd/pm: fix a use-after-free inkv_parse_power_tableZhipeng Lu <[email protected]>
drm/amd/pm: fix a double-free insi_dpm_initAlex Deucher <[email protected]>
drm/amdgpu/debugfs: fix error code when smc register accessors are NULLHsiao Chien Sung <[email protected]>
drm/mediatek: Fix underrun in VDO1 when switches off the layerHsiao Chien Sung <[email protected]>
drm/mediatek: Remove the redundant driver data for DPIHsiao Chien Sung <[email protected]>
drm/mediatek: Return error if MDP RDMA failed to enable the clockArnd Bergmann <[email protected]>
media: i2c: mt9m114: usefsleep()in place ofudelay()Jessica Zhang <[email protected]>
drm/msm/dpu: Drop enable andframe_countparameters fromdpu_hw_setup_misr()Jessica Zhang <[email protected]>
drm/msm/dpu: Setinput_selbit for INTFClaudiu Beznea <[email protected]>
clk: renesas: rzg2l: Check reset monitor registersClaudiu Beznea <[email protected]>
clk: renesas: rzg2l-cpg: Reuse code inrzg2l_cpg_reset()Christophe JAILLET <[email protected]>
media: dvb-frontends: m88ds3103: Fix a memory leak in an error handling path ofm88ds3103_probe()Dan Carpenter <[email protected]>
media: dvbdev: drop refcount on error path indvb_device_open()Chao Yu <[email protected]>
f2fs: fix to update iostat correctly inf2fs_filemap_fault()Chao Yu <[email protected]>
f2fs: fix to check compress file inf2fs_move_file_range()Chao Yu <[email protected]>
f2fs: fix to wait on block writeback forpost_readcaseChris Morgan <[email protected]>
drm/panel: st7701: Fix AVCL calculationBjorn Andersson <[email protected]>
drm/msm/adreno: Fix A680 chip idTomi Valkeinen <[email protected]>
media: rkisp1: Fix memory leaks inrkisp1_isp_unregister()Tomi Valkeinen <[email protected]>
media: rkisp1: Fix media device memory leakMehdi Djait <[email protected]>
media: dt-bindings: media: rkisp1: Fix the port description for the parallel interfaceTomi Valkeinen <[email protected]>
media: imx-mipi-csis: Drop extra clock enable atprobe()Tomi Valkeinen <[email protected]>
media: imx-mipi-csis: Fix clock handling inremove()Hans Verkuil <[email protected]>
media: videobuf2: request more buffers forvb2_readHans Verkuil <[email protected]>
media: bttv: add back vbi hackHans Verkuil <[email protected]>
media: bttv:start_streamingshould return a proper error codeDaniel Rosenberg <[email protected]>
f2fs: Restrict max filesize for 16K f2fsSatya Priya Kakitapalli <[email protected]>
clk: qcom: gpucc-sm8150: Update thegpu_cc_pll1configChengchang Tang <[email protected]>
RDMA/hns: Fix memory leak infree_mr_init()Pierre-Louis Bossart <[email protected]>
ASoC: SOF: Intel: pci-mtl: fix ARL-S definitionsZhipeng Lu <[email protected]>
media: cx231xx: fix a memleak incx231xx_init_isocTomi Valkeinen <[email protected]>
drm/bridge: tc358767: Fix return value on error caseTomi Valkeinen <[email protected]>
drm/bridge: cdns-mhdp8546: Fix use of uninitialized variableZhipeng Lu <[email protected]>
drm/radeon/trinity_dpm: fix a memleak intrinity_parse_power_tableZhipeng Lu <[email protected]>
drm/radeon/dpm: fix a memleak insumo_parse_power_tableYang Yingliang <[email protected]>
drm/radeon: check thealloc_workqueuereturn value inradeon_crtc_init()Alex Hung <[email protected]>
drm/amd/display: Check writeback connectors increate_validate_stream_for_sinkHarry Wentland <[email protected]>
drm/amd/display: Usedrm_connectorincreate_stream_for_sinkHarry Wentland <[email protected]>
drm/amd/display: Returndrm_connectorfromfind_first_crtc_matching_connectorDmitry Baryshkov <[email protected]>
drm/msm/dpu: correct clk bit for WB2 blockAngeloGioacchino Del Regno <[email protected]>
drm/panfrost: Ignorecore_maskfor poweroff and disable PWRTRANS irqDmitry Baryshkov <[email protected]>
drm/msm/dpu: populate SSPP scaler block versionDmitry Baryshkov <[email protected]>
drm/msm/dpu: enable SmartDMA on SM8450Bard Liao <[email protected]>
ASoC: SOF: topology: Use partial match for disconnecting DAI link and DAI widgetBard Liao <[email protected]>
ASoC: Intel: sof_sdw_rt_sdca_jack_common: ctx->headset_codec_dev = NULLBrent Lu <[email protected]>
ASoC: Intel:glk_rt5682_max98357a: fix board id mismatchSebastian Reichel <[email protected]>
media: v4l: async: Fix duplicated list deletionDmitry Baryshkov <[email protected]>
drm/drv: propagate errors fromdrm_modeset_register_all()Konrad Dybcio <[email protected]>
drm/msm/dsi: Usepm_runtime_resume_and_getto prevent refcnt leaksBjorn Andersson <[email protected]>
drm/msm/dpu: Add missing safe_lut_tbl in sc8180x catalogDmitry Baryshkov <[email protected]>
drm/msm/mdp4: flush vblank event on disableArnd Bergmann <[email protected]>
drm/msm/a6xx: add QMP dependencyLinus Walleij <[email protected]>
ASoC: cs35l34: Fix GPIO name and drop legacy includeLinus Walleij <[email protected]>
ASoC: cs35l33: Fix GPIO name and drop legacy includeUwe Kleine-König <[email protected]>
drm/imx/lcdc: Fix double-free of driver dataTomi Valkeinen <[email protected]>
drm/tidss: Fix dss resetTomi Valkeinen <[email protected]>
drm/tidss: Check for K2G in indispc_softreset()Tomi Valkeinen <[email protected]>
drm/tidss: Return error value from from softresetTomi Valkeinen <[email protected]>
drm/tidss: Move reset to the end ofdispc_init()Mario Limonciello <[email protected]>
drm/amd/display: Fix NULL pointer dereference at hibernateNikita Zhandarovich <[email protected]>
drm/radeon: check return value ofradeon_ring_lock()Nikita Zhandarovich <[email protected]>
drm/radeon/r100: Fix integer overflow issues inr100_cs_track_check()Nikita Zhandarovich <[email protected]>
drm/radeon/r600_cs: Fix possible int overflows inr600_cs_check_reg()Arnd Bergmann <[email protected]>
ASoC:fsl_rpmsg: updateKconfigdependenciesThomas Zimmermann <[email protected]>
fbdev/sm712fb: Use correct initializer macros for structfb_opsXin Ji <[email protected]>
Revert "drm/bridge: Add 200ms delay to wait FW HPD status stable"Chao Yu <[email protected]>
f2fs: fix to avoid dirent corruptionLiu Ying <[email protected]>
drm/bridge: imx93-mipi-dsi: Fix a couple of building warningsDario Binacchi <[email protected]>
drm/bridge: Fix typo inpost_disable()descriptionLuben Tuikov <[email protected]>
drm/sched: Fix bounds limiting when given a malformed entityAlexander Stein <[email protected]>
media: amphion: Fix VPU core alias namePaul Kocialkowski <[email protected]>
media: rkvdec: Hook the (TRY_)DECODER_CMD stateless ioctlsPaul Kocialkowski <[email protected]>
media: verisilicon: Hook the (TRY_)DECODER_CMD stateless ioctlsPaul Kocialkowski <[email protected]>
media: visl: Hook the (TRY_)DECODER_CMD stateless ioctlsZheng Wang <[email protected]>
media: mtk-jpeg: Remove cancel worker inmtk_jpeg_removeto avoid the crash of multi-core JPEG devicesRicardo B. Marliere <[email protected]>
media: pvrusb2: fix use after free on context disconnectionTomi Valkeinen <[email protected]>
drm/tilcdc: Fix irq free on unloadUwe Kleine-König <[email protected]>
drm/bridge: tpd12s015: Drop buggy__exitannotation for remove functionAbhinav Singh <[email protected]>
drm/nouveau/fence:: fix warning directly dereferencing a rcu pointerChris Morgan <[email protected]>
drm/panel-elida-kd35t133: hold panel in reset for unprepareChris Morgan <[email protected]>
drm/panel: nv3051d: Hold panel in reset for unprepareJunxian Huang <[email protected]>
RDMA/hns: Fix inappropriate err code for unsupported operationsLeon Romanovsky <[email protected]>
RDMA/usnic: Silence uninitialized symbol smatch warningsAngeloGioacchino Del Regno <[email protected]>
drm/panfrost: Really power off GPU cores inpanfrost_gpu_power_off()Ville Syrjälä <[email protected]>
drm/dp_mst: Fix fractional DSC bpp handlingJouni Högander <[email protected]>
drm/i915/display: Move releasing gem object away from fb trackingTomi Valkeinen <[email protected]>
Revert "drm/omapdrm: Annotate dma-fence critical section in commit path"Tomi Valkeinen <[email protected]>
Revert "drm/tidss: Annotate dma-fence critical section in commit path"Arnd Bergmann <[email protected]>
ARM: davinci: always selectCONFIG_CPU_ARM926TEric Dumazet <[email protected]>
ip6_tunnel: fixNEXTHDR_FRAGMENThandling inip6_tnl_parse_tlv_enc_lim()David Howells <[email protected]>
rxrpc: Fix skbuff cleanup of call'srecvmsg_queueandrx_oos_queueAsmaa Mnebhi <[email protected]>
mlxbf_gige: Enable the GigE port inmlxbf_gige_openAsmaa Mnebhi <[email protected]>
mlxbf_gige: Fix intermittent no ip issueTao Liu <[email protected]>
net/sched:act_ct: fix skb leak and crash on ooo fragsMing Lei <[email protected]>
blk-cgroup: fix rcu lockdep warning inblkg_lookup()Ilya Leoshkevich <[email protected]>
s390/bpf: Fix gotol with large offsetsEric Dumazet <[email protected]>
sctp: fix busy pollingEric Dumazet <[email protected]>
sctp: supportMSG_ERRQUEUEflag inrecvmsg()John Fastabend <[email protected]>
bpf: sockmap, fix proto update hook to avoid dup callsBenjamin Berg <[email protected]>
wifi: cfg80211: parse all ML elements in an ML probe responseBenjamin Berg <[email protected]>
wifi: cfg80211: correct comment about MLD IDKunwu Chan <[email protected]>
ice: Fix some null pointer dereference issues inice_ptp.cAndy Yan <[email protected]>
arm64: dts: rockchip: Fix led pinctrl of lubancat 1Christoph Hellwig <[email protected]>
null_blk: don't capmax_hw_sectorstoBLK_DEF_MAX_SECTORSFrancesco Dolcini <[email protected]>
Bluetooth: btmtkuart: fixrecv_buf()return valueFrancesco Dolcini <[email protected]>
Bluetooth: btnxpuart: fixrecv_buf()return valueLuiz Augusto von Dentz <[email protected]>
Bluetooth: Fix bogus check for re-auth no supported with non-sspPablo Neira Ayuso <[email protected]>
netfilter:nf_tables: validate chain type update if availableFlorian Westphal <[email protected]>
netfilter:nf_tables: mark newset as dead on transaction abortMiri Korenblit <[email protected]>
wifi: iwlwifi: assignphy_ctxtbefore eSR activationAnjaneyulu <[email protected]>
wifi: iwlwifi: fix out of boundcopy_from_userIlan Peer <[email protected]>
wifi: iwlwifi: mvm: Do not warn if valid link pair was not foundJohannes Berg <[email protected]>
wifi: iwlwifi: mvm: send TX path flush in rfkillJohannes Berg <[email protected]>
wifi: iwlwifi: mvm: set siso/mimo chains to 1 in FW SMPS requestAyala Beker <[email protected]>
wifi: mac80211: fix advertised TTLM schedulingSu Hui <[email protected]>
wifi: rtlwifi: rtl8192se: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: rtl8192ee: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: rtl8192de: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: rtl8192ce: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: rtl8192cu: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: rtl8192c: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: rtl8188ee: phy: usingcalculate_bit_shift()Su Hui <[email protected]>
wifi: rtlwifi: addcalculate_bit_shift()Hou Tao <[email protected]>
bpf: Use c->unit_size to select target cache during freeKonrad Dybcio <[email protected]>
arm64: dts: qcom: sc8180x: Fix up PCIe nodesKonrad Dybcio <[email protected]>
arm64: dts: qcom: sc8180x: Mark PCIe hosts cache-coherentKonrad Dybcio <[email protected]>
arm64: dts: qcom: sm8550: Update idle state time requirementsKonrad Dybcio <[email protected]>
arm64: dts: qcom: sm8550: Separate out X3 idle stateChukun Pan <[email protected]>
arm64: dts: qcom: ipq6018: fix clock rates forGCC_USB0_MOCK_UTMI_CLKKonrad Dybcio <[email protected]>
arm64: dts: qcom: sc7280: Mark SDHCI hosts as cache-coherentLi Nan <[email protected]>
block: add check of 'minors' and 'first_minor' indevice_add_disk()Abel Vesa <[email protected]>
soc: qcom: llcc: FixLLCC_TRP_ATTR2_CFGnoffsetBartosz Golaszewski <[email protected]>
firmware: qcom: qseecom: fix memory leaks in error pathsDmitry Baryshkov <[email protected]>
arm64: dts: qcom: sm8150-hdk: fix SS USB regulatorsDmitry Baryshkov <[email protected]>
arm64: dts: qcom: sm8150: make dispcc cast minimal vote on MMCXKonrad Dybcio <[email protected]>
arm64: dts: qcom: sm6375: Hook up MPMJohan Hovold <[email protected]>
arm64: dts: qcom: sm6375: fix USB wakeup interrupt typesAtul Dhudase <[email protected]>
soc: qcom: llcc: Fixdis_cap_allocandretain_on_pcconfigurationNikita Travkin <[email protected]>
arm64: dts: qcom: acer-aspire1: Correct audio codec definitionHou Tao <[email protected]>
bpf: Limit the number of kprobes when attaching program to multiple kprobesHou Tao <[email protected]>
bpf: Limit the number of uprobes when attaching program to multiple uprobesJoakim Zhang <[email protected]>
dma-mapping: clear dev->dma_mem to NULL after freeing itArseniy Krasnov <[email protected]>
virtio/vsock: send credit update during settingSO_RCVLOWATArseniy Krasnov <[email protected]>
virtio/vsock: fix logic which reduces credit update messagesLeone Fernando <[email protected]>
ipmr: supportIP_PKTINFOon cache report IGMP msgHangbin Liu <[email protected]>
selftests/net: fix grep checking forfib_nexthop_multiprefixYonghong Song <[email protected]>
bpf: Fix a race condition betweenbtf_put()andmap_free()Ahmad Fatoum <[email protected]>
ARM: dts: stm32: don't mix SCMI and non-SCMI board compatiblesTushar Vyavahare <[email protected]>
selftests/xsk: Fix forSEND_RECEIVE_UNALIGNEDtestYihang Li <[email protected]>
scsi:hisi_sas: Correct the number of global debugfs registersYihang Li <[email protected]>
scsi:hisi_sas: Rollback some operations if FLR failedYihang Li <[email protected]>
scsi:hisi_sas: Check before using pointer variablesYihang Li <[email protected]>
scsi:hisi_sas: Replace with standard error code return valueManivannan Sadhasivam <[email protected]>
scsi: ufs: qcom: Fix the return value whenplatform_get_resource_byname()failsManivannan Sadhasivam <[email protected]>
scsi: ufs: qcom: Fix the return value ofufs_qcom_ice_program_key()Adam Ford <[email protected]>
arm64: dts: imx8mm: Reduce GPU to nominal speedGeert Uytterhoeven <[email protected]>
arm64: dts: renesas: white-hawk-cpu: Fix missing serial console pin controlRob Herring <[email protected]>
arm64: dts: xilinx: Apply overlays to base dtbsLi Nan <[email protected]>
block: Setmemalloc_noioto false ondevice_add_disk()error pathYiFei Zhu <[email protected]>
selftests/bpf: Relaxtime_taitest for equal timestamps intai_forwardMiri Korenblit <[email protected]>
wifi: iwlwifi: don't support triggered EHT CQI feedbackMing Yen Hsieh <[email protected]>
wifi: mt76: mt7921: fix wrong 6Ghz power typeMing Yen Hsieh <[email protected]>
wifi: mt76: mt7921: fix CLC command timeout when suspend/resumeMing Yen Hsieh <[email protected]>
wifi: mt76: mt7921: fix country count limitation for CLCEugen Hristev <[email protected]>
arm64: dts: mediatek: mt8186: fix address warning for ADSP mailboxesChen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8186: Fix alias prefix forovl_2l0Moudy Ho <[email protected]>
arm64: dts: mediatek: mt8195: revise VDOSYS RDMA node nameMoudy Ho <[email protected]>
arm64: dts: mediatek: mt8183: correct MDP3 DMA-related nodesMoudy Ho <[email protected]>
dt-bindings: media: mediatek: mdp3: correct RDMA and WROT node with generic namesTiezhu Yang <[email protected]>
test_bpf: Rename secondALU64_SMOD_XtoALU64_SMOD_KAndrei Matei <[email protected]>
bpf: Fix accesses to uninit stack slotsAndrei Matei <[email protected]>
bpf: Guard stack limits against 32bit overflowJohan Hovold <[email protected]>
arm64: dts: hisilicon: hikey970-pmic: fix regulator cells propertiesAndrei Matei <[email protected]>
bpf: Fix verification of indirect var-off stack accessWang Zhao <[email protected]>
wifi: mt76: mt7921s: fix workqueue problem causes STA association failArnd Bergmann <[email protected]>
wifi: mt76: mt7996: fix mt7996_mcu_all_sta_info_event struct packingStanleyYP Wang <[email protected]>
wifi: mt76: mt7915: also MT7981 is 3T3R but nss2 on 5 GHz bandStanleyYP Wang <[email protected]>
wifi: mt76: mt7915: fix EEPROM offset of TSSI flag on MT7981StanleyYP Wang <[email protected]>
wifi: mt76: mt7996: fix alignment of sta info eventMeiChia Chiu <[email protected]>
wifi: mt76: mt7996: fix rate usage of inband discovery framesSujuan Chen <[email protected]>
wifi: mt76: mt7996: fix the size of structbss_rate_tlvLorenzo Bianconi <[email protected]>
wifi: mt76: mt7915: fallback to non-wed mode ifplatform_get_resourcefails inmt7915_mmio_wed_init()Christian Marangi <[email protected]>
wifi: mt76: fix typo inmt76_get_of_eeprom_from_nvmemfunctionYi-Chia Hsieh <[email protected]>
wifi: mt76: mt7996: fix uninitialized variable in parsing txfreeJohan Hovold <[email protected]>
arm64: dts: qcom: sm8550: fix USB wakeup interrupt typesJohan Hovold <[email protected]>
arm64: dts: qcom: sc7280: fixusb_2wakeup interrupt typesJohan Hovold <[email protected]>
arm64: dts: qcom: sa8775p: fix USB wakeup interrupt typesKonrad Dybcio <[email protected]>
arm64: dts: qcom: sc7280: Mark Adreno SMMU as DMA coherentKonrad Dybcio <[email protected]>
arm64: dts: qcom: sc7280: Fix up GPU SIDsNia Espera <[email protected]>
arm64: dts: qcom: sm8350: Fix DMA0 addressKrzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm6125: add interrupts to DWC3 USB controllerKrzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sdm845-db845c: correct LED panic indicatorKrzysztof Kozlowski <[email protected]>
arm64: dts: qcom: qrb5165-rb5: correct LED panic indicatorCaleb Connolly <[email protected]>
arm64: dts: qcom: qrb2210-rb1: use USB host modeArtem Chernyshev <[email protected]>
scsi: fnic: Return error ifvmalloc()failedAndrii Nakryiko <[email protected]>
bpf: fix check for attempt to corrupt spilled pointerHangbin Liu <[email protected]>
selftests/net: specify the interface when do arpingHou Tao <[email protected]>
bpf: Defer the free of inner map when necessaryHou Tao <[email protected]>
bpf: Add map andneed_deferparameters to .map_fd_put_ptr()Douglas Anderson <[email protected]>
arm64: dts: qcom: sm6350: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sc8280xp: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sa8775p: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sm8250: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sm8150: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sdm845: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sc7280: Make watchdog bark interrupt edge triggeredDouglas Anderson <[email protected]>
arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggeredKrzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8550: correct TX Soundwire clockKrzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8450: correct TX Soundwire clockBjorn Andersson <[email protected]>
arm64: dts: qcom: sc8180x-primus: Fix HALL_INT polarityStephen Boyd <[email protected]>
dt-bindings: arm: qcom: Fix html linkKrzysztof Kozlowski <[email protected]>
ARM: dts: qcom: sdx65: correct SPMI node nameKrzysztof Kozlowski <[email protected]>
ARM: dts: qcom: sdx65: correct PCIe EP phy-namesAndrii Nakryiko <[email protected]>
bpf: enforce precision of R0 on callback returnYu Kuai <[email protected]>
md: synchronize flush io with array reconfigurationJeroen van Ingen Schenau <[email protected]>
selftests/bpf: Fix erroneous bitmask operationMartin Blumenstingl <[email protected]>
wifi: rtw88: sdio: Honor the hostmax_req_sizein the RX pathJan Kiszka <[email protected]>
arm64: dts: ti: iot2050: Re-add aliasesTomi Valkeinen <[email protected]>
arm64: dts: ti: k3-am65-main: Fix DSS irq trigger typeNitin Yadav <[email protected]>
arm64: dts: ti: k3-am62a-main: Fix GPIO pin count in DT nodesSu Hui <[email protected]>
wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behaviorKarthikeyan Periyasamy <[email protected]>
wifi: ath12k: fix the error handler of rfkill configBart Van Assche <[email protected]>
scsi: bfa: Use the proper data type for BLIST flagsChristophe JAILLET <[email protected]>
firmware:ti_sci: Fix an off-by-one inti_sci_debugfs_create()Peter Delevoryas <[email protected]>
net/ncsi: Fix netlink major/minor version numbersJustin Tee <[email protected]>
scsi: lpfc: Fixlist_entrynull check warning inlpfc_cmpl_els_plogi()Dmitry Baryshkov <[email protected]>
ARM: dts: qcom: apq8064: correct XOADC register addressArnd Bergmann <[email protected]>
wifi: libertas: stop selecting wextLuca Weiss <[email protected]>
wifi: ath11k: Defer onrproc_getfailureJordan Rome <[email protected]>
bpf: Add crosstask check to__bpf_get_stackDave Marchevsky <[email protected]>
bpf: AddKF_RCUflag tobpf_refcount_acquire_implFlorian Lehner <[email protected]>
bpf, lpm: Fix check prefixlen before walking trieChih-Kang Chang <[email protected]>
wifi: rtw88: fix RX filter inFIF_ALLMULTIflagDan Carpenter <[email protected]>
wifi: plfxlc: check for allocation failure inplfxlc_usb_wreq_async()Luca Weiss <[email protected]>
ARM: dts: qcom: msm8226: provide dsi phy clocks to mmccJohan Hovold <[email protected]>
arm64: dts: qcom: sc8280xp-x13s: add missing camera LED pin configKonrad Dybcio <[email protected]>
arm64: dts: qcom: sc8280xp-x13s: Use the correct DP PHY compatibleCaleb Connolly <[email protected]>
arm64: dts: qcom: qrb4210-rb2: don't force usb peripheral modeDavid McKay <[email protected]>
asm-generic: Fix 32 bit__generic_cmpxchg_localBenjamin Coddington <[email protected]>
SUNRPC: Fixup v4.1 backchannel request timeoutsTrond Myklebust <[email protected]>
pNFS: Fix the pnfs block driver's calculation of layoutget sizeOlga Kornievskaia <[email protected]>
SUNRPC: fix_xprt_switch_find_current_entrylogicTrond Myklebust <[email protected]>
NFSv4.1/pnfs: Ensure we handle the errorNFS4ERR_RETURNCONFLICTScott Mayhew <[email protected]>
NFS: Use parent's objective cred innfs_access_login_time()Benjamin Coddington <[email protected]>
blocklayoutdriver: Fix reference leak ofpnfs_device_nodeArnd Bergmann <[email protected]>
csky: fixarch_jump_label_transform_staticoverrideDavid Howells <[email protected]>
keys, dns: Fix size check of V1 server-list headerChengming Zhou <[email protected]>
crypto: scomp - fix req->dst buffer overflowOvidiu Panait <[email protected]>
crypto: sahara - do not resize req->src when doing hash operationsOvidiu Panait <[email protected]>
crypto: sahara - fix processing hash requests with req->nbytes < sg->lengthOvidiu Panait <[email protected]>
crypto: sahara - improve error handling insahara_sha_process()Ovidiu Panait <[email protected]>
crypto: sahara - fixwait_for_completion_timeout()error handlingOvidiu Panait <[email protected]>
crypto: sahara - fix ahash reqsizeOvidiu Panait <[email protected]>
crypto: sahara - handle zero-length aes requestsOvidiu Panait <[email protected]>
crypto: sahara - avoid skcipher fallback code duplicationwangyangxin <[email protected]>
crypto: virtio - Wait for tasklet to complete on device removeAlexander Aring <[email protected]>
dlm: fix format seq ops type 4Edward Adam Davis <[email protected]>
gfs2: fix kernel BUG ingfs2_quota_cleanupOsama Muhammad <[email protected]>
gfs2: Fix kernel NULL pointer dereference ingfs2_rgrp_dumpChristian Brauner <[email protected]>
fs: indicate request originates from old mount APIGao Xiang <[email protected]>
erofs: fix memory leak on short-lived bounced pagesSergey Shtylyov <[email protected]>
pstore:ram_core: fix possible overflow inpersistent_ram_init_ecc()Zhiqi Song <[email protected]>
crypto: hisilicon/zip - save capability registers in probe processZhiqi Song <[email protected]>
crypto: hisilicon/sec2 - save capability registers in probe processZhiqi Song <[email protected]>
crypto: hisilicon/hpre - save capability registers in probe processWenkai Lin <[email protected]>
crypto: hisilicon/qm - add a function to set qm algsChenghai Huang <[email protected]>
crypto: hisilicon/zip - add zip comp high perf mode configurationZhiqi Song <[email protected]>
crypto: hisilicon/qm - save capability registers in qm init processOvidiu Panait <[email protected]>
crypto: sahara - fix error handling insahara_hw_descriptor_create()Ovidiu Panait <[email protected]>
crypto: sahara - fix processing requests with cryptlen < sg->lengthOvidiu Panait <[email protected]>
crypto: sahara - fix ahash selftest failureOvidiu Panait <[email protected]>
crypto: sahara - fix cbc selftest failureOvidiu Panait <[email protected]>
crypto: sahara - removeFLAGS_NEW_KEYlogicNikita Zhandarovich <[email protected]>
crypto: safexcel - Add error handling fordma_map_sg()callsYang Yingliang <[email protected]>
hwrng: stm32 - add missingclk_disable_unprepare()instm32_rng_init()Giovanni Cabiddu <[email protected]>
crypto: qat - add NULL pointer checkDamian Muszynski <[email protected]>
crypto: qat - fix mutex ordering inadf_rlDamian Muszynski <[email protected]>
crypto: qat - fix error path inadd_update_sla()Herbert Xu <[email protected]>
crypto:af_alg- Disallow multiple in-flight AIO requestsDinghao Liu <[email protected]>
crypto: ccp - fix memleak inccp_init_dm_workareaChen Ni <[email protected]>
crypto: sa2ul - Returncrypto_aead_setkeyto transfer the errorDamian Muszynski <[email protected]>
crypto: qat - addsysfs_addedflag for rate limitingDamian Muszynski <[email protected]>
crypto: qat - addsysfs_addedflag for rasGonglei (Arei) <[email protected]>
crypto: virtio - Handle dataq logic with taskletChanho Park <[email protected]>
crypto: jh7110 - Correct deferred probe returnDan Carpenter <[email protected]>
crypto: qat - prevent underflow inrp2srv_store()Dan Carpenter <[email protected]>
crypto: rsa - add a check for allocation failureMickaël Salaün <[email protected]>
selinux: Fix error priority for bind withAF_UNSPEConPF_INET6socketBinbin Zhou <[email protected]>
drivers/thermal/loongson2_thermal: Fix incorrectPTR_ERR()judgmentBorislav Petkov (AMD) <[email protected]>
cpuidle: haltpoll: Do not enable interrupts when entering idleZhaoLong Wang <[email protected]>
mtd: Fix gluebi NULL pointer dereference caused by ftl notifierRichard Fitzgerald <[email protected]>
kunit: debugfs: Handle errors fromalloc_string_stream()Richard Fitzgerald <[email protected]>
kunit: debugfs: Fix unchecked dereference indebugfs_print_results()Rafael J. Wysocki <[email protected]>
thermal: core: Fix NULL pointer dereference in zone registration error pathTony Luck <[email protected]>
ACPI: extlog: Clear Extended Error Log status whenRAS_CEChandled the errorAndy Shevchenko <[email protected]>
ACPI: LPSS: Fix the fractional clock divider flagsWolfram Sang <[email protected]>
spi: sh-msiof: Enforce fixed DTDL for R-Car H3Ard Biesheuvel <[email protected]>
efivarfs: Frees_fs_infoon unmountIlias Apalodimas <[email protected]>
efivarfs: force RO when remounting if SetVariable is not supportedGavrilov Ilia <[email protected]>
calipso: fix memory leak innetlbl_calipso_add_pass()Alexandra Diupina <[email protected]>
cpufreq: scmi: process the result ofdevm_of_clk_add_hw_provider()David E. Box <[email protected]>
platform/x86/intel/vsec: Fixxa_allocmemory leakYang Yingliang <[email protected]>
spi: cadence-quadspi: add missingclk_disable_unprepare()incqspi_probe()Chen Ni <[email protected]>
KEYS: encrypted: Add check for strsepNikita Kiryushin <[email protected]>
ACPI: LPIT: Avoid u32 multiplication overflowNikita Kiryushin <[email protected]>
ACPI: video: check for error while searching for backlight device parentRonald Monthero <[email protected]>
mtd: rawnand: IncrementIFC_TIMEOUT_MSECSfor nand controller responseAmit Kumar Mahapatra <[email protected]>
spi: spi-zynqmp-gqspi: fix driver kconfig dependenciesAlexander Antonov <[email protected]>
perf/x86/intel/uncore: Fix NULL pointer dereference issue inupi_fill_topology()Yiwei Lin <[email protected]>
sched/fair: Updatemin_vruntimeforreweight_entity()correctlyKunwu Chan <[email protected]>
powerpc/imc-pmu: Add a null pointer check inupdate_events_in_group()Kunwu Chan <[email protected]>
powerpc/powernv: Add a null pointer check inopal_powercap_init()Kunwu Chan <[email protected]>
powerpc/powernv: Add a null pointer check inopal_event_init()Kunwu Chan <[email protected]>
powerpc/powernv: Add a null pointer check toscom_debug_init_one()Nathan Lynch <[email protected]>
powerpc/rtas: Avoid warning on invalid token argument tosys_rtas()Kajol Jain <[email protected]>
powerpc/hv-gpci: Add return value check inaffinity_domain_via_partition_showfunctionMichael Ellerman <[email protected]>
selftests/powerpc: Fix error handling in FPU/VMX preemption testsNicholas Piggin <[email protected]>
KVM: PPC: Book3S HV: Handle pending exceptions on guest entry withMSR_EEJunhao He <[email protected]>
drivers/perf: hisi: Fix some event id for HiSilicon UC pmuRobin Murphy <[email protected]>
perf/arm-cmn: Fix HN-Fclass_occup_ideventsBorislav Petkov (AMD) <[email protected]>
x86/microcode/intel: Set new revision only after a successful updateNathan Lynch <[email protected]>
powerpc/pseries/memhp: Fix access beyond end of drmem arrayRandy Dunlap <[email protected]>
powerpc/44x: select I2C for CURRITUCKPeter Zijlstra <[email protected]>
x86: FixCPUIDLE_FLAG_IRQ_ENABLEleaking timer reprogramJann Horn <[email protected]>
fs/pipe: Fix lockdep false-positive in watchqueuepipe_write()Masahiro Yamada <[email protected]>
powerpc: add crtsavres.o to always-y instead of extra-yArnd Bergmann <[email protected]>
EDAC/thunderx: Fix possible out-of-bounds string accessYazen Ghannam <[email protected]>
x86/mce/inject: Clear test status valueColin Ian King <[email protected]>
x86/lib: Fix overflow when counting digits-------------
Diffstat:
Documentation/admin-guide/kernel-parameters.txt | 6 + Documentation/devicetree/bindings/arm/qcom.yaml | 2 +- .../devicetree/bindings/gpio/xlnx,gpio-xilinx.yaml | 2 +- .../bindings/media/mediatek,mdp3-rdma.yaml | 29 +- .../bindings/media/mediatek,mdp3-wrot.yaml | 23 +- .../devicetree/bindings/media/rockchip-isp1.yaml | 11 +- .../phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml | 4 +- .../bindings/timer/thead,c900-aclint-mtimer.yaml | 9 +- Documentation/driver-api/pci/p2pdma.rst | 16 +- Makefile | 4 +- arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 2 +- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 4 +- arch/arm/boot/dts/qcom/qcom-sdx55.dtsi | 4 +- arch/arm/boot/dts/qcom/qcom-sdx65.dtsi | 4 +- arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts | 2 +- arch/arm/boot/dts/st/stm32mp157c-dk2-scmi.dts | 2 +- arch/arm/boot/dts/st/stm32mp157c-ed1-scmi.dts | 2 +- arch/arm/boot/dts/st/stm32mp157c-ev1-scmi.dts | 3 +- arch/arm/mach-davinci/Kconfig | 2 + arch/arm64/boot/dts/freescale/imx8mm.dtsi | 4 +- arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi | 3 - arch/arm64/boot/dts/mediatek/mt8183.dtsi | 6 +- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 6 +- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 24 +- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 2 +- arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 4 + arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 1 - arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 4 +- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 14 +- arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts | 17 +- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +- arch/arm64/boot/dts/qcom/sc7280.dtsi | 12 +- arch/arm64/boot/dts/qcom/sc8180x-primus.dts | 2 +- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 10 +- .../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 11 + arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 2 +- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm6125.dtsi | 4 + arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm6375.dtsi | 41 ++- arch/arm64/boot/dts/qcom/sm8150-hdk.dts | 12 +- arch/arm64/boot/dts/qcom/sm8150.dtsi | 3 +- arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8350.dtsi | 4 +- arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8550.dtsi | 38 ++- .../boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi | 3 + arch/arm64/boot/dts/rockchip/rk3566-lubancat-1.dts | 2 +- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 4 +- arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 10 + arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 2 +- arch/arm64/boot/dts/xilinx/Makefile | 9 +- arch/arm64/kernel/ptrace.c | 13 +- arch/arm64/kvm/vgic/vgic-its.c | 5 + arch/arm64/kvm/vgic/vgic-mmio-v3.c | 27 +- arch/csky/include/asm/jump_label.h | 5 + arch/loongarch/include/asm/elf.h | 5 - arch/loongarch/kernel/elf.c | 5 - arch/loongarch/kernel/process.c | 1 + arch/loongarch/net/bpf_jit.c | 5 +- arch/mips/alchemy/devboards/db1200.c | 2 +- arch/mips/alchemy/devboards/db1550.c | 2 +- arch/mips/include/asm/dmi.h | 2 +- arch/mips/kernel/setup.c | 4 +- arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/rtas.c | 19 +- arch/powerpc/kvm/book3s_hv.c | 18 +- arch/powerpc/lib/Makefile | 2 +- arch/powerpc/perf/hv-gpci.c | 3 + arch/powerpc/perf/imc-pmu.c | 6 + arch/powerpc/platforms/44x/Kconfig | 1 + arch/powerpc/platforms/powernv/opal-irqchip.c | 2 + arch/powerpc/platforms/powernv/opal-powercap.c | 6 + arch/powerpc/platforms/powernv/opal-xscom.c | 5 + arch/powerpc/platforms/pseries/hotplug-memory.c | 9 +- arch/riscv/include/asm/sections.h | 1 + arch/riscv/include/asm/xip_fixup.h | 2 +- arch/riscv/kernel/module.c | 3 +- arch/riscv/kernel/patch.c | 11 +- arch/riscv/kernel/vmlinux-xip.lds.S | 2 + arch/riscv/kernel/vmlinux.lds.S | 2 + arch/riscv/mm/pageattr.c | 11 +- arch/s390/include/asm/pci_io.h | 32 +- arch/s390/net/bpf_jit_comp.c | 2 +- arch/s390/pci/pci_mmio.c | 12 +- arch/um/drivers/virt-pci.c | 2 +- arch/x86/events/intel/uncore_snbep.c | 10 +- arch/x86/include/asm/kvm-x86-pmu-ops.h | 2 +- arch/x86/include/asm/mwait.h | 11 +- arch/x86/kernel/cpu/mce/inject.c | 1 + arch/x86/kernel/cpu/microcode/intel.c | 14 +- arch/x86/kernel/kvmclock.c | 12 +- arch/x86/kvm/pmu.c | 63 +++- arch/x86/kvm/pmu.h | 18 -- arch/x86/kvm/svm/nested.c | 15 - arch/x86/kvm/svm/pmu.c | 16 - arch/x86/kvm/vmx/pmu_intel.c | 20 -- arch/x86/lib/misc.c | 2 +- arch/x86/pci/mmconfig-shared.c | 13 +- block/bio.c | 46 +-- block/blk-cgroup.h | 3 +- block/blk-mq.c | 16 +- block/genhd.c | 5 +- block/ioctl.c | 11 +- crypto/af_alg.c | 14 +- crypto/rsa.c | 2 + crypto/scompress.c | 6 + drivers/accel/habanalabs/common/habanalabs_ioctl.c | 2 +- drivers/acpi/acpi_extlog.c | 7 +- drivers/acpi/acpi_lpit.c | 2 +- drivers/acpi/acpi_lpss.c | 3 +- drivers/acpi/acpi_video.c | 12 +- drivers/acpi/property.c | 4 + drivers/android/binder_alloc.c | 22 +- drivers/base/class.c | 1 + drivers/base/node.c | 9 +- drivers/base/swnode.c | 3 + drivers/block/loop.c | 52 ++-- drivers/block/null_blk/main.c | 12 +- drivers/bluetooth/btmtkuart.c | 11 +- drivers/bluetooth/btnxpuart.c | 7 +- drivers/bus/mhi/ep/main.c | 139 ++++++--- drivers/bus/mhi/ep/ring.c | 41 +-- drivers/cdx/cdx.c | 14 +- drivers/char/hw_random/stm32-rng.c | 1 + drivers/clk/clk-renesas-pcie.c | 2 +- drivers/clk/clk-si5341.c | 4 +- drivers/clk/clk-sp7021.c | 12 +- drivers/clk/qcom/dispcc-sm8550.c | 12 +- drivers/clk/qcom/gcc-sm8550.c | 110 +++---- drivers/clk/qcom/gpucc-sm8150.c | 4 +- drivers/clk/qcom/gpucc-sm8550.c | 6 +- drivers/clk/qcom/videocc-sm8150.c | 1 + drivers/clk/renesas/rzg2l-cpg.c | 91 +++--- drivers/clk/zynqmp/clk-mux-zynqmp.c | 2 +- drivers/clk/zynqmp/divider.c | 66 +--- drivers/clocksource/timer-ep93xx.c | 5 +- drivers/clocksource/timer-ti-dm.c | 4 +- drivers/cpufreq/scmi-cpufreq.c | 7 +- drivers/cpuidle/cpuidle-haltpoll.c | 9 +- drivers/crypto/ccp/ccp-ops.c | 5 +- drivers/crypto/hisilicon/hpre/hpre_main.c | 122 ++++---- drivers/crypto/hisilicon/qm.c | 98 +++++- drivers/crypto/hisilicon/sec2/sec.h | 7 + drivers/crypto/hisilicon/sec2/sec_crypto.c | 10 +- drivers/crypto/hisilicon/sec2/sec_main.c | 70 +++-- drivers/crypto/hisilicon/zip/zip_main.c | 175 ++++++++--- drivers/crypto/inside-secure/safexcel_cipher.c | 19 +- .../intel/qat/qat_common/adf_accel_devices.h | 1 + drivers/crypto/intel/qat/qat_common/adf_rl.c | 7 +- drivers/crypto/intel/qat/qat_common/adf_rl.h | 1 + drivers/crypto/intel/qat/qat_common/adf_sysfs.c | 6 +- .../intel/qat/qat_common/adf_sysfs_ras_counters.c | 7 +- drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.c | 8 + drivers/crypto/sa2ul.c | 3 +- drivers/crypto/sahara.c | 248 +++++++-------- drivers/crypto/starfive/jh7110-cryp.c | 10 +- drivers/crypto/virtio/virtio_crypto_common.h | 2 + drivers/crypto/virtio/virtio_crypto_core.c | 26 +- drivers/cxl/core/port.c | 24 +- drivers/cxl/core/region.c | 2 +- drivers/cxl/cxl.h | 2 - drivers/edac/thunderx_edac.c | 10 +- drivers/firmware/qcom/qcom_qseecom_uefisecapp.c | 20 +- drivers/firmware/ti_sci.c | 10 +- drivers/gpio/gpio-mlxbf3.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 32 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 34 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h | 1 - drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c | 26 +- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 6 +- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 21 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 76 +++-- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 2 +- .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 6 +- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 +- .../display/dc/link/protocols/link_dp_training.c | 2 +- .../display/dc/link/protocols/link_dp_training.h | 2 +- drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c | 4 +- drivers/gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c | 52 +--- drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 5 +- .../gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 6 +- drivers/gpu/drm/bridge/analogix/anx7625.c | 3 - .../gpu/drm/bridge/cadence/cdns-mhdp8546-hdcp.c | 3 +- drivers/gpu/drm/bridge/imx/imx93-mipi-dsi.c | 4 +- drivers/gpu/drm/bridge/tc358767.c | 2 +- drivers/gpu/drm/bridge/ti-tpd12s015.c | 4 +- drivers/gpu/drm/display/drm_dp_mst_topology.c | 20 +- drivers/gpu/drm/drm_drv.c | 10 +- drivers/gpu/drm/i915/display/intel_dp.c | 2 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 5 +- drivers/gpu/drm/i915/display/intel_frontbuffer.c | 2 - .../gpu/drm/i915/gem/i915_gem_object_frontbuffer.h | 1 + drivers/gpu/drm/imx/lcdc/imx-lcdc.c | 9 - drivers/gpu/drm/mediatek/mtk_disp_merge.c | 2 +- drivers/gpu/drm/mediatek/mtk_dp.c | 1 + drivers/gpu/drm/mediatek/mtk_dpi.c | 16 +- drivers/gpu/drm/mediatek/mtk_mdp_rdma.c | 3 +- drivers/gpu/drm/msm/Kconfig | 1 + drivers/gpu/drm/msm/adreno/adreno_device.c | 2 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h | 8 +- .../drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h | 9 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h | 2 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_2_sc7180.h | 2 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h | 2 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h | 24 +- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 95 ++++-- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 6 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.h | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c | 6 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.h | 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c | 20 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h | 8 +- drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 9 + drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 4 +- drivers/gpu/drm/nouveau/dispnv50/disp.c | 3 +- drivers/gpu/drm/nouveau/nv04_fence.c | 2 +- drivers/gpu/drm/omapdrm/omap_drv.c | 9 +- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 2 + drivers/gpu/drm/panel/panel-newvision-nv3051d.c | 2 + drivers/gpu/drm/panel/panel-sitronix-st7701.c | 2 +- drivers/gpu/drm/panfrost/panfrost_gpu.c | 70 +++-- drivers/gpu/drm/radeon/r100.c | 4 +- drivers/gpu/drm/radeon/r600_cs.c | 4 +- drivers/gpu/drm/radeon/radeon_display.c | 7 +- drivers/gpu/drm/radeon/radeon_vm.c | 8 +- drivers/gpu/drm/radeon/si.c | 4 + drivers/gpu/drm/radeon/sumo_dpm.c | 4 +- drivers/gpu/drm/radeon/trinity_dpm.c | 4 +- drivers/gpu/drm/scheduler/sched_entity.c | 13 +- drivers/gpu/drm/tests/drm_dp_mst_helper_test.c | 6 +- drivers/gpu/drm/tidss/tidss_dispc.c | 63 +++- drivers/gpu/drm/tidss/tidss_kms.c | 4 - drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +- drivers/greybus/gb-beagleplay.c | 58 +++- drivers/hid/hid-sensor-hub.c | 2 +- drivers/hid/wacom_wac.c | 32 +- drivers/i2c/busses/i2c-s3c2410.c | 40 +-- drivers/idle/intel_idle.c | 19 +- drivers/iio/adc/ad7091r-base.c | 6 +- drivers/iio/adc/ad9467.c | 112 +++++-- drivers/iio/adc/adi-axi-adc.c | 74 +---- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 6 +- drivers/infiniband/hw/hns/hns_roce_pd.c | 2 +- drivers/infiniband/hw/mthca/mthca_cmd.c | 4 +- drivers/infiniband/hw/mthca/mthca_main.c | 2 +- drivers/infiniband/ulp/iser/iscsi_iser.h | 2 - drivers/infiniband/ulp/iser/iser_initiator.c | 5 +- drivers/infiniband/ulp/iser/iser_memory.c | 8 +- drivers/infiniband/ulp/iser/iser_verbs.c | 1 - drivers/input/keyboard/atkbd.c | 12 +- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + drivers/iommu/dma-iommu.c | 3 + drivers/iommu/of_iommu.c | 7 + drivers/leds/Kconfig | 1 + drivers/leds/leds-aw200xx.c | 7 +- drivers/md/md.c | 69 +++-- drivers/md/raid1.c | 12 +- drivers/media/common/videobuf2/videobuf2-core.c | 9 +- drivers/media/dvb-core/dvbdev.c | 2 + drivers/media/dvb-frontends/m88ds3103.c | 7 +- drivers/media/i2c/mt9m114.c | 2 +- drivers/media/pci/bt8xx/bttv-driver.c | 27 +- drivers/media/pci/bt8xx/bttv-vbi.c | 8 +- drivers/media/pci/solo6x10/solo6x10-offsets.h | 10 +- drivers/media/platform/amphion/vpu_core.c | 2 +- .../media/platform/mediatek/jpeg/mtk_jpeg_core.c | 1 - drivers/media/platform/nxp/imx-mipi-csis.c | 17 +- .../media/platform/rockchip/rkisp1/rkisp1-dev.c | 6 +- .../media/platform/rockchip/rkisp1/rkisp1-isp.c | 1 + drivers/media/platform/verisilicon/hantro_drv.c | 2 + drivers/media/platform/verisilicon/hantro_v4l2.c | 3 + drivers/media/test-drivers/visl/visl-video.c | 3 + drivers/media/usb/cx231xx/cx231xx-core.c | 2 + drivers/media/usb/pvrusb2/pvrusb2-context.c | 3 +- drivers/media/v4l2-core/v4l2-async.c | 1 - drivers/mfd/cs42l43-sdw.c | 74 ++--- drivers/mfd/intel-lpss.c | 2 +- drivers/mfd/rk8xx-core.c | 34 +-- drivers/mfd/syscon.c | 4 + drivers/mfd/tps6594-core.c | 3 + drivers/mmc/host/Kconfig | 10 +- drivers/mtd/mtd_blkdevs.c | 4 +- drivers/mtd/nand/raw/fsl_ifc_nand.c | 2 +- drivers/net/amt.c | 6 +- drivers/net/dsa/vitesse-vsc73xx-core.c | 2 + drivers/net/ethernet/intel/ice/ice_ptp.c | 4 + drivers/net/ethernet/marvell/octeontx2/af/rpm.c | 7 +- .../ethernet/mellanox/mlxbf_gige/mlxbf_gige_main.c | 26 +- .../ethernet/mellanox/mlxbf_gige/mlxbf_gige_rx.c | 6 +- .../net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c | 8 +- .../ethernet/mellanox/mlxsw/spectrum_acl_tcam.c | 6 +- .../net/ethernet/mellanox/mlxsw/spectrum_router.c | 24 +- drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c | 2 +- drivers/net/ethernet/renesas/ravb_main.c | 2 +- drivers/net/ethernet/stmicro/stmmac/stmmac.h | 1 + .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 29 +- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 33 +- drivers/net/ethernet/ti/am65-cpsw-nuss.c | 5 +- drivers/net/netdevsim/netdev.c | 9 +- drivers/net/phy/micrel.c | 9 + drivers/net/usb/r8152.c | 16 +- drivers/net/wireless/ath/ath11k/ahb.c | 4 +- drivers/net/wireless/ath/ath12k/core.c | 6 +- drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c | 3 +- drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 2 +- .../net/wireless/intel/iwlwifi/mvm/mld-mac80211.c | 8 +- drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c | 11 - drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 2 +- drivers/net/wireless/marvell/libertas/Kconfig | 2 - drivers/net/wireless/marvell/mwifiex/cfg80211.c | 2 + drivers/net/wireless/marvell/mwifiex/fw.h | 1 + drivers/net/wireless/marvell/mwifiex/ioctl.h | 1 + drivers/net/wireless/marvell/mwifiex/sdio.c | 21 +- drivers/net/wireless/marvell/mwifiex/sdio.h | 2 + drivers/net/wireless/marvell/mwifiex/uap_cmd.c | 8 + drivers/net/wireless/mediatek/mt76/eeprom.c | 6 +- drivers/net/wireless/mediatek/mt76/mt76.h | 3 +- drivers/net/wireless/mediatek/mt76/mt7615/sdio.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7915/eeprom.h | 3 +- drivers/net/wireless/mediatek/mt76/mt7915/main.c | 5 +- drivers/net/wireless/mediatek/mt76/mt7915/mmio.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7921/init.c | 23 +- drivers/net/wireless/mediatek/mt76/mt7921/main.c | 38 ++- drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 11 +- drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h | 1 + drivers/net/wireless/mediatek/mt76/mt7921/pci.c | 3 + drivers/net/wireless/mediatek/mt76/mt7921/sdio.c | 4 +- .../net/wireless/mediatek/mt76/mt7921/sdio_mac.c | 3 +- drivers/net/wireless/mediatek/mt76/mt7996/mac.c | 6 +- drivers/net/wireless/mediatek/mt76/mt7996/mcu.h | 10 +- drivers/net/wireless/mediatek/mt76/sdio.c | 18 +- drivers/net/wireless/purelifi/plfxlc/usb.c | 5 +- drivers/net/wireless/realtek/rtlwifi/pci.c | 79 +---- drivers/net/wireless/realtek/rtlwifi/pci.h | 5 - .../net/wireless/realtek/rtlwifi/rtl8188ee/phy.c | 14 +- .../wireless/realtek/rtlwifi/rtl8192c/phy_common.c | 12 +- .../wireless/realtek/rtlwifi/rtl8192c/phy_common.h | 1 - .../net/wireless/realtek/rtlwifi/rtl8192ce/phy.c | 6 +- .../net/wireless/realtek/rtlwifi/rtl8192ce/phy.h | 1 - .../net/wireless/realtek/rtlwifi/rtl8192cu/phy.c | 6 +- .../net/wireless/realtek/rtlwifi/rtl8192de/phy.c | 15 +- .../net/wireless/realtek/rtlwifi/rtl8192ee/phy.c | 16 +- .../net/wireless/realtek/rtlwifi/rtl8192se/phy.c | 15 +- .../net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 5 +- drivers/net/wireless/realtek/rtlwifi/wifi.h | 7 + drivers/net/wireless/realtek/rtw88/mac80211.c | 4 +- drivers/net/wireless/realtek/rtw88/sdio.c | 35 ++- drivers/net/xen-netback/netback.c | 44 ++- drivers/nvme/target/tcp.c | 22 +- drivers/nvme/target/trace.h | 5 +- drivers/of/base.c | 1 + drivers/of/unittest-data/tests-phandle.dtsi | 10 +- drivers/of/unittest.c | 74 +++-- drivers/pci/controller/dwc/pci-keystone.c | 9 + drivers/pci/controller/dwc/pcie-designware-ep.c | 1 + drivers/pci/controller/pcie-mediatek-gen3.c | 85 +++--- drivers/pci/controller/pcie-mediatek.c | 10 +- drivers/pci/controller/pcie-xilinx-dma-pl.c | 6 +- drivers/pci/endpoint/functions/pci-epf-mhi.c | 66 ++-- drivers/perf/arm-cmn.c | 2 +- drivers/perf/hisilicon/hisi_uncore_uc_pmu.c | 4 +- drivers/platform/x86/intel/vsec.c | 25 +- drivers/platform/x86/intel/vsec.h | 1 + drivers/power/supply/bq256xx_charger.c | 5 +- drivers/power/supply/cw2015_battery.c | 2 +- drivers/power/supply/qcom_pmi8998_charger.c | 4 + drivers/pwm/core.c | 2 +- drivers/pwm/pwm-jz4740.c | 7 +- drivers/pwm/pwm-stm32.c | 31 +- drivers/scsi/bfa/bfad_bsg.c | 2 +- drivers/scsi/fnic/fnic_debugfs.c | 3 +- drivers/scsi/hisi_sas/hisi_sas_main.c | 11 +- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 9 +- drivers/scsi/lpfc/lpfc_els.c | 4 +- drivers/scsi/mpi3mr/mpi3mr_app.c | 16 + drivers/scsi/mpi3mr/mpi3mr_os.c | 19 +- drivers/soc/qcom/llcc-qcom.c | 10 +- drivers/spi/Kconfig | 3 +- drivers/spi/spi-cadence-quadspi.c | 4 +- drivers/spi/spi-coldfire-qspi.c | 1 - drivers/spi/spi-sh-msiof.c | 17 ++ drivers/spmi/spmi-mtk-pmif.c | 20 +- drivers/staging/media/rkvdec/rkvdec.c | 3 + .../interface/vchiq_arm/vchiq_connected.c | 4 +- .../interface/vchiq_arm/vchiq_connected.h | 4 +- .../vc04_services/interface/vchiq_arm/vchiq_core.c | 6 +- drivers/target/target_core_file.c | 10 +- drivers/thermal/loongson2_thermal.c | 2 +- drivers/thermal/thermal_core.c | 1 - drivers/tty/serial/8250/8250_bcm2835aux.c | 2 + drivers/tty/serial/8250/8250_exar.c | 5 +- drivers/tty/serial/8250/8250_omap.c | 2 +- drivers/tty/serial/apbuart.c | 2 +- drivers/tty/serial/imx.c | 40 +-- drivers/tty/serial/omap-serial.c | 27 +- drivers/tty/serial/sc16is7xx.c | 8 +- drivers/tty/serial/serial_core.c | 61 +++- drivers/tty/serial/stm32-usart.c | 8 +- drivers/tty/tty_io.c | 3 + drivers/ufs/core/ufshcd.c | 7 +- drivers/ufs/host/ufs-qcom.c | 4 +- drivers/usb/cdns3/cdns3-gadget.c | 142 ++++++--- drivers/usb/cdns3/cdns3-gadget.h | 3 + drivers/usb/chipidea/core.c | 7 + drivers/usb/class/cdc-acm.c | 3 + drivers/usb/core/generic.c | 16 + drivers/usb/dwc3/core.c | 39 +-- drivers/usb/dwc3/ep0.c | 5 +- drivers/usb/dwc3/gadget.c | 19 +- drivers/usb/gadget/function/f_uvc.c | 63 ++-- drivers/usb/gadget/function/u_ether.c | 2 + drivers/usb/gadget/function/u_uvc.h | 6 + drivers/usb/gadget/legacy/webcam.c | 333 ++++++++++++++++----- drivers/usb/host/xhci-mtk.c | 40 ++- drivers/usb/host/xhci-mtk.h | 2 + drivers/usb/mon/mon_bin.c | 7 +- drivers/usb/phy/phy-mxs-usb.c | 3 +- drivers/usb/typec/class.c | 4 +- drivers/vdpa/alibaba/eni_vdpa.c | 6 +- drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 7 +- drivers/vfio/pci/pds/dirty.c | 6 +- drivers/vhost/vsock.c | 1 + drivers/video/fbdev/acornfb.c | 2 +- drivers/video/fbdev/core/fb_defio.c | 8 +- drivers/video/fbdev/imxfb.c | 27 +- drivers/video/fbdev/sm712fb.c | 6 +- drivers/watchdog/bcm2835_wdt.c | 3 +- drivers/watchdog/hpwdt.c | 2 +- drivers/watchdog/rti_wdt.c | 13 +- drivers/watchdog/watchdog_dev.c | 3 +- fs/ceph/Kconfig | 1 + fs/dlm/debug_fs.c | 2 +- fs/efivarfs/super.c | 15 + fs/erofs/decompressor.c | 2 +- fs/erofs/zdata.c | 5 +- fs/erofs/zmap.c | 23 +- fs/f2fs/data.c | 7 +- fs/f2fs/file.c | 7 +- fs/f2fs/namei.c | 2 +- fs/f2fs/node.c | 6 +- fs/f2fs/super.c | 8 + fs/f2fs/xattr.c | 11 +- fs/gfs2/quota.c | 3 +- fs/gfs2/rgrp.c | 2 +- fs/namespace.c | 11 + fs/nfs/blocklayout/blocklayout.c | 7 +- fs/nfs/dir.c | 2 +- fs/nfs/direct.c | 5 +- fs/nfs/internal.h | 2 +- fs/nfs/nfs4proc.c | 3 + fs/nfs/pnfs.c | 3 +- fs/pipe.c | 17 +- fs/pstore/ram_core.c | 2 +- fs/smb/server/asn1.c | 5 + fs/smb/server/connection.c | 6 - fs/smb/server/connection.h | 2 +- fs/smb/server/oplock.c | 6 + fs/smb/server/smb2pdu.c | 22 +- fs/smb/server/smb_common.c | 6 +- fs/smb/server/transport_rdma.c | 11 +- fs/smb/server/transport_tcp.c | 13 +- include/asm-generic/cmpxchg-local.h | 2 +- include/crypto/if_alg.h | 3 + include/drm/display/drm_dp_mst_helper.h | 2 +- include/drm/drm_bridge.h | 2 +- include/linux/bio.h | 9 +- include/linux/bpf.h | 13 +- include/linux/clk-provider.h | 4 +- include/linux/gpio/driver.h | 2 +- include/linux/hisi_acc_qm.h | 20 +- include/linux/iio/adc/adi-axi-adc.h | 4 + include/linux/mhi_ep.h | 19 +- include/linux/netfilter_bridge.h | 6 +- include/linux/pci.h | 12 +- include/linux/rcu_notifier.h | 6 +- include/linux/rcupdate.h | 6 + include/linux/skbuff.h | 2 +- include/linux/srcu.h | 2 +- include/linux/usb.h | 6 + include/linux/virtio_net.h | 9 +- include/linux/virtio_vsock.h | 1 + include/net/af_vsock.h | 2 +- include/net/bluetooth/hci_core.h | 1 - include/net/netdev_queues.h | 2 +- include/uapi/linux/bpf.h | 3 + init/do_mounts.c | 9 +- io_uring/io_uring.c | 22 +- io_uring/rw.c | 10 +- kernel/bpf/arraymap.c | 12 +- kernel/bpf/hashtab.c | 6 +- kernel/bpf/helpers.c | 2 +- kernel/bpf/lpm_trie.c | 3 + kernel/bpf/map_in_map.c | 13 +- kernel/bpf/map_in_map.h | 2 +- kernel/bpf/memalloc.c | 105 +------ kernel/bpf/stackmap.c | 11 +- kernel/bpf/syscall.c | 47 ++- kernel/bpf/verifier.c | 96 +++--- kernel/debug/kdb/kdb_main.c | 2 - kernel/dma/coherent.c | 4 +- kernel/rcu/Kconfig.debug | 25 ++ kernel/rcu/rcu.h | 8 +- kernel/rcu/rcutorture.c | 12 +- kernel/rcu/tree_stall.h | 11 +- kernel/rcu/update.c | 6 + kernel/sched/fair.c | 20 +- kernel/time/tick-sched.c | 5 + kernel/trace/bpf_trace.c | 7 + lib/kunit/debugfs.c | 34 ++- lib/test_bpf.c | 2 +- net/bluetooth/hci_conn.c | 8 +- net/bluetooth/hci_debugfs.c | 12 +- net/bluetooth/hci_event.c | 11 +- net/bridge/br_netfilter_hooks.c | 42 ++- net/bridge/br_netfilter_ipv6.c | 14 +- net/core/rtnetlink.c | 14 +- net/dns_resolver/dns_key.c | 2 +- net/dsa/user.c | 7 +- net/ethtool/features.c | 9 +- net/ipv4/af_inet.c | 1 + net/ipv4/ipmr.c | 13 +- net/ipv4/netfilter/nf_reject_ipv4.c | 9 +- net/ipv4/udp.c | 34 +-- net/ipv6/ip6_tunnel.c | 26 +- net/ipv6/mcast.c | 4 + net/ipv6/netfilter/nf_reject_ipv6.c | 11 +- net/ipv6/udp.c | 16 +- net/mac80211/mlme.c | 49 ++- net/mptcp/options.c | 6 +- net/mptcp/subflow.c | 17 +- net/ncsi/internal.h | 7 +- net/ncsi/ncsi-netlink.c | 4 +- net/ncsi/ncsi-pkt.h | 7 +- net/ncsi/ncsi-rsp.c | 26 +- net/netfilter/ipset/ip_set_hash_netiface.c | 8 +- net/netfilter/ipvs/ip_vs_xmit.c | 4 +- net/netfilter/nf_log_syslog.c | 13 +- net/netfilter/nf_queue.c | 6 +- net/netfilter/nf_tables_api.c | 38 ++- net/netfilter/nfnetlink_log.c | 8 +- net/netfilter/nft_limit.c | 19 +- net/netfilter/xt_physdev.c | 2 +- net/netlabel/netlabel_calipso.c | 49 +-- net/rxrpc/ar-internal.h | 1 + net/rxrpc/call_object.c | 4 +- net/rxrpc/local_object.c | 13 +- net/rxrpc/output.c | 6 +- net/rxrpc/rxkad.c | 2 + net/sched/act_ct.c | 12 +- net/sctp/socket.c | 13 +- net/sunrpc/xprt.c | 23 +- net/sunrpc/xprtmultipath.c | 2 +- net/tls/tls_sw.c | 6 +- net/unix/unix_bpf.c | 21 +- net/vmw_vsock/af_vsock.c | 9 +- net/vmw_vsock/hyperv_transport.c | 4 +- net/vmw_vsock/virtio_transport.c | 1 + net/vmw_vsock/virtio_transport_common.c | 43 ++- net/vmw_vsock/vsock_loopback.c | 1 + net/wireless/scan.c | 47 ++- rust/bindgen_parameters | 4 + security/apparmor/lib.c | 1 + security/apparmor/lsm.c | 1 - security/apparmor/policy.c | 13 +- security/apparmor/policy_unpack.c | 13 +- security/keys/encrypted-keys/encrypted.c | 4 + security/selinux/hooks.c | 7 + sound/drivers/aloop.c | 23 +- sound/pci/hda/patch_hdmi.c | 6 + sound/pci/hda/patch_realtek.c | 3 + sound/pci/oxygen/oxygen_mixer.c | 2 +- sound/soc/amd/vangogh/acp5x-mach.c | 35 +-- sound/soc/codecs/cs35l33.c | 4 +- sound/soc/codecs/cs35l34.c | 4 +- sound/soc/codecs/rt5645.c | 8 - sound/soc/codecs/tas2781-fmwlib.c | 1 + sound/soc/fsl/Kconfig | 1 + .../soc/intel/boards/sof_sdw_rt_sdca_jack_common.c | 1 + sound/soc/intel/common/soc-acpi-intel-glk-match.c | 14 +- sound/soc/mediatek/common/mtk-dsp-sof-common.c | 2 +- sound/soc/sof/intel/hda.h | 1 + sound/soc/sof/intel/mtl.c | 28 ++ sound/soc/sof/intel/pci-mtl.c | 12 +- sound/soc/sof/ipc4-loader.c | 11 +- sound/soc/sof/topology.c | 2 +- sound/usb/mixer_scarlett2.c | 207 +++++++++---- tools/include/uapi/linux/bpf.h | 3 + tools/lib/api/io.h | 1 + tools/perf/builtin-stat.c | 18 +- .../arch/arm64/ampere/ampereone/core-imp-def.json | 2 +- .../pmu-events/arch/arm64/arm/cmn/sys/cmn.json | 2 +- .../arch/powerpc/power10/datasource.json | 18 +- .../attr/test-record-user-regs-no-sve-aarch64 | 2 +- .../tests/attr/test-record-user-regs-sve-aarch64 | 2 +- tools/perf/tests/workloads/thloop.c | 4 +- tools/perf/util/bpf-event.c | 8 +- tools/perf/util/bpf-event.h | 12 +- tools/perf/util/db-export.c | 4 +- tools/perf/util/env.c | 50 ++-- tools/perf/util/env.h | 4 + tools/perf/util/genelf.c | 6 +- tools/perf/util/header.c | 17 +- tools/perf/util/hisi-ptt.c | 1 + tools/perf/util/mem-events.c | 25 +- tools/perf/util/stat-shadow.c | 2 +- tools/perf/util/unwind-libdw.c | 21 +- tools/perf/util/unwind-libunwind-local.c | 2 +- tools/testing/selftests/alsa/conf.c | 2 +- tools/testing/selftests/alsa/mixer-test.c | 4 +- tools/testing/selftests/bpf/prog_tests/bpf_iter.c | 2 + tools/testing/selftests/bpf/prog_tests/time_tai.c | 2 +- .../selftests/bpf/progs/bpf_iter_task_stack.c | 5 + tools/testing/selftests/bpf/progs/iters.c | 2 +- .../selftests/bpf/progs/test_global_func16.c | 2 +- .../selftests/bpf/progs/verifier_basic_stack.c | 8 +- .../testing/selftests/bpf/progs/verifier_int_ptr.c | 5 +- .../selftests/bpf/progs/verifier_raw_stack.c | 5 +- .../testing/selftests/bpf/progs/verifier_var_off.c | 62 +++- .../selftests/bpf/progs/xdp_synproxy_kern.c | 4 +- .../selftests/bpf/verifier/atomic_cmpxchg.c | 11 - tools/testing/selftests/bpf/verifier/calls.c | 4 +- tools/testing/selftests/bpf/xskxceiver.c | 25 +- .../drivers/net/bonding/mode-1-recovery-updelay.sh | 2 +- .../drivers/net/bonding/mode-2-recovery-updelay.sh | 2 +- .../testing/selftests/drivers/net/mlxsw/qos_pfc.sh | 18 +- .../drivers/net/mlxsw/spectrum-2/tc_flower.sh | 106 ++++++- .../selftests/net/arp_ndisc_untracked_subnets.sh | 2 +-
Quoted 8 lines
.../selftests/net/fib_nexthop_multiprefix.sh | 4 +- tools/testing/selftests/powerpc/math/fpu_preempt.c | 9 +- tools/testing/selftests/powerpc/math/vmx_preempt.c | 10 +- tools/testing/selftests/sgx/Makefile | 2 +- tools/testing/selftests/sgx/load.c | 9 +- tools/testing/selftests/sgx/sigstruct.c | 5 +- tools/testing/selftests/sgx/test_encl.c | 8 +- 643 files changed, 5372 insertions(+), 3267 deletions(-)
Hi, kernel 6.7.2-rc1 seems to work fine on various x86_64 machines and VMs of mine, using Haswell, Kaby Lake and Coffee Lake CPUs.
It might be worth a thought to consider taking in the following patch for ath11k as well:
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/
According to various reports, this seems to fix crashes related to ath11k that started with kernel 6.7:
https://bugzilla.kernel.org/show_bug.cgi?id=218364
https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/issues/18
I don't have any ath11k hardware to test/reproduce this, though.
Regards
Pascal
Greg Kroah-Hartman
maintainerQuoted 5 lines · Pascal Ernster
It might be worth a thought to consider taking in the following patch for ath11k as well:
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/
Quoted 8 lines
According to various reports, this seems to fix crashes related to ath11k that started with kernel 6.7:
https://bugzilla.kernel.org/show_bug.cgi?id=218364
https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/issues/18
I don't have any ath11k hardware to test/reproduce this, though.
When it is in Linus's tree, feel free to submit it for inclusion.
thanks,
greg k-h
Quoted 9 lines
This is the start of the stable review cycle for the 6.7.2 release. There are 641 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, 24 Jan 2024 23:56:49 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 9 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.7.2-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.7.y
and the diffstat can be found below.thanks,
greg k-h
Compiled and booted on my x86_64 and ARM64 test systems. No errors or regressions.
Thanks.