[PATCH 6.6 000/129] 6.6.90-rc2 review

Greg Kroah-Hartman posted 129 patches 7 months, 1 week ago
Only 0 patches received!
Makefile                                           |   4 +-
.../boot/dts/nxp/imx/imx6ul-imx6ull-opos6ul.dtsi   |   3 +
arch/arm64/boot/dts/st/stm32mp251.dtsi             |   9 +-
arch/arm64/kernel/proton-pack.c                    |   2 +
arch/parisc/math-emu/driver.c                      |  16 +-
arch/powerpc/boot/wrapper                          |   6 +-
arch/powerpc/mm/book3s64/radix_pgtable.c           |  17 +-
arch/riscv/include/asm/patch.h                     |   2 +-
arch/riscv/kernel/patch.c                          |  14 +-
arch/riscv/kernel/probes/kprobes.c                 |  18 +-
arch/riscv/kernel/probes/uprobes.c                 |  10 +-
arch/riscv/net/bpf_jit_comp64.c                    |   7 +-
arch/x86/events/intel/core.c                       |   2 +-
arch/x86/include/asm/kvm-x86-ops.h                 |   1 +
arch/x86/include/asm/kvm_host.h                    |   1 +
arch/x86/kvm/svm/svm.c                             |  13 +-
arch/x86/kvm/vmx/vmx.c                             |  11 +-
arch/x86/kvm/x86.c                                 |   3 +
drivers/base/module.c                              |  13 +-
drivers/bluetooth/btusb.c                          | 101 ++++++++---
drivers/cpufreq/cpufreq.c                          |  42 ++++-
drivers/cpufreq/cpufreq_ondemand.c                 |   3 +-
drivers/cpufreq/freq_table.c                       |   6 +-
drivers/edac/altera_edac.c                         |   9 +-
drivers/edac/altera_edac.h                         |   2 +
drivers/firmware/arm_ffa/driver.c                  |   3 +-
drivers/firmware/arm_scmi/bus.c                    |   3 +
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c |  56 +++---
drivers/gpu/drm/drm_file.c                         |   6 +
drivers/gpu/drm/i915/pxp/intel_pxp_gsccs.h         |   8 +-
drivers/gpu/drm/meson/meson_vclk.c                 |   6 +-
drivers/gpu/drm/nouveau/nouveau_fence.c            |   2 +-
drivers/i2c/busses/i2c-imx-lpi2c.c                 |   4 +-
drivers/iommu/amd/init.c                           |   8 +
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c        |  79 +++++----
drivers/iommu/intel/iommu.c                        |   4 +-
drivers/iommu/iommu.c                              |  18 ++
drivers/irqchip/irq-qcom-mpm.c                     |   3 +
drivers/md/dm-bufio.c                              |   9 +-
drivers/md/dm-integrity.c                          |   2 +-
drivers/md/dm-table.c                              |   5 +-
drivers/mmc/host/renesas_sdhi_core.c               |  10 +-
drivers/net/dsa/ocelot/felix_vsc9959.c             |   5 +-
drivers/net/ethernet/amd/pds_core/auxbus.c         |  49 +++---
drivers/net/ethernet/amd/pds_core/core.h           |   7 +-
drivers/net/ethernet/amd/pds_core/dev.c            |  11 +-
drivers/net/ethernet/amd/pds_core/devlink.c        |   7 +-
drivers/net/ethernet/amd/pds_core/main.c           |  23 ++-
drivers/net/ethernet/amd/xgbe/xgbe-desc.c          |   9 +-
drivers/net/ethernet/amd/xgbe/xgbe-dev.c           |  24 ++-
drivers/net/ethernet/amd/xgbe/xgbe-drv.c           |  11 +-
drivers/net/ethernet/amd/xgbe/xgbe.h               |   4 +
drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c |  30 ++--
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c  |  36 +++-
drivers/net/ethernet/dlink/dl2k.c                  |   2 +-
drivers/net/ethernet/dlink/dl2k.h                  |   2 +-
drivers/net/ethernet/freescale/fec_main.c          |   7 +-
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c |   2 +-
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c    |  82 +++++----
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c |  13 +-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c  |  25 ++-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h  |   1 +
drivers/net/ethernet/intel/ice/ice_virtchnl_fdir.c |   5 +
drivers/net/ethernet/intel/igc/igc_ptp.c           |   6 +-
.../net/ethernet/marvell/octeon_ep/octep_main.c    |   2 +-
drivers/net/ethernet/mediatek/mtk_eth_soc.c        |  14 +-
drivers/net/ethernet/mediatek/mtk_star_emac.c      |  13 +-
.../ethernet/mellanox/mlx5/core/eswitch_offloads.c |   5 +-
drivers/net/ethernet/mellanox/mlx5/core/rdma.c     |  11 +-
drivers/net/ethernet/mellanox/mlx5/core/rdma.h     |   4 +-
drivers/net/ethernet/microchip/lan743x_main.c      |   8 +-
drivers/net/ethernet/microchip/lan743x_main.h      |   1 +
drivers/net/ethernet/mscc/ocelot.c                 | 194 +++++++++++++++++++--
drivers/net/ethernet/mscc/ocelot_vcap.c            |   1 +
drivers/net/ethernet/vertexcom/mse102x.c           |  36 +++-
drivers/net/mdio/mdio-mux-meson-gxl.c              |   3 +-
drivers/net/usb/rndis_host.c                       |  16 +-
drivers/net/vxlan/vxlan_vnifilter.c                |   8 +-
.../net/wireless/broadcom/brcm80211/brcmfmac/usb.c |   6 +-
drivers/net/wireless/purelifi/plfxlc/mac.c         |   1 -
drivers/nvme/host/pci.c                            |   2 +-
drivers/nvme/host/tcp.c                            |  31 +++-
drivers/pci/controller/dwc/pci-imx6.c              |   3 +-
drivers/platform/x86/amd/pmc/pmc.c                 |   7 +-
.../x86/intel/uncore-frequency/uncore-frequency.c  |  13 +-
drivers/spi/spi-tegra114.c                         |   6 +-
drivers/usb/host/xhci-debugfs.c                    |   2 +-
drivers/usb/host/xhci-hub.c                        |  30 ++--
drivers/usb/host/xhci-mem.c                        | 175 +++++++++++++++----
drivers/usb/host/xhci-ring.c                       |   4 +-
drivers/usb/host/xhci.c                            |  80 ++++++---
drivers/usb/host/xhci.h                            |  20 ++-
fs/btrfs/inode.c                                   |   9 +-
fs/smb/client/smb2pdu.c                            |   1 +
fs/smb/server/auth.c                               |  14 +-
fs/smb/server/smb2pdu.c                            |   5 -
include/linux/bpf.h                                |   1 +
include/linux/bpf_verifier.h                       |   1 +
include/linux/cpufreq.h                            |  83 ++++++---
include/linux/filter.h                             |   2 +-
include/linux/module.h                             |   2 +
include/linux/pds/pds_core_if.h                    |   1 +
include/linux/skbuff.h                             |  52 ++++--
include/net/inet_frag.h                            |   4 +-
include/soc/mscc/ocelot_vcap.h                     |   2 +
include/sound/ump_convert.h                        |   2 +-
kernel/bpf/core.c                                  |   2 +-
kernel/bpf/verifier.c                              |  81 +++++++--
kernel/params.c                                    |   6 +-
kernel/trace/trace.c                               |   5 +-
kernel/trace/trace_output.c                        |   4 +-
mm/memblock.c                                      |  12 +-
net/bluetooth/l2cap_core.c                         |   3 +
net/bridge/netfilter/nf_conntrack_bridge.c         |   6 +-
net/core/dev.c                                     |   2 +-
net/core/filter.c                                  |  73 ++++----
net/ieee802154/6lowpan/reassembly.c                |   2 +-
net/ipv4/inet_fragment.c                           |   2 +-
net/ipv4/ip_fragment.c                             |   2 +-
net/ipv4/ip_output.c                               |   9 +-
net/ipv4/tcp_output.c                              |  14 +-
net/ipv4/udp_offload.c                             |  61 ++++++-
net/ipv6/ip6_output.c                              |   6 +-
net/ipv6/netfilter.c                               |   6 +-
net/ipv6/netfilter/nf_conntrack_reasm.c            |   2 +-
net/ipv6/reassembly.c                              |   2 +-
net/ipv6/tcp_ipv6.c                                |   2 +-
net/sched/act_bpf.c                                |   4 +-
net/sched/cls_bpf.c                                |   4 +-
net/sched/sch_drr.c                                |  16 +-
net/sched/sch_ets.c                                |  17 +-
net/sched/sch_hfsc.c                               |  10 +-
net/sched/sch_htb.c                                |   2 +
net/sched/sch_qfq.c                                |  18 +-
sound/soc/codecs/ak4613.c                          |   4 +-
sound/soc/soc-core.c                               |  36 ++--
sound/soc/soc-pcm.c                                |   5 +-
sound/usb/endpoint.c                               |   7 +
sound/usb/format.c                                 |   3 +-
.../selftests/bpf/prog_tests/changes_pkt_data.c    | 107 ++++++++++++
.../testing/selftests/bpf/progs/changes_pkt_data.c |  39 +++++
.../bpf/progs/changes_pkt_data_freplace.c          |  18 ++
tools/testing/selftests/bpf/progs/verifier_sock.c  |  56 ++++++
143 files changed, 1763 insertions(+), 662 deletions(-)
[PATCH 6.6 000/129] 6.6.90-rc2 review
Posted by Greg Kroah-Hartman 7 months, 1 week ago
This is the start of the stable review cycle for the 6.6.90 release.
There are 129 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 Sat, 10 May 2025 11:25:47 +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.6.90-rc2.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.6.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Linux 6.6.90-rc2

