7.3.5-rc1 review
Subsystems (2)
Greg Kroah-Hartman
maintainerPATCH 483/507 ASoC: hdac_hda: Restore the codec device type on unbind
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Peter Ujfalusi <[email protected]>
[ Upstream commit 08a44bde821d4fe22c0b6e63da04b3c59ac243a8 ]
hdac_hda_codec_probe() changes the type of the codec device to HDA_DEV_ASOC to prevent snd_hda_codec_unregister() from unregistering the device when the card is freed.
The type is never restored, and hda_bus_match() requires the device and driver types to be equal. After unbinding the codec driver via sysfs the HDA_DEV_LEGACY codec drivers no longer match the device and bind fails with -ENODEV.
Restore HDA_DEV_LEGACY with a device managed action registered before the component, so it runs after the component and the card are gone.
--- sound/soc/codecs/hdac_hda.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
sound/soc/codecs/hdac_hda.c +12 -0
@@ -633,6 +633,13 @@ static const struct snd_soc_component_driver hdac_hda_hdmi_codec = { .endianness = 1, }; +static void hdac_hda_restore_dev_type (void *data) +{ +struct hdac_device *hdev = data; + + hdev->type =HDA_DEV_LEGACY ; +} +static int hdac_hda_dev_probe (struct hdac_device *hdev) {struct hdac_hda_priv *hda_pvt;
@@ -650,6 +657,11 @@ static int hdac_hda_dev_probe(struct hdac_device *hdev) hda_pvt->need_display_power = true;dev_set_drvdata (&hdev->dev, hda_pvt); +/* Allow the legacy codec driver to match again after unbind */ + ret =devm_add_action (&hdev->dev, hdac_hda_restore_dev_type, hdev); +if (ret) +return ret; +/* hold the ref while we probe */ hlink =snd_hdac_ext_bus_get_hlink_by_name (hdev->bus,dev_name (&hdev->dev));if (!hlink) {
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 484/507 erofs: fix metadata reads at the end of file-backed images
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Hengyu Liang <[email protected]>
[ Upstream commit 52dceb88082b4c7983d1c8c7de1c181f018055ac ]
Commit e587a984d332 ("erofs: use dedicated meta inodes for file-backed mounts") made erofs_read_meta_folio() read the metadata of a file-backed mount one whole folio at a time.
However, an image only has to be a multiple of its block size. With a block size below the page size, it can end in the middle of a page. The read of that last page is then short, and erofs_fileio_ki_complete() fails it with -EIO. As of now, inodes in the last page of such an image cannot be read, and an image smaller than a page cannot be mounted.
The issue can be reproduced with util-linux 2.41, whose mount uses the image file directly:
mkdir src
for i in $(seq 50); do echo $i > src/$i; done
mkfs.erofs -b512 test.erofs src
mount -t erofs test.erofs /mnt
ls -l /mnt
Before that commit, ls -l lists all 50 files. After it, ls -l reports "Input/output error" for 24 of them.
This patch reads the folio only up to the end of the backing file and zeroes the rest, as the page cache of the backing file did before. A folio that lies wholly past the end is zeroed without a read.
--- fs/erofs/fileio.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-)
fs/erofs/fileio.c +15 -3
@@ -201,17 +201,29 @@ int erofs_read_meta_folio(struct file *file, struct folio *folio) .dev = { .m_pa = folio_pos(folio), }, };struct inode *inode =folio_inode (folio); +size_t len =folio_size (folio); +loff_t pos, isize;int err; err =erofs_map_dev (inode->i_sb, &io.dev);if (err)return err; + pos = io.dev.m_dif->fsoff + io.dev.m_pa; + isize =i_size_read (file_inode (io.dev.m_dif->file)); +if (pos +folio_size (folio) > isize) { + len = isize > pos ? isize - pos :0 ; +folio_zero_segment (folio, len,folio_size (folio)); +if (!len) { +folio_end_read (folio, true); +return 0 ; + } + } + io.rq =erofs_fileio_rq_alloc (&io.dev); - io.rq->bio.bi_iter.bi_sector = - (io.dev.m_dif->fsoff + io.dev.m_pa) >>9 ; + io.rq->bio.bi_iter.bi_sector = pos >>9 ;erofs_onlinefolio_init (folio); -bio_add_folio_nofail (&io.rq->bio, folio,folio_size (folio),0 ); +bio_add_folio_nofail (&io.rq->bio, folio, len,0 );erofs_fileio_rq_submit (io.rq);return 0 ; }
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 485/507 PCI: cadence: Remove device links to PHY
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: [email protected] <[email protected]>
[ Upstream commit b59e98ae3841f84d0fb21dbf80e69e6c241a29d9 ]
This is a partial revert of the device link pieces from commit dfb80534692d ("PCI: cadence: Add generic PHY support to host and EP drivers").
The trouble with this is that a PHY consumer driver dereferences fields from struct phy, which will become no longer possible.
Since commit 987351e1ea77 ("phy: core: Add consumer device link support") from 2019, the PHY core also adds a device link to order PHY provider and consumer suspend/resume operations. The reverted functionality is from 2018 and is redundant with the PHY core now.
Stable-dep-of: cfe96ce583c5 ("PCI: cadence: Store the core controller in platform drvdata")
--- .../pci/controller/cadence/pcie-cadence-plat.c | 4 ---- drivers/pci/controller/cadence/pcie-cadence.c | 16 +--------------- drivers/pci/controller/cadence/pcie-cadence.h | 2 -- 3 files changed, 1 insertion(+), 21 deletions(-)
drivers/pci/controller/cadence/pcie-cadence-plat.c +0 -4
@@ -41,7 +41,6 @@ static int cdns_plat_pcie_probe(struct platform_device *pdev)struct pci_host_bridge *bridge;struct cdns_pcie_ep *ep;struct cdns_pcie_rc *rc; -int phy_count;bool is_rc;int ret;
@@ -122,9 +121,6 @@ static int cdns_plat_pcie_probe(struct platform_device *pdev)pm_runtime_put_sync (dev);pm_runtime_disable (dev);cdns_pcie_disable_phy (cdns_plat_pcie->pcie); - phy_count = cdns_plat_pcie->pcie->phy_count; -while (phy_count--) -device_link_del (cdns_plat_pcie->pcie->link[phy_count]);return 0 ; }
drivers/pci/controller/cadence/pcie-cadence.c +1 -15
@@ -222,7 +222,6 @@ int cdns_pcie_init_phy(struct device *dev, struct cdns_pcie *pcie)struct device_node *np = dev->of_node;int phy_count;struct phy **phy; -struct device_link **link;int i;int ret;const char *name;
@@ -238,10 +237,6 @@ int cdns_pcie_init_phy(struct device *dev, struct cdns_pcie *pcie)if (!phy)return -ENOMEM ; - link =devm_kcalloc (dev, phy_count,sizeof (*link),GFP_KERNEL ); -if (!link) -return -ENOMEM ; -for (i =0 ; i < phy_count; i++) {of_property_read_string_index (np,"phy-names" , i, &name); phy[i] =devm_phy_get (dev, name);
@@ -249,17 +244,10 @@ int cdns_pcie_init_phy(struct device *dev, struct cdns_pcie *pcie) ret =PTR_ERR (phy[i]); goto err_phy; } - link[i] =device_link_add (dev, &phy[i]->dev,DL_FLAG_STATELESS ); -if (!link[i]) { -devm_phy_put (dev, phy[i]); - ret = -EINVAL ; - goto err_phy; - } } pcie->phy_count = phy_count; pcie->phy = phy; - pcie->link = link; ret =cdns_pcie_enable_phy (pcie);if (ret)
@@ -268,10 +256,8 @@ int cdns_pcie_init_phy(struct device *dev, struct cdns_pcie *pcie)return 0 ; err_phy: -while (--i >=0 ) { -device_link_del (link[i]); +while (--i >=0 )devm_phy_put (dev, phy[i]); - }return ret; }
drivers/pci/controller/cadence/pcie-cadence.h +0 -2
@@ -260,7 +260,6 @@ struct cdns_plat_pcie_of_data {* @is_hpa: indicates if the architecture is HPA * @phy_count: number of supported PHY devices * @phy: list of pointers to specific PHY control blocks -* @link: list of pointers to corresponding device link representations * @ops: Platform-specific ops to control various inputs from Cadence PCIe * wrapper * @cdns_pcie_reg_offsets: Register bank offsets for different SoC
@@ -276,7 +275,6 @@ struct cdns_pcie {bool is_hpa;int phy_count;struct phy **phy; -struct device_link **link;const struct cdns_pcie_ops *ops;const struct cdns_plat_pcie_of_data *cdns_pcie_reg_offsets;int max_link_speed;
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 486/507 PCI: cadence: Store the core controller in platform drvdata
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Linmao Li <[email protected]>
[ Upstream commit cfe96ce583c51bf6e034d4038c652a1e8227867c ]
cdns_plat_pcie_probe() stores a struct cdns_plat_pcie pointer with platform_set_drvdata(). cdns_plat_pcie_shutdown() and the callbacks in cdns_pcie_pm_ops retrieve the same pointer with dev_get_drvdata() but use it as a struct cdns_pcie pointer. This makes them read phy_count and phy beyond the wrapper.
struct cdns_plat_pcie only contains a pointer to struct cdns_pcie. Drop the redundant wrapper and store the struct cdns_pcie pointer directly.
--- .../controller/cadence/pcie-cadence-plat.c | 27 ++++++------------- 1 file changed, 8 insertions(+), 19 deletions(-)
drivers/pci/controller/cadence/pcie-cadence-plat.c +8 -19
@@ -14,14 +14,6 @@#define CDNS_PLAT_CPU_TO_BUS_ADDR 0x0FFFFFFF -/** -* struct cdns_plat_pcie - private data for this PCIe platform driver -* @pcie: Cadence PCIe controller -*/ -struct cdns_plat_pcie { -struct cdns_pcie *pcie; -}; -static const struct of_device_id cdns_plat_pcie_of_match[];static u64 cdns_plat_cpu_addr_fixup (struct cdns_pcie *pcie,u64 cpu_addr)
@@ -36,9 +28,9 @@ static const struct cdns_pcie_ops cdns_plat_ops = {static int cdns_plat_pcie_probe (struct platform_device *pdev) {const struct cdns_plat_pcie_of_data *data; -struct cdns_plat_pcie *cdns_plat_pcie;struct device *dev = &pdev->dev;struct pci_host_bridge *bridge; +struct cdns_pcie *pcie;struct cdns_pcie_ep *ep;struct cdns_pcie_rc *rc;bool is_rc;
@@ -51,11 +43,6 @@ static int cdns_plat_pcie_probe(struct platform_device *pdev) is_rc = data->is_rc;pr_debug (" Started %s with is_rc: %d\n" , __func__, is_rc); - cdns_plat_pcie =devm_kzalloc (dev,sizeof (*cdns_plat_pcie),GFP_KERNEL ); -if (!cdns_plat_pcie) -return -ENOMEM ; - -platform_set_drvdata (pdev, cdns_plat_pcie);if (is_rc) {if (!IS_ENABLED (CONFIG_PCIE_CADENCE_PLAT_HOST ))return -ENODEV ;
@@ -67,9 +54,9 @@ static int cdns_plat_pcie_probe(struct platform_device *pdev) rc =pci_host_bridge_priv (bridge); rc->pcie.dev = dev; rc->pcie.ops = &cdns_plat_ops; - cdns_plat_pcie->pcie = &rc->pcie; + pcie = &rc->pcie; - ret =cdns_pcie_init_phy (dev, cdns_plat_pcie->pcie); + ret =cdns_pcie_init_phy (dev, pcie);if (ret) {dev_err (dev,"failed to init phy\n" );return ret;
@@ -94,9 +81,9 @@ static int cdns_plat_pcie_probe(struct platform_device *pdev) ep->pcie.dev = dev; ep->pcie.ops = &cdns_plat_ops; - cdns_plat_pcie->pcie = &ep->pcie; + pcie = &ep->pcie; - ret =cdns_pcie_init_phy (dev, cdns_plat_pcie->pcie); + ret =cdns_pcie_init_phy (dev, pcie);if (ret) {dev_err (dev,"failed to init phy\n" );return ret;
@@ -114,13 +101,15 @@ static int cdns_plat_pcie_probe(struct platform_device *pdev) goto err_init; } +platform_set_drvdata (pdev, pcie); +return 0 ; err_init: err_get_sync:pm_runtime_put_sync (dev);pm_runtime_disable (dev); -cdns_pcie_disable_phy (cdns_plat_pcie->pcie); +cdns_pcie_disable_phy (pcie);return 0 ; }
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 487/507 PCI: cadence: Preserve all error codes in cdns_plat_pcie_probe()
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Vladimir Oltean <[email protected]>
[ Upstream commit fe108800a865b268eec103e4940c248c85a86e9f ]
The blamed commit functionally changed the error path of cdns_pcie_host_probe(), now cdns_plat_pcie_probe().
When the old code path executed "goto err_get_sync", the PCIe controller probe function propagated the pm_runtime_get_sync() error code. The new code doesn't, and returns 0.
Similarly for the "goto err_init" previously triggered by cdns_pcie_host_init() errors, and now triggered by cdns_pcie_host_setup() and cdns_pcie_ep_setup() errors. These are not propagated and will result in probing success, which is incorrect.
--- drivers/pci/controller/cadence/pcie-cadence-plat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/cadence/pcie-cadence-plat.c +1 -1
@@ -111,7 +111,7 @@ static int cdns_plat_pcie_probe(struct platform_device *pdev)pm_runtime_disable (dev);cdns_pcie_disable_phy (pcie); -return 0 ; +return ret; }static void cdns_plat_pcie_shutdown (struct platform_device *pdev)
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 488/507 f2fs: fix to invalidate curseg if change_curseg() fails
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Chao Yu <[email protected]>
[ Upstream commit e74476ad8162c1facc74b74ce2d1372492df872e ]
Our consistency stress test (fsstress + fio + atomic write workers + "f2fs_io shutdown 1") triggers below kernel BUG:
F2FS-fs (vdd): Stopped filesystem due to reason: 0
------------[ cut here ]------------ kernel BUG at fs/f2fs/segment.c:3989! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI Workqueue: writeback wb_workfn (flush-253:48) RIP: 0010:f2fs_allocate_data_block+0x257a/0x38e0 Call Trace: <TASK> do_write_block+0x155/0xc10 f2fs_outplace_write_data+0x192/0x340 f2fs_do_write_data_page+0xc57/0x1880 f2fs_write_single_data_page+0xda9/0x15a0 f2fs_write_cache_pages+0x973/0x1f20 __f2fs_write_data_pages+0x6c4/0x1890 do_writepages+0x21e/0x560 __writeback_single_inode+0x119/0x11b0 writeback_sb_inodes+0x67d/0x17a0 wb_writeback+0x207/0x820 wb_workfn+0x128/0xc30 process_one_work+0x925/0x1600 worker_thread+0x60a/0xff0 kthread+0x35f/0x460 ret_from_fork+0x474/0x7e0 ret_from_fork_asm+0x1a/0x30 </TASK>
The BUG is f2fs_bug_on(sbi, curseg->next_blkoff >= BLKS_PER_SEG(sbi)) in f2fs_allocate_data_block(), next_blkoff was 512.
The root cause is a race in between atomic write commit and shutdown as below:
Thread A (commit atomic write) Thread B (shutdown) Thread C (writeback)
- f2fs_ioc_commit_atomic_write
- f2fs_commit_atomic_write
- __f2fs_commit_atomic_write
- __replace_atomic_write_block
- f2fs_replace_block
- __f2fs_replace_block
- f2fs_ioc_shutdown
- f2fs_do_shutdown
: F2FS_GOING_DOWN_METASYNC
- f2fs_sync_fs
- f2fs_write_single_data_page : pass f2fs_cp_error() check
- f2fs_stop_checkpoint
: set CP_ERROR_FLAG
- change_curseg
- reset_curseg
: curseg->segno = new_segno
: curseg->alloc_type = SSR
: curseg->next_blkoff = __next_free_blkoff()
which is BLKS_PER_SEG if there is no free
slot in new_segno
- f2fs_get_sum_cache
: return -EIO due to f2fs_cp_error()
: return error w/o restoring curseg
: goto out_unlock, skip restoring
old segno, blkoff and alloc_type
- f2fs_do_write_data_page
- f2fs_outplace_write_data
- do_write_block
- f2fs_allocate_data_block : curseg->segno is valid : f2fs_bug_on(next_blkoff >= BLKS_PER_SEG)
Since commit 86f33603f8c5 ("f2fs: handle errors of f2fs_get_meta_page_nofail"), change_curseg() can fail after the curseg has already been switched to the new segment, then the curseg is left in an inconsistent state: it points to a segment which may have no free slot, its summary block is zeroed, and the caller can not restore it. Subsequent block allocation on the curseg will trigger the BUG. Moreover, the writeback thread dies with curseg_lock, curseg_mutex and sentry_lock held, so the commit, shutdown and other I/O threads hang in D state.
Since change_curseg() only fails once CP_ERROR_FLAG is set, no checkpoint will be committed afterward, let's invalidate the curseg via reset_curseg_fields() on failure, as new_curseg() does for -ENOSPC, then f2fs_allocate_data_block() will fail with -ENOSPC on the curseg instead of triggering BUG, and do_write_block() can handle the error since CP_ERROR_FLAG has been set.
--- fs/f2fs/segment.c | 1 + 1 file changed, 1 insertion(+)
fs/f2fs/segment.c +1 -0
@@ -3234,6 +3234,7 @@ static int change_curseg(struct f2fs_sb_info *sbi, int type)if (IS_ERR (sum_folio)) {/* GC won't be able to use stale summary pages by cp_error */ memset (curseg->sum_blk,0 , sbi->sum_entry_size); +reset_curseg_fields (curseg);return PTR_ERR (sum_folio); } sum_node =SUM_BLK_PAGE_ADDR (sbi, sum_folio, new_segno);
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 489/507 ACPI: utils: Add exclusive AML evaluation helpers
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ali Ahmet Memiş <[email protected]>
[ Upstream commit 80892972ff23bf0b9049230ef0931b34163aaed3 ]
ACPICA drops the interpreter lock while AML waits, for example around EC accesses, so two methods can run interleaved.
Some firmware relies on methods not interleaving, for instance by switching an EC page selector without taking the AML mutex that the other users of that page hold.
Add acpi_evaluate_object_exclusive(), acpi_evaluate_integer_exclusive() and acpi_execute_simple_method_exclusive() which serialize the evaluation under a global mutex, for callers that are known to be affected.
Stable-dep-of: 645f370c932d ("ACPI: battery: Evaluate battery methods exclusively")
--- drivers/acpi/utils.c | 41 +++++++++++++++++++++++++++++++++++++++++ include/acpi/acpi_bus.h | 7 +++++++ 2 files changed, 48 insertions(+)
drivers/acpi/utils.c +41 -0
@@ -10,6 +10,7 @@#include <linux/kernel.h> #include <linux/module.h> +#include <linux/mutex.h> #include <linux/slab.h> #include <linux/init.h> #include <linux/types.h>
@@ -243,6 +244,28 @@ acpi_extract_package(union acpi_object *package,EXPORT_SYMBOL (acpi_extract_package); +static DEFINE_MUTEX (acpi_exclusive_eval_lock); + +/** +* acpi_evaluate_object_exclusive - Evaluate an object without interleaving +* @handle: ACPI handle of the object or its scope. +* @pathname: Path of the object relative to @handle. +* @arguments: Arguments to pass, or NULL. +* @buffer: Buffer for the return value, or NULL. +* +* Same as acpi_evaluate_object(), but serialized with other exclusive +* evaluations. Use it only for methods known to break when interleaved. +*/ +acpi_status acpi_evaluate_object_exclusive (acpi_handle handle,acpi_string pathname, +struct acpi_object_list *arguments, +struct acpi_buffer *buffer) +{ +guard (mutex)(&acpi_exclusive_eval_lock); + +return acpi_evaluate_object (handle, pathname, arguments, buffer); +} +EXPORT_SYMBOL_GPL (acpi_evaluate_object_exclusive); + acpi_status acpi_evaluate_integer(acpi_handle handle, acpi_string pathname,
@@ -277,6 +300,16 @@ acpi_evaluate_integer(acpi_handle handle,EXPORT_SYMBOL (acpi_evaluate_integer); +acpi_status acpi_evaluate_integer_exclusive (acpi_handle handle,acpi_string pathname, +struct acpi_object_list *arguments, +unsigned long long *data) +{ +guard (mutex)(&acpi_exclusive_eval_lock); + +return acpi_evaluate_integer (handle, pathname, arguments, data); +} +EXPORT_SYMBOL_GPL (acpi_evaluate_integer_exclusive); +int acpi_get_local_u64_address (acpi_handle handle,u64 *addr) {acpi_status status;
@@ -685,6 +718,14 @@ acpi_status acpi_execute_simple_method(acpi_handle handle, char *method, }EXPORT_SYMBOL (acpi_execute_simple_method); +acpi_status acpi_execute_simple_method_exclusive (acpi_handle handle,char *method,u64 arg) +{ +guard (mutex)(&acpi_exclusive_eval_lock); + +return acpi_execute_simple_method (handle, method, arg); +} +EXPORT_SYMBOL_GPL (acpi_execute_simple_method_exclusive); +/** * acpi_evaluate_ej0: Evaluate _EJ0 method for hotplug operations * @handle: ACPI device handle
include/acpi/acpi_bus.h +7 -0
@@ -32,6 +32,12 @@ acpi_status acpi_evaluate_integer(acpi_handle handle, acpi_string pathname, struct acpi_object_list *arguments, unsigned long long *data); +acpi_status acpi_evaluate_object_exclusive (acpi_handle handle,acpi_string pathname, +struct acpi_object_list *arguments, +struct acpi_buffer *buffer); +acpi_status acpi_evaluate_integer_exclusive (acpi_handle handle,acpi_string pathname, +struct acpi_object_list *arguments, +unsigned long long *data);bool acpi_evaluate_reference (acpi_handle handle,acpi_string pathname,struct acpi_object_list *arguments,struct acpi_handle_list *list);
@@ -48,6 +54,7 @@ acpi_evaluate_ost(acpi_handle handle, u32 source_event, u32 status_code,bool acpi_has_method (acpi_handle handle,char *name);acpi_status acpi_execute_simple_method (acpi_handle handle,char *method,u64 arg); +acpi_status acpi_execute_simple_method_exclusive (acpi_handle handle,char *method,u64 arg);acpi_status acpi_evaluate_ej0 (acpi_handle handle);acpi_status acpi_evaluate_lck (acpi_handle handle,int lock);acpi_status acpi_evaluate_reg (acpi_handle handle,u8 space_id,u32 function);
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 490/507 ACPI: battery: Evaluate battery methods exclusively
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ali Ahmet Memiş <[email protected]>
[ Upstream commit 645f370c932db2cd3893f7fee61aa8b9debc8ac0 ]
On ThinkPad P1 Gen2 and P53, INT3403 _TMP switches the EC page selector without taking the AML mutex the battery methods use, so _BIX and _BST running at the same time can read the wrong page. Since commit d33e89d12295 ("thermal: core: Suspend thermal zones later and resume them earlier") this happens on most resumes.
Evaluate the battery methods with acpi_evaluate_object_exclusive().
--- drivers/acpi/battery.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)
drivers/acpi/battery.c +5 -7
@@ -583,9 +583,8 @@ static int acpi_battery_get_info(struct acpi_battery *battery)struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER ,NULL };acpi_status status =AE_ERROR ; - status =acpi_evaluate_object (battery->device->handle, - use_bix ?"_BIX" :"_BIF" , -NULL , &buffer); + status =acpi_evaluate_object_exclusive (battery->device->handle, + use_bix ?"_BIX" :"_BIF" ,NULL , &buffer);if (ACPI_FAILURE (status)) { acpi_handle_info(battery->device->handle,
@@ -624,8 +623,7 @@ static int acpi_battery_get_state(struct acpi_battery *battery) msecs_to_jiffies(cache_time)))return 0 ; - status =acpi_evaluate_object (battery->device->handle,"_BST" , -NULL , &buffer); + status =acpi_evaluate_object_exclusive (battery->device->handle,"_BST" ,NULL , &buffer);if (ACPI_FAILURE (status)) { acpi_handle_info(battery->device->handle, "_BST evaluation failed: %s",
@@ -675,8 +673,8 @@ static int acpi_battery_set_alarm(struct acpi_battery *battery) !test_bit(ACPI_BATTERY_ALARM_PRESENT, &battery->flags))return -ENODEV ; - status =acpi_execute_simple_method (battery->device->handle,"_BTP" , - battery->alarm); + status =acpi_execute_simple_method_exclusive (battery->device->handle,"_BTP" , + battery->alarm);if (ACPI_FAILURE (status))return -ENODEV ;
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 491/507 PCI: dwc: Set DMA_BYPASS bit in outbound IATU CTRL2 register
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Sumit Kumar <[email protected]>
[ Upstream commit efadda401c5c8e2390ba66508eba154dbd0db5a9 ]
An outbound iATU region matches any local (AXI/application-side) address that falls within its Base/Limit window and rewrites it to the PCIe-side address programmed in that region's Target Address Registers before the transaction goes out on the link. This matching does not distinguish CPU-initiated transactions from ones issued by the internal DMA engine (eDMA/HDMA).
Example: outbound region 0 is programmed with Base/Limit covering local addresses 0x8000_0000-0x8000_0FFF and Target 0x1_0000_0000, for CPU-initiated accesses. The DMA engine is later given a descriptor whose destination is the host address 0x8000_0080, which happens to fall inside region 0's Base/Limit range. The iATU matches the DMA transaction against region 0 too and rewrites it to 0x1_0000_0080 instead of passing 0x8000_0080 through unchanged. The transaction then lands on the wrong host address, causing data corruption or an IOMMU fault when the rewritten address has no valid mapping.
Set the DMA_BYPASS bit (bit 27) in PCIE_ATU_REGION_CTRL2 when programming outbound iATU regions so only CPU/AXI-initiated transactions are matched against the region; DMA engine transactions bypass the translation and go out on the PCIe link with their original address.
--- drivers/pci/controller/dwc/pcie-designware.c | 2 ++ drivers/pci/controller/dwc/pcie-designware.h | 1 + 2 files changed, 3 insertions(+)
drivers/pci/controller/dwc/pcie-designware.c +2 -0
@@ -577,6 +577,8 @@ int dw_pcie_prog_outbound_atu(struct dw_pcie *pci,/* The data-less messages only for now */ val |=PCIE_ATU_INHIBIT_PAYLOAD | atu->code; } + if (dw_pcie_ver_is_ge(pci, 460A)) + val |=PCIE_ATU_DMA_BYPASS ;dw_pcie_writel_atu_ob (pci, atu->index,PCIE_ATU_REGION_CTRL2 , val);/*
drivers/pci/controller/dwc/pcie-designware.h +1 -0
@@ -201,6 +201,7 @@#define PCIE_ATU_ENABLE BIT(31)#define PCIE_ATU_BAR_MODE_ENABLE BIT(30)#define PCIE_ATU_CFG_SHIFT_MODE_ENABLE BIT(28) +#define PCIE_ATU_DMA_BYPASS BIT(27)#define PCIE_ATU_INHIBIT_PAYLOAD BIT(22)#define PCIE_ATU_FUNC_NUM_MATCH_EN BIT(19)#define PCIE_ATU_LOWER_BASE 0x008
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 492/507 clk: nuvoton: ma35d1: Keep the clock count in the driver
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Miquel Raynal <[email protected]>
[ Upstream commit 26ec588063d9b6c70773b8729372e2bf6d3ea95a ]
The number of clocks is not a binding since this is a value that can change. As such, in order to support the missing watchdog clocks and allow the deprecation and removal of CLK_MAX_IDX from the bindings, we need to switch to a local definition first.
Stable-dep-of: 1dc3871ce7ec ("clk: nuvoton: ma35d1: Add missing WDT/WWDT parent clocks")
--- drivers/clk/nuvoton/clk-ma35d1.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/clk/nuvoton/clk-ma35d1.c +3 -2
@@ -17,6 +17,7 @@static DEFINE_SPINLOCK (ma35d1_lock);#define PLL_MAX_NUM 5 +#define MA35D1_CLK_COUNT 236/* Clock Control Registers Offset */ #define REG_CLK_PWRCTL 0x00
@@ -467,12 +468,12 @@ static int ma35d1_clocks_probe(struct platform_device *pdev)int ret; ma35d1_hw_data =devm_kzalloc (dev, -struct_size (ma35d1_hw_data, hws,CLK_MAX_IDX ), +struct_size (ma35d1_hw_data, hws,MA35D1_CLK_COUNT ),GFP_KERNEL );if (!ma35d1_hw_data)return -ENOMEM ; - ma35d1_hw_data->num =CLK_MAX_IDX ; + ma35d1_hw_data->num =MA35D1_CLK_COUNT ; hws = ma35d1_hw_data->hws; clk_base =devm_platform_ioremap_resource (pdev,0 );
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 493/507 dt-bindings: clock: ma35d1: Drop CLK_MAX_IDX define
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Miquel Raynal <[email protected]>
[ Upstream commit 653738db38c7c7f0fb959a7870f9461cf4987825 ]
Drop CLK_MAX_IDX define of MA35D1 include. This is not a binding and should not be placed here. Value is defined in the user driver.
Stable-dep-of: 1dc3871ce7ec ("clk: nuvoton: ma35d1: Add missing WDT/WWDT parent clocks")
--- include/dt-bindings/clock/nuvoton,ma35d1-clk.h | 1 - 1 file changed, 1 deletion(-)
include/dt-bindings/clock/nuvoton,ma35d1-clk.h +0 -1
@@ -248,6 +248,5 @@#define ADC_GATE 233#define EADC_DIV 234#define EADC_GATE 235 -#define CLK_MAX_IDX 236#endif /* __DT_BINDINGS_CLOCK_NUVOTON_MA35D1_CLK_H */
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 494/507 dt-bindings: clock: ma35d1: Add missing WDT/WWDT parent clocks
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Miquel Raynal <[email protected]>
[ Upstream commit 8c7453cb0b01bee47ec2f902a9ac1872d3b77f3d ]
The WDT and WWDT muxes have PCLK3/4096 and PCLK4/4096 among their possible parents, but these fixed factor clocks are currently not defined, even though they are needed to properly describe the clock tree. Add them to the bindings.
Stable-dep-of: 1dc3871ce7ec ("clk: nuvoton: ma35d1: Add missing WDT/WWDT parent clocks")
--- include/dt-bindings/clock/nuvoton,ma35d1-clk.h | 2 ++ 1 file changed, 2 insertions(+)
include/dt-bindings/clock/nuvoton,ma35d1-clk.h +2 -0
@@ -248,5 +248,7 @@#define ADC_GATE 233#define EADC_DIV 234#define EADC_GATE 235 +#define PCLK3_DIV4096 236 +#define PCLK4_DIV4096 237#endif /* __DT_BINDINGS_CLOCK_NUVOTON_MA35D1_CLK_H */
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 495/507 clk: nuvoton: ma35d1: Add missing WDT/WWDT parent clocks
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Miquel Raynal <[email protected]>
[ Upstream commit 1dc3871ce7ec819030c22297f8960c61cc42a990 ]
The WDT and WWDT muxes list PCLK3/4096 and PCLK4/4096 among their possible parents, but the driver never registers the corresponding clocks, so these parents could never be used.
Add pclk3_div4096 and pclk4_div4096 as fixed factor children of pclk3 and pclk4 and expose them through the clock provider.
--- drivers/clk/nuvoton/clk-ma35d1.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/clk/nuvoton/clk-ma35d1.c +3 -1
@@ -17,7 +17,7 @@static DEFINE_SPINLOCK (ma35d1_lock);#define PLL_MAX_NUM 5 -#define MA35D1_CLK_COUNT 236 +#define MA35D1_CLK_COUNT 238/* Clock Control Registers Offset */ #define REG_CLK_PWRCTL 0x00
@@ -544,6 +544,8 @@ static int ma35d1_clocks_probe(struct platform_device *pdev) hws[HCLK3 ] =ma35d1_clk_fixed_factor (dev,"hclk3" ,"sysclk1_mux" ,1 ,2 ); hws[PCLK3 ] =ma35d1_clk_fixed_factor (dev,"pclk3" ,"sysclk1_mux" ,1 ,2 ); hws[PCLK4 ] =ma35d1_clk_fixed_factor (dev,"pclk4" ,"sysclk1_mux" ,1 ,2 ); + hws[PCLK3_DIV4096 ] =ma35d1_clk_fixed_factor (dev,"pclk3_div4096" ,"pclk3" ,1 ,4096 ); + hws[PCLK4_DIV4096 ] =ma35d1_clk_fixed_factor (dev,"pclk4_div4096" ,"pclk4" ,1 ,4096 ); hws[USBPHY0 ] =ma35d1_clk_fixed ("usbphy0" ,480000000 ); hws[USBPHY1 ] =ma35d1_clk_fixed ("usbphy1" ,480000000 );
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 496/507 f2fs: release a removed xattr node in roll-forward recovery
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Daeho Jeong <[email protected]>
[ Upstream commit f5924de8867c09206ba631b9faed63862ec00a10 ]
When xattrs shrink enough to fit in the inline xattr area, write_all_xattrs() truncates the xattr node and clears i_xattr_nid. If the file is then fsynced without a checkpoint, only the inode block is written, with i_xattr_nid of 0.
Roll-forward recovery starts from the checkpointed inode, whose i_xattr_nid still points to the old xattr node. f2fs_recover_inline_xattr() copies only the inline xattr area, and f2fs_update_inode() writes the old i_xattr_nid back. So the inode keeps the stale xattr node:
- The node block is never released, and fsck reports "nonzero bytes in xattr space after end of list".
- If the inline xattr list ends exactly at the end of the inline area, its terminator is read from the stale node, and the removed xattrs come back after recovery.
When the fsynced inode has no xattr node but the checkpointed one has, release the old xattr node as truncate_node() does: check its block address, invalidate the block and drop its node cache, which may still be dirty.
--- fs/f2fs/node.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+)
fs/f2fs/node.c +39 -0
@@ -2883,6 +2883,45 @@ int f2fs_recover_inline_xattr(struct inode *inode, struct folio *folio)f2fs_folio_wait_writeback (ifolio,NODE , true, true);memcpy (dst_addr, src_addr, inline_size); update_inode: +/* +* The xattr node of the checkpoint was removed before fsync, e.g. the +* xattrs became small enough to fit inline. Release it as well, or +* the inode keeps pointing to the stale xattrs. +*/ +if (!ri->i_xattr_nid &&F2FS_I (inode)->i_xattr_nid) { +struct f2fs_sb_info *sbi =F2FS_I_SB (inode); +struct node_info ni; +int err; + + err =f2fs_get_node_info (sbi,F2FS_I (inode)->i_xattr_nid, + &ni, false); +if (err) { +f2fs_folio_put (ifolio, true); +return err; + } + +if (ni.blk_addr !=NEW_ADDR && + !f2fs_is_valid_blkaddr (sbi, ni.blk_addr, +DATA_GENERIC_ENHANCE )) { +f2fs_err_ratelimited (sbi, +"nat entry is corrupted, run fsck to fix it, ino:%u, nid:%u, blkaddr:%u" , + ni.ino, ni.nid, ni.blk_addr); +set_sbi_flag (sbi,SBI_NEED_FSCK ); +f2fs_handle_error (sbi,ERROR_INCONSISTENT_NAT ); +f2fs_folio_put (ifolio, true); +return -EFSCORRUPTED ; + } + +f2fs_invalidate_blocks (sbi, ni.blk_addr,1 ); +dec_valid_node_count (sbi, inode, false); +set_node_addr (sbi, &ni,NULL_ADDR , false); +/* drop the cached xattr node, which may be dirty */ +truncate_inode_pages_range (NODE_MAPPING (sbi), +F2FS_BLK_TO_BYTES ((loff_t )ni.nid), +F2FS_BLK_END_BYTES ((loff_t )ni.nid)); +f2fs_i_xnid_write (inode,0 ); + } +f2fs_update_inode (inode, ifolio);f2fs_folio_put (ifolio, true);return 0 ;
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 497/507 media: ipu6: Rename pointer to firmware context
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Antti Laakso <[email protected]>
[ Upstream commit ac1a76fdf7e1815445c76d90ef688eff85cbb012 ]
The name fwcom is used to refer firmware communication context and firmware communication configuration. Try to avoid confusion and rename context variable.
Stable-dep-of: d3d9bc694fe0 ("media: ipu6: Fix firmware config leak on stream start")
--- drivers/media/pci/intel/ipu6/ipu6-fw-isys.c | 56 ++++++++++--------- .../media/pci/intel/ipu6/ipu6-isys-video.c | 4 +- drivers/media/pci/intel/ipu6/ipu6-isys.c | 6 +- drivers/media/pci/intel/ipu6/ipu6-isys.h | 5 +- 4 files changed, 36 insertions(+), 35 deletions(-)
drivers/media/pci/intel/ipu6/ipu6-fw-isys.c +29 -27
@@ -32,7 +32,7 @@ static int handle_proxy_response(struct ipu6_isys *isys, unsigned int req_id)struct ipu6_fw_isys_proxy_resp_info_abi *resp;int ret; - resp =ipu6_recv_get_token (isys->fwcom,IPU6_BASE_PROXY_RECV_QUEUES ); + resp =ipu6_recv_get_token (isys->fwctx,IPU6_BASE_PROXY_RECV_QUEUES );if (!resp)return 1 ;
@@ -42,7 +42,7 @@ static int handle_proxy_response(struct ipu6_isys *isys, unsigned int req_id) ret = req_id == resp->request_id ?0 : -EIO ; -ipu6_recv_put_token (isys->fwcom,IPU6_BASE_PROXY_RECV_QUEUES ); +ipu6_recv_put_token (isys->fwctx,IPU6_BASE_PROXY_RECV_QUEUES );return ret; }
@@ -52,7 +52,7 @@ int ipu6_fw_isys_send_proxy_token(struct ipu6_isys *isys,unsigned int index, unsigned int offset, u32 value) { - struct ipu6_fw_com_context *ctx = isys->fwcom; + struct ipu6_fw_com_context *ctx = isys->fwctx;struct device *dev = &isys->adev->auxdev.dev;struct ipu6_fw_proxy_send_queue_token *token;unsigned int timeout =1000 ;
@@ -96,7 +96,7 @@ int ipu6_fw_isys_complex_cmd(struct ipu6_isys *isys,dma_addr_t dma_mapped_buf, size_t size, u16 send_type) { - struct ipu6_fw_com_context *ctx = isys->fwcom; + struct ipu6_fw_com_context *ctx = isys->fwctx;struct device *dev = &isys->adev->auxdev.dev;struct ipu6_fw_send_queue_token *token;
@@ -138,7 +138,7 @@ int ipu6_fw_isys_close(struct ipu6_isys *isys)struct device *dev = &isys->adev->auxdev.dev;int retry =IPU6_ISYS_CLOSE_RETRY ;unsigned long flags; -void *fwcom; +void *fwctx;int ret;/*
@@ -148,9 +148,9 @@ int ipu6_fw_isys_close(struct ipu6_isys *isys)* spinlock to wait the interrupt handler to be finished */ spin_lock_irqsave (&isys->power_lock, flags); - ret =ipu6_fw_com_close (isys->fwcom); - fwcom = isys->fwcom; - isys->fwcom =NULL ; + ret =ipu6_fw_com_close (isys->fwctx); + fwctx = isys->fwctx; + isys->fwctx =NULL ;spin_unlock_irqrestore (&isys->power_lock, flags);if (ret)dev_err (dev,"Device close failure: %d\n" , ret);
@@ -158,14 +158,14 @@ int ipu6_fw_isys_close(struct ipu6_isys *isys)/* release probably fails if the close failed. Let's try still */ do {usleep_range (400 ,500 ); - ret =ipu6_fw_com_release (fwcom,0 ); + ret =ipu6_fw_com_release (fwctx,0 ); retry--; }while (ret && retry);if (ret) {dev_err (dev,"Device release time out %d\n" , ret);spin_lock_irqsave (&isys->power_lock, flags); - isys->fwcom = fwcom; + isys->fwctx = fwctx;spin_unlock_irqrestore (&isys->power_lock, flags); }
@@ -176,11 +176,11 @@ void ipu6_fw_isys_cleanup(struct ipu6_isys *isys) {int ret; - ret =ipu6_fw_com_release (isys->fwcom,1 ); + ret =ipu6_fw_com_release (isys->fwctx,1 );if (ret <0 )dev_warn (&isys->adev->auxdev.dev,"Device busy, fw_com release failed." ); - isys->fwcom =NULL ; + isys->fwctx =NULL ; }static void start_sp (struct ipu6_bus_device *adev)
@@ -212,7 +212,7 @@ static int query_sp(struct ipu6_bus_device *adev) }static int ipu6_isys_fwcom_cfg_init (struct ipu6_isys *isys, -struct ipu6_fw_com_cfg *fwcom, +struct ipu6_fw_com_cfg *fwcom_cfg,unsigned int num_streams) {unsigned int max_send_queues, max_sram_blocks, max_devq_size;
@@ -258,14 +258,16 @@ static int ipu6_isys_fwcom_cfg_init(struct ipu6_isys *isys,if (!output_queue_cfg)return -ENOMEM ; - fwcom->input = input_queue_cfg; - fwcom->output = output_queue_cfg; + fwcom_cfg->input = input_queue_cfg; + fwcom_cfg->output = output_queue_cfg; - fwcom->num_input_queues = isys_fw_cfg->num_send_queues[type_proxy] + + fwcom_cfg->num_input_queues = + isys_fw_cfg->num_send_queues[type_proxy] + isys_fw_cfg->num_send_queues[type_dev] + isys_fw_cfg->num_send_queues[type_msg]; - fwcom->num_output_queues = isys_fw_cfg->num_recv_queues[type_proxy] + + fwcom_cfg->num_output_queues = + isys_fw_cfg->num_recv_queues[type_proxy] + isys_fw_cfg->num_recv_queues[type_dev] + isys_fw_cfg->num_recv_queues[type_msg];
@@ -280,7 +282,7 @@ static int ipu6_isys_fwcom_cfg_init(struct ipu6_isys *isys, isys_fw_cfg->buffer_partition.num_gda_pages[i] =0 ; } -/* FW assumes proxy interface at fwcom queue 0 */ +/* FW assumes proxy interface at fwcom_cfg queue 0 */ for (i =0 ; i < isys_fw_cfg->num_send_queues[type_proxy]; i++) { input_queue_cfg[i].token_size =sizeof (struct ipu6_fw_proxy_send_queue_token );
@@ -314,9 +316,9 @@ static int ipu6_isys_fwcom_cfg_init(struct ipu6_isys *isys,IPU6_ISYS_SIZE_RECV_QUEUE ; } - fwcom->dmem_addr = isys->pdata->ipdata->hw_variant.dmem_offset; - fwcom->specific_addr = isys_fw_cfg; - fwcom->specific_size =sizeof (*isys_fw_cfg); + fwcom_cfg->dmem_addr = isys->pdata->ipdata->hw_variant.dmem_offset; + fwcom_cfg->specific_addr = isys_fw_cfg; + fwcom_cfg->specific_size =sizeof (*isys_fw_cfg);return 0 ; }
@@ -325,23 +327,23 @@ int ipu6_fw_isys_init(struct ipu6_isys *isys, unsigned int num_streams) {struct device *dev = &isys->adev->auxdev.dev;int retry =IPU6_ISYS_OPEN_RETRY ; -struct ipu6_fw_com_cfg fwcom = { +struct ipu6_fw_com_cfg fwcom_cfg = { .cell_start = start_sp, .cell_ready = query_sp, .buttress_boot_offset =SYSCOM_BUTTRESS_FW_PARAMS_ISYS_OFFSET , };int ret; -ipu6_isys_fwcom_cfg_init (isys, &fwcom, num_streams); +ipu6_isys_fwcom_cfg_init (isys, &fwcom_cfg, num_streams); - isys->fwcom =ipu6_fw_com_prepare (&fwcom, isys->adev, + isys->fwctx =ipu6_fw_com_prepare (&fwcom_cfg, isys->adev, isys->pdata->base); -if (!isys->fwcom) { +if (!isys->fwctx) {dev_err (dev,"isys fw com prepare failed\n" );return -EIO ; } - ret =ipu6_fw_com_open (isys->fwcom); + ret =ipu6_fw_com_open (isys->fwctx);if (ret) {dev_err (dev,"isys fw com open failed %d\n" , ret);return ret;
@@ -349,7 +351,7 @@ int ipu6_fw_isys_init(struct ipu6_isys *isys, unsigned int num_streams)do {usleep_range (400 ,500 ); -if (ipu6_fw_com_ready (isys->fwcom)) +if (ipu6_fw_com_ready (isys->fwctx))break ; retry--; }while (retry >0 );
drivers/media/pci/intel/ipu6/ipu6-isys-video.c +2 -2
@@ -1114,7 +1114,7 @@ int ipu6_isys_fw_open(struct ipu6_isys *isys)*/ ipu6_cleanup_fw_msg_bufs (isys); -if (isys->fwcom) { +if (isys->fwctx) {/* * Something went wrong in previous shutdown. As we are now * restarting isys we can safely delete old context.
@@ -1147,7 +1147,7 @@ void ipu6_isys_fw_close(struct ipu6_isys *isys) isys->ref_count--;if (!isys->ref_count) {ipu6_fw_isys_close (isys); -if (isys->fwcom) { +if (isys->fwctx) { isys->need_reset = true;dev_warn (&isys->adev->auxdev.dev,"failed to close fw isys\n" );
drivers/media/pci/intel/ipu6/ipu6-isys.c +3 -3
@@ -1212,10 +1212,10 @@ static int isys_isr_one(struct ipu6_bus_device *adev)u32 index;u64 ts; -if (!isys->fwcom) +if (!isys->fwctx)return 1 ; - resp =ipu6_fw_isys_get_resp (isys->fwcom,IPU6_BASE_MSG_RECV_QUEUES ); + resp =ipu6_fw_isys_get_resp (isys->fwctx,IPU6_BASE_MSG_RECV_QUEUES );if (!resp)return 1 ;
@@ -1324,7 +1324,7 @@ static int isys_isr_one(struct ipu6_bus_device *adev)ipu6_isys_put_stream (stream); leave: -ipu6_fw_isys_put_resp (isys->fwcom,IPU6_BASE_MSG_RECV_QUEUES ); +ipu6_fw_isys_put_resp (isys->fwctx,IPU6_BASE_MSG_RECV_QUEUES );return 0 ; }
drivers/media/pci/intel/ipu6/ipu6-isys.h +2 -3
@@ -114,8 +114,7 @@ struct sensor_async_sd {* @csi2_rx_ctrl_cached: cached shared value between all CSI2 receivers * @streams_lock: serialise access to streams * @streams: streams per firmware stream ID -* @fwcom: fw communication layer private pointer -* or optional external library private pointer +* @fwctx: fw communication layer context pointer * @phy_termcal_val: the termination calibration value, only used for DWC PHY * @need_reset: Isys requires d0i0->i3 transition * @ref_count: total number of callers fw open
@@ -136,7 +135,7 @@ struct ipu6_isys {spinlock_t streams_lock;struct ipu6_isys_stream streams[IPU6_ISYS_MAX_STREAMS ];int streams_ref_count[IPU6_ISYS_MAX_STREAMS ]; -void *fwcom; +void *fwctx;u32 phy_termcal_val;bool need_reset;bool icache_prefetch;
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 498/507 media: ipu6: Fix firmware config leak on stream start
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: David Carlier <[email protected]>
[ Upstream commit d3d9bc694fe087c672c3ad5871984dc45cd9f425 ]
ipu6_isys_fwcom_cfg_init() runs on every first stream start and allocates the firmware config and queue configs with devm, so each STREAMON/STREAMOFF cycle leaks them. They are only needed until ipu6_fw_com_prepare() has copied them, so free them right after. Also check the return value, an allocation failure would otherwise make ipu6_fw_com_prepare() dereference a NULL queue config.
--- drivers/media/pci/intel/ipu6/ipu6-fw-isys.c | 34 +++++++++++++++------ 1 file changed, 24 insertions(+), 10 deletions(-)
drivers/media/pci/intel/ipu6/ipu6-fw-isys.c +24 -10
@@ -218,7 +218,6 @@ static int ipu6_isys_fwcom_cfg_init(struct ipu6_isys *isys,unsigned int max_send_queues, max_sram_blocks, max_devq_size;struct ipu6_fw_syscom_queue_config *input_queue_cfg;struct ipu6_fw_syscom_queue_config *output_queue_cfg; -struct device *dev = &isys->adev->auxdev.dev;int type_proxy =IPU6_FW_ISYS_QUEUE_TYPE_PROXY ;int type_dev =IPU6_FW_ISYS_QUEUE_TYPE_DEV ;int type_msg =IPU6_FW_ISYS_QUEUE_TYPE_MSG ;
@@ -228,7 +227,6 @@ static int ipu6_isys_fwcom_cfg_init(struct ipu6_isys *isys,struct ipu6_fw_isys_fw_config *isys_fw_cfg;u32 num_in_message_queues;unsigned int max_streams; -unsigned int size;unsigned int i; max_streams = isys->pdata->ipdata->max_streams;
@@ -236,7 +234,7 @@ static int ipu6_isys_fwcom_cfg_init(struct ipu6_isys *isys, max_sram_blocks = isys->pdata->ipdata->max_sram_blocks; max_devq_size = isys->pdata->ipdata->max_devq_size; num_in_message_queues =clamp (num_streams,1U , max_streams); - isys_fw_cfg =devm_kzalloc (dev,sizeof (*isys_fw_cfg),GFP_KERNEL ); + isys_fw_cfg =kzalloc_obj (*isys_fw_cfg);if (!isys_fw_cfg)return -ENOMEM ;
@@ -248,15 +246,14 @@ static int ipu6_isys_fwcom_cfg_init(struct ipu6_isys *isys, isys_fw_cfg->num_recv_queues[type_dev] =0 ; isys_fw_cfg->num_recv_queues[type_msg] =1 ; - size =sizeof (*input_queue_cfg) * max_send_queues; - input_queue_cfg =devm_kzalloc (dev, size,GFP_KERNEL ); + input_queue_cfg =kzalloc_objs (*input_queue_cfg, max_send_queues);if (!input_queue_cfg) -return -ENOMEM ; + goto err_free_fw_cfg; - size =sizeof (*output_queue_cfg) *IPU6_N_MAX_RECV_QUEUES ; - output_queue_cfg =devm_kzalloc (dev, size,GFP_KERNEL ); + output_queue_cfg =kzalloc_objs (*output_queue_cfg, +IPU6_N_MAX_RECV_QUEUES );if (!output_queue_cfg) -return -ENOMEM ; + goto err_free_input_queue_cfg; fwcom_cfg->input = input_queue_cfg; fwcom_cfg->output = output_queue_cfg;
@@ -321,6 +318,20 @@ static int ipu6_isys_fwcom_cfg_init(struct ipu6_isys *isys, fwcom_cfg->specific_size =sizeof (*isys_fw_cfg);return 0 ; + +err_free_input_queue_cfg: +kfree (input_queue_cfg); +err_free_fw_cfg: +kfree (isys_fw_cfg); + +return -ENOMEM ; +} + +static void ipu6_isys_fwcom_cfg_free (struct ipu6_fw_com_cfg *fwcom_cfg) +{ +kfree (fwcom_cfg->specific_addr); +kfree (fwcom_cfg->output); +kfree (fwcom_cfg->input); }int ipu6_fw_isys_init (struct ipu6_isys *isys,unsigned int num_streams)
@@ -334,10 +345,13 @@ int ipu6_fw_isys_init(struct ipu6_isys *isys, unsigned int num_streams) };int ret; -ipu6_isys_fwcom_cfg_init (isys, &fwcom_cfg, num_streams); + ret =ipu6_isys_fwcom_cfg_init (isys, &fwcom_cfg, num_streams); +if (ret) +return ret; isys->fwctx =ipu6_fw_com_prepare (&fwcom_cfg, isys->adev, isys->pdata->base); +ipu6_isys_fwcom_cfg_free (&fwcom_cfg);if (!isys->fwctx) {dev_err (dev,"isys fw com prepare failed\n" );return -EIO ;
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 499/507 iommufd/iova_bitmap: Ensure that iova_bitmap_set() handles the full IOVA
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Andrea Parri <[email protected]>
[ Upstream commit e21952d72b4740f08a272d694cca223b6b0099ca ]
Generally userspace is going to step the dirty bitmap through the IOVA space. However if the bitmap ends in the middle of a large PTE this is problematic. The first step will clear the dirty bit and report dirty to the end of its bitmap while the second step will see the clear'd dirty and report clean for the start of the bitmap. If it happens this ends up losing dirties.
Further this function is missing bounds checking so if this does happen ther is a good chance it will write memory beyond what the userspace was expecting.
Return an error code if this illegal condition happens.
--- drivers/iommu/iommufd/io_pagetable.c | 2 +- drivers/iommu/iommufd/iova_bitmap.c | 19 ++++++++++++++++++- include/uapi/linux/iommufd.h | 6 ++++++ 3 files changed, 25 insertions(+), 2 deletions(-)
drivers/iommu/iommufd/io_pagetable.c +1 -1
@@ -589,7 +589,7 @@ iommu_read_and_clear_dirty(struct iommu_domain *domain, arg.iopt = iopt; arg.domain = domain; arg.dirty = &dirty; -iova_bitmap_for_each (iter, &arg, __iommu_read_and_clear_dirty); + ret =iova_bitmap_for_each (iter, &arg, __iommu_read_and_clear_dirty);if (!(flags &IOMMU_DIRTY_NO_CLEAR ))iommu_iotlb_sync (domain, &gather);
drivers/iommu/iommufd/iova_bitmap.c +18 -1
@@ -116,6 +116,9 @@ struct iova_bitmap {/* length of the IOVA range for the whole bitmap */ size_t length; + +/* first error from recording an IOVA range */ +int err; };/*
@@ -384,7 +387,9 @@ static int iova_bitmap_advance_to(struct iova_bitmap *bitmap,int iova_bitmap_for_each (struct iova_bitmap *bitmap,void *opaque,iova_bitmap_fn_t fn) { -return fn (bitmap, bitmap->iova, bitmap->length, opaque); +int ret =fn (bitmap, bitmap->iova, bitmap->length, opaque); + +return ret ? ret : bitmap->err; }EXPORT_SYMBOL_NS_GPL (iova_bitmap_for_each,"IOMMUFD" );
@@ -404,6 +409,18 @@ void iova_bitmap_set(struct iova_bitmap *bitmap,struct iova_bitmap_map *mapped = &bitmap->mapped;unsigned long cur_bit, last_bit, last_page_idx; +/* +* If the range cannot be recorded then the system call returns failure. +* This is to prevent loosing dirties if userspace is expecting to step +* the bitmap through the IOVA space. +*/ +if (!length || length > bitmap->length || iova < bitmap->iova || + iova - bitmap->iova > bitmap->length - length) { +if (!bitmap->err) + bitmap->err = -EPROTO ; +return ; + } + update_indexes:if (unlikely (!iova_bitmap_mapped_range (mapped, iova, length))) {/*
include/uapi/linux/iommufd.h +6 -0
@@ -871,6 +871,12 @@ enum iommufd_hwpt_get_dirty_bitmap_flags {* Walk the IOMMU pagetables for a given IOVA range to return a bitmap * with the dirty IOVAs. In doing so it will also by default clear any * dirty bit metadata set in the IOPTE. +* +* The IOVA range given must fully enclose any IOPTE. If the range starts or +* ends inside a dirty IOPTE then the ioctl will fail. This avoids partially +* reporting a dirty range. +* +* On failure the dirty state becomes unknown and the userspace must restart. */ struct iommu_hwpt_get_dirty_bitmap {__u32 size;
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 500/507 thermal: intel: int340x: Evaluate _TMP exclusively
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ali Ahmet Memiş <[email protected]>
[ Upstream commit c4aae727beb23a736c15b8d53e219da29d791065 ]
On ThinkPad P1 Gen2 and P53, INT3403 _TMP switches the EC page selector without taking the mutex the battery methods use, so it must not run interleaved with them.
Evaluate _TMP with acpi_evaluate_integer_exclusive(), also where int3403 and processor_thermal probe for it.
--- drivers/thermal/intel/int340x_thermal/int3403_thermal.c | 3 +-- .../thermal/intel/int340x_thermal/int340x_thermal_zone.c | 6 +++++- .../intel/int340x_thermal/processor_thermal_device.c | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-)
drivers/thermal/intel/int340x_thermal/int3403_thermal.c +1 -2
@@ -217,8 +217,7 @@ static int int3403_add(struct platform_device *pdev) } - status =acpi_evaluate_integer (priv->adev->handle,"_TMP" , -NULL , &tmp); + status =acpi_evaluate_integer_exclusive (priv->adev->handle,"_TMP" ,NULL , &tmp);if (ACPI_FAILURE (status)) { status =acpi_evaluate_integer (priv->adev->handle,"PTYP" ,NULL , &priv->type);
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c +5 -1
@@ -18,7 +18,11 @@ static int int340x_thermal_get_zone_temp(struct thermal_zone_device *zone,unsigned long long tmp;acpi_status status; - status =acpi_evaluate_integer (d->adev->handle,"_TMP" ,NULL , &tmp); +/* +* On some ThinkPads _TMP switches the EC page selector without +* taking the mutex the battery methods use. +*/ + status =acpi_evaluate_integer_exclusive (d->adev->handle,"_TMP" ,NULL , &tmp);if (ACPI_FAILURE (status))return -EIO ;
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c +1 -1
@@ -287,7 +287,7 @@ int proc_thermal_add(struct device *dev, struct proc_thermal_device *proc_priv)if (ret)return ret; - status =acpi_evaluate_integer (adev->handle,"_TMP" ,NULL , &tmp); + status =acpi_evaluate_integer_exclusive (adev->handle,"_TMP" ,NULL , &tmp);if (ACPI_FAILURE (status)) {/* there is no _TMP method, add local method */ if (intel_tcc_get_tjmax (-1 ) >0 )
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 501/507 intel_idle: Use 2-argument strscpy()
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Andy Shevchenko <[email protected]>
[ Upstream commit 2094ae12eed8e83dd91a631ac0a582fee5934c36 ]
Use 2-argument strscpy(), which is not only shorter but also provides an additional check that destination buffer is an array.
Stable-dep-of: 403524796685 ("intel_idle: Adjust state names and descriptions for _LPI states")
--- drivers/idle/intel_idle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/idle/intel_idle.c +2 -2
@@ -1906,7 +1906,7 @@ static void __init intel_idle_init_cstates_acpi_lpi(struct cpuidle_driver *drv) state = &drv->states[drv->state_count++];scnprintf (state->name,CPUIDLE_NAME_LEN ,"C%d_LPI" , index +1 ); -strscpy (state->desc, lpi_state->desc,CPUIDLE_DESC_LEN ); +strscpy (state->desc, lpi_state->desc); state->exit_latency = lpi_state->wake_latency; state->target_residency = lpi_state->min_residency; state->flags =MWAIT2flg (lpi_state->address);
@@ -1956,7 +1956,7 @@ static void __init intel_idle_init_cstates_acpi_cst(struct cpuidle_driver *drv) state = &drv->states[drv->state_count++];snprintf (state->name,CPUIDLE_NAME_LEN ,"C%d_ACPI" , cstate); -strscpy (state->desc, cx->desc,CPUIDLE_DESC_LEN ); +strscpy (state->desc, cx->desc); state->exit_latency = cx->latency;/* * For C1-type C-states use the same number for both the exit
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 502/507 intel_idle: Adjust state names and descriptions for _LPI states
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Rafael J. Wysocki <[email protected]>
[ Upstream commit 4035247966859152a6523bc041f81cb9905695a5 ]
The value of the _LPI "State Name" field is used as the description of the given idle state (that is, the value of its "desc" attribute in sysfs) which is not consistent with idle state descriptions used when the idle state information comes from an ACPI _CST object.
To rectify that, use the _LPI "State Name" field value as the value of the "name" sysfs attribute of a given idle state and use the MWAIT hint value from the _LPI register address value to derive the value of its "desc" sysfs attribute in analogy with the _CST case.
--- Documentation/admin-guide/pm/intel_idle.rst | 12 +++++++----- drivers/idle/intel_idle.c | 9 +++++++-- 2 files changed, 14 insertions(+), 7 deletions(-)
Documentation/admin-guide/pm/intel_idle.rst +7 -5
@@ -145,11 +145,13 @@ for the other idle state types (C2 and C3) the target residency value is 3 times the exit latency (again, that is because it reflects the target residency to exit latency ratio in the majority of cases for the processor models recognized by ``intel_idle``). The name of the idle state (to be returned by the ``name`` -idle state attribute in ``sysfs``) is either "Cx_LPI" (if it comes from ``_LPI`` -processing) or "Cx_ACPI", where x is the index of that idle state in the final -list (note that the minimum value of x is 1, because 0 is reserved for the -"polling" state), and its target residency is based on the exit latency value. -All of the idle states in the final list are enabled by default in this case. +idle state attribute in ``sysfs``) either is equal to the state name value that +comes from ``_LPI`` processing (with the possible fallback to "Cx_LPI" if the +state name is not provided) or it is "Cx_ACPI", where x is the index of that +idle state in the final list (note that the minimum value of x is 1, because 0 +is reserved for the "polling" state), and its target residency is based on the +exit latency value. All of the idle states in the final list are enabled by +default in this case. .. _intel-idle-initialization:
drivers/idle/intel_idle.c +7 -2
@@ -1905,8 +1905,13 @@ static void __init intel_idle_init_cstates_acpi_lpi(struct cpuidle_driver *drv) state = &drv->states[drv->state_count++]; -scnprintf (state->name,CPUIDLE_NAME_LEN ,"C%d_LPI" , index +1 ); -strscpy (state->desc, lpi_state->desc); +if (strlen (lpi_state->desc) >0 ) +strscpy (state->name, lpi_state->desc); +else +scnprintf (state->name,CPUIDLE_NAME_LEN ,"C%d_LPI" , index +1 ); + +scnprintf (state->desc,CPUIDLE_DESC_LEN ,"ACPI LPI MWAIT 0x%02llx" , + lpi_state->address); state->exit_latency = lpi_state->wake_latency; state->target_residency = lpi_state->min_residency; state->flags =MWAIT2flg (lpi_state->address);
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 503/507 f2fs: expose resizable_tail feature via sysfs
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Daeho Jeong <[email protected]>
[ Upstream commit 714f97f477fe2834ac9e9e66979ae52824b9f914 ]
Userspace has no way to know whether the kernel supports the resizable_tail_secno mount option before mounting. Passing it to a kernel without the support fails the mount with -EINVAL, and checking /sys/fs/f2fs/<disk>/pinned_area_max_secno requires an f2fs instance to be mounted already.
Export /sys/fs/f2fs/features/resizable_tail so that userspace can check the support before formatting or mounting a filesystem that relies on resizable_tail_secno, e.g. a filesystem whose tail is going to be shrunk online later.
--- Documentation/ABI/testing/sysfs-fs-f2fs | 2 +- fs/f2fs/sysfs.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
Documentation/ABI/testing/sysfs-fs-f2fs +1 -1
@@ -271,7 +271,7 @@ Description: Shows all enabled kernel features. inode_crtime, lost_found, verity, sb_checksum, casefold, readonly, compression, test_dummy_encryption_v2, atomic_write, pin_file, encrypted_casefold, linear_lookup, - fserror. + fserror, resizable_tail. What: /sys/fs/f2fs/<disk>/inject_rate Date: May 2016
fs/f2fs/sysfs.c +2 -0
@@ -1404,6 +1404,7 @@ F2FS_FEATURE_RO_ATTR(linear_lookup);#endif F2FS_FEATURE_RO_ATTR (packed_ssa);F2FS_FEATURE_RO_ATTR (fserror); +F2FS_FEATURE_RO_ATTR (resizable_tail);#define ATTR_LIST (name) (&f2fs_attr_##name.attr)static struct attribute *f2fs_attrs[] = {
@@ -1574,6 +1575,7 @@ static struct attribute *f2fs_feat_attrs[] = {#endif BASE_ATTR_LIST (packed_ssa),BASE_ATTR_LIST (fserror), +BASE_ATTR_LIST (resizable_tail),NULL , };ATTRIBUTE_GROUPS (f2fs_feat);
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 504/507 mm/mglru: use explicit tier range in read_ctrl_pos()
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Kairui Song <[email protected]>
[ Upstream commit c1d0e799321c817a22eab2abf2485250cffad7b4 ]
read_ctrl_pos() encodes the tier range in a single "tier" parameter via "tier % MAX_NR_TIERS" as the start and "min(tier, MAX_NR_TIERS-1)" as the end. This is hard to follow, maintain, or extend. Tier values 0..3 select a single tier, while tier == MAX_NR_TIERS selects the full range.
Replace it with explicit (tier_min, tier_max) parameters using a closed [tier_min, tier_max] interval, and add LRU_TIER_MIN and LRU_TIER_MAX for the tier bounds. The call sites now become self-documenting:
- get_tier_idx: (LRU_TIER_MIN, LRU_TIER_MIN) for the first tier,
(tier, tier) for each subsequent tier
- get_type_to_scan: (LRU_TIER_MIN, LRU_TIER_MAX) for the full range
No functional change.
Stable-dep-of: ca6e32f3f424 ("mm/vmscan: avoid false-positive -Wuninitialized warning, again")
--- include/linux/mmzone.h | 2 ++ mm/vmscan.c | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-)
include/linux/mmzone.h +2 -0
@@ -492,6 +492,8 @@ enum lruvec_flags {* folio->flags, masked by LRU_REFS_MASK. */ #define MAX_NR_TIERS 4U +#define LRU_TIER_MIN 0U +#define LRU_TIER_MAX (MAX_NR_TIERS - 1)#ifndef __GENERATING_BOUNDS_H
mm/vmscan.c +10 -8
@@ -3194,8 +3194,8 @@ struct ctrl_pos {int gain; }; -static void read_ctrl_pos (struct lruvec *lruvec,int type,int tier,int gain, -struct ctrl_pos *pos) +static void read_ctrl_pos (struct lruvec *lruvec,int type,int tier_min, +int tier_max,int gain,struct ctrl_pos *pos) {int i;struct lru_gen_folio *lrugen = &lruvec->lrugen;
@@ -3204,7 +3204,7 @@ static void read_ctrl_pos(struct lruvec *lruvec, int type, int tier, int gain, pos->gain = gain; pos->refaulted = pos->total =0 ; -for (i = tier %MAX_NR_TIERS ; i <=min (tier,MAX_NR_TIERS -1 ); i++) { +for (i = tier_min; i <= tier_max; i++) { pos->refaulted += lrugen->avg_refaulted[type][i] +atomic_long_read (&lrugen->refaulted[hist][type][i]); pos->total += lrugen->avg_total[type][i] +
@@ -4808,9 +4808,9 @@ static int get_tier_idx(struct lruvec *lruvec, int type)* This value is chosen because any other tier would have at least twice * as many refaults as the first tier. */ -read_ctrl_pos (lruvec, type,0 ,2 , &sp); -for (tier =1 ; tier <MAX_NR_TIERS ; tier++) { -read_ctrl_pos (lruvec, type, tier,3 , &pv); +read_ctrl_pos (lruvec, type,LRU_TIER_MIN ,LRU_TIER_MIN ,2 , &sp); +for (tier =LRU_TIER_MIN +1 ; tier <=LRU_TIER_MAX ; tier++) { +read_ctrl_pos (lruvec, type, tier, tier,3 , &pv);if (!positive_ctrl_err (&sp, &pv))break ; }
@@ -4831,8 +4831,10 @@ static int get_type_to_scan(struct lruvec *lruvec, int swappiness)* Compare the sum of all tiers of anon with that of file to determine * which type to scan. */ -read_ctrl_pos (lruvec,LRU_GEN_ANON ,MAX_NR_TIERS , swappiness, &sp); -read_ctrl_pos (lruvec,LRU_GEN_FILE ,MAX_NR_TIERS ,MAX_SWAPPINESS - swappiness, &pv); +read_ctrl_pos (lruvec,LRU_GEN_ANON ,LRU_TIER_MIN ,LRU_TIER_MAX , + swappiness, &sp); +read_ctrl_pos (lruvec,LRU_GEN_FILE ,LRU_TIER_MIN ,LRU_TIER_MAX , +MAX_SWAPPINESS - swappiness, &pv);return positive_ctrl_err (&sp, &pv); }
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 505/507 mm/vmscan: avoid false-positive -Wuninitialized warning, again
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Arnd Bergmann <[email protected]>
[ Upstream commit ca6e32f3f4240d0335775a11afc21e0451dd8d8f ]
I previously worked around a false-postive gcc-16 warning in the get_tier_idx() function, by adding a fake initializer. This happens with the -fsanitize=bounds sanitizer when the compiler creates a specialized variant of isolate_folios():
In function 'get_tier_idx',
inlined from 'isolate_folios.constprop' at mm/vmscan.c:4982:9:mm/vmscan.c:4934:9: error: 'sp.refaulted' is used uninitialized [-Werror=uninitialized]
4934 | read_ctrl_pos(lruvec, type, LRU_TIER_MIN, LRU_TIER_MIN, 2, &sp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~mm/vmscan.c: In function 'isolate_folios.constprop':mm/vmscan.c:4946:25: note: 'sp.refaulted' was declared here
4946 | struct ctrl_pos sp, pv = {};
| ^~
Adding another "= {}" would solve the problem as well, but to prevent this from happening again after the next code refactoring, try instead to prevent this by forbidding interprocedural optimizations on this function.
--- mm/vmscan.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
mm/vmscan.c +7 -4
@@ -3194,8 +3194,11 @@ struct ctrl_pos {int gain; }; -static void read_ctrl_pos (struct lruvec *lruvec,int type,int tier_min, -int tier_max,int gain,struct ctrl_pos *pos) +/* +* __noipa works around gcc-16 warning for uninitialized use of pos->refaulted +*/ +static void __noipa read_ctrl_pos(struct lruvec *lruvec, int type, int tier_min, +int tier_max,int gain,struct ctrl_pos *pos) {int i;struct lru_gen_folio *lrugen = &lruvec->lrugen;
@@ -4801,7 +4804,7 @@ static int scan_folios(unsigned long nr_to_scan, struct lruvec *lruvec,static int get_tier_idx (struct lruvec *lruvec,int type) {int tier; -struct ctrl_pos sp, pv = {}; +struct ctrl_pos sp, pv;/* * To leave a margin for fluctuations, use a larger gain factor (2:3).
@@ -4820,7 +4823,7 @@ static int get_tier_idx(struct lruvec *lruvec, int type)static int get_type_to_scan (struct lruvec *lruvec,int swappiness) { -struct ctrl_pos sp, pv = {}; +struct ctrl_pos sp, pv;if (swappiness <=MIN_SWAPPINESS +1 )return LRU_GEN_FILE ;
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 506/507 f2fs: fix to use bio_in_atomic() in f2fs_write_end_io()
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Chao Yu <[email protected]>
[ Upstream commit e4582e5f3b439228d4e900edcf8225aa89be32b4 ]
f2fs_write_end_io() uses in_atomic() to decide whether a write bio which exceeds max_atc_write_bio_size or max_atc_write_bio_entry_cnt should be completed in sbi->wq rather than in the current context.
However, in_atomic() is not meant to be used outside core kernel code (checkpatch.pl warns about it), as it only looks at preempt_count(): it misses irqs-disabled and RCU read-side critical sections, and on kernels without CONFIG_PREEMPT_COUNT it cannot see spinlock-held sections at all. In those contexts, a large write bio will still be completed inline, which defeats the purpose of the above knobs.
The block layer provides bio_in_atomic() for exactly this purpose, it checks rcu_preempt_depth() and preemptible(), and conservatively returns true if CONFIG_PREEMPT_COUNT is disabled, let's use it instead. The difference is as below:
Context | in_atomic() | bio_in_atomic()
-------------------------------------+----------------+----------------
Hard IRQ / softirq | true | true IRQs disabled, preempt count 0 | false (missed) | true RCU read lock (CONFIG_PREEMPTION) | false (missed) | true Kernel w/o CONFIG_PREEMPT_COUNT | IRQ ctx only | always true
Note that on kernels without CONFIG_PREEMPT_COUNT, write bios exceeding the thresholds will always be offloaded to sbi->wq, since there is no way to tell whether the current context is atomic. The thresholds default to UINT_MAX, so the default behavior is not changed.
--- fs/f2fs/data.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
fs/f2fs/data.c +2 -1
@@ -400,7 +400,8 @@ static void f2fs_write_end_io(struct bio *bio) sbi = bio->bi_private; -if (in_atomic () && bio->bi_iter.bi_size > sbi->max_atc_write_bio_size) { +if (bio_in_atomic () && + bio->bi_iter.bi_size > sbi->max_atc_write_bio_size) {struct work_struct *w; w = &container_of(bio, struct f2fs_bio, bio)->work;
Signature · 1 line
2.53.0
Greg Kroah-Hartman
maintainerPATCH 507/507 ASoC: amd: yc: Add DMI quirk for HP OmniBook 3 Laptop 16-by0xxx
In reply to Greg Kroah-Hartman7.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Gianluca Balboni <[email protected]>
[ Upstream commit 1e73257dff33ff851af60d5bb00d73893a8b6dc8 ]
The HP OmniBook 3 Laptop 16-by0xxx (board ID 8EE3) has an internal DMIC connected to the AMD ACP6x audio coprocessor. The BIOS does not set the AcpDmicConnected _DSD property or the _WOV method, and the board is missing from yc_acp_quirk_table[], so acp6x_probe() returns -ENODEV and no DMIC capture device is registered.
Add a DMI quirk entry for this model to enable ACP DMIC support.
--- sound/soc/amd/yc/acp6x-mach.c | 7 +++++++ 1 file changed, 7 insertions(+)
sound/soc/amd/yc/acp6x-mach.c +7 -0
@@ -745,6 +745,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = { DMI_MATCH(DMI_BOARD_NAME, "8BD6"), } }, + { + .driver_data = &acp6x_card, + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"HP" ), + DMI_MATCH(DMI_BOARD_NAME, "8EE3"), + } + }, { .driver_data = &acp6x_card, .matches = {
Signature · 1 line
2.53.0
Hi
kernel build / boot test on x86_64 (Intel).
No regressions here.
Thanks
# Librecast Test Results
044/044 [ OK ] liblcrq
010/010 [ OK ] libmld
120/120 [ OK ] liblibrecast
CPU/kernel: Linux auntie 7.3.5-rc1-g2a640ccd9d0b #1 SMP PREEMPT_DYNAMIC Fri Nov 13 18:32:45 -00 2026 x86_64 AMD Ryzen 9 9950X 16-Core Processor AuthenticAMD GNU/Linux
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 7.3.5 release. There are 507 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 Sun, 15 Nov 2026 15:36:17 +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/v7.x/stable-review/patch-7.3.5-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-7.3.y
and the diffstat can be found below.thanks,
greg k-h
On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels, build tested on BMIPS_GENERIC:
Signature · 1 line
Florian
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 7.3.5 release. There are 507 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 Sun, 15 Nov 2026 15:36:17 +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/v7.x/stable-review/patch-7.3.5-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-7.3.y
and the diffstat can be found below.thanks,
greg k-h
Compiled and booted on my test system. No dmesg regressions.
thanks,
-- Shuah
Hi Greg
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 7.3.5 release. There are 507 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 Sun, 15 Nov 2026 15:36:17 +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/v7.x/stable-review/patch-7.3.5-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-7.3.y
and the diffstat can be found below.thanks,
greg k-h
Linux version 7.3.5-rc1 tested.
Build successfully completed.
Boot successfully completed.
No dmesg regressions.
Video output normal.
Sound output normal.
Lenovo ThinkPad X1 Carbon Gen10(Intel i7-1260P(x86_64) arch linux)
[ 0.000000] Linux version 7.3.5-rc1rv-g2a640ccd9d0b
(takeshi@ThinkPadX1Gen10J0764) (gcc (GCC) 16.2.1 20260810, GNU ld (GNU Binutils) 2.47) #1 SMP PREEMPT_DYNAMIC Sat Nov 14 06:49:53 JST 2026
Quoted 2,013 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 7.3.5 release. There are 507 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 Sun, 15 Nov 2026 15:36:17 +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/v7.x/stable-review/patch-7.3.5-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-7.3.y
and the diffstat can be found below.thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:Greg Kroah-Hartman <[email protected]>
Linux 7.3.5-rc1Gianluca Balboni <[email protected]>
ASoC: amd: yc: Add DMI quirk for HP OmniBook 3 Laptop 16-by0xxxChao Yu <[email protected]>
f2fs: fix to usebio_in_atomic()inf2fs_write_end_io()Arnd Bergmann <[email protected]>
mm/vmscan: avoid false-positive -Wuninitialized warning, againKairui Song <[email protected]>
mm/mglru: use explicit tier range inread_ctrl_pos()Daeho Jeong <[email protected]>
f2fs: exposeresizable_tailfeature via sysfsRafael J. Wysocki <[email protected]>
intel_idle: Adjust state names and descriptions for_LPIstatesAndy Shevchenko <[email protected]>
intel_idle: Use 2-argumentstrscpy()Ali Ahmet Memiş <[email protected]>
thermal: intel: int340x: Evaluate _TMP exclusivelyAndrea Parri <[email protected]>
iommufd/iova_bitmap: Ensure thatiova_bitmap_set()handles the full IOVADavid Carlier <[email protected]>
media: ipu6: Fix firmware config leak on stream startAntti Laakso <[email protected]>
media: ipu6: Rename pointer to firmware contextDaeho Jeong <[email protected]>
f2fs: release a removed xattr node in roll-forward recoveryMiquel Raynal <[email protected]>
clk: nuvoton: ma35d1: Add missing WDT/WWDT parent clocksMiquel Raynal <[email protected]>
dt-bindings: clock: ma35d1: Add missing WDT/WWDT parent clocksMiquel Raynal <[email protected]>
dt-bindings: clock: ma35d1: DropCLK_MAX_IDXdefineMiquel Raynal <[email protected]>
clk: nuvoton: ma35d1: Keep the clock count in the driverSumit Kumar <[email protected]>
PCI: dwc: SetDMA_BYPASSbit in outbound IATU CTRL2 registerAli Ahmet Memiş <[email protected]>
ACPI: battery: Evaluate battery methods exclusivelyAli Ahmet Memiş <[email protected]>
ACPI: utils: Add exclusive AML evaluation helpersChao Yu <[email protected]>
f2fs: fix to invalidate curseg ifchange_curseg()failsVladimir Oltean <[email protected]>
PCI: cadence: Preserve all error codes incdns_plat_pcie_probe()Linmao Li <[email protected]>
PCI: cadence: Store the core controller in platform drvdata[email protected] <[email protected]>
PCI: cadence: Remove device links to PHYHengyu Liang <[email protected]>
erofs: fix metadata reads at the end of file-backed imagesPeter Ujfalusi <[email protected]>
ASoC:hdac_hda: Restore the codec device type on unbindPeter Ujfalusi <[email protected]>
ASoC:hdac_hda: Allocate the private data at codec driver bindGuixin Liu <[email protected]>
nvme-tcp: Validate the queue state under the queue lock in the address attributeChao Yu <[email protected]>
f2fs: fix to avoid potential reference count leak indo_garbage_collect()Marc Zyngier <[email protected]>
KVM: arm64: vgic: Stop the target vcpu when disabling LPIsArnaldo Carvalho de Melo <[email protected]>
perf evsel: Close the fds opened so far when disabling missing featuresHui Su <[email protected]>
perf evsel: Restrict incremental open error unwindKaixuan Li <[email protected]>
f2fs: bound the SIT/NAT bitmaps by the checkpoint packDaeho Jeong <[email protected]>
f2fs: return-EIOfor a lost inode block aftercp_errorChao Yu <[email protected]>
f2fs: zone: fix to avoid bio split on sequential zoneVincent Donnefort <[email protected]>
KVM: arm64: Usekvm_s2_fault_vma_infoinpkvm_mem_abort()Bartosz Golaszewski <[email protected]>
dmaengine: qcom:bam_dma: free interrupt before the clock in error pathVishnu Santhosh <[email protected]>
dmaengine: qcom:bam_dma: Defer IRQ trigger type to device treeSalvatore Dipietro <[email protected]>
mm/page_alloc: avoid direct reclaim and compaction for costly__GFP_NORETRYallocationsMehmet Fide <[email protected]>
wifi: rtw88: widen the ATIM window while an AP interface is upMehmet Fide <[email protected]>
wifi: rtw88: usb: only let the frames a dozing station needs use the after-DTIM queueMehmet Fide <[email protected]>
wifi: rtw88: usb: bound what the driver feeds the after-DTIM queueMehmet Fide <[email protected]>
wifi: rtw88: usb: route bmc frames via the high queue only for DTIM deliveryMartin Belanger <[email protected]>
nvme-tcp: skip TLS control records while waiting for the ICRespChris Mason <[email protected]>
mm/shmem: honourF_SEAL_EXECwhen an ACL is setLorenzo Stoakes (ARM) <[email protected]>
mm/vma: avoid spurious write locks when mm->mm_lock_seq overflowsDave Hansen <[email protected]>
mm: add RCU-based VMA lookup helper that waits for writersDavid Hildenbrand (Arm) <[email protected]>
mm/userfaultfd: only allocateanon_vmain CoW mappingsJames Fairweather <[email protected]>
platform/chrome:cros_usbpd_notify: Only use drvdata when parent is GOOG0004Hemanth Selam <[email protected]>
platform/chrome: Fix typos in commentsYuejie Shi <[email protected]>
fs/ntfs3: validate the EA value length inntfs_read_ea()Jun Yang <[email protected]>
sctp: re-point retained control chunks on association migrationDavid Lee <[email protected]>
sctp: hold shkey across socket migrationJared Wuerzburger <[email protected]>
ALSA: hda/realtek: Fix internal mic on Minisforum V3 and V3 SESaim Masood <[email protected]>
ALSA: hda/realtek: Fix speakers on ASUS ExpertBook PM3606CHAChao Yu <[email protected]>
f2fs: fix to check continuousness inf2fs_sync_meta_pages()correctlyChao Yu <[email protected]>
f2fs: fix to avoid folio->mapping dereference in is_{meta, node}_folio()Runyu Xiao <[email protected]>
ALSA: usb-audio: Protect Roland control activationNicholas Hobson <[email protected]>
ALSA: usb-audio: keep MIDI input running for Roland TD-11Balakrishnan Sambath <[email protected]>
media: microchip-isc: fix SBGGR10 Bayer patternBalakrishnan Sambath <[email protected]>
media: microchip-isc: fixISC_PFG_CFG0_BPSmacro name typoFuad Tabba <[email protected]>
KVM: arm64: Usekvm_s2_fault_vma_infoingmem_abort()Vincent Donnefort <[email protected]>
KVM: arm64: Passkvm_s2_fault_desctofault_supports_stage2_huge_mapping()Balakrishnan Sambath <[email protected]>
media: microchip-isc: fix WB offset and gain register field maskingBalakrishnan Sambath <[email protected]>
media: microchip-isc: store the unshiftedPFE_CFG0BPS valueCheng Ming Lin <[email protected]>
mtd: spi-nor: macronix: Restore fallback parameters for MX25L12805DRichard Fitzgerald <[email protected]>
ASoC: cs35l56: Wait for firmware timer expiry before system suspendJason Gunthorpe <[email protected]>
iommu/arm-smmu-v3: Handle ARM erratum for CONT under invalidation with SVAZhao Gongyi <[email protected]>
ata: libata-scsi: reject data-in commands with a data-out bufferSven Eckelmann <[email protected]>
batman-adv: tt: only update flags for TT eventsSven Eckelmann <[email protected]>
batman-adv: tt: sendROAM_ADVon each roamed back clientSven Eckelmann <[email protected]>
batman-adv: tt: clear ROAM flag when re-adding a pending local clientSven Eckelmann <[email protected]>
batman-adv: tt: only transmit local ROAM flag together with DELIdo Schimmel <[email protected]>
vxlan: Stop rejecting dynamic FDB entries with a nexthop IDGuanglei Zhu <[email protected]>
ceph: clamp the inline data length inceph_fill_inline_data()Suravee Suthikulpanit <[email protected]>
iommu/amd: Force device table to maximum sizeChris Mason <[email protected]>
x86/mm: Fix global ASID handed out to two processesMarco Ziliani <[email protected]>
ata: libata-pmp: disable the SEMB port on Marvell 88SM9705Kiryl Shutsemau (Meta) <[email protected]>
arm64: sdei: Preserve the interrupted context's exception registersKiryl Shutsemau (Meta) <[email protected]>
arm64: sdei: Run the event handler on the kernel vectorsThorsten Blum <[email protected]>
x86/boot: Fix off-by-one error insme_clear_pgd()Jinjie Ruan <[email protected]>
arm64:kexec_file: Fixelf_headersmemory leak in retry loopKevin Mitchell <[email protected]>
iommu/amd: remove obsolete domain pointer warning on releaseAkshay Jindal <[email protected]>
iommu/amd: Skip non-IVMD entries when parsing IVRS memory definitionsBreno Leitao <[email protected]>
x86/nmi: Ignore negative NMI handler durationsDaehyeon Ko <[email protected]>
sched/fair: Clear throttle state when leaving the fair classDanish Khateeb <[email protected]>
perf/core: Don't send SIGTRAP after exec removed the eventShao Mingyin <[email protected]>
nvmet: bound the traddr and trsvcid configfs writesQiliang Yuan <[email protected]>
nvme: wait for SRCU readers before splicing the namespace listQiliang Yuan <[email protected]>
srcu: Addlist_splice_init_srcu()Imre Kaloz <[email protected]>
MIPS: sgi-ip32: Leave MACE PCI control alone in config accessesImre Kaloz <[email protected]>
MIPS: sgi-ip32: Mask MACE PCI interrupts in CRIME onlyImre Kaloz <[email protected]>
MIPS: mm: Fix the cache error vector jump for XKPHYS kernelsMatthias Goergens <[email protected]>
udf: don't use eloc after the end of the unallocated space tableMatthias Goergens <[email protected]>
udf: fix preallocation discarding before an empty allocation extentMatthias Goergens <[email protected]>
udf: check the unallocated space table when it is loadedMatthias Goergens <[email protected]>
udf: don't let the extent type hide an exhausted free-space table extentKyle Zeng <[email protected]>
mptcp: pm: kernel: use RCU to free endpoint listenersTvrtko Ursulin <[email protected]>
drm/sched: Adjust run-queue when changing priority at runtimeTvrtko Ursulin <[email protected]>
drm/sched: Fix out of bounds entity priority checkChristian Gmeiner <[email protected]>
drm/etnaviv: Flush the tile status cache through both the PE and BLTChristian Gmeiner <[email protected]>
drm/etnaviv: Fix NULL dereference on unbind without PPU flop resetJames Clark <[email protected]>
net: ethernet: ti: am65-cpsw-nuss: Enable timestamping of unicast PTP packetsRay Zhang <[email protected]>
net: count last skb of eachsk_backlogpass in__release_sock()Bryam Vargas <[email protected]>
net/smc: don't spin insmc_rx_recvmsg()while a pipe holds spliced dataHungyu Lin <[email protected]>
ext2: preserveIOMAP_F_DIRTYfor extending direct writesSinan Turunc <[email protected]>
ALSA: usx2y: Guard the playback copySinan Turunc <[email protected]>
ALSA: usx2y: Require a buffer of two URBsWentao Liang <[email protected]>
ALSA: caiaq: free the EP4 URB when input setup failsSinan Turunc <[email protected]>
ALSA: line6: Reject capture buffers smaller than two packetsMohamed Yassine Jebabli <[email protected]>
ALSA: hda/tas2781: Only accept CRC-less V1 data if all entries are validAlexandr <[email protected]>
ALSA: hda/realtek: Enable mute and mic-mute LEDs on HP ENVY 17-cr0xxxYuqiang Sun <[email protected]>
ALSA: usb-audio: qcom: Check the return value ofqmi_handle_init()YuanZhe Liu <[email protected]>
ALSA: usx2y: Refuse a retried DSP load after a failureYuanZhe Liu <[email protected]>
ALSA: bcd2000: Fix use-after-free of MIDI URBs on file closeAlex Kazinsky <[email protected]>
ALSA: cs46xx: Handle SCB creation failures before dereferencingChris Simpson <[email protected]>
ALSA: hda/realtek: Enable bass speakers on Alienware m17 R3HyeongJun An <[email protected]>
ALSA: ump: Fix dropped data bytes at UMP System message conversionIlia Mirkin <[email protected]>
drm/nouveau/devinit/gf100-: try to avoid double-running vbios scriptsFinn Zeruhn <[email protected]>
drm/dp: keep MOT set between messages whenno_zero_sizedis setRosen Penev <[email protected]>
drm/nouveau/nvkm: clear use.enabled when subdev init failsHengyu Liang <[email protected]>
l2tp: only return sessions of the given tunnel inl2tp_session_get()Amir Goldstein <[email protected]>
selftests/fscontext_ns: expect EINVAL for overlay descendant userns createChris Mason <[email protected]>
ovl: look up the index by the decoded originSasha Levin <[email protected]>
nvme-pci: addNVME_QUIRK_DMAPOOL_ALIGN_512for KIOXIA XG10dZhao Gongyi <[email protected]>
arm64: mm: validate/dev/memmmap ranges without overflowWei Wang <[email protected]>
arm64: suspend: Save and restoreTPIDR2_EL0across CPU suspendEwan D. Milne <[email protected]>
nvmet: don't return memory contents beyond valid data when reading ANA log pageJesse Zhang <[email protected]>
drm/amdgpu: don't drop the gang dependency fence twicerenpanpan <[email protected]>
drm/amdgpu: Only enable HDMI audio if display supports itJesse Zhang <[email protected]>
drm/amdgpu: don't walk the CS chunks when allocating them failedJesse Zhang <[email protected]>
drm/amdgpu: rewrite all PTEs of the BOs after a VM resetJesse Zhang <[email protected]>
drm/amdgpu: unlock the VM and BO when attaching a KFD BO failsJesse Zhang <[email protected]>
drm/amdgpu: drop the dma-buf reference when a KFD import failsHugo Sales <[email protected]>
drm/amdgpu: Clamp the ATIF backlight curve to its 99 pointsErhan Bilgili <[email protected]>
drm/amdgpu: Report MES ring wait timeouts.Erhan Bilgili <[email protected]>
drm/amdgpu: Fix duplicate dependency fence releasesKevin Wang <[email protected]>
drm/amd/pm: populate unique ID for smu 13.0.7Melissa Wen <[email protected]>
drm/amd/display: Signal PQ EOTF in FreeSync infopacket for DP HDRMikhail Gavrilov <[email protected]>
drm/amd/display: setallow_freesyncbefore validating a new streamKylie C <[email protected]>
drm/amd/display: Don't select zero V_TOTAL_MIN/MAX on seamless bootMatthew Schwartz <[email protected]>
drm/amd/display: Keep the nominal vtotal while VRR is inactiveMisha Nasledov <[email protected]>
drm/amd/display: Drop clock requirements on DCN32 when no displays are activeRoman Demidov <[email protected]>
drm/amd/display: Fix NULL deref indcn401_update_clocks_update_dtb_dtoJesse Zhang <[email protected]>
drm/amdgpu/gfx12: disallow GFXOFF while updating the SPM VMIDRoman Li <[email protected]>
drm/amd/display: Reset DET of HUBPs without a plane before outstanding updatesAlex Hung <[email protected]>
drm/amd/display: Avoid closing unowned DDC pinsMilan Milicevic <[email protected]>
drm/amdgpu: publish IH enabled before PSP programsIH_RB_CNTLKent Russell <[email protected]>
drm/amdgpu: Ensure that harvest information gets setPrike Liang <[email protected]>
drm/amdgpu: stop the schedulers before preparing the GPU resetMilan Milicevic <[email protected]>
drm/amdgpu: clearRB_OVERFLOWbit when enabling interrupts fornavi10_ihPrike Liang <[email protected]>
drm/amdgpu: finish GPU recovery callbacks before restarting schedulersWayne Lin <[email protected]>
drm/amd/display: add missing CRC engine 1 registersJesse Zhang <[email protected]>
drm/amdgpu/userq: validate the moved individual BOs on restoreDariusz Marcinkiewicz <[email protected]>
drm/amdgpu: checkamdgpu_vm_ready()in dma-buf move notifyPrike Liang <[email protected]>
drm/amdgpu/userq: wait for GPU reset before mapping or unmapping queuesJesse Zhang <[email protected]>
drm/amdkfd: use the queue's process info for the WPTR BO eviction fenceJesse Zhang <[email protected]>
drm/amdgpu: keep the CS user fence BO in GTTJesse Zhang <[email protected]>
drm/amdgpu: parse CS IBs at the BO offset their VA mapping starts atJesse Zhang <[email protected]>
drm/amdgpu: sign extend the addressesGEM_OP(GET_MAPPING_INFO)returnsCe Sun <[email protected]>
drm/amdgpu: skip RAS error count reset in debug modeBas Nieuwenhuizen <[email protected]>
drm/amdgpu: Check cs flags.Jarkko Sakkinen <[email protected]>
nvme-keyring: Add a missingkey_put()call tonvme_tls_key_lookup()Yitang Yang <[email protected]>
ublk: add missingDEL_DEV_ASYNCto unprivileged permission checkYilin Zhang <[email protected]>
mptcp: do not use Fast Open onMP_JOINsubflowsDaehyeon Ko <[email protected]>
vhost/vsock: size receive SKBs from declared payloadAlexei Starovoitov <[email protected]>
net: reject a negative TCP header offset inqdisc_pkt_len_segs_init()Amir Goldstein <[email protected]>
ovl: inheritFMODE_NONOTIFYwhen opening directory realfilesJamal Hadi Salim <[email protected]>
net/sched: clamp skb->queue_mapping before indexing the tx queueChris Mason <[email protected]>
ovl: fix whiteout creation in casefolded directoriesChris Mason <[email protected]>
ovl: do not let chattr change the casefold flagChris Mason <[email protected]>
ovl: fail the mount if the casefold flag has changedXia Yan <[email protected]>
ipv6: fix device binding after failed datagram connectThomas Gleixner <[email protected]>
x86/entry: Fix ptrace regressionSamiullah Khawaja <[email protected]>
mm/gup: check folio->mapping under folio lock in memfd_pin_folios()Lance Yang <[email protected]>
khugepaged: fix readahead lock inversion incollapse_file()Ritesh Harjani (IBM) <[email protected]>
mm/huge_memory: set themmu_gatherpage size inzap_huge_pud()David Hildenbrand (Arm) <[email protected]>
mm/memory-tiers: unregister empty tiers outsidememory_tier_lockRik van Riel <[email protected]>
mm/cma: don't release CMA pages still in useDavid Hildenbrand (Arm) <[email protected]>
mm/vma: don't leak the charge for stack growthDavid Hildenbrand (Arm) <[email protected]>
mm/huge_memory: split huge PUDs when adjusting VMA boundariesChris Mason <[email protected]>
mm/vma: call ->may_split() before a partial mergeChris Mason <[email protected]>
mm/ksm: check large swap-cache folios before mapping themDavid Hildenbrand (Arm) <[email protected]>
mm/ksm: fix use of a freedanon_vmaat swap-inDavid Hildenbrand (Arm) <[email protected]>
mm/ksm: reset the unstable trees of all nodesChris Mason <[email protected]>
mm: fix deadlock ofmremap()againstUFFDIO_MOVEChris Mason <[email protected]>
mm: fix unkillable fault loop onMAP_DROPPABLEmemoryJosef Bacik <[email protected]>
mm: fixunmap_mapping_range()beyond 4 GiB on 32-bitChris Mason <[email protected]>
mm/memory: reject remote COW faults on PFN mappingsDavid Hildenbrand (Arm) <[email protected]>
mm/madvise: fix data loss fromMADV_FREEon a KSM pageJosef Bacik <[email protected]>
mm/mremap: fix moving PUD leavesDavid Hildenbrand (Arm) <[email protected]>
mm/mremap: recheck PUDs under the page table lockDavid Hildenbrand (Arm) <[email protected]>
mm/mremap: usepudp_huge_get_and_clear()when moving huge PUDsChris Mason <[email protected]>
mm/mmu_notifier: set ->mm only after mmgrab()Josef Bacik <[email protected]>
mm/mmu_notifier: finish non-blocking interval invalidation on errorJosef Bacik <[email protected]>
mm/mmu_gather: fix flushing ranges with 4 GiB or largerJosef Bacik <[email protected]>
mm/userfaultfd: wake all waiters on unregisterDavid Hildenbrand (Arm) <[email protected]>
mm/userfaultfd: write-lock the VMA before waking waiters when unregisteringDavid Hildenbrand (Arm) <[email protected]>
mm/gup: check for overflow when convertingnr_pagesto bytes in GUP-fastChris Mason <[email protected]>
mm/gup: fix out-of-bounds write for nr_pages == 0 in GUP-fastChris Mason <[email protected]>
mm/gup: fix clearing folios inmemfd_pin_folios()David Hildenbrand (Arm) <[email protected]>
mm/gup: recheck the PUD under PTL infollow_pud_mask()Chris Mason <[email protected]>
mm/khugepaged: preserve dirty bits when collapsing PTE-mapped THPsJosef Bacik <[email protected]>
mm/khugepaged: fix PMD table lock leak intry_collapse_pte_mapped_thp()Josef Bacik <[email protected]>
mm/khugepaged: always recheck the pmd intry_collapse_pte_mapped_thp()Chris Mason <[email protected]>
mm/huge_memory: fix zapping migration entries for device-private THPsChris Mason <[email protected]>
mm/huge_memory: fix truncate racing with PMD zappingLiu Changjie <[email protected]>
can:peak_usb:pcan_usb_fd_decode_buf(): accept short uCAN end-of-list recordsChunYuZhiQiang <[email protected]>
can: dev:can_fill_info(): don't wake up controller if interface is downOliver Hartkopp <[email protected]>
can: proc: skip stats calculation after reset incan_stat_update()Runyu Xiao <[email protected]>
can: proc: resetpkg_statsatomics individuallyOliver Hartkopp <[email protected]>
can: raw, isotp: copy socket options outside oflock_sock()Oliver Hartkopp <[email protected]>
can: protect the receive lists with a per-device lockOliver Hartkopp <[email protected]>
can: isotp: check the return values ofcan_rx_register()inisotp_bind()Oliver Hartkopp <[email protected]>
can: replaceARPHRD_CANtype checks withcan_get_ml_priv()Cunhao Lu <[email protected]>
can: dev:can_put_echo_skb(): free skb on invalid echo indexCunhao Lu <[email protected]>
can: skb: make echo skb freeing safe in any IRQ contextKaixuan Li <[email protected]>
can: isotp: check the frame type, not just the lengthVincent Mailhol <[email protected]>
can: dev:can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devicesYingjie Wang <[email protected]>
nvmet: reject keep-alive timeouts that would overflowChristoph Hellwig <[email protected]>
xfs: fix recovery of partial attr removalsHyunwoo Kim <[email protected]>
net: restore refcount ordering for lockless socket accessDaejun Park <[email protected]>
xfs: clamp the pNFS layout range to the maximum file sizeDaejun Park <[email protected]>
xfs: cap the block count ofxfs_iomap_write_direct()at one extentDaejun Park <[email protected]>
xfs: clamp a pNFS LAYOUTCOMMIT extent before computing its endDaejun Park <[email protected]>
xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocksDaejun Park <[email protected]>
xfs: add a flag to convert unwritten extents without allocating blocksDaejun Park <[email protected]>
xfs: mark the inode preallocated for pNFS write layouts past EOFZhe Liu <[email protected]>
blk-iocost: account flush sequence latency only onceKrystian Kaniewski <[email protected]>
blk-mq: fix out-of-bounds read inblk_mq_free_rqsLaveesh Bansal <[email protected]>
block: only serialize elevator switches of the same queueReid Downing <[email protected]>
xfs: fix wrong compat fields inxfs_ioctl32_bstat_copyin()Hungyu Lin <[email protected]>
block: Return the soft block size for compat BLKBSZGETCong Zhang <[email protected]>
virtio_blk: use synchronous quiesce invirtblk_freeze_priv()Josef Bacik <[email protected]>
blk-mq: end the request if getting a keyslot failsHungyu Lin <[email protected]>
inotify: do not coalesce rename eventschenglong.ma <[email protected]>
vduse: fix VA/PA confusion in the coherent page fault pathThorsten Blum <[email protected]>
hwrng: virtio - prevent use-after-free after a failed restoreEsben Haabendal <[email protected]>
drm/bridge: nwl-dsi: Limit LCDIF specific sync overrideEsben Haabendal <[email protected]>
drm/bridge: nwl-dsi: Cleanup endpoint mux control selectionYuho Choi <[email protected]>
vdpa/snet: Don't discard the DPU error insnet_send_ctrl_msg()Yuho Choi <[email protected]>
iommu/virtio: Reset device before deleting virtqueues on probe failureFang Xieyan <[email protected]>
vhost: fix used ring index wrap invhost_add_used_n_in_orderShubham Antil <[email protected]>
vhost-scsi: zero misaligned I/O bounce pagesKyle Zeng <[email protected]>
net/sched:sch_qfq: prevent aggregate self-replacementJianyun Gao <[email protected]>
xfs: fix temporary cursor leak in btree shift corruption pathsNaman Jain <[email protected]>
x86/init: Initialize wall clock inget_rtc_noop()Cen Zhang <[email protected]>
ocfs2: cache the mount context for dentry lock callbacksCen Zhang <[email protected]>
ocfs2: wait for filecheck kobject release after a failed addCen Zhang <[email protected]>
ocfs2/cluster: unlink socket containers before releasing resourcesCen Zhang <[email protected]>
ocfs2: stop recovery before shutting down local allocatorsCen Zhang <[email protected]>
ocfs2/dlm: serialize migration MLE cleanup on failureNickolai Zeldovich <[email protected]>
panic: zero the dynamically allocated taint bufferCen Zhang <[email protected]>
ocfs2: keeplocking_statewithin the cluster connection lifetimeCen Zhang <[email protected]>
ocfs2: validate move extents against a stable EOFMatheus Alves de Almeida <[email protected]>
fat: holdtruncate_lockinfat_write_failed()Joseph Qi <[email protected]>
ocfs2: do not read the entry array of an empty xattr blockJoseph Qi <[email protected]>
ocfs2: do not index before the entry array when dividing an empty bucketJoseph Qi <[email protected]>
ocfs2: do not read the entry array of an empty xattr bucketJoseph Qi <[email protected]>
ocfs2: find the xattr entry again after converting a block to a bucketJoseph Qi <[email protected]>
ocfs2: find the xattr entry again after defragmenting a bucketAndrew Morton <[email protected]>
openrisc: export__mulsi3for modulesNathan Chancellor <[email protected]>
lib/base64: silence clang-24 -Wconstant-conversion with diag pragmasT.J. Mercier <[email protected]>
mm: memcontrol: fix NULL pointer deref and UAF fromhigh_work_func()on dying memcgMike Rapoport (Microsoft) <[email protected]>
mm/cma: accept memory of CMA areas reserved at a fixed addressMike Rapoport (Microsoft) <[email protected]>
mm/cma: accept memory of multi-range CMA areasJohannes Weiner <[email protected]>
mm:page_alloc: removeALLOC_NON_BLOCKfromALLOC_RESERVESJohannes Weiner <[email protected]>
mm:page_alloc: do not give all non-blocking requests reserve accessKiryl Shutsemau (Meta) <[email protected]>
mm/hugetlb_vmemmap: map the shared tail page writableLorenzo Stoakes (ARM) <[email protected]>
mm/vma: update VMA iterator state on error in new VMA mergeYafang Shao <[email protected]>
mm/migrate: snapshot the source nid before the misplaced migrationLance Yang <[email protected]>
mm/ksm: fix userfaultfd protection during merge and unmergeHungyu Lin <[email protected]>
mm/migrate: untag addresses when querying page nodesChris Down <[email protected]>
mm: make swapoff interruptible when unusing mms/shmemSJ Park <[email protected]>
mm/damon/core: move static variable rotation todamon_ctxSJ Park <[email protected]>
mm/damon/core: move static variablelast_nr_regionstodamon_ctxSJ Park <[email protected]>
mm/damon/sysfs-schemes: holddamon_sysfs_lockintarget_metric_store()Hengyu Liang <[email protected]>
fs/proc/task_mmu: return-ENOTTYfor unknown pagemap ioctlsSamarth Narang <[email protected]>
mm/ksm: keep soft-dirty when merging a pageDavid Hildenbrand (Arm) <[email protected]>
mm/vma: write lock source VMA before duplicating it in__split_vma()Zenghui Yu (Huawei) <[email protected]>
mm/page_alloc: mark pages freed by__free_pages_core()as not taggedLi Zhe <[email protected]>
mm/hugetlb: fix mremap deadlock when PMD sharing is possibleLi Zhe <[email protected]>
mm/hugetlb: fix mremap move length truncationGregory Price (Meta) <[email protected]>
mm/page_alloc: let the highest memory node recover from hopeless stateHungyu Lin <[email protected]>
mm/page-writeback: avoid 32-bit overflow in dirty threshold sharesBaolin Wang <[email protected]>
mm: memory: fix truncation removing mapped foliosDavid Hildenbrand (Arm) <[email protected]>
mm: fix address wraparound when scanning large folio PTEsKyle Zeng <[email protected]>
mm/khugepaged: flush deferred unmaps before dropping a failed folioBabu Moger <[email protected]>
x86,fs/resctrl: Keepmbm_assign_modein default mode at bootBabu Moger <[email protected]>
x86/resctrl: Correct ABMC counter ID field widthMohit Sharma <[email protected]>
ASoC: qcom: q6apm: Guard callbacks until probe data is readyMichael McAllister <[email protected]>
Bluetooth: qca: Fix the WCN3950 NVM baud rate offsetValentin Kindschi <[email protected]>
Bluetooth:hci_sync: pause advertising for the scan address updateValentin Kindschi <[email protected]>
Bluetooth:hci_sync: re-enable legacy advertising on resumeZack Rusin <[email protected]>
x86/vmware: Fix i386 high-bandwidth hypercall argumentsYingjie Wang <[email protected]>
ipv6: reject wrapped temporary address preferred lifetimesEric Dumazet <[email protected]>
inet: frags: limit the truesize of a reassembly queueJames Calligeros <[email protected]>
ASoC: tas2770: Fix error detection intas2770_set_dai_tdm_idleSean Christopherson <[email protected]>
KVM: x86: Unconditionally reset MMU context when emulating INITSean Christopherson <[email protected]>
KVM: x86/mmu: Cap number of parent PTEs per SP at 1000 (the arbitrary rmap limit)Sean Christopherson <[email protected]>
KVM: nVMX: Process each host MSR entry at most once when unwinding failed VM-EntrySean Christopherson <[email protected]>
KVM: x86: Conditionally resched when restarting REP string emulationSean Christopherson <[email protected]>
KVM: x86/mmu: Conditionally resched when retrying gPTE walk on A/D update failureYuqiang Sun <[email protected]>
nvme: Do not drop the cdev reference twice whencdev_device_add()failsDaejun Park <[email protected]>
nvme: unregister whenpr_register()is given a zero new keyChristian Aurich Zanettini Martins <[email protected]>
nvme-rdma: fix NULL queue->ctrl dereference on reconnectJoonhoe Kim <[email protected]>
net: qrtr: announce local services again once our HELLO is sentVas Zayarskiy <[email protected]>
hwmon: (aquacomputer_d5next) Avoid truncating scaled sensor readingsGuenter Roeck <[email protected]>
hwmon: (sht4x) Convertupdate_intervalto jiffies in pending data checkGuenter Roeck <[email protected]>
hwmon: (coretemp) Setnr_coresonly aftercore_dataallocation succeedsGuenter Roeck <[email protected]>
hwmon: (coretemp) Check for NULL platform device in hotplug callbacksBaek Kyu, Kim <[email protected]>
hwmon: (gpio-fan) Update the speed cache before dropping the PM referenceGuenter Roeck <[email protected]>
hwmon: (tmp108) Fix initial conversion delay and wait until readyGuenter Roeck <[email protected]>
hwmon: (lm75) Fix setting polarity mask for chips with 16-bit config registerGuenter Roeck <[email protected]>
hwmon: (pmbus) Fix return value check from thermal zone registrationGuenter Roeck <[email protected]>
hwmon: (pmbus) Release devres allocated memory afterdevm_thermal_of_zone_registererrorGuenter Roeck <[email protected]>
hwmon: (pmbus) Check return value frompmbus_thermal_add_sensor()Guenter Roeck <[email protected]>
hwmon: (pmbus/q54sj108a2) Add missing NULL pointer checkGuenter Roeck <[email protected]>
hwmon: (peci/dimmtemp) Fix devres leak and UAF on concurrent unbindGuenter Roeck <[email protected]>
hwmon: (nct6683) Fix incorrect struct cast inshow_pwm()andstore_pwm()Guenter Roeck <[email protected]>
hwmon: (lm87) Fix drvdata type confusion invrm_show()andvrm_store()Guenter Roeck <[email protected]>
hwmon: (hp-wmi-sensors) Fix unbounded loops inscale_numeric_sensor()Guenter Roeck <[email protected]>
hwmon: (hp-wmi-sensors) Avoid global struct mutationGuenter Roeck <[email protected]>
hwmon: (asus_wmi_sensors) Avoid global struct mutationGuenter Roeck <[email protected]>
hwmon: (aquacomputer_d5next) Check maxcollection when probing AQUAERO devicesJavier Carrasco <[email protected]>
hwmon: chipcap2: synchronize ready IRQ stateJavier Carrasco <[email protected]>
hwmon: chipcap2: serialize access to the alarm indicatorsJavier Carrasco <[email protected]>
hwmon: chipcap2: do not discard pending alarms on disableJavier Carrasco <[email protected]>
hwmon: chipcap2: balance regulator stateJavier Carrasco <[email protected]>
hwmon: chipcap2: enable IRQ processing when regulator is already enabledJavier Carrasco <[email protected]>
hwmon: chipcap2: disable device after hwmon teardownJavier Carrasco <[email protected]>
hwmon: chipcap2: fix IRQ teardown orderingJavier Carrasco <[email protected]>
hwmon: chipcap2: defer probe when IRQs are unavailableJavier Carrasco <[email protected]>
hwmon: chipcap2: fix be16 handlingJavier Carrasco <[email protected]>
hwmon: chipcap2: fix off-by-one in command mode retry loopJavier Carrasco <[email protected]>
hwmon: chipcap2: fix command error diagnosticsAlexei Solcanu <[email protected]>
hwmon: (gpd-fan) Reset both fans to automatic on duo boardsZac Lanzon <[email protected]>
hwmon: (asus_rog_ryujin) Fix pump control source on the Ryujin IIIJiale Yao <[email protected]>
hwmon: (aquacomputer_d5next) reject short status reportsBaek Kyu, Kim <[email protected]>
hwmon: (corsair-cpro) Cache fan target only after a successful commandMyeonghun Pak <[email protected]>
hwmon: (sht15) Stop deferred work before releasing its resourcesXia Yan <[email protected]>
veth: keep carrier off when resizing channels with a down peerFang Xieyan <[email protected]>
vringh: reject empty / undersized indirect descriptor tablesFang Xieyan <[email protected]>
vringh: bound top-level re-entry into indirect tablesTal Zussman <[email protected]>
vhost-vdpa: fix pinned page leak invhost_vdpa_pa_map()error pathZhan Xusheng <[email protected]>
ntfs: don't allow compression on volumes with clusters larger than 4KQihang <[email protected]>
cipso: fix optlen corruption incipso_v4_delopt()Maíra Canal <[email protected]>
drm/v3d: Widencache_clean_lockover the whole L2TCACTL sequenceJose Maria Casanova Crespo <[email protected]>
drm/v3d: Initializetimedout_batcheswhen running a CSD jobDaejun Park <[email protected]>
xfs: don't skip free extents of the longest length in a whole-AG FITRIMDaejun Park <[email protected]>
xfs: don't skip free extents in later batches of a whole-AG FITRIMBinbin Deng <[email protected]>
xfs: set healthmon mount cookie before publishing itHungyu Lin <[email protected]>
ext2: preserve completed DIO bytes when buffered fallback failsDavid Hildenbrand (Arm) <[email protected]>
mm/huge_memory: properly handle refcounted PUD mappings on forkDavid Hildenbrand (Arm) <[email protected]>
mm/huge_memory: fix list corruption whendeferred_split_scan()races withdeferred_split_folio()David Hildenbrand (Arm) <[email protected]>
mm/rmap: handle device-exclusive entries infolio_referenced_one()David Hildenbrand (Arm) <[email protected]>
mm/filemap: finish fault cleanup before dropping the fault lockJosef Bacik <[email protected]>
mm/filemap: don't lose a folio lock wakeup to a signalJosef Bacik <[email protected]>
mm/filemap: read mapping->a_ops->free_folio under i_lockDavid Hildenbrand (Arm) <[email protected]>
mm/truncate: look again if a folio left the mappingJosef Bacik <[email protected]>
mm/memfd: makef_posaccesses atomicDavid Hildenbrand (Arm) <[email protected]>
mm/shmem: makeshmem_file()check the file's inodeDavid Hildenbrand (Arm) <[email protected]>
fork: takemmap_lockbefore copyingmm_structJosef Bacik <[email protected]>
mm/mglru: don't use stack pointers when walking PUD and PMD tablesDavid Hildenbrand (Arm) <[email protected]>
mm/shmem: fix truncation of files containing only swapin-error markersDavid Hildenbrand (Arm) <[email protected]>
mm/shmem: fix accounting of swapin-error markersDavid Hildenbrand (Arm) <[email protected]>
mm/shmem: fix truncate loop after boundary swapin failureDavid Hildenbrand (Arm) <[email protected]>
mm/shmem: preserve allocation errors when swapping in large entriesDavid Hildenbrand (Arm) <[email protected]>
mm/shmem: fix truncate hang in large swap entryDavid Hildenbrand (Arm) <[email protected]>
mm/shmem: rescan after nonuniform folio splittingDavid Hildenbrand (Arm) <[email protected]>
mm/shmem: discard whole new large folios on fallocate rollbackChris Mason <[email protected]>
mm/shmem: preserve data in clean folios when splitting failsChris Mason <[email protected]>
mm/shmem: stop retrying folios that cannot be splitJosef Bacik <[email protected]>
tmpfs: preserve explicitly disabled quota limitsJosef Bacik <[email protected]>
tmpfs: keep the quota soft limits of an unused idChris Mason <[email protected]>
mm/mempolicy: charge shared policy nodesIan Bridges <[email protected]>
ksmbd: let the owner read and change the DACL when no ACE names itIan Bridges <[email protected]>
ksmbd: grant a POSIX ACL group entry only to the group's membersIan Bridges <[email protected]>
ksmbd: do not read past the DACL in the access denied debug messageFederico Musto <[email protected]>
net: atl1c: drop oversized RX frames instead of panickingMitul Golani <[email protected]>
drm/i915/display: Allow port sync on PTLVidya Srinivas <[email protected]>
drm/i915/display: Disable pipe joiner on WCLVidya Srinivas <[email protected]>
drm/i915/display: Single scaler per pipe on WCLLu Yao <[email protected]>
drm/i915/gem: Reset err for each fence entryWerner Sembach <[email protected]>
drm/i915/display: Add quirk to force backlight type on some TUXEDO devicesJouni Högander <[email protected]>
drm/i915/psr: Don't clip plane state destination rectangleJouni Högander <[email protected]>
drm/i915/psr: Fix SFF and CFF CTL register bit definitionsJouni Högander <[email protected]>
drm/i915/psr: Disable linked plane sel fetch as wellJouni Högander <[email protected]>
drm/i915/display: Add enabled pipe planes into state for selective fetchJouni Högander <[email protected]>
drm/i915/psr: Clear selective fetch area when duplicating plane stateRosen Penev <[email protected]>
x86/csum: Relax the len and proto constraints in 32-bitcsum_ipv6_magic()Breno Leitao <[email protected]>
x86/bugs: Select the BHI mitigation based on the attack vector properlyLee Jones <[email protected]>
ASoC: SOF: Intel: hda-sdw-bpt: Stop active DMA before closing BPT streamsMiguel Ojeda <[email protected]>
rust: cpufreq: fixundocumented_unsafe_blocksinPolicyCpu::from_cpu()Jack Blessed Kimani <[email protected]>
ksmbd: fix NULL pointer dereference insession_user_name()andsession_account_type()Ian Bridges <[email protected]>
ksmbd: revert fsids on durable reconnect and replay failureIan Bridges <[email protected]>
ksmbd: enforce the read-only share flag when creating a streamIan Bridges <[email protected]>
ksmbd: require DELETE access for delete-on-close opensJamal Hadi Salim <[email protected]>
bpf: Fixskb_pull()BUG in__bpf_redirect_neigh()YuanZhe Liu <[email protected]>
ALSA: hwdep: Serialize DSP load requestsYuanZhe Liu <[email protected]>
ALSA: usx2y: Initialize idle URBs before submitting streamsYuanZhe Liu <[email protected]>
ALSA: us122l: Fix NULL dereference at hwdep open and releaseYuanZhe Liu <[email protected]>
ALSA: us122l: Add missing NULL check inusb_stream_hwdep_mmap()Evanshenf <[email protected]>
drm/loongson: Handle buffer mapping failures when clearing a BOEvanshenf <[email protected]>
drm/loongson: Fix double free on BO initialization failureEvanshenf <[email protected]>
drm/loongson: Fix framebuffer selection in async cursor updatesShao Mingyin <[email protected]>
scsi: target: tcmu: Fix divide-by-zero indata_pages_per_blkstoreYuanhe Shu <[email protected]>
scsi: target: Verify the iSCSI ISID is null-terminatedYingjie Wang <[email protected]>
scsi: bsg: Reportio_uringdata copyback failuresYingjie Wang <[email protected]>
scsi: bsg: Report synchronous data copyback failuresYu Zhang <[email protected]>
ptp: fix use-after-free inextts_fifo_show()reading tsevqs unlockedguolingxing <[email protected]>
btrfs: prevent deleting the wrong subvolume by IDguolingxing <[email protected]>
btrfs: sysfs: restore NOFS context on early return inbtrfs_sysfs_add_block_group_type()Hengyu Liang <[email protected]>
btrfs: fix chattr failing on nodatasum files that have the compress flagMasafumi Suzuki <[email protected]>
sctp: account for chunk padding insctp_init_cause()Lucas Tanure <[email protected]>
drm/vc4: hdmi: enable scrambling before the TMDS clock startsLucas Tanure <[email protected]>
drm/vc4: hdmi: always cancel the scrambling work synchronouslyDom Cobley <[email protected]>
drm/vc4: hdmi: power down the BCM2712 PHY when the output is disabledZhou Qiuyue <[email protected]>
ipv6: raw: fix use-after-free inrawv6_send_hdrinc()Franck Baur <[email protected]>
net: jme: keep RX MAC clock enabled for WoLSven Eckelmann <[email protected]>
batman-adv: tt: don't drop local events queued during TVLV updateSven Eckelmann <[email protected]>
batman-adv: tt: ignore ROAM flag of received ADD changesSven Eckelmann <[email protected]>
batman-adv: stop originator purge worker before freeing TTSven Eckelmann <[email protected]>
batman-adv: fix skb leak whenhard_ifaceis being releasedSven Eckelmann <[email protected]>
batman-adv: dat: initializeorig_nodeof unfilled candidate slotsSven Eckelmann <[email protected]>
batman-adv: tpmeter: fix u32 truncation of reported bytesKyle Zeng <[email protected]>
batman-adv: mcast: validate tracker padding before forwardingEric Biggers <[email protected]>
lib/crypto: mldsa: Add__must_checktomldsa_verify()Eric Biggers <[email protected]>
lib/crypto: mldsa: Explicitly check that 'alg' is a valid valueEric Biggers <[email protected]>
lib/crypto: mldsa: Checkpk_lenbefore doing pointer arithmeticChengfeng Ye <[email protected]>
batman-adv: Close OGM aggregation before transmissionYuanfu Xie <[email protected]>
9p: don't decrement a server-owned zero nlinkYehyeong Lee <[email protected]>
9p/xen: validate the response size from the backendYu Zhang <[email protected]>
scsi: target: Fix demo-mode dynamic ACL dev-entry UAF vs LUN teardownAndrew Luebke <[email protected]>
scsi: aic79xx: Fix NULL pointer dereference in device resetImre Kaloz <[email protected]>
scsi: aic7xxx: Use default settings on the SGI O2 onboard controllersFourie Zhang <[email protected]>
xfrm4: use a full socket for local errorsToke Høiland-Jørgensen <[email protected]>
wifi: mac80211: reinstate IEEE80211_TX_CTL_AMPDU flag in ieee80211_tx_prep_agg()Eric Biggers <[email protected]>
lib/crypto: mips: Disable Octeon SHA code on little-endian kernelsMaíra Canal <[email protected]>
drm/vc4: Drop the BO reservations outside ofjob_lockMaíra Canal <[email protected]>
drm/vc4: Publish the output fence outside ofjob_lockZijing Yin <[email protected]>
wifi: cfg80211: fix out-of-bounds read invalid_rule()Alex Kazinsky <[email protected]>
wifi: rsi: Skip TX aggregation setup for non-QoS framesJason Perlow <[email protected]>
wifi: brcmfmac: map msgbuf RX packet IDs bidirectionalWeigang He <[email protected]>
wifi: mac80211: reload TDLS header pointer afterskb_linearize()Yili Zhang <[email protected]>
dma-buf: Fix IOVA offset when linking phys vecs to sgtAndré Draszik <[email protected]>
drm/drm_crtc: fix race withdma_fence_signal()in ::get_driver_name()André Draszik <[email protected]>
drm/drm_crtc: ensuredma_fence_opsremain valid during device unbindDevin Wittmayer <[email protected]>
drm/panic: Fix kmsg screen hang on a long log lineSabrina Dubroca <[email protected]>
xfrm: espintcp: reorder operations withinespintcp_init_skQihang <[email protected]>
xfrm: interface: validate the IP header on xmitHyungjung Joo <[email protected]>
net/9p/usbg: clear stale client pointer on closeMichael Grzeschik <[email protected]>
net/9p/usbg: remove bogus context initialization inalloc_requestsMichael Grzeschik <[email protected]>
net/9p/usbg: fixout_reqbuffer leak indisable_usb9pfsMichael Grzeschik <[email protected]>
net/9p/usbg: calldisable_usb9pfs()fromusb9pfs_disable()Michael Grzeschik <[email protected]>
net/9p/usbg: always reset completion when disconnectingMichael Grzeschik <[email protected]>
net/9p/usbg: set client to Disconnected onusb9pfs_disableMichael Grzeschik <[email protected]>
net/9p/usbg: also disable endpoints onp9_usbg_closeYizhou Zhao <[email protected]>
net/9p/usbg: Fix use-after-free indisable_usb9pfs()Zhao Zhang <[email protected]>
9p: fixcaches_show()out-of-bounds writeYifei Gao <[email protected]>
9p/xen: fix refcount leak inp9_xen_response()on wrong tagMichael Bommarito <[email protected]>
9p/trans_virtio: reject mount tags longer thanNAME_MAXat probeChengfeng Ye <[email protected]>
net/9p/usbg: clear stale request context after abortChengfeng Ye <[email protected]>
xfrm: retry inexact policy lookup after node reinsertionYizhou Zhao <[email protected]>
net/9p/usbg: fix prefix matching in device lookupStefano Garzarella <[email protected]>
9p: fix privport option setting wrong RDMA fieldSJ Park <[email protected]>
mm/damon/sysfs-schemes: read sysfs_filter->sz_range only onceRicardo Ribalda <[email protected]>
media: uvcvideo: Force UVC version for Avermedia GC515Ricardo Ribalda <[email protected]>
media: uvcvideo: Add autosuspend quirk for AVerMedia Live Gamer HD 2Christian Loehle <[email protected]>
cpufreq: CPPC: Select the frequency-invariance callback per CPUJeff Layton <[email protected]>
nfsd: shorten extack string returned with dodgy listenerDarrick J. Wong <[email protected]>
xfs: forcibly reset quota timers when upgrading to bigtime during repairDarrick J. Wong <[email protected]>
xfs: reinitialize dquot block if non-first dquot can't loadChristian Loehle <[email protected]>
ACPI: CPPC: Accept requests to retain immutable autonomous selectionChristian Loehle <[email protected]>
ACPI: CPPC: Validate FFH register fields before hardware accessPing-Ke Shih <[email protected]>
wifi: rtw88: TX report with long timeout for non-PCIE devicesAndrew Morton <[email protected]>
block: restore the iterator when rejecting a misaligned bioSJ Park <[email protected]>
mm/damon/core: remove unreachable damos charge_{target,addr}_fromYuansheng Yang <[email protected]>
io_uring/rsrc: holduring_lockacross index-allocput_userJens Axboe <[email protected]>
io_uring/poll: don't poll a writer for urgent dataJens Axboe <[email protected]>
io_uring/poll: don't poll a writer for a read side hangupShang En Sim <[email protected]>
io_uring/poll: cancel all matching requests in one passShang En Sim <[email protected]>
io_uring/cancel: count all requests that aCANCEL_ALLcancelsShakeel Butt <[email protected]>
io_uring/sqpoll: do the return-to-userspace work in the SQPOLL threadShuai Liu <[email protected]>
io_uring/sqpoll: don't setIO_SQ_THREAD_SHOULD_STOPon thread exitJens Axboe <[email protected]>
io_uring/sqpoll: don't attach to a thread that is cancelingChris Mason <[email protected]>
io_uring/cancel: drop sqd->lock while SQPOLL waitsJanne Grunau <[email protected]>
wifi: brcmfmac: cfg80211: Reportport_authorizedfor 4-way HS offloadGael Blivet <[email protected]>
ksmbd: look up stream size by exact xattr nameChuck Lever <[email protected]>
NFSD: Complete a cld upcall when copying its reply failsChuck Lever <[email protected]>
NFSD: Complete a cld upcall when the daemon closes the pipeChuck Lever <[email protected]>
NFSD: Move the cld upcall message out of the caller's stack frameChuck Lever <[email protected]>
NFSD: Send a meaningfulCB_RECALL_ANYkeep countJeff Layton <[email protected]>
NFSD: stop registering with rpcbind after a failure inlistener_setJeff Layton <[email protected]>
SUNRPC: report local rpcbind calls that get no answerJeff Layton <[email protected]>
NFSD: report listener creation failures through extackChuck Lever <[email protected]>
NFSD: mapfh_verify()status codes forNFS_ACLv2repliesChuck Lever <[email protected]>
NFSD: Move version-specific ACCESS maps into per-version codeChuck Lever <[email protected]>
NFSD: Replace nfsd_write()'s "stable" argument with "iocb_flags"Darrick J. Wong <[email protected]>
xfs: improve dirent bounds checking in scrub and repairDarrick J. Wong <[email protected]>
xfs: refactor directory data block walking loops in scrubDarrick J. Wong <[email protected]>
xfs: check for buffer overruns when examining local/remote xattr entriesDarrick J. Wong <[email protected]>
xfs: break out xattr entry checks into separate functionsWeiming Shi <[email protected]>
smb/server: prevent file publication after tree disconnectJinwang Li <[email protected]>
Bluetooth: L2CAP: Ignore connection responses with wrong identSiwei Zhang <[email protected]>
Bluetooth: L2CAP: Only accept connection responses to outstanding requestsSiwei Zhang <[email protected]>
Bluetooth: L2CAP: Reject signalling responses in invalid statesAshok Raj <[email protected]>
cxl/features: Ensure that count is set before access to ent[] __counted_by()-------------
Diffstat:
Documentation/ABI/testing/sysfs-fs-f2fs | 2 +- Documentation/admin-guide/pm/intel_idle.rst | 12 +- Documentation/arch/arm64/silicon-errata.rst | 3 +- Documentation/filesystems/overlayfs.rst | 3 +- Documentation/filesystems/resctrl.rst | 87 ++++--- Documentation/hwmon/asus_rog_ryujin.rst | 6 + Documentation/mm/process_addrs.rst | 14 +- Documentation/mm/vmemmap_dedup.rst | 15 +- Makefile | 4 +- arch/arm64/include/asm/sdei.h | 3 +- arch/arm64/include/asm/suspend.h | 2 +- arch/arm64/kernel/entry-common.c | 40 ++- arch/arm64/kernel/machine_kexec_file.c | 2 + arch/arm64/kernel/sdei.c | 59 ++++- arch/arm64/kernel/topology.c | 12 +- arch/arm64/kvm/mmu.c | 129 +++++----- arch/arm64/kvm/pkvm.c | 3 + arch/arm64/kvm/vgic/vgic-mmio-v3.c | 10 + arch/arm64/mm/mmap.c | 4 +- arch/arm64/mm/proc.S | 8 + arch/mips/mm/cex-gen.S | 16 ++ arch/mips/pci/ops-mace.c | 26 +- arch/mips/pci/pci-ip32.c | 9 +- arch/mips/sgi-ip32/ip32-irq.c | 45 +--- arch/openrisc/kernel/or32_ksyms.c | 1 + arch/x86/boot/startup/sme.c | 2 +- arch/x86/entry/syscall_32.c | 4 + arch/x86/entry/syscall_64.c | 26 +- arch/x86/include/asm/checksum_32.h | 2 +- arch/x86/include/asm/vmware.h | 24 +- arch/x86/kernel/acpi/cppc.c | 15 ++ arch/x86/kernel/cpu/bugs.c | 12 +- arch/x86/kernel/cpu/resctrl/internal.h | 4 +- arch/x86/kernel/cpu/resctrl/monitor.c | 4 +- arch/x86/kernel/nmi.c | 8 + arch/x86/kernel/x86_init.c | 2 +- arch/x86/kvm/mmu/mmu.c | 10 + arch/x86/kvm/mmu/paging_tmpl.h | 11 +- arch/x86/kvm/vmx/nested.c | 1 + arch/x86/kvm/x86.c | 33 ++- arch/x86/mm/tlb.c | 16 +- block/bio.c | 3 + block/blk-iocost.c | 3 + block/blk-mq.c | 17 +- block/elevator.c | 32 +-- block/ioctl.c | 4 +- drivers/acpi/battery.c | 12 +- drivers/acpi/cppc_acpi.c | 61 ++++- drivers/acpi/utils.c | 41 +++ drivers/ata/libata-pmp.c | 14 ++ drivers/ata/libata-scsi.c | 25 ++ drivers/block/ublk_drv.c | 1 + drivers/block/virtio_blk.c | 2 +- drivers/bluetooth/btqca.c | 3 +- drivers/char/hw_random/virtio-rng.c | 7 + drivers/clk/nuvoton/clk-ma35d1.c | 7 +- drivers/cpufreq/amd-pstate.c | 25 +- drivers/cpufreq/cppc_cpufreq.c | 26 +- drivers/cxl/core/features.c | 2 +- drivers/dma-buf/dma-buf-mapping.c | 2 +- drivers/dma/qcom/bam_dma.c | 10 +- drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 17 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 21 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 41 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 44 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 5 + drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c | 19 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 16 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | 1 - drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 2 + drivers/gpu/drm/amd/amdgpu/ih_v6_0.c | 13 +- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/navi10_ih.c | 41 ++- .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 3 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_freesync.c | 27 +- .../amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c | 3 + drivers/gpu/drm/amd/display/dc/core/dc.c | 6 +- .../gpu/drm/amd/display/dc/core/dc_hw_sequencer.c | 31 +++ drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer.h | 3 + .../display/dc/link/protocols/link_dp_capability.c | 6 +- .../gpu/drm/amd/display/dc/optc/dcn20/dcn20_optc.c | 7 + .../gpu/drm/amd/display/dc/optc/dcn30/dcn30_optc.h | 18 ++ .../gpu/drm/amd/display/dc/optc/dcn31/dcn31_optc.h | 22 +- .../drm/amd/display/dc/optc/dcn314/dcn314_optc.h | 18 ++ .../gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.h | 11 + .../gpu/drm/amd/display/dc/optc/dcn35/dcn35_optc.h | 11 - .../drm/amd/display/dc/optc/dcn401/dcn401_optc.h | 12 + .../gpu/drm/amd/display/dc/optc/dcn42/dcn42_optc.h | 2 + .../gpu/drm/amd/display/dc/optc/dcn60/dcn60_optc.h | 2 + .../amd/display/dc/resource/dcn32/dcn32_resource.c | 15 +- .../amd/display/dc/resource/dcn32/dcn32_resource.h | 6 + .../display/dc/resource/dcn401/dcn401_resource.h | 6 + .../drm/amd/display/modules/freesync/freesync.c | 6 +- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 20 ++ drivers/gpu/drm/bridge/nwl-dsi.c | 17 +- drivers/gpu/drm/display/drm_dp_helper.c | 3 +- drivers/gpu/drm/drm_crtc.c | 18 +- drivers/gpu/drm/drm_panic.c | 7 +- drivers/gpu/drm/etnaviv/etnaviv_buffer.c | 40 ++- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 6 +- drivers/gpu/drm/i915/display/intel_ddi.c | 2 +- .../gpu/drm/i915/display/intel_display_device.c | 5 +- drivers/gpu/drm/i915/display/intel_dp.c | 4 +- .../gpu/drm/i915/display/intel_dp_aux_backlight.c | 22 +- drivers/gpu/drm/i915/display/intel_plane.c | 11 + drivers/gpu/drm/i915/display/intel_psr.c | 96 ++++---- drivers/gpu/drm/i915/display/intel_psr_regs.h | 4 +- drivers/gpu/drm/i915/display/intel_quirks.c | 24 ++ drivers/gpu/drm/i915/display/intel_quirks.h | 1 + drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 +- drivers/gpu/drm/loongson/lsdc_gem.c | 14 +- drivers/gpu/drm/loongson/lsdc_plane.c | 2 +- drivers/gpu/drm/loongson/lsdc_ttm.c | 14 +- drivers/gpu/drm/loongson/lsdc_ttm.h | 2 +- drivers/gpu/drm/nouveau/nvkm/core/subdev.c | 1 + .../gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c | 20 ++ drivers/gpu/drm/scheduler/sched_entity.c | 29 ++- drivers/gpu/drm/v3d/v3d_gem.c | 5 +- drivers/gpu/drm/v3d/v3d_sched.c | 2 + drivers/gpu/drm/vc4/vc4_gem.c | 14 +- drivers/gpu/drm/vc4/vc4_hdmi.c | 10 +- drivers/gpu/drm/vc4/vc4_hdmi_phy.c | 5 + drivers/hwmon/aquacomputer_d5next.c | 58 ++++- drivers/hwmon/asus_rog_ryujin.c | 54 +++- drivers/hwmon/asus_wmi_sensors.c | 13 +- drivers/hwmon/chipcap2.c | 196 ++++++++++----- drivers/hwmon/coretemp.c | 13 +- drivers/hwmon/corsair-cpro.c | 3 +- drivers/hwmon/gpd-fan.c | 1 + drivers/hwmon/gpio-fan.c | 7 +- drivers/hwmon/hp-wmi-sensors.c | 29 ++- drivers/hwmon/lm75.c | 9 +- drivers/hwmon/lm87.c | 7 +- drivers/hwmon/nct6683.c | 4 +- drivers/hwmon/peci/dimmtemp.c | 21 +- drivers/hwmon/pmbus/pmbus_core.c | 51 ++-- drivers/hwmon/pmbus/q54sj108a2.c | 2 + drivers/hwmon/sht15.c | 22 +- drivers/hwmon/sht4x.c | 4 +- drivers/hwmon/tmp108.c | 26 +- drivers/idle/intel_idle.c | 11 +- drivers/iommu/amd/init.c | 41 ++- drivers/iommu/amd/iommu.c | 17 +- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 7 + drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 91 +++++-- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 5 + drivers/iommu/iommufd/io_pagetable.c | 2 +- drivers/iommu/iommufd/iova_bitmap.c | 19 +- drivers/iommu/virtio-iommu.c | 6 +- drivers/media/pci/intel/ipu6/ipu6-fw-isys.c | 88 ++++--- drivers/media/pci/intel/ipu6/ipu6-isys-video.c | 4 +- drivers/media/pci/intel/ipu6/ipu6-isys.c | 6 +- drivers/media/pci/intel/ipu6/ipu6-isys.h | 5 +- .../media/platform/microchip/microchip-isc-base.c | 20 +- .../media/platform/microchip/microchip-isc-regs.h | 16 +- drivers/media/platform/microchip/microchip-isc.h | 4 +- .../platform/microchip/microchip-sama5d2-isc.c | 20 +- .../platform/microchip/microchip-sama7g5-isc.c | 20 +- drivers/media/usb/uvc/uvc_driver.c | 20 ++ drivers/mtd/spi-nor/macronix.c | 2 + drivers/net/can/dev/netlink.c | 4 +- drivers/net/can/dev/skb.c | 10 +- drivers/net/can/usb/peak_usb/pcan_usb_fd.c | 7 +- drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 33 +++ drivers/net/ethernet/jme.c | 37 ++- drivers/net/ethernet/jme.h | 1 + drivers/net/ethernet/ti/am65-cpsw-nuss.c | 4 +- drivers/net/veth.c | 5 +- drivers/net/vxlan/vxlan_core.c | 14 +- .../broadcom/brcm80211/brcmfmac/cfg80211.c | 7 + .../wireless/broadcom/brcm80211/brcmfmac/msgbuf.c | 2 +- drivers/net/wireless/realtek/rtw88/mac80211.c | 2 + drivers/net/wireless/realtek/rtw88/reg.h | 2 + drivers/net/wireless/realtek/rtw88/tx.c | 9 +- drivers/net/wireless/realtek/rtw88/tx.h | 3 +- drivers/net/wireless/realtek/rtw88/usb.c | 68 ++++- drivers/net/wireless/realtek/rtw88/usb.h | 5 + drivers/net/wireless/rsi/rsi_91x_core.c | 2 +- drivers/nvme/common/keyring.c | 1 + drivers/nvme/host/core.c | 21 +- drivers/nvme/host/multipath.c | 2 - drivers/nvme/host/pci.c | 2 + drivers/nvme/host/pr.c | 8 +- drivers/nvme/host/rdma.c | 7 +- drivers/nvme/host/tcp.c | 213 +++++++++++++--- drivers/nvme/target/admin-cmd.c | 16 +- drivers/nvme/target/configfs.c | 4 +- drivers/nvme/target/core.c | 8 +- drivers/nvme/target/nvmet.h | 8 + drivers/pci/controller/cadence/pcie-cadence-plat.c | 33 +-- drivers/pci/controller/cadence/pcie-cadence.c | 16 +- drivers/pci/controller/cadence/pcie-cadence.h | 2 - drivers/pci/controller/dwc/pcie-designware.c | 2 + drivers/pci/controller/dwc/pcie-designware.h | 1 + drivers/platform/chrome/cros_ec_ishtp.c | 2 +- drivers/platform/chrome/cros_usbpd_notify.c | 41 +-- drivers/ptp/ptp_sysfs.c | 6 +- drivers/scsi/aic7xxx/aic79xx_core.c | 4 +- drivers/scsi/aic7xxx/aic79xx_osm.h | 26 +- drivers/scsi/aic7xxx/aic7xxx_core.c | 8 +- drivers/scsi/aic7xxx/aic7xxx_pci.c | 20 +- drivers/scsi/scsi_bsg.c | 8 +- drivers/target/target_core_device.c | 18 +- drivers/target/target_core_fabric_lib.c | 10 + drivers/target/target_core_tpg.c | 10 +- drivers/target/target_core_user.c | 5 + .../intel/int340x_thermal/int3403_thermal.c | 3 +- .../intel/int340x_thermal/int340x_thermal_zone.c | 6 +- .../int340x_thermal/processor_thermal_device.c | 2 +- drivers/vdpa/solidrun/snet_ctrl.c | 3 +- drivers/vdpa/vdpa_user/iova_domain.c | 11 +- drivers/vhost/scsi.c | 7 +- drivers/vhost/vdpa.c | 8 +- drivers/vhost/vhost.c | 3 +- drivers/vhost/vringh.c | 27 +- drivers/vhost/vsock.c | 34 ++- fs/9p/v9fs.c | 18 +- fs/9p/vfs_inode.c | 8 + fs/btrfs/ioctl.c | 24 ++ fs/btrfs/sysfs.c | 1 + fs/ceph/addr.c | 6 + fs/erofs/fileio.c | 18 +- fs/ext2/file.c | 3 +- fs/ext2/inode.c | 13 +- fs/f2fs/checkpoint.c | 13 +- fs/f2fs/data.c | 28 ++- fs/f2fs/f2fs.h | 10 +- fs/f2fs/gc.c | 11 +- fs/f2fs/node.c | 75 +++++- fs/f2fs/segment.c | 3 +- fs/f2fs/super.c | 24 ++ fs/f2fs/sysfs.c | 2 + fs/fat/inode.c | 2 + fs/nfsd/nfs2acl.c | 64 ++++- fs/nfsd/nfs3proc.c | 58 ++++- fs/nfsd/nfs3xdr.c | 2 + fs/nfsd/nfs4proc.c | 60 ++++- fs/nfsd/nfs4recover.c | 49 +++- fs/nfsd/nfs4state.c | 24 +- fs/nfsd/nfs4xdr.c | 2 +- fs/nfsd/nfsctl.c | 56 ++++- fs/nfsd/nfsproc.c | 2 +- fs/nfsd/state.h | 2 + fs/nfsd/vfs.c | 108 ++------ fs/nfsd/vfs.h | 21 +- fs/nfsd/xdr3.h | 2 +- fs/notify/inotify/inotify_fsnotify.c | 2 +- fs/ntfs/ea.c | 5 + fs/ntfs3/xattr.c | 25 +- fs/ocfs2/cluster/tcp.c | 5 +- fs/ocfs2/dcache.h | 5 +- fs/ocfs2/dlm/dlmmaster.c | 70 +++++- fs/ocfs2/dlmglue.c | 34 +-- fs/ocfs2/filecheck.c | 2 + fs/ocfs2/journal.c | 15 +- fs/ocfs2/journal.h | 1 + fs/ocfs2/move_extents.c | 70 +++--- fs/ocfs2/super.c | 3 + fs/ocfs2/xattr.c | 120 ++++++++- fs/open.c | 1 + fs/overlayfs/dir.c | 46 ++-- fs/overlayfs/export.c | 4 +- fs/overlayfs/inode.c | 8 + fs/overlayfs/namei.c | 13 +- fs/overlayfs/overlayfs.h | 21 +- fs/overlayfs/readdir.c | 6 +- fs/overlayfs/super.c | 12 +- fs/overlayfs/util.c | 13 +- fs/proc/task_mmu.c | 2 +- fs/smb/server/mgmt/user_session.c | 4 + fs/smb/server/smb2pdu.c | 65 +++-- fs/smb/server/smbacl.c | 43 +++- fs/smb/server/vfs.c | 4 +- fs/smb/server/vfs.h | 2 + fs/smb/server/vfs_cache.c | 58 +++-- fs/udf/balloc.c | 11 +- fs/udf/super.c | 80 +++++- fs/udf/truncate.c | 7 +- fs/xfs/libxfs/xfs_attr_leaf.c | 9 +- fs/xfs/libxfs/xfs_bmap.c | 14 +- fs/xfs/libxfs/xfs_bmap.h | 10 +- fs/xfs/libxfs/xfs_btree.c | 4 +- fs/xfs/scrub/attr.c | 102 ++++++-- fs/xfs/scrub/attr_repair.c | 18 +- fs/xfs/scrub/dir.c | 110 ++++++++- fs/xfs/scrub/dir_repair.c | 100 ++++++-- fs/xfs/scrub/quota_repair.c | 33 ++- fs/xfs/xfs_discard.c | 26 +- fs/xfs/xfs_file.c | 2 +- fs/xfs/xfs_healthmon.c | 2 +- fs/xfs/xfs_ioctl32.c | 4 +- fs/xfs/xfs_ioend.c | 2 +- fs/xfs/xfs_iomap.c | 28 ++- fs/xfs/xfs_iomap.h | 3 +- fs/xfs/xfs_pnfs.c | 60 +++-- include/acpi/acpi_bus.h | 7 + include/acpi/cppc_acpi.h | 6 + include/asm-generic/tlb.h | 3 +- include/crypto/mldsa.h | 6 +- include/dt-bindings/clock/nuvoton,ma35d1-clk.h | 3 +- include/linux/blkdev.h | 4 +- include/linux/can/can-ml.h | 3 + include/linux/can/dev.h | 2 +- include/linux/can/skb.h | 4 +- include/linux/damon.h | 10 + include/linux/huge_mm.h | 5 +- include/linux/hugetlb.h | 15 +- include/linux/ksm.h | 6 +- include/linux/memfd.h | 9 + include/linux/mm_types.h | 12 +- include/linux/mmap_lock.h | 39 ++- include/linux/mmu_notifier.h | 3 +- include/linux/mmzone.h | 2 + include/linux/nfs4.h | 6 + include/linux/shmem_fs.h | 15 +- include/linux/srcu.h | 36 +++ include/linux/sunrpc/clnt.h | 3 +- include/linux/sunrpc/svc.h | 7 +- include/linux/userfaultfd_k.h | 2 - include/net/espintcp.h | 5 +- include/net/inet_frag.h | 9 + include/net/netns/can.h | 2 +- include/net/sctp/sm.h | 1 + include/sound/cs35l56.h | 4 + include/sound/hwdep.h | 1 + include/uapi/linux/iommufd.h | 6 + io_uring/cancel.c | 26 +- io_uring/poll.c | 62 ++++- io_uring/rsrc.c | 21 +- io_uring/sqpoll.c | 26 +- kernel/events/core.c | 9 + kernel/fork.c | 20 +- kernel/panic.c | 2 +- kernel/sched/fair.c | 4 +- lib/base64.c | 3 + lib/crypto/Kconfig | 6 +- lib/crypto/mldsa.c | 15 +- lib/crypto/tests/mldsa_kunit.c | 9 + mm/cma.c | 14 +- mm/damon/core.c | 32 ++- mm/damon/sysfs-schemes.c | 8 +- mm/filemap.c | 84 +++---- mm/gup.c | 68 +++-- mm/huge_memory.c | 146 ++++++++--- mm/hugetlb.c | 92 ++++--- mm/hugetlb_vmemmap.c | 8 +- mm/internal.h | 38 ++- mm/khugepaged.c | 75 ++++-- mm/ksm.c | 66 +++-- mm/madvise.c | 9 + mm/memcontrol.c | 5 + mm/memfd.c | 2 + mm/memory-tiers.c | 29 +-- mm/memory.c | 133 ++++++---- mm/mempolicy.c | 4 +- mm/migrate.c | 5 +- mm/mm_init.c | 2 - mm/mmap.c | 8 +- mm/mmap_lock.c | 124 +++++++++- mm/mmu_notifier.c | 24 +- mm/mremap.c | 103 ++++---- mm/nommu.c | 2 +- mm/page-writeback.c | 8 +- mm/page_alloc.c | 30 ++- mm/page_alloc.h | 14 +- mm/rmap.c | 23 +- mm/shmem.c | 141 +++++++---- mm/shmem_quota.c | 28 ++- mm/swapfile.c | 7 +- mm/truncate.c | 13 +- mm/userfaultfd.c | 63 ++--- mm/util.c | 13 + mm/vma.c | 54 ++-- mm/vma_init.c | 3 + mm/vmscan.c | 29 ++- net/9p/trans_usbg.c | 91 +++++-- net/9p/trans_virtio.c | 5 + net/9p/trans_xen.c | 10 + net/batman-adv/bat_iv_ogm.c | 5 + net/batman-adv/distributed-arp-table.c | 1 + net/batman-adv/main.c | 12 +- net/batman-adv/multicast_forw.c | 5 +- net/batman-adv/tp_meter.c | 2 +- net/batman-adv/translation-table.c | 133 ++++++---- net/batman-adv/types.h | 8 +- net/bluetooth/hci_sync.c | 25 +- net/bluetooth/l2cap_core.c | 47 +++- net/can/af_can.c | 56 +++-- net/can/bcm.c | 50 ++-- net/can/gw.c | 7 +- net/can/isotp.c | 236 +++++++++++------- net/can/proc.c | 69 +++--- net/can/raw.c | 274 ++++++++++++--------- net/core/dev.c | 4 +- net/core/filter.c | 23 +- net/core/sock.c | 6 +- net/ipv4/cipso_ipv4.c | 9 +- net/ipv4/inet_connection_sock.c | 6 +- net/ipv4/inet_fragment.c | 5 + net/ipv4/inet_hashtables.c | 2 +- net/ipv4/inet_timewait_sock.c | 4 +- net/ipv4/syncookies.c | 2 +- net/ipv4/tcp_fastopen.c | 2 +- net/ipv4/xfrm4_output.c | 7 +- net/ipv6/addrconf.c | 3 +- net/ipv6/datagram.c | 4 + net/ipv6/inet6_hashtables.c | 2 +- net/ipv6/raw.c | 3 + net/l2tp/l2tp_core.c | 13 +- net/mac80211/tdls.c | 3 +- net/mac80211/tx.c | 2 + net/mptcp/pm_kernel.c | 1 + net/mptcp/subflow.c | 11 + net/qrtr/af_qrtr.c | 53 +++- net/sched/sch_generic.c | 41 ++- net/sched/sch_qfq.c | 3 + net/sched/sch_taprio.c | 5 + net/sctp/sm_make_chunk.c | 14 +- net/sctp/socket.c | 57 ++++- net/smc/smc_rx.c | 39 ++- net/sunrpc/rpcb_clnt.c | 22 +- net/sunrpc/svc.c | 42 +++- net/wireless/reg.c | 3 + net/xfrm/espintcp.c | 43 ++-- net/xfrm/xfrm_interface_core.c | 8 + net/xfrm/xfrm_policy.c | 11 +- rust/kernel/cpufreq.rs | 4 +- sound/core/hwdep.c | 2 + sound/core/ump_convert.c | 2 +- sound/hda/codecs/realtek/alc269.c | 45 +++- sound/hda/codecs/side-codecs/tas2781_hda.c | 27 +- sound/pci/cs46xx/dsp_spos.c | 2 + sound/pci/cs46xx/dsp_spos_scb_lib.c | 3 +- sound/soc/amd/yc/acp6x-mach.c | 7 + sound/soc/codecs/cs35l56-sdw.c | 27 +- sound/soc/codecs/cs35l56-shared.c | 38 +++ sound/soc/codecs/cs35l56.c | 17 ++ sound/soc/codecs/cs35l56.h | 1 + sound/soc/codecs/hdac_hda.c | 25 +- sound/soc/codecs/tas2770.c | 14 +- sound/soc/qcom/qdsp6/q6apm.c | 6 +- sound/soc/qcom/qdsp6/q6prm.c | 3 + sound/soc/sof/intel/hda-codec.c | 23 +- sound/soc/sof/intel/hda-sdw-bpt.c | 6 + sound/usb/bcd2000/bcd2000.c | 20 +- sound/usb/caiaq/input.c | 2 + sound/usb/line6/capture.c | 29 +++ sound/usb/midi.c | 64 +++-- sound/usb/qcom/qc_audio_offload.c | 7 + sound/usb/usx2y/us122l.c | 27 +- sound/usb/usx2y/usX2Yhwdep.c | 5 + sound/usb/usx2y/usb_stream.c | 9 +- sound/usb/usx2y/usbusx2yaudio.c | 43 +++- tools/perf/tests/tool_pmu.c | 79 ++++++
Quoted 8 lines
tools/perf/util/evsel.c | 30 ++- tools/perf/util/hwmon_pmu.c | 2 +- tools/perf/util/tool_pmu.c | 2 +- .../filesystems/fscontext_ns/fscontext_ns_test.c | 2 +- tools/testing/selftests/net/fib_nexthops.sh | 40 ++- tools/testing/vma/include/dup.h | 2 +- tools/testing/vma/shared.c | 8 +- 470 files changed, 7038 insertions(+), 2625 deletions(-)
Hi, Greg:
7.3.5-rc1 successfully built and booted in my system without any notable regressions.
Distribution: Gentoo Linux
Architecture: x86_64 (ASUS Zenbook UM3504DA)
CPU: AMD Ryzen 7 7735U
iGPU: AMD Radeon 680M
[ 0.000000] Linux version 7.3.5-rc1-900-myllvm+
(user1@gentoo-zenbook) (clang version 23.1.5, LLD 23.1.5) #2 SMP PREEMPT_DYNAMIC Sat Nov 14 11:48:10 KST 2026
Best,
Joungmin
Quoted 8 lines · On Fri, 13 Nov 2026 10:45:04 -0500 Greg Kroah-Hartman…
This is the start of the stable review cycle for the 7.3.5 release. There are 507 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 Sun, 15 Nov 2026 15:36:17 +0000. Anything received after that time might be too late.
Boot-tested under QEMU for Rust x86_64, arm64 and riscv64; built-tested for loongarch64 and arm32:
Thanks!
Cheers,
Miguel
Am 13.11.2026 um 16:45 schrieb Greg Kroah-Hartman:
Quoted 4 lines
This is the start of the stable review cycle for the 7.3.5 release. There are 507 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.
Builds, boots and works on my 2-socket Ivy Bridge Xeon E5-2697v2 server. No dmesg oddities or regressions found.
Beste Grüße,
Peter Schneider
Signature · 8 lines
Climb the mountain not to plant your flag, but to embrace the challenge, enjoy the air and behold the view. Climb it so you can see the world, not so the world can see you. -- David McCullough Jr. OpenPGP: 0xA3828BD796CCE11A8CADE8866E3A92C92C3FF244 Download: https://www.peters-netzplatz.de/download/pschneider1968_pub.asc https://keys.mailvelope.com/pks/lookup?op=get&[email protected] https://keys.mailvelope.com/pks/lookup?op=get&[email protected]
Quoted 4 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 7.3.5 release. There are 507 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.
Built, booted, and tested on hardware for x86_64:
- AMD Ryzen 9 5900X, Nvidia RTX 3080 (nouveau)
No regressions found.
Thanks!
Sean
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 7.3.5 release. There are 507 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 Sun, 15 Nov 2026 15:36:17 +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/v7.x/stable-review/patch-7.3.5-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-7.3.y
and the diffstat can be found below.thanks,
greg k-h
I took 7.3.4 and applied the stable-queue as of commit 3b8ff7f280433e6fb085dbc4f44ac6a138f352a0 ("fixes for all trees"). So, equivalent to taking 7.3.5-rc1 and doing the two mm reverts.
Tested on 2 amd64 systems and an arm64 virtual machine. Working well, no regressions observed.
Signature · 1 line
-Barry K. Nathan <[email protected]>
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 7.3.5 release. There are 507 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 Sun, 15 Nov 2026 15:36:17 +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/v7.x/stable-review/patch-7.3.5-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-7.3.y
and the diffstat can be found below.thanks,
greg k-h
Built and booted successfully on RISC-V RV64 (HiFive Unmatched).
Hi!
Quoted 4 lines
This is the start of the stable review cycle for the 7.3.5 release. There are 507 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.
We get build errors here:
236
19:06:22
CC arch/arm/kernel/asm-offsets.s
237
19:06:23
In file included from arch/arm/kernel/asm-offsets.c:12:
238
19:06:23./include/linux/mmap_lock.h: In function 'vma_end_write_all':
239
19:06:23./include/linux/mmap_lock.h:604:25: error: 'struct mm_struct' has no member named 'mm_lock_seq' 240
19:06:23
604 | if (unlikely(!mm->mm_lock_seq.sequence))
241
19:06:23
| ^~
242
19:06:23./include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
243
19:06:23
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
244
19:06:23
| ^
245
19:06:23
make[2]: *** [scripts/Makefile.build:185:arch/arm/kernel/asm-offsets.s] Error 1
https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/pipelines/3065943408
Best regards,
Pavel