[PATCH 5.10 000/187] 5.10.202-rc3 review

Greg Kroah-Hartman posted 187 patches 2 years ago
Only 0 patches received!
Makefile                                           |   4 +-
arch/arm/include/asm/exception.h                   |   4 -
arch/arm64/Kconfig                                 |   2 +
arch/arm64/boot/dts/qcom/ipq6018.dtsi              |  15 +--
arch/parisc/include/uapi/asm/pdc.h                 |   1 +
arch/parisc/kernel/entry.S                         |   7 +-
arch/parisc/kernel/head.S                          |   5 +-
arch/powerpc/perf/core-book3s.c                    |   5 +-
arch/x86/include/asm/msr-index.h                   |   1 +
arch/x86/include/asm/numa.h                        |   7 --
arch/x86/kernel/cpu/hygon.c                        |   8 +-
arch/x86/kvm/hyperv.c                              |  10 +-
arch/x86/kvm/x86.c                                 |   2 +
arch/x86/mm/numa.c                                 |   7 --
crypto/pcrypt.c                                    |   4 +
drivers/acpi/resource.c                            |  12 +++
drivers/atm/iphase.c                               |  20 ++--
drivers/bluetooth/btusb.c                          |  15 +++
drivers/clk/qcom/gcc-ipq6018.c                     |   6 --
drivers/clk/qcom/gcc-ipq8074.c                     |   6 --
drivers/clocksource/timer-atmel-tcb.c              |   1 +
drivers/clocksource/timer-imx-gpt.c                |  18 +++-
drivers/cpufreq/cpufreq_stats.c                    |  14 +--
drivers/dma/stm32-mdma.c                           |   4 +-
drivers/firmware/qcom_scm.c                        |   7 ++
drivers/gpio/gpiolib.c                             |  13 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c        |   1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c        |   6 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |   3 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c            |   9 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |  13 +--
drivers/gpu/drm/amd/display/dc/core/dc_stream.c    |   4 +-
drivers/gpu/drm/amd/display/dmub/dmub_srv.h        |  22 +++--
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c    |  32 ++++--
drivers/gpu/drm/amd/include/pptable.h              |   4 +-
drivers/gpu/drm/amd/pm/amdgpu_pm.c                 |   8 +-
.../gpu/drm/amd/pm/powerplay/hwmgr/pptable_v1_0.h  |  16 +--
.../drm/arm/display/komeda/komeda_pipeline_state.c |   9 +-
drivers/gpu/drm/msm/dp/dp_panel.c                  |  21 +---
drivers/gpu/drm/panel/panel-arm-versatile.c        |   2 +
drivers/gpu/drm/panel/panel-sitronix-st7703.c      |  25 ++---
drivers/gpu/drm/panel/panel-tpo-tpg110.c           |   2 +
drivers/hid/hid-ids.h                              |   1 +
drivers/hid/hid-lenovo.c                           |  68 ++++++++-----
drivers/hid/hid-quirks.c                           |   1 +
drivers/i2c/busses/i2c-designware-master.c         |  19 +++-
drivers/i2c/busses/i2c-i801.c                      |  19 ++--
drivers/i2c/busses/i2c-sun6i-p2wi.c                |   5 +
drivers/i2c/i2c-core.h                             |   2 +-
drivers/i3c/master/i3c-master-cdns.c               |   6 +-
drivers/infiniband/hw/hfi1/pcie.c                  |   9 +-
drivers/mcb/mcb-core.c                             |   1 +
drivers/mcb/mcb-parse.c                            |   2 +-
drivers/media/pci/cobalt/cobalt-driver.c           |  11 ++-
drivers/media/platform/qcom/camss/camss-vfe.c      |   2 +-
drivers/media/platform/qcom/venus/hfi_msgs.c       |   2 +-
drivers/media/platform/qcom/venus/hfi_parser.c     |  15 +++
drivers/media/platform/qcom/venus/hfi_venus.c      |  10 ++
drivers/media/rc/imon.c                            |   6 ++
drivers/media/rc/ir-sharp-decoder.c                |   8 +-
drivers/media/rc/lirc_dev.c                        |   6 +-
drivers/media/test-drivers/vivid/vivid-rds-gen.c   |   2 +-
drivers/media/usb/gspca/cpia1.c                    |   3 +
drivers/misc/pci_endpoint_test.c                   |   4 +
drivers/mmc/host/meson-gx-mmc.c                    |   1 -
drivers/mmc/host/sdhci_am654.c                     |   2 +-
drivers/mmc/host/vub300.c                          |   1 +
drivers/mtd/chips/cfi_cmdset_0001.c                |  20 +++-
drivers/net/bonding/bond_main.c                    |   6 ++
drivers/net/dsa/lan9303_mdio.c                     |   4 +-
drivers/net/ethernet/cortina/gemini.c              |  45 ++++++---
drivers/net/ethernet/cortina/gemini.h              |   4 +-
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c    |   2 +-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c  |  14 ++-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h  |   1 +
drivers/net/ethernet/mellanox/mlx5/core/devlink.c  |   2 +-
.../net/ethernet/mellanox/mlx5/core/en/tc_tun.c    |  10 +-
.../net/ethernet/mellanox/mlx5/core/en_ethtool.c   |   4 +-
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c   |  13 ++-
.../ethernet/mellanox/mlx5/core/ipoib/ethtool.c    |   2 +-
drivers/net/ethernet/mellanox/mlx5/core/main.c     |  10 +-
.../net/ethernet/mellanox/mlx5/core/mlx5_core.h    |   3 -
drivers/net/ethernet/realtek/r8169_main.c          |   4 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  |   2 +-
drivers/net/ipvlan/ipvlan_core.c                   |  41 +++++---
drivers/net/macvlan.c                              |   2 +-
drivers/net/phy/phylink.c                          |   1 +
drivers/net/ppp/ppp_synctty.c                      |   6 +-
drivers/net/wireless/ath/ath10k/debug.c            |   2 +-
drivers/net/wireless/ath/ath10k/snoc.c             |  18 +++-
drivers/net/wireless/ath/ath11k/dp_rx.c            |   8 +-
drivers/net/wireless/ath/ath11k/wmi.c              |  12 ++-
drivers/net/wireless/ath/ath9k/debug.c             |   2 +-
drivers/net/wireless/ath/ath9k/htc_drv_debug.c     |   2 +-
drivers/net/wireless/intel/iwlwifi/mvm/tx.c        |  14 ++-
drivers/net/wireless/mac80211_hwsim.c              |   2 +-
drivers/pci/controller/dwc/pci-exynos.c            |   4 +-
drivers/pci/controller/dwc/pci-keystone.c          |   8 +-
drivers/pci/controller/dwc/pcie-tegra194.c         |   9 +-
drivers/pci/pci-acpi.c                             |   2 +-
drivers/pci/pci-sysfs.c                            |   5 +-
drivers/pci/pcie/aspm.c                            |   2 +
drivers/platform/x86/thinkpad_acpi.c               |   1 +
drivers/ptp/ptp_chardev.c                          |   3 +-
drivers/ptp/ptp_clock.c                            |   5 +-
drivers/ptp/ptp_private.h                          |   8 +-
drivers/ptp/ptp_sysfs.c                            |   3 +-
drivers/s390/crypto/ap_bus.c                       |   4 +
drivers/scsi/libfc/fc_lport.c                      |   6 ++
drivers/scsi/megaraid/megaraid_sas_base.c          |   4 +-
drivers/scsi/mpt3sas/mpt3sas_base.c                |   4 +-
drivers/tty/hvc/hvc_xen.c                          |  37 +++++--
drivers/tty/serial/meson_uart.c                    |  33 +++++--
drivers/tty/sysrq.c                                |   3 +-
drivers/tty/vcc.c                                  |  16 ++-
drivers/usb/gadget/function/f_ncm.c                |  27 +++---
drivers/usb/host/xhci-pci.c                        |   4 +-
drivers/usb/host/xhci-ring.c                       | 108 ++++++++++-----------
drivers/xen/events/events_base.c                   |   4 +-
fs/btrfs/delalloc-space.c                          |   3 -
fs/cifs/cifs_spnego.c                              |   4 +-
fs/cifs/smb2transport.c                            |   5 +-
fs/exfat/namei.c                                   |  29 ++++--
fs/ext4/acl.h                                      |   5 +
fs/ext4/extents_status.c                           |   4 +-
fs/ext4/resize.c                                   |  19 ++--
fs/f2fs/compress.c                                 |   2 +-
fs/gfs2/inode.c                                    |  14 ++-
fs/gfs2/quota.c                                    |  11 +++
fs/gfs2/super.c                                    |   2 +-
fs/jbd2/recovery.c                                 |   8 ++
fs/jfs/jfs_dmap.c                                  |  23 ++++-
fs/jfs/jfs_imap.c                                  |   5 +-
fs/nfs/nfs4proc.c                                  |   5 +-
fs/nfsd/nfs4state.c                                |   2 +-
fs/overlayfs/super.c                               |   2 +-
fs/proc/proc_sysctl.c                              |   1 -
fs/quota/dquot.c                                   |  14 +++
include/linux/gpio/driver.h                        |  16 +++
include/linux/irq.h                                |   2 +
include/linux/lsm_hook_defs.h                      |   4 +-
include/linux/mlx5/driver.h                        |   2 +
include/linux/pwm.h                                |   4 +-
include/linux/sunrpc/clnt.h                        |   1 +
include/linux/trace_events.h                       |   4 +
include/net/netfilter/nf_tables.h                  |   3 -
include/net/sock.h                                 |  26 +++--
include/sound/soc-card.h                           |  37 +++++++
include/sound/soc.h                                |  11 +++
include/uapi/linux/netfilter/nf_tables.h           |   1 +
io_uring/io_uring.c                                |  18 ++--
kernel/audit_watch.c                               |   9 +-
kernel/bpf/core.c                                  |   6 +-
kernel/bpf/verifier.c                              |   9 +-
kernel/debug/debug_core.c                          |   3 +
kernel/events/ring_buffer.c                        |   6 ++
kernel/irq/debugfs.c                               |   1 +
kernel/irq/generic-chip.c                          |  25 +++--
kernel/locking/test-ww_mutex.c                     |  20 ++--
kernel/padata.c                                    |   2 +-
kernel/power/snapshot.c                            |  16 ++-
kernel/rcu/tree.c                                  |   9 ++
kernel/reboot.c                                    |   1 +
kernel/trace/trace.c                               |  15 +++
kernel/trace/trace.h                               |   3 +
kernel/trace/trace_events.c                        |  43 +++++---
kernel/trace/trace_events_filter.c                 |   3 +
kernel/watchdog.c                                  |   7 ++
mm/cma.c                                           |   2 +-
mm/memcontrol.c                                    |   3 +-
mm/memory_hotplug.c                                |   2 +-
net/9p/trans_fd.c                                  |  13 ++-
net/bluetooth/hci_conn.c                           |   6 +-
net/bluetooth/hci_sysfs.c                          |  23 ++---
net/bridge/netfilter/nf_conntrack_bridge.c         |   2 +-
net/core/sock.c                                    |   2 +-
net/ipv4/tcp_output.c                              |   2 +-
net/mac80211/cfg.c                                 |   4 +
net/ncsi/ncsi-aen.c                                |   5 -
net/netfilter/nf_tables_api.c                      |  62 ++++++++----
net/sunrpc/clnt.c                                  |   7 +-
net/sunrpc/rpcb_clnt.c                             |   4 +
net/tipc/netlink_compat.c                          |   1 +
scripts/gcc-plugins/randomize_layout_plugin.c      |  11 ++-
security/integrity/ima/ima_api.c                   |   5 +
security/integrity/ima/ima_main.c                  |  16 ++-
security/integrity/integrity.h                     |   2 +
sound/core/info.c                                  |  21 ++--
sound/hda/hdac_stream.c                            |   6 +-
sound/pci/hda/patch_realtek.c                      |  20 +---
sound/soc/ti/omap-mcbsp.c                          |   6 +-
tools/power/x86/turbostat/turbostat.c              |   2 +-
tools/testing/selftests/efivarfs/create-read.c     |   2 +
193 files changed, 1213 insertions(+), 618 deletions(-)
[PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Greg Kroah-Hartman 2 years ago
This is the start of the stable review cycle for the 5.10.202 release.
There are 187 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 Tue, 28 Nov 2023 15:43:06 +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/v5.x/stable-review/patch-5.10.202-rc3.gz
or in the git tree and branch at:
	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Linux 5.10.202-rc3

Pablo Neira Ayuso <pablo@netfilter.org>
    netfilter: nf_tables: disable toggling dormant table state more than once

Pablo Neira Ayuso <pablo@netfilter.org>
    netfilter: nf_tables: fix table flag updates

Pablo Neira Ayuso <pablo@netfilter.org>
    netfilter: nftables: update table flags from the commit phase

Steven Rostedt (Google) <rostedt@goodmis.org>
    tracing: Have trace_event_file have ref counters

Jens Axboe <axboe@kernel.dk>
    io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid

Lewis Huang <lewis.huang@amd.com>
    drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox

Christian König <christian.koenig@amd.com>
    drm/amdgpu: fix error handling in amdgpu_bo_list_get()

Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    drm/amd/pm: Handle non-terminated overdrive commands.

Kemeng Shi <shikemeng@huaweicloud.com>
    ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks

Zhang Yi <yi.zhang@huawei.com>
    ext4: correct the start block of counting reserved clusters

Kemeng Shi <shikemeng@huaweicloud.com>
    ext4: correct return value of ext4_convert_meta_bg

Kemeng Shi <shikemeng@huaweicloud.com>
    ext4: correct offset of gdb backup in non meta_bg group to update_backups

Max Kellermann <max.kellermann@ionos.com>
    ext4: apply umask if ACL support is disabled

Heiner Kallweit <hkallweit1@gmail.com>
    Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"

Bryan O'Donoghue <bryan.odonoghue@linaro.org>
    media: qcom: camss: Fix vfe_get() error jump

Roman Gushchin <roman.gushchin@linux.dev>
    mm: kmem: drop __GFP_NOFAIL when allocating objcg vectors

Mahmoud Adam <mngyadam@amazon.com>
    nfsd: fix file memleak on client_opens_release

Vikash Garodia <quic_vgarodia@quicinc.com>
    media: venus: hfi: add checks to handle capabilities from firmware

Vikash Garodia <quic_vgarodia@quicinc.com>
    media: venus: hfi: fix the check to handle session buffer requirement

Vikash Garodia <quic_vgarodia@quicinc.com>
    media: venus: hfi_parser: Add check to keep the number of codecs within range

Sean Young <sean@mess.org>
    media: sharp: fix sharp encoding

Sean Young <sean@mess.org>
    media: lirc: drop trailing space from scancode transmit

Su Hui <suhui@nfschina.com>
    f2fs: avoid format-overflow warning

Heiner Kallweit <hkallweit1@gmail.com>
    i2c: i801: fix potential race in i801_block_transaction_byte_by_byte

Klaus Kudielka <klaus.kudielka@gmail.com>
    net: phylink: initialize carrier state at creation

Alexander Sverdlin <alexander.sverdlin@siemens.com>
    net: dsa: lan9303: consequently nested-lock physical MDIO

Harald Freudenberger <freude@linux.ibm.com>
    s390/ap: fix AP bus crash on early config change callback invocation

Tam Nguyen <tamnguyenchi@os.amperecomputing.com>
    i2c: designware: Disable TX_EMPTY irq while waiting for block length byte

Ondrej Mosnacek <omosnace@redhat.com>
    lsm: fix default return value for inode_getsecctx

Ondrej Mosnacek <omosnace@redhat.com>
    lsm: fix default return value for vm_enough_memory

Johnathan Mantey <johnathanx.mantey@intel.com>
    Revert ncsi: Propagate carrier gain/loss events to the NCSI controller

Vignesh Viswanathan <quic_viswanat@quicinc.com>
    arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size

Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    arm64: dts: qcom: ipq6018: switch TCSR mutex to MMIO

Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    PCI: exynos: Don't discard .remove() callback

Guan Wentao <guanwentao@uniontech.com>
    Bluetooth: btusb: Add 0bda:b85b for Fn-Link RTL8852BE

Masum Reza <masumrezarock100@gmail.com>
    Bluetooth: btusb: Add RTW8852BE device 13d3:3570 to device tables

Larry Finger <Larry.Finger@lwfinger.net>
    bluetooth: Add device 13d3:3571 to device tables

Larry Finger <Larry.Finger@lwfinger.net>
    bluetooth: Add device 0bda:887b to device tables

Artem Lukyanov <dukzcry@ya.ru>
    Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0cb8:0xc559

Christian Marangi <ansuelsmth@gmail.com>
    cpufreq: stats: Fix buffer overflow detection in trans_stats()

Pavel Krasavin <pkrasavin@imaqliq.com>
    tty: serial: meson: fix hard LOCKUP on crtscts mode

Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
    serial: meson: Use platform_get_irq() to get the interrupt

Neil Armstrong <narmstrong@baylibre.com>
    tty: serial: meson: retrieve port FIFO size from DT

Colin Ian King <colin.king@canonical.com>
    serial: meson: remove redundant initialization of variable id

Chandradeep Dey <codesigning@chandradeepdey.com>
    ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC

Kailang Yang <kailang@realtek.com>
    ALSA: hda/realtek - Add Dell ALC295 to pin fall back table

Takashi Iwai <tiwai@suse.de>
    ALSA: info: Fix potential deadlock at disconnection

Basavaraj Natikar <Basavaraj.Natikar@amd.com>
    xhci: Enable RPM on controllers that support low-power states

Helge Deller <deller@gmx.de>
    parisc/pgtable: Do not drop upper 5 address bits of physical address

Helge Deller <deller@gmx.de>
    parisc: Prevent booting 64-bit kernels on PA1.x machines

Joshua Yeong <joshua.yeong@starfivetech.com>
    i3c: master: cdns: Fix reading status register

Linus Walleij <linus.walleij@linaro.org>
    mtd: cfi_cmdset_0001: Byte swap OTP info

Zi Yan <ziy@nvidia.com>
    mm/memory_hotplug: use pfn math in place of direct struct page manipulation

Zi Yan <ziy@nvidia.com>
    mm/cma: use nth_page() in place of direct struct page manipulation

Alain Volmat <alain.volmat@foss.st.com>
    dmaengine: stm32-mdma: correct desc prep when channel running

Sanjuán García, Jorge <Jorge.SanjuanGarcia@duagon.com>
    mcb: fix error handling for different scenarios when parsing

Benjamin Bara <benjamin.bara@skidata.com>
    i2c: core: Run atomic i2c xfer when !preemptible

Benjamin Bara <benjamin.bara@skidata.com>
    kernel/reboot: emergency_restart: Set correct system_state

Eric Biggers <ebiggers@google.com>
    quota: explicitly forbid quota files from being encrypted

Zhihao Cheng <chengzhihao1@huawei.com>
    jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev

Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    PCI: keystone: Don't discard .probe() callback

Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    PCI: keystone: Don't discard .remove() callback

Herve Codina <herve.codina@bootlin.com>
    genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware

Rong Chen <rong.chen@amlogic.com>
    mmc: meson-gx: Remove setting of CMD_CFG_ERROR

Johan Hovold <johan+linaro@kernel.org>
    wifi: ath11k: fix htt pktlog locking

Johan Hovold <johan+linaro@kernel.org>
    wifi: ath11k: fix dfs radar event locking

Johan Hovold <johan+linaro@kernel.org>
    wifi: ath11k: fix temperature event locking

Mimi Zohar <zohar@linux.ibm.com>
    ima: detect changes to the backing overlay file

Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
    firmware: qcom_scm: use 64-bit calling convention only when client is 64-bit

Josef Bacik <josef@toxicpanda.com>
    btrfs: don't arbitrarily slow down delalloc if we're committing

Catalin Marinas <catalin.marinas@arm.com>
    rcu: kmemleak: Ignore kmemleak false positives when RCU-freeing objects

Brian Geffon <bgeffon@google.com>
    PM: hibernate: Clean up sync_read handling in snapshot_write_next()

Brian Geffon <bgeffon@google.com>
    PM: hibernate: Use __get_safe_page() rather than touching the list

Vignesh Viswanathan <quic_viswanat@quicinc.com>
    arm64: dts: qcom: ipq6018: Fix hwlock index for SMEM

Heiner Kallweit <hkallweit1@gmail.com>
    PCI/ASPM: Fix L1 substate handling in aspm_attr_store_common()

Nitin Yadav <n-yadav@ti.com>
    mmc: sdhci_am654: fix start loop index for TAP value parsing

Dan Carpenter <dan.carpenter@linaro.org>
    mmc: vub300: fix an error code

Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
    clk: qcom: ipq6018: drop the CLK_SET_RATE_PARENT flag from PLL clocks

Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
    clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks

Helge Deller <deller@gmx.de>
    parisc/pdc: Add width field to struct pdc_model

Nathan Chancellor <nathan@kernel.org>
    arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer

Werner Sembach <wse@tuxedocomputers.com>
    ACPI: resource: Do IRQ override on TongFang GMxXGxx

Krister Johansen <kjlx@templeofstupid.com>
    watchdog: move softlockup_panic back to early_param

Lukas Wunner <lukas@wunner.de>
    PCI/sysfs: Protect driver's D3cold preference from user space

David Woodhouse <dwmw@amazon.co.uk>
    hvc/xen: fix error path in xen_hvc_init() to always register frontend driver

David Woodhouse <dwmw@amazon.co.uk>
    hvc/xen: fix console unplug

Muhammad Usama Anjum <usama.anjum@collabora.com>
    tty/sysrq: replace smp_processor_id() with get_cpu()

Paul Moore <paul@paul-moore.com>
    audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare()

Paul Moore <paul@paul-moore.com>
    audit: don't take task_lock() in audit_exe_compare() code path

Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
    KVM: x86: Ignore MSR_AMD64_TW_CFG access

Nicolas Saenz Julienne <nsaenz@amazon.com>
    KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space

Pu Wen <puwen@hygon.cn>
    x86/cpu/hygon: Fix the CPU topology evaluation for real

Chandrakanth patil <chandrakanth.patil@broadcom.com>
    scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers

Ranjan Kumar <ranjan.kumar@broadcom.com>
    scsi: mpt3sas: Fix loop logic

Shung-Hsi Yu <shung-hsi.yu@suse.com>
    bpf: Fix precision tracking for BPF_ALU | BPF_TO_BE | BPF_END

Hao Sun <sunhao.th@gmail.com>
    bpf: Fix check_stack_write_fixed_off() to correctly spill imm

Kees Cook <keescook@chromium.org>
    randstruct: Fix gcc-plugin performance mode to stay in group

Nicholas Piggin <npiggin@gmail.com>
    powerpc/perf: Fix disabling BHRB and instruction sampling

Vikash Garodia <quic_vgarodia@quicinc.com>
    media: venus: hfi: add checks to perform sanity on queue pointers

Ekaterina Esina <eesina@astralinux.ru>
    cifs: fix check of rc in function generate_smb3signingkey

Anastasia Belova <abelova@astralinux.ru>
    cifs: spnego: add ';' in HOST_KEY_LEN

Zhang Rui <rui.zhang@intel.com>
    tools/power/turbostat: Fix a knl bug

Vlad Buslov <vladbu@nvidia.com>
    macvlan: Don't propagate promisc change to lower dev in passthru

Rahul Rameshbabu <rrameshbabu@nvidia.com>
    net/mlx5e: Check return value of snprintf writing to fw_version buffer for representors

Leon Romanovsky <leon@kernel.org>
    net/mlx5_core: Clean driver version and name

Dust Li <dust.li@linux.alibaba.com>
    net/mlx5e: fix double free of encap_header

Baruch Siach <baruch@tkos.co.il>
    net: stmmac: fix rx budget limit check

Linkui Xiao <xiaolinkui@kylinos.cn>
    netfilter: nf_conntrack_bridge: initialize err to 0

Linus Walleij <linus.walleij@linaro.org>
    net: ethernet: cortina: Fix MTU max setting

Linus Walleij <linus.walleij@linaro.org>
    net: ethernet: cortina: Handle large frames

Linus Walleij <linus.walleij@linaro.org>
    net: ethernet: cortina: Fix max RX frame define

Eric Dumazet <edumazet@google.com>
    bonding: stop the device in bond_setup_by_slave()

Eric Dumazet <edumazet@google.com>
    ptp: annotate data-race around q->head and q->tail

Juergen Gross <jgross@suse.com>
    xen/events: fix delayed eoi list handling

Willem de Bruijn <willemb@google.com>
    ppp: limit MRU to 64K

Shigeru Yoshida <syoshida@redhat.com>
    tipc: Fix kernel-infoleak due to uninitialized TLV value

Jijie Shao <shaojijie@huawei.com>
    net: hns3: fix VF reset fail issue

Yonglong Liu <liuyonglong@huawei.com>
    net: hns3: fix variable may not initialized problem in hns3_init_mac_addr()

Shigeru Yoshida <syoshida@redhat.com>
    tty: Fix uninit-value access in ppp_sync_receive()

Eric Dumazet <edumazet@google.com>
    ipvlan: add ipvlan_route_v6_outbound() helper

Andreas Gruenbacher <agruenba@redhat.com>
    gfs2: Silence "suspicious RCU usage in gfs2_permission" warning

felix <fuzhen5@huawei.com>
    SUNRPC: Fix RPC client cleaned up the freed pipefs dentries

Olga Kornievskaia <kolga@netapp.com>
    NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO

Dan Carpenter <dan.carpenter@linaro.org>
    SUNRPC: Add an IS_ERR() check back to where it was

Marc Zyngier <maz@kernel.org>
    gpio: Add helpers to ease the transition towards immutable irq_chip

Marc Zyngier <maz@kernel.org>
    gpio: Expose the gpiochip_irq_re[ql]res helpers

Marc Zyngier <maz@kernel.org>
    gpio: Don't fiddle with irqchips marked as immutable

Trond Myklebust <trond.myklebust@hammerspace.com>
    SUNRPC: ECONNRESET might require a rebind

Mathias Nyman <mathias.nyman@linux.intel.com>
    xhci: turn cancelled td cleanup to its own function

Miri Korenblit <miriam.rachel.korenblit@intel.com>
    wifi: iwlwifi: Use FW rate for non-data frames

Dan Carpenter <dan.carpenter@linaro.org>
    pwm: Fix double shift bug

Vitaly Prosyak <vitaly.prosyak@amd.com>
    drm/amdgpu: fix software pci_unplug on some chips

Tony Lindgren <tony@atomide.com>
    ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings

Douglas Anderson <dianders@chromium.org>
    kgdb: Flush console before entering kgdb on panic

Wayne Lin <wayne.lin@amd.com>
    drm/amd/display: Avoid NULL dereference of timing generator

Takashi Iwai <tiwai@suse.de>
    media: imon: fix access to invalid resource for the second interface

Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
    media: cobalt: Use FIELD_GET() to extract Link Width

Al Viro <viro@zeniv.linux.org.uk>
    gfs2: fix an oops in gfs2_permission

Bob Peterson <rpeterso@redhat.com>
    gfs2: ignore negated quota changes

Hans Verkuil <hverkuil-cisco@xs4all.nl>
    media: vivid: avoid integer overflow

Rajeshwar R Shinde <coolrrsh@gmail.com>
    media: gspca: cpia1: shift-out-of-bounds in set_flicker

Axel Lin <axel.lin@ingics.com>
    i2c: sun6i-p2wi: Prevent potential division by zero

Marco Elver <elver@google.com>
    9p/trans_fd: Annotate data-racy writes to file::f_flags

Hardik Gajjar <hgajjar@de.adit-jv.com>
    usb: gadget: f_ncm: Always set current gadget in ncm_bind()

Yi Yang <yiyang13@huawei.com>
    tty: vcc: Add check for kstrdup() in vcc_probe()

Yuezhang Mo <Yuezhang.Mo@sony.com>
    exfat: support handle zero-size directory

Jiri Kosina <jkosina@suse.cz>
    HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W

Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
    misc: pci_endpoint_test: Add Device ID for R-Car S4-8 PCIe controller

Wenchao Hao <haowenchao2@huawei.com>
    scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()

Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
    atm: iphase: Do PCI error checks on own line

Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
    PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields

Cezary Rojewski <cezary.rojewski@intel.com>
    ALSA: hda: Fix possible null-ptr-deref when assigning a stream

Vincent Whitchurch <vincent.whitchurch@axis.com>
    ARM: 9320/1: fix stack depot IRQ stack filter

Mikhail Khvainitski <me@khvoinitsky.org>
    HID: lenovo: Detect quirk-free fw on cptkbd and stop applying workaround

Manas Ghandat <ghandatmanas@gmail.com>
    jfs: fix array-index-out-of-bounds in diAlloc

Manas Ghandat <ghandatmanas@gmail.com>
    jfs: fix array-index-out-of-bounds in dbFindLeaf

Juntong Deng <juntong.deng@outlook.com>
    fs/jfs: Add validity check for db_maxag and db_agpref

Juntong Deng <juntong.deng@outlook.com>
    fs/jfs: Add check for negative db_l2nbperpage

Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
    RDMA/hfi1: Use FIELD_GET() to extract Link Width

Lu Jialin <lujialin4@huawei.com>
    crypto: pcrypt - Fix hungtask for PADATA_RESET

Richard Fitzgerald <rf@opensource.cirrus.com>
    ASoC: soc-card: Add storage for PCI SSID

zhujun2 <zhujun2@cmss.chinamobile.com>
    selftests/efivarfs: create-read: fix a resource leak

Qu Huang <qu.huang@linux.dev>
    drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL

Ondrej Jirman <megi@xff.cz>
    drm/panel: st7703: Pick different reset sequence

Ma Ke <make_ruc2021@163.com>
    drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference

Ma Ke <make_ruc2021@163.com>
    drm/panel: fix a possible null pointer dereference

Stanley.Yang <Stanley.Yang@amd.com>
    drm/amdgpu: Fix potential null pointer derefernce

Mario Limonciello <mario.limonciello@amd.com>
    drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga

Mario Limonciello <mario.limonciello@amd.com>
    drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7

Jani Nikula <jani.nikula@intel.com>
    drm/msm/dp: skip validity check for DP CTS EDID checksum

baozhu.liu <lucas.liu@siengine.com>
    drm/komeda: drop all currently held locks if deadlock happens

Olli Asikainen <olli.asikainen@gmail.com>
    platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e

ZhengHan Wang <wzhmmmmm@gmail.com>
    Bluetooth: Fix double free in hci_conn_cleanup

youwan Wang <wangyouwan@126.com>
    Bluetooth: btusb: Add date->evt_skb is NULL check

Douglas Anderson <dianders@chromium.org>
    wifi: ath10k: Don't touch the CE interrupt registers after power up

Eric Dumazet <edumazet@google.com>
    net: annotate data-races around sk->sk_dst_pending_confirm

Eric Dumazet <edumazet@google.com>
    net: annotate data-races around sk->sk_tx_queue_mapping

Dmitry Antipov <dmantipov@yandex.ru>
    wifi: ath10k: fix clang-specific fortify warning

Dmitry Antipov <dmantipov@yandex.ru>
    wifi: ath9k: fix clang-specific fortify warnings

Kumar Kartikeya Dwivedi <memxor@gmail.com>
    bpf: Detect IP == ksym.end as part of BPF program

Ping-Ke Shih <pkshih@realtek.com>
    wifi: mac80211: don't return unset power in ieee80211_get_tx_power()

Dmitry Antipov <dmantipov@yandex.ru>
    wifi: mac80211_hwsim: fix clang-specific fortify warning

Mike Rapoport (IBM) <rppt@kernel.org>
    x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size

Ronald Wahl <ronald.wahl@raritan.com>
    clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware

Jacky Bai <ping.bai@nxp.com>
    clocksource/drivers/timer-imx-gpt: Fix potential memory leak

Shuai Xue <xueshuai@linux.alibaba.com>
    perf/core: Bail out early if the request AUX area is out of bound

John Stultz <jstultz@google.com>
    locking/ww_mutex/test: Fix potential workqueue corruption


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

Diffstat:

 Makefile                                           |   4 +-
 arch/arm/include/asm/exception.h                   |   4 -
 arch/arm64/Kconfig                                 |   2 +
 arch/arm64/boot/dts/qcom/ipq6018.dtsi              |  15 +--
 arch/parisc/include/uapi/asm/pdc.h                 |   1 +
 arch/parisc/kernel/entry.S                         |   7 +-
 arch/parisc/kernel/head.S                          |   5 +-
 arch/powerpc/perf/core-book3s.c                    |   5 +-
 arch/x86/include/asm/msr-index.h                   |   1 +
 arch/x86/include/asm/numa.h                        |   7 --
 arch/x86/kernel/cpu/hygon.c                        |   8 +-
 arch/x86/kvm/hyperv.c                              |  10 +-
 arch/x86/kvm/x86.c                                 |   2 +
 arch/x86/mm/numa.c                                 |   7 --
 crypto/pcrypt.c                                    |   4 +
 drivers/acpi/resource.c                            |  12 +++
 drivers/atm/iphase.c                               |  20 ++--
 drivers/bluetooth/btusb.c                          |  15 +++
 drivers/clk/qcom/gcc-ipq6018.c                     |   6 --
 drivers/clk/qcom/gcc-ipq8074.c                     |   6 --
 drivers/clocksource/timer-atmel-tcb.c              |   1 +
 drivers/clocksource/timer-imx-gpt.c                |  18 +++-
 drivers/cpufreq/cpufreq_stats.c                    |  14 +--
 drivers/dma/stm32-mdma.c                           |   4 +-
 drivers/firmware/qcom_scm.c                        |   7 ++
 drivers/gpio/gpiolib.c                             |  13 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c        |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c        |   6 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c            |   9 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |  13 +--
 drivers/gpu/drm/amd/display/dc/core/dc_stream.c    |   4 +-
 drivers/gpu/drm/amd/display/dmub/dmub_srv.h        |  22 +++--
 drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c    |  32 ++++--
 drivers/gpu/drm/amd/include/pptable.h              |   4 +-
 drivers/gpu/drm/amd/pm/amdgpu_pm.c                 |   8 +-
 .../gpu/drm/amd/pm/powerplay/hwmgr/pptable_v1_0.h  |  16 +--
 .../drm/arm/display/komeda/komeda_pipeline_state.c |   9 +-
 drivers/gpu/drm/msm/dp/dp_panel.c                  |  21 +---
 drivers/gpu/drm/panel/panel-arm-versatile.c        |   2 +
 drivers/gpu/drm/panel/panel-sitronix-st7703.c      |  25 ++---
 drivers/gpu/drm/panel/panel-tpo-tpg110.c           |   2 +
 drivers/hid/hid-ids.h                              |   1 +
 drivers/hid/hid-lenovo.c                           |  68 ++++++++-----
 drivers/hid/hid-quirks.c                           |   1 +
 drivers/i2c/busses/i2c-designware-master.c         |  19 +++-
 drivers/i2c/busses/i2c-i801.c                      |  19 ++--
 drivers/i2c/busses/i2c-sun6i-p2wi.c                |   5 +
 drivers/i2c/i2c-core.h                             |   2 +-
 drivers/i3c/master/i3c-master-cdns.c               |   6 +-
 drivers/infiniband/hw/hfi1/pcie.c                  |   9 +-
 drivers/mcb/mcb-core.c                             |   1 +
 drivers/mcb/mcb-parse.c                            |   2 +-
 drivers/media/pci/cobalt/cobalt-driver.c           |  11 ++-
 drivers/media/platform/qcom/camss/camss-vfe.c      |   2 +-
 drivers/media/platform/qcom/venus/hfi_msgs.c       |   2 +-
 drivers/media/platform/qcom/venus/hfi_parser.c     |  15 +++
 drivers/media/platform/qcom/venus/hfi_venus.c      |  10 ++
 drivers/media/rc/imon.c                            |   6 ++
 drivers/media/rc/ir-sharp-decoder.c                |   8 +-
 drivers/media/rc/lirc_dev.c                        |   6 +-
 drivers/media/test-drivers/vivid/vivid-rds-gen.c   |   2 +-
 drivers/media/usb/gspca/cpia1.c                    |   3 +
 drivers/misc/pci_endpoint_test.c                   |   4 +
 drivers/mmc/host/meson-gx-mmc.c                    |   1 -
 drivers/mmc/host/sdhci_am654.c                     |   2 +-
 drivers/mmc/host/vub300.c                          |   1 +
 drivers/mtd/chips/cfi_cmdset_0001.c                |  20 +++-
 drivers/net/bonding/bond_main.c                    |   6 ++
 drivers/net/dsa/lan9303_mdio.c                     |   4 +-
 drivers/net/ethernet/cortina/gemini.c              |  45 ++++++---
 drivers/net/ethernet/cortina/gemini.h              |   4 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c    |   2 +-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c  |  14 ++-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h  |   1 +
 drivers/net/ethernet/mellanox/mlx5/core/devlink.c  |   2 +-
 .../net/ethernet/mellanox/mlx5/core/en/tc_tun.c    |  10 +-
 .../net/ethernet/mellanox/mlx5/core/en_ethtool.c   |   4 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c   |  13 ++-
 .../ethernet/mellanox/mlx5/core/ipoib/ethtool.c    |   2 +-
 drivers/net/ethernet/mellanox/mlx5/core/main.c     |  10 +-
 .../net/ethernet/mellanox/mlx5/core/mlx5_core.h    |   3 -
 drivers/net/ethernet/realtek/r8169_main.c          |   4 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  |   2 +-
 drivers/net/ipvlan/ipvlan_core.c                   |  41 +++++---
 drivers/net/macvlan.c                              |   2 +-
 drivers/net/phy/phylink.c                          |   1 +
 drivers/net/ppp/ppp_synctty.c                      |   6 +-
 drivers/net/wireless/ath/ath10k/debug.c            |   2 +-
 drivers/net/wireless/ath/ath10k/snoc.c             |  18 +++-
 drivers/net/wireless/ath/ath11k/dp_rx.c            |   8 +-
 drivers/net/wireless/ath/ath11k/wmi.c              |  12 ++-
 drivers/net/wireless/ath/ath9k/debug.c             |   2 +-
 drivers/net/wireless/ath/ath9k/htc_drv_debug.c     |   2 +-
 drivers/net/wireless/intel/iwlwifi/mvm/tx.c        |  14 ++-
 drivers/net/wireless/mac80211_hwsim.c              |   2 +-
 drivers/pci/controller/dwc/pci-exynos.c            |   4 +-
 drivers/pci/controller/dwc/pci-keystone.c          |   8 +-
 drivers/pci/controller/dwc/pcie-tegra194.c         |   9 +-
 drivers/pci/pci-acpi.c                             |   2 +-
 drivers/pci/pci-sysfs.c                            |   5 +-
 drivers/pci/pcie/aspm.c                            |   2 +
 drivers/platform/x86/thinkpad_acpi.c               |   1 +
 drivers/ptp/ptp_chardev.c                          |   3 +-
 drivers/ptp/ptp_clock.c                            |   5 +-
 drivers/ptp/ptp_private.h                          |   8 +-
 drivers/ptp/ptp_sysfs.c                            |   3 +-
 drivers/s390/crypto/ap_bus.c                       |   4 +
 drivers/scsi/libfc/fc_lport.c                      |   6 ++
 drivers/scsi/megaraid/megaraid_sas_base.c          |   4 +-
 drivers/scsi/mpt3sas/mpt3sas_base.c                |   4 +-
 drivers/tty/hvc/hvc_xen.c                          |  37 +++++--
 drivers/tty/serial/meson_uart.c                    |  33 +++++--
 drivers/tty/sysrq.c                                |   3 +-
 drivers/tty/vcc.c                                  |  16 ++-
 drivers/usb/gadget/function/f_ncm.c                |  27 +++---
 drivers/usb/host/xhci-pci.c                        |   4 +-
 drivers/usb/host/xhci-ring.c                       | 108 ++++++++++-----------
 drivers/xen/events/events_base.c                   |   4 +-
 fs/btrfs/delalloc-space.c                          |   3 -
 fs/cifs/cifs_spnego.c                              |   4 +-
 fs/cifs/smb2transport.c                            |   5 +-
 fs/exfat/namei.c                                   |  29 ++++--
 fs/ext4/acl.h                                      |   5 +
 fs/ext4/extents_status.c                           |   4 +-
 fs/ext4/resize.c                                   |  19 ++--
 fs/f2fs/compress.c                                 |   2 +-
 fs/gfs2/inode.c                                    |  14 ++-
 fs/gfs2/quota.c                                    |  11 +++
 fs/gfs2/super.c                                    |   2 +-
 fs/jbd2/recovery.c                                 |   8 ++
 fs/jfs/jfs_dmap.c                                  |  23 ++++-
 fs/jfs/jfs_imap.c                                  |   5 +-
 fs/nfs/nfs4proc.c                                  |   5 +-
 fs/nfsd/nfs4state.c                                |   2 +-
 fs/overlayfs/super.c                               |   2 +-
 fs/proc/proc_sysctl.c                              |   1 -
 fs/quota/dquot.c                                   |  14 +++
 include/linux/gpio/driver.h                        |  16 +++
 include/linux/irq.h                                |   2 +
 include/linux/lsm_hook_defs.h                      |   4 +-
 include/linux/mlx5/driver.h                        |   2 +
 include/linux/pwm.h                                |   4 +-
 include/linux/sunrpc/clnt.h                        |   1 +
 include/linux/trace_events.h                       |   4 +
 include/net/netfilter/nf_tables.h                  |   3 -
 include/net/sock.h                                 |  26 +++--
 include/sound/soc-card.h                           |  37 +++++++
 include/sound/soc.h                                |  11 +++
 include/uapi/linux/netfilter/nf_tables.h           |   1 +
 io_uring/io_uring.c                                |  18 ++--
 kernel/audit_watch.c                               |   9 +-
 kernel/bpf/core.c                                  |   6 +-
 kernel/bpf/verifier.c                              |   9 +-
 kernel/debug/debug_core.c                          |   3 +
 kernel/events/ring_buffer.c                        |   6 ++
 kernel/irq/debugfs.c                               |   1 +
 kernel/irq/generic-chip.c                          |  25 +++--
 kernel/locking/test-ww_mutex.c                     |  20 ++--
 kernel/padata.c                                    |   2 +-
 kernel/power/snapshot.c                            |  16 ++-
 kernel/rcu/tree.c                                  |   9 ++
 kernel/reboot.c                                    |   1 +
 kernel/trace/trace.c                               |  15 +++
 kernel/trace/trace.h                               |   3 +
 kernel/trace/trace_events.c                        |  43 +++++---
 kernel/trace/trace_events_filter.c                 |   3 +
 kernel/watchdog.c                                  |   7 ++
 mm/cma.c                                           |   2 +-
 mm/memcontrol.c                                    |   3 +-
 mm/memory_hotplug.c                                |   2 +-
 net/9p/trans_fd.c                                  |  13 ++-
 net/bluetooth/hci_conn.c                           |   6 +-
 net/bluetooth/hci_sysfs.c                          |  23 ++---
 net/bridge/netfilter/nf_conntrack_bridge.c         |   2 +-
 net/core/sock.c                                    |   2 +-
 net/ipv4/tcp_output.c                              |   2 +-
 net/mac80211/cfg.c                                 |   4 +
 net/ncsi/ncsi-aen.c                                |   5 -
 net/netfilter/nf_tables_api.c                      |  62 ++++++++----
 net/sunrpc/clnt.c                                  |   7 +-
 net/sunrpc/rpcb_clnt.c                             |   4 +
 net/tipc/netlink_compat.c                          |   1 +
 scripts/gcc-plugins/randomize_layout_plugin.c      |  11 ++-
 security/integrity/ima/ima_api.c                   |   5 +
 security/integrity/ima/ima_main.c                  |  16 ++-
 security/integrity/integrity.h                     |   2 +
 sound/core/info.c                                  |  21 ++--
 sound/hda/hdac_stream.c                            |   6 +-
 sound/pci/hda/patch_realtek.c                      |  20 +---
 sound/soc/ti/omap-mcbsp.c                          |   6 +-
 tools/power/x86/turbostat/turbostat.c              |   2 +-
 tools/testing/selftests/efivarfs/create-read.c     |   2 +
 193 files changed, 1213 insertions(+), 618 deletions(-)


Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Naresh Kamboju 2 years ago
On Sun, 26 Nov 2023 at 21:17, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> This is the start of the stable review cycle for the 5.10.202 release.
> There are 187 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 Tue, 28 Nov 2023 15:43:06 +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/v5.x/stable-review/patch-5.10.202-rc3.gz
> or in the git tree and branch at:
>         git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

Results from Linaro's test farm.
No regressions on arm64, arm, x86_64, and i386.

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

NOTE:
As others reported on gpio warning while booting arm and arm64 noticed.

[    0.466552] gpio gpiochip0: (1000000.pinctrl): not an immutable
chip, please consider fixing it!
[    4.741930] gpio gpiochip2: (200f000.spmi:pmic@0:gpios@c000): not
an immutable chip, please consider fixing it!

Links,
 - https://lkft.validation.linaro.org/scheduler/job/7060124#L2577

## Build
* kernel: 5.10.202-rc3
* git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
* git branch: linux-5.10.y
* git commit: 80dc4301c91e15c9c3cf12b393d70e0952bcd9ee
* git describe: v5.10.201-188-g80dc4301c91e
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.201-188-g80dc4301c91e

## Test Regressions (compared to v5.10.201)

## Metric Regressions (compared to v5.10.201)

## Test Fixes (compared to v5.10.201)

## Metric Fixes (compared to v5.10.201)

## Test result summary
total: 88957, pass: 67831, fail: 3474, skip: 17604, xfail: 48

## Build Summary
* arc: 5 total, 5 passed, 0 failed
* arm: 117 total, 117 passed, 0 failed
* arm64: 44 total, 44 passed, 0 failed
* i386: 35 total, 35 passed, 0 failed
* mips: 24 total, 24 passed, 0 failed
* parisc: 3 total, 0 passed, 3 failed
* powerpc: 25 total, 25 passed, 0 failed
* riscv: 11 total, 11 passed, 0 failed
* s390: 12 total, 12 passed, 0 failed
* sh: 10 total, 10 passed, 0 failed
* sparc: 8 total, 8 passed, 0 failed
* x86_64: 38 total, 38 passed, 0 failed

## Test suites summary
* boot
* kselftest-android
* kselftest-arm64
* kselftest-breakpoints
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-drivers-dma-buf
* kselftest-efivarfs
* kselftest-exec
* kselftest-filesystems
* kselftest-filesystems-binderfs
* kselftest-filesystems-epoll
* kselftest-firmware
* kselftest-fpu
* kselftest-ftrace
* kselftest-futex
* kselftest-gpio
* kselftest-intel_pstate
* kselftest-ipc
* kselftest-ir
* kselftest-kcmp
* kselftest-kexec
* kselftest-kvm
* kselftest-lib
* kselftest-membarrier
* kselftest-memfd
* kselftest-memory-hotplug
* kselftest-mincore
* kselftest-mount
* kselftest-mqueue
* kselftest-net
* kselftest-net-forwarding
* kselftest-net-mptcp
* kselftest-netfilter
* kselftest-nsfs
* kselftest-openat2
* kselftest-pid_namespace
* kselftest-pidfd
* kselftest-proc
* kselftest-pstore
* kselftest-ptrace
* kselftest-rseq
* kselftest-rtc
* kselftest-sigaltstack
* kselftest-size
* kselftest-tc-testing
* kselftest-timens
* kselftest-tmpfs
* kselftest-tpm2
* kselftest-user
* kselftest-user_events
* kselftest-vDSO
* kselftest-vm
* kselftest-x86
* kselftest-zram
* kunit
* libgpiod
* log-parser-boot
* log-parser-test
* ltp-cap_bounds
* ltp-commands
* ltp-containers
* ltp-controllers
* ltp-cpuhotplug
* ltp-crypto
* ltp-cve
* ltp-dio
* ltp-fcntl-locktests
* ltp-filecaps
* ltp-fs
* ltp-fs_bind
* ltp-fs_perms_simple
* ltp-fsx
* ltp-hugetlb
* ltp-io
* ltp-ipc
* ltp-math
* ltp-mm
* ltp-nptl
* ltp-pty
* ltp-sched
* ltp-securebits
* ltp-smoke
* ltp-syscalls
* ltp-tracing
* perf
* rcutorture

--
Linaro LKFT
https://lkft.linaro.org
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Guenter Roeck 2 years ago
On Sun, Nov 26, 2023 at 03:46:55PM +0000, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.10.202 release.
> There are 187 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 Tue, 28 Nov 2023 15:43:06 +0000.
> Anything received after that time might be too late.
> 

For v5.10.201-188-g80dc4301c91e:

Build results:
	total: 157 pass: 157 fail: 0
Qemu test results:
	total: 495 pass: 495 fail: 0

Tested-by: Guenter Roeck <linux@roeck-us.net>

Guenter
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Jon Hunter 2 years ago
On Sun, 26 Nov 2023 15:46:55 +0000, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.10.202 release.
> There are 187 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 Tue, 28 Nov 2023 15:43:06 +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/v5.x/stable-review/patch-5.10.202-rc3.gz
> or in the git tree and branch at:
> 	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
> and the diffstat can be found below.
> 
> thanks,
> 
> greg k-h

Failures detected for Tegra ...

Test results for stable-v5.10:
    10 builds:	10 pass, 0 fail
    26 boots:	26 pass, 0 fail
    68 tests:	67 pass, 1 fail

Linux version:	5.10.202-rc3-g80dc4301c91e
Boards tested:	tegra124-jetson-tk1, tegra186-p2771-0000,
                tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000,
                tegra20-ventana, tegra210-p2371-2180,
                tegra210-p3450-0000, tegra30-cardhu-a04

Test failures:	tegra194-p2972-0000: boot.py


Jon
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Jon Hunter 2 years ago
On 27/11/2023 23:27, Jon Hunter wrote:
> On Sun, 26 Nov 2023 15:46:55 +0000, Greg Kroah-Hartman wrote:
>> This is the start of the stable review cycle for the 5.10.202 release.
>> There are 187 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 Tue, 28 Nov 2023 15:43:06 +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/v5.x/stable-review/patch-5.10.202-rc3.gz
>> or in the git tree and branch at:
>> 	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
>> and the diffstat can be found below.
>>
>> thanks,
>>
>> greg k-h
> 
> Failures detected for Tegra ...
> 
> Test results for stable-v5.10:
>      10 builds:	10 pass, 0 fail
>      26 boots:	26 pass, 0 fail
>      68 tests:	67 pass, 1 fail
> 
> Linux version:	5.10.202-rc3-g80dc4301c91e
> Boards tested:	tegra124-jetson-tk1, tegra186-p2771-0000,
>                  tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000,
>                  tegra20-ventana, tegra210-p2371-2180,
>                  tegra210-p3450-0000, tegra30-cardhu-a04
> 
> Test failures:	tegra194-p2972-0000: boot.py


After commit the commit "gpio: Don't fiddle with irqchips marked as 
immutable" added, we observe the following warnings and is causing a 
test to fail ...

  WARNING KERN gpio gpiochip0: (max77620-gpio): not an immutable chip, 
please consider fixing it!
  WARNING KERN gpio gpiochip1: (tegra194-gpio): not an immutable chip, 
please consider fixing it!
  WARNING KERN gpio gpiochip2: (tegra194-gpio-aon): not an immutable 
chip, please consider fixing it!

The following upstream changes fix these ...

7d1aa08aff06 gpio: tegra: Convert to immutable irq chip
bba00555ede7 gpio: tegra186: Make the irqchip immutable
7f42aa7b008c gpio: max77620: Make the irqchip immutable

There are quite a few other drivers that were updated in a similar way, 
so the above only fix the ones we observe on Tegra.

Jon

-- 
nvpublic
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Greg Kroah-Hartman 2 years ago
On Mon, Nov 27, 2023 at 11:37:17PM +0000, Jon Hunter wrote:
> 
> On 27/11/2023 23:27, Jon Hunter wrote:
> > On Sun, 26 Nov 2023 15:46:55 +0000, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 5.10.202 release.
> > > There are 187 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 Tue, 28 Nov 2023 15:43:06 +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/v5.x/stable-review/patch-5.10.202-rc3.gz
> > > or in the git tree and branch at:
> > > 	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
> > > and the diffstat can be found below.
> > > 
> > > thanks,
> > > 
> > > greg k-h
> > 
> > Failures detected for Tegra ...
> > 
> > Test results for stable-v5.10:
> >      10 builds:	10 pass, 0 fail
> >      26 boots:	26 pass, 0 fail
> >      68 tests:	67 pass, 1 fail
> > 
> > Linux version:	5.10.202-rc3-g80dc4301c91e
> > Boards tested:	tegra124-jetson-tk1, tegra186-p2771-0000,
> >                  tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000,
> >                  tegra20-ventana, tegra210-p2371-2180,
> >                  tegra210-p3450-0000, tegra30-cardhu-a04
> > 
> > Test failures:	tegra194-p2972-0000: boot.py
> 
> 
> After commit the commit "gpio: Don't fiddle with irqchips marked as
> immutable" added, we observe the following warnings and is causing a test to
> fail ...
> 
>  WARNING KERN gpio gpiochip0: (max77620-gpio): not an immutable chip, please
> consider fixing it!
>  WARNING KERN gpio gpiochip1: (tegra194-gpio): not an immutable chip, please
> consider fixing it!
>  WARNING KERN gpio gpiochip2: (tegra194-gpio-aon): not an immutable chip,
> please consider fixing it!
> 
> The following upstream changes fix these ...
> 
> 7d1aa08aff06 gpio: tegra: Convert to immutable irq chip
> bba00555ede7 gpio: tegra186: Make the irqchip immutable
> 7f42aa7b008c gpio: max77620: Make the irqchip immutable
> 
> There are quite a few other drivers that were updated in a similar way, so
> the above only fix the ones we observe on Tegra.

Ick, those patches snuck back in again, and they aren't even needed in
these branches as I fixed up the real fix that they were dependencies of.
I'll go drop them from 5.10.y and 5.15.y now, thanks!

greg k-h
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Pavel Machek 2 years ago
Hi!

> This is the start of the stable review cycle for the 5.10.202 release.
> There are 187 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.

> Marc Zyngier <maz@kernel.org>
>     gpio: Don't fiddle with irqchips marked as immutable

This is attempt to move people to new API, which will cause warning
for existing users. "chip_warn(gc, "not an immutable chip, please
consider fixing it!\n");". It is marked as dependency of another
patch, but I'm not sure we should be doing this in stable.

> youwan Wang <wangyouwan@126.com>
>     Bluetooth: btusb: Add date->evt_skb is NULL check

Could someone double check this? If we hit the null check, we'll be
returning success, but it sounds like an error case.

> Jani Nikula <jani.nikula@intel.com>
>     drm/msm/dp: skip validity check for DP CTS EDID checksum

This is preparation for future cleanup, do we need it?

> Richard Fitzgerald <rf@opensource.cirrus.com>
>     ASoC: soc-card: Add storage for PCI SSID

This adds infrastructure for white/blacklisting, but I don't see an
user of that in 5.10 (or 6.1).

> Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
>     media: cobalt: Use FIELD_GET() to extract Link Width

Cleanup, but not a bugfix.

> Dan Carpenter <dan.carpenter@linaro.org>
>     SUNRPC: Add an IS_ERR() check back to where it was

According to changelog, this is only needed with commit 25cf32ad5dba
("SUNRPC: Handle allocation failure in rpc_new_task()") in tree, and
we don't have that in 5.10.

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,        Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Richard Fitzgerald 2 years ago
On 27/11/2023 21:25, Pavel Machek wrote:
> 
>> Richard Fitzgerald <rf@opensource.cirrus.com>
>>      ASoC: soc-card: Add storage for PCI SSID
> 

The driver that depends on this only went into the kernel at v6.4.
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Pavel Machek 2 years ago
On Tue 2023-11-28 10:42:51, Richard Fitzgerald wrote:
> On 27/11/2023 21:25, Pavel Machek wrote:
> > 
> > > Richard Fitzgerald <rf@opensource.cirrus.com>
> > >      ASoC: soc-card: Add storage for PCI SSID
> > 
> 
> The driver that depends on this only went into the kernel at v6.4.

Thanks. So it would be good to drop this from 5.10 and 6.1.

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,        Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Richard Fitzgerald 2 years ago
On 28/11/2023 20:40, Pavel Machek wrote:
> On Tue 2023-11-28 10:42:51, Richard Fitzgerald wrote:
>> On 27/11/2023 21:25, Pavel Machek wrote:
>>>
>>>> Richard Fitzgerald <rf@opensource.cirrus.com>
>>>>       ASoC: soc-card: Add storage for PCI SSID
>>>
>>
>> The driver that depends on this only went into the kernel at v6.4.
> 
> Thanks. So it would be good to drop this from 5.10 and 6.1.
> 
> Best regards,
> 								Pavel
I don't have any need for this to go into 5.10 and 6.1.
But I've added Mark Brown (for ASoC) and Pierre-Louis Bossart (Intel,
there were some patches to Intel drivers in the set this patch was
cherry-picked from) so they can comment if they disagree.
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Dominique Martinet 2 years ago
Pavel Machek wrote on Mon, Nov 27, 2023 at 10:25:46PM +0100:
> > Marc Zyngier <maz@kernel.org>
> >     gpio: Don't fiddle with irqchips marked as immutable
>
> This is attempt to move people to new API, which will cause warning
> for existing users. "chip_warn(gc, "not an immutable chip, please
> consider fixing it!\n");". It is marked as dependency of another
> patch, but I'm not sure we should be doing this in stable.

