6.1.16-rc1 review
Subsystems (18)
Greg Kroah-Hartman
maintainerPATCH 1/885 HID: asus: use spinlock to protect concurrent accesses
In reply to Greg Kroah-HartmanFrom: Pietro Borrello <[email protected]>
commit 315c537068a13f0b5681d33dd045a912f4bece6f upstream.
asus driver has a worker that may access data concurrently. Proct the accesses using a spinlock.
--- drivers/hid/hid-asus.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-)
drivers/hid/hid-asus.c +21 -1
@@ -98,6 +98,7 @@ struct asus_kbd_leds {struct hid_device *hdev;struct work_struct work;unsigned int brightness; +spinlock_t lock;bool removed; };
@@ -495,7 +496,12 @@ static void asus_kbd_backlight_set(struc { struct asus_kbd_leds *led = container_of(led_cdev, struct asus_kbd_leds, cdev); +unsigned long flags; + +spin_lock_irqsave (&led->lock, flags); led->brightness = brightness; +spin_unlock_irqrestore (&led->lock, flags); +schedule_work (&led->work); }
@@ -503,8 +509,14 @@ static enum led_brightness asus_kbd_back { struct asus_kbd_leds *led = container_of(led_cdev, struct asus_kbd_leds, cdev); +enum led_brightness brightness; +unsigned long flags; -return led->brightness; +spin_lock_irqsave (&led->lock, flags); + brightness = led->brightness; +spin_unlock_irqrestore (&led->lock, flags); + +return brightness; }static void asus_kbd_backlight_work (struct work_struct *work)
@@ -512,11 +524,14 @@ static void asus_kbd_backlight_work(stru struct asus_kbd_leds *led = container_of(work, struct asus_kbd_leds, work);u8 buf[] = {FEATURE_KBD_REPORT_ID ,0xba ,0xc5 ,0xc4 ,0x00 };int ret; +unsigned long flags;if (led->removed)return ; +spin_lock_irqsave (&led->lock, flags); buf[4 ] = led->brightness; +spin_unlock_irqrestore (&led->lock, flags); ret =asus_kbd_set_report (led->hdev, buf,sizeof (buf));if (ret <0 )
@@ -584,6 +599,7 @@ static int asus_kbd_register_leds(struct drvdata->kbd_backlight->cdev.brightness_set = asus_kbd_backlight_set; drvdata->kbd_backlight->cdev.brightness_get = asus_kbd_backlight_get;INIT_WORK (&drvdata->kbd_backlight->work, asus_kbd_backlight_work); +spin_lock_init (&drvdata->kbd_backlight->lock); ret =devm_led_classdev_register (&hdev->dev, &drvdata->kbd_backlight->cdev);if (ret <0 ) {
@@ -1119,9 +1135,13 @@ err_stop_hw:static void asus_remove (struct hid_device *hdev) {struct asus_drvdata *drvdata =hid_get_drvdata (hdev); +unsigned long flags;if (drvdata->kbd_backlight) { +spin_lock_irqsave (&drvdata->kbd_backlight->lock, flags); drvdata->kbd_backlight->removed = true; +spin_unlock_irqrestore (&drvdata->kbd_backlight->lock, flags); +cancel_work_sync (&drvdata->kbd_backlight->work); }
Greg Kroah-Hartman
maintainerPATCH 10/885 arm64: dts: qcom: sm6125: Reorder HSUSB PHY clocks to match bindings
In reply to Greg Kroah-HartmanFrom: Marijn Suijten <[email protected]>
[ Upstream commit 8416262b0ea46d84767141b074748f4d4f37736a ]
Reorder the clocks and corresponding names to match the QUSB2 phy schema, fixing the following CHECK_DTBS errors:
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dtb: phy@1613000: clock-names:0: 'cfg_ahb' was expected
From schema: /newdata/aosp-r/kernel/mainline/kernel/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dtb: phy@1613000: clock-names:1: 'ref' was expected
From schema: /newdata/aosp-r/kernel/mainline/kernel/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml
--- arch/arm64/boot/dts/qcom/sm6125.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/sm6125.dtsi +3 -3
@@ -442,9 +442,9 @@ hsusb_phy1: phy@1613000 { reg = <0x01613000 0x180>; #phy-cells = <0>; - clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, - <&gcc GCC_AHB2PHY_USB_CLK>; - clock-names = "ref", "cfg_ahb"; + clocks = <&gcc GCC_AHB2PHY_USB_CLK>, + <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names = "cfg_ahb", "ref"; resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; status = "disabled";
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 2/885 HID: asus: use spinlock to safely schedule workers
In reply to Greg Kroah-HartmanFrom: Pietro Borrello <[email protected]>
commit 4ab3a086d10eeec1424f2e8a968827a6336203df upstream.
Use spinlocks to deal with workers introducing a wrapper asus_schedule_work(), and several spinlock checks. Otherwise, asus_kbd_backlight_set() may schedule led->work after the structure has been freed, causing a use-after-free.
--- drivers/hid/hid-asus.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-)
drivers/hid/hid-asus.c +11 -4
@@ -491,6 +491,16 @@ static int rog_nkey_led_init(struct hid_return ret; } +static void asus_schedule_work (struct asus_kbd_leds *led) +{ +unsigned long flags; + +spin_lock_irqsave (&led->lock, flags); +if (!led->removed) +schedule_work (&led->work); +spin_unlock_irqrestore (&led->lock, flags); +} +static void asus_kbd_backlight_set (struct led_classdev *led_cdev,enum led_brightness brightness) {
@@ -502,7 +512,7 @@ static void asus_kbd_backlight_set(struc led->brightness = brightness;spin_unlock_irqrestore (&led->lock, flags); -schedule_work (&led->work); +asus_schedule_work (led); }static enum led_brightness asus_kbd_backlight_get (struct led_classdev *led_cdev)
@@ -526,9 +536,6 @@ static void asus_kbd_backlight_work(struint ret;unsigned long flags; -if (led->removed) -return ; -spin_lock_irqsave (&led->lock, flags); buf[4 ] = led->brightness;spin_unlock_irqrestore (&led->lock, flags);
Greg Kroah-Hartman
maintainerPATCH 3/885 powerpc/mm: Rearrange if-else block to avoid clang warning
In reply to Greg Kroah-HartmanFrom: Anders Roxell <[email protected]>
commit d78c8e32890ef7eca79ffd67c96022c7f9d8cce4 upstream.
Clang warns:
arch/powerpc/mm/book3s64/radix_tlb.c:1191:23: error: variable 'hstart' is uninitialized when used here
__tlbiel_va_range(hstart, hend, pid,
^~~~~~
arch/powerpc/mm/book3s64/radix_tlb.c:1191:31: error: variable 'hend' is uninitialized when used here
__tlbiel_va_range(hstart, hend, pid,
^~~~
Rework the 'if (IS_ENABLE(CONFIG_TRANSPARENT_HUGEPAGE))' so hstart/hend is always initialized to silence the warnings. That will also simplify the 'else' path. Clang is getting confused with these warnings, but the warnings is a false-positive.
--- arch/powerpc/mm/book3s64/radix_tlb.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-)
arch/powerpc/mm/book3s64/radix_tlb.c +4 -7
@@ -1179,15 +1179,12 @@ static inline void __radix__flush_tlb_ra } } }else { -bool hflush = false; +bool hflush;unsigned long hstart, hend; -if (IS_ENABLED (CONFIG_TRANSPARENT_HUGEPAGE )) { - hstart = (start +PMD_SIZE -1 ) &PMD_MASK ; - hend = end &PMD_MASK ; -if (hstart < hend) - hflush = true; - } + hstart = (start +PMD_SIZE -1 ) &PMD_MASK ; + hend = end &PMD_MASK ; + hflush =IS_ENABLED (CONFIG_TRANSPARENT_HUGEPAGE ) && hstart < hend;if (type ==FLUSH_TYPE_LOCAL ) { asmvolatile ("ptesync" : : :"memory" );
Greg Kroah-Hartman
maintainerPATCH 4/885 ata: ahci: Revert "ata: ahci: Add Tiger Lake UP{3,4} AHCI controller"
In reply to Greg Kroah-HartmanFrom: Damien Le Moal <[email protected]>
commit 6210038aeaf49c395c2da57572246d93ec67f6d4 upstream.
Commit 104ff59af73a ("ata: ahci: Add Tiger Lake UP{3,4} AHCI controller") enabled low power mode for the Tiger Lake AHIC adapter in the author system but created regressions for others. Revert this patch for now until a better solution is found to make this adapter eco-friendly.
--- drivers/ata/ahci.c | 1 - 1 file changed, 1 deletion(-)
drivers/ata/ahci.c +0 -1
@@ -422,7 +422,6 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(INTEL, 0x34d3), board_ahci_low_power }, /* Ice Lake LP AHCI */ { PCI_VDEVICE(INTEL, 0x02d3), board_ahci_low_power }, /* Comet Lake PCH-U AHCI */ { PCI_VDEVICE(INTEL, 0x02d7), board_ahci_low_power }, /* Comet Lake PCH RAID */ - { PCI_VDEVICE(INTEL, 0xa0d3), board_ahci_low_power }, /* Tiger Lake UP{3,4} AHCI *//* JMicron 360/1/3/5/6, match class to avoid IDE function */ { PCI_VENDOR_ID_JMICRON, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
Greg Kroah-Hartman
maintainerPATCH 5/885 ARM: OMAP2+: Fix memory leak in realtime_counter_init()
In reply to Greg Kroah-HartmanFrom: Chen Hui <[email protected]>
[ Upstream commit ed8167cbf65c2b6ff6faeb0f96ded4d6d581e1ac ]
The "sys_clk" resource is malloced by clk_get(),
it is not released when the function return.
Message-Id: <[email protected]>
--- arch/arm/mach-omap2/timer.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/timer.c +1 -0
@@ -76,6 +76,7 @@ static void __init realtime_counter_init(void) } rate =clk_get_rate (sys_clk); +clk_put (sys_clk);if (soc_is_dra7xx ()) {/*
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 6/885 arm64: dts: qcom: qcs404: use symbol names for PCIe resets
In reply to Greg Kroah-HartmanFrom: Dmitry Baryshkov <[email protected]>
[ Upstream commit 41a37d157a613444c97e8f71a5fb2a21116b70d7 ]
The commit e5bbbff5b7d7 ("clk: gcc-qcs404: Add PCIe resets") added names for PCIe resets, but it did not change the existing qcs404.dtsi to use these names. Do it now and use symbol names to make it easier to check and modify the dtsi in future.
--- arch/arm64/boot/dts/qcom/qcs404.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/qcom/qcs404.dtsi +6 -6
@@ -792,7 +792,7 @@ pcie_phy: phy@7786000 { clocks = <&gcc GCC_PCIE_0_PIPE_CLK>; resets = <&gcc GCC_PCIEPHY_0_PHY_BCR>, - <&gcc 21>; + <&gcc GCC_PCIE_0_PIPE_ARES>; reset-names = "phy", "pipe"; clock-output-names = "pcie_0_pipe_clk";
@@ -1322,12 +1322,12 @@ pcie: pci@10000000 { <&gcc GCC_PCIE_0_SLV_AXI_CLK>; clock-names = "iface", "aux", "master_bus", "slave_bus"; - resets = <&gcc 18>, - <&gcc 17>, - <&gcc 15>, - <&gcc 19>, + resets = <&gcc GCC_PCIE_0_AXI_MASTER_ARES>, + <&gcc GCC_PCIE_0_AXI_SLAVE_ARES>, + <&gcc GCC_PCIE_0_AXI_MASTER_STICKY_ARES>, + <&gcc GCC_PCIE_0_CORE_STICKY_ARES>, <&gcc GCC_PCIE_0_BCR>, - <&gcc 16>; + <&gcc GCC_PCIE_0_AHB_ARES>; reset-names = "axi_m", "axi_s", "axi_m_sticky",
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 7/885 arm64: dts: qcom: msm8996-tone: Fix USB taking 6 minutes to wake up
In reply to Greg Kroah-HartmanFrom: Konrad Dybcio <[email protected]>
[ Upstream commit 43069b9cd358aebc692e654de91ee06ff66e26af ]
The hardware turns out to be pretty sluggish at assuming it can only do USB2 with just a USB2 phy assigned to it - before it needed about 6 minutes to acknowledge that.
Limit it to USB-HS explicitly to make USB come up about 720x faster.
--- arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi +1 -4
@@ -944,10 +944,6 @@ touch_int_sleep: touch-int-sleep { }; }; -/* - * For reasons that are currently unknown (but probably related to fusb301), USB takes about - * 6 minutes to wake up (nothing interesting in kernel logs), but then it works as it should. - */ &usb3 { status = "okay"; qcom,select-utmi-as-pipe-clk;
@@ -956,6 +952,7 @@ &usb3 { &usb3_dwc3 { extcon = <&usb3_id>; dr_mode = "peripheral"; + maximum-speed = "high-speed"; phys = <&hsusb_phy1>; phy-names = "usb2-phy"; snps,hird-threshold = /bits/ 8 <0>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 8/885 arm64: dts: qcom: sm8150-kumano: Panel framebuffer is 2.5k instead of 4k
In reply to Greg Kroah-HartmanFrom: Marijn Suijten <[email protected]>
[ Upstream commit be8de06dc397c45cb0f3fe04084089c3f06c419f ]
The framebuffer configuration for kumano griffin, written in kumano dtsi (which is overwritten in bahamut dts for its smaller panel) has to use a 1096x2560 configuration as this is what the panel (and framebuffer area) has been initialized to. Downstream userspace also has access to (and uses) this 2.5k mode by default, and only switches the panel to 4k when requested.
--- arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi +4 -3
@@ -33,9 +33,10 @@ chosen { framebuffer: framebuffer@9c000000 { compatible = "simple-framebuffer"; reg = <0 0x9c000000 0 0x2300000>; - width = <1644>; - height = <3840>; - stride = <(1644 * 4)>; + /* Griffin BL initializes in 2.5k mode, not 4k */ + width = <1096>; + height = <2560>; + stride = <(1096 * 4)>; format = "a8r8g8b8"; /* * That's (going to be) a lot of clocks, but it's necessary due
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 9/885 arm64: dts: qcom: sm6350: Fix up the ramoops node
In reply to Greg Kroah-HartmanFrom: Konrad Dybcio <[email protected]>
[ Upstream commit 3b2ff50da499178cc418f4b319e279d1b52958ed ]
Fix up the ramoops node to make it match bindings and style:
- remove "removed-dma-pool"
- don't pad size to 8 hex digits
- change cc-size to ecc-size so that it's used
- increase ecc-size from to 16
- remove the zeroed ftrace-size
--- arch/arm64/boot/dts/qcom/sm6350.dtsi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/qcom/sm6350.dtsi +3 -4
@@ -342,13 +342,12 @@ last_log_region: memory@ffbc0000 { }; ramoops: ramoops@ffc00000 { - compatible = "removed-dma-pool", "ramoops"; - reg = <0 0xffc00000 0 0x00100000>; + compatible = "ramoops"; + reg = <0 0xffc00000 0 0x100000>; record-size = <0x1000>; console-size = <0x40000>; - ftrace-size = <0x0>; msg-size = <0x20000 0x20000>; - cc-size = <0x0>; + ecc-size = <16>; no-map; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainercover 6.1.16-rc1 review
This is the start of the stable review cycle for the 6.1.16 release. There are 885 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 Thu, 09 Mar 2023 16:57:34 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.16-rc1.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <[email protected]>
Linux 6.1.16-rc1
Jani Nikula <[email protected]>
drm/edid: fix parsing of 3D modes from HDMI VSDB
Jani Nikula <[email protected]>
drm/edid: fix AVI infoframe aspect ratio handling
Noralf Trønnes <[email protected]>
drm/gud: Fix UBSAN warning
John Harrison <[email protected]>
drm/i915: Don't use BAR mappings for ring buffers with LLC
John Harrison <[email protected]>
drm/i915: Don't use stolen memory for ring buffers with LLC
Mark Hawrylak <[email protected]>
drm/radeon: Fix eDP for single-display iMac11,2
Mavroudis Chatzilaridis <[email protected]>
drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv
Mario Limonciello <[email protected]>
drm/amd: Fix initialization for nbio 7.5.1
Steve Sistare <[email protected]>
vfio/type1: restore locked_vm
Steve Sistare <[email protected]>
vfio/type1: track locked_vm per dma
Steve Sistare <[email protected]>
vfio/type1: prevent underflow of locked_vm via exec()
Steve Sistare <[email protected]>
vfio/type1: exclude mdevs from VFIO_UPDATE_VADDR
Jacob Pan <[email protected]>
iommu/vt-d: Fix PASID directory pointer coherency
Jacob Pan <[email protected]>
iommu/vt-d: Avoid superfluous IOTLB tracking in lazy mode
Manivannan Sadhasivam <[email protected]>
bus: mhi: ep: Save channel state locally during suspend and resume
Manivannan Sadhasivam <[email protected]>
bus: mhi: ep: Move chan->lock to the start of processing queued ch ring
Manivannan Sadhasivam <[email protected]>
bus: mhi: ep: Only send -ENOTCONN status if client driver is available
Lukas Wunner <[email protected]>
PCI/DPC: Await readiness of secondary bus after reset
Damien Le Moal <[email protected]>
PCI: Avoid FLR for AMD FCH AHCI adapters
Lukas Wunner <[email protected]>
PCI: hotplug: Allow marking devices as disconnected during bind/unbind
Lukas Wunner <[email protected]>
PCI: Unify delay handling for reset and resume
Lukas Wunner <[email protected]>
PCI/PM: Observe reset delay irrespective of bridge_d3
H. Nikolaus Schaller <[email protected]>
MIPS: DTS: CI20: fix otg power gpio
Guo Ren <[email protected]>
riscv: ftrace: Reduce the detour code size to half
Guo Ren <[email protected]>
riscv: ftrace: Remove wasted nops for !RISCV_ISA_C
Björn Töpel <[email protected]>
riscv, mm: Perform BPF exhandler fixup on page fault
Andy Chiu <[email protected]>
riscv: jump_label: Fixup unaligned arch_static_branch function
Sergey Matyukevich <[email protected]>
riscv: mm: fix regression due to update_mmu_cache change
Mattias Nissler <[email protected]>
riscv: Avoid enabling interrupts in die()
Conor Dooley <[email protected]>
RISC-V: add a spin_shadow_stack declaration
Tomas Henzl <[email protected]>
scsi: ses: Fix slab-out-of-bounds in ses_intf_remove()
Tomas Henzl <[email protected]>
scsi: ses: Fix possible desc_ptr out-of-bounds accesses
Tomas Henzl <[email protected]>
scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses
Tomas Henzl <[email protected]>
scsi: ses: Fix slab-out-of-bounds in ses_enclosure_data_process()
James Bottomley <[email protected]>
scsi: ses: Don't attach if enclosure has no components
Saurav Kashyap <[email protected]>
scsi: qla2xxx: Remove increment of interface err cnt
Quinn Tran <[email protected]>
scsi: qla2xxx: Fix erroneous link down
Quinn Tran <[email protected]>
scsi: qla2xxx: Remove unintended flag clearing
Arun Easi <[email protected]>
scsi: qla2xxx: Fix DMA-API call trace on NVMe LS requests
Shreyas Deodhar <[email protected]>
scsi: qla2xxx: Check if port is online before sending ELS
Quinn Tran <[email protected]>
scsi: qla2xxx: Fix link failure in NPIV environment
Bart Van Assche <[email protected]>
scsi: core: Remove the /proc/scsi/${proc_name} directory earlierKees Cook <[email protected]>
scsi: aacraid: Allocate cmd_priv with scsicmd
Vasant Hegde <[email protected]>
iommu/amd: Improve page fault error reporting
Gavrilov Ilia <[email protected]>
iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
Masami Hiramatsu (Google) <[email protected]>
tracing/eprobe: Fix to add filter on eprobe description in README file
Antonio Alvarez Feijoo <[email protected]>
tools/bootconfig: fix single & used for logical condition
Mukesh Ojha <[email protected]>
ring-buffer: Handle race between rb_move_tail and rb_check_pages
Tong Tiangen <[email protected]>
memory tier: release the new_memtier in find_create_memory_tier()
Steven Rostedt <[email protected]>
ktest.pl: Add RUN_TIMEOUT option with default unlimited
Steven Rostedt <[email protected]>
ktest.pl: Fix missing "end_monitor" when machine check fails
Masami Hiramatsu (Google) <[email protected]>
kprobes: Fix to handle forcibly unoptimized kprobes on freeing_list
Steven Rostedt <[email protected]>
ktest.pl: Give back console on Ctrt^C on monitor
Yin Fengwei <[email protected]>
mm/thp: check and bail out if page in deferred queue already
Johannes Weiner <[email protected]>
mm: memcontrol: deprecate charge moving
John Ogness <[email protected]>
docs: gdbmacros: print newest record
Chen-Yu Tsai <[email protected]>
remoteproc/mtk_scp: Move clk ops outside send_lock
Sakari Ailus <[email protected]>
media: ipu3-cio2: Fix PM runtime usage_count in driver unbind
Elvira Khabirova <[email protected]>
mips: fix syscall_get_nr
Dan Williams <[email protected]>
dax/kmem: Fix leak of memory-hotplug resources
Al Viro <[email protected]>
alpha: fix FEN fault handling
Naoya Horiguchi <[email protected]>
mm/hwpoison: convert TTU_IGNORE_HWPOISON to TTU_HWPOISON
Guilherme G. Piccoli <[email protected]>
panic: fix the panic_print NMI backtrace setting
Matthias Kaehlcke <[email protected]>
regulator: core: Use ktime_get_boottime() to determine how long a regulator was off
Xiubo Li <[email protected]>
ceph: update the time stamps and try to drop the suid/sgid
Ilya Dryomov <[email protected]>
rbd: avoid use-after-free in do_rbd_add() when rbd_dev_create() fails
Alexander Mikhalitsyn <[email protected]>
fuse: add inode/permission checks to fileattr_get/fileattr_set
Catalin Marinas <[email protected]>
arm64: mm: hugetlb: Disable HUGETLB_PAGE_OPTIMIZE_VMEMMAP
Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct TMU phandle in Odroid HC1
Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct TMU phandle in Odroid XU
Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct TMU phandle in Exynos5250
Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct TMU phandle in Odroid XU3 family
Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct TMU phandle in Exynos4
Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct TMU phandle in Exynos4210
Manivannan Sadhasivam <[email protected]>
ARM: dts: qcom: sdx55: Add Qcom SMMU-500 as the fallback for IOMMU node
Manivannan Sadhasivam <[email protected]>
ARM: dts: qcom: sdx65: Add Qcom SMMU-500 as the fallback for IOMMU node
Zev Weiss <[email protected]>
hwmon: (nct6775) Fix incorrect parenthesization in nct6775_write_fan_div()
Zev Weiss <[email protected]>
hwmon: (peci/cputemp) Fix off-by-one in coretemp_label allocation
Mikulas Patocka <[email protected]>
dm flakey: fix a bug with 32-bit highmem systems
Mikulas Patocka <[email protected]>
dm flakey: don't corrupt the zero page
Joe Thornber <[email protected]>
dm cache: free background tracker's queued work in btracker_destroy
Mikulas Patocka <[email protected]>
dm flakey: fix logic when corrupting a bio
Srinivas Pandruvada <[email protected]>
thermal: intel: powerclamp: Fix cur_state for multi package system
Manish Chopra <[email protected]>
qede: fix interrupt coalescing configuration
Arnd Bergmann <[email protected]>
cpuidle: add ARCH_SUSPEND_POSSIBLE dependencies
Marc Bornand <[email protected]>
wifi: cfg80211: Set SSID if it is not already set
Alexander Wetzel <[email protected]>
wifi: cfg80211: Fix use after free for wext
Len Brown <[email protected]>
wifi: ath11k: allow system suspend to survive ath11k
Bitterblue Smith <[email protected]>
wifi: rtl8xxxu: Use a longer retry limit of 48
Ping-Ke Shih <[email protected]>
wifi: rtw88: use RTW_FLAG_POWERON flag to prevent to power on/off twice
Mike Snitzer <[email protected]>
dm: add cond_resched() to dm_wq_requeue_work()
Pingfan Liu <[email protected]>
dm: add cond_resched() to dm_wq_work()
Mikulas Patocka <[email protected]>
dm: send just one event on resize, not two
Louis Rannou <[email protected]>
mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type
Tudor Ambarus <[email protected]>
mtd: spi-nor: spansion: Consider reserved bits in CFR5 register
Takahiro Kuwano <[email protected]>
mtd: spi-nor: sfdp: Fix index value for SCCR dwords
Dan Williams <[email protected]>
cxl/pmem: Fix nvdimm registration races
Jan Kara <[email protected]>
ext4: Fix possible corruption when moving a directory
Jun Nie <[email protected]>
ext4: refuse to create ea block when umounted
Jun Nie <[email protected]>
ext4: optimize ea_inode block expansion
Zhihao Cheng <[email protected]>
jbd2: fix data missing when reusing bh which is ready to be checkpointed
Łukasz Stelmach <[email protected]>
ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC
Dmitry Fomin <[email protected]>
ALSA: ice1712: Do not left ice->gpio_mutex locked in aureon_add_controls()
andrew.yang <[email protected]>
mm/damon/paddr: fix missing folio_put()
Giovanni Cabiddu <[email protected]>
crypto: qat - fix out-of-bounds read
Marc Zyngier <[email protected]>
irqdomain: Fix domain registration race
Johan Hovold <[email protected]>
irqdomain: Fix mapping-creation race
Johan Hovold <[email protected]>
irqdomain: Refactor __irq_domain_alloc_irqs()
Johan Hovold <[email protected]>
irqdomain: Drop bogus fwspec-mapping error handling
Johan Hovold <[email protected]>
irqdomain: Look for existing mapping only once
Johan Hovold <[email protected]>
irqdomain: Fix disassociation race
Johan Hovold <[email protected]>
irqdomain: Fix association race
Mathieu Desnoyers <[email protected]>
selftests: seccomp: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: vm: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: dmabuf-heaps: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: drivers: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: futex: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: ipc: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: perf_events: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: mount_setattr: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: move_mount_set_group: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: rseq: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: sync: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: ptp: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: user_events: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: filesystems: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: gpio: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: media_tests: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: kcmp: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: membarrier: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: pidfd: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: clone3: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: arm64: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: pid_namespace: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: core: Fix incorrect kernel headers search path
Mathieu Desnoyers <[email protected]>
selftests: sched: Fix incorrect kernel headers search path
Masami Hiramatsu (Google) <[email protected]>
selftests/ftrace: Fix eprobe syntax test case to check filter support
Mathieu Desnoyers <[email protected]>
selftests/powerpc: Fix incorrect kernel headers search path
Pali Rohár <[email protected]>
powerpc/boot: Don't always pass -mcpu=powerpc when building 32-bit uImage
Roberto Sassu <[email protected]>
ima: Align ima_file_mmap() parameters with mmap_file LSM hook
Matt Bobrowski <[email protected]>
ima: fix error handling logic when file measurement failed
Jens Axboe <[email protected]>
brd: check for REQ_NOWAIT and set correct page allocation mask
Jens Axboe <[email protected]>
brd: return 0/-error from brd_insert_page()
Jens Axboe <[email protected]>
brd: mark as nowait compatible
Tom Lendacky <[email protected]>
virt/sev-guest: Return -EIO if certificate buffer is not large enough
KP Singh <[email protected]>
Documentation/hw-vuln: Document the interaction between IBRS and STIBP
KP Singh <[email protected]>
x86/speculation: Allow enabling STIBP with legacy IBRS
Borislav Petkov (AMD) <[email protected]>
x86/microcode/AMD: Fix mixed steppings support
Borislav Petkov (AMD) <[email protected]>
x86/microcode/AMD: Add a @cpu parameter to the reloading functions
Borislav Petkov (AMD) <[email protected]>
x86/microcode/amd: Remove load_microcode_amd()'s bsp parameter
Yang Jihong <[email protected]>
x86/kprobes: Fix arch_check_optimized_kprobe check within optimized_kprobe range
Yang Jihong <[email protected]>
x86/kprobes: Fix __recover_optprobed_insn check optimizing logic
Sean Christopherson <[email protected]>
x86/reboot: Disable SVM, not just VMX, when stopping CPUs
Sean Christopherson <[email protected]>
x86/reboot: Disable virtualization in an emergency if SVM is supported
Sean Christopherson <[email protected]>
x86/crash: Disable virt in core NMI crash handler to avoid double shootdown
Sean Christopherson <[email protected]>
x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)
Mathieu Desnoyers <[email protected]>
selftests: x86: Fix incorrect kernel headers search path
Randy Dunlap <[email protected]>
KVM: SVM: hyper-v: placate modpost section mismatch error
Peter Gonda <[email protected]>
KVM: SVM: Fix potential overflow in SEV's send|receive_update_data()
Sean Christopherson <[email protected]>
KVM: x86: Inject #GP on x2APIC WRMSR that sets reserved bits 63:32
Sean Christopherson <[email protected]>
KVM: x86: Inject #GP if WRMSR sets reserved bits in APIC Self-IPI
Sean Christopherson <[email protected]>
KVM: SVM: Don't put/load AVIC when setting virtual APIC mode
Sean Christopherson <[email protected]>
KVM: SVM: Process ICR on AVIC IPI delivery failure due to invalid target
Sean Christopherson <[email protected]>
KVM: SVM: Flush the "current" TLB when activating AVIC
Sean Christopherson <[email protected]>
KVM: x86: Don't inhibit APICv/AVIC if xAPIC ID mismatch is due to 32-bit ID
Sean Christopherson <[email protected]>
KVM: x86: Don't inhibit APICv/AVIC on xAPIC ID "change" if APIC is disabled
Sean Christopherson <[email protected]>
KVM: x86: Blindly get current x2APIC reg value on "nodecode write" traps
Sean Christopherson <[email protected]>
KVM: x86: Purge "highest ISR" cache when updating APICv state
Sean Christopherson <[email protected]>
KVM: Register /dev/kvm as the _very_ last thing during initialization
Alexandru Matei <[email protected]>
KVM: VMX: Fix crash due to uninitialized current_vmcs
Sean Christopherson <[email protected]>
KVM: Destroy target device if coalesced MMIO unregistration fails
Bernard Metzler <[email protected]>
RDMA/siw: Fix user page pinning accounting
Hou Tao <[email protected]>
md: don't update recovery_cp when curr_resync is ACTIVE
Jan Kara <[email protected]>
udf: Fix file corruption when appending just after end of preallocated extent
Jan Kara <[email protected]>
udf: Detect system inodes linked into directory hierarchy
Jan Kara <[email protected]>
udf: Preserve link count of system files
Jan Kara <[email protected]>
udf: Do not update file length for failed writes to inline files
Jan Kara <[email protected]>
udf: Do not bother merging very long extents
Jan Kara <[email protected]>
udf: Truncate added extents on failed expansion
Jeff Xu <[email protected]>
selftests/landlock: Test ptrace as much as possible with Yama
Jeff Xu <[email protected]>
selftests/landlock: Skip overlayfs tests when not supported
Andrew Morton <[email protected]>
fs/cramfs/inode.c: initialize file_ra_state
Heming Zhao via Ocfs2-devel <[email protected]>
ocfs2: fix non-auto defrag path not working issue
Heming Zhao via Ocfs2-devel <[email protected]>
ocfs2: fix defrag path triggering jbd2 ASSERT
Jaegeuk Kim <[email protected]>
f2fs: fix kernel crash due to null io->bio
Eric Biggers <[email protected]>
f2fs: fix cgroup writeback accounting with fs-layer encryption
Jaegeuk Kim <[email protected]>
f2fs: retry to update the inode page given data corruption
Eric Biggers <[email protected]>
f2fs: fix information leak in f2fs_move_inline_dirents()
Alexander Aring <[email protected]>
fs: dlm: send FIN ack back in right cases
Alexander Aring <[email protected]>
fs: dlm: move sending fin message into state change handling
Alexander Aring <[email protected]>
fs: dlm: don't set stop rx flag after node reset
Yuezhang Mo <[email protected]>
exfat: fix inode->i_blocks for non-512 byte sector size device
Sungjong Seo <[email protected]>
exfat: redefine DIR_DELETED as the bad cluster number
Yuezhang Mo <[email protected]>
exfat: fix unexpected EOF while reading dir
Yuezhang Mo <[email protected]>
exfat: fix reporting fs error when reading dir beyond EOF
Dongliang Mu <[email protected]>
fs: hfsplus: fix UAF issue in hfsplus_put_super
Liu Shixin <[email protected]>
hfs: fix missing hfs_bnode_get() in __hfs_bnode_create
Jens Axboe <[email protected]>
io_uring: mark task TASK_RUNNING before handling resume/task work
Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct HDMI phy compatible in Exynos4
Joel Fernandes (Google) <[email protected]>
torture: Fix hang during kthread shutdown phase
Hangyu Hua <[email protected]>
ksmbd: fix possible memory leak in smb2_lock()
Namjae Jeon <[email protected]>
ksmbd: do not allow the actual frame length to be smaller than the rfc1002 length
Namjae Jeon <[email protected]>
ksmbd: fix wrong data area length for smb2 lock request
Waiman Long <[email protected]>
locking/rwsem: Prevent non-first waiter from spinning in down_write() slowpath
Boris Burkov <[email protected]>
btrfs: hold block group refcount during async discard
Shin'ichiro Kawasaki <[email protected]>
scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
Shin'ichiro Kawasaki <[email protected]>
scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
Shin'ichiro Kawasaki <[email protected]>
scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
Ronnie Sahlberg <[email protected]>
cifs: return a single-use cfid if we did not get a lease
Ronnie Sahlberg <[email protected]>
cifs: Check the lease context if we actually got a lease
Stefan Metzmacher <[email protected]>
cifs: don't try to use rdma offload on encrypted connections
Stefan Metzmacher <[email protected]>
cifs: split out smb3_use_rdma_offload() helper
Stefan Metzmacher <[email protected]>
cifs: introduce cifs_io_parms in smb2_async_writev()
Paulo Alcantara <[email protected]>
cifs: fix mount on old smb servers
Volker Lendecke <[email protected]>
cifs: Fix uninitialized memory reads for oparms.mode
Volker Lendecke <[email protected]>
cifs: Fix uninitialized memory read in smb3_qfs_tcon()
Nico Boehr <[email protected]>
KVM: s390: disable migration mode when dirty tracking is disabled
Vasily Gorbik <[email protected]>
s390/kprobes: fix current_kprobe never cleared after kprobes reenter
Vasily Gorbik <[email protected]>
s390/kprobes: fix irq mask clobbering on kprobe reenter from post_handler
Ilya Leoshkevich <[email protected]>
s390: discard .interp section
Gerald Schaefer <[email protected]>
s390/extmem: return correct segment type in __segment_load()
Joseph Qi <[email protected]>
io_uring: fix fget leak when fs don't support nowait buffered read
David Lamparter <[email protected]>
io_uring: remove MSG_NOSIGNAL from recvmsg
Pavel Begunkov <[email protected]>
io_uring/rsrc: disallow multi-source reg buffers
Jens Axboe <[email protected]>
io_uring: add reschedule point to handle_tw_list()
Jens Axboe <[email protected]>
io_uring: add a conditional reschedule to the IOPOLL cancelation loop
Jens Axboe <[email protected]>
io_uring: handle TIF_NOTIFY_RESUME when checking for task_work
Pavel Begunkov <[email protected]>
io_uring: use user visible tail in io_uring_poll()
Kees Cook <[email protected]>
io_uring: Replace 0-length array with flexible array
Corey Minyard <[email protected]>
ipmi_ssif: Rename idle state and check
Corey Minyard <[email protected]>
ipmi:ssif: resend_msg() cannot fail
Christophe JAILLET <[email protected]>
ipmi: ipmb: Fix the MODULE_PARM_DESC associated to 'retry_time_ms'
Johan Hovold <[email protected]>
rtc: pm8xxx: fix set-alarm race
Jens Axboe <[email protected]>
block: be a bit more careful in checking for NULL bdev while polling
Jens Axboe <[email protected]>
block: clear bio->bi_bdev when putting a bio back in the cache
Jens Axboe <[email protected]>
block: don't allow multiple bios for IOCB_NOWAIT issue
Alper Nebi Yasak <[email protected]>
firmware: coreboot: framebuffer: Ignore reserved pixel color bits
Sreekanth Reddy <[email protected]>
scsi: mpt3sas: Remove usage of dma_get_required_mask() API
Jun ASAKA <[email protected]>
wifi: rtl8xxxu: fixing transmisison failure for rtl8192eu
Saravana Kannan <[email protected]>
driver core: fw_devlink: Avoid spurious error message
Asahi Lina <[email protected]>
drm/shmem-helper: Revert accidental non-GPL export
Paulo Alcantara <[email protected]>
cifs: prevent data race in smb2_reconnect()
Jeff Layton <[email protected]>
nfsd: don't hand out delegation on setuid files being opened for write
Jeff Layton <[email protected]>
nfsd: zero out pointers after putting nfsd_files on COPY setup error
Mike Snitzer <[email protected]>
dm cache: add cond_resched() to various workqueue loops
Mike Snitzer <[email protected]>
dm thin: add cond_resched() to various workqueue loops
Nicholas Kazlauskas <[email protected]>
drm/amd/display: Disable HUBP/DPP PG on DCN314 for now
Darrell Kavanagh <[email protected]>
drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5
Nicholas Kazlauskas <[email protected]>
drm/amd/display: Enable P-state validation checks for DCN314
Bastien Nocera <[email protected]>
HID: logitech-hidpp: Don't restart communication if not necessary
Mason Zhang <[email protected]>
scsi: ufs: core: Fix device management cmd timeout flow
Greg Kroah-Hartman <[email protected]>
scsi: snic: Fix memory leak with using debugfs_lookup()
Wesley Chalmers <[email protected]>
drm/amd/display: Do not commit pipe when updating DRR
Claudiu Beznea <[email protected]>
pinctrl: at91: use devm_kasprintf() to avoid potential leaks
Denis Pauk <[email protected]>
hwmon: (nct6775) B650/B660/X670 ASUS boards support
Denis Pauk <[email protected]>
hwmon: (nct6775) Directly call ASUS ACPI WMI method
Robin Murphy <[email protected]>
hwmon: (coretemp) Simplify platform device handling
Andreas Gruenbacher <[email protected]>
gfs2: Improve gfs2_make_fs_rw error handling
Vladimir Stempen <[email protected]>
drm/amd/display: fix FCLK pstate change underflow
Vitaly Prosyak <[email protected]>
Revert "drm/amdgpu: TA unload messages are not actually sent to psp when amdgpu is uninstalled"
Kees Cook <[email protected]>
regulator: s5m8767: Bounds check id indexing into arrays
Kees Cook <[email protected]>
regulator: max77802: Bounds check regulator id against opmode
Kees Cook <[email protected]>
ASoC: kirkwood: Iterate over array indexes instead of using pointer math
강신형 <[email protected]>
ASoC: soc-compress: Reposition and add pcm_mutex
Marijn Suijten <[email protected]>
drm/msm/dpu: Add DSC hardware blocks to register snapshot
Jakob Koschel <[email protected]>
docs/scripts/gdb: add necessary make scripts_gdb step
farah kassabri <[email protected]>
habanalabs: fix bug in timestamps registration code
Moti Haimovski <[email protected]>
habanalabs: extend fatal messages to contain PCI info
Roman Li <[email protected]>
drm/amd/display: Set hvm_enabled flag for S/G mode
Wayne Lin <[email protected]>
drm/drm_print: correct format problem
Tomi Valkeinen <[email protected]>
drm: rcar-du: Fix setting a reserved bit in DPLLCR
Tomi Valkeinen <[email protected]>
drm: rcar-du: Add quirk for H3 ES1.x pclk workaround
Jiasheng Jiang <[email protected]>
drm/msm/dsi: Add missing check for alloc_ordered_workqueue
José Expósito <[email protected]>
HID: uclogic: Add support for XP-PEN Deco Pro MW
José Expósito <[email protected]>
HID: uclogic: Add support for XP-PEN Deco Pro SW
José Expósito <[email protected]>
HID: uclogic: Add battery quirk
José Expósito <[email protected]>
HID: uclogic: Add frame type quirk
Brandon Syu <[email protected]>
drm/amd/display: fix mapping to non-allocated address
Konstantin Meskhidze <[email protected]>
drm: amd: display: Fix memory leakage
Mario Limonciello <[email protected]>
drm/amd: Avoid ASSERT for some message failures
Thomas Zimmermann <[email protected]>
Revert "fbcon: don't lose the console font across generic->chip driver switch"
Justin Tee <[email protected]>
scsi: lpfc: Fix use-after-free KFENCE violation during sysfs firmware write
Philip Yang <[email protected]>
drm/amdkfd: Page aligned memory reserve size
Mario Limonciello <[email protected]>
drm/amd: Avoid BUG() for case of SRIOV missing IP version
Liwei Song <[email protected]>
drm/radeon: free iio for atombios when driver shutdown
Nicholas Kazlauskas <[email protected]>
drm/amd/display: Defer DIG FIFO disable after VID stream enable
Carlo Caione <[email protected]>
drm/tiny: ili9486: Do not assume 8-bit only SPI controllers
Jingyuan Liang <[email protected]>
HID: Add Mapping for System Microphone Mute
Tomi Valkeinen <[email protected]>
drm/omap: dsi: Fix excessive stack usage
Roman Li <[email protected]>
drm/amd/display: Fix potential null-deref in dm_resume
Ian Chen <[email protected]>
drm/amd/display: Revert Reduce delay when sink device not able to ACK 00340h write
Dillon Varone <[email protected]>
drm/amd/display: Reduce expected sdp bandwidth for dcn321
Allen Ballway <[email protected]>
drm: panel-orientation-quirks: Add quirk for DynaBook K50
Hans de Goede <[email protected]>
drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Tab 3 X90F
Eric Dumazet <[email protected]>
scm: add user copy checks to put_cmsg()
Moshe Shemesh <[email protected]>
devlink: Fix TP_STRUCT_entry in trace of devlink health report
Heiko Carstens <[email protected]>
s390/kfence: fix page fault reporting
Michael Kelley <[email protected]>
hv_netvsc: Check status in SEND_RNDIS_PKT completion message
Zong-Zhe Yang <[email protected]>
wifi: rtw89: debug: avoid invalid access on RTW89_DBG_SEL_MAC_30
Moises Cardona <[email protected]>
Bluetooth: btusb: Add VID:PID 13d3:3529 for Realtek RTL8821CE
Mario Limonciello <[email protected]>
Bluetooth: btusb: Add new PID/VID 0489:e0f2 for MT7921
Marcel Holtmann <[email protected]>
Bluetooth: Fix issue with Actions Semi ATS2851 based devices
Greg Kroah-Hartman <[email protected]>
PM: EM: fix memory leak with using debugfs_lookup()
Greg Kroah-Hartman <[email protected]>
PM: domains: fix memory leak with using debugfs_lookup()
Greg Kroah-Hartman <[email protected]>
time/debug: Fix memory leak with using debugfs_lookup()
Heiko Carstens <[email protected]>
s390/idle: mark arch_cpu_idle() noinstr
Kees Cook <[email protected]>
uaccess: Add minimum bounds check on kernel buffer size
Kees Cook <[email protected]>
coda: Avoid partial allocation of sig_inputArgs
Shay Drory <[email protected]>
net/mlx5: fw_tracer: Fix debug print
Hans de Goede <[email protected]>
ACPI: video: Fix Lenovo Ideapad Z570 DMI match
Lorenzo Bianconi <[email protected]>
wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup
Zhang Rui <[email protected]>
tools/power/x86/intel-speed-select: Add Emerald Rapid quirk
Sam James <[email protected]>
gcc-plugins: drop -std=gnu++11 to fix GCC 13 build
Oliver Hartkopp <[email protected]>
can: isotp: check CAN address family in isotp_bind()
Alok Tiwari <[email protected]>
netfilter: nf_tables: NULL pointer dereference in nf_tables_updobj()
Vasily Gorbik <[email protected]>
s390/mm,ptdump: avoid Kasan vs Memcpy Real markers swapping
Michael Schmitz <[email protected]>
m68k: Check syscall_trace_enter() return code
Florian Fainelli <[email protected]>
net: bcmgenet: Add a check for oversized packets
Kees Cook <[email protected]>
crypto: hisilicon: Wipe entire pool on error
Feng Tang <[email protected]>
clocksource: Suspend the watchdog temporarily when high read latency detected
Tim Zimmermann <[email protected]>
thermal: intel: intel_pch: Add support for Wellsburg PCH
Dave Thaler <[email protected]>
bpf, docs: Fix modulo zero, division by zero, overflow, and underflow
Mark Rutland <[email protected]>
ACPI: Don't build ACPICA with '-Os'
Jesse Brandeburg <[email protected]>
ice: add missing checks for PF vsi type
Siddaraju DH <[email protected]>
ice: restrict PTP HW clock freq adjustments to 100, 000, 000 PPB
Pietro Borrello <[email protected]>
inet: fix fast path in __inet_hash_connect()
Jisoo Jang <[email protected]>
wifi: mt7601u: fix an integer underflow
Jisoo Jang <[email protected]>
wifi: brcmfmac: ensure CLM version is null-terminated to prevent stack-out-of-bounds
Holger Hoffstätte <[email protected]>
bpftool: Always disable stack protection for BPF objects
Breno Leitao <[email protected]>
x86/bugs: Reset speculation control settings on init
Jann Horn <[email protected]>
timers: Prevent union confusion from unexpected restart_syscall()
Yang Li <[email protected]>
thermal: intel: Fix unsigned comparison with less than zero
Kalle Valo <[email protected]>
wifi: ath11k: debugfs: fix to work with multiple PCI devices
Zqiang <[email protected]>
rcu-tasks: Handle queue-shrink/callback-enqueue race condition
Zqiang <[email protected]>
rcu-tasks: Make rude RCU-Tasks work well with CPU hotplug
Pingfan Liu <[email protected]>
srcu: Delegate work to the boot cpu if using SRCU_SIZE_SMALL
Paul E. McKenney <[email protected]>
rcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait()
Paul E. McKenney <[email protected]>
rcu: Make RCU_LOCKDEP_WARN() avoid early lockdep checks
Jisoo Jang <[email protected]>
wifi: brcmfmac: Fix potential stack-out-of-bounds in brcmf_c_preinit_dcmds()
Nagarajan Maran <[email protected]>
wifi: ath11k: fix monitor mode bringup crash
Minsuk Kang <[email protected]>
wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect()
Kan Liang <[email protected]>
perf/x86/intel/uncore: Add Meteor Lake support
Peter Zijlstra <[email protected]>
cpuidle: lib/bug: Disable rcu_is_watching() during WARN/BUG
Mark Rutland <[email protected]>
cpuidle: drivers: firmware: psci: Dont instrument suspend code
Jens Axboe <[email protected]>
x86/fpu: Don't set TIF_NEED_FPU_LOAD for PF_IO_WORKER threads
Peter Zijlstra <[email protected]>
cpuidle, intel_idle: Fix CPUIDLE_FLAG_INIT_XSTATE
Michael Grzeschik <[email protected]>
arm64: zynqmp: Enable hs termination flag for USB dwc3 controller
Qu Wenruo <[email protected]>
btrfs: scrub: improve tree block error reporting
Greg Kroah-Hartman <[email protected]>
trace/blktrace: fix memory leak with using debugfs_lookup()
Yu Kuai <[email protected]>
blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn() and blkcg_deactivate_policy()
Yu Kuai <[email protected]>
blk-cgroup: dropping parent refcount after pd_free_fn() is done
Li Nan <[email protected]>
blk-iocost: fix divide by 0 error in calc_lcoefs()
Jann Horn <[email protected]>
fs: Use CHECK_DATA_CORRUPTION() when kernel bugs are detected
Markuss Broks <[email protected]>
ARM: dts: exynos: Use Exynos5420 compatible for the MIPI video phy
Nicholas Piggin <[email protected]>
exit: Detect and fix irq disabled state in oops
Peter Zijlstra <[email protected]>
context_tracking: Fix noinstr vs KASAN
Jan Kara <[email protected]>
udf: Define EFSCORRUPTED error code
Konrad Dybcio <[email protected]>
arm64: dts: qcom: msm8996: Add additional A2NoC clocks
Liang He <[email protected]>
ARM: OMAP2+: omap4-common: Fix refcount leak bug
Bjorn Andersson <[email protected]>
rpmsg: glink: Release driver_override
Bjorn Andersson <[email protected]>
rpmsg: glink: Avoid infinite loop on intent for missing channel
Tasos Sahanidis <[email protected]>
media: saa7134: Use video_unregister_device for radio_dev
Duoming Zhou <[email protected]>
media: usb: siano: Fix use after free bugs caused by do_submit_urb
Hans Verkuil <[email protected]>
media: i2c: ov7670: 0 instead of -EINVAL was returned
Hans de Goede <[email protected]>
media: atomisp: Only set default_run_mode on first open of a stream/asd
Duoming Zhou <[email protected]>
media: rc: Fix use-after-free bugs caused by ene_tx_irqsim()
Dong Chuanjian <[email protected]>
media: drivers/media/v4l2-core/v4l2-h264 : add detection of null pointers
Ming Qian <[email protected]>
media: amphion: correct the unspecified color space
Ming Qian <[email protected]>
media: imx-jpeg: Apply clk_bulk api instead of operating specific clk
Nicolas Dufresne <[email protected]>
media: hantro: Fix JPEG encoder ENUM_FRMSIZE on RK3399
Ming Qian <[email protected]>
media: v4l2-jpeg: ignore the unknown APP14 marker
Ming Qian <[email protected]>
media: v4l2-jpeg: correct the skip count in jpeg_parse_app14_data
Arnd Bergmann <[email protected]>
media: platform: mtk-mdp3: fix Kconfig dependencies
Moudy Ho <[email protected]>
media: platform: mtk-mdp3: remove unused VIDEO_MEDIATEK_VPU config
Arnd Bergmann <[email protected]>
media: camss: csiphy-3ph: avoid undefined behavior
Qiheng Lin <[email protected]>
media: platform: mtk-mdp3: Fix return value check in mdp_probe()
Jai Luthra <[email protected]>
media: i2c: imx219: Fix binning for RAW8 capture
Adam Ford <[email protected]>
media: i2c: imx219: Split common registers from mode tables
Yuan Can <[email protected]>
media: i2c: ov772x: Fix memleak in ov772x_probe()
Laurent Pinchart <[email protected]>
media: mc: Get media_device directly from pad
Jai Luthra <[email protected]>
media: ov5640: Handle delays when no reset_gpio set
Jai Luthra <[email protected]>
media: ov5640: Fix soft reset sequence and timings
Shang XiaoJing <[email protected]>
media: ov5675: Fix memleak in ov5675_init_controls()
Shang XiaoJing <[email protected]>
media: ov2740: Fix memleak in ov2740_init_controls()
Shang XiaoJing <[email protected]>
media: max9286: Fix memleak in max9286_v4l2_register()
Bastian Germann <[email protected]>
builddeb: clean generated package content
Nathan Chancellor <[email protected]>
s390/vdso: Drop '-shared' from KBUILD_CFLAGS_64
Nathan Chancellor <[email protected]>
powerpc: Remove linker flag from KBUILD_AFLAGS
Yang Yingliang <[email protected]>
media: imx: imx7-media-csi: fix missing clk_disable_unprepare() in imx7_csi_init()
Jiasheng Jiang <[email protected]>
media: platform: ti: Add missing check for devm_regulator_get
Gaosheng Cui <[email protected]>
media: ti: cal: fix possible memory leak in cal_ctx_create()
Sibi Sankar <[email protected]>
remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers
Christoph Hellwig <[email protected]>
Revert "remoteproc: qcom_q6v5_mss: map/unmap metadata region before/after use"
Patrick Kelsey <[email protected]>
IB/hfi1: Fix sdma.h tx->num_descs off-by-one errors
Patrick Kelsey <[email protected]>
IB/hfi1: Fix math bugs in hfi1_can_pin_pages()
Bob Pearson <[email protected]>
RDMA/rxe: Fix missing memory barriers in rxe_queue.h
Yunsheng Lin <[email protected]>
RDMA/rxe: cleanup some error handling in rxe_verbs.c
Tina Zhang <[email protected]>
iommu/vt-d: Allow to use flush-queue when first level is default
Lu Baolu <[email protected]>
iommu/vt-d: Fix error handling in sva enable/disable paths
Eric Pilmore <[email protected]>
dmaengine: ptdma: check for null desc before calling pt_cmd_callback
Kees Cook <[email protected]>
dmaengine: dw-axi-dmac: Do not dereference NULL structure
Shravan Chippa <[email protected]>
dmaengine: sf-pdma: pdma_desc memory leak fix
Vasant Hegde <[email protected]>
iommu/amd: Do not identity map v2 capable device when snp is enabled
Jason Gunthorpe <[email protected]>
iommu: Fix error unwind in iommu_group_alloc()
Dan Carpenter <[email protected]>
iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()
Johan Hovold <[email protected]>
PCI: qcom: Fix host-init error handling
Neill Kapron <[email protected]>
phy: rockchip-typec: fix tcphy_get_mode error case
Geert Uytterhoeven <[email protected]>
PCI: Fix dropping valid root bus resources with .end = zero
Serge Semin <[email protected]>
dmaengine: dw-edma: Fix readq_ch() return value truncation
Alexander Stein <[email protected]>
usb: host: fsl-mph-dr-of: reuse device_set_of_node_from_dev
Saravana Kannan <[email protected]>
mtd: mtdpart: Don't create platform device that'll never probe
Saravana Kannan <[email protected]>
driver core: fw_devlink: Make cycle detection more robust
Saravana Kannan <[email protected]>
driver core: fw_devlink: Improve check for fwnode with no device/driver
Saravana Kannan <[email protected]>
driver core: fw_devlink: Consolidate device link flag computation
Saravana Kannan <[email protected]>
driver core: fw_devlink: Allow marking a fwnode link as being part of a cycle
Saravana Kannan <[email protected]>
driver core: fw_devlink: Don't purge child fwnode's consumer links
Saravana Kannan <[email protected]>
driver core: fw_devlink: Add DL_FLAG_CYCLE support to device links
Peng Fan <[email protected]>
tty: serial: imx: disable Ageing Timer interrupt request irq
Marek Vasut <[email protected]>
tty: serial: imx: Handle RS485 DE signal active high
Shenwei Wang <[email protected]>
serial: fsl_lpuart: fix RS485 RTS polariy inverse issue
Mustafa Ismail <[email protected]>
RDMA/irdma: Cap MSIX used to online CPUs + 1
Mark Tomlinson <[email protected]>
usb: max-3421: Fix setting of I/O pins
Nikita Zhandarovich <[email protected]>
RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish()
Andreas Kemnade <[email protected]>
power: supply: remove faulty cooling logic
Lu Baolu <[email protected]>
iommu/vt-d: Set No Execute Enable bit in PASID table entry
Sven Peter <[email protected]>
iommu/dart: Fix apple_dart_device_group for PCI groups
Hector Martin <[email protected]>
iommu: dart: Support >64 stream IDs
Hector Martin <[email protected]>
iommu: dart: Add suspend/resume support
Sergio Paracuellos <[email protected]>
PCI: mt7621: Delay phy ports initialization
Chunfeng Yun <[email protected]>
phy: mediatek: remove temporary variable @mask_
Udipto Goswami <[email protected]>
usb: gadget: configfs: Restrict symlink creation is UDC already binded
Dan Carpenter <[email protected]>
usb: musb: mediatek: don't unregister something that wasn't registered
Nikita Zhandarovich <[email protected]>
RDMA/cxgb4: add null-ptr-check after ip_dev_find()
Sherry Sun <[email protected]>
tty: serial: fsl_lpuart: Fix the wrong RXWATER setting for rx dma case
Christophe JAILLET <[email protected]>
usb: early: xhci-dbc: Fix a potential out-of-bound memory access
Ivan Bornyakov <[email protected]>
fpga: microchip-spi: rewrite status polling in a time measurable way
Ivan Bornyakov <[email protected]>
fpga: microchip-spi: move SPI I/O buffers out of stack
Serge Semin <[email protected]>
dmaengine: dw-edma: Fix missing src/dst address of interleaved xfers
Fabian Vogt <[email protected]>
fotg210-udc: Add missing completion handler
Chen Zhongjin <[email protected]>
firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle
Yang Yingliang <[email protected]>
drivers: base: transport_class: fix resource leak when transport_add_device() fails
Yang Yingliang <[email protected]>
drivers: base: transport_class: fix possible memory leak
Hanjun Guo <[email protected]>
driver core: location: Free struct acpi_pld_info *pld before return false
Zhengchao Shao <[email protected]>
driver core: fix resource leak in device_add()
Christophe JAILLET <[email protected]>
misc: fastrpc: Fix an error handling path in fastrpc_rpmsg_probe()
Andy Shevchenko <[email protected]>
misc/mei/hdcp: Use correct macros to initialize uuid_le
Andy Shevchenko <[email protected]>
mei: pxp: Use correct macros to initialize uuid_le
George Kennedy <[email protected]>
VMCI: check context->notify_page after call to get_user_pages_fast() to avoid GPF
Yang Yingliang <[email protected]>
firmware: stratix10-svc: fix error handle while alloc/add device failed
Yang Yingliang <[email protected]>
firmware: stratix10-svc: add missing gen_pool_destroy() in stratix10_svc_drv_probe()
Xiongfeng Wang <[email protected]>
applicom: Fix PCI device refcount leak in applicom_init()
Yuan Can <[email protected]>
eeprom: idt_89hpesx: Fix error handling in idt_init()
Duoming Zhou <[email protected]>
Revert "char: pcmcia: cm4000_cs: Replace mdelay with usleep_range in set_protocol"
Yi Yang <[email protected]>
serial: tegra: Add missing clk_disable_unprepare() in tegra_uart_hw_init()
Bartosz Golaszewski <[email protected]>
tty: serial: qcom-geni-serial: stop operations in progress at shutdown
Sherry Sun <[email protected]>
tty: serial: fsl_lpuart: clear LPUART Status Register in lpuart32_shutdown()
Sherry Sun <[email protected]>
tty: serial: fsl_lpuart: disable Rx/Tx DMA in lpuart32_shutdown()
Yicong Yang <[email protected]>
hwtracing: hisi_ptt: Only add the supported devices to the filters list
Yang Yingliang <[email protected]>
PCI: endpoint: pci-epf-vntb: Add epf_ntb_mw_bar_clear() num_mws kernel-doc
Frank Li <[email protected]>
PCI: endpoint: pci-epf-vntb: Clean up kernel_doc warning
Bjorn Helgaas <[email protected]>
PCI: switchtec: Return -EFAULT for copy_to_user() errors
Alexey V. Vissarionov <[email protected]>
PCI/IOV: Enlarge virtfn sysfs name buffer
Andy Shevchenko <[email protected]>
usb: typec: intel_pmc_mux: Don't leak the ACPI device reference count
Mao Jinlong <[email protected]>
coresight: cti: Add PM runtime call in enable_store
James Clark <[email protected]>
coresight: cti: Prevent negative values of enable count
Junhao He <[email protected]>
coresight: etm4x: Fix accesses to TRCSEQRSTEVR and TRCSEQSTR
Ricardo Ribalda <[email protected]>
media: uvcvideo: Refactor power_line_frequency_controls_limited
Ricardo Ribalda <[email protected]>
media: uvcvideo: Refactor uvc_ctrl_mappings_uvcXX
Ricardo Ribalda <[email protected]>
media: uvcvideo: Implement mask for V4L2_CTRL_TYPE_MENU
Hans Verkuil <[email protected]>
media: uvcvideo: Check for INACTIVE in uvc_ctrl_is_accessible()
Al Viro <[email protected]>
alpha/boot/tools/objstrip: fix the check for ELF header
Wang Hai <[email protected]>
kobject: Fix slab-out-of-bounds in fill_kobj_path()
Greg Kroah-Hartman <[email protected]>
kobject: modify kobject_get_path() to take a const *
Yang Yingliang <[email protected]>
driver core: fix potential null-ptr-deref in device_add()
Richard Fitzgerald <[email protected]>
soundwire: cadence: Don't overflow the command FIFOs
Hanna Hawa <[email protected]>
i2c: designware: fix i2c_dw_clk_rate() return size to be u32
Gaosheng Cui <[email protected]>
usb: gadget: fusb300_udc: free irq on the error path in fusb300_probe()
Ferry Toth <[email protected]>
iio: light: tsl2563: Do not hardcode interrupt trigger type
Miaoqian Lin <[email protected]>
RDMA/hns: Fix refcount leak in hns_roce_mmap
Geert Uytterhoeven <[email protected]>
dmaengine: HISI_DMA should depend on ARCH_HISI
Miaoqian Lin <[email protected]>
RDMA/erdma: Fix refcount leak in erdma_mmap
Fenghua Yu <[email protected]>
dmaengine: idxd: Set traffic class values in GRPCFG on DSA 2.0
Qiheng Lin <[email protected]>
mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()
Randy Dunlap <[email protected]>
mfd: cs5535: Don't build on UML
Arnd Bergmann <[email protected]>
objtool: add UACCESS exceptions for __tsan_volatile_read/write
Kajol Jain <[email protected]>
perf tests stat_all_metrics: Change true workload to sleep workload for system wide check
Arnd Bergmann <[email protected]>
printf: fix errname.c list
Yang Jihong <[email protected]>
perf record: Fix segfault with --overwrite and --max-size
Guillaume Tucker <[email protected]>
selftests: use printf instead of echo -ne
Masami Hiramatsu (Google) <[email protected]>
selftests/ftrace: Fix bash specific "==" operator
Guillaume Tucker <[email protected]>
selftests: find echo binary to use -ne options
Randy Dunlap <[email protected]>
sparc: allow PM configs for sparc32 COMPILE_TEST
Yicong Yang <[email protected]>
perf tools: Fix auto-complete on aarch64
Athira Rajeev <[email protected]>
perf test bpf: Skip test if kernel-debuginfo is not present
Namhyung Kim <[email protected]>
perf intel-pt: Do not try to queue auxtrace data on pipe
Namhyung Kim <[email protected]>
perf inject: Use perf_data__read() for auxtrace
Andreas Ziegler <[email protected]>
tools/tracing/rtla: osnoise_hist: use total duration for average calculation
Henning Schild <[email protected]>
leds: simatic-ipc-leds-gpio: Make sure we have the GPIO providing driver
Andy Shevchenko <[email protected]>
leds: is31fl319x: Wrap mutex_destroy() for devm_add_action_or_rest()
Miaoqian Lin <[email protected]>
leds: led-core: Fix refcount leak in of_led_get()
Ian Rogers <[email protected]>
perf llvm: Fix inadvertent file creation
Andreas Gruenbacher <[email protected]>
gfs2: jdata writepage fix
Shyam Prasad N <[email protected]>
cifs: use tcon allocation functions even for dummy tcon
Zhang Xiaoxu <[email protected]>
cifs: Fix warning and UAF when destroy the MR list
Zhang Xiaoxu <[email protected]>
cifs: Fix lost destroy smbd connection when MR allocate failed
Chuck Lever <[email protected]>
NFSD: copy the whole verifier in nfsd_copy_write_verifier
Jeff Layton <[email protected]>
nfsd: don't fsync nfsd_files on last close
Jeff Layton <[email protected]>
nfsd: fix courtesy client with deny mode handling in nfs4_upgrade_open
Dai Ngo <[email protected]>
NFSD: fix problems with cleanup on errors in nfsd4_copy
Jeff Layton <[email protected]>
nfsd: clean up potential nfsd_file refcount leaks in COPY codepath
Benjamin Coddington <[email protected]>
nfsd: fix race to check ls_layouts
Dai Ngo <[email protected]>
NFSD: fix leaked reference count of nfsd4_ssc_umount_item
Dai Ngo <[email protected]>
NFSD: enhance inter-server copy cleanup
Asahi Lina <[email protected]>
drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt()
Orlando Chamberlain <[email protected]>
ALSA: hda/hdmi: Register with vga_switcheroo on Dual GPU Macbooks
Pietro Borrello <[email protected]>
hid: bigben_probe(): validate report count
Pietro Borrello <[email protected]>
HID: bigben: use spinlock to safely schedule workers
Pietro Borrello <[email protected]>
HID: bigben_worker() remove unneeded check on report_field
Pietro Borrello <[email protected]>
HID: bigben: use spinlock to protect concurrent accesses
Lucas Tanure <[email protected]>
ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
Christophe JAILLET <[email protected]>
spi: synquacer: Fix timeout handling in synquacer_spi_transfer_one()
NeilBrown <[email protected]>
NFS: fix disabling of swap
Benjamin Coddington <[email protected]>
nfs4trace: fix state manager flag printing
Mike Snitzer <[email protected]>
dm: remove flush_scheduled_work() during local_exit()
Steffen Aschbacher <[email protected]>
ASoC: tlv320adcx140: fix 'ti,gpio-config' DT property init
Vadim Pasternak <[email protected]>
hwmon: (mlxreg-fan) Return zero speed for broken fan
William Zhang <[email protected]>
spi: bcm63xx-hsspi: Fix multi-bit mode setting
Bastien Nocera <[email protected]>
HID: logitech-hidpp: Hard-code HID++ 1.0 fast scroll support
Hamza Mahfooz <[email protected]>
drm/amd/display: don't call dc_interrupt_set() for disabled crtcs
William Zhang <[email protected]>
spi: bcm63xx-hsspi: Endianness fix for ARM based SoC
Srinivas Kandagatla <[email protected]>
ASoC: codecs: lpass: fix incorrect mclk rate
Srinivas Kandagatla <[email protected]>
ASoC: codecs: lpass: register mclk after runtime pm
Srinivas Kandagatla <[email protected]>
ASoC: qcom: q6apm-dai: Add SNDRV_PCM_INFO_BATCH flag
Srinivas Kandagatla <[email protected]>
ASoC: qcom: q6apm-dai: fix race condition while updating the position pointer
Srinivas Kandagatla <[email protected]>
ASoC: qcom: q6apm-lpass-dai: unprepare stream if its already prepared
Dmitry Torokhov <[email protected]>
HID: retain initial quirks set up when creating HID devices
Allen Ballway <[email protected]>
HID: multitouch: Add quirks for flipped axes
Jiasheng Jiang <[email protected]>
scsi: aic94xx: Add missing check for dma_map_single()
Tomas Henzl <[email protected]>
scsi: mpt3sas: Fix a memory leak
Arnd Bergmann <[email protected]>
drm/amdgpu: fix enum odm_combine_mode mismatch
Jaroslav Kysela <[email protected]>
ALSA: hda: Fix the control element identification for multiple codecs
Jonathan Cormier <[email protected]>
hwmon: (ltc2945) Handle error case in ltc2945_value_store
Eugene Shalygin <[email protected]>
hwmon: (asus-ec-sensors) add missing mutex path
Jerome Neanne <[email protected]>
regulator: tps65219: use generic set_bypass()
Jerome Brunet <[email protected]>
ASoC: dt-bindings: meson: fix gx-card codec node regex
Nathan Chancellor <[email protected]>
ASoC: mchp-spdifrx: Fix uninitialized use of mr in mchp_spdifrx_hw_params()
Kuninori Morimoto <[email protected]>
ASoC: rsnd: fixup #endif position
Daniel Golle <[email protected]>
regmap: apply reg_base and reg_downshift for single register ops
Mike Snitzer <[email protected]>
dm: improve shrinker debug names
Claudiu Beznea <[email protected]>
ASoC: mchp-spdifrx: disable all interrupts in mchp_spdifrx_dai_remove()
Claudiu Beznea <[email protected]>
ASoC: mchp-spdifrx: fix controls that works with completion mechanism
Claudiu Beznea <[email protected]>
ASoC: mchp-spdifrx: fix return value in case completion times out
Claudiu Beznea <[email protected]>
ASoC: mchp-spdifrx: fix controls which rely on rsr register
Arnd Bergmann <[email protected]>
spi: dw_bt1: fix MUX_MMIO dependencies
Amadeusz Sławiński <[email protected]>
ASoC: topology: Properly access value coming from topology file
Haibo Chen <[email protected]>
gpio: vf610: connect GPIO label to dev name
Allen-KH Cheng <[email protected]>
dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr
Kuninori Morimoto <[email protected]>
ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress()
Nícolas F. R. A. Prado <[email protected]>
drm/mediatek: Clean dangling pointer on bind error path
ruanjinjie <[email protected]>
drm/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc
Rob Clark <[email protected]>
drm/mediatek: Drop unbalanced obj unref
Miles Chen <[email protected]>
drm/mediatek: Use NULL instead of 0 for NULL pointer
Xinlei Lee <[email protected]>
drm/mediatek: dsi: Reduce the time of dsi from LP11 to sending cmd
Dmitry Baryshkov <[email protected]>
drm/msm/dpu: set pdpu->is_rt_pipe early in dpu_plane_sspp_atomic_update()
Lad Prabhakar <[email protected]>
pinctrl: renesas: rzg2l: Fix configuring the GPIO pins as interrupts
Mikko Perttunen <[email protected]>
drm/tegra: firewall: Check for is_addr_reg existence in IMM check
Mikko Perttunen <[email protected]>
gpu: host1x: Don't skip assigning syncpoints to channels
Mikko Perttunen <[email protected]>
gpu: host1x: Fix mask for syncpoint increment register
Guodong Liu <[email protected]>
pinctrl: mediatek: Initialize variable *buf to zero
Guodong Liu <[email protected]>
pinctrl: mediatek: Initialize variable pullen and pullup to zero
Andy Shevchenko <[email protected]>
pinctrl: bcm2835: Remove of_node_put() in bcm2835_of_gpio_ranges_fallback()
farah kassabri <[email protected]>
habanalabs: bugs fixes in timestamps buff alloc
Jiasheng Jiang <[email protected]>
drm/msm/mdp5: Add check for kzalloc
Jiasheng Jiang <[email protected]>
drm/msm/dpu: Add check for pstates
Jiasheng Jiang <[email protected]>
drm/msm/dpu: Add check for cstate
Dmitry Baryshkov <[email protected]>
drm/msm: use strscpy instead of strncpy
Dmitry Baryshkov <[email protected]>
drm/msm/dpu: sc7180: add missing WB2 clock control
Bart Van Assche <[email protected]>
scsi: ufs: exynos: Fix DMA alignment for PAGE_SIZE != 4096
Konrad Dybcio <[email protected]>
drm/msm/dsi: Allow 2 CTRLs on v2.5.0
Jagan Teki <[email protected]>
drm: exynos: dsi: Fix MIPI_DSI*_NO_* mode flags
Daniel Mentz <[email protected]>
drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness
Randy Dunlap <[email protected]>
regulator: tps65219: use IS_ERR() to detect an error pointer
Dmitry Baryshkov <[email protected]>
drm/bridge: lt9611: pass a pointer to the of node
Dmitry Baryshkov <[email protected]>
drm/bridge: lt9611: fix clock calculation
Dmitry Baryshkov <[email protected]>
drm/bridge: lt9611: fix programming of video modes
Dmitry Baryshkov <[email protected]>
drm/bridge: lt9611: fix polarity programming
Dmitry Baryshkov <[email protected]>
drm/bridge: lt9611: fix HPD reenablement
Dmitry Baryshkov <[email protected]>
drm/bridge: lt9611: fix sleep mode setup
Marijn Suijten <[email protected]>
drm/msm/dpu: Disallow unallocated resources to be returned
Jiasheng Jiang <[email protected]>
drm/msm/gem: Add check for kmalloc
Leo Liu <[email protected]>
drm/amdgpu: Use the sched from entity for amdgpu_cs trace
Alexey V. Vissarionov <[email protected]>
ALSA: hda/ca0132: minor fix for allocation size
Akhil P Oommen <[email protected]>
drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()
Marek Vasut <[email protected]>
drm/bridge: tc358767: Set default CLRSIPO count
Shengjiu Wang <[email protected]>
ASoC: fsl_sai: initialize is_dsp_mode flag
Quinn Tran <[email protected]>
scsi: qla2xxx: edif: Fix clang warning
Quinn Tran <[email protected]>
scsi: qla2xxx: Fix exchange oversubscription for management commands
Quinn Tran <[email protected]>
scsi: qla2xxx: Fix exchange oversubscription
Abel Vesa <[email protected]>
drm/panel-edp: fix name for IVO product id 854b
Dmitry Baryshkov <[email protected]>
drm/msm: clean event_thread->worker in case of an error
Dave Stevenson <[email protected]>
drm/vc4: hdmi: Correct interlaced timings again
Dave Stevenson <[email protected]>
drm/vc4: hvs: Fix colour order for xRGB1555 on HVS5
Dave Stevenson <[email protected]>
drm/vc4: hvs: Correct interrupt masking bit assignment for HVS5
Dave Stevenson <[email protected]>
drm/vc4: hvs: SCALER_DISPBKGND_AUTOHS is only valid on HVS4
Dave Stevenson <[email protected]>
drm/vc4: hvs: Set AXI panic modes
Miaoqian Lin <[email protected]>
pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups
Miaoqian Lin <[email protected]>
pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
Adam Skladowski <[email protected]>
pinctrl: qcom: pinctrl-msm8976: Correct function names for wcss pins
Jiasheng Jiang <[email protected]>
drm/msm/hdmi: Add missing check for alloc_ordered_workqueue
Hui Tang <[email protected]>
drm/msm/dpu: check for null return of devm_kzalloc() in dpu_writeback_init()
Armin Wolf <[email protected]>
hwmon: (ftsteutates) Fix scaling of measurements
Maíra Canal <[email protected]>
drm/vc4: drop all currently held locks if deadlock happens
Liang He <[email protected]>
gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id()
Randolph Sapp <[email protected]>
drm: tidss: Fix pixel format definition
Dave Stevenson <[email protected]>
drm/vc4: dpi: Fix format mapping for RGB565
Yuan Can <[email protected]>
drm/vkms: Fix null-ptr-deref in vkms_release()
Yuan Can <[email protected]>
drm/vkms: Fix memory leak in vkms_init()
Yuan Can <[email protected]>
drm/bridge: megachips: Fix error handling in i2c_register_driver()
Geert Uytterhoeven <[email protected]>
drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC
Geert Uytterhoeven <[email protected]>
drm: mxsfb: DRM_IMX_LCDIF should depend on ARCH_MXC
Frieder Schrempf <[email protected]>
drm/bridge: ti-sn65dsi83: Fix delay after reset deassert to match spec
Geert Uytterhoeven <[email protected]>
drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats
Shang XiaoJing <[email protected]>
drm: Fix potential null-ptr-deref due to drmm_mode_config_init()
Jiri Pirko <[email protected]>
sefltests: netdevsim: wait for devlink instance after netns removal
Roxana Nicolescu <[email protected]>
selftest: fib_tests: Always cleanup before exit
Kees Cook <[email protected]>
net/mlx4_en: Introduce flexible array to silence overflow warning
Horatiu Vultur <[email protected]>
net: lan966x: Fix possible deadlock inside PTP
Doug Berger <[email protected]>
net: bcmgenet: fix MoCA LED control
Shigeru Yoshida <[email protected]>
l2tp: Avoid possible recursive deadlock in l2tp_tunnel_register()
Jakub Sitnicki <[email protected]>
selftests/net: Interpret UDP_GRO cmsg data as an int value
D. Wythe <[email protected]>
net/smc: fix application data exception
D. Wythe <[email protected]>
net/smc: fix potential panic dues to unprotected smc_llc_srv_add_link()
Florian Fainelli <[email protected]>
irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts
Florian Fainelli <[email protected]>
irqchip/irq-brcmstb-l2: Set IRQ_LEVEL for level triggered interrupts
Andrii Nakryiko <[email protected]>
bpf: Fix global subprog context argument resolution logic
Hengqi Chen <[email protected]>
LoongArch, bpf: Use 4 instructions for function address in JIT
Maciej Fijalkowski <[email protected]>
xsk: check IFF_UP earlier in Tx path
Frank Jungclaus <[email protected]>
can: esd_usb: Make use of can_change_state() and relocate checking skb for NULL
Frank Jungclaus <[email protected]>
can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus error
Ilya Leoshkevich <[email protected]>
selftests/bpf: Fix xdp_do_redirect on s390x
Hou Tao <[email protected]>
bpf: Zeroing allocated object from slab in bpf memory allocator
Johannes Berg <[email protected]>
wifi: mac80211: pass 'sta' to ieee80211_rx_data_set_sta()
Alexei Starovoitov <[email protected]>
selftests/bpf: Fix map_kptr test.
Yongqin Liu <[email protected]>
thermal/drivers/hisi: Drop second sensor hi3660
Vincent Guittot <[email protected]>
tools/lib/thermal: Fix thermal_sampling_exit()
Johannes Berg <[email protected]>
wifi: mac80211: fix off-by-one link setting
Arnd Bergmann <[email protected]>
wifi: mac80211: avoid u32_encode_bits() warning
Andrei Otcheretianski <[email protected]>
wifi: mac80211: Don't translate MLD addresses for multicast
Karthikeyan Periyasamy <[email protected]>
wifi: mac80211: fix non-MLO station association
Shayne Chen <[email protected]>
wifi: mac80211: make rate u32 in sta_set_rate_info_rx()
Lorenzo Bianconi <[email protected]>
wifi: mac80211: move color collision detection report in a delayed work
Herbert Xu <[email protected]>
crypto: crypto4xx - Call dma_unmap_page when done
Alexander Lobakin <[email protected]>
crypto: octeontx2 - Fix objects shared between several modules
Werner Sembach <[email protected]>
ACPI: resource: Do IRQ override on all TongFang GMxRGxx
Adam Niederer <[email protected]>
ACPI: resource: Add IRQ overrides for MAINGEAR Vector Pro 2 models
Ilya Leoshkevich <[email protected]>
selftests/bpf: Fix out-of-srctree build
Dan Carpenter <[email protected]>
wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize()
Jiasheng Jiang <[email protected]>
wifi: iwl4965: Add missing check for create_singlethread_workqueue()
Jiasheng Jiang <[email protected]>
wifi: iwl3945: Add missing check for create_singlethread_workqueue
Matt Evans <[email protected]>
clocksource/drivers/riscv: Patch riscv_clock_next_event() jump before first use
Conor Dooley <[email protected]>
RISC-V: time: initialize hrtimer based broadcast clock event device
Randy Dunlap <[email protected]>
m68k: /proc/hardware should depend on PROC_FS
Herbert Xu <[email protected]>
crypto: rsa-pkcs1pad - Use akcipher_request_complete
Pietro Borrello <[email protected]>
rds: rds_rm_zerocopy_callback() correct order for list_add_tail()
Oleksandr Tyshchenko <[email protected]>
xen/grant-dma-iommu: Implement a dummy probe_device() callback
Ilya Leoshkevich <[email protected]>
libbpf: Fix alen calculation in libbpf_nla_dump_errormsg()
Halil Pasic <[email protected]>
s390/ap: fix status returned by ap_qact()
Halil Pasic <[email protected]>
s390/ap: fix status returned by ap_aqic()
Halil Pasic <[email protected]>
s390: vfio-ap: tighten the NIB validity check
Alex Elder <[email protected]>
net: ipa: generic command param fix
Zhengping Jiang <[email protected]>
Bluetooth: hci_qca: get wakeup status from serdev device handle
Luiz Augusto von Dentz <[email protected]>
Bluetooth: L2CAP: Fix potential user-after-free
Kees Cook <[email protected]>
Bluetooth: hci_conn: Refactor hci_bind_bis() since it always succeeds
Uwe Kleine-König <[email protected]>
cpufreq: davinci: Fix clk use after free
Qi Zheng <[email protected]>
OPP: fix error checking in opp_migrate_dentry()
Pietro Borrello <[email protected]>
tap: tap_open(): correctly initialize socket uid
Pietro Borrello <[email protected]>
tun: tun_chr_open(): correctly initialize socket uid
Pietro Borrello <[email protected]>
net: add sock_init_data_uid()
Vasily Gorbik <[email protected]>
s390/boot: fix mem_detect extended area allocation
Vasily Gorbik <[email protected]>
s390/mem_detect: rely on diag260() if sclp_early_get_memsize() fails
Alexander Gordeev <[email protected]>
s390/boot: cleanup decompressor header files
Vasily Gorbik <[email protected]>
s390/vmem: fix empty page tables cleanup under KASAN
Vasily Gorbik <[email protected]>
s390/mem_detect: fix detect_memory() error handling
Miaoqian Lin <[email protected]>
irqchip/ti-sci: Fix refcount leak in ti_sci_intr_irq_domain_probe
Miaoqian Lin <[email protected]>
irqchip/irq-mvebu-gicp: Fix refcount leak in mvebu_gicp_probe
Miaoqian Lin <[email protected]>
irqchip/alpine-msi: Fix refcount leak in alpine_msix_init_domains
Miaoqian Lin <[email protected]>
irqchip: Fix refcount leak in platform_irqchip_probe
Jack Morgenstein <[email protected]>
net/mlx5: Enhance debug print in page allocation failure
Aaron Ma <[email protected]>
wifi: mt76: mt7921: fix error code of return in mt7921_acpi_read
Deren Wu <[email protected]>
wifi: mt76: add memory barrier to SDIO queue kick
Ryder Lee <[email protected]>
wifi: mt76: mt7915: fix WED TxS reporting
Lorenzo Bianconi <[email protected]>
wifi: mt76: mt7915: fix memory leak in mt7915_mcu_exit
Howard Hsu <[email protected]>
wifi: mt76: mt7915: call mt7915_mcu_set_thermal_throttling() only after init_work
Tonghao Zhang <[email protected]>
bpftool: profile online CPUs instead of possible
Tom Lendacky <[email protected]>
crypto: ccp - Flush the SEV-ES TMR memory before giving it to firmware
Ilya Leoshkevich <[email protected]>
selftests/bpf: Initialize tc in xdp_synproxy
Geert Uytterhoeven <[email protected]>
can: rcar_canfd: Fix R-Car V3U GAFLCFG field accesses
Mark Brown <[email protected]>
kselftest/arm64: Fix enumeration of systems without 128 bit SME
Gregory Greenman <[email protected]>
wifi: iwlwifi: mei: fix compilation errors in rfkill()
Ilya Leoshkevich <[email protected]>
s390/bpf: Add expoline to tail calls
Hans de Goede <[email protected]>
leds: led-class: Add missing put_device() to led_put()
Herbert Xu <[email protected]>
crypto: xts - Handle EBUSY correctly
Daniel T. Lee <[email protected]>
selftests/bpf: Fix vmtest static compilation error
Artem Savkov <[email protected]>
selftests/bpf: Use consistent build-id type for liburandom_read.so
Ashok Raj <[email protected]>
x86/microcode: Adjust late loading result reporting message
Ashok Raj <[email protected]>
x86/microcode: Check CPU capabilities after late microcode update correctly
Ashok Raj <[email protected]>
x86/microcode: Add a parameter to microcode_check() to store CPU capabilities
Yang Yingliang <[email protected]>
powercap: fix possible name leak in powercap_register_zone()
Herbert Xu <[email protected]>
crypto: seqiv - Handle EBUSY correctly
Herbert Xu <[email protected]>
crypto: essiv - Handle EBUSY correctly
Koba Ko <[email protected]>
crypto: ccp - Failure on re-initialization due to duplicate sysfs filename
Tiezhu Yang <[email protected]>
selftests/bpf: Fix build errors if CONFIG_NF_CONNTRACK=m
Armin Wolf <[email protected]>
ACPI: battery: Fix missing NUL-termination with large strings
Shivani Baranwal <[email protected]>
wifi: cfg80211: Fix extended KCK key length check in nl80211_set_rekey_data()
Miaoqian Lin <[email protected]>
wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup
Minsuk Kang <[email protected]>
wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()
Fedor Pchelkin <[email protected]>
wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails
Fedor Pchelkin <[email protected]>
wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function
Viorel Suman <[email protected]>
thermal/drivers/imx_sc_thermal: Fix the loop condition
Uwe Kleine-König <[email protected]>
thermal/drivers/imx_sc_thermal: Drop empty platform remove function
Alexey Kodanev <[email protected]>
wifi: orinoco: check return value of hermes_write_wordrec()
Bitterblue Smith <[email protected]>
wifi: rtl8xxxu: Fix memory leaks with RTL8723BU, RTL8192EU
Jiasheng Jiang <[email protected]>
wifi: rtw89: Add missing check for alloc_workqueue
Zong-Zhe Yang <[email protected]>
wifi: rtw89: fix potential leak in rtw89_append_probe_req_ie()
Dmitry Baryshkov <[email protected]>
thermal/drivers/tsens: limit num_sensors to 9 for msm8939
Dmitry Baryshkov <[email protected]>
thermal/drivers/tsens: fix slope values for msm8939
Dmitry Baryshkov <[email protected]>
thermal/drivers/tsens: Sort out msm8976 vs msm8956 data
Dmitry Baryshkov <[email protected]>
thermal/drivers/tsens: Drop msm8976-specific defines
Christophe JAILLET <[email protected]>
x86/signal: Fix the value returned by strict_sas_size()
Christophe JAILLET <[email protected]>
s390/vfio-ap: fix an error handling path in vfio_ap_mdev_probe_queue()
Alexander Gordeev <[email protected]>
s390/early: fix sclp_early_sccb variable lifetime
Lai Jiangshan <[email protected]>
workqueue: Protects wq_unbound_cpumask with wq_pool_attach_mutex
Mark Brown <[email protected]>
kselftest/arm64: Fix syscall-abi for systems without 128 bit SME
Mark Brown <[email protected]>
arm64/cpufeature: Fix field sign for DIT hwcap detection
Magnus Karlsson <[email protected]>
selftests/xsk: print correct error codes when exiting
Magnus Karlsson <[email protected]>
selftests/xsk: print correct payload for packet dump
Daniil Tatianin <[email protected]>
ACPICA: nsrepair: handle cases without a return value correctly
Prashant Malani <[email protected]>
platform/chrome: cros_ec_typec: Update port DP VDO
David Rientjes <[email protected]>
crypto: ccp - Avoid page allocation failure warning for SEV_GET_ID2
Herbert Xu <[email protected]>
lib/mpi: Fix buffer overrun when SG is too long
Frederic Weisbecker <[email protected]>
rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()
Frederic Weisbecker <[email protected]>
rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls
Frederic Weisbecker <[email protected]>
rcu-tasks: Improve comments explaining tasks_rcu_exit_srcu purpose
Zhen Lei <[email protected]>
genirq: Fix the return type of kstat_cpu_irqs_sum()
Mario Limonciello <[email protected]>
ACPICA: Drop port I/O validation for some regions
Eric Biggers <[email protected]>
crypto: x86/ghash - fix unaligned access in ghash_setkey()
Daniel T. Lee <[email protected]>
libbpf: Fix invalid return address register in s390
Yang Yingliang <[email protected]>
wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave()
Yang Yingliang <[email protected]>
wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave()
Yang Yingliang <[email protected]>
wifi: libertas: main: don't call kfree_skb() under spin_lock_irqsave()
Yang Yingliang <[email protected]>
wifi: libertas: if_usb: don't call kfree_skb() under spin_lock_irqsave()
Yang Yingliang <[email protected]>
wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()
Zhengchao Shao <[email protected]>
wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()
Zhang Changzhong <[email protected]>
wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()
Wang Yufen <[email protected]>
wifi: wilc1000: add missing unregister_netdev() in wilc_netdev_ifc_init()
Zhang Changzhong <[email protected]>
wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()
Zhengchao Shao <[email protected]>
wifi: ipw2200: fix memory leak in ipw_wdev_init()
Yang Yingliang <[email protected]>
wifi: ipw2x00: don't call dev_kfree_skb() under spin_lock_irqsave()
Andrii Nakryiko <[email protected]>
libbpf: Fix btf__align_of() by taking into account field offsets
Li Zetao <[email protected]>
wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()
Ping-Ke Shih <[email protected]>
wifi: rtw89: 8852c: rfk: correct DPK settings
Ping-Ke Shih <[email protected]>
wifi: rtw89: 8852c: rfk: correct DACK setting
Yang Yingliang <[email protected]>
wifi: rtl8xxxu: don't call dev_kfree_skb() under spin_lock_irqsave()
Zhengchao Shao <[email protected]>
wifi: libertas: fix memory leak in lbs_init_adapter()
Yang Yingliang <[email protected]>
wifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave()
Yang Yingliang <[email protected]>
wifi: rtlwifi: rtl8723be: don't call kfree_skb() under spin_lock_irqsave()
Yang Yingliang <[email protected]>
wifi: rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave()
Yang Yingliang <[email protected]>
wifi: rtlwifi: rtl8821ae: don't call kfree_skb() under spin_lock_irqsave()
Yuan Can <[email protected]>
wifi: rsi: Fix memory leak in rsi_coex_attach()
Deren Wu <[email protected]>
wifi: mt76: fix coverity uninit_use_in_call in mt76_connac2_reverse_frag0_hdr_trans()
Ryder Lee <[email protected]>
wifi: mt76: mt7915: fix unintended sign extension of mt7915_hw_queue_read()
Ryder Lee <[email protected]>
wifi: mt76: mt7915: drop always true condition of __mt7915_reg_addr()
Ryder Lee <[email protected]>
wifi: mt76: mt7915: check return value before accessing free_block_num
Deren Wu <[email protected]>
wifi: mt76: mt7921s: fix slab-out-of-bounds access in sdio host
Wang Yufen <[email protected]>
wifi: mt76: mt7915: add missing of_node_put()
Jens Axboe <[email protected]>
block: use proper return value from bio_failfast()
Martin K. Petersen <[email protected]>
block: bio-integrity: Copy flags when bio_integrity_payload is cloned
Jinke Han <[email protected]>
block: Fix io statistics for cgroup in throttle path
Ming Lei <[email protected]>
block: sync mixed merged request's failfast with 1st bio's
Jingbo Xu <[email protected]>
erofs: relinquish volume with mutex held
Konrad Dybcio <[email protected]>
arm64: dts: qcom: pmk8350: Use the correct PON compatible
Konrad Dybcio <[email protected]>
arm64: dts: qcom: pmk8350: Specify PBS register for PON
Liu Xiaodong <[email protected]>
block: ublk: check IO buffer based on flag need_get_data
Denis Kenzior <[email protected]>
KEYS: asymmetric: Fix ECDSA use via keyctl uapi
silviazhao <[email protected]>
x86/perf/zhaoxin: Add stepping check for ZXC
Kan Liang <[email protected]>
perf/x86/intel/ds: Fix the conversion from TSC to perf time
Pietro Borrello <[email protected]>
sched/rt: pick_next_rt_entity(): check list_entry
Qiheng Lin <[email protected]>
s390/dasd: Fix potential memleak in dasd_eckd_init()
Petr Vorel <[email protected]>
arm64: dts: qcom: msm8992-lg-bullhead: Enable regulators
Konrad Dybcio <[email protected]>
arm64: dts: qcom: msm8992-*: Fix up comments
Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: msm8953: correct TLMM gpio-ranges
Jamie Douglass <[email protected]>
arm64: dts: qcom: msm8992-lg-bullhead: Correct memory overlaps with the SMEM and MPSS memory regions
Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8450: drop incorrect cells from serial
Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8350: drop incorrect cells from serial
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: msm8996 switch from RPM_SMD_BB_CLK1 to RPM_SMD_XO_CLK_SRC
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: msm8996: support using GPLL0 as kryocc input
Kemeng Shi <[email protected]>
blk-mq: correct stale comment of .get_budget
Kemeng Shi <[email protected]>
blk-mq: Fix potential io hung for shared sbitmap per tagset
Kemeng Shi <[email protected]>
blk-mq: wait on correct sbitmap_queue in blk_mq_mark_tag_wait
Kemeng Shi <[email protected]>
blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx
Kemeng Shi <[email protected]>
blk-mq: avoid sleep in blk_mq_alloc_request_hctx
Patrick Delaunay <[email protected]>
ARM: dts: stm32: Update part number NVMEM description on stm32mp131
Allen-KH Cheng <[email protected]>
arm64: dts: mediatek: mt7986: Fix watchdog compatible
AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mediatek: mt8195: Fix watchdog compatible
AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mediatek: mt8186: Fix watchdog compatible
AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node
AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mt8186: Fix CPU map for single-cluster SoC
AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mt8192: Fix CPU map for single-cluster SoC
AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mt8195: Fix CPU map for single-cluster SoC
Kemeng Shi <[email protected]>
sbitmap: correct wake_batch recalculation to avoid potential IO hung
Gabriel Krisman Bertazi <[email protected]>
sbitmap: Use single per-bitmap counting to wake up queued tags
Kemeng Shi <[email protected]>
sbitmap: remove redundant check in __sbitmap_queue_get_batch
Peng Fan <[email protected]>
ARM: dts: imx7s: correct iomuxc gpr mux controller cells
Ming Lei <[email protected]>
ublk_drv: don't probe partitions if the ubq daemon isn't trusted
Ming Lei <[email protected]>
ublk_drv: remove nr_aborted_queues from ublk_device
Samuel Holland <[email protected]>
ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference
Christian Hewitt <[email protected]>
arm64: dts: meson: bananapi-m5: switch VDDIO_C pin to OPEN_DRAIN
Christian Hewitt <[email protected]>
arm64: dts: meson: radxa-zero: allow usb otg mode
Adam Ford <[email protected]>
arm64: dts: renesas: beacon-renesom: Fix gpio expander reference
Waiman Long <[email protected]>
locking/rwsem: Disable preemption in all down_read*() and up_read() code paths
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal trip
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node name
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-sm1-bananapi-m5: fix adc keys node names
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gx-libretech-pc: fix update button name
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix invalid rtc node name
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gxl-s905w-jethome-jethub-j80: fix invalid rtc node name
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gx: add missing unit address to rng node name
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid clock-names property
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix supply name of USB controller node
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gx: add missing SCPI sensors compatible
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name
Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name
Angus Chen <[email protected]>
ARM: imx: Call ida_simple_remove() for ida_simple_get
Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato
Vaishnav Achath <[email protected]>
arm64: dts: ti: k3-j7200: Fix wakeup pinmux range
Arnd Bergmann <[email protected]>
ARM: s3c: fix s3c64xx_set_timer_source prototype
Stefan Wahren <[email protected]>
ARM: bcm2835_defconfig: Enable the framebuffer
Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8192: Mark scp_adsp clock as broken
Yang Yingliang <[email protected]>
ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
Christian Hewitt <[email protected]>
arm64: dts: meson: remove CPU opps below 1GHz for G12A boards
Robert Marko <[email protected]>
arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names
Robert Marko <[email protected]>
arm64: dts: qcom: ipq8074: fix Gen3 PCIe node
Robert Marko <[email protected]>
arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges
Robert Marko <[email protected]>
arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY
Robert Marko <[email protected]>
arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY
Robert Marko <[email protected]>
arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output names
Petr Vorel <[email protected]>
arm64: dts: qcom: msm8992-bullhead: Disable dfps_data_mem
Petr Vorel <[email protected]>
arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem size
Dominik Kobinski <[email protected]>
arm64: dts: msm8992-bullhead: add memory hole region
Thierry Reding <[email protected]>
arm64: tegra: Fix duplicate regulator on Jetson TX1
Dhruva Gole <[email protected]>
arm64: dts: ti: k3-am62-main: Fix clocks for McSPI
Andrew Davis <[email protected]>
arm64: dts: ti: k3-am62: Enable SPI nodes at the board level
Peter Zijlstra <[email protected]>
cpuidle, intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE *again*
Martin Blumenstingl <[email protected]>
arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit address
Martin Blumenstingl <[email protected]>
arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name
Martin Blumenstingl <[email protected]>
arm64: dts: meson-gx: Fix Ethernet MAC address unit name
Martin Blumenstingl <[email protected]>
arm64: dts: meson-axg: jethub-j1xx: Fix MAC address node names
Martin Blumenstingl <[email protected]>
arm64: dts: meson-gxl: jethub-j80: Fix Bluetooth MAC node name
Martin Blumenstingl <[email protected]>
arm64: dts: meson-gxl: jethub-j80: Fix WiFi MAC address node
Bjorn Andersson <[email protected]>
arm64: dts: qcom: sc8280xp: Vote for CX in USB controllers
Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sc8280xp: correct SPMI bus address cells
Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sc7280: correct SPMI bus address cells
Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sc7180: correct SPMI bus address cells
Kishon Vijay Abraham I <[email protected]>
x86/acpi/boot: Do not register processors that cannot be onlined for x2APIC
Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt pin name
Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8186: Fix systimer 13 MHz clock description
Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8195: Fix systimer 13 MHz clock description
Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8192: Fix systimer 13 MHz clock description
Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock description
AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mediatek: mt8195: Add power domain to U3PHY1 T-PHY
Qiheng Lin <[email protected]>
ARM: zynq: Fix refcount leak in zynq_early_slcr_init
Marek Vasut <[email protected]>
arm64: dts: imx8m: Align SoC unique ID node unit address
Marijn Suijten <[email protected]>
arm64: dts: qcom: sm6125-seine: Clean up gpio-keys (volume down)
Marijn Suijten <[email protected]>
arm64: dts: qcom: sm6125: Reorder HSUSB PHY clocks to match bindings
Konrad Dybcio <[email protected]>
arm64: dts: qcom: sm6350: Fix up the ramoops node
Marijn Suijten <[email protected]>
arm64: dts: qcom: sm8150-kumano: Panel framebuffer is 2.5k instead of 4k
Konrad Dybcio <[email protected]>
arm64: dts: qcom: msm8996-tone: Fix USB taking 6 minutes to wake up
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: qcs404: use symbol names for PCIe resets
Chen Hui <[email protected]>
ARM: OMAP2+: Fix memory leak in realtime_counter_init()
Damien Le Moal <[email protected]>
ata: ahci: Revert "ata: ahci: Add Tiger Lake UP{3,4} AHCI controller"
Anders Roxell <[email protected]>
powerpc/mm: Rearrange if-else block to avoid clang warning
Pietro Borrello <[email protected]>
HID: asus: use spinlock to safely schedule workers
Pietro Borrello <[email protected]>
HID: asus: use spinlock to protect concurrent accesses
-------------
Diffstat:
Documentation/admin-guide/cgroup-v1/memory.rst | 13 +- Documentation/admin-guide/hw-vuln/spectre.rst | 21 +- Documentation/admin-guide/kdump/gdbmacros.txt | 2 +- Documentation/bpf/instruction-set.rst | 16 +- Documentation/dev-tools/gdb-kernel-debugging.rst | 4 + .../bindings/display/mediatek/mediatek,ccorr.yaml | 2 +- .../bindings/sound/amlogic,gx-sound-card.yaml | 2 +- Documentation/hwmon/ftsteutates.rst | 4 + Documentation/virt/kvm/api.rst | 18 +- Documentation/virt/kvm/devices/vm.rst | 4 + Makefile | 4 +- arch/alpha/boot/tools/objstrip.c | 2 +- arch/alpha/kernel/traps.c | 30 +- arch/arm/boot/dts/exynos3250-rinato.dts | 2 +- arch/arm/boot/dts/exynos4-cpu-thermal.dtsi | 2 +- arch/arm/boot/dts/exynos4.dtsi | 2 +- arch/arm/boot/dts/exynos4210.dtsi | 1 - arch/arm/boot/dts/exynos5250.dtsi | 2 +- arch/arm/boot/dts/exynos5410-odroidxu.dts | 1 - arch/arm/boot/dts/exynos5420.dtsi | 2 +- arch/arm/boot/dts/exynos5422-odroidhc1.dts | 10 +- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 10 +- arch/arm/boot/dts/imx7s.dtsi | 2 +- arch/arm/boot/dts/qcom-sdx55.dtsi | 2 +- arch/arm/boot/dts/qcom-sdx65.dtsi | 2 +- arch/arm/boot/dts/stm32mp131.dtsi | 1 + arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts | 2 +- arch/arm/configs/bcm2835_defconfig | 1 + arch/arm/mach-imx/mmdc.c | 24 +- arch/arm/mach-omap1/timer.c | 2 +- arch/arm/mach-omap2/omap4-common.c | 1 + arch/arm/mach-omap2/timer.c | 1 + arch/arm/mach-s3c/s3c64xx.c | 3 +- arch/arm/mach-zynq/slcr.c | 1 + arch/arm64/Kconfig | 1 - .../dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi | 10 +- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 +- arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 2 +- .../boot/dts/amlogic/meson-g12a-radxa-zero.dts | 1 - arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 20 - .../boot/dts/amlogic/meson-gx-libretech-pc.dtsi | 2 +- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 6 +- arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts | 2 +- .../dts/amlogic/meson-gxl-s905d-phicomm-n1.dts | 2 +- .../boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 1 - .../amlogic/meson-gxl-s905w-jethome-jethub-j80.dts | 6 +- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 2 +- .../boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 6 +- .../boot/dts/amlogic/meson-sm1-odroid-hc4.dts | 10 +- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 +- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 1 + arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 3 +- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 12 +- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 17 +- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 25 +- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 25 +- arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 2 +- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 63 +-- arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 +- .../boot/dts/qcom/msm8992-lg-bullhead-rev-10.dts | 3 +- .../boot/dts/qcom/msm8992-lg-bullhead-rev-101.dts | 3 +- arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi | 37 +- arch/arm64/boot/dts/qcom/msm8992.dtsi | 3 +- .../boot/dts/qcom/msm8996-sony-xperia-tone.dtsi | 5 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 22 +- arch/arm64/boot/dts/qcom/pmk8350.dtsi | 5 +- arch/arm64/boot/dts/qcom/qcs404.dtsi | 12 +- arch/arm64/boot/dts/qcom/sc7180.dtsi | 4 +- arch/arm64/boot/dts/qcom/sc7280.dtsi | 4 +- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 6 +- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 2 +- .../dts/qcom/sm6125-sony-xperia-seine-pdx201.dts | 19 +- arch/arm64/boot/dts/qcom/sm6125.dtsi | 6 +- arch/arm64/boot/dts/qcom/sm6350.dtsi | 7 +- .../boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi | 7 +- arch/arm64/boot/dts/qcom/sm8350.dtsi | 2 - arch/arm64/boot/dts/qcom/sm8450.dtsi | 4 - .../boot/dts/renesas/beacon-renesom-baseboard.dtsi | 24 +- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 9 +- arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi | 2 + .../boot/dts/ti/k3-j7200-common-proc-board.dts | 2 +- arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 29 +- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 + arch/arm64/kernel/cpufeature.c | 2 +- arch/loongarch/net/bpf_jit.c | 2 +- arch/loongarch/net/bpf_jit.h | 21 + arch/m68k/68000/entry.S | 2 + arch/m68k/Kconfig.devices | 1 + arch/m68k/coldfire/entry.S | 2 + arch/m68k/kernel/entry.S | 3 + arch/mips/boot/dts/ingenic/ci20.dts | 2 +- arch/mips/include/asm/syscall.h | 2 +- arch/powerpc/Makefile | 2 +- arch/powerpc/boot/Makefile | 14 +- arch/powerpc/mm/book3s64/radix_tlb.c | 11 +- arch/riscv/Makefile | 6 +- arch/riscv/include/asm/ftrace.h | 50 ++- arch/riscv/include/asm/jump_label.h | 2 + arch/riscv/include/asm/pgtable.h | 2 +- arch/riscv/include/asm/thread_info.h | 1 + arch/riscv/kernel/ftrace.c | 65 +-- arch/riscv/kernel/mcount-dyn.S | 42 +- arch/riscv/kernel/time.c | 3 + arch/riscv/kernel/traps.c | 5 +- arch/riscv/mm/fault.c | 10 +- arch/s390/boot/boot.h | 26 +- arch/s390/boot/decompressor.c | 1 + arch/s390/boot/decompressor.h | 26 -- arch/s390/boot/kaslr.c | 6 - arch/s390/boot/mem_detect.c | 54 +-- arch/s390/boot/startup.c | 21 +- arch/s390/include/asm/ap.h | 12 +- arch/s390/kernel/early.c | 1 - arch/s390/kernel/head64.S | 1 + arch/s390/kernel/idle.c | 2 +- arch/s390/kernel/kprobes.c | 4 +- arch/s390/kernel/vdso64/Makefile | 2 +- arch/s390/kernel/vmlinux.lds.S | 1 + arch/s390/kvm/kvm-s390.c | 43 +- arch/s390/mm/dump_pagetables.c | 16 +- arch/s390/mm/extmem.c | 12 +- arch/s390/mm/fault.c | 49 ++- arch/s390/mm/vmem.c | 6 +- arch/s390/net/bpf_jit_comp.c | 12 +- arch/sparc/Kconfig | 2 +- arch/x86/crypto/ghash-clmulni-intel_glue.c | 6 +- arch/x86/events/intel/ds.c | 35 +- arch/x86/events/intel/uncore.c | 7 + arch/x86/events/intel/uncore.h | 1 + arch/x86/events/intel/uncore_snb.c | 161 ++++++++ arch/x86/events/zhaoxin/core.c | 8 +- arch/x86/include/asm/fpu/sched.h | 2 +- arch/x86/include/asm/fpu/xcr.h | 4 +- arch/x86/include/asm/microcode.h | 4 +- arch/x86/include/asm/microcode_amd.h | 4 +- arch/x86/include/asm/msr-index.h | 4 + arch/x86/include/asm/processor.h | 3 +- arch/x86/include/asm/reboot.h | 2 + arch/x86/include/asm/special_insns.h | 2 +- arch/x86/include/asm/virtext.h | 16 +- arch/x86/kernel/acpi/boot.c | 19 +- arch/x86/kernel/cpu/bugs.c | 35 +- arch/x86/kernel/cpu/common.c | 45 +- arch/x86/kernel/cpu/microcode/amd.c | 53 +-- arch/x86/kernel/cpu/microcode/core.c | 26 +- arch/x86/kernel/crash.c | 17 +- arch/x86/kernel/fpu/context.h | 2 +- arch/x86/kernel/fpu/core.c | 6 +- arch/x86/kernel/kprobes/opt.c | 6 +- arch/x86/kernel/reboot.c | 88 ++-- arch/x86/kernel/signal.c | 2 +- arch/x86/kernel/smp.c | 6 +- arch/x86/kvm/lapic.c | 38 +- arch/x86/kvm/svm/avic.c | 53 +-- arch/x86/kvm/svm/sev.c | 4 +- arch/x86/kvm/svm/svm.c | 2 +- arch/x86/kvm/svm/svm.h | 2 +- arch/x86/kvm/svm/svm_onhyperv.h | 4 +- arch/x86/kvm/vmx/evmcs.h | 11 - arch/x86/kvm/vmx/vmx.c | 9 +- block/bio-integrity.c | 1 + block/bio.c | 1 + block/blk-cgroup.c | 39 +- block/blk-core.c | 33 +- block/blk-iocost.c | 11 +- block/blk-merge.c | 35 +- block/blk-mq-sched.c | 7 +- block/blk-mq.c | 15 +- block/fops.c | 21 +- crypto/asymmetric_keys/public_key.c | 24 +- crypto/essiv.c | 7 +- crypto/rsa-pkcs1pad.c | 34 +- crypto/seqiv.c | 2 +- crypto/xts.c | 8 +- drivers/acpi/acpica/Makefile | 2 +- drivers/acpi/acpica/hwvalid.c | 7 +- drivers/acpi/acpica/nsrepair.c | 12 +- drivers/acpi/battery.c | 2 +- drivers/acpi/resource.c | 26 +- drivers/acpi/video_detect.c | 2 +- drivers/ata/ahci.c | 1 - drivers/base/core.c | 452 ++++++++++++++------- drivers/base/physical_location.c | 5 +- drivers/base/power/domain.c | 5 +- drivers/base/regmap/regmap.c | 6 + drivers/base/transport_class.c | 17 +- drivers/block/brd.c | 67 +-- drivers/block/rbd.c | 20 +- drivers/block/ublk_drv.c | 23 +- drivers/bluetooth/btusb.c | 16 + drivers/bluetooth/hci_qca.c | 7 +- drivers/bus/mhi/ep/main.c | 35 +- drivers/char/applicom.c | 5 +- drivers/char/ipmi/ipmi_ipmb.c | 2 +- drivers/char/ipmi/ipmi_ssif.c | 74 ++-- drivers/char/pcmcia/cm4000_cs.c | 6 +- drivers/clocksource/timer-riscv.c | 10 +- drivers/cpufreq/davinci-cpufreq.c | 4 +- drivers/cpuidle/Kconfig.arm | 2 + drivers/crypto/amcc/crypto4xx_core.c | 10 +- drivers/crypto/ccp/ccp-dmaengine.c | 21 +- drivers/crypto/ccp/sev-dev.c | 15 +- drivers/crypto/hisilicon/sgl.c | 3 +- drivers/crypto/marvell/octeontx2/Makefile | 11 +- drivers/crypto/marvell/octeontx2/cn10k_cpt.c | 9 +- drivers/crypto/marvell/octeontx2/cn10k_cpt.h | 2 - drivers/crypto/marvell/octeontx2/otx2_cpt_common.h | 2 - .../marvell/octeontx2/otx2_cpt_mbox_common.c | 14 +- drivers/crypto/marvell/octeontx2/otx2_cptlf.c | 11 + drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c | 2 + drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c | 2 + drivers/crypto/qat/qat_common/qat_algs.c | 2 +- drivers/cxl/pmem.c | 1 + drivers/dax/bus.c | 2 +- drivers/dax/kmem.c | 4 +- drivers/dma/Kconfig | 2 +- drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 2 - drivers/dma/dw-edma/dw-edma-core.c | 4 + drivers/dma/dw-edma/dw-edma-v0-core.c | 2 +- drivers/dma/idxd/device.c | 2 +- drivers/dma/idxd/init.c | 2 +- drivers/dma/idxd/sysfs.c | 4 +- drivers/dma/ptdma/ptdma-dmaengine.c | 2 +- drivers/dma/sf-pdma/sf-pdma.c | 3 +- drivers/dma/sf-pdma/sf-pdma.h | 1 - drivers/firmware/dmi-sysfs.c | 10 +- drivers/firmware/google/framebuffer-coreboot.c | 4 +- drivers/firmware/psci/psci.c | 31 +- drivers/firmware/stratix10-svc.c | 25 +- drivers/fpga/microchip-spi.c | 123 +++--- drivers/gpio/gpio-vf610.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 12 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 4 +- drivers/gpu/drm/amd/amdgpu/nbio_v7_2.c | 5 + drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 9 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 +- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 7 + .../drm/amd/display/dc/clk_mgr/dcn314/dcn314_smu.c | 3 + drivers/gpu/drm/amd/display/dc/core/dc.c | 16 + drivers/gpu/drm/amd/display/dc/core/dc_link.c | 6 - drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 14 +- drivers/gpu/drm/amd/display/dc/dc_dp_types.h | 1 - drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h | 3 +- drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c | 9 + drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.h | 2 + .../display/dc/dcn314/dcn314_dio_stream_encoder.c | 6 +- .../drm/amd/display/dc/dcn314/dcn314_resource.c | 4 +- .../amd/display/dc/dml/dcn20/display_mode_vba_20.c | 8 +- .../display/dc/dml/dcn20/display_mode_vba_20v2.c | 10 +- .../amd/display/dc/dml/dcn21/display_mode_vba_21.c | 12 +- .../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 4 + .../gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.c | 2 +- .../amd/display/dc/gpio/dcn20/hw_factory_dcn20.c | 6 +- .../amd/display/dc/gpio/dcn30/hw_factory_dcn30.c | 6 +- .../amd/display/dc/gpio/dcn32/hw_factory_dcn32.c | 6 +- drivers/gpu/drm/amd/display/dc/gpio/ddc_regs.h | 7 + .../drm/amd/display/dc/inc/hw/timing_generator.h | 1 + drivers/gpu/drm/bridge/lontium-lt9611.c | 65 +-- .../drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 6 +- drivers/gpu/drm/bridge/tc358767.c | 8 +- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 2 +- drivers/gpu/drm/drm_edid.c | 43 +- drivers/gpu/drm/drm_fourcc.c | 4 + drivers/gpu/drm/drm_gem_shmem_helper.c | 52 ++- drivers/gpu/drm/drm_mipi_dsi.c | 52 +++ drivers/gpu/drm/drm_mode_config.c | 8 +- drivers/gpu/drm/drm_panel_orientation_quirks.c | 39 +- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 8 +- drivers/gpu/drm/gud/gud_pipe.c | 4 +- drivers/gpu/drm/i915/display/intel_quirks.c | 2 + drivers/gpu/drm/i915/gt/intel_ring.c | 6 +- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 2 + drivers/gpu/drm/mediatek/mtk_drm_drv.c | 1 + drivers/gpu/drm/mediatek/mtk_drm_gem.c | 4 +- drivers/gpu/drm/mediatek/mtk_dsi.c | 2 +- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 7 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 + drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 5 + drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 15 +- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 5 + drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c | 2 + drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 5 +- drivers/gpu/drm/msm/dsi/dsi_cfg.c | 4 +- drivers/gpu/drm/msm/dsi/dsi_host.c | 3 + drivers/gpu/drm/msm/hdmi/hdmi.c | 4 + drivers/gpu/drm/msm/msm_drv.c | 2 +- drivers/gpu/drm/msm/msm_fence.c | 2 +- drivers/gpu/drm/msm/msm_gem_submit.c | 4 + drivers/gpu/drm/mxsfb/Kconfig | 2 + drivers/gpu/drm/omapdrm/dss/dsi.c | 26 +- drivers/gpu/drm/panel/panel-edp.c | 2 +- drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c | 4 +- drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c | 3 +- drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c | 2 - drivers/gpu/drm/radeon/atombios_encoders.c | 5 +- drivers/gpu/drm/radeon/radeon_device.c | 1 + drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 31 +- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 49 +++ drivers/gpu/drm/rcar-du/rcar_du_drv.h | 2 + drivers/gpu/drm/rcar-du/rcar_du_regs.h | 8 +- drivers/gpu/drm/tegra/firewall.c | 3 + drivers/gpu/drm/tidss/tidss_dispc.c | 4 +- drivers/gpu/drm/tiny/ili9486.c | 13 +- drivers/gpu/drm/vc4/vc4_dpi.c | 2 +- drivers/gpu/drm/vc4/vc4_hdmi.c | 16 +- drivers/gpu/drm/vc4/vc4_hvs.c | 73 +++- drivers/gpu/drm/vc4/vc4_plane.c | 2 + drivers/gpu/drm/vc4/vc4_regs.h | 17 +- drivers/gpu/drm/vkms/vkms_drv.c | 10 +- drivers/gpu/host1x/hw/hw_host1x06_uclass.h | 2 +- drivers/gpu/host1x/hw/hw_host1x07_uclass.h | 2 +- drivers/gpu/host1x/hw/hw_host1x08_uclass.h | 2 +- drivers/gpu/host1x/hw/syncpt_hw.c | 3 - drivers/gpu/ipu-v3/ipu-common.c | 1 + drivers/hid/hid-asus.c | 37 +- drivers/hid/hid-bigbenff.c | 75 +++- drivers/hid/hid-debug.c | 1 + drivers/hid/hid-ids.h | 2 + drivers/hid/hid-input.c | 12 + drivers/hid/hid-logitech-hidpp.c | 49 ++- drivers/hid/hid-multitouch.c | 39 +- drivers/hid/hid-quirks.c | 2 +- drivers/hid/hid-uclogic-core.c | 26 +- drivers/hid/hid-uclogic-params.c | 14 + drivers/hid/hid-uclogic-params.h | 24 ++ drivers/hid/i2c-hid/i2c-hid-core.c | 6 +- drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c | 42 ++ drivers/hid/i2c-hid/i2c-hid.h | 3 + drivers/hwmon/Kconfig | 2 +- drivers/hwmon/asus-ec-sensors.c | 1 + drivers/hwmon/coretemp.c | 128 +++--- drivers/hwmon/ftsteutates.c | 19 +- drivers/hwmon/ltc2945.c | 2 + drivers/hwmon/mlxreg-fan.c | 6 + drivers/hwmon/nct6775-core.c | 2 +- drivers/hwmon/nct6775-platform.c | 150 +++++-- drivers/hwmon/peci/cputemp.c | 2 +- drivers/hwtracing/coresight/coresight-cti-core.c | 11 +- drivers/hwtracing/coresight/coresight-cti-sysfs.c | 13 +- drivers/hwtracing/coresight/coresight-etm4x-core.c | 18 +- drivers/hwtracing/ptt/hisi_ptt.c | 10 + drivers/i2c/busses/i2c-designware-common.c | 2 +- drivers/i2c/busses/i2c-designware-core.h | 2 +- drivers/idle/intel_idle.c | 8 +- drivers/iio/light/tsl2563.c | 8 +- drivers/infiniband/hw/cxgb4/cm.c | 7 + drivers/infiniband/hw/cxgb4/restrack.c | 2 +- drivers/infiniband/hw/erdma/erdma_verbs.c | 4 +- drivers/infiniband/hw/hfi1/sdma.c | 4 +- drivers/infiniband/hw/hfi1/sdma.h | 15 +- drivers/infiniband/hw/hfi1/user_pages.c | 61 ++- drivers/infiniband/hw/hns/hns_roce_main.c | 5 +- drivers/infiniband/hw/irdma/hw.c | 2 + drivers/infiniband/sw/rxe/rxe_queue.h | 108 +++-- drivers/infiniband/sw/rxe/rxe_verbs.c | 100 ++--- drivers/infiniband/sw/siw/siw_mem.c | 23 +- drivers/iommu/amd/init.c | 16 +- drivers/iommu/amd/iommu.c | 22 +- drivers/iommu/apple-dart.c | 204 +++++++--- drivers/iommu/intel/iommu.c | 26 +- drivers/iommu/intel/pasid.c | 18 + drivers/iommu/iommu.c | 8 +- drivers/irqchip/irq-alpine-msi.c | 1 + drivers/irqchip/irq-bcm7120-l2.c | 3 +- drivers/irqchip/irq-brcmstb-l2.c | 6 +- drivers/irqchip/irq-mvebu-gicp.c | 1 + drivers/irqchip/irq-ti-sci-intr.c | 1 + drivers/irqchip/irqchip.c | 8 +- drivers/leds/led-class.c | 6 +- drivers/leds/leds-is31fl319x.c | 7 +- drivers/leds/simple/simatic-ipc-leds-gpio.c | 2 + drivers/md/dm-bufio.c | 2 +- drivers/md/dm-cache-background-tracker.c | 8 + drivers/md/dm-cache-target.c | 4 + drivers/md/dm-flakey.c | 31 +- drivers/md/dm-ioctl.c | 13 +- drivers/md/dm-thin.c | 2 + drivers/md/dm-zoned-metadata.c | 2 +- drivers/md/dm.c | 30 +- drivers/md/dm.h | 2 +- drivers/md/md.c | 2 +- drivers/media/i2c/imx219.c | 255 +++++------- drivers/media/i2c/max9286.c | 1 + drivers/media/i2c/ov2740.c | 4 +- drivers/media/i2c/ov5640.c | 56 ++- drivers/media/i2c/ov5675.c | 4 +- drivers/media/i2c/ov7670.c | 2 +- drivers/media/i2c/ov772x.c | 3 +- drivers/media/mc/mc-entity.c | 8 +- drivers/media/pci/intel/ipu3/ipu3-cio2-main.c | 3 + drivers/media/pci/saa7134/saa7134-core.c | 2 +- drivers/media/platform/amphion/vpu_color.c | 6 +- drivers/media/platform/mediatek/mdp3/Kconfig | 8 +- .../media/platform/mediatek/mdp3/mtk-mdp3-core.c | 7 +- drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c | 35 +- drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.h | 4 +- .../platform/qcom/camss/camss-csiphy-3ph-1-0.c | 3 +- drivers/media/platform/ti/cal/cal.c | 4 +- drivers/media/platform/ti/omap3isp/isp.c | 9 + drivers/media/platform/verisilicon/hantro_v4l2.c | 7 +- drivers/media/rc/ene_ir.c | 3 +- drivers/media/usb/siano/smsusb.c | 1 + drivers/media/usb/uvc/uvc_ctrl.c | 154 +++++-- drivers/media/usb/uvc/uvc_driver.c | 18 +- drivers/media/usb/uvc/uvc_v4l2.c | 6 +- drivers/media/usb/uvc/uvcvideo.h | 6 +- drivers/media/v4l2-core/v4l2-h264.c | 4 + drivers/media/v4l2-core/v4l2-jpeg.c | 4 +- drivers/mfd/Kconfig | 1 + drivers/mfd/pcf50633-adc.c | 7 +- drivers/misc/eeprom/idt_89hpesx.c | 10 +- drivers/misc/fastrpc.c | 13 +- .../misc/habanalabs/common/command_submission.c | 33 +- drivers/misc/habanalabs/common/device.c | 38 +- drivers/misc/habanalabs/common/memory.c | 5 +- drivers/misc/mei/hdcp/mei_hdcp.c | 4 +- drivers/misc/mei/pxp/mei_pxp.c | 4 +- drivers/misc/vmw_vmci/vmci_host.c | 2 + drivers/mtd/mtdpart.c | 10 + drivers/mtd/spi-nor/core.c | 9 + drivers/mtd/spi-nor/core.h | 1 + drivers/mtd/spi-nor/sfdp.c | 6 +- drivers/mtd/spi-nor/spansion.c | 9 +- drivers/net/can/rcar/rcar_canfd.c | 4 +- drivers/net/can/usb/esd_usb.c | 52 +-- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 8 + drivers/net/ethernet/broadcom/genet/bcmmii.c | 11 +- drivers/net/ethernet/intel/ice/ice_main.c | 17 +- drivers/net/ethernet/intel/ice/ice_ptp.c | 2 +- drivers/net/ethernet/mellanox/mlx4/en_tx.c | 22 +- .../ethernet/mellanox/mlx5/core/diag/fw_tracer.c | 2 +- .../net/ethernet/mellanox/mlx5/core/pagealloc.c | 3 +- .../net/ethernet/microchip/lan966x/lan966x_ptp.c | 4 +- drivers/net/ethernet/qlogic/qede/qede_main.c | 11 +- drivers/net/hyperv/netvsc.c | 18 + drivers/net/ipa/gsi.c | 3 +- drivers/net/ipa/gsi_reg.h | 1 - drivers/net/tap.c | 2 +- drivers/net/tun.c | 2 +- drivers/net/wireless/ath/ath11k/core.h | 1 - drivers/net/wireless/ath/ath11k/debugfs.c | 48 ++- drivers/net/wireless/ath/ath11k/dp_rx.c | 2 + drivers/net/wireless/ath/ath11k/pci.c | 2 +- drivers/net/wireless/ath/ath9k/hif_usb.c | 33 +- drivers/net/wireless/ath/ath9k/htc_drv_init.c | 2 + drivers/net/wireless/ath/ath9k/htc_hst.c | 4 +- drivers/net/wireless/ath/ath9k/wmi.c | 1 + .../wireless/broadcom/brcm80211/brcmfmac/common.c | 7 +- .../wireless/broadcom/brcm80211/brcmfmac/core.c | 1 + .../wireless/broadcom/brcm80211/brcmfmac/msgbuf.c | 5 +- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 11 +- drivers/net/wireless/intel/iwlegacy/3945-mac.c | 16 +- drivers/net/wireless/intel/iwlegacy/4965-mac.c | 12 +- drivers/net/wireless/intel/iwlegacy/common.c | 4 +- drivers/net/wireless/intel/iwlwifi/mei/main.c | 6 +- drivers/net/wireless/intersil/orinoco/hw.c | 2 + drivers/net/wireless/marvell/libertas/cmdresp.c | 2 +- drivers/net/wireless/marvell/libertas/if_usb.c | 2 +- drivers/net/wireless/marvell/libertas/main.c | 3 +- drivers/net/wireless/marvell/libertas_tf/if_usb.c | 2 +- drivers/net/wireless/marvell/mwifiex/11n.c | 6 +- drivers/net/wireless/mediatek/mt76/dma.c | 13 +- .../net/wireless/mediatek/mt76/mt76_connac_mac.c | 2 +- .../net/wireless/mediatek/mt76/mt7915/debugfs.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c | 19 +- drivers/net/wireless/mediatek/mt76/mt7915/init.c | 3 +- drivers/net/wireless/mediatek/mt76/mt7915/mac.c | 3 - drivers/net/wireless/mediatek/mt76/mt7915/main.c | 6 + drivers/net/wireless/mediatek/mt76/mt7915/mcu.c | 13 +- drivers/net/wireless/mediatek/mt76/mt7915/mmio.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7915/regs.h | 1 - drivers/net/wireless/mediatek/mt76/mt7915/soc.c | 1 + .../net/wireless/mediatek/mt76/mt7921/acpi_sar.c | 7 +- drivers/net/wireless/mediatek/mt76/sdio.c | 4 + drivers/net/wireless/mediatek/mt76/sdio_txrx.c | 4 + drivers/net/wireless/mediatek/mt7601u/dma.c | 3 +- drivers/net/wireless/microchip/wilc1000/netdev.c | 8 +- .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c | 5 + .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 19 +- .../net/wireless/realtek/rtlwifi/rtl8188ee/hw.c | 6 +- .../net/wireless/realtek/rtlwifi/rtl8723be/hw.c | 6 +- .../net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 6 +- .../net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 52 +-- drivers/net/wireless/realtek/rtw88/coex.c | 2 +- drivers/net/wireless/realtek/rtw88/mac.c | 10 + drivers/net/wireless/realtek/rtw88/main.h | 2 +- drivers/net/wireless/realtek/rtw88/ps.c | 4 +- drivers/net/wireless/realtek/rtw88/wow.c | 2 +- drivers/net/wireless/realtek/rtw89/core.c | 3 + drivers/net/wireless/realtek/rtw89/debug.c | 7 + drivers/net/wireless/realtek/rtw89/fw.c | 4 +- drivers/net/wireless/realtek/rtw89/reg.h | 2 + drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c | 11 +- drivers/net/wireless/rsi/rsi_91x_coex.c | 1 + drivers/net/wireless/wl3501_cs.c | 2 +- drivers/nvdimm/bus.c | 19 +- drivers/nvdimm/dimm_devs.c | 5 +- drivers/nvdimm/nd-core.h | 1 + drivers/opp/debugfs.c | 2 +- drivers/pci/controller/dwc/pcie-qcom.c | 13 +- drivers/pci/controller/pcie-mt7621.c | 2 + drivers/pci/endpoint/functions/pci-epf-vntb.c | 84 ++-- drivers/pci/iov.c | 2 +- drivers/pci/pci-driver.c | 2 +- drivers/pci/pci.c | 59 ++- drivers/pci/pci.h | 59 ++- drivers/pci/pcie/dpc.c | 4 +- drivers/pci/probe.c | 2 +- drivers/pci/quirks.c | 1 + drivers/pci/switch/switchtec.c | 9 +- drivers/phy/mediatek/phy-mtk-io.h | 4 +- drivers/phy/rockchip/phy-rockchip-typec.c | 4 +- drivers/pinctrl/bcm/pinctrl-bcm2835.c | 2 - drivers/pinctrl/mediatek/pinctrl-paris.c | 4 +- drivers/pinctrl/pinctrl-at91-pio4.c | 4 +- drivers/pinctrl/pinctrl-at91.c | 2 +- drivers/pinctrl/pinctrl-rockchip.c | 1 + drivers/pinctrl/qcom/pinctrl-msm8976.c | 8 +- drivers/pinctrl/renesas/pinctrl-rzg2l.c | 17 +- drivers/pinctrl/stm32/pinctrl-stm32.c | 1 + drivers/platform/chrome/cros_ec_typec.c | 2 +- drivers/power/supply/power_supply_core.c | 93 ----- drivers/powercap/powercap_sys.c | 14 +- drivers/regulator/core.c | 6 +- drivers/regulator/max77802-regulator.c | 34 +- drivers/regulator/s5m8767.c | 6 +- drivers/regulator/tps65219-regulator.c | 22 +- drivers/remoteproc/mtk_scp_ipi.c | 11 +- drivers/remoteproc/qcom_q6v5_mss.c | 87 ++-- drivers/rpmsg/qcom_glink_native.c | 3 + drivers/rtc/rtc-pm8xxx.c | 24 +- drivers/s390/block/dasd_eckd.c | 4 +- drivers/s390/char/sclp_early.c | 2 +- drivers/s390/crypto/vfio_ap_ops.c | 12 +- drivers/scsi/aacraid/aachba.c | 5 +- drivers/scsi/aic94xx/aic94xx_task.c | 3 + drivers/scsi/hosts.c | 2 + drivers/scsi/lpfc/lpfc_sli.c | 19 +- drivers/scsi/mpi3mr/mpi3mr_app.c | 28 +- drivers/scsi/mpi3mr/mpi3mr_os.c | 4 + drivers/scsi/mpt3sas/mpt3sas_base.c | 6 +- drivers/scsi/qla2xxx/qla_bsg.c | 9 +- drivers/scsi/qla2xxx/qla_def.h | 6 +- drivers/scsi/qla2xxx/qla_dfs.c | 10 +- drivers/scsi/qla2xxx/qla_edif.c | 11 +- drivers/scsi/qla2xxx/qla_edif_bsg.h | 15 +- drivers/scsi/qla2xxx/qla_init.c | 14 +- drivers/scsi/qla2xxx/qla_inline.h | 55 ++- drivers/scsi/qla2xxx/qla_iocb.c | 95 ++++- drivers/scsi/qla2xxx/qla_isr.c | 6 +- drivers/scsi/qla2xxx/qla_nvme.c | 34 +- drivers/scsi/qla2xxx/qla_os.c | 9 +- drivers/scsi/ses.c | 64 ++- drivers/scsi/snic/snic_debugfs.c | 4 +- drivers/soundwire/cadence_master.c | 3 +- drivers/spi/Kconfig | 1 - drivers/spi/spi-bcm63xx-hsspi.c | 14 +- drivers/spi/spi-synquacer.c | 7 +- drivers/staging/media/atomisp/pci/atomisp_fops.c | 4 +- drivers/staging/media/imx/imx7-media-csi.c | 4 +- drivers/thermal/hisi_thermal.c | 4 - drivers/thermal/imx_sc_thermal.c | 10 +- drivers/thermal/intel/intel_pch_thermal.c | 8 + drivers/thermal/intel/intel_powerclamp.c | 20 +- drivers/thermal/intel/intel_soc_dts_iosf.c | 2 +- drivers/thermal/qcom/tsens-v0_1.c | 28 +- drivers/thermal/qcom/tsens-v1.c | 61 ++- drivers/thermal/qcom/tsens.c | 3 + drivers/thermal/qcom/tsens.h | 2 +- drivers/tty/serial/fsl_lpuart.c | 19 +- drivers/tty/serial/imx.c | 69 +++- drivers/tty/serial/qcom_geni_serial.c | 2 + drivers/tty/serial/serial-tegra.c | 7 +- drivers/ufs/core/ufshcd.c | 20 +- drivers/ufs/host/ufs-exynos.c | 2 +- drivers/usb/early/xhci-dbc.c | 3 +- drivers/usb/gadget/configfs.c | 6 + drivers/usb/gadget/udc/fotg210-udc.c | 16 + drivers/usb/gadget/udc/fusb300_udc.c | 10 +- drivers/usb/host/fsl-mph-dr-of.c | 3 +- drivers/usb/host/max3421-hcd.c | 2 +- drivers/usb/musb/mediatek.c | 3 +- drivers/usb/typec/mux/intel_pmc_mux.c | 4 +- drivers/vfio/vfio_iommu_type1.c | 143 +++++-- drivers/video/fbdev/core/fbcon.c | 17 +- drivers/virt/coco/sev-guest/sev-guest.c | 20 +- drivers/xen/grant-dma-iommu.c | 11 +- fs/btrfs/discard.c | 41 +- fs/btrfs/scrub.c | 49 ++- fs/ceph/file.c | 8 + fs/cifs/cached_dir.c | 43 +- fs/cifs/cifsacl.c | 34 +- fs/cifs/cifssmb.c | 17 +- fs/cifs/connect.c | 94 ++--- fs/cifs/dir.c | 19 +- fs/cifs/file.c | 35 +- fs/cifs/inode.c | 53 +-- fs/cifs/link.c | 66 +-- fs/cifs/smb1ops.c | 72 ++-- fs/cifs/smb2inode.c | 17 +- fs/cifs/smb2ops.c | 204 +++++----- fs/cifs/smb2pdu.c | 212 ++++++---- fs/cifs/smbdirect.c | 4 +- fs/coda/upcall.c | 2 +- fs/cramfs/inode.c | 2 +- fs/dlm/midcomms.c | 45 +- fs/erofs/fscache.c | 2 +- fs/exfat/dir.c | 7 +- fs/exfat/exfat_fs.h | 2 +- fs/exfat/file.c | 3 +- fs/exfat/inode.c | 6 +- fs/exfat/namei.c | 2 +- fs/exfat/super.c | 3 +- fs/ext4/namei.c | 11 +- fs/ext4/xattr.c | 35 +- fs/f2fs/data.c | 10 +- fs/f2fs/inline.c | 13 +- fs/f2fs/inode.c | 13 +- fs/fuse/ioctl.c | 6 + fs/gfs2/aops.c | 3 +- fs/gfs2/super.c | 8 +- fs/hfs/bnode.c | 1 + fs/hfsplus/super.c | 4 +- fs/jbd2/transaction.c | 50 ++- fs/ksmbd/smb2misc.c | 31 +- fs/ksmbd/smb2pdu.c | 28 +- fs/ksmbd/vfs_cache.c | 5 +- fs/nfs/nfs4proc.c | 4 +- fs/nfs/nfs4trace.h | 42 +- fs/nfsd/filecache.c | 44 +- fs/nfsd/nfs4layouts.c | 4 +- fs/nfsd/nfs4proc.c | 160 ++++---- fs/nfsd/nfs4state.c | 53 ++- fs/nfsd/nfssvc.c | 2 +- fs/nfsd/trace.h | 31 -- fs/nfsd/xdr4.h | 2 +- fs/ocfs2/move_extents.c | 34 +- fs/open.c | 5 +- fs/super.c | 21 +- fs/udf/file.c | 26 +- fs/udf/inode.c | 74 ++-- fs/udf/super.c | 1 + fs/udf/udf_i.h | 3 +- fs/udf/udf_sb.h | 2 + include/drm/drm_mipi_dsi.h | 4 + include/drm/drm_print.h | 2 +- include/linux/blkdev.h | 1 + include/linux/bpf.h | 7 + include/linux/context_tracking.h | 27 ++ include/linux/device.h | 1 + include/linux/fwnode.h | 12 +- include/linux/hid.h | 1 + include/linux/ima.h | 6 +- include/linux/kernel_stat.h | 2 +- include/linux/kobject.h | 2 +- include/linux/kprobes.h | 2 + include/linux/libnvdimm.h | 3 + include/linux/mlx4/qp.h | 1 + include/linux/nfs_ssc.h | 2 +- include/linux/poison.h | 3 + include/linux/rcupdate.h | 11 +- include/linux/rmap.h | 2 +- include/linux/sbitmap.h | 16 +- include/linux/transport_class.h | 8 +- include/linux/uaccess.h | 4 + include/net/sock.h | 7 +- include/sound/hda_codec.h | 1 + include/sound/soc-dapm.h | 1 + include/trace/events/devlink.h | 2 +- include/uapi/linux/io_uring.h | 2 +- include/uapi/linux/vfio.h | 15 +- include/ufs/ufshcd.h | 4 +- io_uring/io_uring.c | 13 +- io_uring/io_uring.h | 10 + io_uring/net.c | 2 +- io_uring/rsrc.c | 13 +- kernel/bpf/btf.c | 13 +- kernel/bpf/hashtab.c | 4 +- kernel/bpf/memalloc.c | 2 +- kernel/context_tracking.c | 12 +- kernel/exit.c | 7 + kernel/irq/irqdomain.c | 283 ++++++++----- kernel/kprobes.c | 27 +- kernel/locking/lockdep.c | 3 + kernel/locking/rwsem.c | 49 ++- kernel/panic.c | 49 ++- kernel/pid_namespace.c | 17 + kernel/power/energy_model.c | 5 +- kernel/rcu/srcutree.c | 9 +- kernel/rcu/tasks.h | 77 ++-- kernel/rcu/tree_exp.h | 2 + kernel/resource.c | 14 - kernel/sched/rt.c | 5 +- kernel/time/clocksource.c | 45 +- kernel/time/hrtimer.c | 2 + kernel/time/posix-stubs.c | 2 + kernel/time/posix-timers.c | 2 + kernel/time/test_udelay.c | 2 +- kernel/torture.c | 2 +- kernel/trace/blktrace.c | 4 +- kernel/trace/ring_buffer.c | 42 +- kernel/trace/trace.c | 2 +- kernel/workqueue.c | 41 +- lib/bug.c | 15 +- lib/errname.c | 22 +- lib/kobject.c | 20 +- lib/mpi/mpicoder.c | 3 +- lib/sbitmap.c | 135 ++---- mm/damon/paddr.c | 7 +- mm/huge_memory.c | 3 + mm/memcontrol.c | 4 + mm/memory-failure.c | 8 +- mm/memory-tiers.c | 4 +- mm/rmap.c | 2 +- net/bluetooth/hci_conn.c | 12 +- net/bluetooth/l2cap_core.c | 24 -- net/bluetooth/l2cap_sock.c | 8 + net/can/isotp.c | 3 + net/core/scm.c | 2 + net/core/sock.c | 15 +- net/ipv4/inet_hashtables.c | 12 +- net/l2tp/l2tp_ppp.c | 125 +++--- net/mac80211/cfg.c | 26 +- net/mac80211/ieee80211_i.h | 3 + net/mac80211/link.c | 3 + net/mac80211/rx.c | 32 +- net/mac80211/sta_info.c | 2 +- net/mac80211/tx.c | 2 +- net/netfilter/nf_tables_api.c | 3 + net/rds/message.c | 2 +- net/smc/af_smc.c | 2 + net/smc/smc_core.c | 17 +- net/sunrpc/clnt.c | 2 + net/wireless/nl80211.c | 2 +- net/wireless/sme.c | 48 ++- net/xdp/xsk.c | 59 +-- scripts/gcc-plugins/Makefile | 2 +- scripts/package/mkdebian | 2 +- security/integrity/ima/ima_api.c | 2 +- security/integrity/ima/ima_main.c | 9 +- security/security.c | 7 +- sound/pci/hda/Kconfig | 14 + sound/pci/hda/hda_codec.c | 13 +- sound/pci/hda/hda_controller.c | 1 + sound/pci/hda/hda_controller.h | 1 + sound/pci/hda/hda_intel.c | 8 +- sound/pci/hda/patch_ca0132.c | 2 +- sound/pci/hda/patch_realtek.c | 1 + sound/pci/ice1712/aureon.c | 2 +- sound/soc/atmel/mchp-spdifrx.c | 342 ++++++++++------ sound/soc/codecs/lpass-rx-macro.c | 12 +- sound/soc/codecs/lpass-tx-macro.c | 12 +- sound/soc/codecs/lpass-va-macro.c | 20 +- sound/soc/codecs/lpass-wsa-macro.c | 9 +- sound/soc/codecs/tlv320adcx140.c | 2 +- sound/soc/fsl/fsl_sai.c | 1 + sound/soc/kirkwood/kirkwood-dma.c | 2 +- sound/soc/qcom/qdsp6/q6apm-dai.c | 22 +- sound/soc/qcom/qdsp6/q6apm-lpass-dais.c | 5 + sound/soc/sh/rcar/rsnd.h | 4 +- sound/soc/soc-compress.c | 11 +- sound/soc/soc-topology.c | 2 +- tools/bootconfig/scripts/ftrace2bconf.sh | 2 +- tools/bpf/bpftool/Makefile | 3 +- tools/bpf/bpftool/prog.c | 38 +- tools/lib/bpf/bpf_tracing.h | 2 +- tools/lib/bpf/btf.c | 13 + tools/lib/bpf/nlattr.c | 2 +- tools/lib/thermal/sampling.c | 2 +- tools/objtool/check.c | 2 + tools/perf/Documentation/perf-intel-pt.txt | 30 ++ tools/perf/builtin-inject.c | 6 +- tools/perf/builtin-record.c | 16 +- tools/perf/perf-completion.sh | 11 +- tools/perf/tests/bpf.c | 6 +- tools/perf/tests/shell/stat_all_metrics.sh | 2 +- tools/perf/util/auxtrace.c | 3 + tools/perf/util/intel-pt.c | 6 + tools/perf/util/llvm-utils.c | 25 +- tools/power/x86/intel-speed-select/isst-config.c | 2 +- tools/testing/ktest/ktest.pl | 26 +- tools/testing/ktest/sample.conf | 5 + tools/testing/selftests/Makefile | 4 +- tools/testing/selftests/arm64/abi/syscall-abi.c | 8 + tools/testing/selftests/arm64/fp/Makefile | 2 +- .../selftests/arm64/signal/testcases/ssve_regs.c | 4 + .../selftests/arm64/signal/testcases/za_regs.c | 4 + tools/testing/selftests/arm64/tags/Makefile | 2 +- tools/testing/selftests/bpf/Makefile | 14 +- .../selftests/bpf/prog_tests/xdp_do_redirect.c | 4 + tools/testing/selftests/bpf/progs/map_kptr.c | 12 +- tools/testing/selftests/bpf/progs/test_bpf_nf.c | 11 +- tools/testing/selftests/bpf/xdp_synproxy.c | 1 + tools/testing/selftests/bpf/xskxceiver.c | 22 +- tools/testing/selftests/clone3/Makefile | 2 +- tools/testing/selftests/core/Makefile | 2 +- tools/testing/selftests/dmabuf-heaps/Makefile | 2 +- tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c | 3 +- tools/testing/selftests/drivers/dma-buf/Makefile | 2 +- .../selftests/drivers/net/netdevsim/devlink.sh | 18 + .../selftests/drivers/s390x/uvdevice/Makefile | 3 +- tools/testing/selftests/filesystems/Makefile | 2 +- .../selftests/filesystems/binderfs/Makefile | 2 +- tools/testing/selftests/filesystems/epoll/Makefile | 2 +- .../test.d/dynevent/eprobes_syntax_errors.tc | 4 +- .../ftrace/test.d/ftrace/func_event_triggers.tc | 2 +- tools/testing/selftests/futex/functional/Makefile | 2 +- tools/testing/selftests/gpio/Makefile | 2 +- tools/testing/selftests/ipc/Makefile | 2 +- tools/testing/selftests/kcmp/Makefile | 2 +- tools/testing/selftests/landlock/fs_test.c | 47 +++ tools/testing/selftests/landlock/ptrace_test.c | 113 +++++- tools/testing/selftests/media_tests/Makefile | 2 +- tools/testing/selftests/membarrier/Makefile | 2 +- tools/testing/selftests/mount_setattr/Makefile | 2 +- .../selftests/move_mount_set_group/Makefile | 2 +- tools/testing/selftests/net/fib_tests.sh | 2 + tools/testing/selftests/net/udpgso_bench_rx.c | 6 +- tools/testing/selftests/perf_events/Makefile | 2 +- tools/testing/selftests/pid_namespace/Makefile | 2 +- tools/testing/selftests/pidfd/Makefile | 2 +- tools/testing/selftests/powerpc/ptrace/Makefile | 2 +- tools/testing/selftests/powerpc/security/Makefile | 2 +- tools/testing/selftests/powerpc/syscalls/Makefile | 2 +- tools/testing/selftests/powerpc/tm/Makefile | 2 +- tools/testing/selftests/ptp/Makefile | 2 +- tools/testing/selftests/rseq/Makefile | 2 +- tools/testing/selftests/sched/Makefile | 2 +- tools/testing/selftests/seccomp/Makefile | 2 +- tools/testing/selftests/sync/Makefile | 2 +- tools/testing/selftests/user_events/Makefile | 2 +- tools/testing/selftests/vm/Makefile | 2 +- tools/testing/selftests/x86/Makefile | 2 +- tools/tracing/rtla/src/osnoise_hist.c | 5 +- virt/kvm/coalesced_mmio.c | 8 +- virt/kvm/kvm_main.c | 31 +- 844 files changed, 8124 insertions(+), 4745 deletions(-)
Greg Kroah-Hartman
maintainerPATCH 12/885 arm64: dts: imx8m: Align SoC unique ID node unit address
From: Marek Vasut <[email protected]>
[ Upstream commit ee0d68f219be8618f53d3f8808952e20525e3f30 ]
Align the SoC unique ID DT node unit address with its reg property.
--- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm.dtsi +1 -1
@@ -562,7 +562,7 @@ ocotp: efuse@30350000 { #address-cells = <1>; #size-cells = <1>; - imx8mm_uid: unique-id@410 { + imx8mm_uid: unique-id@4 { reg = <0x4 0x8>; };
arch/arm64/boot/dts/freescale/imx8mn.dtsi +1 -1
@@ -563,7 +563,7 @@ ocotp: efuse@30350000 { #address-cells = <1>; #size-cells = <1>; - imx8mn_uid: unique-id@410 { + imx8mn_uid: unique-id@4 { reg = <0x4 0x8>; };
arch/arm64/boot/dts/freescale/imx8mp.dtsi +1 -1
@@ -424,7 +424,7 @@ ocotp: efuse@30350000 { #address-cells = <1>; #size-cells = <1>; - imx8mp_uid: unique-id@420 { + imx8mp_uid: unique-id@8 { reg = <0x8 0x8>; };
arch/arm64/boot/dts/freescale/imx8mq.dtsi +1 -1
@@ -592,7 +592,7 @@ ocotp: efuse@30350000 { #address-cells = <1>; #size-cells = <1>; - imx8mq_uid: soc-uid@410 { + imx8mq_uid: soc-uid@4 { reg = <0x4 0x8>; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 21/885 arm64: dts: qcom: sc7180: correct SPMI bus address cells
In reply to Greg Kroah-HartmanFrom: Krzysztof Kozlowski <[email protected]>
[ Upstream commit 1f75745537222172f84783d369bbd1fb2d4b6414 ]
The SPMI bus uses two address cells and zero size cells (second reg entry - SPMI_USID - is not the size):
spmi@c440000: #address-cells:0:0: 2 was expected
--- arch/arm64/boot/dts/qcom/sc7180.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sc7180.dtsi +2 -2
@@ -3238,8 +3238,8 @@ spmi_bus: spmi@c440000 { interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; qcom,ee = <0>; qcom,channel = <0>; - #address-cells = <1>; - #size-cells = <1>; + #address-cells = <2>; + #size-cells = <0>; interrupt-controller; #interrupt-cells = <4>; cell-index = <0>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 22/885 arm64: dts: qcom: sc7280: correct SPMI bus address cells
In reply to Greg Kroah-HartmanFrom: Krzysztof Kozlowski <[email protected]>
[ Upstream commit 8da3786a91e56fe0c4aeb2c2209744474af6e517 ]
The SPMI bus uses two address cells and zero size cells (second reg entry - SPMI_USID - is not the size):
spmi@c440000: #address-cells:0:0: 2 was expected
--- arch/arm64/boot/dts/qcom/sc7280.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sc7280.dtsi +2 -2
@@ -4242,8 +4242,8 @@ spmi_bus: spmi@c440000 { interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; qcom,ee = <0>; qcom,channel = <0>; - #address-cells = <1>; - #size-cells = <1>; + #address-cells = <2>; + #size-cells = <0>; interrupt-controller; #interrupt-cells = <4>; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 23/885 arm64: dts: qcom: sc8280xp: correct SPMI bus address cells
In reply to Greg Kroah-HartmanFrom: Krzysztof Kozlowski <[email protected]>
[ Upstream commit 76d9e8b4d54ae2cb91a68f0cb82624887de767a7 ]
The SPMI bus uses two address cells and zero size cells (second reg entry - SPMI_USID - is not the size):
spmi@c440000: #address-cells:0:0: 2 was expected
--- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +2 -2
@@ -1470,8 +1470,8 @@ spmi_bus: spmi@c440000 { interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; qcom,ee = <0>; qcom,channel = <0>; - #address-cells = <1>; - #size-cells = <1>; + #address-cells = <2>; + #size-cells = <0>; interrupt-controller; #interrupt-cells = <4>; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 24/885 arm64: dts: qcom: sc8280xp: Vote for CX in USB controllers
In reply to Greg Kroah-HartmanFrom: Bjorn Andersson <[email protected]>
[ Upstream commit fe07640280cd29ac2997a617a1fb5487feef9387 ]
Running GCC_USB30_*_MASTER_CLK at 200MHz requires CX at nominal level, not doing so results in occasional lockups. This was previously hidden by the fact that the display stack incorrectly voted for CX (instead of MMCX).
--- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +2 -0
@@ -1287,6 +1287,7 @@ "ss_phy_irq"; power-domains = <&gcc USB30_PRIM_GDSC>; + required-opps = <&rpmhpd_opp_nom>; resets = <&gcc GCC_USB30_PRIM_BCR>;
@@ -1341,6 +1342,7 @@ "ss_phy_irq"; power-domains = <&gcc USB30_SEC_GDSC>; + required-opps = <&rpmhpd_opp_nom>; resets = <&gcc GCC_USB30_SEC_BCR>;
Greg Kroah-Hartman
maintainerPATCH 25/885 arm64: dts: meson-gxl: jethub-j80: Fix WiFi MAC address node
In reply to Greg Kroah-HartmanFrom: Martin Blumenstingl <[email protected]>
[ Upstream commit f95acdb2b4af21caae2c76a48e565158181386ca ]
Unit addresses should be written using lower-case hex characters. Use wifi_mac@c to fix a yaml schema validation error once the eFuse dt-bindings have been converted to a yaml schema:
efuse: Unevaluated properties are not allowed ('wifi_mac@C' was unexpected)
Also node names should use hyphens instead of underscores as the latter can also cause warnings.
--- .../boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts +1 -1
@@ -90,7 +90,7 @@ bt_mac: bt_mac@6 { reg = <0x6 0x6>; }; - wifi_mac: wifi_mac@C { + wifi_mac: wifi-mac@c { reg = <0xc 0x6>; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 26/885 arm64: dts: meson-gxl: jethub-j80: Fix Bluetooth MAC node name
In reply to Greg Kroah-HartmanFrom: Martin Blumenstingl <[email protected]>
[ Upstream commit cb199de1d3aecb02556d8a6e26393015effa0a9f ]
Node names should use hyphens instead of underscores to not cause warnings.
--- .../boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts +1 -1
@@ -86,7 +86,7 @@ sdio_pwrseq: sdio-pwrseq { }; &efuse { - bt_mac: bt_mac@6 { + bt_mac: bt-mac@6 { reg = <0x6 0x6>; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 27/885 arm64: dts: meson-axg: jethub-j1xx: Fix MAC address node names
In reply to Greg Kroah-HartmanFrom: Martin Blumenstingl <[email protected]>
[ Upstream commit 2f66eeb06e3e8b1cac9e9093be3baadbac2709eb ]
Node names should use hyphens instead of underscores to not cause warnings.
--- .../boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi +3 -3
@@ -168,15 +168,15 @@ sn: sn@32 { reg = <0x32 0x20>; }; - eth_mac: eth_mac@0 { + eth_mac: eth-mac@0 { reg = <0x0 0x6>; }; - bt_mac: bt_mac@6 { + bt_mac: bt-mac@6 { reg = <0x6 0x6>; }; - wifi_mac: wifi_mac@c { + wifi_mac: wifi-mac@c { reg = <0xc 0x6>; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 28/885 arm64: dts: meson-gx: Fix Ethernet MAC address unit name
In reply to Greg Kroah-HartmanFrom: Martin Blumenstingl <[email protected]>
[ Upstream commit 8ed5310356bfa47cc6bb4221ae6b21258c52e3d1 ]
Unit names should use hyphens instead of underscores to not cause warnings.
--- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx.dtsi +1 -1
@@ -232,7 +232,7 @@ sn: sn@14 { reg = <0x14 0x10>; }; - eth_mac: eth_mac@34 { + eth_mac: eth-mac@34 { reg = <0x34 0x10>; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 29/885 arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name
In reply to Greg Kroah-HartmanFrom: Martin Blumenstingl <[email protected]>
[ Upstream commit e7303651bbc76c848007f1cfac1fbeaa65f600d1 ]
Documentation/devicetree/bindings/net/ethernet-phy.yaml defines that the node name for Ethernet PHYs should match the following pattern:
^ethernet-phy(@[a-f0-9]+)?$
Replace the underscore with a hyphen to adhere to this binding.
--- arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +1 -1
@@ -1694,7 +1694,7 @@ int_mdio: mdio@1 { #address-cells = <1>; #size-cells = <0>; - internal_ephy: ethernet_phy@8 { + internal_ephy: ethernet-phy@8 { compatible = "ethernet-phy-id0180.3301", "ethernet-phy-ieee802.3-c22"; interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 30/885 arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit address
In reply to Greg Kroah-HartmanFrom: Martin Blumenstingl <[email protected]>
[ Upstream commit f189c869ad92787ddd753558bcbae89d75825bb6 ]
Node names should be generic and use hyphens instead of underscores to not cause warnings. Also nodes without a reg property should not have a unit-address. Change the scpi_dvfs node to use clock-controller as node name without a unit address (since it does not have a reg property).
--- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx.dtsi +1 -1
@@ -249,7 +249,7 @@ scpi { scpi_clocks: clocks { compatible = "arm,scpi-clocks"; - scpi_dvfs: scpi_clocks@0 { + scpi_dvfs: clock-controller { compatible = "arm,scpi-dvfs-clocks"; #clock-cells = <1>; clock-indices = <0>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 13/885 ARM: zynq: Fix refcount leak in zynq_early_slcr_init
In reply to Greg Kroah-HartmanFrom: Qiheng Lin <[email protected]>
[ Upstream commit 9eedb910a3be0005b88c696a8552c0d4c9937cd4 ]
of_find_compatible_node() returns a node pointer with refcount incremented, we should use of_node_put() on error path.
Add missing of_node_put() to avoid refcount leak.
--- arch/arm/mach-zynq/slcr.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-zynq/slcr.c +1 -0
@@ -213,6 +213,7 @@ int __init zynq_early_slcr_init(void) zynq_slcr_regmap =syscon_regmap_lookup_by_compatible ("xlnx,zynq-slcr" );if (IS_ERR (zynq_slcr_regmap)) {pr_err ("%s: failed to find zynq-slcr\n" , __func__); +of_node_put (np);return -ENODEV ; }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 31/885 cpuidle, intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE *again*
In reply to Greg Kroah-HartmanFrom: Peter Zijlstra <[email protected]>
[ Upstream commit 6d9c7f51b1d9179bf7c3542267c656a934e8af23 ]
So objtool found this bug:
vmlinux.o: warning: objtool: intel_idle_irq+0x10c: call to trace_hardirqs_off() leaves .noinstr.text section
As per commit 32d4fd5751ea ("cpuidle,intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE"):
"must not have tracing in idle functions"
Clearly people can't read and tinker along until splat dissapears. This straight up reverts commit d295ad34f236 ("intel_idle: Fix false positive RCU splats due to incorrect hardirqs state").
It doesn't re-introduce the problem because preceding patches fixed it properly.
--- drivers/idle/intel_idle.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
drivers/idle/intel_idle.c +1 -7
@@ -168,13 +168,7 @@ static __cpuidle int intel_idle_irq(struct cpuidle_device *dev,raw_local_irq_enable (); ret =__intel_idle (dev, drv, index); - -/* -* The lockdep hardirqs state may be changed to 'on' with timer -* tick interrupt followed by __do_softirq(). Use local_irq_disable() -* to keep the hardirqs state correct. -*/ -local_irq_disable (); +raw_local_irq_disable ();return ret; }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 32/885 arm64: dts: ti: k3-am62: Enable SPI nodes at the board level
In reply to Greg Kroah-HartmanFrom: Andrew Davis <[email protected]>
[ Upstream commit 361e8b7144405b78bd37cc3e9b2d23fc2e2ed6d5 ]
SPI nodes defined in the top-level AM62x SoC dtsi files are incomplete and will not be functional unless they are extended with pinmux information.
As the pinmux is only known at the board integration level, these nodes should only be enabled when provided with this information.
Disable the SPI nodes in the dtsi files and only enable the ones that are actually pinned out on a given board.
Stable-dep-of: 6be5d8e5d180 ("arm64: dts: ti: k3-am62-main: Fix clocks for McSPI")
--- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 3 +++ arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi | 2 ++ 2 files changed, 5 insertions(+)
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +3 -0
@@ -307,6 +307,7 @@ main_spi0: spi@20100000 { #size-cells = <0>; power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 172 0>; + status = "disabled"; }; main_spi1: spi@20110000 {
@@ -317,6 +318,7 @@ main_spi1: spi@20110000 { #size-cells = <0>; power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 173 0>; + status = "disabled"; }; main_spi2: spi@20120000 {
@@ -327,6 +329,7 @@ main_spi2: spi@20120000 { #size-cells = <0>; power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 174 0>; + status = "disabled"; }; main_gpio_intr: interrupt-controller@a00000 {
arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi +2 -0
@@ -42,6 +42,7 @@ mcu_spi0: spi@4b00000 { #size-cells = <0>; power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 147 0>; + status = "disabled"; }; mcu_spi1: spi@4b10000 {
@@ -52,6 +53,7 @@ mcu_spi1: spi@4b10000 { #size-cells = <0>; power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 148 0>; + status = "disabled"; }; mcu_gpio_intr: interrupt-controller@4210000 {
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 33/885 arm64: dts: ti: k3-am62-main: Fix clocks for McSPI
In reply to Greg Kroah-HartmanFrom: Dhruva Gole <[email protected]>
[ Upstream commit 6be5d8e5d1804eb4cec29cd8a85dc9cb18683b5d ]
Fixes the clock Device ID's in the DT according to the tisci docs clock identifiers for AM62x
--- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +3 -3
@@ -306,7 +306,7 @@ main_spi0: spi@20100000 { #address-cells = <1>; #size-cells = <0>; power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>; - clocks = <&k3_clks 172 0>; + clocks = <&k3_clks 141 0>; status = "disabled"; };
@@ -317,7 +317,7 @@ main_spi1: spi@20110000 { #address-cells = <1>; #size-cells = <0>; power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>; - clocks = <&k3_clks 173 0>; + clocks = <&k3_clks 142 0>; status = "disabled"; };
@@ -328,7 +328,7 @@ main_spi2: spi@20120000 { #address-cells = <1>; #size-cells = <0>; power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>; - clocks = <&k3_clks 174 0>; + clocks = <&k3_clks 143 0>; status = "disabled"; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 34/885 arm64: tegra: Fix duplicate regulator on Jetson TX1
In reply to Greg Kroah-HartmanFrom: Thierry Reding <[email protected]>
[ Upstream commit 29bcc1eaca315326d1cc883fbe9b451d1f9e3fa5 ]
When the top-level regulators were renamed, the 1.2V camera regulator accidentally ended up with the same DT node name as the 1.8V camera regulator.
--- arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi +1 -1
@@ -1666,7 +1666,7 @@ vdd_hdmi: regulator-vdd-hdmi { vin-supply = <&vdd_5v0_sys>; }; - vdd_cam_1v2: regulator-vdd-cam-1v8 { + vdd_cam_1v2: regulator-vdd-cam-1v2 { compatible = "regulator-fixed"; regulator-name = "vdd-cam-1v2"; regulator-min-microvolt = <1200000>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 35/885 arm64: dts: msm8992-bullhead: add memory hole region
In reply to Greg Kroah-HartmanFrom: Dominik Kobinski <[email protected]>
[ Upstream commit 22c7e1a0fa45cd7d028d6b4117161fd0e3427fe0 ]
Add region for memory hole present on bullhead in order to fix a reboot issue on recent kernels
Stable-dep-of: 26a91359aea4 ("arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem size")
--- arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi +6 -0
@@ -2,6 +2,7 @@ /* Copyright (c) 2015, LGE Inc. All rights reserved. * Copyright (c) 2016, The Linux Foundation. All rights reserved. * Copyright (c) 2021, Petr Vorel <[email protected]> + * Copyright (c) 2022, Dominik Kobinski <[email protected]> */ /dts-v1/;
@@ -50,6 +51,11 @@ cont_splash_mem: memory@3400000 { reg = <0 0x03400000 0 0x1200000>; no-map; }; + + removed_region: reserved@5000000 { + reg = <0 0x05000000 0 0x2200000>; + no-map; + }; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 36/885 arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem size
In reply to Greg Kroah-HartmanFrom: Petr Vorel <[email protected]>
[ Upstream commit 26a91359aea4d89e7d3646d806eed0f3755b74bd ]
Original google firmware reports 12 MiB:
[ 0.000000] cma: Found cont_splash_mem@0, memory base 0x0000000003400000, size 12 MiB, limit 0xffffffffffffffff
which is actually 12*1024*1024 = 0xc00000.
This matches the aosp source [1]:
&cont_splash_mem {
reg = <0 0x03400000 0 0xc00000>;
};--- arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi +2 -2
@@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2015, LGE Inc. All rights reserved. * Copyright (c) 2016, The Linux Foundation. All rights reserved. - * Copyright (c) 2021, Petr Vorel <[email protected]> + * Copyright (c) 2021-2022, Petr Vorel <[email protected]> * Copyright (c) 2022, Dominik Kobinski <[email protected]> */
@@ -48,7 +48,7 @@ ramoops@1ff00000 { }; cont_splash_mem: memory@3400000 { - reg = <0 0x03400000 0 0x1200000>; + reg = <0 0x03400000 0 0xc00000>; no-map; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 37/885 arm64: dts: qcom: msm8992-bullhead: Disable dfps_data_mem
In reply to Greg Kroah-HartmanFrom: Petr Vorel <[email protected]>
[ Upstream commit 4dee5aa44b924036511a744ceb3abb1ceeb96bb6 ]
It's disabled on downstream [1] thus not shown on downstream dmesg.
Removing it fixes warnings on v6.1:
[ 0.000000] OF: reserved mem: OVERLAP DETECTED! [ 0.000000] dfps_data_mem@3400000 (0x0000000003400000--0x0000000003401000) overlaps with memory@3400000 (0x0000000003400000--0x0000000004600000)
--- arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi +3 -0
@@ -14,6 +14,9 @@ /* cont_splash_mem has different memory mapping */ /delete-node/ &cont_splash_mem; +/* disabled on downstream, conflicts with cont_splash_mem */ +/delete-node/ &dfps_data_mem; + / { model = "LG Nexus 5X"; compatible = "lg,bullhead", "qcom,msm8992";
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 38/885 arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output names
In reply to Greg Kroah-HartmanFrom: Robert Marko <[email protected]>
[ Upstream commit 877cff3568c0f54511d77918ae16b2d6e9a0dfce ]
It seems that clock-output-names for the USB3 QMP PHY-s where set without actually checking what is the GCC clock driver expecting, so clock core could never actually find the parents for usb0_pipe_clk_src and usb1_pipe_clk_src clocks in the GCC driver.
So, correct the names to be what the driver expects so that parenting works.
Before:
gcc_usb0_pipe_clk_src 0 0 0 125000000 0 0 50000 Y gcc_usb1_pipe_clk_src 0 0 0 125000000 0 0 50000 Y
After:
usb3phy_0_cc_pipe_clk 1 1 0 125000000 0 0 50000 Y
usb0_pipe_clk_src 1 1 0 125000000 0 0 50000 Y
gcc_usb0_pipe_clk 1 1 0 125000000 0 0 50000 Y
usb3phy_1_cc_pipe_clk 1 1 0 125000000 0 0 50000 Y
usb1_pipe_clk_src 1 1 0 125000000 0 0 50000 Y
gcc_usb1_pipe_clk 1 1 0 125000000 0 0 50000 Y--- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +2 -2
@@ -137,7 +137,7 @@ usb1_ssphy: phy@58200 { #clock-cells = <0>; clocks = <&gcc GCC_USB1_PIPE_CLK>; clock-names = "pipe0"; - clock-output-names = "gcc_usb1_pipe_clk_src"; + clock-output-names = "usb3phy_1_cc_pipe_clk"; }; };
@@ -180,7 +180,7 @@ usb0_ssphy: phy@78200 { #clock-cells = <0>; clocks = <&gcc GCC_USB0_PIPE_CLK>; clock-names = "pipe0"; - clock-output-names = "gcc_usb0_pipe_clk_src"; + clock-output-names = "usb3phy_0_cc_pipe_clk"; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 39/885 arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY
In reply to Greg Kroah-HartmanFrom: Robert Marko <[email protected]>
[ Upstream commit 100d9c94ccf15b02742c326cd04f422ab729153b ]
Serdes register space sizes are incorrect, update them to match the actual sizes from downstream QCA 5.4 kernel.
--- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +2 -2
@@ -242,9 +242,9 @@ pcie_qmp1: phy@8e000 { status = "disabled"; pcie_phy1: phy@8e200 { - reg = <0x8e200 0x16c>, + reg = <0x8e200 0x130>, <0x8e400 0x200>, - <0x8e800 0x4f4>; + <0x8e800 0x1f8>; #phy-cells = <0>; #clock-cells = <0>; clocks = <&gcc GCC_PCIE1_PIPE_CLK>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 40/885 arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY
In reply to Greg Kroah-HartmanFrom: Robert Marko <[email protected]>
[ Upstream commit 7ba33591b45f9d547a317e42f1c2acd19c925eb6 ]
IPQ8074 comes in 2 silicon versions:
* v1 with 2x Gen2 PCIe ports and QMP PHY-s
* v2 with 1x Gen3 and 1x Gen2 PCIe ports and QMP PHY-s
v2 is the final and production version that is actually supported by the kernel, however it looks like PCIe related nodes were added for the v1 SoC.
Now that we have Gen3 QMP PHY support, we can start fixing the PCIe support by fixing the Gen3 QMP PHY node first.
Change the compatible to the Gen3 QMP PHY, correct the register space start and size, add the missing misc PCS register space.
--- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +8 -7
@@ -197,9 +197,9 @@ qusb_phy_0: phy@79000 { status = "disabled"; }; - pcie_qmp0: phy@86000 { - compatible = "qcom,ipq8074-qmp-pcie-phy"; - reg = <0x00086000 0x1c4>; + pcie_qmp0: phy@84000 { + compatible = "qcom,ipq8074-qmp-gen3-pcie-phy"; + reg = <0x00084000 0x1bc>; #address-cells = <1>; #size-cells = <1>; ranges;
@@ -213,10 +213,11 @@ pcie_qmp0: phy@86000 { "common"; status = "disabled"; - pcie_phy0: phy@86200 { - reg = <0x86200 0x16c>, - <0x86400 0x200>, - <0x86800 0x4f4>; + pcie_phy0: phy@84200 { + reg = <0x84200 0x16c>, + <0x84400 0x200>, + <0x84800 0x1f0>, + <0x84c00 0xf4>; #phy-cells = <0>; #clock-cells = <0>; clocks = <&gcc GCC_PCIE0_PIPE_CLK>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 14/885 arm64: dts: mediatek: mt8195: Add power domain to U3PHY1 T-PHY
In reply to Greg Kroah-HartmanFrom: AngeloGioacchino Del Regno <[email protected]>
[ Upstream commit a9f6721a3c92764582ed12296292fda4a7f2dd25 ]
Assign power domain to the U3PHY1 T-PHY in otder to keep this PHY alive after unused PD shutdown and to be able to completely cut and restore power to it, for example, to save some power during system suspend/sleep.
--- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/mediatek/mt8195.dtsi +1 -0
@@ -1410,6 +1410,7 @@ u3phy1: t-phy@11e30000 { #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0x11e30000 0xe00>; + power-domains = <&spm MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY>; status = "disabled"; u2port1: usb-phy@0 {
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 41/885 arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges
In reply to Greg Kroah-HartmanFrom: Robert Marko <[email protected]>
[ Upstream commit 2055cb7dccea16bafa3adf9c5e3216949512c34a ]
Current ranges property set in Gen2 PCIe node is incorrect, replace it with the downstream 5.4 QCA kernel value.
--- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +3 -3
@@ -751,9 +751,9 @@ pcie1: pci@10000000 { phy-names = "pciephy"; ranges = <0x81000000 0 0x10200000 0x10200000 - 0 0x100000 /* downstream I/O */ - 0x82000000 0 0x10300000 0x10300000 - 0 0xd00000>; /* non-prefetchable memory */ + 0 0x10000>, /* downstream I/O */ + <0x82000000 0 0x10220000 0x10220000 + 0 0xfde0000>; /* non-prefetchable memory */ interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "msi";
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 42/885 arm64: dts: qcom: ipq8074: fix Gen3 PCIe node
In reply to Greg Kroah-HartmanFrom: Robert Marko <[email protected]>
[ Upstream commit 3e83a9c41ab0244a45a4a2800b9adb8de0d15f82 ]
IPQ8074 comes in 2 silicon versions:
* v1 with 2x Gen2 PCIe ports and QMP PHY-s
* v2 with 1x Gen3 and 1x Gen2 PCIe ports and QMP PHY-s
v2 is the final and production version that is actually supported by the kernel, however it looks like PCIe related nodes were added for the v1 SoC.
Finish the PCIe fixup by using the correct compatible, adding missing ATU register space, declaring max-link-speed, use correct ranges, add missing clocks and resets.
--- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 30 +++++++++++++++------------ 1 file changed, 17 insertions(+), 13 deletions(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +17 -13
@@ -796,16 +796,18 @@ IRQ_TYPE_LEVEL_HIGH>, /* int_c */ }; pcie0: pci@20000000 { - compatible = "qcom,pcie-ipq8074"; + compatible = "qcom,pcie-ipq8074-gen3"; reg = <0x20000000 0xf1d>, <0x20000f20 0xa8>, - <0x00080000 0x2000>, + <0x20001000 0x1000>, + <0x00080000 0x4000>, <0x20100000 0x1000>; - reg-names = "dbi", "elbi", "parf", "config"; + reg-names = "dbi", "elbi", "atu", "parf", "config"; device_type = "pci"; linux,pci-domain = <0>; bus-range = <0x00 0xff>; num-lanes = <1>; + max-link-speed = <3>; #address-cells = <3>; #size-cells = <2>;
@@ -813,9 +815,9 @@ pcie0: pci@20000000 { phy-names = "pciephy"; ranges = <0x81000000 0 0x20200000 0x20200000 - 0 0x100000 /* downstream I/O */ - 0x82000000 0 0x20300000 0x20300000 - 0 0xd00000>; /* non-prefetchable memory */ + 0 0x10000>, /* downstream I/O */ + <0x82000000 0 0x20220000 0x20220000 + 0 0xfde0000>; /* non-prefetchable memory */ interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "msi";
@@ -833,28 +835,30 @@ IRQ_TYPE_LEVEL_HIGH>, /* int_c */ clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>, <&gcc GCC_PCIE0_AXI_M_CLK>, <&gcc GCC_PCIE0_AXI_S_CLK>, - <&gcc GCC_PCIE0_AHB_CLK>, - <&gcc GCC_PCIE0_AUX_CLK>; - + <&gcc GCC_PCIE0_AXI_S_BRIDGE_CLK>, + <&gcc GCC_PCIE0_RCHNG_CLK>; clock-names = "iface", "axi_m", "axi_s", - "ahb", - "aux"; + "axi_bridge", + "rchng"; + resets = <&gcc GCC_PCIE0_PIPE_ARES>, <&gcc GCC_PCIE0_SLEEP_ARES>, <&gcc GCC_PCIE0_CORE_STICKY_ARES>, <&gcc GCC_PCIE0_AXI_MASTER_ARES>, <&gcc GCC_PCIE0_AXI_SLAVE_ARES>, <&gcc GCC_PCIE0_AHB_ARES>, - <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>; + <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>, + <&gcc GCC_PCIE0_AXI_SLAVE_STICKY_ARES>; reset-names = "pipe", "sleep", "sticky", "axi_m", "axi_s", "ahb", - "axi_m_sticky"; + "axi_m_sticky", + "axi_s_sticky"; status = "disabled"; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 43/885 arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names
In reply to Greg Kroah-HartmanFrom: Robert Marko <[email protected]>
[ Upstream commit 0e8b90c0256cf9c9589e2cee517dedc987a34355 ]
Current PCIe QMP PHY output name were changed in ("arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes") however it did not account for the fact that GCC driver is relying on the old names to match them as they are being used as the parent for the gcc_pcie0_pipe_clk and gcc_pcie1_pipe_clk.
This broke parenting as GCC could not find the parent clock, so fix it by changing to the names that driver is expecting.
--- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +2 -2
@@ -222,7 +222,7 @@ pcie_phy0: phy@84200 { #clock-cells = <0>; clocks = <&gcc GCC_PCIE0_PIPE_CLK>; clock-names = "pipe0"; - clock-output-names = "pcie_0_pipe_clk"; + clock-output-names = "pcie20_phy0_pipe_clk"; }; };
@@ -250,7 +250,7 @@ pcie_phy1: phy@8e200 { #clock-cells = <0>; clocks = <&gcc GCC_PCIE1_PIPE_CLK>; clock-names = "pipe0"; - clock-output-names = "pcie_1_pipe_clk"; + clock-output-names = "pcie20_phy1_pipe_clk"; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 15/885 arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock description
In reply to Greg Kroah-HartmanFrom: Chen-Yu Tsai <[email protected]>
[ Upstream commit ce8a06b5bac75ccce99c0cf91b96b767d64f28a7 ]
The systimer block derives its 13 MHz clock by dividing the main 26 MHz oscillator clock by 2 internally, not through the TOPCKGEN clock controller.
On the MT8183 this divider is set either by power-on-reset or by the bootloader. The bootloader may then make the divider unconfigurable to, but can be read out by, the operating system.
Making the systimer block take the 26 MHz clock directly requires changing the implementations. As an ABI compatible fix, change the input clock of the systimer block a fixed factor divide-by-2 clock that takes the 26 MHz oscillator as its input.
--- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/mediatek/mt8183.dtsi +10 -2
@@ -585,6 +585,15 @@ psci { method = "smc"; }; + clk13m: fixed-factor-clock-13m { + compatible = "fixed-factor-clock"; + #clock-cells = <0>; + clocks = <&clk26m>; + clock-div = <2>; + clock-mult = <1>; + clock-output-names = "clk13m"; + }; + clk26m: oscillator { compatible = "fixed-clock"; #clock-cells = <0>;
@@ -968,8 +977,7 @@ systimer: timer@10017000 { "mediatek,mt6765-timer"; reg = <0 0x10017000 0 0x1000>; interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&topckgen CLK_TOP_CLK13M>; - clock-names = "clk13m"; + clocks = <&clk13m>; }; iommu: iommu@10205000 {
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 16/885 arm64: dts: mediatek: mt8192: Fix systimer 13 MHz clock description
In reply to Greg Kroah-HartmanFrom: Chen-Yu Tsai <[email protected]>
[ Upstream commit f19f68e56b0c6631984a9f5023035d4bd09612bb ]
The systimer block derives its 13 MHz clock by dividing the main 26 MHz oscillator clock by 2 internally, not through the TOPCKGEN clock controller.
On the MT8192 this divider is fixed to /2 and is not configurable.
Making the systimer block take the 26 MHz clock directly requires changing the implementations. As an ABI compatible fix, change the input clock of the systimer block a fixed factor divide-by-2 clock that takes the 26 MHz oscillator as its input.
--- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +10 -2
@@ -29,6 +29,15 @@ aliases { rdma4 = &rdma4; }; + clk13m: fixed-factor-clock-13m { + compatible = "fixed-factor-clock"; + #clock-cells = <0>; + clocks = <&clk26m>; + clock-div = <2>; + clock-mult = <1>; + clock-output-names = "clk13m"; + }; + clk26m: oscillator0 { compatible = "fixed-clock"; #clock-cells = <0>;
@@ -531,8 +540,7 @@ systimer: timer@10017000 { "mediatek,mt6765-timer"; reg = <0 0x10017000 0 0x1000>; interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH 0>; - clocks = <&topckgen CLK_TOP_CSW_F26M_D2>; - clock-names = "clk13m"; + clocks = <&clk13m>; }; pwrap: pwrap@10026000 {
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 17/885 arm64: dts: mediatek: mt8195: Fix systimer 13 MHz clock description
In reply to Greg Kroah-HartmanFrom: Chen-Yu Tsai <[email protected]>
[ Upstream commit 0f1c806b65d136a5fe0b88adad5ff1cb451fc401 ]
The systimer block derives its 13 MHz clock by dividing the main 26 MHz oscillator clock by 2 internally, not through the TOPCKGEN clock controller.
On the MT8195 this divider is set either by power-on-reset or by the bootloader. The bootloader may then make the divider unconfigurable to, but can be read out by, the operating system.
Making the systimer block take the 26 MHz clock directly requires changing the implementations. As an ABI compatible fix, change the input clock of the systimer block a fixed factor divide-by-2 clock that takes the 26 MHz oscillator as its input.
--- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt8195.dtsi +10 -1
@@ -244,6 +244,15 @@ sound: mt8195-sound { status = "disabled"; }; + clk13m: fixed-factor-clock-13m { + compatible = "fixed-factor-clock"; + #clock-cells = <0>; + clocks = <&clk26m>; + clock-div = <2>; + clock-mult = <1>; + clock-output-names = "clk13m"; + }; + clk26m: oscillator-26m { compatible = "fixed-clock"; #clock-cells = <0>;
@@ -701,7 +710,7 @@ systimer: timer@10017000 { "mediatek,mt6765-timer"; reg = <0 0x10017000 0 0x1000>; interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH 0>; - clocks = <&topckgen CLK_TOP_CLK26M_D2>; + clocks = <&clk13m>; }; pwrap: pwrap@10024000 {
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 18/885 arm64: dts: mediatek: mt8186: Fix systimer 13 MHz clock description
In reply to Greg Kroah-HartmanFrom: Chen-Yu Tsai <[email protected]>
[ Upstream commit b391efba57ff085233d5ead5e01817bf4b71d999 ]
The systimer block derives its 13 MHz clock by dividing the main 26 MHz oscillator clock by 2 internally. The 13 MHz clock is not a separate oscillator.
Fix this by making the 13 MHz clock a divide-by-2 fixed factor clock, taking its input from the main 26 MHz oscillator.
--- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/mediatek/mt8186.dtsi +5 -3
@@ -211,10 +211,12 @@ l3_0: l3-cache { }; }; - clk13m: oscillator-13m { - compatible = "fixed-clock"; + clk13m: fixed-factor-clock-13m { + compatible = "fixed-factor-clock"; #clock-cells = <0>; - clock-frequency = <13000000>; + clocks = <&clk26m>; + clock-div = <2>; + clock-mult = <1>; clock-output-names = "clk13m"; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 19/885 arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt pin name
In reply to Greg Kroah-HartmanFrom: Krzysztof Kozlowski <[email protected]>
[ Upstream commit 740862bb5f59b93efb390a417995f88a64bdc323 ]
The pin config entry should have a string, not number, for the GPIO used as WCD9340 audio codec interrupt.
--- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sdm845-db845c.dts +1 -1
@@ -969,7 +969,7 @@ sdc2_card_det_n: sd-card-det-n { }; wcd_intr_default: wcd_intr_default { - pins = <54>; + pins = "gpio54"; function = "gpio"; input-enable;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 20/885 x86/acpi/boot: Do not register processors that cannot be onlined for x2APIC
In reply to Greg Kroah-HartmanFrom: Kishon Vijay Abraham I <[email protected]>
[ Upstream commit e2869bd7af608c343988429ceb1c2fe99644a01f ]
Section 5.2.12.12 Processor Local x2APIC Structure in the ACPI v6.5 spec mandates that both "enabled" and "online capable" Local APIC Flags should be used to determine if the processor is usable or not.
However, Linux doesn't use the "online capable" flag for x2APIC to determine if the processor is usable. As a result, cpu_possible_mask has incorrect value and results in more memory getting allocated for per_cpu variables than it is going to be used.
Make sure Linux parses both "enabled" and "online capable" flags for x2APIC to correctly determine if the processor is usable.
--- arch/x86/kernel/acpi/boot.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-)
arch/x86/kernel/acpi/boot.c +16 -3
@@ -188,6 +188,17 @@ static int acpi_register_lapic(int id, u32 acpiid, u8 enabled)return cpu; } +static bool __init acpi_is_processor_usable (u32 lapic_flags) +{ +if (lapic_flags &ACPI_MADT_ENABLED ) +return true; + +if (acpi_support_online_capable && (lapic_flags &ACPI_MADT_ONLINE_CAPABLE )) +return true; + +return false; +} +static int __init acpi_parse_x2apic (union acpi_subtable_headers *header,const unsigned long end) {
@@ -212,6 +223,10 @@ acpi_parse_x2apic(union acpi_subtable_headers *header, const unsigned long end)if (apic_id ==0xffffffff )return 0 ; +/* don't register processors that cannot be onlined */ +if (!acpi_is_processor_usable (processor->lapic_flags)) +return 0 ; +/* * We need to register disabled CPU as well to permit * counting disabled CPUs. This allows us to size
@@ -250,9 +265,7 @@ acpi_parse_lapic(union acpi_subtable_headers * header, const unsigned long end)return 0 ;/* don't register processors that can not be onlined */ -if (acpi_support_online_capable && - !(processor->lapic_flags &ACPI_MADT_ENABLED ) && - !(processor->lapic_flags &ACPI_MADT_ONLINE_CAPABLE )) +if (!acpi_is_processor_usable (processor->lapic_flags))return 0 ;/*
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 11/885 arm64: dts: qcom: sm6125-seine: Clean up gpio-keys (volume down)
In reply to Greg Kroah-HartmanFrom: Marijn Suijten <[email protected]>
[ Upstream commit a9f6a13da473bb6c7406d2784d9e3792f6763cba ]
- Remove autorepeat (leave key repetition to userspace);
- Remove unneeded status = "okay" (this is the default);
- Remove unneeded linux,input-type <EV_KEY> (this is the default for gpio-keys);
- Allow the interrupt line for this button to be disabled;
- Use a full, descriptive node name;
- Set proper bias on the GPIO via pinctrl;
- Sort properties;
- Replace deprecated gpio-key,wakeup property with wakeup-source.
--- .../qcom/sm6125-sony-xperia-seine-pdx201.dts | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-)
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts +14 -5
@@ -40,17 +40,18 @@ extcon_usb: extcon-usb { }; gpio-keys { - status = "okay"; compatible = "gpio-keys"; - autorepeat; - key-vol-dn { + pinctrl-0 = <&vol_down_n>; + pinctrl-names = "default"; + + key-volume-down { label = "Volume Down"; gpios = <&tlmm 47 GPIO_ACTIVE_LOW>; - linux,input-type = <1>; linux,code = <KEY_VOLUMEDOWN>; - gpio-key,wakeup; debounce-interval = <15>; + linux,can-disable; + wakeup-source; }; };
@@ -108,6 +109,14 @@ &sdhc_1 { &tlmm { gpio-reserved-ranges = <22 2>, <28 6>; + + vol_down_n: vol-down-n-state { + pins = "gpio47"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + input-enable; + }; }; &usb3 {
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 45/885 ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
In reply to Greg Kroah-HartmanFrom: Yang Yingliang <[email protected]>
[ Upstream commit 0414a100d6ab32721efa70ab55524540fdfe0ede ]
If platform_device_add() is not called or failed, it should call platform_device_put() in error case.
Message-Id: <[email protected]>
--- arch/arm/mach-omap1/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap1/timer.c +1 -1
@@ -158,7 +158,7 @@ static int __init omap1_dm_timer_init(void)kfree (pdata); err_free_pdev: -platform_device_unregister (pdev); +platform_device_put (pdev);return ret; }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 54/885 arm64: dts: amlogic: meson-gx: add missing SCPI sensors compatible
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit 2ff650051493d5bdb6dd09d4c2850bb37db6be31 ]
Fixes:
scpi: sensors:compatible: 'oneOf' conditional failed, one must be fixed:
['amlogic,meson-gxbb-scpi-sensors'] is too short 'arm,scpi-sensors' was expected
--- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-axg.dtsi +1 -1
@@ -161,7 +161,7 @@ scpi_dvfs: clocks-0 { }; scpi_sensors: sensors { - compatible = "amlogic,meson-gxbb-scpi-sensors"; + compatible = "amlogic,meson-gxbb-scpi-sensors", "arm,scpi-sensors"; #thermal-sensor-cells = <1>; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 55/885 arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix supply name of USB controller node
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit a69cb1042cea840bc7b60fea1c26a6b259e68bf2 ]
Fixes:
usb@ffe09080: 'phy-supply' does not match any of the regexes: '^usb@[0-9a-f]+$', 'pinctrl-[0-9]+'
--- arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi +1 -1
@@ -303,7 +303,7 @@ &uart_AO_B { &usb { status = "okay"; - phy-supply = <&usb_pwr>; + vbus-supply = <&usb_pwr>; }; &spicc1 {
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 56/885 arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid clock-names property
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit e3bd275ccbacf5eb18eaa311cea39f8bf8655feb ]
Fixes:
bluetooth: 'clock-names' does not match any of the regexes: 'pinctrl-[0-9]+'
--- arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 1 - 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts +0 -1
@@ -79,6 +79,5 @@ bluetooth { enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; max-speed = <2000000>; clocks = <&wifi32k>; - clock-names = "lpo"; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 57/885 arm64: dts: amlogic: meson-gx: add missing unit address to rng node name
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit 61ff70708b98a85516eccb3755084ac97b42cf48 ]
Fixes:
bus@c8834000: rng: {...} should not be valid under {'type': 'object'}
--- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx.dtsi +1 -1
@@ -531,7 +531,7 @@ periphs: bus@c8834000 { #size-cells = <2>; ranges = <0x0 0x0 0x0 0xc8834000 0x0 0x2000>; - hwrng: rng { + hwrng: rng@0 { compatible = "amlogic,meson-rng"; reg = <0x0 0x0 0x0 0x4>; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 58/885 arm64: dts: amlogic: meson-gxl-s905w-jethome-jethub-j80: fix invalid rtc node name
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit 11172a97c092eaeb0a65c6434df0fc73f886a495 ]
Fixes:
pcf8563@51: $nodename:0: 'pcf8563@51' does not match '^rtc(@.*|-[0-9a-f])*$'
--- .../boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts +1 -1
@@ -239,7 +239,7 @@ &i2c_B { pinctrl-names = "default"; pinctrl-0 = <&i2c_b_pins>; - pcf8563: pcf8563@51 { + pcf8563: rtc@51 { compatible = "nxp,pcf8563"; reg = <0x51>; status = "okay";
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 59/885 arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix invalid rtc node name
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit 956f52025c5dd92c80c12e31c99c854086a6fc55 ]
Fixes:
pcf8563@51: $nodename:0: 'pcf8563@51' does not match '^rtc(@.*|-[0-9a-f])*$'
--- arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi +1 -1
@@ -217,7 +217,7 @@ &i2c1 { pinctrl-names = "default"; /* RTC */ - pcf8563: pcf8563@51 { + pcf8563: rtc@51 { compatible = "nxp,pcf8563"; reg = <0x51>; status = "okay";
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 60/885 arm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit d19189f70ba596798ea49166d2d1ef36a8df5289 ]
Fixes:
bus@c8834000: eth-phy-mux: {...} should not be valid under {'type': 'object'}
--- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +1 -1
@@ -759,7 +759,7 @@ mux { }; }; - eth-phy-mux { + eth-phy-mux@55c { compatible = "mdio-mux-mmioreg", "mdio-mux"; #address-cells = <1>; #size-cells = <0>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 61/885 arm64: dts: amlogic: meson-gx-libretech-pc: fix update button name
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit 6bb506ed36968207a8832f0143ebc127f0770eef ]
Fixes:
adc-keys: 'update-button' does not match any of the regexes: '^button-', 'pinctrl-[0-9]+'
--- arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi +1 -1
@@ -17,7 +17,7 @@ adc-keys { io-channel-names = "buttons"; keyup-threshold-microvolt = <1800000>; - update-button { + button-update { label = "update"; linux,code = <KEY_VENDOR>; press-threshold-microvolt = <1300000>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 62/885 arm64: dts: amlogic: meson-sm1-bananapi-m5: fix adc keys node names
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit d519a73332b6c3d14e15f8fd20d7c6f29ed13d41 ]
Fixes:adc_keys: 'key' does not match any of the regexes: '^button-', 'pinctrl-[0-9]+'
Also fix the invalid "adc_keys" node name.
--- arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts +2 -2
@@ -17,13 +17,13 @@ / { compatible = "bananapi,bpi-m5", "amlogic,sm1"; model = "Banana Pi BPI-M5"; - adc_keys { + adc-keys { compatible = "adc-keys"; io-channels = <&saradc 2>; io-channel-names = "buttons"; keyup-threshold-microvolt = <1800000>; - key { + button-sw3 { label = "SW3"; linux,code = <BTN_3>; press-threshold-microvolt = <1700000>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 63/885 arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit eee64d8fbbdaab72bbab3e462f3a7b742d20c8c2 ]
Fixes:
leds: status: {...} is not of type 'array'
--- arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts +1 -1
@@ -18,7 +18,7 @@ cvbs-connector { leds { compatible = "gpio-leds"; - status { + led { label = "n1:white:status"; gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>; default-state = "on";
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 46/885 arm64: dts: mediatek: mt8192: Mark scp_adsp clock as broken
In reply to Greg Kroah-HartmanFrom: Chen-Yu Tsai <[email protected]>
[ Upstream commit 089cd717e6ef03cf9cf7865777d67775de41339b ]
The scp_adsp clock controller is under the SCP_ADSP power domain. This power domain is currently not supported nor defined.
Mark the clock controller as broken for now, to avoid the system from trying to access it, and causing the CPU or bus to stall.
--- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +2 -0
@@ -583,6 +583,8 @@ scp_adsp: clock-controller@10720000 { compatible = "mediatek,mt8192-scp_adsp"; reg = <0 0x10720000 0 0x1000>; #clock-cells = <1>; + /* power domain dependency not upstreamed */ + status = "fail"; }; uart0: serial@11002000 {
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 64/885 arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node name
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit afdef3b188c934f79ad4b0a7bd8c692742f9b5af ]
Fixes:
leds: status: {...} is not of type 'array'
--- arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts +1 -1
@@ -16,7 +16,7 @@ / { leds { compatible = "gpio-leds"; - status { + led { gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>; default-state = "off"; color = <LED_COLOR_ID_RED>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 65/885 arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal trip
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit 1d2f14117aa7773efff50f832b85fc7779e586e0 ]
Add an active trip tied to the on-board fan cooling device, which is better than describing it along the passive cooling maps.
--- arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts +9 -1
@@ -76,9 +76,17 @@ sound { }; &cpu_thermal { + trips { + cpu_active: cpu-active { + temperature = <60000>; /* millicelsius */ + hysteresis = <2000>; /* millicelsius */ + type = "active"; + }; + }; + cooling-maps { map { - trip = <&cpu_passive>; + trip = <&cpu_active>; cooling-device = <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 66/885 locking/rwsem: Disable preemption in all down_read*() and up_read() code paths
In reply to Greg Kroah-HartmanFrom: Waiman Long <[email protected]>
[ Upstream commit 3f5245538a1964ae186ab7e1636020a41aa63143 ]
Commit:
91d2a812dfb9 ("locking/rwsem: Make handoff writer optimistically spin on owner")
... assumes that when the owner field is changed to NULL, the lock will become free soon. But commit:
48dfb5d2560d ("locking/rwsem: Disable preemption while trying for rwsem lock")
... disabled preemption when acquiring rwsem for write.
However, preemption has not yet been disabled when acquiring a read lock on a rwsem. So a reader can add a RWSEM_READER_BIAS to count without setting owner to signal a reader, got preempted out by a RT task which then spins in the writer slowpath as owner remains NULL leading to live lock.
One easy way to fix this problem is to disable preemption at all the down_read*() and up_read() code paths as implemented in this patch.
--- kernel/locking/rwsem.c | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-)
kernel/locking/rwsem.c +24 -6
@@ -1092,7 +1092,7 @@ rwsem_down_read_slowpath(struct rw_semaphore *sem, long count, unsigned int stat/* Ordered by sem->wait_lock against rwsem_mark_wake(). */ break ; } -schedule (); +schedule_preempt_disabled ();lockevent_inc (rwsem_sleep_reader); }
@@ -1254,14 +1254,20 @@ static struct rw_semaphore *rwsem_downgrade_wake(struct rw_semaphore *sem)*/ static inline int __down_read_common (struct rw_semaphore *sem,int state) { +int ret =0 ;long count; +preempt_disable ();if (!rwsem_read_trylock (sem, &count)) { -if (IS_ERR (rwsem_down_read_slowpath (sem, count, state))) -return -EINTR ; +if (IS_ERR (rwsem_down_read_slowpath (sem, count, state))) { + ret = -EINTR ; + goto out; + }DEBUG_RWSEMS_WARN_ON (!is_rwsem_reader_owned (sem), sem); } -return 0 ; +out: +preempt_enable (); +return ret; }static inline void __down_read (struct rw_semaphore *sem)
@@ -1281,19 +1287,23 @@ static inline int __down_read_killable(struct rw_semaphore *sem)static inline int __down_read_trylock (struct rw_semaphore *sem) { +int ret =0 ;long tmp;DEBUG_RWSEMS_WARN_ON (sem->magic != sem, sem); +preempt_disable (); tmp =atomic_long_read (&sem->count);while (!(tmp &RWSEM_READ_FAILED_MASK )) {if (atomic_long_try_cmpxchg_acquire (&sem->count, &tmp, tmp +RWSEM_READER_BIAS )) {rwsem_set_reader_owned (sem); -return 1 ; + ret =1 ; +break ; } } -return 0 ; +preempt_enable (); +return ret; }/*
@@ -1335,6 +1345,7 @@ static inline void __up_read(struct rw_semaphore *sem)DEBUG_RWSEMS_WARN_ON (sem->magic != sem, sem);DEBUG_RWSEMS_WARN_ON (!is_rwsem_reader_owned (sem), sem); +preempt_disable ();rwsem_clear_reader_owned (sem); tmp =atomic_long_add_return_release (-RWSEM_READER_BIAS , &sem->count);DEBUG_RWSEMS_WARN_ON (tmp <0 , sem);
@@ -1343,6 +1354,7 @@ static inline void __up_read(struct rw_semaphore *sem)clear_nonspinnable (sem);rwsem_wake (sem); } +preempt_enable (); }/*
@@ -1662,6 +1674,12 @@ void down_read_non_owner(struct rw_semaphore *sem) {might_sleep ();__down_read (sem); +/* +* The owner value for a reader-owned lock is mostly for debugging +* purpose only and is not critical to the correct functioning of +* rwsem. So it is perfectly fine to set it in a preempt-enabled +* context here. +*/ __rwsem_set_reader_owned (sem,NULL ); }EXPORT_SYMBOL (down_read_non_owner);
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 67/885 arm64: dts: renesas: beacon-renesom: Fix gpio expander reference
In reply to Greg Kroah-HartmanFrom: Adam Ford <[email protected]>
[ Upstream commit d7f9492dfc03153ac56ab59066a196558748f575 ]
The board used to originally introduce the Beacon Embedded RZ/G2[M/N/H] boards had a GPIO expander with address 20, but this was changed when the final board went to production.
The production boards changed both the part itself and the address. With the incorrect address, the LCD cannot come up. If the LCD fails, the rcar-du driver fails to come up, and that also breaks HDMI.
Pre-release board were not shipped to the general public, so it should be safe to push this as a fix. Anyone with a production board would have video fail due to this GPIO expander change.
--- .../dts/renesas/beacon-renesom-baseboard.dtsi | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +10 -14
@@ -437,20 +437,6 @@ wm8962_endpoint: endpoint { }; }; - /* 0 - lcd_reset */ - /* 1 - lcd_pwr */ - /* 2 - lcd_select */ - /* 3 - backlight-enable */ - /* 4 - Touch_shdwn */ - /* 5 - LCD_H_pol */ - /* 6 - lcd_V_pol */ - gpio_exp1: gpio@20 { - compatible = "onnn,pca9654"; - reg = <0x20>; - gpio-controller; - #gpio-cells = <2>; - }; - touchscreen@26 { compatible = "ilitek,ili2117"; reg = <0x26>;
@@ -482,6 +468,16 @@ hd3ss3220_out_ep: endpoint { }; }; }; + + gpio_exp1: gpio@70 { + compatible = "nxp,pca9538"; + reg = <0x70>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "lcd_reset", "lcd_pwr", "lcd_select", + "backlight-enable", "Touch_shdwn", + "LCD_H_pol", "lcd_V_pol"; + }; }; &lvds0 {
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 68/885 arm64: dts: meson: radxa-zero: allow usb otg mode
In reply to Greg Kroah-HartmanFrom: Christian Hewitt <[email protected]>
[ Upstream commit ce43ea00b927805c1fd0450ccc9b4b6069e292c5 ]
Setting dr_mode to "host" prevents otg which can be useful on a board with limited connectivity options. So don't force host mode.
--- arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts | 1 - 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts +0 -1
@@ -401,5 +401,4 @@ &uart_AO { &usb { status = "okay"; - dr_mode = "host"; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 69/885 arm64: dts: meson: bananapi-m5: switch VDDIO_C pin to OPEN_DRAIN
In reply to Greg Kroah-HartmanFrom: Christian Hewitt <[email protected]>
[ Upstream commit 856968e066bd77b113965f1a355ec7401edff65f ]
For proper warm (re)boot from SD card the BPI-M5 board requires TFLASH_VDD_EN and VDDIO_C pins to be switched to high impedance mode. This can be achieved using OPEN_DRAIN instead of ACTIVE_HIGH to leave the GPIO pins in input mode and retain high state (pin has the pull-up).
This change is inspired by meson-sm1-odroid.dtsi where OPEN_DRAIN has been used to resolve similar problems with the Odroid C4 board (TF_IO in the C4 dts is the equivalent regulator).
--- arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts +1 -1
@@ -123,7 +123,7 @@ vddio_c: regulator-vddio_c { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; - enable-gpio = <&gpio_ao GPIOE_2 GPIO_ACTIVE_HIGH>; + enable-gpio = <&gpio_ao GPIOE_2 GPIO_OPEN_DRAIN>; enable-active-high; regulator-always-on;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 70/885 ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference
In reply to Greg Kroah-HartmanFrom: Samuel Holland <[email protected]>
[ Upstream commit 2177d4ae971f79b4a9a3c411f2fb8ae6113d1430 ]
The property named in the schema is 'enable-gpios', not 'enable-gpio'. This makes no difference at runtime, because the regulator is marked as always-on, but it breaks validation.
--- arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts +1 -1
@@ -57,7 +57,7 @@ reg_vdd_cpux: vdd-cpux-regulator { regulator-ramp-delay = <50>; /* 4ms */ enable-active-high; - enable-gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */ + enable-gpios = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */ gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ gpios-states = <0x1>; states = <1100000 0>, <1300000 1>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 71/885 ublk_drv: remove nr_aborted_queues from ublk_device
In reply to Greg Kroah-HartmanFrom: Ming Lei <[email protected]>
[ Upstream commit ed878d1c1c641c4a6bd366658fc8e6bc842b80d1 ]
No one uses 'nr_aborted_queues' any more, so remove it.
Stable-dep-of: 73a166d97492 ("ublk_drv: don't probe partitions if the ubq daemon isn't trusted")
--- drivers/block/ublk_drv.c | 1 - 1 file changed, 1 deletion(-)
drivers/block/ublk_drv.c +0 -1
@@ -159,7 +159,6 @@ struct ublk_device {struct completion completion;unsigned int nr_queues_ready; -atomic_t nr_aborted_queues;/* * Our ubq->daemon may be killed without any notification, so
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 72/885 ublk_drv: dont probe partitions if the ubq daemon isnt trusted
In reply to Greg Kroah-HartmanFrom: Ming Lei <[email protected]>
[ Upstream commit 73a166d9749230d598320fdae3b687cdc0e2e205 ]
If any ubq daemon is unprivileged, the ublk char device is allowed for unprivileged user actually, and we can't trust the current user, so not probe partitions.
--- drivers/block/ublk_drv.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/block/ublk_drv.c +9 -0
@@ -159,6 +159,7 @@ struct ublk_device {struct completion completion;unsigned int nr_queues_ready; +unsigned int nr_privileged_daemon;/* * Our ubq->daemon may be killed without any notification, so
@@ -1178,6 +1179,9 @@ static void ublk_mark_io_ready(struct ublk_device *ub, struct ublk_queue *ubq) ubq->ubq_daemon = current;get_task_struct (ubq->ubq_daemon); ub->nr_queues_ready++; + +if (capable (CAP_SYS_ADMIN )) + ub->nr_privileged_daemon++; }if (ub->nr_queues_ready == ub->dev_info.nr_hw_queues)complete_all (&ub->completion);
@@ -1534,6 +1538,10 @@ static int ublk_ctrl_start_dev(struct io_uring_cmd *cmd)if (ret) goto out_put_disk; +/* don't probe partitions if any one ubq daemon is un-trusted */ +if (ub->nr_privileged_daemon != ub->nr_queues_ready) +set_bit (GD_SUPPRESS_PART_SCAN , &disk->state); +get_device (&ub->cdev_dev); ret =add_disk (disk);if (ret) {
@@ -1935,6 +1943,7 @@ static int ublk_ctrl_start_recovery(struct io_uring_cmd *cmd)/* set to NULL, otherwise new ubq_daemon cannot mmap the io_cmd_buf */ ub->mm =NULL ; ub->nr_queues_ready =0 ; + ub->nr_privileged_daemon =0 ;init_completion (&ub->completion); ret =0 ; out_unlock:
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 73/885 ARM: dts: imx7s: correct iomuxc gpr mux controller cells
In reply to Greg Kroah-HartmanFrom: Peng Fan <[email protected]>
[ Upstream commit 0e3e1946606a2919b1dda9967ab2e1c5af2fedd6 ]
Per binding doc reg-mux.yaml, the #mux-control-cells should be 1
--- arch/arm/boot/dts/imx7s.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx7s.dtsi +1 -1
@@ -513,7 +513,7 @@ gpr: iomuxc-gpr@30340000 { mux: mux-controller { compatible = "mmio-mux"; - #mux-control-cells = <0>; + #mux-control-cells = <1>; mux-reg-masks = <0x14 0x00000010>; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 47/885 ARM: bcm2835_defconfig: Enable the framebuffer
In reply to Greg Kroah-HartmanFrom: Stefan Wahren <[email protected]>
[ Upstream commit afc8dd99840b7fb7190e769a893cda673bc3a907 ]
Booting Linux on a Raspberry Pi based on bcm2835_defconfig there is no display activity.
Enable CONFIG_FB which is nowadays required for CONFIG_FB_SIMPLE and CONFIG_FRAMEBUFFER_CONSOLE.
--- arch/arm/configs/bcm2835_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/bcm2835_defconfig +1 -0
@@ -107,6 +107,7 @@ CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_DRM=y CONFIG_DRM_V3D=y CONFIG_DRM_VC4=y +CONFIG_FB=y CONFIG_FB_SIMPLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_SOUND=y
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 74/885 sbitmap: remove redundant check in __sbitmap_queue_get_batch
In reply to Greg Kroah-HartmanFrom: Kemeng Shi <[email protected]>
[ Upstream commit 903e86f3a64d9573352bbab2f211fdbbaa5772b7 ]
Commit fbb564a557809 ("lib/sbitmap: Fix invalid loop in __sbitmap_queue_get_batch()") mentioned that "Checking free bits when setting the target bits. Otherwise, it may reuse the busying bits." This commit add check to make sure all masked bits in word before cmpxchg is zero. Then the existing check after cmpxchg to check any zero bit is existing in masked bits in word is redundant.
Actually, old value of word before cmpxchg is stored in val and we will filter out busy bits in val by "(get_mask & ~val)" after cmpxchg. So we will not reuse busy bits methioned in commit fbb564a557809 ("lib/sbitmap: Fix invalid loop in __sbitmap_queue_get_batch()"). Revert new-added check to remove redundant check.
--- lib/sbitmap.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
lib/sbitmap.c +3 -5
@@ -537,11 +537,9 @@ unsigned long __sbitmap_queue_get_batch(struct sbitmap_queue *sbq, int nr_tags, get_mask = ((1UL << nr_tags) -1 ) << nr; val =READ_ONCE (map->word); -do { -if ((val & ~get_mask) != val) - goto next; - }while (!atomic_long_try_cmpxchg (ptr, &val, - get_mask | val)); +while (!atomic_long_try_cmpxchg (ptr, &val, + get_mask | val)) + ; get_mask = (get_mask & ~val) >> nr;if (get_mask) { *offset = nr + (index << sb->shift);
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 75/885 sbitmap: Use single per-bitmap counting to wake up queued tags
In reply to Greg Kroah-HartmanFrom: Gabriel Krisman Bertazi <[email protected]>
[ Upstream commit 4f8126bb2308066b877859e4b5923ffb54143630 ]
sbitmap suffers from code complexity, as demonstrated by recent fixes, and eventual lost wake ups on nested I/O completion. The later happens, from what I understand, due to the non-atomic nature of the updates to wait_cnt, which needs to be subtracted and eventually reset when equal to zero. This two step process can eventually miss an update when a nested completion happens to interrupt the CPU in between the wait_cnt updates. This is very hard to fix, as shown by the recent changes to this code.
The code complexity arises mostly from the corner cases to avoid missed wakes in this scenario. In addition, the handling of wake_batch recalculation plus the synchronization with sbq_queue_wake_up is non-trivial.
This patchset implements the idea originally proposed by Jan [1], which removes the need for the two-step updates of wait_cnt. This is done by tracking the number of completions and wakeups in always increasing, per-bitmap counters. Instead of having to reset the wait_cnt when it reaches zero, we simply keep counting, and attempt to wake up N threads in a single wait queue whenever there is enough space for a batch. Waking up less than batch_wake shouldn't be a problem, because we haven't changed the conditions for wake up, and the existing batch calculation guarantees at least enough remaining completions to wake up a batch for each queue at any time.
Performance-wise, one should expect very similar performance to the original algorithm for the case where there is no queueing. In both the old algorithm and this implementation, the first thing is to check ws_active, which bails out if there is no queueing to be managed. In the new code, we took care to avoid accounting completions and wakeups when there is no queueing, to not pay the cost of atomic operations unnecessarily, since it doesn't skew the numbers.
For more interesting cases, where there is queueing, we need to take into account the cross-communication of the atomic operations. I've been benchmarking by running parallel fio jobs against a single hctx nullb in different hardware queue depth scenarios, and verifying both IOPS and queueing.
Each experiment was repeated 5 times on a 20-CPU box, with 20 parallel jobs. fio was issuing fixed-size randwrites with qd=64 against nullb, varying only the hardware queue length per test.
queue size 2 4 8 16 32 64 6.1-rc2 1681.1K (1.6K) 2633.0K (12.7K) 6940.8K (16.3K) 8172.3K (617.5K) 8391.7K (367.1K) 8606.1K (351.2K) patched 1721.8K (15.1K) 3016.7K (3.8K) 7543.0K (89.4K) 8132.5K (303.4K) 8324.2K (230.6K) 8401.8K (284.7K)
The following is a similar experiment, ran against a nullb with a single bitmap shared by 20 hctx spread across 2 NUMA nodes. This has 40 parallel fio jobs operating on the same device
queue size 2 4 8 16 32 64
6.1-rc2 1081.0K (2.3K) 957.2K (1.5K) 1699.1K (5.7K) 6178.2K (124.6K) 12227.9K (37.7K) 13286.6K (92.9K) patched 1081.8K (2.8K) 1316.5K (5.4K) 2364.4K (1.8K) 6151.4K (20.0K) 11893.6K (17.5K) 12385.6K (18.4K)
It has also survived blktests and a 12h-stress run against nullb. I also ran the code against nvme and a scsi SSD, and I didn't observe performance regression in those. If there are other tests you think I should run, please let me know and I will follow up with results.
[1] https://lore.kernel.org/all/[email protected]/
Stable-dep-of: b5fcf7871acb ("sbitmap: correct wake_batch recalculation to avoid potential IO hung")
--- include/linux/sbitmap.h | 16 ++++-- lib/sbitmap.c | 122 +++++++++------------------------------- 2 files changed, 37 insertions(+), 101 deletions(-)
include/linux/sbitmap.h +11 -5
@@ -86,11 +86,6 @@ struct sbitmap {* struct sbq_wait_state - Wait queue in a &struct sbitmap_queue. */ struct sbq_wait_state { -/** -* @wait_cnt: Number of frees remaining before we wake up. -*/ -atomic_t wait_cnt; -/** * @wait: Wait queue. */
@@ -138,6 +133,17 @@ struct sbitmap_queue {* sbitmap_queue_get_shallow() */ unsigned int min_shallow_depth; + +/** +* @completion_cnt: Number of bits cleared passed to the +* wakeup function. +*/ +atomic_t completion_cnt; + +/** +* @wakeup_cnt: Number of thread wake ups issued. +*/ +atomic_t wakeup_cnt; };/**
lib/sbitmap.c +26 -96
178 lines not on this page · raw message
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 76/885 sbitmap: correct wake_batch recalculation to avoid potential IO hung
In reply to Greg Kroah-HartmanFrom: Kemeng Shi <[email protected]>
[ Upstream commit b5fcf7871acb7f9a3a8ed341a68bd86aba3e254a ]
Commit 180dccb0dba4f ("blk-mq: fix tag_get wait task can't be awakened") mentioned that in case of shared tags, there could be just one real active hctx(queue) because of lazy detection of tag idle. Then driver tag allocation may wait forever on this real active hctx(queue) if wake_batch is > hctx_max_depth where hctx_max_depth is available tags depth for the actve hctx(queue). However, the condition wake_batch > hctx_max_depth is not strong enough to avoid IO hung as the sbitmap_queue_wake_up will only wake up one wait queue for each wake_batch even though there is only one waiter in the woken wait queue. After this, there is only one tag to free and wake_batch may not be reached anymore. Commit 180dccb0dba4f ("blk-mq:
fix tag_get wait task can't be awakened") methioned that driver tag allocation may wait forever. Actually, the inactive hctx(queue) will be truely idle after at most 30 seconds and will call blk_mq_tag_wakeup_all to wake one waiter per wait queue to break the hung. But IO hung for 30 seconds is also not acceptable. Set batch size to small enough that depth of the shared hctx(queue) is enough to wake up all of the queues like sbq_calc_wake_batch do to fix this potential IO hung.
Although hctx_max_depth will be clamped to at least 4 while wake_batch recalculation does not do the clamp, the wake_batch will be always recalculated to 1 when hctx_max_depth <= 4.
--- lib/sbitmap.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
lib/sbitmap.c +1 -4
@@ -464,13 +464,10 @@ void sbitmap_queue_recalculate_wake_batch(struct sbitmap_queue *sbq, unsigned int users) {unsigned int wake_batch; -unsigned int min_batch;unsigned int depth = (sbq->sb.depth + users -1 ) / users; - min_batch = sbq->sb.depth >= (4 *SBQ_WAIT_QUEUES ) ?4 :1 ; - wake_batch =clamp_val (depth /SBQ_WAIT_QUEUES , - min_batch,SBQ_WAKE_BATCH ); +1 ,SBQ_WAKE_BATCH );WRITE_ONCE (sbq->wake_batch, wake_batch); }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 48/885 ARM: s3c: fix s3c64xx_set_timer_source prototype
In reply to Greg Kroah-HartmanFrom: Arnd Bergmann <[email protected]>
[ Upstream commit 5bf52f5e4d12b8109f348cab60cb7d51092c4270 ]
The prototype does not match the definition, as gcc-13 points out:
arch/arm/mach-s3c/s3c64xx.c:169:13: error: conflicting types for 's3c64xx_set_timer_source' due to enum/integer mismatch; have 'void(unsigned int, unsigned int)' [-Werror=enum-int-mismatch]
169 | void __init s3c64xx_set_timer_source(unsigned int event, unsigned int source)
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from arch/arm/mach-s3c/s3c64xx.c:50:
arch/arm/mach-s3c/s3c64xx.h:62:20: note: previous declaration of 's3c64xx_set_timer_source' with type 'void(enum s3c64xx_timer_mode, enum s3c64xx_timer_mode)'
62 | extern void __init s3c64xx_set_timer_source(enum s3c64xx_timer_mode event,
| ^~~~~~~~~~~~~~~~~~~~~~~~--- arch/arm/mach-s3c/s3c64xx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/mach-s3c/s3c64xx.c +2 -1
@@ -173,7 +173,8 @@ static struct samsung_pwm_variant s3c64xx_pwm_variant = { .tclk_mask = (1 << 7) | (1 << 6) | (1 << 5), }; -void __init s3c64xx_set_timer_source (unsigned int event,unsigned int source) +void __init s3c64xx_set_timer_source (enum s3c64xx_timer_mode event, +enum s3c64xx_timer_mode source) { s3c64xx_pwm_variant.output_mask =BIT (SAMSUNG_PWM_NUM ) -1 ; s3c64xx_pwm_variant.output_mask &= ~(BIT (event) |BIT (source));
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 49/885 arm64: dts: ti: k3-j7200: Fix wakeup pinmux range
In reply to Greg Kroah-HartmanFrom: Vaishnav Achath <[email protected]>
[ Upstream commit 9ae21ac445e911e3541985c20052fc05d60f6879 ]
The WKUP_PADCONFIG register region in J7200 has multiple non-addressable regions, split the existing wkup_pmx region as follows to avoid the non-addressable regions and include all valid WKUP_PADCONFIG registers. Also update references to old nodes with new ones.
wkup_pmx0 -> 13 pins (WKUP_PADCONFIG 0 - 12)wkup_pmx1 -> 2 pins (WKUP_PADCONFIG 14 - 15)wkup_pmx2 -> 59 pins (WKUP_PADCONFIG 26 - 84)wkup_pmx3 -> 8 pins (WKUP_PADCONFIG 93 - 100)
J7200 Datasheet (Table 6-106, Section 6.4 Pin Multiplexing) :
https://www.ti.com/lit/ds/symlink/dra821u.pdf
--- .../dts/ti/k3-j7200-common-proc-board.dts | 2 +- .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 29 ++++++++++++++++++- 2 files changed, 29 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +1 -1
@@ -80,7 +80,7 @@ vdd_sd_dv: gpio-regulator-TLV71033 { }; }; -&wkup_pmx0 { +&wkup_pmx2 { mcu_cpsw_pins_default: mcu-cpsw-pins-default { pinctrl-single,pins = < J721E_WKUP_IOPAD(0x0068, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */
arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +28 -1
@@ -56,7 +56,34 @@ chipid@43000014 { wkup_pmx0: pinctrl@4301c000 { compatible = "pinctrl-single"; /* Proxy 0 addressing */ - reg = <0x00 0x4301c000 0x00 0x178>; + reg = <0x00 0x4301c000 0x00 0x34>; + #pinctrl-cells = <1>; + pinctrl-single,register-width = <32>; + pinctrl-single,function-mask = <0xffffffff>; + }; + + wkup_pmx1: pinctrl@0x4301c038 { + compatible = "pinctrl-single"; + /* Proxy 0 addressing */ + reg = <0x00 0x4301c038 0x00 0x8>; + #pinctrl-cells = <1>; + pinctrl-single,register-width = <32>; + pinctrl-single,function-mask = <0xffffffff>; + }; + + wkup_pmx2: pinctrl@0x4301c068 { + compatible = "pinctrl-single"; + /* Proxy 0 addressing */ + reg = <0x00 0x4301c068 0x00 0xec>; + #pinctrl-cells = <1>; + pinctrl-single,register-width = <32>; + pinctrl-single,function-mask = <0xffffffff>; + }; + + wkup_pmx3: pinctrl@0x4301c174 { + compatible = "pinctrl-single"; + /* Proxy 0 addressing */ + reg = <0x00 0x4301c174 0x00 0x20>; #pinctrl-cells = <1>; pinctrl-single,register-width = <32>; pinctrl-single,function-mask = <0xffffffff>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 50/885 ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato
In reply to Greg Kroah-HartmanFrom: Krzysztof Kozlowski <[email protected]>
[ Upstream commit d15d2a617499882971ddb773a583015bf36fa492 ]
The property is wr-active:
exynos3250-rinato.dtb: fimd@11c00000: i80-if-timings: 'wr-act' does not match any of the regexes: 'pinctrl-[0-9]+'
--- arch/arm/boot/dts/exynos3250-rinato.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/exynos3250-rinato.dts +1 -1
@@ -250,7 +250,7 @@ &fimd { i80-if-timings { cs-setup = <0>; wr-setup = <0>; - wr-act = <1>; + wr-active = <1>; wr-hold = <0>; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 51/885 ARM: imx: Call ida_simple_remove() for ida_simple_get
In reply to Greg Kroah-HartmanFrom: Angus Chen <[email protected]>
[ Upstream commit ebeb49f43c8952f12aa20f03f00d7009edc2d1c5 ]
The function call ida_simple_get maybe fail,we should deal with it. And if ida_simple_get success ,it need to call ida_simple_remove also. BTW,devm_kasprintf can handle id is zero for consistency.
--- arch/arm/mach-imx/mmdc.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
arch/arm/mach-imx/mmdc.c +12 -12
@@ -99,6 +99,7 @@ struct mmdc_pmu {cpumask_t cpu;struct hrtimer hrtimer;unsigned int active_events; +int id;struct device *dev;struct perf_event *mmdc_events[MMDC_NUM_COUNTERS ];struct hlist_node node;
@@ -433,8 +434,6 @@ static enum hrtimer_restart mmdc_pmu_timer_handler(struct hrtimer *hrtimer)static int mmdc_pmu_init (struct mmdc_pmu *pmu_mmdc,void __iomem *mmdc_base,struct device *dev) { -int mmdc_num; - *pmu_mmdc = (struct mmdc_pmu ) { .pmu = (struct pmu ) { .task_ctx_nr = perf_invalid_context,
@@ -452,15 +451,16 @@ static int mmdc_pmu_init(struct mmdc_pmu *pmu_mmdc, .active_events = 0, }; - mmdc_num =ida_simple_get (&mmdc_ida,0 ,0 ,GFP_KERNEL ); + pmu_mmdc->id =ida_simple_get (&mmdc_ida,0 ,0 ,GFP_KERNEL ); -return mmdc_num; +return pmu_mmdc->id; }static int imx_mmdc_remove (struct platform_device *pdev) {struct mmdc_pmu *pmu_mmdc =platform_get_drvdata (pdev); +ida_simple_remove (&mmdc_ida, pmu_mmdc->id);cpuhp_state_remove_instance_nocalls (cpuhp_mmdc_state, &pmu_mmdc->node);perf_pmu_unregister (&pmu_mmdc->pmu);iounmap (pmu_mmdc->mmdc_base);
@@ -474,7 +474,6 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b {struct mmdc_pmu *pmu_mmdc;char *name; -int mmdc_num;int ret;const struct of_device_id *of_id =of_match_device (imx_mmdc_dt_ids, &pdev->dev);
@@ -497,14 +496,14 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b cpuhp_mmdc_state = ret; } - mmdc_num =mmdc_pmu_init (pmu_mmdc, mmdc_base, &pdev->dev); - pmu_mmdc->mmdc_ipg_clk = mmdc_ipg_clk; -if (mmdc_num ==0 ) - name ="mmdc" ; -else - name =devm_kasprintf (&pdev->dev, -GFP_KERNEL ,"mmdc%d" , mmdc_num); + ret =mmdc_pmu_init (pmu_mmdc, mmdc_base, &pdev->dev); +if (ret <0 ) + goto pmu_free; + name =devm_kasprintf (&pdev->dev, +GFP_KERNEL ,"mmdc%d" , ret); + + pmu_mmdc->mmdc_ipg_clk = mmdc_ipg_clk; pmu_mmdc->devtype_data = (struct fsl_mmdc_devtype_data *)of_id->data; hrtimer_init(&pmu_mmdc->hrtimer, CLOCK_MONOTONIC,
@@ -525,6 +524,7 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b pmu_register_err:pr_warn ("MMDC Perf PMU failed (%d), disabled\n" , ret); +ida_simple_remove (&mmdc_ida, pmu_mmdc->id);cpuhp_state_remove_instance_nocalls (cpuhp_mmdc_state, &pmu_mmdc->node);hrtimer_cancel (&pmu_mmdc->hrtimer); pmu_free:
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 52/885 arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit 127f79212b07c5d9a6657a87e3eafdd889335814 ]
Fixes:
scpi: clocks: 'clock-controller' does not match any of the regexes: '^clocks-[0-9a-f]+$', 'pinctrl-[0-9]+'
--- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx.dtsi +1 -1
@@ -249,7 +249,7 @@ scpi { scpi_clocks: clocks { compatible = "arm,scpi-clocks"; - scpi_dvfs: clock-controller { + scpi_dvfs: clocks-0 { compatible = "arm,scpi-dvfs-clocks"; #clock-cells = <1>; clock-indices = <0>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 53/885 arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name
In reply to Greg Kroah-HartmanFrom: Neil Armstrong <[email protected]>
[ Upstream commit 5b7069d72f03c92a0ab919725017394ebce03a81 ]
Fixes:
scpi: clocks: 'clock-controller' does not match any of the regexes: '^clocks-[0-9a-f]+$', 'pinctrl-[0-9]+'
--- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-axg.dtsi +1 -1
@@ -152,7 +152,7 @@ scpi { scpi_clocks: clocks { compatible = "arm,scpi-clocks"; - scpi_dvfs: clock-controller { + scpi_dvfs: clocks-0 { compatible = "arm,scpi-dvfs-clocks"; #clock-cells = <1>; clock-indices = <0>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 44/885 arm64: dts: meson: remove CPU opps below 1GHz for G12A boards
In reply to Greg Kroah-HartmanFrom: Christian Hewitt <[email protected]>
[ Upstream commit 3cbd431c2b34d84605d358c8c57654193fd661fb ]
Amlogic G12A devices experience CPU stalls and random board wedges when the system idles and CPU cores clock down to lower opp points. Recent vendor kernels include a change to remove 100-250MHz and other distro sources also remove the 500/667MHz points. Unless all 100-667Mhz opps are removed or the CPU governor forced to performance stalls are still observed, so let's remove them to improve stability and uptime.
--- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 20 -------------------- 1 file changed, 20 deletions(-)
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +0 -20
@@ -57,26 +57,6 @@ cpu_opp_table: opp-table { compatible = "operating-points-v2"; opp-shared; - opp-100000000 { - opp-hz = /bits/ 64 <100000000>; - opp-microvolt = <731000>; - }; - - opp-250000000 { - opp-hz = /bits/ 64 <250000000>; - opp-microvolt = <731000>; - }; - - opp-500000000 { - opp-hz = /bits/ 64 <500000000>; - opp-microvolt = <731000>; - }; - - opp-667000000 { - opp-hz = /bits/ 64 <666666666>; - opp-microvolt = <731000>; - }; - opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <731000>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 78/885 arm64: dts: mt8192: Fix CPU map for single-cluster SoC
In reply to Greg Kroah-HartmanFrom: AngeloGioacchino Del Regno <[email protected]>
[ Upstream commit 160ce54d635455ffb5e9b42c5ba9cb9aaa98cdb2 ]
MT8192 features the ARM DynamIQ technology and combines both four Cortex-A76 (big) and four Cortex-A55 (LITTLE) CPUs in one cluster:
fix the CPU map to reflect that.
--- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +4 -7
@@ -158,19 +158,16 @@ core2 { core3 { cpu = <&cpu3>; }; - }; - - cluster1 { - core0 { + core4 { cpu = <&cpu4>; }; - core1 { + core5 { cpu = <&cpu5>; }; - core2 { + core6 { cpu = <&cpu6>; }; - core3 { + core7 { cpu = <&cpu7>; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 87/885 blk-mq: wait on correct sbitmap_queue in blk_mq_mark_tag_wait
In reply to Greg Kroah-HartmanFrom: Kemeng Shi <[email protected]>
[ Upstream commit 98b99e9412d0cde8c7b442bf5efb09528a2ede8b ]
For shared queues case, we will only wait on bitmap_tags if we fail to get driver tag. However, rq could be from breserved_tags, then two problems will occur:
1. io hung if no tag is currently allocated from bitmap_tags.
2. unnecessary wakeup when tag is freed to bitmap_tags while no tag is freed to breserved_tags.
Wait on the bitmap which rq from to fix this.
--- block/blk-mq.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
block/blk-mq.c +5 -1
@@ -1794,7 +1794,7 @@ static int blk_mq_dispatch_wake(wait_queue_entry_t *wait, unsigned mode,static bool blk_mq_mark_tag_wait (struct blk_mq_hw_ctx *hctx,struct request *rq) { -struct sbitmap_queue *sbq = &hctx->tags->bitmap_tags; +struct sbitmap_queue *sbq;struct wait_queue_head *wq;wait_queue_entry_t *wait;bool ret;
@@ -1817,6 +1817,10 @@ static bool blk_mq_mark_tag_wait(struct blk_mq_hw_ctx *hctx,if (!list_empty_careful (&wait->entry))return false; +if (blk_mq_tag_is_reserved (rq->mq_hctx->sched_tags, rq->internal_tag)) + sbq = &hctx->tags->breserved_tags; +else + sbq = &hctx->tags->bitmap_tags; wq = &bt_wait_ptr (sbq, hctx)->wait;spin_lock_irq (&wq->lock);
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 88/885 blk-mq: Fix potential io hung for shared sbitmap per tagset
In reply to Greg Kroah-HartmanFrom: Kemeng Shi <[email protected]>
[ Upstream commit 47df9ce95cd568d3f84218c4f65e9fbd4dfeda55 ]
Commit f906a6a0f4268 ("blk-mq: improve tag waiting setup for non-shared tags") mark restart for unshared tags for improvement. At that time, tags is only shared betweens queues and we can check if tags is shared by test BLK_MQ_F_TAG_SHARED.
Afterwards, commit 32bc15afed04b ("blk-mq: Facilitate a shared sbitmap per tagset") enabled tags share betweens hctxs inside a queue. We only mark restart for shared hctxs inside a queue and may cause io hung if there is no tag currently allocated by hctxs going to be marked restart. Wait on sbitmap_queue instead of mark restart for shared hctxs case to fix this.
--- block/blk-mq.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
block/blk-mq.c +4 -2
@@ -1799,7 +1799,8 @@ static bool blk_mq_mark_tag_wait(struct blk_mq_hw_ctx *hctx,wait_queue_entry_t *wait;bool ret; -if (!(hctx->flags &BLK_MQ_F_TAG_QUEUE_SHARED )) { +if (!(hctx->flags &BLK_MQ_F_TAG_QUEUE_SHARED ) && + !(blk_mq_is_shared_tags (hctx->flags))) {blk_mq_sched_mark_restart_hctx (hctx);/*
@@ -2069,7 +2070,8 @@ bool blk_mq_dispatch_rq_list(struct blk_mq_hw_ctx *hctx, struct list_head *list,bool needs_restart;/* For non-shared tags, the RESTART check will suffice */ bool no_tag = prep ==PREP_DISPATCH_NO_TAG && - (hctx->flags &BLK_MQ_F_TAG_QUEUE_SHARED ); + ((hctx->flags &BLK_MQ_F_TAG_QUEUE_SHARED ) || +blk_mq_is_shared_tags (hctx->flags));if (nr_budgets)blk_mq_release_budgets (q, list);
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 89/885 blk-mq: correct stale comment of .get_budget
In reply to Greg Kroah-HartmanFrom: Kemeng Shi <[email protected]>
[ Upstream commit 01542f651a9f58a9b176c3d3dc3eefbacee53b78 ]
Commit 88022d7201e96 ("blk-mq: don't handle failure in .get_budget") remove BLK_STS_RESOURCE return value and we only check if we can get the budget from .get_budget() now.
Correct stale comment that ".get_budget() returns BLK_STS_NO_RESOURCE" to ".get_budget() fails to get the budget".
--- block/blk-mq-sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
block/blk-mq-sched.c +2 -2
@@ -81,7 +81,7 @@ static bool blk_mq_dispatch_hctx_list(struct list_head *rq_list)/* * Only SCSI implements .get_budget and .put_budget, and SCSI restarts * its queue by itself in its completion handler, so we don't need to -* restart queue if .get_budget() returns BLK_STS_NO_RESOURCE. +* restart queue if .get_budget() fails to get the budget. * * Returns -EAGAIN if hctx->dispatch was found non-empty and run_work has to * be run again. This is necessary to avoid starving flushes.
@@ -209,7 +209,7 @@ static struct blk_mq_ctx *blk_mq_next_ctx(struct blk_mq_hw_ctx *hctx,/* * Only SCSI implements .get_budget and .put_budget, and SCSI restarts * its queue by itself in its completion handler, so we don't need to -* restart queue if .get_budget() returns BLK_STS_NO_RESOURCE. +* restart queue if .get_budget() fails to get the budget. * * Returns -EAGAIN if hctx->dispatch was found non-empty and run_work has to * be run again. This is necessary to avoid starving flushes.
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 90/885 arm64: dts: qcom: msm8996: support using GPLL0 as kryocc input
In reply to Greg Kroah-HartmanFrom: Dmitry Baryshkov <[email protected]>
[ Upstream commit ac0d84d4556cecf81ba0b1631d25d9a395235a5c ]
In some cases the driver might need using GPLL0 to drive CPU clocks. Bring it in through the sys_apcs_aux clock.
Stable-dep-of: 8ae72166c2b7 ("arm64: dts: qcom: msm8996 switch from RPM_SMD_BB_CLK1 to RPM_SMD_XO_CLK_SRC")
--- arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/msm8996.dtsi +2 -2
@@ -2932,8 +2932,8 @@ kryocc: clock-controller@6400000 { compatible = "qcom,msm8996-apcc"; reg = <0x06400000 0x90000>; - clock-names = "xo"; - clocks = <&rpmcc RPM_SMD_BB_CLK1>; + clock-names = "xo", "sys_apcs_aux"; + clocks = <&rpmcc RPM_SMD_BB_CLK1>, <&apcs_glb>; #clock-cells = <1>; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 91/885 arm64: dts: qcom: msm8996 switch from RPM_SMD_BB_CLK1 to RPM_SMD_XO_CLK_SRC
In reply to Greg Kroah-HartmanFrom: Dmitry Baryshkov <[email protected]>
[ Upstream commit 8ae72166c2b73b0f2ce498ea15d4feceb9fef50e ]
The vendor kernel uses RPM_SMD_XO_CLK_SRC clock as an CXO clock rather than using the RPM_SMD_BB_CLK1 directly. Follow this example and switch msm8996.dtsi to use RPM_SMD_XO_CLK_SRC clock instead of RPM_SMB_BB_CLK1.
--- arch/arm64/boot/dts/qcom/msm8996.dtsi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
arch/arm64/boot/dts/qcom/msm8996.dtsi +7 -7
@@ -712,7 +712,7 @@ gcc: clock-controller@300000 { #power-domain-cells = <1>; reg = <0x00300000 0x90000>; - clocks = <&rpmcc RPM_SMD_BB_CLK1>, + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&rpmcc RPM_SMD_LN_BB_CLK>, <&sleep_clk>, <&pciephy_0>,
@@ -1050,7 +1050,7 @@ dsi0_phy: dsi-phy@994400 { #clock-cells = <1>; #phy-cells = <0>; - clocks = <&mmcc MDSS_AHB_CLK>, <&rpmcc RPM_SMD_BB_CLK1>; + clocks = <&mmcc MDSS_AHB_CLK>, <&rpmcc RPM_SMD_XO_CLK_SRC>; clock-names = "iface", "ref"; status = "disabled"; };
@@ -1118,7 +1118,7 @@ dsi1_phy: dsi-phy@996400 { #clock-cells = <1>; #phy-cells = <0>; - clocks = <&mmcc MDSS_AHB_CLK>, <&rpmcc RPM_SMD_BB_CLK1>; + clocks = <&mmcc MDSS_AHB_CLK>, <&rpmcc RPM_SMD_XO_CLK_SRC>; clock-names = "iface", "ref"; status = "disabled"; };
@@ -2933,7 +2933,7 @@ kryocc: clock-controller@6400000 { reg = <0x06400000 0x90000>; clock-names = "xo", "sys_apcs_aux"; - clocks = <&rpmcc RPM_SMD_BB_CLK1>, <&apcs_glb>; + clocks = <&rpmcc RPM_SMD_XO_A_CLK_SRC>, <&apcs_glb>; #clock-cells = <1>; };
@@ -3052,7 +3052,7 @@ sdhc1: mmc@7464900 { clock-names = "iface", "core", "xo"; clocks = <&gcc GCC_SDCC1_AHB_CLK>, <&gcc GCC_SDCC1_APPS_CLK>, - <&rpmcc RPM_SMD_BB_CLK1>; + <&rpmcc RPM_SMD_XO_CLK_SRC>; resets = <&gcc GCC_SDCC1_BCR>; pinctrl-names = "default", "sleep";
@@ -3076,7 +3076,7 @@ sdhc2: mmc@74a4900 { clock-names = "iface", "core", "xo"; clocks = <&gcc GCC_SDCC2_AHB_CLK>, <&gcc GCC_SDCC2_APPS_CLK>, - <&rpmcc RPM_SMD_BB_CLK1>; + <&rpmcc RPM_SMD_XO_CLK_SRC>; resets = <&gcc GCC_SDCC2_BCR>; pinctrl-names = "default", "sleep";
@@ -3383,7 +3383,7 @@ adsp_pil: remoteproc@9300000 { interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack"; - clocks = <&rpmcc RPM_SMD_BB_CLK1>; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; clock-names = "xo"; memory-region = <&adsp_mem>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 92/885 arm64: dts: qcom: sm8350: drop incorrect cells from serial
In reply to Greg Kroah-HartmanFrom: Krzysztof Kozlowski <[email protected]>
[ Upstream commit 6027331e6eae9eb957d1b73a7e3255f4151d6163 ]
The serial/UART device node does not have children with unit addresses, so address/size cells are not correct.
--- arch/arm64/boot/dts/qcom/sm8350.dtsi | 2 -- 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/qcom/sm8350.dtsi +0 -2
@@ -1043,8 +1043,6 @@ uart2: serial@98c000 { interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>; power-domains = <&rpmhpd SM8350_CX>; operating-points-v2 = <&qup_opp_table_100mhz>; - #address-cells = <1>; - #size-cells = <0>; status = "disabled"; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 93/885 arm64: dts: qcom: sm8450: drop incorrect cells from serial
In reply to Greg Kroah-HartmanFrom: Krzysztof Kozlowski <[email protected]>
[ Upstream commit 60d2da2c916956535cf37b7bf1ae8fefbf432e55 ]
The serial/UART device node does not have children with unit addresses, so address/size cells are not correct.
--- arch/arm64/boot/dts/qcom/sm8450.dtsi | 4 ---- 1 file changed, 4 deletions(-)
arch/arm64/boot/dts/qcom/sm8450.dtsi +0 -4
@@ -991,8 +991,6 @@ uart20: serial@894000 { pinctrl-names = "default"; pinctrl-0 = <&qup_uart20_default>; interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>; - #address-cells = <1>; - #size-cells = <0>; status = "disabled"; };
@@ -1387,8 +1385,6 @@ uart7: serial@99c000 { pinctrl-names = "default"; pinctrl-0 = <&qup_uart7_tx>, <&qup_uart7_rx>; interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>; - #address-cells = <1>; - #size-cells = <0>; status = "disabled"; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 94/885 arm64: dts: qcom: msm8992-lg-bullhead: Correct memory overlaps with the SMEM and MPSS memory regions
In reply to Greg Kroah-HartmanFrom: Jamie Douglass <[email protected]>
[ Upstream commit d44106883d74992343710f18c4aaae937c7cefab ]
The memory region reserved by a previous commit (see fixes tag below) overlaps with the SMEM and MPSS memory regions, causing error messages in dmesg:
OF: reserved mem: OVERLAP DETECTED! reserved@5000000 (0x0000000005000000--0x0000000007200000) overlaps with smem_region@6a00000 (0x0000000006a00000--0x0000000006c00000) OF: reserved mem: OVERLAP DETECTED! reserved@6c00000 (0x0000000006c00000--0x0000000007200000) overlaps with memory@7000000 (0x0000000007000000--0x000000000ca00000)
This patch resolves both of these by splitting the previously reserved memory region into two sections either side of the SMEM region and by cutting off the second memory region to 0x7000000.
--- arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi +7 -2
@@ -55,8 +55,13 @@ cont_splash_mem: memory@3400000 { no-map; }; - removed_region: reserved@5000000 { - reg = <0 0x05000000 0 0x2200000>; + reserved@5000000 { + reg = <0x0 0x05000000 0x0 0x1a00000>; + no-map; + }; + + reserved@6c00000 { + reg = <0x0 0x06c00000 0x0 0x400000>; no-map; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 95/885 arm64: dts: qcom: msm8953: correct TLMM gpio-ranges
In reply to Greg Kroah-HartmanFrom: Krzysztof Kozlowski <[email protected]>
[ Upstream commit a4fb71497df23cb0d02d70fa2b8f8786328e325d ]
Correct the number of GPIOs in TLMM pin controller.
--- arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/msm8953.dtsi +1 -1
@@ -455,7 +455,7 @@ tlmm: pinctrl@1000000 { reg = <0x1000000 0x300000>; interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; gpio-controller; - gpio-ranges = <&tlmm 0 0 155>; + gpio-ranges = <&tlmm 0 0 142>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 96/885 arm64: dts: qcom: msm8992-*: Fix up comments
In reply to Greg Kroah-HartmanFrom: Konrad Dybcio <[email protected]>
[ Upstream commit 290d43062d261cebd17ff590dc91f1d1e3fe6eed ]
Make sure all multiline C-style commends begin with just '/*' with the comment text starting on a new line.
Also, trim off downstream regulator properties from comments to prevent them from accidentally landing into mainline one day..
Stable-dep-of: 2866527093dd ("arm64: dts: qcom: msm8992-lg-bullhead: Enable regulators")
--- .../dts/qcom/msm8992-lg-bullhead-rev-10.dts | 3 +- .../dts/qcom/msm8992-lg-bullhead-rev-101.dts | 3 +- .../boot/dts/qcom/msm8992-lg-bullhead.dtsi | 41 ++++++++++--------- arch/arm64/boot/dts/qcom/msm8992.dtsi | 3 +- 4 files changed, 28 insertions(+), 22 deletions(-)
arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-10.dts +2 -1
@@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) Jean Thomas <[email protected]> +/* + * Copyright (c) Jean Thomas <[email protected]> */ /dts-v1/;
arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-101.dts +2 -1
@@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) Jean Thomas <[email protected]> +/* + * Copyright (c) Jean Thomas <[email protected]> */ /dts-v1/;
arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi +22 -19
66 lines not on this page · raw message
arch/arm64/boot/dts/qcom/msm8992.dtsi +2 -1
@@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. +/* + * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. */ #include "msm8994.dtsi"
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 79/885 arm64: dts: mt8186: Fix CPU map for single-cluster SoC
In reply to Greg Kroah-HartmanFrom: AngeloGioacchino Del Regno <[email protected]>
[ Upstream commit 1c473804b0c8a68c6ef2cf519b38ec6725ca4aa5 ]
MT8186 features the ARM DynamIQ technology and combines both two Cortex-A76 (big) and six Cortex-A55 (LITTLE) CPUs in one cluster:
fix the CPU map to reflect that.
--- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/mediatek/mt8186.dtsi +2 -4
@@ -47,14 +47,12 @@ core4 { core5 { cpu = <&cpu5>; }; - }; - cluster1 { - core0 { + core6 { cpu = <&cpu6>; }; - core1 { + core7 { cpu = <&cpu7>; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 97/885 arm64: dts: qcom: msm8992-lg-bullhead: Enable regulators
In reply to Greg Kroah-HartmanFrom: Petr Vorel <[email protected]>
[ Upstream commit 2866527093ddbc6356bb31f560f0b4b4decf3e2e ]
Enable pm8994_s1, pm8994_l{26,29,30,32} regulators. Use values from downstream kernel on bullhead rev 1.01.
NOTE: downstream kernel on angler rev 1.01 differences:
* pm8994_l29: regulator-min-microvolt = <2700000>
* pm8994_l{20,28,31}: use regulator-boot-on
Verification:
[ 1.832460] s1: Bringing 0uV into 1025000-1025000uV ... [ 2.057667] l26: Bringing 0uV into 987500-987500uV ... [ 2.075722] l29: Bringing 0uV into 2800000-2800000uV [ 2.076604] l30: Bringing 0uV into 1800000-1800000uV [ 2.082431] l31: Bringing 0uV into 1262500-1262500uV [ 2.095767] l32: Bringing 0uV into 1800000-1800000uV
--- .../boot/dts/qcom/msm8992-lg-bullhead.dtsi | 32 ++++++------------- 1 file changed, 10 insertions(+), 22 deletions(-)
arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi +10 -22
@@ -94,8 +94,8 @@ pm8994_regulators: pm8994-regulators { /* S1, S2, S6 and S12 are managed by RPMPD */ pm8994_s1: s1 { - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <800000>; + regulator-min-microvolt = <1025000>; + regulator-max-microvolt = <1025000>; }; pm8994_s2: s2 {
@@ -251,11 +251,8 @@ pm8994_l25: l25 { }; pm8994_l26: l26 { - /* - * TODO: value from downstream - * regulator-min-microvolt = <987500>; - * fails to apply - */ + regulator-min-microvolt = <987500>; + regulator-max-microvolt = <987500>; }; pm8994_l27: l27 {
@@ -269,19 +266,13 @@ pm8994_l28: l28 { }; pm8994_l29: l29 { - /* - * TODO: Unsupported voltage range. - * regulator-min-microvolt = <2800000>; - * regulator-max-microvolt = <2800000>; - */ + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; }; pm8994_l30: l30 { - /* - * TODO: get this verified - * regulator-min-microvolt = <1800000>; - * regulator-max-microvolt = <1800000>; - */ + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; }; pm8994_l31: l31 {
@@ -290,11 +281,8 @@ pm8994_l31: l31 { }; pm8994_l32: l32 { - /* - * TODO: get this verified - * regulator-min-microvolt = <1800000>; - * regulator-max-microvolt = <1800000>; - */ + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 98/885 s390/dasd: Fix potential memleak in dasd_eckd_init()
In reply to Greg Kroah-HartmanFrom: Qiheng Lin <[email protected]>
[ Upstream commit 460e9bed82e49db1b823dcb4e421783854d86c40 ]
dasd_reserve_req is allocated before dasd_vol_info_req, and it also needs to be freed before the error returns, just like the other cases in this function.
--- drivers/s390/block/dasd_eckd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/s390/block/dasd_eckd.c +3 -1
@@ -6956,8 +6956,10 @@ dasd_eckd_init(void)return -ENOMEM ; dasd_vol_info_req =kmalloc (sizeof (*dasd_vol_info_req),GFP_KERNEL |GFP_DMA ); -if (!dasd_vol_info_req) +if (!dasd_vol_info_req) { +kfree (dasd_reserve_req);return -ENOMEM ; + } pe_handler_worker =kmalloc (sizeof (*pe_handler_worker),GFP_KERNEL |GFP_DMA );if (!pe_handler_worker) {
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 99/885 sched/rt: pick_next_rt_entity(): check list_entry
In reply to Greg Kroah-HartmanFrom: Pietro Borrello <[email protected]>
[ Upstream commit 7c4a5b89a0b5a57a64b601775b296abf77a9fe97 ]
Commit 326587b84078 ("sched: fix goto retry in pick_next_task_rt()") removed any path which could make pick_next_rt_entity() return NULL. However, BUG_ON(!rt_se) in _pick_next_task_rt() (the only caller of pick_next_rt_entity()) still checks the error condition, which can never happen, since list_entry() never returns NULL. Remove the BUG_ON check, and instead emit a warning in the only possible error condition here: the queue being empty which should never happen.
--- kernel/sched/rt.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
kernel/sched/rt.c +4 -1
@@ -1777,6 +1777,8 @@ static struct sched_rt_entity *pick_next_rt_entity(struct rt_rq *rt_rq)BUG_ON (idx >=MAX_RT_PRIO ); queue = array->queue + idx; +if (SCHED_WARN_ON (list_empty (queue))) +return NULL ; next = list_entry(queue->next, struct sched_rt_entity, run_list);return next;
@@ -1789,7 +1791,8 @@ static struct task_struct *_pick_next_task_rt(struct rq *rq)do { rt_se =pick_next_rt_entity (rt_rq); -BUG_ON (!rt_se); +if (unlikely (!rt_se)) +return NULL ; rt_rq =group_rt_rq (rt_se); }while (rt_rq);
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 100/885 perf/x86/intel/ds: Fix the conversion from TSC to perf time
In reply to Greg Kroah-HartmanFrom: Kan Liang <[email protected]>
[ Upstream commit 89e97eb8cec0f1af5ebf2380308913256ca7915a ]
The time order is incorrect when the TSC in a PEBS record is used.
$perf record -e cycles:upp dd if=/dev/zero of=/dev/null
count=10000
$ perf script --show-task-events
perf-exec 0 0.000000: PERF_RECORD_COMM: perf-exec:915/915
dd 915 106.479872: PERF_RECORD_COMM exec: dd:915/915
dd 915 106.483270: PERF_RECORD_EXIT(915:915):(914:914)
dd 915 106.512429: 1 cycles:upp:
ffffffff96c011b7 [unknown] ([unknown])
... ...The perf time is from sched_clock_cpu(). The current PEBS code unconditionally convert the TSC to native_sched_clock(). There is a shift between the two clocks. If the TSC is stable, the shift is consistent, __sched_clock_offset. If the TSC is unstable, the shift has to be calculated at runtime.
This patch doesn't support the conversion when the TSC is unstable. The TSC unstable case is a corner case and very unlikely to happen. If it happens, the TSC in a PEBS record will be dropped and fall back to perf_event_clock().
--- arch/x86/events/intel/ds.c | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-)
arch/x86/events/intel/ds.c +26 -9
@@ -2,12 +2,14 @@#include <linux/bitops.h> #include <linux/types.h> #include <linux/slab.h> +#include <linux/sched/clock.h> #include <asm/cpu_entry_area.h> #include <asm/perf_event.h> #include <asm/tlbflush.h> #include <asm/insn.h> #include <asm/io.h> +#include <asm/timer.h> #include "../perf_event.h"
@@ -1519,6 +1521,27 @@ static u64 get_data_src(struct perf_event *event, u64 aux)return val; } +static void setup_pebs_time (struct perf_event *event, +struct perf_sample_data *data, +u64 tsc) +{ +/* Converting to a user-defined clock is not supported yet. */ +if (event->attr.use_clockid !=0 ) +return ; + +/* +* Doesn't support the conversion when the TSC is unstable. +* The TSC unstable case is a corner case and very unlikely to +* happen. If it happens, the TSC in a PEBS record will be +* dropped and fall back to perf_event_clock(). +*/ +if (!using_native_sched_clock () || !sched_clock_stable ()) +return ; + + data->time =native_sched_clock_from_tsc (tsc) + __sched_clock_offset; + data->sample_flags |=PERF_SAMPLE_TIME ; +} +#define PERF_SAMPLE_ADDR_TYPE (PERF_SAMPLE_ADDR | \ PERF_SAMPLE_PHYS_ADDR | \ PERF_SAMPLE_DATA_PAGE_SIZE)
@@ -1668,11 +1691,8 @@ static void setup_pebs_fixed_sample_data(struct perf_event *event,* * We can only do this for the default trace clock. */ -if (x86_pmu.intel_cap.pebs_format >=3 && - event->attr.use_clockid ==0 ) { - data->time =native_sched_clock_from_tsc (pebs->tsc); - data->sample_flags |=PERF_SAMPLE_TIME ; - } +if (x86_pmu.intel_cap.pebs_format >=3 ) +setup_pebs_time (event, data, pebs->tsc);if (has_branch_stack (event)) { data->br_stack = &cpuc->lbr_stack;
@@ -1735,10 +1755,7 @@ static void setup_pebs_adaptive_sample_data(struct perf_event *event,perf_sample_data_init (data,0 , event->hw.last_period); data->period = event->hw.last_period; -if (event->attr.use_clockid ==0 ) { - data->time =native_sched_clock_from_tsc (basic->tsc); - data->sample_flags |=PERF_SAMPLE_TIME ; - } +setup_pebs_time (event, data, basic->tsc);/* * We must however always use iregs for the unwinder to stay sane; the
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 101/885 x86/perf/zhaoxin: Add stepping check for ZXC
In reply to Greg Kroah-HartmanFrom: silviazhao <[email protected]>
[ Upstream commit fd636b6a9bc6034f2e5bb869658898a2b472c037 ]
Some of Nano series processors will lead GP when accessing PMC fixed counter. Meanwhile, their hardware support for PMC has not announced externally. So exclude Nano CPUs from ZXC by checking stepping information. This is an unambiguous way to differentiate between ZXC and Nano CPUs.
Following are Nano and ZXC FMS information:
Nano FMS: Family=6, Model=F, Stepping=[0-A][C-D]
ZXC FMS: Family=6, Model=F, Stepping=E-F OR
Family=6, Model=0x19, Stepping=0-3--- arch/x86/events/zhaoxin/core.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
arch/x86/events/zhaoxin/core.c +7 -1
@@ -541,7 +541,13 @@ __init int zhaoxin_pmu_init(void)switch (boot_cpu_data.x86) {case 0x06 : -if (boot_cpu_data.x86_model ==0x0f || boot_cpu_data.x86_model ==0x19 ) { +/* +* Support Zhaoxin CPU from ZXC series, exclude Nano series through FMS. +* Nano FMS: Family=6, Model=F, Stepping=[0-A][C-D] +* ZXC FMS: Family=6, Model=F, Stepping=E-F OR Family=6, Model=0x19, Stepping=0-3 +*/ +if ((boot_cpu_data.x86_model ==0x0f && boot_cpu_data.x86_stepping >=0x0e ) || + boot_cpu_data.x86_model ==0x19 ) { x86_pmu.max_period = x86_pmu.cntval_mask >>1 ;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 102/885 KEYS: asymmetric: Fix ECDSA use via keyctl uapi
In reply to Greg Kroah-HartmanFrom: Denis Kenzior <[email protected]>
[ Upstream commit 10de7b54293995368c52d9aa153f3e7a359f04a1 ]
When support for ECDSA keys was added, constraints for data & signature sizes were never updated. This makes it impossible to use such keys via keyctl API from userspace.
Update constraint on max_data_size to 64 bytes in order to support SHA512-based signatures. Also update the signature length constraints per ECDSA signature encoding described in RFC 5480.
--- crypto/asymmetric_keys/public_key.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-)
crypto/asymmetric_keys/public_key.c +22 -2
@@ -186,8 +186,28 @@ static int software_key_query(const struct kernel_pkey_params *params, len =crypto_akcipher_maxsize (tfm); info->key_size = len *8 ; - info->max_data_size = len; - info->max_sig_size = len; + +if (strncmp (pkey->pkey_algo,"ecdsa" ,5 ) ==0 ) { +/* +* ECDSA key sizes are much smaller than RSA, and thus could +* operate on (hashed) inputs that are larger than key size. +* For example SHA384-hashed input used with secp256r1 +* based keys. Set max_data_size to be at least as large as +* the largest supported hash size (SHA512) +*/ + info->max_data_size =64 ; + +/* +* Verify takes ECDSA-Sig (described in RFC 5480) as input, +* which is actually 2 'key_size'-bit integers encoded in +* ASN.1. Account for the ASN.1 encoding overhead here. +*/ + info->max_sig_size =2 * (len +3 ) +2 ; + }else { + info->max_data_size = len; + info->max_sig_size = len; + } + info->max_enc_size = len; info->max_dec_size = len; info->supported_ops = (KEYCTL_SUPPORTS_ENCRYPT |
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 103/885 block: ublk: check IO buffer based on flag need_get_data
In reply to Greg Kroah-HartmanFrom: Liu Xiaodong <[email protected]>
[ Upstream commit 2f1e07dda1e1310873647abc40bbc49eaf3b10e3 ]
Currently, uring_cmd with UBLK_IO_FETCH_REQ or UBLK_IO_COMMIT_AND_FETCH_REQ is always checked whether userspace server has provided IO buffer even flag UBLK_F_NEED_GET_DATA is configured.
This is a excessive check. If UBLK_F_NEED_GET_DATA is configured, FETCH_RQ doesn't need to provide IO buffer; COMMIT_AND_FETCH_REQ also doesn't need to do that if the IO type is not READ.
Check ub_cmd->addr together with ublk_need_get_data() and IO type in ublk_ch_uring_cmd().
With this fix, userspace server doesn't need to preserve buffers for every ublk_io when flag UBLK_F_NEED_GET_DATA is configured, in order to save memory.
--- drivers/block/ublk_drv.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)
drivers/block/ublk_drv.c +9 -4
@@ -1206,6 +1206,7 @@ static int ublk_ch_uring_cmd(struct io_uring_cmd *cmd, unsigned int issue_flags)u32 cmd_op = cmd->cmd_op;unsigned tag = ub_cmd->tag;int ret = -EINVAL ; +struct request *req; pr_devel("%s: received: cmd op %d queue %d tag %d result %d\n", __func__, cmd->cmd_op, ub_cmd->q_id, tag,
@@ -1256,8 +1257,8 @@ static int ublk_ch_uring_cmd(struct io_uring_cmd *cmd, unsigned int issue_flags)*/ if (io->flags &UBLK_IO_FLAG_OWNED_BY_SRV ) goto out; -/* FETCH_RQ has to provide IO buffer */ -if (!ub_cmd->addr) +/* FETCH_RQ has to provide IO buffer if NEED GET DATA is not enabled */ +if (!ub_cmd->addr && !ublk_need_get_data (ubq)) goto out; io->cmd = cmd; io->flags |=UBLK_IO_FLAG_ACTIVE ;
@@ -1266,8 +1267,12 @@ static int ublk_ch_uring_cmd(struct io_uring_cmd *cmd, unsigned int issue_flags)ublk_mark_io_ready (ub, ubq);break ;case UBLK_IO_COMMIT_AND_FETCH_REQ : -/* FETCH_RQ has to provide IO buffer */ -if (!ub_cmd->addr) + req =blk_mq_tag_to_rq (ub->tag_set.tags[ub_cmd->q_id], tag); +/* +* COMMIT_AND_FETCH_REQ has to provide IO buffer if NEED GET DATA is +* not enabled or it is Read IO. +*/ +if (!ub_cmd->addr && (!ublk_need_get_data (ubq) ||req_op (req) ==REQ_OP_READ )) goto out;if (!(io->flags &UBLK_IO_FLAG_OWNED_BY_SRV )) goto out;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 104/885 arm64: dts: qcom: pmk8350: Specify PBS register for PON
In reply to Greg Kroah-HartmanFrom: Konrad Dybcio <[email protected]>
[ Upstream commit f46ef374e0dcb8fd2f272a376cf0dcdab7e52fc2 ]
PMK8350 is the first PMIC to require both HLOS and PBS registers for PON to function properly (at least in theory, sm8350 sees no change). The support for it on the driver side has been added long ago, but it has never been wired up. Do so.
Stable-dep-of: c0ee8e0ba5cc ("arm64: dts: qcom: pmk8350: Use the correct PON compatible")
--- arch/arm64/boot/dts/qcom/pmk8350.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/pmk8350.dtsi +2 -1
@@ -17,7 +17,8 @@ pmk8350: pmic@0 { pmk8350_pon: pon@1300 { compatible = "qcom,pm8998-pon"; - reg = <0x1300>; + reg = <0x1300>, <0x800>; + reg-names = "hlos", "pbs"; pon_pwrkey: pwrkey { compatible = "qcom,pmk8350-pwrkey";
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 105/885 arm64: dts: qcom: pmk8350: Use the correct PON compatible
In reply to Greg Kroah-HartmanFrom: Konrad Dybcio <[email protected]>
[ Upstream commit c0ee8e0ba5cc17623e63349a168b41e407b1eef0 ]
A special compatible was introduced for PMK8350 both in the driver and the bindings to facilitate for 2 base registers (PBS & HLOS). Use it.
--- arch/arm64/boot/dts/qcom/pmk8350.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/pmk8350.dtsi +1 -1
@@ -16,7 +16,7 @@ pmk8350: pmic@0 { #size-cells = <0>; pmk8350_pon: pon@1300 { - compatible = "qcom,pm8998-pon"; + compatible = "qcom,pmk8350-pon"; reg = <0x1300>, <0x800>; reg-names = "hlos", "pbs";
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 106/885 erofs: relinquish volume with mutex held
In reply to Greg Kroah-HartmanFrom: Jingbo Xu <[email protected]>
[ Upstream commit 7032809a44d752b9e2275833787e0aa88a7540af ]
Relinquish fscache volume with mutex held. Otherwise if a new domain is registered when the old domain with the same name gets removed from the list but not relinquished yet, fscache may complain the collision.
--- fs/erofs/fscache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/erofs/fscache.c +1 -1
@@ -398,8 +398,8 @@ static void erofs_fscache_domain_put(struct erofs_domain *domain)kern_unmount (erofs_pseudo_mnt); erofs_pseudo_mnt =NULL ; } -mutex_unlock (&erofs_domain_list_lock);fscache_relinquish_volume (domain->volume,NULL , false); +mutex_unlock (&erofs_domain_list_lock);kfree (domain->domain_id);kfree (domain);return ;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 80/885 arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node
In reply to Greg Kroah-HartmanFrom: AngeloGioacchino Del Regno <[email protected]>
[ Upstream commit 22925af785fa3470efdf566339616d801119d348 ]
Specify #pwm-cells on pwm@11006000 to make it actually usable.
--- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/mediatek/mt7622.dtsi +1 -0
@@ -435,6 +435,7 @@ uart3: serial@11005000 { pwm: pwm@11006000 { compatible = "mediatek,mt7622-pwm"; reg = <0 0x11006000 0 0x1000>; + #pwm-cells = <2>; interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>; clocks = <&topckgen CLK_TOP_PWM_SEL>, <&pericfg CLK_PERI_PWM_PD>,
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 107/885 block: sync mixed merged requests failfast with 1st bios
In reply to Greg Kroah-HartmanFrom: Ming Lei <[email protected]>
[ Upstream commit 3ce6a115980c019928fcd06e01f64003886af79c ]
We support mixed merge for requests/bios with different fastfail settings. When request fails, each time we only handle the portion with same failfast setting, then bios with failfast can be failed immediately, and bios without failfast can be retried.
The idea is pretty good, but the current implementation has several defects:
1) initially RA bio doesn't set failfast, however bio merge code doesn't consider this point, and just check its failfast setting for deciding if mixed merge is required. Fix this issue by adding helper of bio_failfast().
2) when merging bio to request front, if this request is mixed merged, we have to sync request's faifast setting with 1st bio's failfast. Fix it by calling blk_update_mixed_merge().
3) when merging bio to request back, if this request is mixed merged, we have to mark the bio as failfast, because blk_update_request simply updates request failfast with 1st bio's failfast. Fix it by calling blk_update_mixed_merge().
Fixes one normal EXT4 READ IO failure issue, because it is observed that the normal READ IO is merged with RA IO, and the mixed merged request has different failfast setting with 1st bio's, so finally the normal READ IO doesn't get retried.
--- block/blk-merge.c | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-)
block/blk-merge.c +33 -2
@@ -747,6 +747,33 @@ void blk_rq_set_mixed_merge(struct request *rq) rq->rq_flags |=RQF_MIXED_MERGE ; } +static inline unsigned int bio_failfast (const struct bio *bio) +{ +if (bio->bi_opf &REQ_RAHEAD ) +return REQ_FAILFAST_MASK ; + +return bio->bi_opf &REQ_FAILFAST_MASK ; +} + +/* +* After we are marked as MIXED_MERGE, any new RA bio has to be updated +* as failfast, and request's failfast has to be updated in case of +* front merge. +*/ +static inline void blk_update_mixed_merge (struct request *req, +struct bio *bio,bool front_merge) +{ +if (req->rq_flags &RQF_MIXED_MERGE ) { +if (bio->bi_opf &REQ_RAHEAD ) + bio->bi_opf |=REQ_FAILFAST_MASK ; + +if (front_merge) { + req->cmd_flags &= ~REQ_FAILFAST_MASK ; + req->cmd_flags |= bio->bi_opf &REQ_FAILFAST_MASK ; + } + } +} +static void blk_account_io_merge_request (struct request *req) {if (blk_do_io_stat (req)) {
@@ -944,7 +971,7 @@ enum bio_merge_status {static enum bio_merge_status bio_attempt_back_merge (struct request *req,struct bio *bio,unsigned int nr_segs) { -const blk_opf_t ff = bio->bi_opf &REQ_FAILFAST_MASK ; +const blk_opf_t ff =bio_failfast (bio);if (!ll_back_merge_fn (req, bio, nr_segs))return BIO_MERGE_FAILED ;
@@ -955,6 +982,8 @@ static enum bio_merge_status bio_attempt_back_merge(struct request *req,if ((req->cmd_flags &REQ_FAILFAST_MASK ) != ff)blk_rq_set_mixed_merge (req); +blk_update_mixed_merge (req, bio, false); + req->biotail->bi_next = bio; req->biotail = bio; req->__data_len += bio->bi_iter.bi_size;
@@ -968,7 +997,7 @@ static enum bio_merge_status bio_attempt_back_merge(struct request *req,static enum bio_merge_status bio_attempt_front_merge (struct request *req,struct bio *bio,unsigned int nr_segs) { -const blk_opf_t ff = bio->bi_opf &REQ_FAILFAST_MASK ; +const blk_opf_t ff =bio_failfast (bio);if (!ll_front_merge_fn (req, bio, nr_segs))return BIO_MERGE_FAILED ;
@@ -979,6 +1008,8 @@ static enum bio_merge_status bio_attempt_front_merge(struct request *req,if ((req->cmd_flags &REQ_FAILFAST_MASK ) != ff)blk_rq_set_mixed_merge (req); +blk_update_mixed_merge (req, bio, true); + bio->bi_next = req->bio; req->bio = bio;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 108/885 block: Fix io statistics for cgroup in throttle path
In reply to Greg Kroah-HartmanFrom: Jinke Han <[email protected]>
[ Upstream commit 0f7c8f0f7934c389b0f9fa1f151e753d8de6348f ]
In the current code, io statistics are missing for cgroup when bio was throttled by blk-throttle. Fix it by moving the unreaching code to submit_bio_noacct_nocheck.
--- block/blk-core.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-)
block/blk-core.c +12 -11
@@ -672,6 +672,18 @@ static void __submit_bio_noacct_mq(struct bio *bio)void submit_bio_noacct_nocheck (struct bio *bio) { +blk_cgroup_bio_start (bio); +blkcg_bio_issue_init (bio); + +if (!bio_flagged (bio,BIO_TRACE_COMPLETION )) { +trace_block_bio_queue (bio); +/* +* Now that enqueuing has been traced, we need to trace +* completion as well. +*/ +bio_set_flag (bio,BIO_TRACE_COMPLETION ); + } +/* * We only want one ->submit_bio to be active at a time, else stack * usage with stacked devices could be a problem. Use current->bio_list
@@ -776,17 +788,6 @@ void submit_bio_noacct(struct bio *bio)if (blk_throtl_bio (bio))return ; - -blk_cgroup_bio_start (bio); -blkcg_bio_issue_init (bio); - -if (!bio_flagged (bio,BIO_TRACE_COMPLETION )) { -trace_block_bio_queue (bio); -/* Now that enqueuing has been traced, we need to trace -* completion as well. -*/ -bio_set_flag (bio,BIO_TRACE_COMPLETION ); - }submit_bio_noacct_nocheck (bio);return ;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 109/885 block: bio-integrity: Copy flags when bio_integrity_payload is cloned
In reply to Greg Kroah-HartmanFrom: Martin K. Petersen <[email protected]>
[ Upstream commit b6a4bdcda430e3ca43bbb9cb1d4d4d34ebe15c40 ]
Make sure to copy the flags when a bio_integrity_payload is cloned. Otherwise per-I/O properties such as IP checksum flag will not be passed down to the HBA driver. Since the integrity buffer is owned by the original bio, the BIP_BLOCK_INTEGRITY flag needs to be masked off to avoid a double free in the completion path.
--- block/bio-integrity.c | 1 + 1 file changed, 1 insertion(+)
block/bio-integrity.c +1 -0
@@ -418,6 +418,7 @@ int bio_integrity_clone(struct bio *bio, struct bio *bio_src, bip->bip_vcnt = bip_src->bip_vcnt; bip->bip_iter = bip_src->bip_iter; + bip->bip_flags = bip_src->bip_flags & ~BIP_BLOCK_INTEGRITY ;return 0 ; }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 81/885 arm64: dts: mediatek: mt8186: Fix watchdog compatible
In reply to Greg Kroah-HartmanFrom: AngeloGioacchino Del Regno <[email protected]>
[ Upstream commit e5e961628d696237ddc3d53d9d5ac11f43e0bf67 ]
MT8186's watchdog embeds a reset controller and needs only the mediatek,mt8186-wdt compatible string as the MT6589 one is there for watchdogs that don't have any reset controller capability.
--- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/mediatek/mt8186.dtsi +1 -2
@@ -330,8 +330,7 @@ pio: pinctrl@10005000 { }; watchdog: watchdog@10007000 { - compatible = "mediatek,mt8186-wdt", - "mediatek,mt6589-wdt"; + compatible = "mediatek,mt8186-wdt"; mediatek,disable-extrst; reg = <0 0x10007000 0 0x1000>; #reset-cells = <1>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 82/885 arm64: dts: mediatek: mt8195: Fix watchdog compatible
In reply to Greg Kroah-HartmanFrom: AngeloGioacchino Del Regno <[email protected]>
[ Upstream commit 02938f460cde0d360dde48056c4d1c0a4bd49230 ]
MT8195's watchdog embeds a reset controller and needs only the mediatek,mt8195-wdt compatible string as the MT6589 one is there for watchdogs that don't have any reset controller capability.
--- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/mediatek/mt8195.dtsi +1 -2
@@ -690,8 +690,7 @@ power-domain@MT8195_POWER_DOMAIN_AUDIO { }; watchdog: watchdog@10007000 { - compatible = "mediatek,mt8195-wdt", - "mediatek,mt6589-wdt"; + compatible = "mediatek,mt8195-wdt"; mediatek,disable-extrst; reg = <0 0x10007000 0 0x100>; #reset-cells = <1>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 83/885 arm64: dts: mediatek: mt7986: Fix watchdog compatible
In reply to Greg Kroah-HartmanFrom: Allen-KH Cheng <[email protected]>
[ Upstream commit 70d24df30d06e5c822ba94751166ef55d0e28a89 ]
MT7986's watchdog embeds a reset controller and needs only the mediatek,mt7986-wdt compatible string as the MT6589 one is there for watchdogs that don't have any reset controller capability.
--- arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/mediatek/mt7986a.dtsi +1 -2
@@ -125,8 +125,7 @@ topckgen: topckgen@1001b000 { }; watchdog: watchdog@1001c000 { - compatible = "mediatek,mt7986-wdt", - "mediatek,mt6589-wdt"; + compatible = "mediatek,mt7986-wdt"; reg = <0 0x1001c000 0 0x1000>; interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; #reset-cells = <1>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 84/885 ARM: dts: stm32: Update part number NVMEM description on stm32mp131
In reply to Greg Kroah-HartmanFrom: Patrick Delaunay <[email protected]>
[ Upstream commit 366384e495511bea8583e44173629a3012d62db0 ]
The STM32MP13x Device Part Number (also named RPN in reference manual) only uses the first 12 bits in OTP4, all the other bit are reserved and they can be different of zero; they must be masked in NVMEM result, so the number of bits must be defined in the nvmem cell description.
--- arch/arm/boot/dts/stm32mp131.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/stm32mp131.dtsi +1 -0
@@ -405,6 +405,7 @@ bsec: efuse@5c005000 { part_number_otp: part_number_otp@4 { reg = <0x4 0x2>; + bits = <0 12>; }; ts_cal1: calib@5c { reg = <0x5c 0x2>;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 85/885 blk-mq: avoid sleep in blk_mq_alloc_request_hctx
In reply to Greg Kroah-HartmanFrom: Kemeng Shi <[email protected]>
[ Upstream commit 6ee858a3d3270a68902d66bb47c151a83622535c ]
Commit 1f5bd336b9150 ("blk-mq: add blk_mq_alloc_request_hctx") add blk_mq_alloc_request_hctx to send commands to a specific queue. If BLK_MQ_REQ_NOWAIT is not set in tag allocation, we may change to different hctx after sleep and get tag from unexpected hctx. So BLK_MQ_REQ_NOWAIT must be set in flags for blk_mq_alloc_request_hctx.
After commit 600c3b0cea784 ("blk-mq: open code __blk_mq_alloc_request in blk_mq_alloc_request_hctx"), blk_mq_alloc_request_hctx return -EINVAL if both BLK_MQ_REQ_NOWAIT and BLK_MQ_REQ_RESERVED are not set instead of if BLK_MQ_REQ_NOWAIT is not set. So if BLK_MQ_REQ_NOWAIT is not set and BLK_MQ_REQ_RESERVED is set, blk_mq_alloc_request_hctx could alloc tag from unexpected hctx. I guess what we need here is that return -EINVAL if either BLK_MQ_REQ_NOWAIT or BLK_MQ_REQ_RESERVED is not set.
Currently both BLK_MQ_REQ_NOWAIT and BLK_MQ_REQ_RESERVED will be set if specific hctx is needed in nvme_auth_submit, nvmf_connect_io_queue and nvmf_connect_admin_queue. Fix the potential BLK_MQ_REQ_NOWAIT missed case in future.
--- block/blk-mq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
block/blk-mq.c +2 -1
@@ -626,7 +626,8 @@ struct request *blk_mq_alloc_request_hctx(struct request_queue *q,* allocator for this for the rare use case of a command tied to * a specific queue. */ -if (WARN_ON_ONCE (!(flags & (BLK_MQ_REQ_NOWAIT |BLK_MQ_REQ_RESERVED )))) +if (WARN_ON_ONCE (!(flags &BLK_MQ_REQ_NOWAIT )) || +WARN_ON_ONCE (!(flags &BLK_MQ_REQ_RESERVED )))return ERR_PTR (-EINVAL );if (hctx_idx >= q->nr_hw_queues)
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 86/885 blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx
In reply to Greg Kroah-HartmanFrom: Kemeng Shi <[email protected]>
[ Upstream commit c31e76bcc379182fe67a82c618493b7b8868c672 ]
Commit 97889f9ac24f8 ("blk-mq: remove synchronize_rcu() from blk_mq_del_queue_tag_set()") remove handle of TAG_SHARED in restart, then shared_hctx_restart counted for how many hardware queues are marked for restart is removed too.
Remove the stale comment that we still count hardware queues need restart.
--- block/blk-mq-sched.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
block/blk-mq-sched.c +1 -2
@@ -19,8 +19,7 @@#include "blk-wbt.h" /* -* Mark a hardware queue as needing a restart. For shared queues, maintain -* a count of how many hardware queues are marked for restart. +* Mark a hardware queue as needing a restart. */ void blk_mq_sched_mark_restart_hctx (struct blk_mq_hw_ctx *hctx) {
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 77/885 arm64: dts: mt8195: Fix CPU map for single-cluster SoC
In reply to Greg Kroah-HartmanFrom: AngeloGioacchino Del Regno <[email protected]>
[ Upstream commit cc4f0b13a887b483faa45084616998a21b63889d ]
MT8195 features the ARM DynamIQ technology and combines both four Cortex-A78 (big) and four Cortex-A55 (LITTLE) CPUs in one cluster:
fix the CPU map to reflect that.
--- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/mediatek/mt8195.dtsi +4 -6
@@ -150,22 +150,20 @@ core2 { core3 { cpu = <&cpu3>; }; - }; - cluster1 { - core0 { + core4 { cpu = <&cpu4>; }; - core1 { + core5 { cpu = <&cpu5>; }; - core2 { + core6 { cpu = <&cpu6>; }; - core3 { + core7 { cpu = <&cpu7>; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 111/885 wifi: mt76: mt7915: add missing of_node_put()
In reply to Greg Kroah-HartmanFrom: Wang Yufen <[email protected]>
[ Upstream commit 18425d7d74c5be88b13b970a21e52e2498abf4ba ]
Add missing of_node_put() after of_reserved_mem_lookup()
--- drivers/net/wireless/mediatek/mt76/mt7915/soc.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/mediatek/mt76/mt7915/soc.c +1 -0
@@ -278,6 +278,7 @@ static int mt7986_wmac_coninfra_setup(struct mt7915_dev *dev)return -EINVAL ; rmem =of_reserved_mem_lookup (np); +of_node_put (np);if (!rmem)return -EINVAL ;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 120/885 wifi: rtlwifi: rtl8723be: dont call kfree_skb() under spin_lock_irqsave()
In reply to Greg Kroah-HartmanFrom: Yang Yingliang <[email protected]>
[ Upstream commit 313950c2114e7051c4e3020fd82495fa1fb526a8 ]
It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled. All the SKBs have been dequeued from the old queue, so it's safe to enqueue these SKBs to a free queue, then free them after spin_unlock_irqrestore() at once. Compile tested only.
--- drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c +5 -1
@@ -30,8 +30,10 @@ static void _rtl8723be_return_beacon_queue_skb(struct ieee80211_hw *hw)struct rtl_priv *rtlpriv =rtl_priv (hw);struct rtl_pci *rtlpci =rtl_pcidev (rtl_pcipriv (hw));struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[BEACON_QUEUE ]; +struct sk_buff_head free_list;unsigned long flags; +skb_queue_head_init (&free_list);spin_lock_irqsave (&rtlpriv->locks.irq_th_lock, flags);while (skb_queue_len (&ring->queue)) {struct rtl_tx_desc *entry = &ring->desc[ring->idx];
@@ -41,10 +43,12 @@ static void _rtl8723be_return_beacon_queue_skb(struct ieee80211_hw *hw) rtlpriv->cfg->ops->get_desc (hw, (u8 *)entry, true,HW_DESC_TXBUFF_ADDR ), skb->len, DMA_TO_DEVICE); -kfree_skb (skb); +__skb_queue_tail (&free_list, skb); ring->idx = (ring->idx +1 ) % ring->entries; }spin_unlock_irqrestore (&rtlpriv->locks.irq_th_lock, flags); + +__skb_queue_purge (&free_list); } static void _rtl8723be_set_bcn_ctrl_reg(struct ieee80211_hw *hw,
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 121/885 wifi: iwlegacy: common: dont call dev_kfree_skb() under spin_lock_irqsave()
In reply to Greg Kroah-HartmanFrom: Yang Yingliang <[email protected]>
[ Upstream commit 0c1528675d7a9787cb516b64d8f6c0f6f8efcb48 ]
It is not allowed to call consume_skb() from hardware interrupt context or with interrupts being disabled. So replace dev_kfree_skb() with dev_consume_skb_irq() under spin_lock_irqsave(). Compile tested only.
--- drivers/net/wireless/intel/iwlegacy/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/intel/iwlegacy/common.c +2 -2
@@ -5174,7 +5174,7 @@ il_mac_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif)memset (&il->current_ht_config,0 ,sizeof (struct il_ht_config ));/* new association get rid of ibss beacon skb */ -dev_kfree_skb (il->beacon_skb); +dev_consume_skb_irq (il->beacon_skb); il->beacon_skb =NULL ; il->timestamp =0 ;
@@ -5293,7 +5293,7 @@ il_beacon_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif) }spin_lock_irqsave (&il->lock, flags); -dev_kfree_skb (il->beacon_skb); +dev_consume_skb_irq (il->beacon_skb); il->beacon_skb = skb; timestamp = ((struct ieee80211_mgmt *)skb->data)->u.beacon.timestamp;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 122/885 wifi: libertas: fix memory leak in lbs_init_adapter()
In reply to Greg Kroah-HartmanFrom: Zhengchao Shao <[email protected]>
[ Upstream commit 16a03958618fb91bb1bc7077cf3211055162cc2f ]
When kfifo_alloc() failed in lbs_init_adapter(), cmd buffer is not released. Add free memory to processing error path.
--- drivers/net/wireless/marvell/libertas/main.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/marvell/libertas/main.c +1 -0
@@ -869,6 +869,7 @@ static int lbs_init_adapter(struct lbs_private *priv) ret =kfifo_alloc (&priv->event_fifo,sizeof (u32) *16 ,GFP_KERNEL );if (ret) {pr_err ("Out of memory allocating event FIFO buffer\n" ); +lbs_free_cmd_buffer (priv); goto out; }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 123/885 wifi: rtl8xxxu: dont call dev_kfree_skb() under spin_lock_irqsave()
In reply to Greg Kroah-HartmanFrom: Yang Yingliang <[email protected]>
[ Upstream commit 4c2005ac87685907b3719b4f40215b578efd27c4 ]
It is not allowed to call kfree_skb() or consume_skb() from hardware interrupt context or with hardware interrupts being disabled.
It should use dev_kfree_skb_irq() or dev_consume_skb_irq() instead. The difference between them is free reason, dev_kfree_skb_irq() means the SKB is dropped in error and dev_consume_skb_irq() means the SKB is consumed in normal.
In this case, dev_kfree_skb() is called to free and drop the SKB when it's shutdown, so replace it with dev_kfree_skb_irq(). Compile tested only.
--- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +1 -1
@@ -5270,7 +5270,7 @@ static void rtl8xxxu_queue_rx_urb(struct rtl8xxxu_priv *priv, pending = priv->rx_urb_pending_count; }else { skb = (struct sk_buff *)rx_urb->urb.context; -dev_kfree_skb (skb); +dev_kfree_skb_irq (skb);usb_free_urb (&rx_urb->urb); }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 124/885 wifi: rtw89: 8852c: rfk: correct DACK setting
In reply to Greg Kroah-HartmanFrom: Ping-Ke Shih <[email protected]>
[ Upstream commit b2bab7b14098dcf5d405fa8c76b2c3f6ce9184f9 ]
After filling calibration parameters, set BIT(0) to enable the hardware circuit, but original set incorrect bit that affects a little TX performance.
--- drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c +1 -1
@@ -338,7 +338,7 @@ static void _dack_reload_by_path(struct rtw89_dev *rtwdev, (dack->dadck_d[path][index] <<14 ); addr =0xc210 + offset;rtw89_phy_write32 (rtwdev, addr, val32); -rtw89_phy_write32_set (rtwdev, addr,BIT (1 )); +rtw89_phy_write32_set (rtwdev, addr,BIT (0 )); }static void _dack_reload (struct rtw89_dev *rtwdev,enum rtw89_rf_path path)
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 125/885 wifi: rtw89: 8852c: rfk: correct DPK settings
In reply to Greg Kroah-HartmanFrom: Ping-Ke Shih <[email protected]>
[ Upstream commit 21b5f159a2ee47d30f418559f6ece0088c80199f ]
Some DPK settings are wrong, and causes bad TX performance occasionally. So, fix them by internal suggestions.
--- drivers/net/wireless/realtek/rtw89/reg.h | 2 ++ drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c | 9 ++++----- 2 files changed, 6 insertions(+), 5 deletions(-)
drivers/net/wireless/realtek/rtw89/reg.h +2 -0
@@ -3374,6 +3374,8 @@#define RR_TXRSV_GAPK BIT(19)#define RR_BIAS 0x5e#define RR_BIAS_GAPK BIT(19) +#define RR_TXAC 0x5f +#define RR_TXAC_IQG GENMASK(3, 0)#define RR_BIASA 0x60#define RR_BIASA_TXG GENMASK(15, 12)#define RR_BIASA_TXA GENMASK(19, 16)
drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c +4 -5
@@ -1873,12 +1873,11 @@ static void _dpk_rf_setting(struct rtw89_dev *rtwdev, u8 gain, 0x50101 | BIT(rtwdev->dbcc_en));rtw89_write_rf (rtwdev, path,RR_MOD_V1 ,RR_MOD_MASK ,RF_DPK ); -if (dpk->bp[path][kidx].band ==RTW89_BAND_6G && dpk->bp[path][kidx].ch >=161 ) { +if (dpk->bp[path][kidx].band ==RTW89_BAND_6G && dpk->bp[path][kidx].ch >=161 )rtw89_write_rf (rtwdev, path,RR_IQGEN ,RR_IQGEN_BIAS ,0x8 ); -rtw89_write_rf (rtwdev, path,RR_LOGEN ,RR_LOGEN_RPT ,0xd ); - }else { -rtw89_write_rf (rtwdev, path,RR_LOGEN ,RR_LOGEN_RPT ,0xd ); - } + +rtw89_write_rf (rtwdev, path,RR_LOGEN ,RR_LOGEN_RPT ,0xd ); +rtw89_write_rf (rtwdev, path,RR_TXAC ,RR_TXAC_IQG ,0x8 );rtw89_write_rf (rtwdev, path,RR_RXA2 ,RR_RXA2_ATT ,0x0 );rtw89_write_rf (rtwdev, path,RR_TXIQK ,RR_TXIQK_ATT2 ,0x3 );
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 126/885 wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()
In reply to Greg Kroah-HartmanFrom: Li Zetao <[email protected]>
[ Upstream commit 117dbeda22ec5ea0918254d03b540ef8b8a64d53 ]
There is a global-out-of-bounds reported by KASAN:
BUG: KASAN: global-out-of-bounds in _rtl8812ae_eq_n_byte.part.0+0x3d/0x84 [rtl8821ae] Read of size 1 at addr ffffffffa0773c43 by task NetworkManager/411 CPU: 6 PID: 411 Comm: NetworkManager Tainted: G D 6.1.0-rc8+ #144 e15588508517267d37 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), Call Trace: <TASK> ... kasan_report+0xbb/0x1c0 _rtl8812ae_eq_n_byte.part.0+0x3d/0x84 [rtl8821ae] rtl8821ae_phy_bb_config.cold+0x346/0x641 [rtl8821ae] rtl8821ae_hw_init+0x1f5e/0x79b0 [rtl8821ae] ... </TASK>
The root cause of the problem is that the comparison order of "prate_section" in _rtl8812ae_phy_set_txpower_limit() is wrong. The _rtl8812ae_eq_n_byte() is used to compare the first n bytes of the two strings from tail to head, which causes the problem. In the _rtl8812ae_phy_set_txpower_limit(), it was originally intended to meet this requirement by carefully designing the comparison order. For example, "pregulation" and "pbandwidth" are compared in order of length from small to large, first is 3 and last is 4. However, the comparison order of "prate_section" dose not obey such order requirement, therefore when "prate_section" is "HT", when comparing from tail to head, it will lead to access out of bounds in _rtl8812ae_eq_n_byte(). As mentioned above, the _rtl8812ae_eq_n_byte() has the same function as strcmp(), so just strcmp() is enough.
Fix it by removing _rtl8812ae_eq_n_byte() and use strcmp() barely. Although it can be fixed by adjusting the comparison order of "prate_section", this may cause the value of "rate_section" to not be from 0 to 5. In addition, commit "21e4b0726dc6" not only moved driver from staging to regular tree, but also added setting txpower limit function during the driver config phase, so the problem was introduced by this commit.
--- .../wireless/realtek/rtlwifi/rtl8821ae/phy.c | 52 +++++++------------ 1 file changed, 20 insertions(+), 32 deletions(-)
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c +20 -32
@@ -1598,18 +1598,6 @@ static bool _rtl8812ae_get_integer_from_string(const char *str, u8 *pint)return true; } -static bool _rtl8812ae_eq_n_byte (const char *str1,const char *str2,u32 num) -{ -if (num ==0 ) -return false; -while (num >0 ) { - num--; -if (str1[num] != str2[num]) -return false; - } -return true; -} -static s8 _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt (struct ieee80211_hw *hw,u8 band,u8 channel) {
@@ -1659,42 +1647,42 @@ static void _rtl8812ae_phy_set_txpower_limit(struct ieee80211_hw *hw, power_limit = power_limit >MAX_POWER_INDEX ?MAX_POWER_INDEX : power_limit; -if (_rtl8812ae_eq_n_byte (pregulation,"FCC" ,3 )) +if (strcmp (pregulation,"FCC" ) ==0 ) regulation =0 ; -else if (_rtl8812ae_eq_n_byte (pregulation,"MKK" ,3 )) +else if (strcmp (pregulation,"MKK" ) ==0 ) regulation =1 ; -else if (_rtl8812ae_eq_n_byte (pregulation,"ETSI" ,4 )) +else if (strcmp (pregulation,"ETSI" ) ==0 ) regulation =2 ; -else if (_rtl8812ae_eq_n_byte (pregulation,"WW13" ,4 )) +else if (strcmp (pregulation,"WW13" ) ==0 ) regulation =3 ; -if (_rtl8812ae_eq_n_byte (prate_section,"CCK" ,3 )) +if (strcmp (prate_section,"CCK" ) ==0 ) rate_section =0 ; -else if (_rtl8812ae_eq_n_byte (prate_section,"OFDM" ,4 )) +else if (strcmp (prate_section,"OFDM" ) ==0 ) rate_section =1 ; -else if (_rtl8812ae_eq_n_byte (prate_section,"HT" ,2 ) && -_rtl8812ae_eq_n_byte (prf_path,"1T" ,2 )) +else if (strcmp (prate_section,"HT" ) ==0 && +strcmp (prf_path,"1T" ) ==0 ) rate_section =2 ; -else if (_rtl8812ae_eq_n_byte (prate_section,"HT" ,2 ) && -_rtl8812ae_eq_n_byte (prf_path,"2T" ,2 )) +else if (strcmp (prate_section,"HT" ) ==0 && +strcmp (prf_path,"2T" ) ==0 ) rate_section =3 ; -else if (_rtl8812ae_eq_n_byte (prate_section,"VHT" ,3 ) && -_rtl8812ae_eq_n_byte (prf_path,"1T" ,2 )) +else if (strcmp (prate_section,"VHT" ) ==0 && +strcmp (prf_path,"1T" ) ==0 ) rate_section =4 ; -else if (_rtl8812ae_eq_n_byte (prate_section,"VHT" ,3 ) && -_rtl8812ae_eq_n_byte (prf_path,"2T" ,2 )) +else if (strcmp (prate_section,"VHT" ) ==0 && +strcmp (prf_path,"2T" ) ==0 ) rate_section =5 ; -if (_rtl8812ae_eq_n_byte (pbandwidth,"20M" ,3 )) +if (strcmp (pbandwidth,"20M" ) ==0 ) bandwidth =0 ; -else if (_rtl8812ae_eq_n_byte (pbandwidth,"40M" ,3 )) +else if (strcmp (pbandwidth,"40M" ) ==0 ) bandwidth =1 ; -else if (_rtl8812ae_eq_n_byte (pbandwidth,"80M" ,3 )) +else if (strcmp (pbandwidth,"80M" ) ==0 ) bandwidth =2 ; -else if (_rtl8812ae_eq_n_byte (pbandwidth,"160M" ,4 )) +else if (strcmp (pbandwidth,"160M" ) ==0 ) bandwidth =3 ; -if (_rtl8812ae_eq_n_byte (pband,"2.4G" ,4 )) { +if (strcmp (pband,"2.4G" ) ==0 ) { ret =_rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt (hw,BAND_ON_2_4G , channel);
@@ -1718,7 +1706,7 @@ static void _rtl8812ae_phy_set_txpower_limit(struct ieee80211_hw *hw, regulation, bandwidth, rate_section, channel_index, rtlphy->txpwr_limit_2_4g[regulation][bandwidth] [rate_section][channel_index][RF90_PATH_A]); - }else if (_rtl8812ae_eq_n_byte (pband,"5G" ,2 )) { + }else if (strcmp (pband,"5G" ) ==0 ) { ret =_rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt (hw,BAND_ON_5G , channel);
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 127/885 libbpf: Fix btf__align_of() by taking into account field offsets
In reply to Greg Kroah-HartmanFrom: Andrii Nakryiko <[email protected]>
[ Upstream commit 25a4481b4136af7794e1df2d6c90ed2f354d60ce ]
btf__align_of() is supposed to be return alignment requirement of a requested BTF type. For STRUCT/UNION it doesn't always return correct value, because it calculates alignment only based on field types. But for packed structs this is not enough, we need to also check field offsets and struct size. If field offset isn't aligned according to field type's natural alignment, then struct must be packed. Similarly, if struct size is not a multiple of struct's natural alignment, then struct must be packed as well.
This patch fixes this issue precisely by additionally checking these conditions.
--- tools/lib/bpf/btf.c | 13 +++++++++++++ 1 file changed, 13 insertions(+)
tools/lib/bpf/btf.c +13 -0
@@ -688,8 +688,21 @@ int btf__align_of(const struct btf *btf, __u32 id)if (align <=0 )return libbpf_err (align); max_align =max (max_align, align); + +/* if field offset isn't aligned according to field +* type's alignment, then struct must be packed +*/ +if (btf_member_bitfield_size (t, i) ==0 && + (m->offset % (8 * align)) !=0 ) +return 1 ; } +/* if struct/union size isn't a multiple of its alignment, +* then struct must be packed +*/ +if ((t->size % max_align) !=0 ) +return 1 ; +return max_align; }default :
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 128/885 wifi: ipw2x00: dont call dev_kfree_skb() under spin_lock_irqsave()
In reply to Greg Kroah-HartmanFrom: Yang Yingliang <[email protected]>
[ Upstream commit 45fc6d7461f18df2f238caf0cbc5acc4163203d1 ]
It is not allowed to call kfree_skb() or consume_skb() from hardware interrupt context or with hardware interrupts being disabled.
It should use dev_kfree_skb_irq() or dev_consume_skb_irq() instead. The difference between them is free reason, dev_kfree_skb_irq() means the SKB is dropped in error and dev_consume_skb_irq() means the SKB is consumed in normal.
In this case, dev_kfree_skb() is called to free and drop the SKB when it's reset, so replace it with dev_kfree_skb_irq(). Compile tested only.
--- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/intel/ipw2x00/ipw2200.c +1 -1
@@ -3441,7 +3441,7 @@ static void ipw_rx_queue_reset(struct ipw_priv *priv,dma_unmap_single (&priv->pci_dev->dev, rxq->pool[i].dma_addr,IPW_RX_BUF_SIZE ,DMA_FROM_DEVICE ); -dev_kfree_skb (rxq->pool[i].skb); +dev_kfree_skb_irq (rxq->pool[i].skb); rxq->pool[i].skb =NULL ; }list_add_tail (&rxq->pool[i].list, &rxq->rx_used);
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 129/885 wifi: ipw2200: fix memory leak in ipw_wdev_init()
In reply to Greg Kroah-HartmanFrom: Zhengchao Shao <[email protected]>
[ Upstream commit 9fe21dc626117fb44a8eb393713a86a620128ce3 ]
In the error path of ipw_wdev_init(), exception value is returned, and the memory applied for in the function is not released. Also the memory is not released in ipw_pci_probe(). As a result, memory leakage occurs. So memory release needs to be added to the error path of ipw_wdev_init().
--- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
drivers/net/wireless/intel/ipw2x00/ipw2200.c +7 -2
@@ -11397,9 +11397,14 @@ static int ipw_wdev_init(struct net_device *dev)set_wiphy_dev (wdev->wiphy, &priv->pci_dev->dev);/* With that information in place, we can now register the wiphy... */ -if (wiphy_register (wdev->wiphy)) - rc = -EIO ; + rc =wiphy_register (wdev->wiphy); +if (rc) + goto out; + +return 0 ; out: +kfree (priv->ieee->a_band.channels); +kfree (priv->ieee->bg_band.channels);return rc; }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 112/885 wifi: mt76: mt7921s: fix slab-out-of-bounds access in sdio host
In reply to Greg Kroah-HartmanFrom: Deren Wu <[email protected]>
[ Upstream commit aec4cf2ea0797e28f18f8dbe01943a56d987fe56 ]
SDIO may need addtional 511 bytes to align bus operation. If the tailroom of this skb is not big enough, we would access invalid memory region. For low level operation, increase skb size to keep valid memory access in SDIO host.
Error message:
[69.951] BUG: KASAN: slab-out-of-bounds in sg_copy_buffer+0xe9/0x1a0 [69.951] Read of size 64 at addr ffff88811c9cf000 by task kworker/u16:7/451 [69.951] CPU: 4 PID: 451 Comm: kworker/u16:7 Tainted: G W OE 6.1.0-rc5 #1 [69.951] Workqueue: kvub300c vub300_cmndwork_thread [vub300] [69.951] Call Trace: [69.951] <TASK> [69.952] dump_stack_lvl+0x49/0x63 [69.952] print_report+0x171/0x4a8 [69.952] kasan_report+0xb4/0x130 [69.952] kasan_check_range+0x149/0x1e0 [69.952] memcpy+0x24/0x70 [69.952] sg_copy_buffer+0xe9/0x1a0 [69.952] sg_copy_to_buffer+0x12/0x20 [69.952] __command_write_data.isra.0+0x23c/0xbf0 [vub300] [69.952] vub300_cmndwork_thread+0x17f3/0x58b0 [vub300] [69.952] process_one_work+0x7ee/0x1320 [69.952] worker_thread+0x53c/0x1240 [69.952] kthread+0x2b8/0x370 [69.952] ret_from_fork+0x1f/0x30 [69.952] </TASK>
[69.952] Allocated by task 854:
[69.952] kasan_save_stack+0x26/0x50
[69.952] kasan_set_track+0x25/0x30
[69.952] kasan_save_alloc_info+0x1b/0x30
[69.952] __kasan_kmalloc+0x87/0xa0
[69.952] __kmalloc_node_track_caller+0x63/0x150
[69.952] kmalloc_reserve+0x31/0xd0
[69.952] __alloc_skb+0xfc/0x2b0
[69.952] __mt76_mcu_msg_alloc+0xbf/0x230 [mt76]
[69.952] mt76_mcu_send_and_get_msg+0xab/0x110 [mt76]
[69.952] __mt76_mcu_send_firmware.cold+0x94/0x15d [mt76]
[69.952] mt76_connac_mcu_send_ram_firmware+0x415/0x54d [mt76_connac_lib]
[69.952] mt76_connac2_load_ram.cold+0x118/0x4bc [mt76_connac_lib]
[69.952] mt7921_run_firmware.cold+0x2e9/0x405 [mt7921_common]
[69.952] mt7921s_mcu_init+0x45/0x80 [mt7921s]
[69.953] mt7921_init_work+0xe1/0x2a0 [mt7921_common]
[69.953] process_one_work+0x7ee/0x1320
[69.953] worker_thread+0x53c/0x1240
[69.953] kthread+0x2b8/0x370
[69.953] ret_from_fork+0x1f/0x30
[69.953] The buggy address belongs to the object at ffff88811c9ce800
which belongs to the cache kmalloc-2k of size 2048
[69.953] The buggy address is located 0 bytes to the right of
2048-byte region [ffff88811c9ce800, ffff88811c9cf000)[69.953] Memory state around the buggy address: [69.953] ffff88811c9cef00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [69.953] ffff88811c9cef80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [69.953] >ffff88811c9cf000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [69.953] ^ [69.953] ffff88811c9cf080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [69.953] ffff88811c9cf100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
--- drivers/net/wireless/mediatek/mt76/sdio_txrx.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/wireless/mediatek/mt76/sdio_txrx.c +4 -0
@@ -254,6 +254,10 @@ static int mt76s_tx_run_queue(struct mt76_dev *dev, struct mt76_queue *q)if (!test_bit (MT76_STATE_MCU_RUNNING , &dev->phy.state)) {__skb_put_zero (e->skb,4 ); + err =__skb_grow (e->skb,roundup (e->skb->len, + sdio->func->cur_blksize)); +if (err) +return err; err =__mt76s_xmit_queue (dev, e->skb->data, e->skb->len);if (err)
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 130/885 wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()
In reply to Greg Kroah-HartmanFrom: Zhang Changzhong <[email protected]>
[ Upstream commit deb962ec9e1c9a81babd3d37542ad4bd6ac3396e ]
The wilc_mac_xmit() returns NETDEV_TX_OK without freeing skb, add dev_kfree_skb() to fix it. Compile tested only.
--- drivers/net/wireless/microchip/wilc1000/netdev.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/microchip/wilc1000/netdev.c +1 -0
@@ -730,6 +730,7 @@ netdev_tx_t wilc_mac_xmit(struct sk_buff *skb, struct net_device *ndev)if (skb->dev != ndev) {netdev_err (ndev,"Packet not destined to this device\n" ); +dev_kfree_skb (skb);return NETDEV_TX_OK ; }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 131/885 wifi: wilc1000: add missing unregister_netdev() in wilc_netdev_ifc_init()
In reply to Greg Kroah-HartmanFrom: Wang Yufen <[email protected]>
[ Upstream commit 2b88974ecb358990e1c33fabcd0b9e142bab7f21 ]
Fault injection test reports this issue:
kernel BUG at net/core/dev.c:10731!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
Call Trace: <TASK> wilc_netdev_ifc_init+0x19f/0x220 [wilc1000 884bf126e9e98af6a708f266a8dffd53f99e4bf5] wilc_cfg80211_init+0x30c/0x380 [wilc1000 884bf126e9e98af6a708f266a8dffd53f99e4bf5] wilc_bus_probe+0xad/0x2b0 [wilc1000_spi 1520a7539b6589cc6cde2ae826a523a33f8bacff] spi_probe+0xe4/0x140 really_probe+0x17e/0x3f0 __driver_probe_device+0xe3/0x170 driver_probe_device+0x49/0x120
The root case here is alloc_ordered_workqueue() fails, but cfg80211_unregister_netdevice() or unregister_netdev() not be called in error handling path. To fix add unregister_netdev goto lable to add the unregister operation in error handling path.
--- drivers/net/wireless/microchip/wilc1000/netdev.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/net/wireless/microchip/wilc1000/netdev.c +6 -1
@@ -981,7 +981,7 @@ struct wilc_vif *wilc_netdev_ifc_init(struct wilc *wl, const char *name, ndev->name);if (!wl->hif_workqueue) { ret = -ENOMEM ; - goto error; + goto unregister_netdev; } ndev->needs_free_netdev = true;
@@ -996,6 +996,11 @@ struct wilc_vif *wilc_netdev_ifc_init(struct wilc *wl, const char *name,return vif; +unregister_netdev: +if (rtnl_locked) +cfg80211_unregister_netdevice (ndev); +else +unregister_netdev (ndev); error:free_netdev (ndev);return ERR_PTR (ret);
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 132/885 wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()
In reply to Greg Kroah-HartmanFrom: Zhang Changzhong <[email protected]>
[ Upstream commit 212fde3fe76e962598ce1d47b97cc78afdfc71b3 ]
The brcmf_netdev_start_xmit() returns NETDEV_TX_OK without freeing skb in case of pskb_expand_head() fails, add dev_kfree_skb() to fix it. Compile tested only.
--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c +1 -0
@@ -335,6 +335,7 @@ static netdev_tx_t brcmf_netdev_start_xmit(struct sk_buff *skb,bphy_err (drvr,"%s: failed to expand headroom\n" ,brcmf_ifname (ifp));atomic_inc (&drvr->bus_if->stats.pktcow_failed); +dev_kfree_skb (skb); goto done; } }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 133/885 wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()
In reply to Greg Kroah-HartmanFrom: Zhengchao Shao <[email protected]>
[ Upstream commit b9f420032f2ba1e634b22ca7b433e5c40ea663af ]
After the DMA buffer is mapped to a physical address, address is stored in pktids in brcmf_msgbuf_alloc_pktid(). Then, pktids is parsed in brcmf_msgbuf_get_pktid()/brcmf_msgbuf_release_array() to obtain physaddr and later unmap the DMA buffer. But when count is always equal to pktids->array_size, physaddr isn't stored in pktids and the DMA buffer will not be unmapped anyway.
--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c +4 -1
@@ -347,8 +347,11 @@ brcmf_msgbuf_alloc_pktid(struct device *dev, count++; }while (count < pktids->array_size); -if (count == pktids->array_size) +if (count == pktids->array_size) { +dma_unmap_single (dev, *physaddr, skb->len - data_offset, + pktids->direction);return -ENOMEM ; + } array[*idx].data_offset = data_offset; array[*idx].physaddr = *physaddr;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 134/885 wifi: libertas_tf: dont call kfree_skb() under spin_lock_irqsave()
In reply to Greg Kroah-HartmanFrom: Yang Yingliang <[email protected]>
[ Upstream commit 9388ce97b98216833c969191ee6df61a7201d797 ]
It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled. So replace kfree_skb() with dev_kfree_skb_irq() under spin_lock_irqsave(). Compile tested only.
--- drivers/net/wireless/marvell/libertas_tf/if_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/marvell/libertas_tf/if_usb.c +1 -1
@@ -613,7 +613,7 @@ static inline void process_cmdrequest(int recvlength, uint8_t *recvbuff,spin_lock_irqsave (&priv->driver_lock, flags);memcpy (priv->cmd_resp_buff, recvbuff +MESSAGE_HEADER_LEN , recvlength -MESSAGE_HEADER_LEN ); -kfree_skb (skb); +dev_kfree_skb_irq (skb);lbtf_cmd_response_rx (priv);spin_unlock_irqrestore (&priv->driver_lock, flags); }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 135/885 wifi: libertas: if_usb: dont call kfree_skb() under spin_lock_irqsave()
In reply to Greg Kroah-HartmanFrom: Yang Yingliang <[email protected]>
[ Upstream commit 3968e81ba644f10a7d45bae2539560db9edac501 ]
It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled. So replace kfree_skb() with dev_kfree_skb_irq() under spin_lock_irqsave(). Compile tested only.
--- drivers/net/wireless/marvell/libertas/if_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/marvell/libertas/if_usb.c +1 -1
@@ -637,7 +637,7 @@ static inline void process_cmdrequest(int recvlength, uint8_t *recvbuff, priv->resp_len[i] = (recvlength -MESSAGE_HEADER_LEN );memcpy (priv->resp_buf[i], recvbuff +MESSAGE_HEADER_LEN , priv->resp_len[i]); -kfree_skb (skb); +dev_kfree_skb_irq (skb);lbs_notify_command_response (priv, i);spin_unlock_irqrestore (&priv->driver_lock, flags);
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 136/885 wifi: libertas: main: dont call kfree_skb() under spin_lock_irqsave()
In reply to Greg Kroah-HartmanFrom: Yang Yingliang <[email protected]>
[ Upstream commit f393df151540bf858effbd29ff572ab94e76a4c4 ]
It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled. So replace kfree_skb() with dev_kfree_skb_irq() under spin_lock_irqsave(). Compile tested only.
--- drivers/net/wireless/marvell/libertas/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/marvell/libertas/main.c +1 -1
@@ -216,7 +216,7 @@ int lbs_stop_iface(struct lbs_private *priv)spin_lock_irqsave (&priv->driver_lock, flags); priv->iface_running = false; -kfree_skb (priv->currenttxskb); +dev_kfree_skb_irq (priv->currenttxskb); priv->currenttxskb =NULL ; priv->tx_pending_len =0 ;spin_unlock_irqrestore (&priv->driver_lock, flags);
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 137/885 wifi: libertas: cmdresp: dont call kfree_skb() under spin_lock_irqsave()
In reply to Greg Kroah-HartmanFrom: Yang Yingliang <[email protected]>
[ Upstream commit 708a49a64237f19bd404852f297aaadbc9e7fee0 ]
It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled. So replace kfree_skb() with dev_kfree_skb_irq() under spin_lock_irqsave(). Compile tested only.
--- drivers/net/wireless/marvell/libertas/cmdresp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/marvell/libertas/cmdresp.c +1 -1
@@ -48,7 +48,7 @@ void lbs_mac_event_disconnected(struct lbs_private *priv,/* Free Tx and Rx packets */ spin_lock_irqsave (&priv->driver_lock, flags); -kfree_skb (priv->currenttxskb); +dev_kfree_skb_irq (priv->currenttxskb); priv->currenttxskb =NULL ; priv->tx_pending_len =0 ;spin_unlock_irqrestore (&priv->driver_lock, flags);
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 138/885 wifi: wl3501_cs: dont call kfree_skb() under spin_lock_irqsave()
In reply to Greg Kroah-HartmanFrom: Yang Yingliang <[email protected]>
[ Upstream commit 44bacbdf9066c590423259dbd6d520baac99c1a8 ]
It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled. So replace kfree_skb() with dev_kfree_skb_irq() under spin_lock_irqsave(). Compile tested only.
--- drivers/net/wireless/wl3501_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/wl3501_cs.c +1 -1
@@ -1328,7 +1328,7 @@ static netdev_tx_t wl3501_hard_start_xmit(struct sk_buff *skb, }else { ++dev->stats.tx_packets; dev->stats.tx_bytes += skb->len; -kfree_skb (skb); +dev_kfree_skb_irq (skb);if (this->tx_buffer_cnt <2 )netif_stop_queue (dev);
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 139/885 libbpf: Fix invalid return address register in s390
In reply to Greg Kroah-HartmanFrom: Daniel T. Lee <[email protected]>
[ Upstream commit 7244eb669397f309c3d014264823cdc9cb3f8e6b ]
There is currently an invalid register mapping in the s390 return address register. As the manual[1] states, the return address can be found at r14. In bpf_tracing.h, the s390 registers were named gprs(general purpose registers). This commit fixes the problem by correcting the mistyped mapping.
[1]: https://uclibc.org/docs/psABI-s390x.pdf#page=14
--- tools/lib/bpf/bpf_tracing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/lib/bpf/bpf_tracing.h +1 -1
@@ -137,7 +137,7 @@ struct pt_regs___s390 {#define __PT_PARM3_REG gprs[4]#define __PT_PARM4_REG gprs[5]#define __PT_PARM5_REG gprs[6] -#define __PT_RET_REG grps[14] +#define __PT_RET_REG gprs[14]#define __PT_FP_REG gprs[11]/* Works only with CONFIG_FRAME_POINTER */ #define __PT_RC_REG gprs[2]#define __PT_SP_REG gprs[15]
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 113/885 wifi: mt76: mt7915: check return value before accessing free_block_num
In reply to Greg Kroah-HartmanFrom: Ryder Lee <[email protected]>
[ Upstream commit 59b27a7d472f100ac8998e15a63c47a03cced12a ]
Check return value of mt7915_mcu_get_eeprom_free_block() first before accessing free_block_num.
--- .../wireless/mediatek/mt76/mt7915/eeprom.c | 19 ++++++++++++------- .../net/wireless/mediatek/mt76/mt7915/mcu.c | 10 ++++++---- 2 files changed, 18 insertions(+), 11 deletions(-)
drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c +12 -7
@@ -110,18 +110,23 @@ static int mt7915_eeprom_load(struct mt7915_dev *dev) }else {u8 free_block_num;u32 block_num, i; +u32 eeprom_blk_size =MT7915_EEPROM_BLOCK_SIZE ; -mt7915_mcu_get_eeprom_free_block (dev, &free_block_num); -/* efuse info not enough */ + ret =mt7915_mcu_get_eeprom_free_block (dev, &free_block_num); +if (ret <0 ) +return ret; + +/* efuse info isn't enough */ if (free_block_num >=29 )return -EINVAL ;/* read eeprom data from efuse */ - block_num =DIV_ROUND_UP (eeprom_size, -MT7915_EEPROM_BLOCK_SIZE ); -for (i =0 ; i < block_num; i++) -mt7915_mcu_get_eeprom (dev, - i *MT7915_EEPROM_BLOCK_SIZE ); + block_num =DIV_ROUND_UP (eeprom_size, eeprom_blk_size); +for (i =0 ; i < block_num; i++) { + ret =mt7915_mcu_get_eeprom (dev, i * eeprom_blk_size); +if (ret <0 ) +return ret; + } }return mt7915_check_eeprom (dev);
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c +6 -4
@@ -2743,8 +2743,9 @@ int mt7915_mcu_get_eeprom(struct mt7915_dev *dev, u32 offset)int ret;u8 *buf; - ret =mt76_mcu_send_and_get_msg (&dev->mt76,MCU_EXT_QUERY (EFUSE_ACCESS ), &req, -sizeof (req), true, &skb); + ret =mt76_mcu_send_and_get_msg (&dev->mt76, +MCU_EXT_QUERY (EFUSE_ACCESS ), + &req,sizeof (req), true, &skb);if (ret)return ret;
@@ -2769,8 +2770,9 @@ int mt7915_mcu_get_eeprom_free_block(struct mt7915_dev *dev, u8 *block_num)struct sk_buff *skb;int ret; - ret =mt76_mcu_send_and_get_msg (&dev->mt76,MCU_EXT_QUERY (EFUSE_FREE_BLOCK ), &req, -sizeof (req), true, &skb); + ret =mt76_mcu_send_and_get_msg (&dev->mt76, +MCU_EXT_QUERY (EFUSE_FREE_BLOCK ), + &req,sizeof (req), true, &skb);if (ret)return ret;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 140/885 crypto: x86/ghash - fix unaligned access in ghash_setkey()
In reply to Greg Kroah-HartmanFrom: Eric Biggers <[email protected]>
[ Upstream commit 116db2704c193fff6d73ea6c2219625f0c9bdfc8 ]
The key can be unaligned, so use the unaligned memory access helpers.
--- arch/x86/crypto/ghash-clmulni-intel_glue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/x86/crypto/ghash-clmulni-intel_glue.c +3 -3
@@ -19,6 +19,7 @@#include <crypto/internal/simd.h> #include <asm/cpu_device_id.h> #include <asm/simd.h> +#include <asm/unaligned.h> #define GHASH_BLOCK_SIZE 16#define GHASH_DIGEST_SIZE 16
@@ -54,15 +55,14 @@ static int ghash_setkey(struct crypto_shash *tfm, const u8 *key, unsigned int keylen) {struct ghash_ctx *ctx =crypto_shash_ctx (tfm); -be128 *x = (be128 *)key;u64 a, b;if (keylen !=GHASH_BLOCK_SIZE )return -EINVAL ;/* perform multiplication by 'x' in GF(2^128) */ - a =be64_to_cpu (x->a); - b =be64_to_cpu (x->b); + a =get_unaligned_be64 (key); + b =get_unaligned_be64 (key +8 ); ctx->shash.a = (b <<1 ) | (a >>63 ); ctx->shash.b = (a <<1 ) | (b >>63 );
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 141/885 ACPICA: Drop port I/O validation for some regions
In reply to Greg Kroah-HartmanFrom: Mario Limonciello <[email protected]>
[ Upstream commit e1d9148582ab2c3dada5c5cf8ca7531ca269fee5 ]
Microsoft introduced support in Windows XP for blocking port I/O to various regions. For Windows compatibility ACPICA has adopted the same protections and will disallow writes to those (presumably) the same regions.
On some systems the AML included with the firmware will issue 4 byte long writes to 0x80. These writes aren't making it over because of this blockage. The first 4 byte write attempt is rejected, and then subsequently 1 byte at a time each offset is tried. The first at 0x80 works, but then the next 3 bytes are rejected.
This manifests in bizarre failures for devices that expected the AML to write all 4 bytes. Trying the same AML on Windows 10 or 11 doesn't hit this failure and all 4 bytes are written.
Either some of these regions were wrong or some point after Windows XP some of these regions blocks have been lifted.
In the last 15 years there doesn't seem to be any reports popping up of this error in the Windows event viewer anymore. There is no documentation at Microsoft's developer site indicating that Windows ACPI interpreter blocks these regions. Between the lack of documentation and the fact that the writes actually do work in Windows 10 and 11, it's quite likely Windows doesn't actually enforce this anymore.
So to help the issue, only enforce Windows XP specific entries if the latest _OSI supported is Windows XP. Continue to enforce the ALWAYS_ILLEGAL entries.
--- drivers/acpi/acpica/hwvalid.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/acpi/acpica/hwvalid.c +4 -3
@@ -23,8 +23,8 @@ acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width);* * The table is used to implement the Microsoft port access rules that * first appeared in Windows XP. Some ports are always illegal, and some -* ports are only illegal if the BIOS calls _OSI with a win_XP string or -* later (meaning that the BIOS itelf is post-XP.) +* ports are only illegal if the BIOS calls _OSI with nothing newer than +* the specific _OSI strings. * * This provides ACPICA with the desired port protections and * Microsoft compatibility.
@@ -145,7 +145,8 @@ acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width)/* Port illegality may depend on the _OSI calls made by the BIOS */ -if (acpi_gbl_osi_data >= port_info->osi_dependency) { +if (port_info->osi_dependency ==ACPI_ALWAYS_ILLEGAL || + acpi_gbl_osi_data == port_info->osi_dependency) { ACPI_DEBUG_PRINT((ACPI_DB_VALUES, "Denied AML access to port 0x%8.8X%8.8X/%X (%s 0x%.4X-0x%.4X)\n", ACPI_FORMAT_UINT64(address),
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 142/885 genirq: Fix the return type of kstat_cpu_irqs_sum()
In reply to Greg Kroah-HartmanFrom: Zhen Lei <[email protected]>
[ Upstream commit 47904aed898a08f028572b9b5a5cc101ddfb2d82 ]
The type of member ->irqs_sum is unsigned long, but kstat_cpu_irqs_sum() returns int, which can result in truncation. Therefore, change the kstat_cpu_irqs_sum() function's return value to unsigned long to avoid truncation.
--- include/linux/kernel_stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/kernel_stat.h +1 -1
@@ -75,7 +75,7 @@ extern unsigned int kstat_irqs_usr(unsigned int irq);/* * Number of interrupts per cpu, since bootup */ -static inline unsigned int kstat_cpu_irqs_sum (unsigned int cpu) +static inline unsigned long kstat_cpu_irqs_sum (unsigned int cpu) {return kstat_cpu (cpu).irqs_sum; }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 114/885 wifi: mt76: mt7915: drop always true condition of __mt7915_reg_addr()
In reply to Greg Kroah-HartmanFrom: Ryder Lee <[email protected]>
[ Upstream commit b0f7b9563358493dfe70d3e4c3ebeffc92d4b494 ]
smatch warnings:
addr <= MT_CBTOP2_PHY_END(0xffffffff) is always true (<= u32max), so drop it.
--- drivers/net/wireless/mediatek/mt76/mt7915/mmio.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7915/regs.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/net/wireless/mediatek/mt76/mt7915/mmio.c +1 -1
@@ -436,7 +436,7 @@ static u32 __mt7915_reg_addr(struct mt7915_dev *dev, u32 addr)if (dev_is_pci (dev->mt76.dev) && ((addr >=MT_CBTOP1_PHY_START && addr <=MT_CBTOP1_PHY_END ) || - (addr >=MT_CBTOP2_PHY_START && addr <=MT_CBTOP2_PHY_END ))) + addr >=MT_CBTOP2_PHY_START ))return mt7915_reg_map_l1 (dev, addr);/* CONN_INFRA: covert to phyiscal addr and use layer 1 remap */
drivers/net/wireless/mediatek/mt76/mt7915/regs.h +0 -1
@@ -740,7 +740,6 @@ enum offs_rev {#define MT_CBTOP1_PHY_START 0x70000000#define MT_CBTOP1_PHY_END __REG(CBTOP1_PHY_END)#define MT_CBTOP2_PHY_START 0xf0000000 -#define MT_CBTOP2_PHY_END 0xffffffff#define MT_INFRA_MCU_START 0x7c000000#define MT_INFRA_MCU_END __REG(INFRA_MCU_ADDR_END)#define MT_CONN_INFRA_OFFSET (p) ((p) - MT_INFRA_BASE)
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 115/885 wifi: mt76: mt7915: fix unintended sign extension of mt7915_hw_queue_read()
In reply to Greg Kroah-HartmanFrom: Ryder Lee <[email protected]>
[ Upstream commit edb0406bda4629ef496f52eb11cbea7e92ed301b ]
In the expression "map[i].qid << 24" starts as u8, but is promoted to "signed int", then sign-extended to type "unsigned long", which is not intended. Cast to u32 to avoid the sign extension.
--- drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c +1 -1
@@ -759,7 +759,7 @@ mt7915_hw_queue_read(struct seq_file *s, u32 size,if (val &BIT (map[i].index))continue ; - ctrl =BIT (31 ) | (map[i].pid <<10 ) | (map[i].qid <<24 ); + ctrl =BIT (31 ) | (map[i].pid <<10 ) | ((u32 )map[i].qid <<24 );mt76_wr (dev,MT_FL_Q0_CTRL , ctrl); head = mt76_get_field(dev, MT_FL_Q2_CTRL,
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 116/885 wifi: mt76: fix coverity uninit_use_in_call in mt76_connac2_reverse_frag0_hdr_trans()
In reply to Greg Kroah-HartmanFrom: Deren Wu <[email protected]>
[ Upstream commit 0ffcb2a68b15bd63d5555a923ae7dfe8bfdb14a7 ]
The default case for frame_contorl is invalid. We should always assign addr3 of this frame properly.
Coverity error message:
if (ieee80211_has_a4(hdr.frame_control))
(19) Event uninit_use_in_call: Using uninitialized value "hdr".
Field "hdr.addr3" is uninitialized when calling "memcpy".
memcpy(skb_push(skb, sizeof(hdr)), &hdr, sizeof(hdr)); else memcpy(skb_push(skb, sizeof(hdr) - 6), &hdr, sizeof(hdr) - 6);
--- drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c +1 -1
@@ -921,7 +921,7 @@ int mt76_connac2_reverse_frag0_hdr_trans(struct ieee80211_vif *vif,ether_addr_copy (hdr.addr4, eth_hdr->h_source);break ;default : -break ; +return -EINVAL ; }skb_pull (skb, hdr_offset +sizeof (struct ethhdr ) -2 );
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 117/885 wifi: rsi: Fix memory leak in rsi_coex_attach()
In reply to Greg Kroah-HartmanFrom: Yuan Can <[email protected]>
[ Upstream commit 956fb851a6e19da5ab491e19c1bc323bb2c2cf6f ]
The coex_cb needs to be freed when rsi_create_kthread() failed in rsi_coex_attach().
--- drivers/net/wireless/rsi/rsi_91x_coex.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/rsi/rsi_91x_coex.c +1 -0
@@ -160,6 +160,7 @@ int rsi_coex_attach(struct rsi_common *common) rsi_coex_scheduler_thread, "Coex-Tx-Thread")) {rsi_dbg (ERR_ZONE ,"%s: Unable to init tx thrd\n" , __func__); +kfree (coex_cb);return -EINVAL ; }return 0 ;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 118/885 wifi: rtlwifi: rtl8821ae: dont call kfree_skb() under spin_lock_irqsave()
In reply to Greg Kroah-HartmanFrom: Yang Yingliang <[email protected]>
[ Upstream commit 106031c1f4a850915190d7ec1026696282f9359b ]
It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled. All the SKBs have been dequeued from the old queue, so it's safe to enqueue these SKBs to a free queue, then free them after spin_unlock_irqrestore() at once. Compile tested only.
--- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c +5 -1
@@ -26,8 +26,10 @@ static void _rtl8821ae_return_beacon_queue_skb(struct ieee80211_hw *hw)struct rtl_priv *rtlpriv =rtl_priv (hw);struct rtl_pci *rtlpci =rtl_pcidev (rtl_pcipriv (hw));struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[BEACON_QUEUE ]; +struct sk_buff_head free_list;unsigned long flags; +skb_queue_head_init (&free_list);spin_lock_irqsave (&rtlpriv->locks.irq_th_lock, flags);while (skb_queue_len (&ring->queue)) {struct rtl_tx_desc *entry = &ring->desc[ring->idx];
@@ -37,10 +39,12 @@ static void _rtl8821ae_return_beacon_queue_skb(struct ieee80211_hw *hw) rtlpriv->cfg->ops->get_desc (hw, (u8 *)entry, true,HW_DESC_TXBUFF_ADDR ), skb->len, DMA_TO_DEVICE); -kfree_skb (skb); +__skb_queue_tail (&free_list, skb); ring->idx = (ring->idx +1 ) % ring->entries; }spin_unlock_irqrestore (&rtlpriv->locks.irq_th_lock, flags); + +__skb_queue_purge (&free_list); } static void _rtl8821ae_set_bcn_ctrl_reg(struct ieee80211_hw *hw,
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 119/885 wifi: rtlwifi: rtl8188ee: dont call kfree_skb() under spin_lock_irqsave()
In reply to Greg Kroah-HartmanFrom: Yang Yingliang <[email protected]>
[ Upstream commit 2611687fa7ffc84190f92292de0b80468de17220 ]
It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled. All the SKBs have been dequeued from the old queue, so it's safe to enqueue these SKBs to a free queue, then free them after spin_unlock_irqrestore() at once. Compile tested only.
--- drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c +5 -1
@@ -68,8 +68,10 @@ static void _rtl88ee_return_beacon_queue_skb(struct ieee80211_hw *hw)struct rtl_priv *rtlpriv =rtl_priv (hw);struct rtl_pci *rtlpci =rtl_pcidev (rtl_pcipriv (hw));struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[BEACON_QUEUE ]; +struct sk_buff_head free_list;unsigned long flags; +skb_queue_head_init (&free_list);spin_lock_irqsave (&rtlpriv->locks.irq_th_lock, flags);while (skb_queue_len (&ring->queue)) {struct rtl_tx_desc *entry = &ring->desc[ring->idx];
@@ -79,10 +81,12 @@ static void _rtl88ee_return_beacon_queue_skb(struct ieee80211_hw *hw) rtlpriv->cfg->ops->get_desc (hw, (u8 *)entry, true,HW_DESC_TXBUFF_ADDR ), skb->len, DMA_TO_DEVICE); -kfree_skb (skb); +__skb_queue_tail (&free_list, skb); ring->idx = (ring->idx +1 ) % ring->entries; }spin_unlock_irqrestore (&rtlpriv->locks.irq_th_lock, flags); + +__skb_queue_purge (&free_list); }static void _rtl88ee_disable_bcn_sub_func (struct ieee80211_hw *hw)
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 110/885 block: use proper return value from bio_failfast()
In reply to Greg Kroah-HartmanFrom: Jens Axboe <[email protected]>
[ Upstream commit f3ca73862453ac1e64fc6968a14bf66d839cd2d8 ]
kernel test robot complains about a type mismatch:
block/blk-merge.c:984:42: sparse: expected restricted blk_opf_t const [usertype] ff
block/blk-merge.c:984:42: sparse: got unsigned int
block/blk-merge.c:1010:42: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted blk_opf_t const [usertype] ff @@ got unsigned int @@
block/blk-merge.c:1010:42: sparse: expected restricted blk_opf_t const [usertype] ff
block/blk-merge.c:1010:42: sparse: got unsigned int
because bio_failfast() is return an unsigned int rather than the appropriate blk_opt_f type. Fix it up.
--- block/blk-merge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-merge.c +1 -1
@@ -747,7 +747,7 @@ void blk_rq_set_mixed_merge(struct request *rq) rq->rq_flags |=RQF_MIXED_MERGE ; } -static inline unsigned int bio_failfast (const struct bio *bio) +static inline blk_opf_t bio_failfast (const struct bio *bio) {if (bio->bi_opf &REQ_RAHEAD )return REQ_FAILFAST_MASK ;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 144/885 rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls
In reply to Greg Kroah-HartmanFrom: Frederic Weisbecker <[email protected]>
[ Upstream commit 44757092958bdd749775022f915b7ac974384c2a ]
Ever since the following commit:
5a41344a3d83 ("srcu: Simplify __srcu_read_unlock() via this_cpu_dec()")SRCU doesn't rely anymore on preemption to be disabled in order to modify the per-CPU counter. And even then it used to be done from the API itself.
Therefore and after checking further, it appears to be safe to remove the preemption disablement around __srcu_read_[un]lock() in exit_tasks_rcu_start() and exit_tasks_rcu_finish()
Stable-dep-of: 28319d6dc5e2 ("rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()")
--- kernel/rcu/tasks.h | 4 ---- 1 file changed, 4 deletions(-)
kernel/rcu/tasks.h +0 -4
@@ -1008,9 +1008,7 @@ EXPORT_SYMBOL_GPL(show_rcu_tasks_classic_gp_kthread);*/ void exit_tasks_rcu_start(void) __acquires(&tasks_rcu_exit_srcu) { -preempt_disable (); current->rcu_tasks_idx =__srcu_read_lock (&tasks_rcu_exit_srcu); -preempt_enable (); }/*
@@ -1022,9 +1020,7 @@ void exit_tasks_rcu_finish(void) __releases(&tasks_rcu_exit_srcu) {struct task_struct *t = current; -preempt_disable ();__srcu_read_unlock (&tasks_rcu_exit_srcu, t->rcu_tasks_idx); -preempt_enable ();exit_tasks_rcu_finish_trace (t); }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 153/885 kselftest/arm64: Fix syscall-abi for systems without 128 bit SME
In reply to Greg Kroah-HartmanFrom: Mark Brown <[email protected]>
[ Upstream commit 97ec597b26df774a257e3f8e97353fd1b4471615 ]
SME does not mandate any specific VL so we may not have 128 bit SME but the algorithm used for enumerating VLs assumes that we will. Add the required check to ensure that the algorithm terminates.
--- tools/testing/selftests/arm64/abi/syscall-abi.c | 8 ++++++++ 1 file changed, 8 insertions(+)
tools/testing/selftests/arm64/abi/syscall-abi.c +8 -0
@@ -390,6 +390,10 @@ static void test_one_syscall(struct syscall_cfg *cfg) sme_vl &=PR_SME_VL_LEN_MASK ; +/* Found lowest VL */ +if (sve_vq_from_vl (sme_vl) > sme_vq) +break ; +if (sme_vq !=sve_vq_from_vl (sme_vl)) sme_vq =sve_vq_from_vl (sme_vl);
@@ -461,6 +465,10 @@ int sme_count_vls(void) vl &=PR_SME_VL_LEN_MASK ; +/* Found lowest VL */ +if (sve_vq_from_vl (vl) > vq) +break ; +if (vq !=sve_vq_from_vl (vl)) vq =sve_vq_from_vl (vl);
Signature · 1 line
2.39.2