This is the start of the stable review cycle for the 6.4.8 release.
There are 239 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Thu, 03 Aug 2023 09:18:38 +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.4.8-rc1.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.4.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <[email protected]>
Linux 6.4.8-rc1
Dan Carpenter <[email protected]>
dma-buf: fix an error pointer vs NULL bug
Christian König <[email protected]>
dma-buf: keep the signaling time of merged fences v3
Jann Horn <[email protected]>
mm/mempolicy: Take VMA lock before replacing policy
Sidhartha Kumar <[email protected]>
mm/memory-failure: fix hardware poison check in unpoison_memory()
Jann Horn <[email protected]>
mm: fix memory ordering for mm_lock_seq and vm_lock_seq
Jann Horn <[email protected]>
mm: lock VMA in dup_anon_vma() before setting ->anon_vma
Ilya Dryomov <[email protected]>
rbd: retrieve and check lock owner twice before blocklisting
Ilya Dryomov <[email protected]>
rbd: harden get_lock_owner_info() a bit
Ilya Dryomov <[email protected]>
rbd: make get_lock_owner_info() return a single locker or NULL
Joe Thornber <[email protected]>
dm cache policy smq: ensure IO doesn't prevent cleaner policy progress
Radhakrishna Sripada <[email protected]>
drm/i915/dpt: Use shmem for dpt objects
Xiubo Li <[email protected]>
ceph: never send metrics if disable_send_metrics is set
Ahmad Fatoum <[email protected]>
thermal: of: fix double-free on unregistration
Johan Hovold <[email protected]>
PM: sleep: wakeirq: fix wake irq arming
Mark Brown <[email protected]>
arm64/sme: Set new vector length before reallocating
Mark Brown <[email protected]>
ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register
Paolo Abeni <[email protected]>
mptcp: more accurate NL event generation
Stefan Haberland <[email protected]>
s390/dasd: print copy pair message only for the correct error
Stefan Haberland <[email protected]>
s390/dasd: fix hanging device after quiesce/resume
Eric Van Hensbergen <[email protected]>
fs/9p: remove unnecessary invalidate_inode_pages2
Eric Van Hensbergen <[email protected]>
fs/9p: fix type mismatch in file cache mode helper
Eric Van Hensbergen <[email protected]>
fs/9p: fix typo in comparison logic for cache mode
Eric Van Hensbergen <[email protected]>
fs/9p: remove unnecessary and overrestrictive check
Dominique Martinet <[email protected]>
9p: fix ignored return value in v9fs_dir_release
Chenguang Zhao <[email protected]>
LoongArch: BPF: Enable bpf_probe_read{, str}() on LoongArch
Tiezhu Yang <[email protected]>
LoongArch: BPF: Fix check condition to call lu32id in move_imm()
WANG Rui <[email protected]>
LoongArch: Fix return value underflow in exception path
Andy Shevchenko <[email protected]>
Revert "um: Use swap() to make code cleaner"
Johan Hovold <[email protected]>
soundwire: fix enumeration completion
Matthieu Baerts <[email protected]>
selftests: mptcp: join: only check for ip6tables if needed
Sean Christopherson <[email protected]>
selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
Jason Gunthorpe <[email protected]>
iommufd: Set end correctly when doing batch carry
Jens Axboe <[email protected]>
io_uring: gate iowait schedule on having pending requests
Christian Marangi <[email protected]>
net: dsa: qca8k: fix mdb add/del case with 0 VID
Christian Marangi <[email protected]>
net: dsa: qca8k: fix broken search_and_del
Christian Marangi <[email protected]>
net: dsa: qca8k: fix search_and_insert wrong handling of new rule
Christian Marangi <[email protected]>
net: dsa: qca8k: enable use_single_write for qca8xxx
Alex Elder <[email protected]>
net: ipa: only reset hashed tables when supported
Jason Wang <[email protected]>
virtio-net: fix race between set queues and probe
Demi Marie Obenour <[email protected]>
xen: speed up grant-table reclaim
Dan Carpenter <[email protected]>
proc/vmcore: fix signedness bug in read_from_oldmem()
Peter Zijlstra <[email protected]>
locking/rtmutex: Fix task->pi_waiters integrity
Marc Zyngier <[email protected]>
irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI invalidation
Jonas Gorski <[email protected]>
irq-bcm6345-l1: Do not assume a fixed block to cpu mapping
Alexander Steffen <[email protected]>
tpm_tis: Explicitly check for error code
Guanghui Feng <[email protected]>
ACPI/IORT: Remove erroneous id_count check in iort_node_get_rmr_info()
Namjae Jeon <[email protected]>
ksmbd: check if a mount point is crossed during path lookup
Trond Myklebust <[email protected]>
nfsd: Remove incorrect check in nfsd4_validate_stateid
Christian Brauner <[email protected]>
file: always lock position for FMODE_ATOMIC_POS
Kim Phillips <[email protected]>
x86/cpu: Enable STIBP on AMD if Automatic IBRS is enabled
Yazen Ghannam <[email protected]>
x86/MCE/AMD: Decrement threshold_bank refcount when removing threshold blocks
Filipe Manana <[email protected]>
btrfs: check for commit error at btrfs_attach_transaction_barrier()
Filipe Manana <[email protected]>
btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
Filipe Manana <[email protected]>
btrfs: account block group tree when calculating global reserve size
Naohiro Aota <[email protected]>
btrfs: zoned: do not enable async discard
Guenter Roeck <[email protected]>
hwmon: (pmbus_core) Fix Deadlock in pmbus_regulator_get_status
Patrick Rudolph <[email protected]>
hwmon: (pmbus_core) Fix NULL pointer dereference
Patrick Rudolph <[email protected]>
hwmon: (pmbus_core) Fix pmbus_is_enabled()
Aleksa Savic <[email protected]>
hwmon: (aquacomputer_d5next) Fix incorrect PWM value readout
Gilles Buloz <[email protected]>
hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled
Baskaran Kannan <[email protected]>
hwmon: (k10temp) Enable AMD3255 Proc to show negative temperature
Luka Guzenko <[email protected]>
ALSA: hda/relatek: Enable Mute LED on HP 250 G8
Pavel Asyutchenko <[email protected]>
ALSA: hda/realtek: Support ASUS G713PV laptop
Oliver Neukum <[email protected]>
Revert "xhci: add quirk for host controllers that don't update endpoint DCS"
Chaoyuan Peng <[email protected]>
tty: n_gsm: fix UAF in gsm_cleanup_mux
Zhang Shurong <[email protected]>
staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()
Larry Finger <[email protected]>
staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
Greg Kroah-Hartman <[email protected]>
Documentation: security-bugs.rst: clarify CVE handling
Greg Kroah-Hartman <[email protected]>
Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
Dan Carpenter <[email protected]>
Revert "usb: xhci: tegra: Fix error check"
Ricardo Ribalda <[email protected]>
usb: xhci-mtk: set the dma max_seg_size
Frank Li <[email protected]>
usb: cdns3: fix incorrect calculation of ep_buf_size when more than one config
Łukasz Bartosik <[email protected]>
USB: quirks: add quirk for Focusrite Scarlett
Guiting Shen <[email protected]>
usb: ohci-at91: Fix the unhandle interrupt when resume
Xu Yang <[email protected]>
usb: misc: ehset: fix wrong if condition
Jisheng Zhang <[email protected]>
usb: dwc3: don't reset device side if dwc3 was configured as host-only
Gratian Crisan <[email protected]>
usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy
Jakub Vanek <[email protected]>
Revert "usb: dwc3: core: Enable AutoRetry feature in the controller"
Kyle Tso <[email protected]>
usb: typec: Use sysfs_emit_at when concatenating the string
Kyle Tso <[email protected]>
usb: typec: Iterate pds array when showing the pd list
Kyle Tso <[email protected]>
usb: typec: Set port->pd before adding device for typec_port
Samuel Thibault <[email protected]>
TIOCSTI: always enable for CAP_SYS_ADMIN
Marc Kleine-Budde <[email protected]>
can: gs_usb: gs_can_close(): add missing set of CAN state to CAN_STATE_STOPPED
Johan Hovold <[email protected]>
USB: serial: simple: sort driver entries
Oliver Neukum <[email protected]>
USB: serial: simple: add Kaufmann RKS+CAN VCP
Mohsen Tahmasebi <[email protected]>
USB: serial: option: add Quectel EC200A module support
Jerry Meng <[email protected]>
USB: serial: option: support Quectel EM060K_128
Samuel Holland <[email protected]>
serial: sifive: Fix sifive_serial_console_setup() section
Ruihong Luo <[email protected]>
serial: 8250_dw: Preserve original value of DLF register
Biju Das <[email protected]>
tty: serial: sh-sci: Fix sleeping in atomic context
Johan Hovold <[email protected]>
serial: qcom-geni: drop bogus runtime pm state update
Sean Christopherson <[email protected]>
KVM: x86: Disallow KVM_SET_SREGS{2} if incoming CR0 is invalid
Sean Christopherson <[email protected]>
KVM: VMX: Don't fudge CR0 and CR4 for restricted L2 guest
Sean Christopherson <[email protected]>
KVM: Grab a reference to KVM for VM and vCPU stats file descriptors
Michael Grzeschik <[email protected]>
usb: gadget: core: remove unbalanced mutex_unlock in usb_gadget_activate
Zqiang <[email protected]>
USB: gadget: Fix the memory leak in raw_gadget driver
Frank Li <[email protected]>
usb: gadget: call usb_gadget_check_config() to verify UDC capability
Dan Carpenter <[email protected]>
Revert "usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()"
Zheng Yejian <[email protected]>
tracing: Fix warning in trace_buffered_event_disable()
Zheng Yejian <[email protected]>
ring-buffer: Fix wrong stat of cpu_buffer->read
Arnd Bergmann <[email protected]>
ata: pata_ns87415: mark ns87560_tf_read static
Hugh Dickins <[email protected]>
tmpfs: fix Documentation of noswap and huge mount options
Jason Gunthorpe <[email protected]>
iommufd: IOMMUFD_DESTROY should not increase the refcount
Ming Lei <[email protected]>
ublk: return -EINTR if breaking from waiting for existed users in DEL_DEV
Ming Lei <[email protected]>
ublk: fail to recover device if queue setup is interrupted
Ming Lei <[email protected]>
ublk: fail to start device if queue setup is interrupted
Rob Clark <[email protected]>
drm/msm: Disallow submit with fence id 0
Sindhu Devale <[email protected]>
RDMA/irdma: Report correct WC error
Sindhu Devale <[email protected]>
RDMA/irdma: Fix op_type reporting in CQEs
Dan Carpenter <[email protected]>
drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event()
Mario Limonciello <[email protected]>
drm/amd: Fix an error handling mistake in psp_sw_init()
Yu Kuai <[email protected]>
dm raid: protect md_stop() with 'reconfig_mutex'
Yu Kuai <[email protected]>
dm raid: clean up four equivalent goto tags in raid_ctr()
Yu Kuai <[email protected]>
dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
Stefano Stabellini <[email protected]>
xenbus: check xen_domain in xenbus_probe_initcall
Christophe JAILLET <[email protected]>
drm/i915: Fix an error handling path in igt_write_huge()
Steve French <[email protected]>
smb3: do not set NTLMSSP_VERSION flag for negotiate not auth request
Bart Van Assche <[email protected]>
block: Fix a source code comment in include/uapi/linux/blkzoned.h
Matus Gajdos <[email protected]>
ASoC: fsl_spdif: Silence output on stop
Breno Leitao <[email protected]>
cxl/acpi: Return 'rc' instead of '0' in cxl_parse_cfmws()
Breno Leitao <[email protected]>
cxl/acpi: Fix a use-after-free in cxl_parse_cfmws()
Rob Clark <[email protected]>
drm/msm: Fix hw_fence error path cleanup
Gaosheng Cui <[email protected]>
drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()
Selvin Xavier <[email protected]>
RDMA/bnxt_re: Fix hang during driver unload
Kashyap Desai <[email protected]>
RDMA/bnxt_re: add helper function __poll_for_resp
Kashyap Desai <[email protected]>
RDMA/bnxt_re: Simplify the function that sends the FW commands
Kashyap Desai <[email protected]>
RDMA/bnxt_re: use shadow qd while posting non blocking rcfw command
Kashyap Desai <[email protected]>
RDMA/bnxt_re: Avoid the command wait if firmware is inactive
Kashyap Desai <[email protected]>
RDMA/bnxt_re: Enhance the existing functions that wait for FW responses
Kashyap Desai <[email protected]>
RDMA/bnxt_re: Prevent handling any completions after qp destroy
Thomas Bogendoerfer <[email protected]>
RDMA/mthca: Fix crash when polling CQ for shared QPs
Shiraz Saleem <[email protected]>
RDMA/core: Update CMA destination address on rdma_resolve_addr
Shiraz Saleem <[email protected]>
RDMA/irdma: Fix data race on CQP request done
Shiraz Saleem <[email protected]>
RDMA/irdma: Fix data race on CQP completion stats
Shiraz Saleem <[email protected]>
RDMA/irdma: Add missing read barriers
Rob Clark <[email protected]>
drm/msm/adreno: Fix snapshot BINDLESS_DATA size
Marijn Suijten <[email protected]>
drm/msm/dsi: Drop unused regulators from QCM2290 14nm DSI PHY config
Dmitry Baryshkov <[email protected]>
drm/msm/dpu: drop enum dpu_core_perf_data_bus_id
Jonathan Marek <[email protected]>
drm/msm/dpu: add missing flush and fetch bits for DMA4/DMA5 planes
Dmitry Baryshkov <[email protected]>
drm/msm/mdss: correct UBWC programming for SM8550
Dan Carpenter <[email protected]>
RDMA/mlx4: Make check for invalid flags stricter
Christophe JAILLET <[email protected]>
fs/9p: Fix a datatype used with V9FS_DIRECT_IO
Fedor Pchelkin <[email protected]>
tipc: stop tipc crypto on failure in tipc_node_create
Yuanjun Gong <[email protected]>
tipc: check return value of pskb_trim()
Yuanjun Gong <[email protected]>
benet: fix return value check in be_lancer_xmit_workarounds()
Lin Ma <[email protected]>
net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64
Wei Fang <[email protected]>
net: fec: tx processing does not call XDP APIs if budget is 0
Arkadiusz Kubalewski <[email protected]>
tools: ynl-gen: fix enum index in _decode_enum(..)
Linus Torvalds <[email protected]>
mm: suppress mm fault logging if fatal signal already pending
Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID
Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
Florian Westphal <[email protected]>
netfilter: nft_set_rbtree: fix overlap expiration walk
Muhammad Husaini Zulkifli <[email protected]>
igc: Fix Kernel Panic during ndo_tx_timeout callback
Lin Ma <[email protected]>
macvlan: add forgotten nla_policy for IFLA_MACVLAN_BC_CUTOFF
Kirill A. Shutemov <[email protected]>
x86/traps: Fix load_unaligned_zeropad() handling for shared TDX memory
Maxim Mikityanskiy <[email protected]>
platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100
Vincent Whitchurch <[email protected]>
net: stmmac: Apply redundant write work around on 4.xx too
Suman Ghosh <[email protected]>
octeontx2-af: Fix hash extraction enable configuration
Hangbin Liu <[email protected]>
team: reset team's flags when down link is P2P device
Hangbin Liu <[email protected]>
bonding: reset bond's flags when down link is P2P device
Jedrzej Jagielski <[email protected]>
ice: Fix memory management in ice_ethtool_fdir.c
Stewart Smith <[email protected]>
tcp: Reduce chance of collisions in inet6_hashfn().
Wei Fang <[email protected]>
net: fec: avoid tx queue timeout when XDP is enabled
Maciej Żenczykowski <[email protected]>
ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary address
Yuanjun Gong <[email protected]>
ethernet: atheros: fix return value check in atl1e_tso_csum()
Yuanjun Gong <[email protected]>
atheros: fix return value check in atl1_tso()
Harshit Mogalapalli <[email protected]>
phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
Jiri Benc <[email protected]>
vxlan: fix GRO with VXLAN-GPE
Jiri Benc <[email protected]>
vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
Jiri Benc <[email protected]>
vxlan: calculate correct header length for GPE
Jijie Shao <[email protected]>
net: hns3: fix wrong bw weight of disabled tc issue
Jijie Shao <[email protected]>
net: hns3: fix wrong tc bandwidth weight data issue
Hao Lan <[email protected]>
net: hns3: fix the imp capability bit cannot exceed 32 bits issue
Jiawen Wu <[email protected]>
net: phy: marvell10g: fix 88x3310 power up
Jacob Keller <[email protected]>
iavf: check for removal state before IAVF_FLAG_PF_COMMS_FAILED
Jacob Keller <[email protected]>
iavf: fix potential deadlock on allocation failure
Wang Ming <[email protected]>
i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
Arnd Bergmann <[email protected]>
media: mtk_jpeg_core: avoid unused-variable warning
Randy Dunlap <[email protected]>
media: mtk-jpeg: move data/code inside CONFIG_OF blocks
Nicolas Dufresne <[email protected]>
media: amphion: Fix firmware path to match linux-firmware
Sakari Ailus <[email protected]>
media: staging: atomisp: select V4L2_FWNODE
Sakari Ailus <[email protected]>
media: tc358746: Address compiler warnings
Dan Carpenter <[email protected]>
soundwire: amd: Fix a check for errors in probe()
Srinivas Kandagatla <[email protected]>
soundwire: qcom: update status correctly with mask
Adrien Thierry <[email protected]>
phy: qcom-snps-femto-v2: properly enable ref clock
Adrien Thierry <[email protected]>
phy: qcom-snps-femto-v2: keep cfg_ahb_clk enabled during runtime suspend
Guillaume Ranquet <[email protected]>
phy: mediatek: hdmi: mt8195: fix prediv bad upper limit test
Dan Carpenter <[email protected]>
phy: phy-mtk-dp: Fix an error code in probe()
Ojaswin Mujoo <[email protected]>
ext4: fix rbtree traversal bug in ext4_mb_use_preallocated
Ritesh Harjani <[email protected]>
ext4: mballoc: Remove useless setting of ac_criteria
Kemeng Shi <[email protected]>
ext4: add EXT4_MB_HINT_GOAL_ONLY test in ext4_mb_use_preallocated
Zhang Yi <[email protected]>
jbd2: fix a race when checking checkpoint buffer busy
Zhang Yi <[email protected]>
jbd2: remove journal_clean_one_cp_list()
Zhang Yi <[email protected]>
jbd2: remove t_checkpoint_io_list
Daniel Miess <[email protected]>
drm/amd/display: Prevent vtotal from being set to 0
Daniel Miess <[email protected]>
drm/amd/display: Fix possible underflow for displays with large vblank
Gabe Teeger <[email protected]>
drm/amd/display: update extended blank for dcn314 onwards
Rodrigo Siqueira <[email protected]>
drm/amd/display: Add FAMS validation before trying to use it
Liam R. Howlett <[email protected]>
maple_tree: fix 32 bit mas_next testing
Liam R. Howlett <[email protected]>
maple_tree: add __init and __exit to test module
Christian König <[email protected]>
drm/ttm: never consider pinned BOs for eviction&swap
Mario Limonciello <[email protected]>
drm/amd/display: Set minimum requirement for using PSR-SU on Phoenix
Mario Limonciello <[email protected]>
drm/amd/display: Set minimum requirement for using PSR-SU on Rembrandt
Cruise Hung <[email protected]>
drm/amd/display: Update correct DCN314 register header
Dmytro Laktyushkin <[email protected]>
drm/amd/display: fix dcn315 single stream crb allocation
Dmytro Laktyushkin <[email protected]>
drm/amd/display: add pixel rate based CRB allocation support
Michael Strauss <[email protected]>
drm/amd/display: Keep disable aux-i delay as 0
Michael Strauss <[email protected]>
drm/amd/display: Convert Delaying Aux-I Disable To Monitor Patch
Rick Wertenbroek <[email protected]>
PCI: rockchip: Don't advertise MSI-X in PCIe capabilities
Rick Wertenbroek <[email protected]>
PCI: rockchip: Fix window mapping and address translation for endpoint
Rick Wertenbroek <[email protected]>
PCI: rockchip: Remove writes to unused registers
Ilpo Järvinen <[email protected]>
PCI/ASPM: Avoid link retraining race
Ilpo Järvinen <[email protected]>
PCI/ASPM: Factor out pcie_wait_for_retrain()
Bjorn Helgaas <[email protected]>
PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()
Christophe JAILLET <[email protected]>
i2c: nomadik: Remove a useless call in the remove function
Andi Shyti <[email protected]>
i2c: nomadik: Use devm_clk_get_enabled()
Andi Shyti <[email protected]>
i2c: nomadik: Remove unnecessary goto label
Markus Elfring <[email protected]>
i2c: Improve size determinations
Markus Elfring <[email protected]>
i2c: Delete error messages for failed memory allocations
Filipe Manana <[email protected]>
btrfs: fix race between quota disable and relocation
Christoph Hellwig <[email protected]>
btrfs: fix fsverify read error handling in end_page_read
Christoph Hellwig <[email protected]>
btrfs: factor out a btrfs_verify_page helper
Guenter Roeck <[email protected]>
regmap: Disable locking for RBTREE and MAPLE unit tests
Bartosz Golaszewski <[email protected]>
gpio: mvebu: fix irq domain leak
Uwe Kleine-König <[email protected]>
gpio: mvebu: Make use of devm_pwmchip_add
Hans de Goede <[email protected]>
gpio: tps68470: Make tps68470_gpio_output() always set the initial value
Ondrej Mosnacek <[email protected]>
io_uring: don't audit the capability check in io_uring_create()
Sven Schnelle <[email protected]>
s390/mm: fix per vma lock fault handling
Claudio Imbrenda <[email protected]>
KVM: s390: pv: fix index value of replaced ASCE
Claudio Imbrenda <[email protected]>
KVM: s390: pv: simplify shutdown and fix race
Haren Myneni <[email protected]>
powerpc/pseries/vas: Hold mmap_mutex after mmap lock during window close
Ross Lagerwall <[email protected]>
blk-mq: Fix stall due to recursive flush plug
Sudeep Holla <[email protected]>
KVM: arm64: Handle kvm_arm_init failure correctly in finalize_pkvm
Zhihao Cheng <[email protected]>
jbd2: Fix wrongly judgement for buffer head removing while doing checkpoint
Heiner Kallweit <[email protected]>
r8169: revert 2ab19de62d67 ("r8169: remove ASPM restrictions now that ASPM is disabled during NAPI poll")
Mario Limonciello <[email protected]>
drm/amd: Align SMU11 SMU_MSG_OverridePcieParameters implementation with SMU13
Mario Limonciello <[email protected]>
drm/amd: Move helper for dynamic speed switch check out of smu13
Shyam Sundar S K <[email protected]>
platform/x86/amd/pmf: reduce verbosity of apmf_get_system_params
Shyam Sundar S K <[email protected]>
platform/x86/amd/pmf: Notify OS power slider update
-------------
Diffstat:
Documentation/ABI/testing/sysfs-module | 11 +
Documentation/admin-guide/hw-vuln/spectre.rst | 11 +-
Documentation/filesystems/tmpfs.rst | 45 +-
Documentation/process/security-bugs.rst | 37 +-
Makefile | 4 +-
arch/arm64/include/asm/virt.h | 1 +
arch/arm64/kernel/fpsimd.c | 4 +-
arch/arm64/kvm/arm.c | 9 +-
arch/arm64/kvm/pkvm.c | 2 +-
arch/loongarch/Kconfig | 1 +
arch/loongarch/lib/clear_user.S | 3 +-
arch/loongarch/lib/copy_user.S | 3 +-
arch/loongarch/net/bpf_jit.h | 2 +-
arch/powerpc/platforms/pseries/vas.c | 9 +-
arch/s390/kvm/pv.c | 8 +-
arch/s390/mm/fault.c | 2 +
arch/s390/mm/gmap.c | 1 +
arch/um/os-Linux/sigio.c | 7 +-
arch/x86/include/asm/kvm-x86-ops.h | 1 +
arch/x86/include/asm/kvm_host.h | 3 +-
arch/x86/kernel/cpu/bugs.c | 15 +-
arch/x86/kernel/cpu/mce/amd.c | 4 +-
arch/x86/kernel/traps.c | 18 +-
arch/x86/kvm/svm/svm.c | 6 +
arch/x86/kvm/vmx/vmx.c | 41 +-
arch/x86/kvm/x86.c | 34 +-
block/blk-core.c | 3 +-
block/blk-mq.c | 9 +-
drivers/acpi/arm64/iort.c | 3 -
drivers/ata/pata_ns87415.c | 2 +-
drivers/base/power/power.h | 1 +
drivers/base/power/wakeirq.c | 12 +-
drivers/base/regmap/regmap-kunit.c | 3 +
drivers/block/rbd.c | 124 ++-
drivers/block/ublk_drv.c | 11 +-
drivers/char/tpm/tpm_tis_core.c | 9 +-
drivers/cxl/acpi.c | 5 +-
drivers/dma-buf/dma-fence-unwrap.c | 26 +-
drivers/dma-buf/dma-fence.c | 7 +-
drivers/gpio/gpio-mvebu.c | 26 +-
drivers/gpio/gpio-tps68470.c | 6 +-
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 19 +
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 6 +-
.../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +-
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c | 3 +-
drivers/gpu/drm/amd/display/dc/core/dc.c | 25 +-
drivers/gpu/drm/amd/display/dc/dc.h | 3 -
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 7 +
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h | 1 +
drivers/gpu/drm/amd/display/dc/dc_stream.h | 1 +
drivers/gpu/drm/amd/display/dc/dc_types.h | 1 +
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 4 +-
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c | 7 +-
.../gpu/drm/amd/display/dc/dcn31/dcn31_hubbub.c | 1 +
.../drm/amd/display/dc/dcn315/dcn315_resource.c | 106 ++-
.../gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c | 23 +-
.../gpu/drm/amd/display/dc/dml/dcn31/dcn31_fpu.c | 25 +-
.../gpu/drm/amd/display/dc/dml/dcn31/dcn31_fpu.h | 3 +
.../amd/display/dc/dml/dcn31/display_mode_vba_31.c | 39 +-
.../display/dc/dml/dcn31/display_rq_dlg_calc_31.c | 3 +-
.../gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c | 15 +-
.../dc/dml/dcn314/display_rq_dlg_calc_314.c | 16 +-
.../drm/amd/display/dc/dml/display_mode_structs.h | 3 +-
.../gpu/drm/amd/display/dc/dml/display_mode_vba.c | 6 +
.../link_dp_training_fixed_vs_pe_retimer.c | 23 +-
drivers/gpu/drm/amd/display/dmub/dmub_srv.h | 2 +
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 2 +-
drivers/gpu/drm/amd/display/dmub/src/Makefile | 2 +-
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c | 5 +
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.h | 2 +
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn314.c | 67 ++
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn314.h | 35 +
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c | 12 +-
.../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 89 +--
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 21 +-
drivers/gpu/drm/drm_syncobj.c | 6 +-
drivers/gpu/drm/i915/display/intel_dpt.c | 4 +-
drivers/gpu/drm/i915/gem/selftests/huge_pages.c | 6 +-
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +-
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h | 2 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h | 13 -
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c | 8 +-
drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c | 2 -
drivers/gpu/drm/msm/msm_fence.c | 6 +
drivers/gpu/drm/msm/msm_gem_submit.c | 16 +-
drivers/gpu/drm/msm/msm_mdss.c | 19 +-
drivers/gpu/drm/ttm/ttm_bo.c | 6 +
drivers/hwmon/aquacomputer_d5next.c | 2 +-
drivers/hwmon/k10temp.c | 17 +-
drivers/hwmon/nct7802.c | 2 +-
drivers/hwmon/pmbus/pmbus_core.c | 20 +-
drivers/i2c/busses/i2c-ibm_iic.c | 4 +-
drivers/i2c/busses/i2c-nomadik.c | 42 +-
drivers/i2c/busses/i2c-sh7760.c | 3 +-
drivers/i2c/busses/i2c-tiny-usb.c | 4 +-
drivers/infiniband/core/cma.c | 2 +
drivers/infiniband/hw/bnxt_re/ib_verbs.c | 12 +
drivers/infiniband/hw/bnxt_re/qplib_fp.c | 28 +-
drivers/infiniband/hw/bnxt_re/qplib_fp.h | 1 +
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 355 ++++++---
drivers/infiniband/hw/bnxt_re/qplib_rcfw.h | 26 +
drivers/infiniband/hw/irdma/ctrl.c | 31 +-
drivers/infiniband/hw/irdma/defs.h | 46 +-
drivers/infiniband/hw/irdma/hw.c | 3 +-
drivers/infiniband/hw/irdma/main.h | 2 +-
drivers/infiniband/hw/irdma/puda.c | 6 +
drivers/infiniband/hw/irdma/type.h | 2 +
drivers/infiniband/hw/irdma/uk.c | 5 +-
drivers/infiniband/hw/irdma/utils.c | 8 +-
drivers/infiniband/hw/mlx4/qp.c | 18 +-
drivers/infiniband/hw/mthca/mthca_qp.c | 2 +-
drivers/iommu/iommufd/device.c | 12 +-
drivers/iommu/iommufd/iommufd_private.h | 15 +-
drivers/iommu/iommufd/main.c | 78 +-
drivers/iommu/iommufd/pages.c | 2 +-
drivers/irqchip/irq-bcm6345-l1.c | 14 +-
drivers/irqchip/irq-gic-v3-its.c | 75 +-
drivers/md/dm-cache-policy-smq.c | 28 +-
drivers/md/dm-raid.c | 20 +-
drivers/md/md.c | 2 +
drivers/media/i2c/tc358746.c | 4 +-
drivers/media/platform/amphion/vpu_core.c | 4 +-
.../media/platform/mediatek/jpeg/mtk_jpeg_core.c | 830 ++++++++++-----------
.../media/platform/mediatek/jpeg/mtk_jpeg_dec_hw.c | 4 +-
.../media/platform/mediatek/jpeg/mtk_jpeg_enc_hw.c | 4 +-
drivers/net/bonding/bond_main.c | 5 +
drivers/net/can/usb/gs_usb.c | 2 +
drivers/net/dsa/qca/qca8k-8xxx.c | 7 +-
drivers/net/dsa/qca/qca8k-common.c | 19 +-
drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 7 +-
drivers/net/ethernet/atheros/atlx/atl1.c | 7 +-
drivers/net/ethernet/emulex/benet/be_main.c | 3 +-
drivers/net/ethernet/freescale/fec_main.c | 18 +-
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 3 +-
.../hisilicon/hns3/hns3_common/hclge_comm_cmd.c | 21 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 17 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 3 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 3 +-
drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 2 +-
drivers/net/ethernet/intel/iavf/iavf_main.c | 11 +-
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c | 26 +-
drivers/net/ethernet/intel/igc/igc_main.c | 40 +-
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +-
.../ethernet/marvell/octeontx2/af/rvu_npc_hash.c | 43 +-
.../ethernet/marvell/octeontx2/af/rvu_npc_hash.h | 8 +-
drivers/net/ethernet/realtek/r8169_main.c | 27 +-
drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c | 4 +-
drivers/net/ipa/ipa_table.c | 22 +-
drivers/net/macvlan.c | 1 +
drivers/net/phy/marvell10g.c | 7 +
drivers/net/team/team.c | 9 +
drivers/net/virtio_net.c | 4 +-
drivers/net/vxlan/vxlan_core.c | 165 ++--
drivers/pci/controller/pcie-rockchip-ep.c | 156 ++--
drivers/pci/controller/pcie-rockchip.h | 40 +-
drivers/pci/pcie/aspm.c | 55 +-
drivers/phy/hisilicon/phy-hisi-inno-usb2.c | 2 +-
drivers/phy/mediatek/phy-mtk-dp.c | 2 +-
drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c | 2 +-
drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c | 72 +-
drivers/platform/x86/amd/pmf/acpi.c | 23 +-
drivers/platform/x86/amd/pmf/core.c | 9 +-
drivers/platform/x86/amd/pmf/pmf.h | 16 +
drivers/platform/x86/amd/pmf/sps.c | 74 +-
drivers/platform/x86/msi-laptop.c | 8 +-
drivers/s390/block/dasd_3990_erp.c | 2 +-
drivers/s390/block/dasd_ioctl.c | 1 +
drivers/soundwire/amd_manager.c | 4 +-
drivers/soundwire/bus.c | 8 +-
drivers/soundwire/qcom.c | 2 +-
drivers/staging/ks7010/ks_wlan_net.c | 6 +-
drivers/staging/media/atomisp/Kconfig | 1 +
drivers/staging/rtl8712/rtl871x_xmit.c | 43 +-
drivers/staging/rtl8712/xmit_linux.c | 6 +
drivers/thermal/thermal_of.c | 27 +-
drivers/tty/n_gsm.c | 4 +-
drivers/tty/serial/8250/8250_dwlib.c | 6 +-
drivers/tty/serial/qcom_geni_serial.c | 7 -
drivers/tty/serial/sh-sci.c | 2 +-
drivers/tty/serial/sifive.c | 2 +-
drivers/tty/tty_io.c | 2 +-
drivers/usb/cdns3/cdns3-gadget.c | 4 +-
drivers/usb/core/quirks.c | 4 +
drivers/usb/dwc3/core.c | 20 +-
drivers/usb/dwc3/core.h | 3 -
drivers/usb/dwc3/dwc3-pci.c | 6 +-
drivers/usb/gadget/composite.c | 4 +
drivers/usb/gadget/legacy/raw_gadget.c | 12 +-
drivers/usb/gadget/udc/core.c | 1 -
drivers/usb/gadget/udc/tegra-xudc.c | 8 +-
drivers/usb/host/ohci-at91.c | 8 +-
drivers/usb/host/xhci-mtk.c | 1 +
drivers/usb/host/xhci-pci.c | 4 +-
drivers/usb/host/xhci-ring.c | 25 +-
drivers/usb/host/xhci-tegra.c | 8 +-
drivers/usb/misc/ehset.c | 8 +-
drivers/usb/serial/option.c | 6 +
drivers/usb/serial/usb-serial-simple.c | 73 +-
drivers/usb/typec/class.c | 15 +-
drivers/xen/grant-table.c | 40 +-
drivers/xen/xenbus/xenbus_probe.c | 3 +
fs/9p/fid.h | 6 +-
fs/9p/v9fs.h | 2 +-
fs/9p/vfs_dir.c | 5 +-
fs/9p/vfs_file.c | 5 +-
fs/btrfs/block-rsv.c | 5 +
fs/btrfs/disk-io.c | 7 +-
fs/btrfs/extent_io.c | 21 +-
fs/btrfs/qgroup.c | 18 +-
fs/btrfs/transaction.c | 10 +-
fs/btrfs/zoned.c | 3 +
fs/ceph/metric.c | 2 +-
fs/ext4/mballoc.c | 200 ++++-
fs/file.c | 6 +-
fs/jbd2/checkpoint.c | 197 ++---
fs/jbd2/commit.c | 3 +-
fs/jbd2/transaction.c | 17 +-
fs/nfsd/nfs4state.c | 2 -
fs/proc/vmcore.c | 2 +-
fs/smb/client/sess.c | 4 +-
fs/smb/server/ksmbd_netlink.h | 3 +-
fs/smb/server/smb2pdu.c | 27 +-
fs/smb/server/vfs.c | 58 +-
fs/smb/server/vfs.h | 4 +-
include/linux/dma-fence.h | 2 +-
include/linux/jbd2.h | 7 +-
include/linux/mm.h | 29 +-
include/linux/mm_types.h | 28 +
include/linux/mmap_lock.h | 10 +-
include/net/ipv6.h | 8 +-
include/net/vxlan.h | 13 +-
include/trace/events/jbd2.h | 12 +-
include/uapi/linux/blkzoned.h | 10 +-
io_uring/io_uring.c | 25 +-
kernel/locking/rtmutex.c | 172 +++--
kernel/locking/rtmutex_api.c | 2 +-
kernel/locking/rtmutex_common.h | 47 +-
kernel/locking/ww_mutex.h | 12 +-
kernel/signal.c | 4 +
kernel/trace/ring_buffer.c | 22 +-
kernel/trace/trace_events.c | 14 +-
lib/test_maple_tree.c | 163 ++--
mm/memory-failure.c | 2 +-
mm/mempolicy.c | 15 +-
mm/mmap.c | 1 +
net/ceph/messenger.c | 1 +
net/ipv6/addrconf.c | 14 +-
net/mptcp/protocol.c | 3 +-
net/netfilter/nf_tables_api.c | 5 +-
net/netfilter/nft_immediate.c | 27 +-
net/netfilter/nft_set_rbtree.c | 20 +-
net/sched/sch_mqprio.c | 14 +
net/tipc/crypto.c | 3 +-
net/tipc/node.c | 2 +-
sound/pci/hda/patch_realtek.c | 2 +
sound/soc/codecs/wm8904.c | 3 +
sound/soc/fsl/fsl_spdif.c | 2 +
tools/net/ynl/lib/ynl.py | 4 +-
tools/testing/radix-tree/linux/init.h | 1 +
tools/testing/radix-tree/maple.c | 143 ++--
tools/testing/selftests/net/mptcp/mptcp_join.sh | 4 +-
tools/testing/selftests/rseq/rseq.c | 28 +-
virt/kvm/kvm_main.c | 24 +
264 files changed, 3622 insertions(+), 2136 deletions(-)
Hi Greg
6.4.8-rc1
compiles, boots and runs here on x86_64
(Intel Rocket Lake, i5-11400)
Thanks
Tested-by: Ronald Warsow <[email protected]>
On Tue, 01 Aug 2023 11:17:44 +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.4.8 release.
> There are 239 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 03 Aug 2023 09:18:38 +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.4.8-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
All tests passing for Tegra ...
Test results for stable-v6.4:
11 builds: 11 pass, 0 fail
28 boots: 28 pass, 0 fail
120 tests: 120 pass, 0 fail
Linux version: 6.4.8-rc1-g2c273bf138a4
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
Tested-by: Jon Hunter <[email protected]>
Jon
Hello,
On Tue, 1 Aug 2023 11:17:44 +0200 Greg Kroah-Hartman <[email protected]> wrote:
> This is the start of the stable review cycle for the 6.4.8 release.
> There are 239 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 03 Aug 2023 09:18:38 +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.4.8-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.4.y
> and the diffstat can be found below.
This rc kernel passes DAMON functionality test[1] on my test machine.
Attaching the test results summary below. Please note that I retrieved the
kernel from linux-stable-rc tree[2].
Tested-by: SeongJae Park <[email protected]>
[1] https://github.com/awslabs/damon-tests/tree/next/corr
[2] 2c273bf138a4 ("Linux 6.4.8-rc1")
Thanks,
SJ
[...]
---
ok 1 selftests: damon: debugfs_attrs.sh
ok 2 selftests: damon: debugfs_schemes.sh
ok 3 selftests: damon: debugfs_target_ids.sh
ok 4 selftests: damon: debugfs_empty_targets.sh
ok 5 selftests: damon: debugfs_huge_count_read_write.sh
ok 6 selftests: damon: debugfs_duplicate_context_creation.sh
ok 7 selftests: damon: debugfs_rm_non_contexts.sh
ok 8 selftests: damon: sysfs.sh
ok 9 selftests: damon: sysfs_update_removed_scheme_dir.sh
ok 10 selftests: damon: reclaim.sh
ok 11 selftests: damon: lru_sort.sh
ok 1 selftests: damon-tests: kunit.sh
ok 2 selftests: damon-tests: huge_count_read_write.sh
ok 3 selftests: damon-tests: buffer_overflow.sh
ok 4 selftests: damon-tests: rm_contexts.sh
ok 5 selftests: damon-tests: record_null_deref.sh
ok 6 selftests: damon-tests: dbgfs_target_ids_read_before_terminate_race.sh
ok 7 selftests: damon-tests: dbgfs_target_ids_pid_leak.sh
ok 8 selftests: damon-tests: damo_tests.sh
ok 9 selftests: damon-tests: masim-record.sh
ok 10 selftests: damon-tests: build_i386.sh
ok 11 selftests: damon-tests: build_m68k.sh
ok 12 selftests: damon-tests: build_arm64.sh
ok 13 selftests: damon-tests: build_i386_idle_flag.sh
ok 14 selftests: damon-tests: build_i386_highpte.sh
ok 15 selftests: damon-tests: build_nomemcg.sh
PASS
On Tue, Aug 01, 2023 at 11:17:44AM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.4.8 release.
> There are 239 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: Conor Dooley <[email protected]>
Thanks,
Conor.
On 8/1/23 03:17, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.4.8 release.
> There are 239 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 03 Aug 2023 09:18:38 +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.4.8-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
Compiled and booted on my test system. No dmesg regressions.
Tested-by: Shuah Khan <[email protected]>
thanks,
-- Shuah
On 8/1/23 02:17, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.4.8 release.
> There are 239 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 03 Aug 2023 09:18:38 +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.4.8-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.4.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 <[email protected]>
--
Florian
On Tue, 1 Aug 2023 at 15:11, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 6.4.8 release.
> There are 239 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 03 Aug 2023 09:18:38 +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.4.8-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Following kselftest build regression found,
selftests/rseq: Play nice with binaries statically linked against
glibc 2.35+
commit 3bcbc20942db5d738221cca31a928efc09827069 upstream.
To allow running rseq and KVM's rseq selftests as statically linked
binaries, initialize the various "trampoline" pointers to point directly
at the expect glibc symbols, and skip the dlysm() lookups if the rseq
size is non-zero, i.e. the binary is statically linked *and* the libc
registered its own rseq.
Define weak versions of the symbols so as not to break linking against
libc versions that don't support rseq in any capacity.
The KVM selftests in particular are often statically linked so that they
can be run on targets with very limited runtime environments, i.e. test
machines.
Fixes: 233e667e1ae3 ("selftests/rseq: Uplift rseq selftests for
compatibility with glibc-2.35")
Cc: Aaron Lewis <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Build log:
----
x86_64-linux-gnu-gcc -O2 -Wall -g -I./ -isystem
/home/tuxbuild/.cache/tuxmake/builds/1/build/usr/include
-L/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest/rseq
-Wl,-rpath=./ -shared -fPIC rseq.c -lpthread -ldl -o
/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest/rseq/librseq.so
rseq.c:41:1: error: unknown type name '__weak'
41 | __weak ptrdiff_t __rseq_offset;
| ^~~~~~
rseq.c:41:18: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '__rseq_offset'
41 | __weak ptrdiff_t __rseq_offset;
| ^~~~~~~~~~~~~
rseq.c:42:7: error: expected ';' before 'unsigned'
42 | __weak unsigned int __rseq_size;
| ^~~~~~~~~
| ;
rseq.c:43:7: error: expected ';' before 'unsigned'
43 | __weak unsigned int __rseq_flags;
| ^~~~~~~~~
| ;
rseq.c:45:47: error: '__rseq_offset' undeclared here (not in a
function); did you mean 'rseq_offset'?
45 | static const ptrdiff_t *libc_rseq_offset_p = &__rseq_offset;
| ^~~~~~~~~~~~~
| rseq_offset
make[3]: Leaving directory 'tools/testing/selftests/rseq'
Reported-by: Linux Kernel Functional Testing <[email protected]>
Links:
- https://storage.tuxsuite.com/public/linaro/lkft/builds/2TNSVjRCfcIaJWQNkPwDQ9jn2ls/build.log
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.4.y/build/v6.4.7-240-g2c273bf138a4/testrun/18770115/suite/kselftest-rseq/test/shardfile-rseq/details/
--
Linaro LKFT
https://lkft.linaro.org
On 8/1/23 2:17 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.4.8 release.
> There are 239 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 03 Aug 2023 09:18:38 +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.4.8-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Built and booted successfully on RISC-V RV64 (HiFive Unmatched).
Tested-by: Ron Economos <[email protected]>
On Wed, Aug 02, 2023 at 08:22:59AM +0530, Naresh Kamboju wrote:
> On Tue, 1 Aug 2023 at 15:11, Greg Kroah-Hartman
> <[email protected]> wrote:
> >
> > This is the start of the stable review cycle for the 6.4.8 release.
> > There are 239 patches in this series, all will be posted as a response
> > to this one. If anyone has any issues with these being applied, please
> > let me know.
> >
> > Responses should be made by Thu, 03 Aug 2023 09:18:38 +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.4.8-rc1.gz
> > or in the git tree and branch at:
> > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.4.y
> > and the diffstat can be found below.
> >
> > thanks,
> >
> > greg k-h
>
> Following kselftest build regression found,
>
> selftests/rseq: Play nice with binaries statically linked against
> glibc 2.35+
> commit 3bcbc20942db5d738221cca31a928efc09827069 upstream.
>
>
> To allow running rseq and KVM's rseq selftests as statically linked
> binaries, initialize the various "trampoline" pointers to point directly
> at the expect glibc symbols, and skip the dlysm() lookups if the rseq
> size is non-zero, i.e. the binary is statically linked *and* the libc
> registered its own rseq.
>
> Define weak versions of the symbols so as not to break linking against
> libc versions that don't support rseq in any capacity.
>
> The KVM selftests in particular are often statically linked so that they
> can be run on targets with very limited runtime environments, i.e. test
> machines.
>
> Fixes: 233e667e1ae3 ("selftests/rseq: Uplift rseq selftests for
> compatibility with glibc-2.35")
> Cc: Aaron Lewis <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Signed-off-by: Sean Christopherson <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Paolo Bonzini <[email protected]>
> Signed-off-by: Greg Kroah-Hartman <[email protected]>
>
>
> Build log:
> ----
> x86_64-linux-gnu-gcc -O2 -Wall -g -I./ -isystem
> /home/tuxbuild/.cache/tuxmake/builds/1/build/usr/include
> -L/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest/rseq
> -Wl,-rpath=./ -shared -fPIC rseq.c -lpthread -ldl -o
> /home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest/rseq/librseq.so
> rseq.c:41:1: error: unknown type name '__weak'
> 41 | __weak ptrdiff_t __rseq_offset;
> | ^~~~~~
> rseq.c:41:18: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '__rseq_offset'
> 41 | __weak ptrdiff_t __rseq_offset;
> | ^~~~~~~~~~~~~
> rseq.c:42:7: error: expected ';' before 'unsigned'
> 42 | __weak unsigned int __rseq_size;
> | ^~~~~~~~~
> | ;
> rseq.c:43:7: error: expected ';' before 'unsigned'
> 43 | __weak unsigned int __rseq_flags;
> | ^~~~~~~~~
> | ;
> rseq.c:45:47: error: '__rseq_offset' undeclared here (not in a
> function); did you mean 'rseq_offset'?
> 45 | static const ptrdiff_t *libc_rseq_offset_p = &__rseq_offset;
> | ^~~~~~~~~~~~~
> | rseq_offset
> make[3]: Leaving directory 'tools/testing/selftests/rseq'
>
> Reported-by: Linux Kernel Functional Testing <[email protected]>
>
> Links:
> - https://storage.tuxsuite.com/public/linaro/lkft/builds/2TNSVjRCfcIaJWQNkPwDQ9jn2ls/build.log
> - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.4.y/build/v6.4.7-240-g2c273bf138a4/testrun/18770115/suite/kselftest-rseq/test/shardfile-rseq/details/
Odd this didn't also show up in 6.1. I'll go drop the offending commit
for now.
thanks,
greg k-h
On Tue, Aug 01, 2023 at 11:17:44AM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.4.8 release.
> There are 239 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.
>
Successfully compiled and installed bindeb-pkgs on my computer (Acer
Aspire E15, Intel Core i3 Haswell). No noticeable regressions.
Tested-by: Bagas Sanjaya <[email protected]>
--
An old man doll... just what I always wanted! - Clara