This is the start of the stable review cycle for the 6.1.8 release.
There are 193 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, 24 Jan 2023 15:02:08 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.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.1.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <[email protected]>
Linux 6.1.8-rc1
Stephan Gerhold <[email protected]>
soc: qcom: apr: Make qcom,protection-domain optional again
Eric Dumazet <[email protected]>
Revert "wifi: mac80211: fix memory leak in ieee80211_if_add()"
Damien Le Moal <[email protected]>
block: mq-deadline: Rename deadline_is_seq_writes()
Yang Yingliang <[email protected]>
net/mlx5: fix missing mutex_unlock in mlx5_fw_fatal_reporter_err_work()
Kevin Hao <[email protected]>
octeontx2-pf: Fix the use of GFP_KERNEL in atomic context on rt
Paolo Abeni <[email protected]>
net/ulp: use consistent error code when blocking ULP
Geetha sowjanya <[email protected]>
octeontx2-pf: Avoid use of GFP_KERNEL in atomic context
Michael Ellerman <[email protected]>
powerpc/vmlinux.lds: Don't discard .comment
Michael Ellerman <[email protected]>
powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds
Michael Ellerman <[email protected]>
powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT
Masahiro Yamada <[email protected]>
s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36
Lang Yu <[email protected]>
drm/amdgpu: correct MEC number for gfx11 APUs
Tim Huang <[email protected]>
drm/amdgpu: add tmz support for GC IP v11.0.4
Yifan Zhang <[email protected]>
drm/amdgpu: add tmz support for GC 11.0.1
Tim Huang <[email protected]>
drm/amdgpu: enable GFX Clock Gating control for GC IP v11.0.4
Tim Huang <[email protected]>
drm/amdgpu: enable GFX Power Gating for GC IP v11.0.4
Tim Huang <[email protected]>
drm/amdgpu: enable GFX IP v11.0.4 CG support
Tim Huang <[email protected]>
drm/amdgpu: enable PSP IP v13.0.11 support
Yifan Zhang <[email protected]>
drm/amdgpu/discovery: enable nbio support for NBIO v7.7.1
Tim Huang <[email protected]>
drm/amdgpu/pm: use the specific mailbox registers only for SMU IP v13.0.4
Tim Huang <[email protected]>
drm/amdgpu/soc21: add mode2 asic reset for SMU IP v13.0.11
Yifan Zhang <[email protected]>
drm/amdgpu/pm: add GFXOFF control IP version check for SMU IP v13.0.11
Yifan Zhang <[email protected]>
drm/amdgpu: add smu 13 support for smu 13.0.11
Yifan Zhang <[email protected]>
drm/amdgpu/pm: enable swsmu for SMU IP v13.0.11
Tim Huang <[email protected]>
drm/amdgpu/discovery: add PSP IP v13.0.11 support
Yifan Zhang <[email protected]>
drm/amdgpu: add gmc v11 support for GC 11.0.4
Yifan Zhang <[email protected]>
drm/amdgpu: add gfx support for GC 11.0.4
Yifan Zhang <[email protected]>
drm/amdgpu/discovery: set the APU flag for GC 11.0.4
Yifan Zhang <[email protected]>
drm/amdgpu: set GC 11.0.4 family
Yifan Zhang <[email protected]>
drm/amdgpu/discovery: enable mes support for GC v11.0.4
Yifan Zhang <[email protected]>
drm/amdgpu/discovery: enable gfx v11 for GC 11.0.4
Yifan Zhang <[email protected]>
drm/amdgpu/discovery: enable gmc v11 for GC 11.0.4
Yifan Zhang <[email protected]>
drm/amdgpu/discovery: enable soc21 common for GC 11.0.4
Masahiro Yamada <[email protected]>
arch: fix broken BuildID for arm64 and riscv
YingChi Long <[email protected]>
x86/fpu: Use _Alignof to avoid undefined behavior in TYPE_ALIGN
Kees Cook <[email protected]>
exit: Use READ_ONCE() for all oops/warn limit reads
Kees Cook <[email protected]>
docs: Fix path paste-o for /sys/kernel/warn_count
Kees Cook <[email protected]>
panic: Expose "warn_count" to sysfs
Kees Cook <[email protected]>
panic: Introduce warn_limit
Kees Cook <[email protected]>
panic: Consolidate open-coded panic_on_warn checks
Kees Cook <[email protected]>
exit: Allow oops_limit to be disabled
Kees Cook <[email protected]>
exit: Expose "oops_count" to sysfs
Jann Horn <[email protected]>
exit: Put an upper limit on how often we can oops
Kees Cook <[email protected]>
panic: Separate sysctl logic from CONFIG_SMP
Ard Biesheuvel <[email protected]>
efi: rt-wrapper: Add missing include
Ard Biesheuvel <[email protected]>
arm64: efi: Execute runtime services from a dedicated stack
Alon Zahavi <[email protected]>
fs/ntfs3: Fix attr_punch_hole() null pointer derenference
Paulo Alcantara <[email protected]>
cifs: reduce roundtrips on create/qinfo requests
Alex Deucher <[email protected]>
drm/amd/display: disable S/G display on DCN 3.1.4
Alex Deucher <[email protected]>
drm/amd/display: disable S/G display on DCN 3.1.5
Joshua Ashton <[email protected]>
drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix
Joshua Ashton <[email protected]>
drm/amd/display: Calculate output_color_space after pixel encoding adjustment
hongao <[email protected]>
drm/amd/display: Fix set scaling doesn's work
Nirmoy Das <[email protected]>
drm/i915: Remove unused variable
Thomas Zimmermann <[email protected]>
drm/i915: Allow switching away via vga-switcheroo if uninitialized
Drew Davenport <[email protected]>
drm/i915/display: Check source height is > 0
Sasa Dragic <[email protected]>
drm/i915: re-disable RC6p on Sandy Bridge
jie1zhan <[email protected]>
drm/amdgpu: Correct the power calcultion for Renior/Cezanne.
Lang Yu <[email protected]>
drm/amdgpu: allow multipipe policy on ASICs with one MEC
Christian König <[email protected]>
drm/amdgpu: fix amdgpu_job_free_resources v2
Arnd Bergmann <[email protected]>
ARM: omap1: fix !ARCH_OMAP1_ANY link failures
Krzysztof Kozlowski <[email protected]>
ARM: dts: qcom: apq8084-ifc6540: fix overriding SDHCI
Vishnu Dasa <[email protected]>
VMCI: Use threaded irqs instead of tasklets
Alexander Usyskin <[email protected]>
mei: me: add meteor lake point M DID
Alexander Usyskin <[email protected]>
mei: bus: fix unlink on bus in error path
Khazhismel Kumykov <[email protected]>
gsmi: fix null-deref in gsmi_get_variable
Matthew Howell <[email protected]>
serial: exar: Add support for Sealevel 7xxxC serial cards
Tobias Schramm <[email protected]>
serial: atmel: fix incorrect baudrate setup
Lino Sanfilippo <[email protected]>
serial: amba-pl011: fix high priority character transmission in rs486 mode
Reinette Chatre <[email protected]>
dmaengine: idxd: Do not call DMX TX callbacks during workqueue disable
Reinette Chatre <[email protected]>
dmaengine: idxd: Prevent use after free on completion memory
Reinette Chatre <[email protected]>
dmaengine: idxd: Let probe fail when workqueue cannot be enabled
Mohan Kumar <[email protected]>
dmaengine: tegra210-adma: fix global intr clear
Peter Harliman Liem <[email protected]>
dmaengine: lgm: Move DT parsing after initialization
Ilpo Järvinen <[email protected]>
serial: pch_uart: Pass correct sg to dma_unmap_sg()
Heiner Kallweit <[email protected]>
dt-bindings: phy: g12a-usb3-pcie-phy: fix compatible string documentation
Heiner Kallweit <[email protected]>
dt-bindings: phy: g12a-usb2-phy: fix compatible string documentation
Li Jun <[email protected]>
arm64: dts: imx8mp: correct usb clocks
Juhyung Park <[email protected]>
usb-storage: apply IGNORE_UAS only for HIKSEMI MD202 on RTL9210
Maciej Żenczykowski <[email protected]>
usb: gadget: f_ncm: fix potential NULL ptr deref in ncm_bitrate()
Chanh Nguyen <[email protected]>
USB: gadget: Add ID numbers to configfs-gadget driver names
Daniel Scally <[email protected]>
usb: gadget: g_webcam: Send color matching descriptor per frame
Prashant Malani <[email protected]>
usb: typec: altmodes/displayport: Fix pin assignment calculation
Prashant Malani <[email protected]>
usb: typec: altmodes/displayport: Add pin assignment helper
ChiYuan Huang <[email protected]>
usb: typec: tcpm: Fix altmode re-registration causes sysfs create fail
Yang Yingliang <[email protected]>
usb: musb: fix error return code in omap2430_probe()
Alexander Stein <[email protected]>
usb: host: ehci-fsl: Fix module alias
Pawel Laszczak <[email protected]>
usb: cdns3: remove fetched trb from cache before dequeuing
Michael Adler <[email protected]>
USB: serial: cp210x: add SCALANCE LPE-9000 device id
Alan Stern <[email protected]>
USB: gadgetfs: Fix race between mounting and unmounting
Matthieu Baerts <[email protected]>
selftests: mptcp: userspace: validate v4-v6 subflows mix
Matthieu Baerts <[email protected]>
mptcp: netlink: respect v4/v6-only sockets
Paolo Abeni <[email protected]>
mptcp: explicitly specify sock family at subflow creation time
Jens Axboe <[email protected]>
io_uring/poll: don't reissue in case of poll race on multishot request
Jens Axboe <[email protected]>
pktcdvd: check for NULL returna fter calling bio_split_to_limits()
Gaosheng Cui <[email protected]>
tty: fix possible null-ptr-defer in spk_ttyio_release
Krzysztof Kozlowski <[email protected]>
tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer
Paul Moore <[email protected]>
bpf: restore the ebpf program ID for BPF_AUDIT_UNLOAD and PERF_BPF_EVENT_PROG_UNLOAD
Ben Dooks <[email protected]>
riscv: dts: sifive: fu740: fix size of pcie 32bit memory
Mika Westerberg <[email protected]>
thunderbolt: Do not call PM runtime functions in tb_retimer_scan()
Utkarsh Patel <[email protected]>
thunderbolt: Do not report errors if on-board retimers are found
Mika Westerberg <[email protected]>
thunderbolt: Use correct function to calculate maximum USB3 link rate
Mika Westerberg <[email protected]>
thunderbolt: Disable XDomain lane 1 only in software connection manager
Enzo Matsumiya <[email protected]>
cifs: do not include page data when checking signature
Filipe Manana <[email protected]>
btrfs: fix race between quota rescan and disable leading to NULL pointer deref
Filipe Manana <[email protected]>
btrfs: fix invalid leaf access due to inline extent during lseek
Qu Wenruo <[email protected]>
btrfs: qgroup: do not warn on record without old_roots populated
Filipe Manana <[email protected]>
btrfs: do not abort transaction on failure to update log root
Filipe Manana <[email protected]>
btrfs: do not abort transaction on failure to write log tree when syncing log
Filipe Manana <[email protected]>
btrfs: add missing setup of log for full commit at add_conflicting_inode()
Filipe Manana <[email protected]>
btrfs: fix directory logging due to race with concurrent index key deletion
Filipe Manana <[email protected]>
btrfs: fix missing error handling when logging directory items
Qu Wenruo <[email protected]>
btrfs: add extra error messages to cover non-ENOMEM errors from device_add_list()
Zach O'Keefe <[email protected]>
mm/MADV_COLLAPSE: don't expand collapse when vm_end is past requested end
David Hildenbrand <[email protected]>
mm/userfaultfd: enable writenotify while userfaultfd-wp is enabled for a VMA
Peter Xu <[email protected]>
mm/hugetlb: pre-allocate pgtable pages for uffd wr-protects
David Hildenbrand <[email protected]>
mm/hugetlb: fix uffd-wp handling for migration entries in hugetlb_change_protection()
David Hildenbrand <[email protected]>
mm/hugetlb: fix PTE marker handling in hugetlb_change_protection()
Haibo Chen <[email protected]>
mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting
Samuel Holland <[email protected]>
mmc: sunxi-mmc: Fix clock refcount imbalance during unbind
Ard Biesheuvel <[email protected]>
ACPI: PRM: Check whether EFI runtime is available
Ian Abbott <[email protected]>
comedi: adv_pci1760: Fix PWM instruction handling
Flavio Suligoi <[email protected]>
usb: core: hub: disable autosuspend for TI TUSB8041
Ola Jeppsson <[email protected]>
misc: fastrpc: Fix use-after-free race condition for maps
Abel Vesa <[email protected]>
misc: fastrpc: Don't remove map on creater_process and device_release
Abel Vesa <[email protected]>
misc: fastrpc: Fix use-after-free and race in fastrpc_map_find
Matthias Kaehlcke <[email protected]>
usb: misc: onboard_hub: Move 'attach' work to the driver
Matthias Kaehlcke <[email protected]>
usb: misc: onboard_hub: Invert driver registration order
Greg Kroah-Hartman <[email protected]>
USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100
Arnd Bergmann <[email protected]>
staging: vchiq_arm: fix enum vchiq_status return types
Duke Xin(辛安文) <[email protected]>
USB: serial: option: add Quectel EM05CN modem
Duke Xin(辛安文) <[email protected]>
USB: serial: option: add Quectel EM05CN (SG) modem
Ali Mirghasemi <[email protected]>
USB: serial: option: add Quectel EC200U modem
Duke Xin(辛安文) <[email protected]>
USB: serial: option: add Quectel EM05-G (RS) modem
Duke Xin(辛安文) <[email protected]>
USB: serial: option: add Quectel EM05-G (CS) modem
Duke Xin(辛安文) <[email protected]>
USB: serial: option: add Quectel EM05-G (GR) modem
Greg Kroah-Hartman <[email protected]>
prlimit: do_prlimit needs to have a speculation check
Mathias Nyman <[email protected]>
xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables
Mathias Nyman <[email protected]>
usb: acpi: add helper to check port lpm capability using acpi _DSM
Mathias Nyman <[email protected]>
xhci: Add a flag to disable USB3 lpm on a xhci root port level.
Mathias Nyman <[email protected]>
xhci: Add update_hub_device override for PCI xHCI hosts
Mathias Nyman <[email protected]>
xhci: Fix null pointer dereference when host dies
Jimmy Hu <[email protected]>
usb: xhci: Check endpoint is valid before dereferencing it
Ricardo Ribalda <[email protected]>
xhci-pci: set the dma max_seg_size
Greg Kroah-Hartman <[email protected]>
Revert "serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler"
Marek Vasut <[email protected]>
serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler
Hugh Dickins <[email protected]>
mm/khugepaged: fix collapse_pte_mapped_thp() to allow anon_vma
James Houghton <[email protected]>
hugetlb: unshare some PMDs when splitting VMAs
Zach O'Keefe <[email protected]>
mm/shmem: restore SHMEM_HUGE_DENY precedence over MADV_COLLAPSE
Ryusuke Konishi <[email protected]>
nilfs2: fix general protection fault in nilfs_btree_insert()
Damien Le Moal <[email protected]>
zonefs: Detect append writes at invalid locations
Huacai Chen <[email protected]>
LoongArch: Add HWCAP_LOONGARCH_CPUCFG to elf_hwcap
Shawn.Shao <[email protected]>
Add exception protection processing for vd in axi_chan_handle_err function
Alexey Dobriyan <[email protected]>
proc: fix PIE proc-empty-vm, proc-pid-vm tests
Liam Howlett <[email protected]>
nommu: fix split_vma() map_count error
Liam Howlett <[email protected]>
nommu: fix do_munmap() error path
Liam Howlett <[email protected]>
nommu: fix memory leak in do_mmap() error path
Felix Fietkau <[email protected]>
wifi: mac80211: fix initialization of rx->link and rx->link_sta
Alexander Wetzel <[email protected]>
wifi: mac80211: sdata can be NULL during AMPDU start
Aloka Dixit <[email protected]>
wifi: mac80211: reset multiple BSSID options in stop_ap()
Felix Fietkau <[email protected]>
wifi: mac80211: fix MLO + AP_VLAN check
Arend van Spriel <[email protected]>
wifi: brcmfmac: fix regression for Broadcom PCIe wifi devices
Krzysztof Kozlowski <[email protected]>
Bluetooth: hci_qca: Fix driver shutdown on closed serdev
Luiz Augusto von Dentz <[email protected]>
Bluetooth: hci_sync: Fix use HCI_OP_LE_READ_BUFFER_SIZE_V2
Arnd Bergmann <[email protected]>
fbdev: omapfb: avoid stack overflow warning
Rob Herring <[email protected]>
of: fdt: Honor CONFIG_CMDLINE* even without /chosen node, take 2
Zhang Rui <[email protected]>
perf/x86/rapl: Add support for Intel Emerald Rapids
Zhang Rui <[email protected]>
perf/x86/rapl: Add support for Intel Meteor Lake
Aaron Thompson <[email protected]>
memblock tests: Fix compilation error.
Paulo Alcantara <[email protected]>
cifs: fix race in assemble_neg_contexts()
Chris Wilson <[email protected]>
perf/x86/rapl: Treat Tigerlake like Icelake
Jaegeuk Kim <[email protected]>
f2fs: let's avoid panic if extent_tree is not created
Mikulas Patocka <[email protected]>
x86/asm: Fix an assembler warning with current binutils
Qu Wenruo <[email protected]>
btrfs: always report error in run_one_delayed_ref()
Po-Hsu Lin <[email protected]>
selftests: net: fix cmsg_so_mark.sh test hang
Jiri Slaby (SUSE) <[email protected]>
RDMA/srp: Move large values to a new enum for gcc13
Kui-Feng Lee <[email protected]>
bpf: keep a reference to the mm, in case the task is dead.
Chunhao Lin <[email protected]>
r8169: fix dmar pte write access is not set error
Chunhao Lin <[email protected]>
r8169: move rtl_wol_enable_rx() and rtl_prepare_power_down()
Daniil Tatianin <[email protected]>
net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats
Cindy Lu <[email protected]>
vdpa_sim_net: should not drop the multicast/broadcast packet
Harshit Mogalapalli <[email protected]>
vduse: Validate vq_num in vduse_validate_config()
Angus Chen <[email protected]>
virtio_pci: modify ENOENT to EINVAL
Eli Cohen <[email protected]>
vdpa/mlx5: Avoid overwriting CVQ iotlb
Eli Cohen <[email protected]>
vdpa/mlx5: Avoid using reslock in event_handler
Eli Cohen <[email protected]>
vdpa/mlx5: Return error on vlan ctrl commands if not supported
Ricardo Cañuelo <[email protected]>
tools/virtio: initialize spinlocks in vring_test.c
Anuradha Weeraman <[email protected]>
net: ethernet: marvell: octeontx2: Fix uninitialized variable warning
Hao Sun <[email protected]>
selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID
Olga Kornievskaia <[email protected]>
pNFS/filelayout: Fix coalescing test for single DS
Johannes Berg <[email protected]>
wifi: iwlwifi: fw: skip PPAG for JF
Naohiro Aota <[email protected]>
btrfs: fix trace event name typo for FLUSH_DELAYED_REFS
Christian König <[email protected]>
dma-buf: fix dma_buf_export init order v2
-------------
Diffstat:
Documentation/ABI/testing/sysfs-kernel-oops_count | 6 +
Documentation/ABI/testing/sysfs-kernel-warn_count | 6 +
Documentation/admin-guide/sysctl/kernel.rst | 19 ++
...2a-usb2-phy.yaml => amlogic,g12a-usb2-phy.yaml} | 8 +-
...ie-phy.yaml => amlogic,g12a-usb3-pcie-phy.yaml} | 6 +-
MAINTAINERS | 2 +
Makefile | 4 +-
arch/arm/boot/dts/qcom-apq8084-ifc6540.dts | 20 +-
arch/arm/boot/dts/qcom-apq8084.dtsi | 4 +-
arch/arm/mach-omap1/Kconfig | 5 +-
arch/arm/mach-omap1/Makefile | 4 -
arch/arm/mach-omap1/io.c | 32 ++-
arch/arm/mach-omap1/mcbsp.c | 21 --
arch/arm/mach-omap1/pm.h | 7 -
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 12 +-
arch/arm64/include/asm/efi.h | 3 +
arch/arm64/kernel/efi-rt-wrapper.S | 14 +-
arch/arm64/kernel/efi.c | 27 +++
arch/loongarch/kernel/cpu-probe.c | 2 +-
arch/powerpc/kernel/vmlinux.lds.S | 6 +-
arch/riscv/boot/dts/sifive/fu740-c000.dtsi | 2 +-
arch/s390/kernel/vmlinux.lds.S | 2 +
arch/x86/events/rapl.c | 5 +
arch/x86/kernel/fpu/init.c | 7 +-
arch/x86/lib/iomap_copy_64.S | 2 +-
block/mq-deadline.c | 4 +-
drivers/accessibility/speakup/spk_ttyio.c | 3 +
drivers/acpi/prmt.c | 10 +
drivers/block/pktcdvd.c | 2 +
drivers/bluetooth/hci_qca.c | 7 +
drivers/comedi/drivers/adv_pci1760.c | 2 +-
drivers/dma-buf/dma-buf-sysfs-stats.c | 7 +-
drivers/dma-buf/dma-buf-sysfs-stats.h | 4 +-
drivers/dma-buf/dma-buf.c | 84 ++++----
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 6 +
drivers/dma/idxd/device.c | 16 +-
drivers/dma/lgm/lgm-dma.c | 10 +-
drivers/dma/tegra210-adma.c | 2 +-
drivers/firmware/google/gsmi.c | 7 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 9 +
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 3 +
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 2 +
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 10 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 1 +
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 22 +-
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 1 +
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 3 +
drivers/gpu/drm/amd/amdgpu/soc21.c | 19 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 10 +-
.../gpu/drm/amd/display/dc/core/dc_hw_sequencer.c | 4 +-
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 1 +
drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 7 +-
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 3 +
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c | 17 +-
drivers/gpu/drm/i915/display/skl_universal_plane.c | 2 +-
drivers/gpu/drm/i915/i915_driver.c | 5 +-
drivers/gpu/drm/i915/i915_pci.c | 3 +-
drivers/gpu/drm/i915/i915_switcheroo.c | 6 +-
drivers/infiniband/ulp/srp/ib_srp.h | 8 +-
drivers/misc/fastrpc.c | 67 ++++---
drivers/misc/mei/bus.c | 12 +-
drivers/misc/mei/hw-me-regs.h | 2 +
drivers/misc/mei/pci-me.c | 2 +
drivers/misc/vmw_vmci/vmci_guest.c | 49 ++---
drivers/mmc/host/sdhci-esdhc-imx.c | 22 +-
drivers/mmc/host/sunxi-mmc.c | 8 +-
.../net/ethernet/marvell/octeontx2/af/mcs_rvu_if.c | 2 +-
.../ethernet/marvell/octeontx2/nic/otx2_common.c | 11 +-
.../ethernet/marvell/octeontx2/nic/otx2_common.h | 2 +
drivers/net/ethernet/mellanox/mlx5/core/health.c | 1 +
drivers/net/ethernet/realtek/r8169_main.c | 58 +++---
.../wireless/broadcom/brcm80211/brcmfmac/pcie.c | 2 +-
drivers/net/wireless/intel/iwlwifi/fw/acpi.c | 5 +
drivers/of/fdt.c | 28 +--
drivers/soc/qcom/apr.c | 3 +-
.../include/linux/raspberrypi/vchiq.h | 2 +-
.../vc04_services/interface/vchiq_arm/vchiq_arm.h | 4 +-
drivers/thunderbolt/retimer.c | 20 +-
drivers/thunderbolt/tb.c | 20 +-
drivers/thunderbolt/tunnel.c | 2 +-
drivers/thunderbolt/xdomain.c | 17 +-
drivers/tty/serial/8250/8250_exar.c | 14 ++
drivers/tty/serial/amba-pl011.c | 8 +-
drivers/tty/serial/atmel_serial.c | 8 +-
drivers/tty/serial/pch_uart.c | 2 +-
drivers/tty/serial/qcom_geni_serial.c | 18 +-
drivers/usb/cdns3/cdns3-gadget.c | 12 ++
drivers/usb/core/hub.c | 13 ++
drivers/usb/core/usb-acpi.c | 65 ++++++
drivers/usb/gadget/configfs.c | 12 +-
drivers/usb/gadget/function/f_ncm.c | 4 +-
drivers/usb/gadget/legacy/inode.c | 28 ++-
drivers/usb/gadget/legacy/webcam.c | 3 +
drivers/usb/host/ehci-fsl.c | 2 +-
drivers/usb/host/xhci-pci.c | 45 +++++
drivers/usb/host/xhci-ring.c | 5 +-
drivers/usb/host/xhci.c | 18 +-
drivers/usb/host/xhci.h | 5 +
drivers/usb/misc/iowarrior.c | 2 +-
drivers/usb/misc/onboard_usb_hub.c | 18 +-
drivers/usb/musb/omap2430.c | 4 +-
drivers/usb/serial/cp210x.c | 1 +
drivers/usb/serial/option.c | 17 ++
drivers/usb/storage/uas-detect.h | 13 ++
drivers/usb/storage/unusual_uas.h | 7 -
drivers/usb/typec/altmodes/displayport.c | 22 +-
drivers/usb/typec/tcpm/tcpm.c | 7 +-
drivers/vdpa/mlx5/core/mlx5_vdpa.h | 5 +-
drivers/vdpa/mlx5/core/mr.c | 44 ++--
drivers/vdpa/mlx5/net/mlx5_vnet.c | 68 ++-----
drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 3 +
drivers/vdpa/vdpa_user/vduse_dev.c | 3 +
drivers/video/fbdev/omap2/omapfb/dss/dsi.c | 28 ++-
drivers/virtio/virtio_pci_modern.c | 2 +-
fs/btrfs/disk-io.c | 9 +-
fs/btrfs/extent-tree.c | 7 +-
fs/btrfs/file.c | 13 +-
fs/btrfs/qgroup.c | 39 +++-
fs/btrfs/tree-log.c | 47 +++--
fs/btrfs/volumes.c | 11 +-
fs/cifs/connect.c | 16 --
fs/cifs/inode.c | 6 -
fs/cifs/misc.c | 45 -----
fs/cifs/smb2inode.c | 45 +++--
fs/cifs/smb2ops.c | 28 ++-
fs/cifs/smb2pdu.c | 26 ++-
fs/f2fs/extent_cache.c | 3 +-
fs/nfs/filelayout/filelayout.c | 8 +
fs/nilfs2/btree.c | 15 +-
fs/ntfs3/attrib.c | 2 +-
fs/userfaultfd.c | 28 ++-
fs/zonefs/super.c | 22 ++
include/asm-generic/vmlinux.lds.h | 5 +
include/linux/panic.h | 1 +
include/linux/soc/ti/omap1-io.h | 4 +-
include/linux/usb.h | 3 +
include/trace/events/btrfs.h | 2 +-
io_uring/poll.c | 6 +-
kernel/bpf/offload.c | 3 -
kernel/bpf/syscall.c | 6 +-
kernel/bpf/task_iter.c | 39 ++--
kernel/exit.c | 62 ++++++
kernel/kcsan/report.c | 3 +-
kernel/panic.c | 48 ++++-
kernel/sched/core.c | 3 +-
kernel/sys.c | 2 +
lib/ubsan.c | 3 +-
mm/hugetlb.c | 95 ++++++---
mm/kasan/report.c | 4 +-
mm/kfence/report.c | 3 +-
mm/khugepaged.c | 16 +-
mm/mmap.c | 4 +
mm/nommu.c | 9 +-
mm/shmem.c | 6 +-
net/bluetooth/hci_sync.c | 6 +-
net/ethtool/ioctl.c | 3 +-
net/ipv4/tcp_ulp.c | 2 +-
net/mac80211/agg-tx.c | 6 +-
net/mac80211/cfg.c | 7 +
net/mac80211/driver-ops.c | 3 +
net/mac80211/iface.c | 5 +-
net/mac80211/rx.c | 222 +++++++++------------
net/mptcp/pm.c | 25 +++
net/mptcp/pm_userspace.c | 7 +
net/mptcp/protocol.c | 2 +-
net/mptcp/protocol.h | 6 +-
net/mptcp/subflow.c | 9 +-
tools/testing/memblock/.gitignore | 1 +
tools/testing/memblock/Makefile | 3 +-
.../selftests/bpf/prog_tests/jeq_infer_not_null.c | 9 +
.../selftests/bpf/progs/jeq_infer_not_null_fail.c | 42 ++++
tools/testing/selftests/net/cmsg_sender.c | 2 +-
tools/testing/selftests/net/mptcp/userspace_pm.sh | 47 +++++
tools/testing/selftests/proc/proc-empty-vm.c | 12 +-
tools/testing/selftests/proc/proc-pid-vm.c | 9 +-
tools/virtio/vringh_test.c | 2 +
176 files changed, 1644 insertions(+), 854 deletions(-)
Hi Greg
6.1.8-rc1
compiles, boots and runs here on x86_64
(Intel i5-11400, Fedora 37)
Thanks
Tested-by: Ronald Warsow <[email protected]>
Hi Greg
On Mon, Jan 23, 2023 at 12:22 AM Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 6.1.8 release.
> There are 193 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, 24 Jan 2023 15:02:08 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.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.1.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
6.1.8-rc1 tested.
x86_64
build successfully completed.
boot successfully completed.
No dmesg regressions.
Lenovo ThinkPad X1 Nano Gen1(Intel i5-1130G7, arch linux)
Thanks
Tested-by: Takeshi Ogasawara <[email protected]>
On Sun, Jan 22, 2023 at 04:02:09PM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.1.8 release.
> There are 193 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, 24 Jan 2023 15:02:08 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.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.1.y
> and the diffstat can be found below.
Passes all 19 rcutorture scenarios, each tested for 1 hour.
Tested-by: Joel Fernandes (Google) <[email protected]>
thanks,
- Joel
>
> thanks,
>
> greg k-h
>
> -------------
> Pseudo-Shortlog of commits:
>
> Greg Kroah-Hartman <[email protected]>
> Linux 6.1.8-rc1
>
> Stephan Gerhold <[email protected]>
> soc: qcom: apr: Make qcom,protection-domain optional again
>
> Eric Dumazet <[email protected]>
> Revert "wifi: mac80211: fix memory leak in ieee80211_if_add()"
>
> Damien Le Moal <[email protected]>
> block: mq-deadline: Rename deadline_is_seq_writes()
>
> Yang Yingliang <[email protected]>
> net/mlx5: fix missing mutex_unlock in mlx5_fw_fatal_reporter_err_work()
>
> Kevin Hao <[email protected]>
> octeontx2-pf: Fix the use of GFP_KERNEL in atomic context on rt
>
> Paolo Abeni <[email protected]>
> net/ulp: use consistent error code when blocking ULP
>
> Geetha sowjanya <[email protected]>
> octeontx2-pf: Avoid use of GFP_KERNEL in atomic context
>
> Michael Ellerman <[email protected]>
> powerpc/vmlinux.lds: Don't discard .comment
>
> Michael Ellerman <[email protected]>
> powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds
>
> Michael Ellerman <[email protected]>
> powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT
>
> Masahiro Yamada <[email protected]>
> s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36
>
> Lang Yu <[email protected]>
> drm/amdgpu: correct MEC number for gfx11 APUs
>
> Tim Huang <[email protected]>
> drm/amdgpu: add tmz support for GC IP v11.0.4
>
> Yifan Zhang <[email protected]>
> drm/amdgpu: add tmz support for GC 11.0.1
>
> Tim Huang <[email protected]>
> drm/amdgpu: enable GFX Clock Gating control for GC IP v11.0.4
>
> Tim Huang <[email protected]>
> drm/amdgpu: enable GFX Power Gating for GC IP v11.0.4
>
> Tim Huang <[email protected]>
> drm/amdgpu: enable GFX IP v11.0.4 CG support
>
> Tim Huang <[email protected]>
> drm/amdgpu: enable PSP IP v13.0.11 support
>
> Yifan Zhang <[email protected]>
> drm/amdgpu/discovery: enable nbio support for NBIO v7.7.1
>
> Tim Huang <[email protected]>
> drm/amdgpu/pm: use the specific mailbox registers only for SMU IP v13.0.4
>
> Tim Huang <[email protected]>
> drm/amdgpu/soc21: add mode2 asic reset for SMU IP v13.0.11
>
> Yifan Zhang <[email protected]>
> drm/amdgpu/pm: add GFXOFF control IP version check for SMU IP v13.0.11
>
> Yifan Zhang <[email protected]>
> drm/amdgpu: add smu 13 support for smu 13.0.11
>
> Yifan Zhang <[email protected]>
> drm/amdgpu/pm: enable swsmu for SMU IP v13.0.11
>
> Tim Huang <[email protected]>
> drm/amdgpu/discovery: add PSP IP v13.0.11 support
>
> Yifan Zhang <[email protected]>
> drm/amdgpu: add gmc v11 support for GC 11.0.4
>
> Yifan Zhang <[email protected]>
> drm/amdgpu: add gfx support for GC 11.0.4
>
> Yifan Zhang <[email protected]>
> drm/amdgpu/discovery: set the APU flag for GC 11.0.4
>
> Yifan Zhang <[email protected]>
> drm/amdgpu: set GC 11.0.4 family
>
> Yifan Zhang <[email protected]>
> drm/amdgpu/discovery: enable mes support for GC v11.0.4
>
> Yifan Zhang <[email protected]>
> drm/amdgpu/discovery: enable gfx v11 for GC 11.0.4
>
> Yifan Zhang <[email protected]>
> drm/amdgpu/discovery: enable gmc v11 for GC 11.0.4
>
> Yifan Zhang <[email protected]>
> drm/amdgpu/discovery: enable soc21 common for GC 11.0.4
>
> Masahiro Yamada <[email protected]>
> arch: fix broken BuildID for arm64 and riscv
>
> YingChi Long <[email protected]>
> x86/fpu: Use _Alignof to avoid undefined behavior in TYPE_ALIGN
>
> Kees Cook <[email protected]>
> exit: Use READ_ONCE() for all oops/warn limit reads
>
> Kees Cook <[email protected]>
> docs: Fix path paste-o for /sys/kernel/warn_count
>
> Kees Cook <[email protected]>
> panic: Expose "warn_count" to sysfs
>
> Kees Cook <[email protected]>
> panic: Introduce warn_limit
>
> Kees Cook <[email protected]>
> panic: Consolidate open-coded panic_on_warn checks
>
> Kees Cook <[email protected]>
> exit: Allow oops_limit to be disabled
>
> Kees Cook <[email protected]>
> exit: Expose "oops_count" to sysfs
>
> Jann Horn <[email protected]>
> exit: Put an upper limit on how often we can oops
>
> Kees Cook <[email protected]>
> panic: Separate sysctl logic from CONFIG_SMP
>
> Ard Biesheuvel <[email protected]>
> efi: rt-wrapper: Add missing include
>
> Ard Biesheuvel <[email protected]>
> arm64: efi: Execute runtime services from a dedicated stack
>
> Alon Zahavi <[email protected]>
> fs/ntfs3: Fix attr_punch_hole() null pointer derenference
>
> Paulo Alcantara <[email protected]>
> cifs: reduce roundtrips on create/qinfo requests
>
> Alex Deucher <[email protected]>
> drm/amd/display: disable S/G display on DCN 3.1.4
>
> Alex Deucher <[email protected]>
> drm/amd/display: disable S/G display on DCN 3.1.5
>
> Joshua Ashton <[email protected]>
> drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix
>
> Joshua Ashton <[email protected]>
> drm/amd/display: Calculate output_color_space after pixel encoding adjustment
>
> hongao <[email protected]>
> drm/amd/display: Fix set scaling doesn's work
>
> Nirmoy Das <[email protected]>
> drm/i915: Remove unused variable
>
> Thomas Zimmermann <[email protected]>
> drm/i915: Allow switching away via vga-switcheroo if uninitialized
>
> Drew Davenport <[email protected]>
> drm/i915/display: Check source height is > 0
>
> Sasa Dragic <[email protected]>
> drm/i915: re-disable RC6p on Sandy Bridge
>
> jie1zhan <[email protected]>
> drm/amdgpu: Correct the power calcultion for Renior/Cezanne.
>
> Lang Yu <[email protected]>
> drm/amdgpu: allow multipipe policy on ASICs with one MEC
>
> Christian König <[email protected]>
> drm/amdgpu: fix amdgpu_job_free_resources v2
>
> Arnd Bergmann <[email protected]>
> ARM: omap1: fix !ARCH_OMAP1_ANY link failures
>
> Krzysztof Kozlowski <[email protected]>
> ARM: dts: qcom: apq8084-ifc6540: fix overriding SDHCI
>
> Vishnu Dasa <[email protected]>
> VMCI: Use threaded irqs instead of tasklets
>
> Alexander Usyskin <[email protected]>
> mei: me: add meteor lake point M DID
>
> Alexander Usyskin <[email protected]>
> mei: bus: fix unlink on bus in error path
>
> Khazhismel Kumykov <[email protected]>
> gsmi: fix null-deref in gsmi_get_variable
>
> Matthew Howell <[email protected]>
> serial: exar: Add support for Sealevel 7xxxC serial cards
>
> Tobias Schramm <[email protected]>
> serial: atmel: fix incorrect baudrate setup
>
> Lino Sanfilippo <[email protected]>
> serial: amba-pl011: fix high priority character transmission in rs486 mode
>
> Reinette Chatre <[email protected]>
> dmaengine: idxd: Do not call DMX TX callbacks during workqueue disable
>
> Reinette Chatre <[email protected]>
> dmaengine: idxd: Prevent use after free on completion memory
>
> Reinette Chatre <[email protected]>
> dmaengine: idxd: Let probe fail when workqueue cannot be enabled
>
> Mohan Kumar <[email protected]>
> dmaengine: tegra210-adma: fix global intr clear
>
> Peter Harliman Liem <[email protected]>
> dmaengine: lgm: Move DT parsing after initialization
>
> Ilpo Järvinen <[email protected]>
> serial: pch_uart: Pass correct sg to dma_unmap_sg()
>
> Heiner Kallweit <[email protected]>
> dt-bindings: phy: g12a-usb3-pcie-phy: fix compatible string documentation
>
> Heiner Kallweit <[email protected]>
> dt-bindings: phy: g12a-usb2-phy: fix compatible string documentation
>
> Li Jun <[email protected]>
> arm64: dts: imx8mp: correct usb clocks
>
> Juhyung Park <[email protected]>
> usb-storage: apply IGNORE_UAS only for HIKSEMI MD202 on RTL9210
>
> Maciej Żenczykowski <[email protected]>
> usb: gadget: f_ncm: fix potential NULL ptr deref in ncm_bitrate()
>
> Chanh Nguyen <[email protected]>
> USB: gadget: Add ID numbers to configfs-gadget driver names
>
> Daniel Scally <[email protected]>
> usb: gadget: g_webcam: Send color matching descriptor per frame
>
> Prashant Malani <[email protected]>
> usb: typec: altmodes/displayport: Fix pin assignment calculation
>
> Prashant Malani <[email protected]>
> usb: typec: altmodes/displayport: Add pin assignment helper
>
> ChiYuan Huang <[email protected]>
> usb: typec: tcpm: Fix altmode re-registration causes sysfs create fail
>
> Yang Yingliang <[email protected]>
> usb: musb: fix error return code in omap2430_probe()
>
> Alexander Stein <[email protected]>
> usb: host: ehci-fsl: Fix module alias
>
> Pawel Laszczak <[email protected]>
> usb: cdns3: remove fetched trb from cache before dequeuing
>
> Michael Adler <[email protected]>
> USB: serial: cp210x: add SCALANCE LPE-9000 device id
>
> Alan Stern <[email protected]>
> USB: gadgetfs: Fix race between mounting and unmounting
>
> Matthieu Baerts <[email protected]>
> selftests: mptcp: userspace: validate v4-v6 subflows mix
>
> Matthieu Baerts <[email protected]>
> mptcp: netlink: respect v4/v6-only sockets
>
> Paolo Abeni <[email protected]>
> mptcp: explicitly specify sock family at subflow creation time
>
> Jens Axboe <[email protected]>
> io_uring/poll: don't reissue in case of poll race on multishot request
>
> Jens Axboe <[email protected]>
> pktcdvd: check for NULL returna fter calling bio_split_to_limits()
>
> Gaosheng Cui <[email protected]>
> tty: fix possible null-ptr-defer in spk_ttyio_release
>
> Krzysztof Kozlowski <[email protected]>
> tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer
>
> Paul Moore <[email protected]>
> bpf: restore the ebpf program ID for BPF_AUDIT_UNLOAD and PERF_BPF_EVENT_PROG_UNLOAD
>
> Ben Dooks <[email protected]>
> riscv: dts: sifive: fu740: fix size of pcie 32bit memory
>
> Mika Westerberg <[email protected]>
> thunderbolt: Do not call PM runtime functions in tb_retimer_scan()
>
> Utkarsh Patel <[email protected]>
> thunderbolt: Do not report errors if on-board retimers are found
>
> Mika Westerberg <[email protected]>
> thunderbolt: Use correct function to calculate maximum USB3 link rate
>
> Mika Westerberg <[email protected]>
> thunderbolt: Disable XDomain lane 1 only in software connection manager
>
> Enzo Matsumiya <[email protected]>
> cifs: do not include page data when checking signature
>
> Filipe Manana <[email protected]>
> btrfs: fix race between quota rescan and disable leading to NULL pointer deref
>
> Filipe Manana <[email protected]>
> btrfs: fix invalid leaf access due to inline extent during lseek
>
> Qu Wenruo <[email protected]>
> btrfs: qgroup: do not warn on record without old_roots populated
>
> Filipe Manana <[email protected]>
> btrfs: do not abort transaction on failure to update log root
>
> Filipe Manana <[email protected]>
> btrfs: do not abort transaction on failure to write log tree when syncing log
>
> Filipe Manana <[email protected]>
> btrfs: add missing setup of log for full commit at add_conflicting_inode()
>
> Filipe Manana <[email protected]>
> btrfs: fix directory logging due to race with concurrent index key deletion
>
> Filipe Manana <[email protected]>
> btrfs: fix missing error handling when logging directory items
>
> Qu Wenruo <[email protected]>
> btrfs: add extra error messages to cover non-ENOMEM errors from device_add_list()
>
> Zach O'Keefe <[email protected]>
> mm/MADV_COLLAPSE: don't expand collapse when vm_end is past requested end
>
> David Hildenbrand <[email protected]>
> mm/userfaultfd: enable writenotify while userfaultfd-wp is enabled for a VMA
>
> Peter Xu <[email protected]>
> mm/hugetlb: pre-allocate pgtable pages for uffd wr-protects
>
> David Hildenbrand <[email protected]>
> mm/hugetlb: fix uffd-wp handling for migration entries in hugetlb_change_protection()
>
> David Hildenbrand <[email protected]>
> mm/hugetlb: fix PTE marker handling in hugetlb_change_protection()
>
> Haibo Chen <[email protected]>
> mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting
>
> Samuel Holland <[email protected]>
> mmc: sunxi-mmc: Fix clock refcount imbalance during unbind
>
> Ard Biesheuvel <[email protected]>
> ACPI: PRM: Check whether EFI runtime is available
>
> Ian Abbott <[email protected]>
> comedi: adv_pci1760: Fix PWM instruction handling
>
> Flavio Suligoi <[email protected]>
> usb: core: hub: disable autosuspend for TI TUSB8041
>
> Ola Jeppsson <[email protected]>
> misc: fastrpc: Fix use-after-free race condition for maps
>
> Abel Vesa <[email protected]>
> misc: fastrpc: Don't remove map on creater_process and device_release
>
> Abel Vesa <[email protected]>
> misc: fastrpc: Fix use-after-free and race in fastrpc_map_find
>
> Matthias Kaehlcke <[email protected]>
> usb: misc: onboard_hub: Move 'attach' work to the driver
>
> Matthias Kaehlcke <[email protected]>
> usb: misc: onboard_hub: Invert driver registration order
>
> Greg Kroah-Hartman <[email protected]>
> USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100
>
> Arnd Bergmann <[email protected]>
> staging: vchiq_arm: fix enum vchiq_status return types
>
> Duke Xin(辛安文) <[email protected]>
> USB: serial: option: add Quectel EM05CN modem
>
> Duke Xin(辛安文) <[email protected]>
> USB: serial: option: add Quectel EM05CN (SG) modem
>
> Ali Mirghasemi <[email protected]>
> USB: serial: option: add Quectel EC200U modem
>
> Duke Xin(辛安文) <[email protected]>
> USB: serial: option: add Quectel EM05-G (RS) modem
>
> Duke Xin(辛安文) <[email protected]>
> USB: serial: option: add Quectel EM05-G (CS) modem
>
> Duke Xin(辛安文) <[email protected]>
> USB: serial: option: add Quectel EM05-G (GR) modem
>
> Greg Kroah-Hartman <[email protected]>
> prlimit: do_prlimit needs to have a speculation check
>
> Mathias Nyman <[email protected]>
> xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables
>
> Mathias Nyman <[email protected]>
> usb: acpi: add helper to check port lpm capability using acpi _DSM
>
> Mathias Nyman <[email protected]>
> xhci: Add a flag to disable USB3 lpm on a xhci root port level.
>
> Mathias Nyman <[email protected]>
> xhci: Add update_hub_device override for PCI xHCI hosts
>
> Mathias Nyman <[email protected]>
> xhci: Fix null pointer dereference when host dies
>
> Jimmy Hu <[email protected]>
> usb: xhci: Check endpoint is valid before dereferencing it
>
> Ricardo Ribalda <[email protected]>
> xhci-pci: set the dma max_seg_size
>
> Greg Kroah-Hartman <[email protected]>
> Revert "serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler"
>
> Marek Vasut <[email protected]>
> serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler
>
> Hugh Dickins <[email protected]>
> mm/khugepaged: fix collapse_pte_mapped_thp() to allow anon_vma
>
> James Houghton <[email protected]>
> hugetlb: unshare some PMDs when splitting VMAs
>
> Zach O'Keefe <[email protected]>
> mm/shmem: restore SHMEM_HUGE_DENY precedence over MADV_COLLAPSE
>
> Ryusuke Konishi <[email protected]>
> nilfs2: fix general protection fault in nilfs_btree_insert()
>
> Damien Le Moal <[email protected]>
> zonefs: Detect append writes at invalid locations
>
> Huacai Chen <[email protected]>
> LoongArch: Add HWCAP_LOONGARCH_CPUCFG to elf_hwcap
>
> Shawn.Shao <[email protected]>
> Add exception protection processing for vd in axi_chan_handle_err function
>
> Alexey Dobriyan <[email protected]>
> proc: fix PIE proc-empty-vm, proc-pid-vm tests
>
> Liam Howlett <[email protected]>
> nommu: fix split_vma() map_count error
>
> Liam Howlett <[email protected]>
> nommu: fix do_munmap() error path
>
> Liam Howlett <[email protected]>
> nommu: fix memory leak in do_mmap() error path
>
> Felix Fietkau <[email protected]>
> wifi: mac80211: fix initialization of rx->link and rx->link_sta
>
> Alexander Wetzel <[email protected]>
> wifi: mac80211: sdata can be NULL during AMPDU start
>
> Aloka Dixit <[email protected]>
> wifi: mac80211: reset multiple BSSID options in stop_ap()
>
> Felix Fietkau <[email protected]>
> wifi: mac80211: fix MLO + AP_VLAN check
>
> Arend van Spriel <[email protected]>
> wifi: brcmfmac: fix regression for Broadcom PCIe wifi devices
>
> Krzysztof Kozlowski <[email protected]>
> Bluetooth: hci_qca: Fix driver shutdown on closed serdev
>
> Luiz Augusto von Dentz <[email protected]>
> Bluetooth: hci_sync: Fix use HCI_OP_LE_READ_BUFFER_SIZE_V2
>
> Arnd Bergmann <[email protected]>
> fbdev: omapfb: avoid stack overflow warning
>
> Rob Herring <[email protected]>
> of: fdt: Honor CONFIG_CMDLINE* even without /chosen node, take 2
>
> Zhang Rui <[email protected]>
> perf/x86/rapl: Add support for Intel Emerald Rapids
>
> Zhang Rui <[email protected]>
> perf/x86/rapl: Add support for Intel Meteor Lake
>
> Aaron Thompson <[email protected]>
> memblock tests: Fix compilation error.
>
> Paulo Alcantara <[email protected]>
> cifs: fix race in assemble_neg_contexts()
>
> Chris Wilson <[email protected]>
> perf/x86/rapl: Treat Tigerlake like Icelake
>
> Jaegeuk Kim <[email protected]>
> f2fs: let's avoid panic if extent_tree is not created
>
> Mikulas Patocka <[email protected]>
> x86/asm: Fix an assembler warning with current binutils
>
> Qu Wenruo <[email protected]>
> btrfs: always report error in run_one_delayed_ref()
>
> Po-Hsu Lin <[email protected]>
> selftests: net: fix cmsg_so_mark.sh test hang
>
> Jiri Slaby (SUSE) <[email protected]>
> RDMA/srp: Move large values to a new enum for gcc13
>
> Kui-Feng Lee <[email protected]>
> bpf: keep a reference to the mm, in case the task is dead.
>
> Chunhao Lin <[email protected]>
> r8169: fix dmar pte write access is not set error
>
> Chunhao Lin <[email protected]>
> r8169: move rtl_wol_enable_rx() and rtl_prepare_power_down()
>
> Daniil Tatianin <[email protected]>
> net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats
>
> Cindy Lu <[email protected]>
> vdpa_sim_net: should not drop the multicast/broadcast packet
>
> Harshit Mogalapalli <[email protected]>
> vduse: Validate vq_num in vduse_validate_config()
>
> Angus Chen <[email protected]>
> virtio_pci: modify ENOENT to EINVAL
>
> Eli Cohen <[email protected]>
> vdpa/mlx5: Avoid overwriting CVQ iotlb
>
> Eli Cohen <[email protected]>
> vdpa/mlx5: Avoid using reslock in event_handler
>
> Eli Cohen <[email protected]>
> vdpa/mlx5: Return error on vlan ctrl commands if not supported
>
> Ricardo Cañuelo <[email protected]>
> tools/virtio: initialize spinlocks in vring_test.c
>
> Anuradha Weeraman <[email protected]>
> net: ethernet: marvell: octeontx2: Fix uninitialized variable warning
>
> Hao Sun <[email protected]>
> selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID
>
> Olga Kornievskaia <[email protected]>
> pNFS/filelayout: Fix coalescing test for single DS
>
> Johannes Berg <[email protected]>
> wifi: iwlwifi: fw: skip PPAG for JF
>
> Naohiro Aota <[email protected]>
> btrfs: fix trace event name typo for FLUSH_DELAYED_REFS
>
> Christian König <[email protected]>
> dma-buf: fix dma_buf_export init order v2
>
>
> -------------
>
> Diffstat:
>
> Documentation/ABI/testing/sysfs-kernel-oops_count | 6 +
> Documentation/ABI/testing/sysfs-kernel-warn_count | 6 +
> Documentation/admin-guide/sysctl/kernel.rst | 19 ++
> ...2a-usb2-phy.yaml => amlogic,g12a-usb2-phy.yaml} | 8 +-
> ...ie-phy.yaml => amlogic,g12a-usb3-pcie-phy.yaml} | 6 +-
> MAINTAINERS | 2 +
> Makefile | 4 +-
> arch/arm/boot/dts/qcom-apq8084-ifc6540.dts | 20 +-
> arch/arm/boot/dts/qcom-apq8084.dtsi | 4 +-
> arch/arm/mach-omap1/Kconfig | 5 +-
> arch/arm/mach-omap1/Makefile | 4 -
> arch/arm/mach-omap1/io.c | 32 ++-
> arch/arm/mach-omap1/mcbsp.c | 21 --
> arch/arm/mach-omap1/pm.h | 7 -
> arch/arm64/boot/dts/freescale/imx8mp.dtsi | 12 +-
> arch/arm64/include/asm/efi.h | 3 +
> arch/arm64/kernel/efi-rt-wrapper.S | 14 +-
> arch/arm64/kernel/efi.c | 27 +++
> arch/loongarch/kernel/cpu-probe.c | 2 +-
> arch/powerpc/kernel/vmlinux.lds.S | 6 +-
> arch/riscv/boot/dts/sifive/fu740-c000.dtsi | 2 +-
> arch/s390/kernel/vmlinux.lds.S | 2 +
> arch/x86/events/rapl.c | 5 +
> arch/x86/kernel/fpu/init.c | 7 +-
> arch/x86/lib/iomap_copy_64.S | 2 +-
> block/mq-deadline.c | 4 +-
> drivers/accessibility/speakup/spk_ttyio.c | 3 +
> drivers/acpi/prmt.c | 10 +
> drivers/block/pktcdvd.c | 2 +
> drivers/bluetooth/hci_qca.c | 7 +
> drivers/comedi/drivers/adv_pci1760.c | 2 +-
> drivers/dma-buf/dma-buf-sysfs-stats.c | 7 +-
> drivers/dma-buf/dma-buf-sysfs-stats.h | 4 +-
> drivers/dma-buf/dma-buf.c | 84 ++++----
> drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 6 +
> drivers/dma/idxd/device.c | 16 +-
> drivers/dma/lgm/lgm-dma.c | 10 +-
> drivers/dma/tegra210-adma.c | 2 +-
> drivers/firmware/google/gsmi.c | 7 +-
> drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 9 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 3 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 2 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 10 +-
> drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 1 +
> drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 22 +-
> drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 1 +
> drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 3 +
> drivers/gpu/drm/amd/amdgpu/soc21.c | 19 +-
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 10 +-
> .../gpu/drm/amd/display/dc/core/dc_hw_sequencer.c | 4 +-
> drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 1 +
> drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 7 +-
> drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 3 +
> .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c | 17 +-
> drivers/gpu/drm/i915/display/skl_universal_plane.c | 2 +-
> drivers/gpu/drm/i915/i915_driver.c | 5 +-
> drivers/gpu/drm/i915/i915_pci.c | 3 +-
> drivers/gpu/drm/i915/i915_switcheroo.c | 6 +-
> drivers/infiniband/ulp/srp/ib_srp.h | 8 +-
> drivers/misc/fastrpc.c | 67 ++++---
> drivers/misc/mei/bus.c | 12 +-
> drivers/misc/mei/hw-me-regs.h | 2 +
> drivers/misc/mei/pci-me.c | 2 +
> drivers/misc/vmw_vmci/vmci_guest.c | 49 ++---
> drivers/mmc/host/sdhci-esdhc-imx.c | 22 +-
> drivers/mmc/host/sunxi-mmc.c | 8 +-
> .../net/ethernet/marvell/octeontx2/af/mcs_rvu_if.c | 2 +-
> .../ethernet/marvell/octeontx2/nic/otx2_common.c | 11 +-
> .../ethernet/marvell/octeontx2/nic/otx2_common.h | 2 +
> drivers/net/ethernet/mellanox/mlx5/core/health.c | 1 +
> drivers/net/ethernet/realtek/r8169_main.c | 58 +++---
> .../wireless/broadcom/brcm80211/brcmfmac/pcie.c | 2 +-
> drivers/net/wireless/intel/iwlwifi/fw/acpi.c | 5 +
> drivers/of/fdt.c | 28 +--
> drivers/soc/qcom/apr.c | 3 +-
> .../include/linux/raspberrypi/vchiq.h | 2 +-
> .../vc04_services/interface/vchiq_arm/vchiq_arm.h | 4 +-
> drivers/thunderbolt/retimer.c | 20 +-
> drivers/thunderbolt/tb.c | 20 +-
> drivers/thunderbolt/tunnel.c | 2 +-
> drivers/thunderbolt/xdomain.c | 17 +-
> drivers/tty/serial/8250/8250_exar.c | 14 ++
> drivers/tty/serial/amba-pl011.c | 8 +-
> drivers/tty/serial/atmel_serial.c | 8 +-
> drivers/tty/serial/pch_uart.c | 2 +-
> drivers/tty/serial/qcom_geni_serial.c | 18 +-
> drivers/usb/cdns3/cdns3-gadget.c | 12 ++
> drivers/usb/core/hub.c | 13 ++
> drivers/usb/core/usb-acpi.c | 65 ++++++
> drivers/usb/gadget/configfs.c | 12 +-
> drivers/usb/gadget/function/f_ncm.c | 4 +-
> drivers/usb/gadget/legacy/inode.c | 28 ++-
> drivers/usb/gadget/legacy/webcam.c | 3 +
> drivers/usb/host/ehci-fsl.c | 2 +-
> drivers/usb/host/xhci-pci.c | 45 +++++
> drivers/usb/host/xhci-ring.c | 5 +-
> drivers/usb/host/xhci.c | 18 +-
> drivers/usb/host/xhci.h | 5 +
> drivers/usb/misc/iowarrior.c | 2 +-
> drivers/usb/misc/onboard_usb_hub.c | 18 +-
> drivers/usb/musb/omap2430.c | 4 +-
> drivers/usb/serial/cp210x.c | 1 +
> drivers/usb/serial/option.c | 17 ++
> drivers/usb/storage/uas-detect.h | 13 ++
> drivers/usb/storage/unusual_uas.h | 7 -
> drivers/usb/typec/altmodes/displayport.c | 22 +-
> drivers/usb/typec/tcpm/tcpm.c | 7 +-
> drivers/vdpa/mlx5/core/mlx5_vdpa.h | 5 +-
> drivers/vdpa/mlx5/core/mr.c | 44 ++--
> drivers/vdpa/mlx5/net/mlx5_vnet.c | 68 ++-----
> drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 3 +
> drivers/vdpa/vdpa_user/vduse_dev.c | 3 +
> drivers/video/fbdev/omap2/omapfb/dss/dsi.c | 28 ++-
> drivers/virtio/virtio_pci_modern.c | 2 +-
> fs/btrfs/disk-io.c | 9 +-
> fs/btrfs/extent-tree.c | 7 +-
> fs/btrfs/file.c | 13 +-
> fs/btrfs/qgroup.c | 39 +++-
> fs/btrfs/tree-log.c | 47 +++--
> fs/btrfs/volumes.c | 11 +-
> fs/cifs/connect.c | 16 --
> fs/cifs/inode.c | 6 -
> fs/cifs/misc.c | 45 -----
> fs/cifs/smb2inode.c | 45 +++--
> fs/cifs/smb2ops.c | 28 ++-
> fs/cifs/smb2pdu.c | 26 ++-
> fs/f2fs/extent_cache.c | 3 +-
> fs/nfs/filelayout/filelayout.c | 8 +
> fs/nilfs2/btree.c | 15 +-
> fs/ntfs3/attrib.c | 2 +-
> fs/userfaultfd.c | 28 ++-
> fs/zonefs/super.c | 22 ++
> include/asm-generic/vmlinux.lds.h | 5 +
> include/linux/panic.h | 1 +
> include/linux/soc/ti/omap1-io.h | 4 +-
> include/linux/usb.h | 3 +
> include/trace/events/btrfs.h | 2 +-
> io_uring/poll.c | 6 +-
> kernel/bpf/offload.c | 3 -
> kernel/bpf/syscall.c | 6 +-
> kernel/bpf/task_iter.c | 39 ++--
> kernel/exit.c | 62 ++++++
> kernel/kcsan/report.c | 3 +-
> kernel/panic.c | 48 ++++-
> kernel/sched/core.c | 3 +-
> kernel/sys.c | 2 +
> lib/ubsan.c | 3 +-
> mm/hugetlb.c | 95 ++++++---
> mm/kasan/report.c | 4 +-
> mm/kfence/report.c | 3 +-
> mm/khugepaged.c | 16 +-
> mm/mmap.c | 4 +
> mm/nommu.c | 9 +-
> mm/shmem.c | 6 +-
> net/bluetooth/hci_sync.c | 6 +-
> net/ethtool/ioctl.c | 3 +-
> net/ipv4/tcp_ulp.c | 2 +-
> net/mac80211/agg-tx.c | 6 +-
> net/mac80211/cfg.c | 7 +
> net/mac80211/driver-ops.c | 3 +
> net/mac80211/iface.c | 5 +-
> net/mac80211/rx.c | 222 +++++++++------------
> net/mptcp/pm.c | 25 +++
> net/mptcp/pm_userspace.c | 7 +
> net/mptcp/protocol.c | 2 +-
> net/mptcp/protocol.h | 6 +-
> net/mptcp/subflow.c | 9 +-
> tools/testing/memblock/.gitignore | 1 +
> tools/testing/memblock/Makefile | 3 +-
> .../selftests/bpf/prog_tests/jeq_infer_not_null.c | 9 +
> .../selftests/bpf/progs/jeq_infer_not_null_fail.c | 42 ++++
> tools/testing/selftests/net/cmsg_sender.c | 2 +-
> tools/testing/selftests/net/mptcp/userspace_pm.sh | 47 +++++
> tools/testing/selftests/proc/proc-empty-vm.c | 12 +-
> tools/testing/selftests/proc/proc-pid-vm.c | 9 +-
> tools/virtio/vringh_test.c | 2 +
> 176 files changed, 1644 insertions(+), 854 deletions(-)
>
>
On Sun, Jan 22, 2023 at 04:02:09PM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.1.8 release.
> There are 193 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.
Hi Greg,
6.1.8-rc1 tested.
Run tested on:
- Allwinner H6 (Tanix TX6)
- Intel Alder Lake x86_64 (nuc12 i7-1260P)
In addition - build tested for:
- Allwinner A64
- Allwinner H3
- Allwinner H5
- NXP iMX6
- NXP iMX8
- Qualcomm Dragonboard
- Rockchip RK3288
- Rockchip RK3328
- Rockchip RK3399pro
- Samsung Exynos
Tested-by: Rudi Heitbaum <[email protected]>
--
Rudi
Hey Greg,
On Sun, Jan 22, 2023 at 04:02:09PM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.1.8 release.
> There are 193 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, 24 Jan 2023 15:02:08 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.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.1.y
> and the diffstat can be found below.
For our RISC-V stuff, LGTM.
Tested-by: Conor Dooley <[email protected]>
Thanks,
Conor.
On Sun, 22 Jan 2023 at 20:51, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 6.1.8 release.
> There are 193 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, 24 Jan 2023 15:02:08 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.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.1.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Results from Linaro’s test farm.
Reported-by: Linux Kernel Functional Testing <[email protected]>
* sh, build
- gcc-8-dreamcast_defconfig
- gcc-8-microdev_defconfig
Build error logs:
`.exit.text' referenced in section `__bug_table' of crypto/algboss.o:
defined in discarded section `.exit.text' of crypto/algboss.o
`.exit.text' referenced in section `__bug_table' of
drivers/char/hw_random/core.o: defined in discarded section
`.exit.text' of drivers/char/hw_random/core.o
make[2]: *** [/builds/linux/scripts/Makefile.vmlinux:34: vmlinux] Error 1
Bisection points to this commit,
arch: fix broken BuildID for arm64 and riscv
commit 99cb0d917ffa1ab628bb67364ca9b162c07699b1 upstream.
Ref:
upstream discussion thread,
https://lore.kernel.org/all/[email protected]/
Steps to reproduce:
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.
# Original tuxmake command with fragments listed below.
tuxmake --runtime podman --target-arch sh --toolchain gcc-8 --kconfig
microdev_defconfig
Build log links,
https://storage.tuxsuite.com/public/linaro/lkft/builds/2KgeCQc3ZdltaEFoi0CwyJlUcuk/
--
Linaro LKFT
https://lkft.linaro.org
On Sun, Jan 22, 2023 at 04:02:09PM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.1.8 release.
> There are 193 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 cross-compiled for arm64 (bcm2711_defconfig, GCC 10.2.0) and
powerpc (ps3_defconfig, GCC 12.2.0).
Tested-by: Bagas Sanjaya <[email protected]>
--
An old man doll... just what I always wanted! - Clara
On 1/22/23 7:02 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.1.8 release.
> There are 193 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, 24 Jan 2023 15:02:08 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.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.1.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]>
Hi Greg,
On Sun, Jan 22, 2023 at 04:02:09PM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.1.8 release.
> There are 193 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, 24 Jan 2023 15:02:08 +0000.
> Anything received after that time might be too late.
Build test (gcc version 12.2.1 20230113):
mips: 52 configs -> no failure
arm: 100 configs -> no failure
arm64: 3 configs -> no failure
x86_64: 4 configs -> no failure
alpha allmodconfig -> no failure
csky allmodconfig -> no failure
powerpc allmodconfig -> no failure
riscv allmodconfig -> no failure
s390 allmodconfig -> no failure
xtensa allmodconfig -> no failure
Boot test:
x86_64: Booted on my test laptop. No regression.
x86_64: Booted on qemu. No regression. [1]
arm64: Booted on rpi4b (4GB model). No regression. [2]
mips: Booted on ci20 board. No regression. [3]
[1]. https://openqa.qa.codethink.co.uk/tests/2705
[2]. https://openqa.qa.codethink.co.uk/tests/2700
[3]. https://openqa.qa.codethink.co.uk/tests/2706
Tested-by: Sudip Mukherjee <[email protected]>
--
Regards
Sudip
On Mon, Jan 23, 2023 at 01:39:11PM +0530, Naresh Kamboju wrote:
> On Sun, 22 Jan 2023 at 20:51, Greg Kroah-Hartman
> <[email protected]> wrote:
> >
> > This is the start of the stable review cycle for the 6.1.8 release.
> > There are 193 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, 24 Jan 2023 15:02:08 +0000.
> > Anything received after that time might be too late.
> >
> > The whole patch series can be found in one patch at:
> > https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.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.1.y
> > and the diffstat can be found below.
> >
> > thanks,
> >
> > greg k-h
>
>
> Results from Linaro’s test farm.
>
> Reported-by: Linux Kernel Functional Testing <[email protected]>
>
> * sh, build
> - gcc-8-dreamcast_defconfig
> - gcc-8-microdev_defconfig
Naresh, any chance you could test again adding the following:
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S
index 3161b9ccd2a5..b6276a3521d7 100644
--- a/arch/sh/kernel/vmlinux.lds.S
+++ b/arch/sh/kernel/vmlinux.lds.S
@@ -4,6 +4,7 @@
* Written by Niibe Yutaka and Paul Mundt
*/
OUTPUT_ARCH(sh)
+#define RUNTIME_DISCARD_EXIT
#include <asm/thread_info.h>
#include <asm/cache.h>
#include <asm/vmlinux.lds.h>
My guess is build environment is using ld < 2.36??
and this is probably similar to:
a494398bde27 ("s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36")
4b9880dbf3bd ("powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT")
Regards,
--Tom
>
>
> Build error logs:
> `.exit.text' referenced in section `__bug_table' of crypto/algboss.o:
> defined in discarded section `.exit.text' of crypto/algboss.o
> `.exit.text' referenced in section `__bug_table' of
> drivers/char/hw_random/core.o: defined in discarded section
> `.exit.text' of drivers/char/hw_random/core.o
> make[2]: *** [/builds/linux/scripts/Makefile.vmlinux:34: vmlinux] Error 1
>
> Bisection points to this commit,
> arch: fix broken BuildID for arm64 and riscv
> commit 99cb0d917ffa1ab628bb67364ca9b162c07699b1 upstream.
>
> Ref:
> upstream discussion thread,
> https://lore.kernel.org/all/[email protected]/
>
> Steps to reproduce:
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
> # See https://docs.tuxmake.org/ for complete documentation.
> # Original tuxmake command with fragments listed below.
>
> tuxmake --runtime podman --target-arch sh --toolchain gcc-8 --kconfig
> microdev_defconfig
>
> Build log links,
> https://storage.tuxsuite.com/public/linaro/lkft/builds/2KgeCQc3ZdltaEFoi0CwyJlUcuk/
>
> --
> Linaro LKFT
> https://lkft.linaro.org
On Mon, Jan 23, 2023 at 01:11:32PM -0600, Tom Saeger wrote:
> On Mon, Jan 23, 2023 at 01:39:11PM +0530, Naresh Kamboju wrote:
> > On Sun, 22 Jan 2023 at 20:51, Greg Kroah-Hartman
> > <[email protected]> wrote:
> > >
> > > This is the start of the stable review cycle for the 6.1.8 release.
> > > There are 193 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, 24 Jan 2023 15:02:08 +0000.
> > > Anything received after that time might be too late.
> > >
> > > The whole patch series can be found in one patch at:
> > > https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.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.1.y
> > > and the diffstat can be found below.
> > >
> > > thanks,
> > >
> > > greg k-h
> >
> >
> > Results from Linaro’s test farm.
> >
> > Reported-by: Linux Kernel Functional Testing <[email protected]>
> >
> > * sh, build
> > - gcc-8-dreamcast_defconfig
> > - gcc-8-microdev_defconfig
>
> Naresh, any chance you could test again adding the following:
>
> diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S
> index 3161b9ccd2a5..b6276a3521d7 100644
> --- a/arch/sh/kernel/vmlinux.lds.S
> +++ b/arch/sh/kernel/vmlinux.lds.S
> @@ -4,6 +4,7 @@
> * Written by Niibe Yutaka and Paul Mundt
> */
> OUTPUT_ARCH(sh)
> +#define RUNTIME_DISCARD_EXIT
> #include <asm/thread_info.h>
> #include <asm/cache.h>
> #include <asm/vmlinux.lds.h>
>
>
> My guess is build environment is using ld < 2.36??
> and this is probably similar to:
> a494398bde27 ("s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36")
> 4b9880dbf3bd ("powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT")
>
>
> Regards,
>
> --Tom
>
> >
> >
> > Build error logs:
> > `.exit.text' referenced in section `__bug_table' of crypto/algboss.o:
> > defined in discarded section `.exit.text' of crypto/algboss.o
> > `.exit.text' referenced in section `__bug_table' of
> > drivers/char/hw_random/core.o: defined in discarded section
> > `.exit.text' of drivers/char/hw_random/core.o
> > make[2]: *** [/builds/linux/scripts/Makefile.vmlinux:34: vmlinux] Error 1
This is also occurring in latest upstream:
❯ git describe HEAD
v6.2-rc5-13-g2475bf0250de
❯ tuxmake --runtime podman --target-arch sh --toolchain gcc-8 --kconfig microdev_defconfig
`.exit.text' referenced in section `__bug_table' of crypto/algboss.o: defined in discarded section `.exit.text' of crypto/algboss.o
`.exit.text' referenced in section `__bug_table' of drivers/char/hw_random/core.o: defined in discarded section `.exit.text' of drivers/char/hw_random/core.o
make[2]: *** [/home2/tsaeger/linux/linux-upstream/scripts/Makefile.vmlinux:35: vmlinux] Error 1
make[2]: Target '__default' not remade because of errors.
make[1]: *** [/home2/tsaeger/linux/linux-upstream/Makefile:1264: vmlinux] Error 2
make[1]: Target '__all' not remade because of errors.
make: *** [Makefile:242: __sub-make] Error 2
make: Target '__all' not remade because of errors.
FWIW, the above patch resolves this.
How many more architectures need something similar?
> >
> > Bisection points to this commit,
> > arch: fix broken BuildID for arm64 and riscv
> > commit 99cb0d917ffa1ab628bb67364ca9b162c07699b1 upstream.
> >
> > Ref:
> > upstream discussion thread,
> > https://lore.kernel.org/all/[email protected]/
> >
> > Steps to reproduce:
> > # To install tuxmake on your system globally:
> > # sudo pip3 install -U tuxmake
> > #
> > # See https://docs.tuxmake.org/ for complete documentation.
> > # Original tuxmake command with fragments listed below.
> >
> > tuxmake --runtime podman --target-arch sh --toolchain gcc-8 --kconfig
> > microdev_defconfig
> >
> > Build log links,
> > https://storage.tuxsuite.com/public/linaro/lkft/builds/2KgeCQc3ZdltaEFoi0CwyJlUcuk/
> >
> > --
> > Linaro LKFT
> > https://lkft.linaro.org
On Tue, 24 Jan 2023 at 00:41, Tom Saeger <[email protected]> wrote:
>
> On Mon, Jan 23, 2023 at 01:39:11PM +0530, Naresh Kamboju wrote:
> > On Sun, 22 Jan 2023 at 20:51, Greg Kroah-Hartman
> > <[email protected]> wrote:
> > >
> > > This is the start of the stable review cycle for the 6.1.8 release.
> > > There are 193 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, 24 Jan 2023 15:02:08 +0000.
> > > Anything received after that time might be too late.
> > >
> > > The whole patch series can be found in one patch at:
> > > https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.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.1.y
> > > and the diffstat can be found below.
> > >
> > > thanks,
> > >
> > > greg k-h
> >
> >
> > Results from Linaro’s test farm.
> >
> > Reported-by: Linux Kernel Functional Testing <[email protected]>
> >
> > * sh, build
> > - gcc-8-dreamcast_defconfig
> > - gcc-8-microdev_defconfig
>
> Naresh, any chance you could test again adding the following:
>
> diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S
> index 3161b9ccd2a5..b6276a3521d7 100644
> --- a/arch/sh/kernel/vmlinux.lds.S
> +++ b/arch/sh/kernel/vmlinux.lds.S
> @@ -4,6 +4,7 @@
> * Written by Niibe Yutaka and Paul Mundt
> */
> OUTPUT_ARCH(sh)
> +#define RUNTIME_DISCARD_EXIT
> #include <asm/thread_info.h>
> #include <asm/cache.h>
> #include <asm/vmlinux.lds.h>
Above patch fixes the reported problem.
Tested-by: Linux Kernel Functional Testing <[email protected]>
Tested-by: Naresh Kamboju <[email protected]>
>
> My guess is build environment is using ld < 2.36??
"ld": "GNU ld (GNU Binutils for Debian) 2.31.1",
However, we have been building with gcc-8, gcc-10, gcc-11 and gcc-10.
> and this is probably similar to:
> a494398bde27 ("s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36")
> 4b9880dbf3bd ("powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT")
>
>
> Regards,
>
> --Tom
Best regards
Naresh Kamboju
Hi Tom,
On Tue, 24 Jan 2023 at 01:12, Tom Saeger <[email protected]> wrote:
>
> On Mon, Jan 23, 2023 at 01:11:32PM -0600, Tom Saeger wrote:
> > On Mon, Jan 23, 2023 at 01:39:11PM +0530, Naresh Kamboju wrote:
> > > On Sun, 22 Jan 2023 at 20:51, Greg Kroah-Hartman
> > >
> > > Results from Linaro’s test farm.
> > >
> > > Reported-by: Linux Kernel Functional Testing <[email protected]>
> > >
> > > * sh, build
> > > - gcc-8-dreamcast_defconfig
> > > - gcc-8-microdev_defconfig
> >
> > Naresh, any chance you could test again adding the following:
> >
> > diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S
> > index 3161b9ccd2a5..b6276a3521d7 100644
> > --- a/arch/sh/kernel/vmlinux.lds.S
> > +++ b/arch/sh/kernel/vmlinux.lds.S
> > @@ -4,6 +4,7 @@
> > * Written by Niibe Yutaka and Paul Mundt
> > */
> > OUTPUT_ARCH(sh)
> > +#define RUNTIME_DISCARD_EXIT
> > #include <asm/thread_info.h>
> > #include <asm/cache.h>
> > #include <asm/vmlinux.lds.h>
> >
> >
> > My guess is build environment is using ld < 2.36??
> > and this is probably similar to:
> > a494398bde27 ("s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36")
> > 4b9880dbf3bd ("powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT")
> >
> >
> > Regards,
> >
> > --Tom
> >
> > >
> > >
> > > Build error logs:
> > > `.exit.text' referenced in section `__bug_table' of crypto/algboss.o:
> > > defined in discarded section `.exit.text' of crypto/algboss.o
> > > `.exit.text' referenced in section `__bug_table' of
> > > drivers/char/hw_random/core.o: defined in discarded section
> > > `.exit.text' of drivers/char/hw_random/core.o
> > > make[2]: *** [/builds/linux/scripts/Makefile.vmlinux:34: vmlinux] Error 1
>
>
> This is also occurring in latest upstream:
Right !
build/gcc-8-dreamcast_defconfig
build/gcc-8-microdev_defconfig
These build errors started from v6.2-rc2 on the mainline [1] & [2].
>
> ❯ git describe HEAD
> v6.2-rc5-13-g2475bf0250de
>
> ❯ tuxmake --runtime podman --target-arch sh --toolchain gcc-8 --kconfig microdev_defconfig
>
> `.exit.text' referenced in section `__bug_table' of crypto/algboss.o: defined in discarded section `.exit.text' of crypto/algboss.o
> `.exit.text' referenced in section `__bug_table' of drivers/char/hw_random/core.o: defined in discarded section `.exit.text' of drivers/char/hw_random/core.o
> make[2]: *** [/home2/tsaeger/linux/linux-upstream/scripts/Makefile.vmlinux:35: vmlinux] Error 1
> make[2]: Target '__default' not remade because of errors.
> make[1]: *** [/home2/tsaeger/linux/linux-upstream/Makefile:1264: vmlinux] Error 2
> make[1]: Target '__all' not remade because of errors.
> make: *** [Makefile:242: __sub-make] Error 2
> make: Target '__all' not remade because of errors.
>
>
> FWIW, the above patch resolves this.
Yes. Tested and confirmed it fixes the reported problem.
> How many more architectures need something similar?
Now I see it on sh with gcc-8 only on the mainline.
OTOH,
It was noticed on earlier stable-rc 5.4 for x86, i386, powerpc, sh and s390.
git_describe : v5.4.228-679-g79cbaf4448f3
kernel_version: 5.4.230-rc1
Regressions found on sh: [1] & [2] mainline and below
- build/gcc-8-dreamcast_defconfig
- build/gcc-8-microdev_defconfig
Regressions found on i386: [3]
- build/gcc-8-i386_defconfig
Regressions found on powerpc: [4]
- build/gcc-8-mpc83xx_defconfig
- build/gcc-8-ppc64e_defconfig
- build/gcc-8-maple_defconfig
- build/gcc-8-ppc6xx_defconfig
- build/gcc-8-defconfig
- build/gcc-8-tqm8xx_defconfig
- build/gcc-8-cell_defconfig
Regressions found on s390: [5]
- build/gcc-8-defconfig-fe40093d
Regressions found on x86_64: [6]
- build/gcc-8-x86_64_defconfig
[1] https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.2-rc5-20-g7bf70dbb1882/testrun/14340424/suite/build/test/gcc-8-microdev_defconfig/history/?page=3
[2] https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.2-rc5-20-g7bf70dbb1882/testrun/14340393/suite/build/test/gcc-8-dreamcast_defconfig/history/?page=3
[3] https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.4.y/build/v5.4.228-679-g79cbaf4448f3/testrun/14304065/suite/build/test/gcc-8-i386_defconfig/history/
[4] https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.4.y/build/v5.4.228-679-g79cbaf4448f3/testrun/14304362/suite/build/tests/
[5] https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.4.y/build/v5.4.228-679-g79cbaf4448f3/testrun/14304530/suite/build/tests/
[6] https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.4.y/build/v5.4.228-679-g79cbaf4448f3/testrun/14304610/suite/build/test/gcc-8-x86_64_defconfig/history/
stable-rc report on 5.4:
https://lore.kernel.org/stable/Y85tO%2FmJOxIaWH4c@debian/T/#m6b1fdc9bcfc15944e26e3cdd6b1310c878251999
Best regards
Naresh Kamboju
On Tue, Jan 24, 2023 at 05:41:22PM +0530, Naresh Kamboju wrote:
> Hi Tom,
>
> On Tue, 24 Jan 2023 at 01:12, Tom Saeger <[email protected]> wrote:
> >
> > On Mon, Jan 23, 2023 at 01:11:32PM -0600, Tom Saeger wrote:
> > > On Mon, Jan 23, 2023 at 01:39:11PM +0530, Naresh Kamboju wrote:
> > > > On Sun, 22 Jan 2023 at 20:51, Greg Kroah-Hartman
> > > >
> > > > Results from Linaro’s test farm.
> > > >
> > > > Reported-by: Linux Kernel Functional Testing <[email protected]>
> > > >
> > > > * sh, build
> > > > - gcc-8-dreamcast_defconfig
> > > > - gcc-8-microdev_defconfig
> > >
> > > Naresh, any chance you could test again adding the following:
> > >
> > > diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S
> > > index 3161b9ccd2a5..b6276a3521d7 100644
> > > --- a/arch/sh/kernel/vmlinux.lds.S
> > > +++ b/arch/sh/kernel/vmlinux.lds.S
> > > @@ -4,6 +4,7 @@
> > > * Written by Niibe Yutaka and Paul Mundt
> > > */
> > > OUTPUT_ARCH(sh)
> > > +#define RUNTIME_DISCARD_EXIT
> > > #include <asm/thread_info.h>
> > > #include <asm/cache.h>
> > > #include <asm/vmlinux.lds.h>
> > >
> > >
> > > My guess is build environment is using ld < 2.36??
> > > and this is probably similar to:
> > > a494398bde27 ("s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36")
> > > 4b9880dbf3bd ("powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT")
> > >
> > >
> > > Regards,
> > >
> > > --Tom
> > >
> > > >
> > > >
> > > > Build error logs:
> > > > `.exit.text' referenced in section `__bug_table' of crypto/algboss.o:
> > > > defined in discarded section `.exit.text' of crypto/algboss.o
> > > > `.exit.text' referenced in section `__bug_table' of
> > > > drivers/char/hw_random/core.o: defined in discarded section
> > > > `.exit.text' of drivers/char/hw_random/core.o
> > > > make[2]: *** [/builds/linux/scripts/Makefile.vmlinux:34: vmlinux] Error 1
> >
> >
> > This is also occurring in latest upstream:
>
> Right !
> build/gcc-8-dreamcast_defconfig
> build/gcc-8-microdev_defconfig
>
> These build errors started from v6.2-rc2 on the mainline [1] & [2].
>
> >
> > ❯ git describe HEAD
> > v6.2-rc5-13-g2475bf0250de
> >
> > ❯ tuxmake --runtime podman --target-arch sh --toolchain gcc-8 --kconfig microdev_defconfig
> >
> > `.exit.text' referenced in section `__bug_table' of crypto/algboss.o: defined in discarded section `.exit.text' of crypto/algboss.o
> > `.exit.text' referenced in section `__bug_table' of drivers/char/hw_random/core.o: defined in discarded section `.exit.text' of drivers/char/hw_random/core.o
> > make[2]: *** [/home2/tsaeger/linux/linux-upstream/scripts/Makefile.vmlinux:35: vmlinux] Error 1
> > make[2]: Target '__default' not remade because of errors.
> > make[1]: *** [/home2/tsaeger/linux/linux-upstream/Makefile:1264: vmlinux] Error 2
> > make[1]: Target '__all' not remade because of errors.
> > make: *** [Makefile:242: __sub-make] Error 2
> > make: Target '__all' not remade because of errors.
> >
> >
> > FWIW, the above patch resolves this.
> Yes. Tested and confirmed it fixes the reported problem.
>
> > How many more architectures need something similar?
> Now I see it on sh with gcc-8 only on the mainline.
>
> OTOH,
> It was noticed on earlier stable-rc 5.4 for x86, i386, powerpc, sh and s390.
>
> git_describe : v5.4.228-679-g79cbaf4448f3
> kernel_version: 5.4.230-rc1
>
> Regressions found on sh: [1] & [2] mainline and below
> - build/gcc-8-dreamcast_defconfig
> - build/gcc-8-microdev_defconfig
>
> Regressions found on i386: [3]
> - build/gcc-8-i386_defconfig
>
> Regressions found on powerpc: [4]
> - build/gcc-8-mpc83xx_defconfig
> - build/gcc-8-ppc64e_defconfig
> - build/gcc-8-maple_defconfig
> - build/gcc-8-ppc6xx_defconfig
> - build/gcc-8-defconfig
> - build/gcc-8-tqm8xx_defconfig
> - build/gcc-8-cell_defconfig
>
> Regressions found on s390: [5]
> - build/gcc-8-defconfig-fe40093d
>
> Regressions found on x86_64: [6]
> - build/gcc-8-x86_64_defconfig
v5.4 needs:
84d5f77fc2ee ("x86, vmlinux.lds: Add RUNTIME_DISCARD_EXIT to generic DISCARDS")
which didn't hit Linus's tree until: v5.7-rc1~164^2~1
This explains why v5.4 blew-up and v5.10 didn't.
I'm testing the following for v5.4
84d5f77fc2ee ("x86, vmlinux.lds: Add RUNTIME_DISCARD_EXIT to generic DISCARDS")
This needed a little massaging to apply.
99cb0d917ffa ("arch: fix broken BuildID for arm64 and riscv")
4b9880dbf3bd ("powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT")
07b050f9290e ("powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds")
a494398bde27 ("s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36")
+ the arch/sh patch https://lore.kernel.org/all/9166a8abdc0f979e50377e61780a4bba1dfa2f52.1674518464.git.tom.saeger@oracle.com/
I'd be grateful if you could confirm - so I can send this full series to
Greg.
If you'd rather - I can send the patch-series now for testing?
Regards,
--Tom
>
>
> [1] https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.2-rc5-20-g7bf70dbb1882/testrun/14340424/suite/build/test/gcc-8-microdev_defconfig/history/?page=3
> [2] https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.2-rc5-20-g7bf70dbb1882/testrun/14340393/suite/build/test/gcc-8-dreamcast_defconfig/history/?page=3
>
> [3] https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.4.y/build/v5.4.228-679-g79cbaf4448f3/testrun/14304065/suite/build/test/gcc-8-i386_defconfig/history/
> [4] https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.4.y/build/v5.4.228-679-g79cbaf4448f3/testrun/14304362/suite/build/tests/
> [5] https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.4.y/build/v5.4.228-679-g79cbaf4448f3/testrun/14304530/suite/build/tests/
> [6] https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.4.y/build/v5.4.228-679-g79cbaf4448f3/testrun/14304610/suite/build/test/gcc-8-x86_64_defconfig/history/
>
> stable-rc report on 5.4:
> https://lore.kernel.org/stable/Y85tO%2FmJOxIaWH4c@debian/T/#m6b1fdc9bcfc15944e26e3cdd6b1310c878251999
>
> Best regards
> Naresh Kamboju
On Tue, 24 Jan 2023 at 18:25, Tom Saeger <[email protected]> wrote:
>
> On Tue, Jan 24, 2023 at 05:41:22PM +0530, Naresh Kamboju wrote:
> > Hi Tom,
> >
> > On Tue, 24 Jan 2023 at 01:12, Tom Saeger <[email protected]> wrote:
> > >
> > > On Mon, Jan 23, 2023 at 01:11:32PM -0600, Tom Saeger wrote:
> > > > On Mon, Jan 23, 2023 at 01:39:11PM +0530, Naresh Kamboju wrote:
> > > > > On Sun, 22 Jan 2023 at 20:51, Greg Kroah-Hartman
> > > > >
> > > > > Results from Linaro’s test farm.
> > > > >
> > > > > Reported-by: Linux Kernel Functional Testing <[email protected]>
> > > > >
> > > > > * sh, build
> > > > > - gcc-8-dreamcast_defconfig
> > > > > - gcc-8-microdev_defconfig
> > > >
> > > > Naresh, any chance you could test again adding the following:
> > > >
> > > > diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S
> > > > index 3161b9ccd2a5..b6276a3521d7 100644
> > > > --- a/arch/sh/kernel/vmlinux.lds.S
> > > > +++ b/arch/sh/kernel/vmlinux.lds.S
> > > > @@ -4,6 +4,7 @@
> > > > * Written by Niibe Yutaka and Paul Mundt
> > > > */
> > > > OUTPUT_ARCH(sh)
> > > > +#define RUNTIME_DISCARD_EXIT
> > > > #include <asm/thread_info.h>
> > > > #include <asm/cache.h>
> > > > #include <asm/vmlinux.lds.h>
> > > >
> > > >
> > > > My guess is build environment is using ld < 2.36??
> > > > and this is probably similar to:
> > > > a494398bde27 ("s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36")
> > > > 4b9880dbf3bd ("powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT")
> > > >
> > > >
> > > > Regards,
> > > >
> > > > --Tom
> > > >
> > > > >
> > > > >
> > > > > Build error logs:
> > > > > `.exit.text' referenced in section `__bug_table' of crypto/algboss.o:
> > > > > defined in discarded section `.exit.text' of crypto/algboss.o
> > > > > `.exit.text' referenced in section `__bug_table' of
> > > > > drivers/char/hw_random/core.o: defined in discarded section
> > > > > `.exit.text' of drivers/char/hw_random/core.o
> > > > > make[2]: *** [/builds/linux/scripts/Makefile.vmlinux:34: vmlinux] Error 1
> > >
> > >
> > > This is also occurring in latest upstream:
> >
> > Right !
> > build/gcc-8-dreamcast_defconfig
> > build/gcc-8-microdev_defconfig
> >
> > These build errors started from v6.2-rc2 on the mainline [1] & [2].
> >
> > >
> > > ❯ git describe HEAD
> > > v6.2-rc5-13-g2475bf0250de
> > >
> > > ❯ tuxmake --runtime podman --target-arch sh --toolchain gcc-8 --kconfig microdev_defconfig
> > >
> > > `.exit.text' referenced in section `__bug_table' of crypto/algboss.o: defined in discarded section `.exit.text' of crypto/algboss.o
> > > `.exit.text' referenced in section `__bug_table' of drivers/char/hw_random/core.o: defined in discarded section `.exit.text' of drivers/char/hw_random/core.o
> > > make[2]: *** [/home2/tsaeger/linux/linux-upstream/scripts/Makefile.vmlinux:35: vmlinux] Error 1
> > > make[2]: Target '__default' not remade because of errors.
> > > make[1]: *** [/home2/tsaeger/linux/linux-upstream/Makefile:1264: vmlinux] Error 2
> > > make[1]: Target '__all' not remade because of errors.
> > > make: *** [Makefile:242: __sub-make] Error 2
> > > make: Target '__all' not remade because of errors.
> > >
> > >
> > > FWIW, the above patch resolves this.
> > Yes. Tested and confirmed it fixes the reported problem.
> >
> > > How many more architectures need something similar?
> > Now I see it on sh with gcc-8 only on the mainline.
> >
> > OTOH,
> > It was noticed on earlier stable-rc 5.4 for x86, i386, powerpc, sh and s390.
> >
> > git_describe : v5.4.228-679-g79cbaf4448f3
> > kernel_version: 5.4.230-rc1
> >
> > Regressions found on sh: [1] & [2] mainline and below
> > - build/gcc-8-dreamcast_defconfig
> > - build/gcc-8-microdev_defconfig
> >
> > Regressions found on i386: [3]
> > - build/gcc-8-i386_defconfig
> >
> > Regressions found on powerpc: [4]
> > - build/gcc-8-mpc83xx_defconfig
> > - build/gcc-8-ppc64e_defconfig
> > - build/gcc-8-maple_defconfig
> > - build/gcc-8-ppc6xx_defconfig
> > - build/gcc-8-defconfig
> > - build/gcc-8-tqm8xx_defconfig
> > - build/gcc-8-cell_defconfig
> >
> > Regressions found on s390: [5]
> > - build/gcc-8-defconfig-fe40093d
> >
> > Regressions found on x86_64: [6]
> > - build/gcc-8-x86_64_defconfig
>
> v5.4 needs:
> 84d5f77fc2ee ("x86, vmlinux.lds: Add RUNTIME_DISCARD_EXIT to generic DISCARDS")
>
> which didn't hit Linus's tree until: v5.7-rc1~164^2~1
> This explains why v5.4 blew-up and v5.10 didn't.
>
> I'm testing the following for v5.4
>
> 84d5f77fc2ee ("x86, vmlinux.lds: Add RUNTIME_DISCARD_EXIT to generic DISCARDS")
> This needed a little massaging to apply.
>
> 99cb0d917ffa ("arch: fix broken BuildID for arm64 and riscv")
> 4b9880dbf3bd ("powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT")
> 07b050f9290e ("powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds")
> a494398bde27 ("s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36")
> + the arch/sh patch https://lore.kernel.org/all/9166a8abdc0f979e50377e61780a4bba1dfa2f52.1674518464.git.tom.saeger@oracle.com/
>
>
> I'd be grateful if you could confirm - so I can send this full series to
> Greg.
>
> If you'd rather - I can send the patch-series now for testing?
Please send your repo and branch. I will pick up and run tests on it.
- Naresh