Tudor Ambarus <tudor.ambarus@linaro.org>
    dm: fix copying after src array boundaries

Mathias Nyman <mathias.nyman@linux.intel.com>
    xhci: fix possible null pointer dereference at secondary interrupter removal

Marc Zyngier <maz@kernel.org>
    usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()

Chris Bainbridge <chris.bainbridge@gmail.com>
    drm/amd/display: Fix slab-use-after-free in hdcp

Mario Limonciello <mario.limonciello@amd.com>
    drm/amd/display: Add scoped mutexes for amdgpu_dm_dhcp

Nicolin Chen <nicolinc@nvidia.com>
    iommu/arm-smmu-v3: Fix iommu_device_probe bug due to duplicated stream ids

Jason Gunthorpe <jgg@ziepe.ca>
    iommu/arm-smmu-v3: Use the new rb tree helpers

Shyam Saini <shyamsaini@linux.microsoft.com>
    drivers: base: handle module_kobject creation

Shyam Saini <shyamsaini@linux.microsoft.com>
    kernel: globalize lookup_or_create_module_kobject()

Shyam Saini <shyamsaini@linux.microsoft.com>
    kernel: param: rename locate_module_kobject

Björn Töpel <bjorn@rivosinc.com>
    riscv: uprobes: Add missing fence.i after building the XOL buffer

Mathias Nyman <mathias.nyman@linux.intel.com>
    xhci: Limit time spent with xHC interrupts disabled during bus resume

Mathias Nyman <mathias.nyman@linux.intel.com>
    xhci: support setting interrupt moderation IMOD for secondary interrupters

Niklas Neronin <niklas.neronin@linux.intel.com>
    usb: xhci: check if 'requested segments' exceeds ERST capacity

Mathias Nyman <mathias.nyman@linux.intel.com>
    xhci: Add helper to set an interrupters interrupt moderation interval

Mathias Nyman <mathias.nyman@linux.intel.com>
    xhci: add support to allocate several interrupters

Mathias Nyman <mathias.nyman@linux.intel.com>
    xhci: split free interrupter into separate remove and free parts

Lukas Wunner <lukas@wunner.de>
    xhci: Clean up stale comment on ERST_SIZE macro