And this actually did make some tests fail on tegra (other branch on
this thread), it's probably safer to drop the gpio patches unless we're
prepared to backport all the "make immutable" patches as well.

(I don't see why it'd be required for dc3115e6c5d9 either but I didn't
look all that close)


> > youwan Wang <wangyouwan@126.com>
> >     Bluetooth: btusb: Add date->evt_skb is NULL check
> 
> Could someone double check this? If we hit the null check, we'll be
> returning success, but it sounds like an error case.

I agree with your analysis; added Youwan and Luiz in recipients.

btusb_mtk_hci_wmt_sync will return 0 if the skb is null here -- should
this be setting err = -EINVAL or something?

> > Jani Nikula <jani.nikula@intel.com>
> >     drm/msm/dp: skip validity check for DP CTS EDID checksum
> 
> This is preparation for future cleanup, do we need it?

(For cleanup patches I'd say if it makes future backports easier it
doesn't hurt to take them)

-- 
Dominique Martinet | Asmadeus
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Pavel Machek 2 years ago
Hi!

> > > Jani Nikula <jani.nikula@intel.com>
> > >     drm/msm/dp: skip validity check for DP CTS EDID checksum
> > 
> > This is preparation for future cleanup, do we need it?
> 
> (For cleanup patches I'd say if it makes future backports easier it
> doesn't hurt to take them)

Well, stable-kernel-rules says we only take fixes for "serious"
bugs. Reality is different, but I'd really like reality and
documentation to match.

Thanks for reviewing the other comments!

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,        Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Florian Fainelli 2 years ago

On 11/26/2023 7:46 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.10.202 release.
> There are 187 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 Tue, 28 Nov 2023 15:43:06 +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/v5.x/stable-review/patch-5.10.202-rc3.gz
> or in the git tree and branch at:
> 	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
> and the diffstat can be found below.
> 
> thanks,
> 
> greg k-h

On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels, build tested on 
BMIPS_GENERIC:

Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
-- 
Florian
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Guenter Roeck 2 years ago
On 11/26/23 07:46, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.10.202 release.
> There are 187 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 Tue, 28 Nov 2023 15:43:06 +0000.
> Anything received after that time might be too late.
> 

For v5.10.201-188-g2f84e268b78b (5.10.202-rc3):

s390:defconfig, s390:allmodconfig, s390:debug_defconfig:

drivers/s390/crypto/ap_bus.c: In function 'ap_bus_force_rescan':
drivers/s390/crypto/ap_bus.c:791:28: error: 'ap_scan_bus_count' undeclared

$ git grep ap_scan_bus_count
drivers/s390/crypto/ap_bus.c:   if (atomic64_read(&ap_scan_bus_count) <= 0)
$ git blame drivers/s390/crypto/ap_bus.c |& grep ap_scan_bus_count
467f51fb3ab6e (Harald Freudenberger 2023-10-23 09:57:10 +0200  791) 	if (atomic64_read(&ap_scan_bus_count) <= 0)

which is:

467f51fb3ab6 s390/ap: fix AP bus crash on early config change callback invocation

Guenter
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Greg Kroah-Hartman 2 years ago
On Sun, Nov 26, 2023 at 10:23:24AM -0800, Guenter Roeck wrote:
> On 11/26/23 07:46, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.10.202 release.
> > There are 187 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 Tue, 28 Nov 2023 15:43:06 +0000.
> > Anything received after that time might be too late.
> > 
> 
> For v5.10.201-188-g2f84e268b78b (5.10.202-rc3):
> 
> s390:defconfig, s390:allmodconfig, s390:debug_defconfig:
> 
> drivers/s390/crypto/ap_bus.c: In function 'ap_bus_force_rescan':
> drivers/s390/crypto/ap_bus.c:791:28: error: 'ap_scan_bus_count' undeclared
> 
> $ git grep ap_scan_bus_count
> drivers/s390/crypto/ap_bus.c:   if (atomic64_read(&ap_scan_bus_count) <= 0)
> $ git blame drivers/s390/crypto/ap_bus.c |& grep ap_scan_bus_count
> 467f51fb3ab6e (Harald Freudenberger 2023-10-23 09:57:10 +0200  791) 	if (atomic64_read(&ap_scan_bus_count) <= 0)
> 
> which is:
> 
> 467f51fb3ab6 s390/ap: fix AP bus crash on early config change callback invocation

Now dropped, thanks.

greg k-h
Re: [PATCH 5.10 000/187] 5.10.202-rc3 review
Posted by Guenter Roeck 2 years ago
On 11/26/23 07:46, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.10.202 release.
> There are 187 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 Tue, 28 Nov 2023 15:43:06 +0000.
> Anything received after that time might be too late.
> 

A quick check with -rc3 shows for arm:allmodconfig and arm64:allmodconfig:

   CC [M]  drivers/interconnect/qcom/sc7180.o
drivers/interconnect/qcom/sc7180.c:158:10: error: 'struct qcom_icc_bcm' has no member named 'enable_mask'
   158 |         .enable_mask = BIT(3),
       |          ^~~~~~~~~~~

Inherited from the previous release. Introduced with commit 362f0241dbe9
("interconnect: qcom: sc7180: Set ACV enable_mask").

Guenter
[PATCH 5.10] interconnect: qcom: Add support for mask-based BCMs
Posted by djakov@kernel.org 2 years ago
From: Georgi Djakov <djakov@kernel.org>

From: Mike Tipton <mdtipton@codeaurora.org>

[ Upstream commit d8630f050d3fd2079f8617dd6c00c6509109c755 ]

Some BCMs aren't directly associated with the data path (i.e. ACV) and
therefore don't communicate using BW. Instead, they are simply
enabled/disabled with a simple bit mask. Add support for these.

Origin commit retrieved from:
https://git.codelinaro.org/clo/la/kernel/msm-5.15/-/commit/2d1573e0206998151b342e6b52a4c0f7234d7e36

Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
[narmstrong: removed copyright change from original commit]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230619-topic-sm8550-upstream-interconnect-mask-vote-v2-1-709474b151cc@linaro.org
Fixes: fafc114a468e ("interconnect: qcom: Add SM8450 interconnect provider driver")
Fixes: 2d1f95ab9feb ("interconnect: qcom: Add SC7180 interconnect provider driver")
Signed-off-by: Georgi Djakov <djakov@kernel.org>
---

There is a build error reported in the 5.10.201 stable tree (arm64 allmodconfig),
which is caused by a patch that has a dependency we missed to backport. This is
the missing patch that we need to get into 5.10.202 to fix the build failure.
Thanks to Guenter and Sam for reporting that!

 drivers/interconnect/qcom/bcm-voter.c | 5 +++++
 drivers/interconnect/qcom/icc-rpmh.h  | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/drivers/interconnect/qcom/bcm-voter.c b/drivers/interconnect/qcom/bcm-voter.c
index 3c0809095a31..320e418cf753 100644
--- a/drivers/interconnect/qcom/bcm-voter.c
+++ b/drivers/interconnect/qcom/bcm-voter.c
@@ -90,6 +90,11 @@ static void bcm_aggregate(struct qcom_icc_bcm *bcm)
 
 		temp = agg_peak[bucket] * bcm->vote_scale;
 		bcm->vote_y[bucket] = bcm_div(temp, bcm->aux_data.unit);
+
+		if (bcm->enable_mask && (bcm->vote_x[bucket] || bcm->vote_y[bucket])) {
+			bcm->vote_x[bucket] = 0;
+			bcm->vote_y[bucket] = bcm->enable_mask;
+		}
 	}
 
 	if (bcm->keepalive && bcm->vote_x[QCOM_ICC_BUCKET_AMC] == 0 &&
diff --git a/drivers/interconnect/qcom/icc-rpmh.h b/drivers/interconnect/qcom/icc-rpmh.h
index e5f61ab989e7..029a350c2884 100644
--- a/drivers/interconnect/qcom/icc-rpmh.h
+++ b/drivers/interconnect/qcom/icc-rpmh.h
@@ -81,6 +81,7 @@ struct qcom_icc_node {
  * @vote_x: aggregated threshold values, represents sum_bw when @type is bw bcm
  * @vote_y: aggregated threshold values, represents peak_bw when @type is bw bcm
  * @vote_scale: scaling factor for vote_x and vote_y
+ * @enable_mask: optional mask to send as vote instead of vote_x/vote_y
  * @dirty: flag used to indicate whether the bcm needs to be committed
  * @keepalive: flag used to indicate whether a keepalive is required
  * @aux_data: auxiliary data used when calculating threshold values and
@@ -97,6 +98,7 @@ struct qcom_icc_bcm {
 	u64 vote_x[QCOM_ICC_NUM_BUCKETS];
 	u64 vote_y[QCOM_ICC_NUM_BUCKETS];
 	u64 vote_scale;
+	u32 enable_mask;
 	bool dirty;
 	bool keepalive;
 	struct bcm_db aux_data;
Re: [PATCH 5.10] interconnect: qcom: Add support for mask-based BCMs
Posted by Greg KH 2 years ago
On Mon, Nov 27, 2023 at 01:45:51PM +0200, djakov@kernel.org wrote:
> From: Georgi Djakov <djakov@kernel.org>
> 
> From: Mike Tipton <mdtipton@codeaurora.org>
> 
> [ Upstream commit d8630f050d3fd2079f8617dd6c00c6509109c755 ]
> 
> Some BCMs aren't directly associated with the data path (i.e. ACV) and
> therefore don't communicate using BW. Instead, they are simply
> enabled/disabled with a simple bit mask. Add support for these.
> 
> Origin commit retrieved from:
> https://git.codelinaro.org/clo/la/kernel/msm-5.15/-/commit/2d1573e0206998151b342e6b52a4c0f7234d7e36
> 
> Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
> [narmstrong: removed copyright change from original commit]
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> Link: https://lore.kernel.org/r/20230619-topic-sm8550-upstream-interconnect-mask-vote-v2-1-709474b151cc@linaro.org
> Fixes: fafc114a468e ("interconnect: qcom: Add SM8450 interconnect provider driver")
> Fixes: 2d1f95ab9feb ("interconnect: qcom: Add SC7180 interconnect provider driver")
> Signed-off-by: Georgi Djakov <djakov@kernel.org>
> ---
> 
> There is a build error reported in the 5.10.201 stable tree (arm64 allmodconfig),
> which is caused by a patch that has a dependency we missed to backport. This is
> the missing patch that we need to get into 5.10.202 to fix the build failure.
> Thanks to Guenter and Sam for reporting that!
> 
>  drivers/interconnect/qcom/bcm-voter.c | 5 +++++
>  drivers/interconnect/qcom/icc-rpmh.h  | 2 ++
>  2 files changed, 7 insertions(+)

Now queued up, thanks.

greg ik-h