Jonathan Bell <jonathan@raspberrypi.com>
    xhci: Use more than one Event Ring segment

Lukas Wunner <lukas@wunner.de>
    xhci: Set DESI bits in ERDP register correctly

Christian Hewitt <christianshewitt@gmail.com>
    Revert "drm/meson: vclk: fix calculation of 59.94 fractional rates"

Christian Bruel <christian.bruel@foss.st.com>
    arm64: dts: st: Use 128kB size for aliased GIC400 register access on stm32mp25 SoCs

Christian Bruel <christian.bruel@foss.st.com>
    arm64: dts: st: Adjust interrupt-controller for stm32mp25 SoCs

Sébastien Szymanski <sebastien.szymanski@armadeus.com>
    ARM: dts: opos6ul: add ksz8081 phy properties

Sudeep Holla <sudeep.holla@arm.com>
    firmware: arm_ffa: Skip Rx buffer ownership release if not acquired

Cristian Marussi <cristian.marussi@arm.com>
    firmware: arm_scmi: Balance device refcount when destroying devices

Cong Wang <xiyou.wangcong@gmail.com>
    sch_ets: make est_qlen_notify() idempotent

Cong Wang <xiyou.wangcong@gmail.com>
    sch_qfq: make qfq_qlen_notify() idempotent

Cong Wang <xiyou.wangcong@gmail.com>
    sch_hfsc: make hfsc_qlen_notify() idempotent

Cong Wang <xiyou.wangcong@gmail.com>
    sch_drr: make drr_qlen_notify() idempotent

Cong Wang <xiyou.wangcong@gmail.com>
    sch_htb: make htb_qlen_notify() idempotent

Samuel Holland <samuel.holland@sifive.com>
    riscv: Pass patch_text() the length in bytes

Geert Uytterhoeven <geert+renesas@glider.be>
    ASoC: soc-core: Stop using of_property_read_bool() for non-boolean properties

Rob Herring (Arm) <robh@kernel.org>
    ASoC: Use of_property_read_bool()

Stefan Wahren <wahrenst@gmx.net>
    net: vertexcom: mse102x: Fix RX error handling

Stefan Wahren <wahrenst@gmx.net>
    net: vertexcom: mse102x: Add range check for CMD_RTS

Stefan Wahren <wahrenst@gmx.net>
    net: vertexcom: mse102x: Fix LEN_MASK

Stefan Wahren <wahrenst@gmx.net>
    net: vertexcom: mse102x: Fix possible stuck of SPI interrupt

Jian Shen <shenjian15@huawei.com>
    net: hns3: defer calling ptp_clock_register()

Hao Lan <lanhao@huawei.com>
    net: hns3: fixed debugfs tm_qset size

Yonglong Liu <liuyonglong@huawei.com>
    net: hns3: fix an interrupt residual problem

Jian Shen <shenjian15@huawei.com>
    net: hns3: store rx VLAN tag offload state for VF

Sathesh B Edara <sedara@marvell.com>
    octeon_ep: Fix host hang issue during device reboot

Mattias Barthel <mattias.barthel@atlascopco.com>
    net: fec: ERR007885 Workaround for conventional TX

Thangaraj Samynathan <thangaraj.s@microchip.com>
    net: lan743x: Fix memleak issue when GSO enabled

Michael Liang <mliang@purestorage.com>
    nvme-tcp: fix premature queue removal and I/O failover

Michael Chan <michael.chan@broadcom.com>
    bnxt_en: Fix ethtool -d byte order for 32-bit values

Shruti Parab <shruti.parab@broadcom.com>
    bnxt_en: Fix out-of-bound memcpy() during ethtool -w

Shruti Parab <shruti.parab@broadcom.com>
    bnxt_en: Fix coredump logic to free allocated buffer

Felix Fietkau <nbd@nbd.name>
    net: ipv6: fix UDPv6 GSO segmentation with NAT

Vladimir Oltean <vladimir.oltean@nxp.com>
    net: dsa: felix: fix broken taprio gate states after clock jump

Chad Monroe <chad@monroe.io>
    net: ethernet: mtk_eth_soc: fix SER panic with 4GB+ RAM

Jacob Keller <jacob.e.keller@intel.com>
    igc: fix lock order in igc_ptp_reset

Da Xue <da@libre.computer>
    net: mdio: mux-meson-gxl: set reversed bit when using internal phy

Simon Horman <horms@kernel.org>
    net: dlink: Correct endianness handling of led_mode

Keith Busch <kbusch@kernel.org>
    nvme-pci: fix queue unquiesce check on slot_reset

Takashi Iwai <tiwai@suse.de>
    ALSA: ump: Fix buffer overflow at UMP SysEx message conversion

Xuanqiang Luo <luoxuanqiang@kylinos.cn>
    ice: Check VF VSI Pointer Value in ice_vc_add_fdir_fltr()

Victor Nogueira <victor@mojatatu.com>
    net_sched: qfq: Fix double list add in class with netem as child qdisc

Victor Nogueira <victor@mojatatu.com>
    net_sched: ets: Fix double list add in class with netem as child qdisc

Victor Nogueira <victor@mojatatu.com>
    net_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc

Victor Nogueira <victor@mojatatu.com>
    net_sched: drr: Fix double list add in class with netem as child qdisc

Shannon Nelson <shannon.nelson@amd.com>
    pds_core: remove write-after-free of client_id

Shannon Nelson <shannon.nelson@amd.com>
    pds_core: specify auxiliary_device to be created

Shannon Nelson <shannon.nelson@amd.com>
    pds_core: make pdsc_auxbus_dev_del() void

Shannon Nelson <shannon.nelson@amd.com>
    pds_core: delete VF dev on reset

Shannon Nelson <shannon.nelson@amd.com>
    pds_core: check health in devcmd wait

Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
    net: ethernet: mtk-star-emac: rearm interrupts in rx_poll only when advised

Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
    net: ethernet: mtk-star-emac: fix spinlock recursion issues on rx/tx poll

Vladimir Oltean <vladimir.oltean@nxp.com>
    net: mscc: ocelot: delete PVID VLAN when readding it as non-PVID

Vladimir Oltean <vladimir.oltean@nxp.com>
    net: mscc: ocelot: treat 802.1ad tagged traffic as 802.1Q-untagged

Pauli Virtanen <pav@iki.fi>
    Bluetooth: L2CAP: copy RX timestamp to new fragments

Abhishek Chauhan <quic_abchauha@quicinc.com>
    net: Rename mono_delivery_time to tstamp_type for scalabilty

En-Wei Wu <en-wei.wu@canonical.com>
    Bluetooth: btusb: avoid NULL pointer dereference in skb_dequeue()

Chris Mi <cmi@nvidia.com>
    net/mlx5: E-switch, Fix error handling for enabling roce

Maor Gottlieb <maorg@nvidia.com>
    net/mlx5: E-Switch, Initialize MAC Address for Default GID

Ido Schimmel <idosch@nvidia.com>
    vxlan: vnifilter: Fix unlocked deletion of default FDB entry

Madhavan Srinivasan <maddy@linux.ibm.com>
    powerpc/boot: Fix dash warning

Murad Masimov <m.masimov@mt-integration.ru>
    wifi: plfxlc: Remove erroneous assert in plfxlc_mac_release

Chen Linxuan <chenlinxuan@uniontech.com>
    drm/i915/pxp: fix undefined reference to `intel_pxp_gsccs_is_ready_for_sessions'

Madhavan Srinivasan <maddy@linux.ibm.com>
    powerpc/boot: Check for ld-option support

Donet Tom <donettom@linux.ibm.com>
    book3s64/radix : Align section vmemmap start address to PAGE_SIZE

Sheetal <sheetal@nvidia.com>
    ASoC: soc-pcm: Fix hw_params() and DAPM widget sequence

Robin Murphy <robin.murphy@arm.com>
    iommu: Handle race with default domain setup

Sean Christopherson <seanjc@google.com>
    KVM: x86: Load DR6 with guest value only before entering .vcpu_run() loop

Richard Zhu <hongxing.zhu@nxp.com>
    PCI: imx6: Skip controller_id generation logic for i.MX7D

Ryan Matthews <ryanmatthews@fastmail.com>
    Revert "PCI: imx6: Skip controller_id generation logic for i.MX7D"

Eduard Zingerman <eddyz87@gmail.com>
    selftests/bpf: extend changes_pkt_data with cases w/o subprograms

Eduard Zingerman <eddyz87@gmail.com>
    bpf: fix null dereference when computing changes_pkt_data of prog w/o subprogs

Eduard Zingerman <eddyz87@gmail.com>
    selftests/bpf: validate that tail call invalidates packet pointers

Eduard Zingerman <eddyz87@gmail.com>
    bpf: consider that tail calls invalidate packet pointers

Eduard Zingerman <eddyz87@gmail.com>
    selftests/bpf: freplace tests for tracking of changes_packet_data

Eduard Zingerman <eddyz87@gmail.com>
    bpf: check changes_pkt_data property for extension programs

Eduard Zingerman <eddyz87@gmail.com>
    selftests/bpf: test for changing packet data from global functions

Eduard Zingerman <eddyz87@gmail.com>
    bpf: track changes_pkt_data property for global functions

Eduard Zingerman <eddyz87@gmail.com>
    bpf: refactor bpf_helper_changes_pkt_data to use helper number

Eduard Zingerman <eddyz87@gmail.com>
    bpf: add find_containing_subprog() utility function

Jeongjun Park <aha310510@gmail.com>
    tracing: Fix oob write in trace_seq_to_buffer()

Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    cpufreq: Fix setting policy limits when frequency tables are used

Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    cpufreq: Avoid using inconsistent policy->min and policy->max

Jethro Donaldson <devel@jro.nz>
    smb: client: fix zero length for mkdir POSIX create context

Sean Heelan <seanheelan@gmail.com>
    ksmbd: fix use-after-free in kerberos authentication

Shouye Liu <shouyeliu@tencent.com>
    platform/x86/intel-uncore-freq: Fix missing uncore sysfs during CPU hotplug

Mario Limonciello <mario.limonciello@amd.com>
    platform/x86/amd: pmc: Require at least 2.5 seconds between HW sleep cycles

Mingcong Bai <jeffbai@aosc.io>
    iommu/vt-d: Apply quirk_iommu_igfx for 8086:0044 (QM57/QS57)

Pavel Paklov <Pavel.Paklov@cyberprotect.ru>
    iommu/amd: Fix potential buffer overflow in parse_ivrs_acpihid

Benjamin Marzinski <bmarzins@redhat.com>
    dm: always update the array size in realloc_argv on success

Mikulas Patocka <mpatocka@redhat.com>
    dm-integrity: fix a warning on invalid table line

LongPing Wei <weilongping@oppo.com>
    dm-bufio: don't schedule in atomic context

Wentao Liang <vulab@iscas.ac.cn>
    wifi: brcm80211: fmac: Add error handling for brcmf_usb_dl_writeimage()

Steven Rostedt <rostedt@goodmis.org>
    tracing: Do not take trace_event_sem in print_event_fields()

Aaron Kling <webgeek1234@gmail.com>
    spi: tegra114: Don't fail set_cs_timing when delays are zero

Ruslan Piasetskyi <ruslan.piasetskyi@gmail.com>
    mmc: renesas_sdhi: Fix error handling in renesas_sdhi_probe

Wei Yang <richard.weiyang@gmail.com>
    mm/memblock: repeat setting reserved region nid if array is doubled

Wei Yang <richard.weiyang@gmail.com>
    mm/memblock: pass size instead of end to memblock_set_node()

Stephan Gerhold <stephan.gerhold@linaro.org>
    irqchip/qcom-mpm: Prevent crash when trying to handle non-wake GPIOs

Vishal Badole <Vishal.Badole@amd.com>
    amd-xgbe: Fix to ensure dependent features are toggled with RX checksum offload

Sean Christopherson <seanjc@google.com>
    perf/x86/intel: KVM: Mask PEBS_ENABLE loaded for guest with vCPU's value.

Helge Deller <deller@gmx.de>
    parisc: Fix double SIGFPE crash

Will Deacon <will@kernel.org>
    arm64: errata: Add missing sentinels to Spectre-BHB MIDR arrays

Clark Wang <xiaoning.wang@nxp.com>
    i2c: imx-lpi2c: Fix clock count when probe defers

Niravkumar L Rabara <niravkumar.l.rabara@altera.com>
    EDAC/altera: Set DDR and SDMMC interrupt mask before registration

Niravkumar L Rabara <niravkumar.l.rabara@altera.com>
    EDAC/altera: Test the correct error reg offset

Philipp Stanner <phasta@kernel.org>
    drm/nouveau: Fix WARN_ON in nouveau_fence_context_kill()

Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
    drm/fdinfo: Protect against driver unbind

Dave Chen <davechen@synology.com>
    btrfs: fix COW handling in run_delalloc_nocow()

Joachim Priesner <joachim.priesner@web.de>
    ALSA: usb-audio: Add second USB ID for Jabra Evolve 65 headset

Geoffrey D. Bennett <g@b4.vu>
    ALSA: usb-audio: Add retry on -EPROTO from usb_set_interface()

Christian Heusel <christian@heusel.eu>
    Revert "rndis_host: Flag RNDIS modems as WWAN devices"


-------------

Diffstat:

 Makefile                                           |   4 +-
 .../boot/dts/nxp/imx/imx6ul-imx6ull-opos6ul.dtsi   |   3 +
 arch/arm64/boot/dts/st/stm32mp251.dtsi             |   9 +-
 arch/arm64/kernel/proton-pack.c                    |   2 +
 arch/parisc/math-emu/driver.c                      |  16 +-
 arch/powerpc/boot/wrapper                          |   6 +-
 arch/powerpc/mm/book3s64/radix_pgtable.c           |  17 +-
 arch/riscv/include/asm/patch.h                     |   2 +-
 arch/riscv/kernel/patch.c                          |  14 +-
 arch/riscv/kernel/probes/kprobes.c                 |  18 +-
 arch/riscv/kernel/probes/uprobes.c                 |  10 +-
 arch/riscv/net/bpf_jit_comp64.c                    |   7 +-
 arch/x86/events/intel/core.c                       |   2 +-
 arch/x86/include/asm/kvm-x86-ops.h                 |   1 +
 arch/x86/include/asm/kvm_host.h                    |   1 +
 arch/x86/kvm/svm/svm.c                             |  13 +-
 arch/x86/kvm/vmx/vmx.c                             |  11 +-
 arch/x86/kvm/x86.c                                 |   3 +
 drivers/base/module.c                              |  13 +-
 drivers/bluetooth/btusb.c                          | 101 ++++++++---
 drivers/cpufreq/cpufreq.c                          |  42 ++++-
 drivers/cpufreq/cpufreq_ondemand.c                 |   3 +-
 drivers/cpufreq/freq_table.c                       |   6 +-
 drivers/edac/altera_edac.c                         |   9 +-
 drivers/edac/altera_edac.h                         |   2 +
 drivers/firmware/arm_ffa/driver.c                  |   3 +-
 drivers/firmware/arm_scmi/bus.c                    |   3 +
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c |  56 +++---
 drivers/gpu/drm/drm_file.c                         |   6 +
 drivers/gpu/drm/i915/pxp/intel_pxp_gsccs.h         |   8 +-
 drivers/gpu/drm/meson/meson_vclk.c                 |   6 +-
 drivers/gpu/drm/nouveau/nouveau_fence.c            |   2 +-
 drivers/i2c/busses/i2c-imx-lpi2c.c                 |   4 +-
 drivers/iommu/amd/init.c                           |   8 +
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c        |  79 +++++----
 drivers/iommu/intel/iommu.c                        |   4 +-
 drivers/iommu/iommu.c                              |  18 ++
 drivers/irqchip/irq-qcom-mpm.c                     |   3 +
 drivers/md/dm-bufio.c                              |   9 +-
 drivers/md/dm-integrity.c                          |   2 +-
 drivers/md/dm-table.c                              |   5 +-
 drivers/mmc/host/renesas_sdhi_core.c               |  10 +-
 drivers/net/dsa/ocelot/felix_vsc9959.c             |   5 +-
 drivers/net/ethernet/amd/pds_core/auxbus.c         |  49 +++---
 drivers/net/ethernet/amd/pds_core/core.h           |   7 +-
 drivers/net/ethernet/amd/pds_core/dev.c            |  11 +-
 drivers/net/ethernet/amd/pds_core/devlink.c        |   7 +-
 drivers/net/ethernet/amd/pds_core/main.c           |  23 ++-
 drivers/net/ethernet/amd/xgbe/xgbe-desc.c          |   9 +-
 drivers/net/ethernet/amd/xgbe/xgbe-dev.c           |  24 ++-
 drivers/net/ethernet/amd/xgbe/xgbe-drv.c           |  11 +-
 drivers/net/ethernet/amd/xgbe/xgbe.h               |   4 +
 drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c |  30 ++--
 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c  |  36 +++-
 drivers/net/ethernet/dlink/dl2k.c                  |   2 +-
 drivers/net/ethernet/dlink/dl2k.h                  |   2 +-
 drivers/net/ethernet/freescale/fec_main.c          |   7 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c |   2 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c    |  82 +++++----
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c |  13 +-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c  |  25 ++-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h  |   1 +
 drivers/net/ethernet/intel/ice/ice_virtchnl_fdir.c |   5 +
 drivers/net/ethernet/intel/igc/igc_ptp.c           |   6 +-
 .../net/ethernet/marvell/octeon_ep/octep_main.c    |   2 +-
 drivers/net/ethernet/mediatek/mtk_eth_soc.c        |  14 +-
 drivers/net/ethernet/mediatek/mtk_star_emac.c      |  13 +-
 .../ethernet/mellanox/mlx5/core/eswitch_offloads.c |   5 +-
 drivers/net/ethernet/mellanox/mlx5/core/rdma.c     |  11 +-
 drivers/net/ethernet/mellanox/mlx5/core/rdma.h     |   4 +-
 drivers/net/ethernet/microchip/lan743x_main.c      |   8 +-
 drivers/net/ethernet/microchip/lan743x_main.h      |   1 +
 drivers/net/ethernet/mscc/ocelot.c                 | 194 +++++++++++++++++++--
 drivers/net/ethernet/mscc/ocelot_vcap.c            |   1 +
 drivers/net/ethernet/vertexcom/mse102x.c           |  36 +++-
 drivers/net/mdio/mdio-mux-meson-gxl.c              |   3 +-
 drivers/net/usb/rndis_host.c                       |  16 +-
 drivers/net/vxlan/vxlan_vnifilter.c                |   8 +-
 .../net/wireless/broadcom/brcm80211/brcmfmac/usb.c |   6 +-
 drivers/net/wireless/purelifi/plfxlc/mac.c         |   1 -
 drivers/nvme/host/pci.c                            |   2 +-
 drivers/nvme/host/tcp.c                            |  31 +++-
 drivers/pci/controller/dwc/pci-imx6.c              |   3 +-
 drivers/platform/x86/amd/pmc/pmc.c                 |   7 +-
 .../x86/intel/uncore-frequency/uncore-frequency.c  |  13 +-
 drivers/spi/spi-tegra114.c                         |   6 +-
 drivers/usb/host/xhci-debugfs.c                    |   2 +-
 drivers/usb/host/xhci-hub.c                        |  30 ++--
 drivers/usb/host/xhci-mem.c                        | 175 +++++++++++++++----
 drivers/usb/host/xhci-ring.c                       |   4 +-
 drivers/usb/host/xhci.c                            |  80 ++++++---
 drivers/usb/host/xhci.h                            |  20 ++-
 fs/btrfs/inode.c                                   |   9 +-
 fs/smb/client/smb2pdu.c                            |   1 +
 fs/smb/server/auth.c                               |  14 +-
 fs/smb/server/smb2pdu.c                            |   5 -
 include/linux/bpf.h                                |   1 +
 include/linux/bpf_verifier.h                       |   1 +
 include/linux/cpufreq.h                            |  83 ++++++---
 include/linux/filter.h                             |   2 +-
 include/linux/module.h                             |   2 +
 include/linux/pds/pds_core_if.h                    |   1 +
 include/linux/skbuff.h                             |  52 ++++--
 include/net/inet_frag.h                            |   4 +-
 include/soc/mscc/ocelot_vcap.h                     |   2 +
 include/sound/ump_convert.h                        |   2 +-
 kernel/bpf/core.c                                  |   2 +-
 kernel/bpf/verifier.c                              |  81 +++++++--
 kernel/params.c                                    |   6 +-
 kernel/trace/trace.c                               |   5 +-
 kernel/trace/trace_output.c                        |   4 +-
 mm/memblock.c                                      |  12 +-
 net/bluetooth/l2cap_core.c                         |   3 +
 net/bridge/netfilter/nf_conntrack_bridge.c         |   6 +-
 net/core/dev.c                                     |   2 +-
 net/core/filter.c                                  |  73 ++++----
 net/ieee802154/6lowpan/reassembly.c                |   2 +-
 net/ipv4/inet_fragment.c                           |   2 +-
 net/ipv4/ip_fragment.c                             |   2 +-
 net/ipv4/ip_output.c                               |   9 +-
 net/ipv4/tcp_output.c                              |  14 +-
 net/ipv4/udp_offload.c                             |  61 ++++++-
 net/ipv6/ip6_output.c                              |   6 +-
 net/ipv6/netfilter.c                               |   6 +-
 net/ipv6/netfilter/nf_conntrack_reasm.c            |   2 +-
 net/ipv6/reassembly.c                              |   2 +-
 net/ipv6/tcp_ipv6.c                                |   2 +-
 net/sched/act_bpf.c                                |   4 +-
 net/sched/cls_bpf.c                                |   4 +-
 net/sched/sch_drr.c                                |  16 +-
 net/sched/sch_ets.c                                |  17 +-
 net/sched/sch_hfsc.c                               |  10 +-
 net/sched/sch_htb.c                                |   2 +
 net/sched/sch_qfq.c                                |  18 +-
 sound/soc/codecs/ak4613.c                          |   4 +-
 sound/soc/soc-core.c                               |  36 ++--
 sound/soc/soc-pcm.c                                |   5 +-
 sound/usb/endpoint.c                               |   7 +
 sound/usb/format.c                                 |   3 +-
 .../selftests/bpf/prog_tests/changes_pkt_data.c    | 107 ++++++++++++
 .../testing/selftests/bpf/progs/changes_pkt_data.c |  39 +++++
 .../bpf/progs/changes_pkt_data_freplace.c          |  18 ++
 tools/testing/selftests/bpf/progs/verifier_sock.c  |  56 ++++++
 143 files changed, 1763 insertions(+), 662 deletions(-)


Re: [PATCH 6.6 000/129] 6.6.90-rc2 review
Posted by Mark Brown 7 months, 1 week ago
On Thu, May 08, 2025 at 01:30:36PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.6.90 release.
> There are 129 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.

Tested-by: Mark Brown <broonie@kernel.org>
Re: [PATCH 6.6 000/129] 6.6.90-rc2 review
Posted by Jon Hunter 7 months, 1 week ago
On Thu, 08 May 2025 13:30:36 +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.6.90 release.
> There are 129 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 Sat, 10 May 2025 11:25:47 +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.6.90-rc2.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.6.y
> and the diffstat can be found below.
> 
> thanks,
> 
> greg k-h

All tests passing for Tegra ...

Test results for stable-v6.6:
    10 builds:	10 pass, 0 fail
    28 boots:	28 pass, 0 fail
    116 tests:	116 pass, 0 fail

Linux version:	6.6.90-rc2-ga7b3b5860e08
Boards tested:	tegra124-jetson-tk1, tegra186-p2771-0000,
                tegra186-p3509-0000+p3636-0001, tegra194-p2972-0000,
                tegra194-p3509-0000+p3668-0000, tegra20-ventana,
                tegra210-p2371-2180, tegra210-p3450-0000,
                tegra30-cardhu-a04

Tested-by: Jon Hunter <jonathanh@nvidia.com>

Jon
Re: [PATCH 6.6 000/129] 6.6.90-rc2 review
Posted by Miguel Ojeda 7 months, 1 week ago
On Thu, 08 May 2025 13:30:36 +0200 Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
>
> This is the start of the stable review cycle for the 6.6.90 release.
> There are 129 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 Sat, 10 May 2025 11:25:47 +0000.
> Anything received after that time might be too late.

Boot-tested under QEMU for Rust x86_64:

Tested-by: Miguel Ojeda <ojeda@kernel.org>

Thanks!

Cheers,
Miguel
Re: [PATCH 6.6 000/129] 6.6.90-rc2 review
Posted by Ryan Matthews 7 months, 1 week ago
On Thu, May 8, 2025, at 07:30, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.6.90 release.
> There are 129 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.

Builds and boots successfully on an ARM i.MX7D board.

Tested-by: Ryan Matthews <ryanmatthews@fastmail.com>

 -- Ryan
Re: [PATCH 6.6 000/129] 6.6.90-rc2 review
Posted by Peter Schneider 7 months, 1 week ago
Am 08.05.2025 um 13:30 schrieb Greg Kroah-Hartman:
> This is the start of the stable review cycle for the 6.6.90 release.
> There are 129 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.

Builds, boots and works on my 2-socket Ivy Bridge Xeon E5-2697 v2 server. No dmesg 
oddities or regressions found.

Tested-by: Peter Schneider <pschneider1968@googlemail.com>


Beste Grüße,
Peter Schneider

-- 
Climb the mountain not to plant your flag, but to embrace the challenge,
enjoy the air and behold the view. Climb it so you can see the world,
not so the world can see you.                    -- David McCullough Jr.

OpenPGP:  0xA3828BD796CCE11A8CADE8866E3A92C92C3FF244
Download: https://www.peters-netzplatz.de/download/pschneider1968_pub.asc
https://keys.mailvelope.com/pks/lookup?op=get&search=pschneider1968@googlemail.com
https://keys.mailvelope.com/pks/lookup?op=get&search=pschneider1968@gmail.com
Re: [PATCH 6.6 000/129] 6.6.90-rc2 review
Posted by Naresh Kamboju 7 months, 1 week ago
On Thu, 8 May 2025 at 17:00, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> This is the start of the stable review cycle for the 6.6.90 release.
> There are 129 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 Sat, 10 May 2025 11:25:47 +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.6.90-rc2.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.6.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

Regressions on riscv with allyesconfig and allmodconfig builds failed with
clang-20 and gcc-13 toolchain on the stable-rc 6.6.90-rc1 and 6.6.90-rc2

* riscv, build
  - clang-20-allmodconfig
  - gcc-13-allmodconfig
  - gcc-13-allyesconfig

Regression Analysis:
 - New regression? Yes
 - Reproducibility? Yes

Build regression: riscv uprobes.c unused variable 'start'

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

## Build error riscv
arch/riscv/kernel/probes/uprobes.c: In function 'arch_uprobe_copy_ixol':
arch/riscv/kernel/probes/uprobes.c:170:23: error: unused variable
'start' [-Werror=unused-variable]
  170 |         unsigned long start = (unsigned long)dst;
      |                       ^~~~~
cc1: all warnings being treated as errors

## Build riscv
* Build log:  https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.6.y/build/v6.6.89-130-ga7b3b5860e08/testrun/28376898/suite/build/test/gcc-13-allmodconfig/log
* Build history:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.6.y/build/v6.6.89-130-ga7b3b5860e08/testrun/28376898/suite/build/test/gcc-13-allmodconfig/history/
* Build details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.6.y/build/v6.6.89-130-ga7b3b5860e08/testrun/28376898/suite/build/test/gcc-13-allmodconfig/details/
* Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2woO9vttziZGlSKcBdoVu2LZm8Q/
* Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2woO9vttziZGlSKcBdoVu2LZm8Q/config
* Toolchain: gcc-13 and clang-20

## Steps to reproduce
 -  tuxmake --runtime podman --target-arch riscv --toolchain gcc-13
--kconfig allmodconfig

## Build
* kernel: 6.6.90-rc2
* git: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
* git commit: a7b3b5860e08c3b29b4a004562b9691d7c25a2f3
* git describe: v6.6.89-130-ga7b3b5860e08
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.6.y/build/v6.6.89-130-ga7b3b5860e08

## Test Regressions (compared to v6.6.87-586-gda7333f263c3)

* riscv, build
  - clang-20-allmodconfig
  - gcc-13-allmodconfig
  - gcc-13-allyesconfig

## Metric Regressions (compared to v6.6.87-586-gda7333f263c3)

## Test Fixes (compared to v6.6.87-586-gda7333f263c3)

## Metric Fixes (compared to v6.6.87-586-gda7333f263c3)

## Test result summary
total: 112131, pass: 91642, fail: 4421, skip: 15654, xfail: 414

## Build Summary
* arc: 5 total, 5 passed, 0 failed
* arm: 129 total, 129 passed, 0 failed
* arm64: 44 total, 44 passed, 0 failed
* i386: 27 total, 20 passed, 7 failed
* mips: 26 total, 22 passed, 4 failed
* parisc: 4 total, 4 passed, 0 failed
* powerpc: 32 total, 31 passed, 1 failed
* riscv: 20 total, 17 passed, 3 failed
* s390: 14 total, 13 passed, 1 failed
* sh: 10 total, 10 passed, 0 failed
* sparc: 7 total, 7 passed, 0 failed
* riscv: 37 total, 33 passed, 4 failed

## Test suites summary
* boot
* commands
* kselftest-arm64
* kselftest-breakpoints
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-efivarfs
* kselftest-exec
* kselftest-fpu
* kselftest-ftrace
* kselftest-futex
* kselftest-gpio
* kselftest-intel_pstate
* kselftest-ipc
* kselftest-kcmp
* kselftest-kvm
* kselftest-livepatch
* kselftest-membarrier
* kselftest-memfd
* kselftest-mincore
* kselftest-mqueue
* kselftest-net
* kselftest-net-mptcp
* kselftest-openat2
* kselftest-ptrace
* kselftest-rseq
* kselftest-rtc
* kselftest-seccomp
* kselftest-sigaltstack
* kselftest-size
* kselftest-tc-testing
* kselftest-timers
* kselftest-tmpfs
* kselftest-tpm2
* kselftest-user_events
* kselftest-vDSO
* kselftest-x86
* kunit
* kvm-unit-tests
* lava
* libgpiod
* libhugetlbfs
* log-parser-boot
* log-parser-build-clang
* log-parser-build-gcc
* log-parser-test
* ltp-capability
* ltp-commands
* ltp-containers
* ltp-controllers
* ltp-cpuhotplug
* ltp-crypto
* ltp-cve
* ltp-dio
* ltp-fcntl-locktests
* ltp-fs
* ltp-fs_bind
* ltp-fs_perms_simple
* ltp-hugetlb
* ltp-ipc
* ltp-math
* ltp-mm
* ltp-nptl
* ltp-pty
* ltp-sched
* ltp-smoke
* ltp-syscalls
* ltp-tracing
* perf
* rcutorture

--
Linaro LKFT
https://lkft.linaro.org
Re: [PATCH 6.6 000/129] 6.6.90-rc2 review
Posted by Greg Kroah-Hartman 7 months, 1 week ago
On Thu, May 08, 2025 at 06:16:12PM +0530, Naresh Kamboju wrote:
> On Thu, 8 May 2025 at 17:00, Greg Kroah-Hartman
> <gregkh@linuxfoundation.org> wrote:
> >
> > This is the start of the stable review cycle for the 6.6.90 release.
> > There are 129 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 Sat, 10 May 2025 11:25:47 +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.6.90-rc2.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.6.y
> > and the diffstat can be found below.
> >
> > thanks,
> >
> > greg k-h
> 
> Regressions on riscv with allyesconfig and allmodconfig builds failed with
> clang-20 and gcc-13 toolchain on the stable-rc 6.6.90-rc1 and 6.6.90-rc2
> 
> * riscv, build
>   - clang-20-allmodconfig
>   - gcc-13-allmodconfig
>   - gcc-13-allyesconfig
> 
> Regression Analysis:
>  - New regression? Yes
>  - Reproducibility? Yes
> 
> Build regression: riscv uprobes.c unused variable 'start'
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> 
> ## Build error riscv
> arch/riscv/kernel/probes/uprobes.c: In function 'arch_uprobe_copy_ixol':
> arch/riscv/kernel/probes/uprobes.c:170:23: error: unused variable
> 'start' [-Werror=unused-variable]
>   170 |         unsigned long start = (unsigned long)dst;
>       |                       ^~~~~
> cc1: all warnings being treated as errors

Oh that's wierd.  riscv defines flush_icache_range() as "empty" so then
this patch does nothing in these older kernels.  Ah, it's an inline
function in newer kernel trees as well so that the build warning isn't
there anymore.

As this change feels odd for 6.6 and older kernels, AND it's causing
build warnings, I'm just going to drop it and if the riscv maintainers
really want it applied to these trees, will take a working backport from
them.

thanks,

greg k-h
Re: [PATCH 6.6 000/129] 6.6.90-rc2 review
Posted by Ron Economos 7 months, 1 week ago
On 5/8/25 23:19, Greg Kroah-Hartman wrote:
> On Thu, May 08, 2025 at 06:16:12PM +0530, Naresh Kamboju wrote:
>> On Thu, 8 May 2025 at 17:00, Greg Kroah-Hartman
>> <gregkh@linuxfoundation.org> wrote:
>>> This is the start of the stable review cycle for the 6.6.90 release.
>>> There are 129 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 Sat, 10 May 2025 11:25:47 +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.6.90-rc2.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.6.y
>>> and the diffstat can be found below.
>>>
>>> thanks,
>>>
>>> greg k-h
>> Regressions on riscv with allyesconfig and allmodconfig builds failed with
>> clang-20 and gcc-13 toolchain on the stable-rc 6.6.90-rc1 and 6.6.90-rc2
>>
>> * riscv, build
>>    - clang-20-allmodconfig
>>    - gcc-13-allmodconfig
>>    - gcc-13-allyesconfig
>>
>> Regression Analysis:
>>   - New regression? Yes
>>   - Reproducibility? Yes
>>
>> Build regression: riscv uprobes.c unused variable 'start'
>>
>> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>>
>> ## Build error riscv
>> arch/riscv/kernel/probes/uprobes.c: In function 'arch_uprobe_copy_ixol':
>> arch/riscv/kernel/probes/uprobes.c:170:23: error: unused variable
>> 'start' [-Werror=unused-variable]
>>    170 |         unsigned long start = (unsigned long)dst;
>>        |                       ^~~~~
>> cc1: all warnings being treated as errors
> Oh that's wierd.  riscv defines flush_icache_range() as "empty" so then
> this patch does nothing in these older kernels.  Ah, it's an inline
> function in newer kernel trees as well so that the build warning isn't
> there anymore.
>
> As this change feels odd for 6.6 and older kernels, AND it's causing
> build warnings, I'm just going to drop it and if the riscv maintainers
> really want it applied to these trees, will take a working backport from
> them.
>
> thanks,
>
> greg k-h

This is the same build failure from last week. There's a fixup patch 
"riscv: Replace function-like macro by static inline function" upstream 
commit 121f34341d396b666d8a90b24768b40e08ca0d61 that doesn't apply to 
6.6, 6.1 and 5.15.

You dropped the patch "riscv: uprobes: Add missing fence.i after 
building the XOL buffer" last week, but it snuck back in this week.