Unverified Commit 90208564 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!5318 Backport 6.6.8 LTS Patches

Merge Pull Request from: @ci-robot 
 
PR sync from: Peng Zhang <zhangpeng362@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/N647TQH3XEGTMFHK7E7X4IDZDPXU2WEQ/ 
From: ZhangPeng <zhangpeng362@huawei.com>

Backport linux-6.6.8 LTS patches from upstream.
git cherry-pick v6.6.7..v6.6.8~1 -s
There are only 2 simple context conflicts.
Build and boot test passed for arm64 & x86.

Al Viro (1):
  io_uring/cmd: fix breakage in SOCKET_URING_OP_SIOC* implementation

Alex Deucher (1):
  drm/amdgpu/sdma5.2: add begin/end_use ring callbacks

Amelie Delaunay (1):
  dmaengine: stm32-dma: avoid bitfield overflow assertion

Amir Goldstein (1):
  fuse: disable FOPEN_PARALLEL_DIRECT_WRITES with
    FUSE_DIRECT_IO_ALLOW_MMAP

Andrew Halaney (1):
  net: stmmac: Handle disabled MDIO busses from devicetree

Andrzej Kacprowski (1):
  accel/ivpu/37xx: Fix interrupt_clear_with_0 WA initialization

Andy Shevchenko (1):
  platform/x86: intel_telemetry: Fix kernel doc descriptions

Aoba K (1):
  HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad

Ard Biesheuvel (1):
  efi/x86: Avoid physical KASLR on older Dell systems

Baokun Li (1):
  ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS

Bjorn Helgaas (1):
  Revert "PCI: acpiphp: Reassign resources on bridge if necessary"

Boris Burkov (3):
  btrfs: free qgroup reserve when ORDERED_IOERR is set
  btrfs: fix qgroup_free_reserved_data int overflow
  btrfs: don't clear qgroup reserved bit in release_folio

Brett Raye (1):
  HID: glorious: fix Glorious Model I HID report

Chengfeng Ye (2):
  atm: solos-pci: Fix potential deadlock on &cli_queue_lock
  atm: solos-pci: Fix potential deadlock on &tx_queue_lock

Chris Mi (2):
  net/mlx5e: Disable IPsec offload support if not FW steering
  net/mlx5e: TC, Don't offload post action rule if not supported

Christian König (1):
  drm/amdgpu: fix tear down order in amdgpu_vm_pt_free

Colin Ian King (1):
  bcache: remove redundant assignment to variable cur_idx

Coly Li (3):
  bcache: avoid oversize memory allocation by small stripe_size
  bcache: add code comments for bch_btree_node_get() and
    __bch_btree_node_alloc()
  bcache: avoid NULL checking to c->root in run_cache_set()

Dan Carpenter (1):
  net/mlx5: Fix a NULL vs IS_ERR() check

Dan Williams (1):
  cxl/hdm: Fix dpa translation locking

David Arinzon (4):
  net: ena: Destroy correct number of xdp queues upon failure
  net: ena: Fix xdp drops handling due to multibuf packets
  net: ena: Fix DMA syncing in XDP path when SWIOTLB is on
  net: ena: Fix XDP redirection error

David Hildenbrand (1):
  selftests/mm: cow: print ksft header before printing anything else

David Howells (2):
  afs: Fix refcount underflow from error handling race
  rxrpc: Fix some minor issues with bundle tracing

David Stevens (1):
  mm/shmem: fix race in shmem_undo_range w/THP

Denis Benato (2):
  HID: hid-asus: reset the backlight brightness level on resume
  HID: hid-asus: add const to read-only outgoing usb buffer

Dinghao Liu (1):
  qed: Fix a potential use-after-free in qed_cxt_tables_alloc

Dong Chenchen (1):
  net: Remove acked SYN flag from packet in the transmit queue correctly

Eduard Zingerman (1):
  selftests/bpf: fix bpf_loop_bench for new callback verification scheme

Fangrui Song (1):
  x86/speculation, objtool: Use absolute relocations for annotations

Florent Revest (1):
  team: Fix use-after-free when an option instance allocation fails

Frank Li (1):
  dmaengine: fsl-edma: fix DMA channel leak in eDMAv4

Gavin Li (1):
  net/mlx5e: Check netdev pointer before checking its net ns

Gergo Koteles (4):
  ALSA: hda/tas2781: leave hda_component in usable state
  ALSA: hda/tas2781: handle missing EFI calibration data
  ALSA: hda/tas2781: call cleanup functions only once
  ALSA: hda/tas2781: reset the amp before component_add

Hamish Martin (2):
  HID: mcp2221: Set driver data before I2C adapter add
  HID: mcp2221: Allow IO to start during probe

Hangyu Hua (1):
  fuse: dax: set fc->dax to NULL in fuse_dax_conn_free()

Hannes Reinecke (1):
  nvme: catch errors from nvme_configure_metadata()

Hariprasad Kelam (3):
  octeontx2-pf: Fix promisc mcam entry action
  octeontx2-af: Update RSS algorithm index
  octeontx2-af: Fix pause frame configuration

Hartmut Knaack (1):
  ALSA: hda/realtek: Apply mute LED quirk for HP15-db

Heiko Carstens (1):
  scripts/checkstack.pl: match all stack sizes for s390

Huacai Chen (2):
  LoongArch: Silence the boot warning about 'nokaslr'
  LoongArch: Mark {dmw,tlb}_virt_to_page() exports as non-GPL

Hyunwoo Kim (3):
  atm: Fix Use-After-Free in do_vcc_ioctl
  net/rose: Fix Use-After-Free in rose_ioctl
  appletalk: Fix Use-After-Free in atalk_ioctl

Ignat Korchagin (1):
  kexec: drop dependency on ARCH_SUPPORTS_KEXEC from CRASH_DUMP

Igor Russkikh (1):
  net: atlantic: fix double free in ring reinit logic

Ioana Ciornei (2):
  dpaa2-switch: fix size of the dma_unmap
  dpaa2-switch: do not ask for MDB, VLAN and FDB replay

James Houghton (1):
  arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify

Jan Kara (1):
  ext4: fix warning in ext4_dio_write_end_io()

Jani Nikula (1):

Jason-JH.Lin (1):
  drm/mediatek: Add spinlock for setting vblank event in atomic_begin

Jean Delvare (1):
  stmmac: dwmac-loongson: Add architecture dependency

Jianbo Liu (2):
  net/mlx5e: Check the number of elements before walk TC rhashtable

Jiaxun Yang (1):
  PCI: loongson: Limit MRRS to 256

Johan Hovold (2):
  PCI/ASPM: Add pci_enable_link_state_locked()
  PCI: vmd: Fix potential deadlock when enabling ASPM

John Hubbard (1):
  Revert "selftests: error out if kernel header files are not yet built"

Josef Bacik (1):
  btrfs: do not allow non subvolume root targets for snapshot

Kai Vehmanen (2):
  ALSA: hda/hdmi: add force-connect quirk for NUC5CPYB
  ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 variants

Kalesh AP (1):
  bnxt_en: Fix wrong return value check in bnxt_close_nic()

Kelly Kane (1):
  r8152: add vendor/device ID pair for ASUS USB-C2500

Krister Johansen (1):
  fuse: share lookup state between submount and its parent

Krzysztof Kozlowski (1):
  soundwire: stream: fix NULL pointer dereference for multi_link

Lech Perczak (1):
  net: usb: qmi_wwan: claim interface 4 for ZTE MF290

Leon Romanovsky (3):
  net/mlx5e: Honor user choice of IPsec replay window size
  net/mlx5e: Ensure that IPsec sequence packet number starts from 1
  net/mlx5e: Tidy up IPsec NAT-T SA discovery

Linus Torvalds (1):
  asm-generic: qspinlock: fix queued_spin_value_unlocked()
    implementation

Maciej Żenczykowski (1):
  net: ipv6: support reporting otherwise unknown prefix flags in
    RTM_NEWPREFIX

Mario Limonciello (3):
  HID: i2c-hid: Add IDEA5002 to i2c_hid_acpi_blacklist[]
  drm/amd/display: Restore guard against default backlight value < 1 nit
  drm/amd/display: Disable PSR-SU on Parade 0803 TCON again

Mark O'Donovan (1):
  nvme-auth: set explanation code for failure2 msgs

Mark Rutland (1):
  perf: Fix perf_event_validate_size() lockdep splat

Masahiro Yamada (2):
  LoongArch: Add dependency between vmlinuz.efi and vmlinux.efi
  arm64: add dependency between vmlinuz.efi and Image

Michael Chan (1):
  bnxt_en: Fix HWTSTAMP_FILTER_ALL packet timestamp logic

Michael Walle (1):
  drm/mediatek: fix kernel oops if no crtc is found

Mikhail Khvainitski (1):
  HID: lenovo: Restrict detection of patched firmware only to USB cptkbd

Ming Lei (1):
  blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock
    required!"

Moshe Shemesh (2):
  net/mlx5e: Fix possible deadlock on mlx5e_tx_timeout_work
  net/mlx5: Nack sync reset request when HotPlug is enabled

Namjae Jeon (1):
  ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE

Nguyen Dinh Phi (1):
  nfc: virtual_ncidev: Add variable to check if ndev is running

Nikolay Kuratov (1):
  vsock/virtio: Fix unsigned integer wrap around in
    virtio_transport_has_space()

Oliver Neukum (2):
  usb: aqc111: check packet for fixup for true limit
  HID: add ALWAYS_POLL quirk for Apple kb

Patrisious Haddad (3):
  net/mlx5e: Unify esw and normal IPsec status table
    creation/destruction
  RDMA/mlx5: Send events from IB driver about device affiliation state
  RDMA/mlx5: Change the key being sent for MPV device affiliation

Paulo Alcantara (6):
  smb: client: implement ->query_reparse_point() for SMB1
  smb: client: introduce ->parse_reparse_point()
  smb: client: set correct file type from NFS reparse points
  smb: client: fix potential OOBs in smb2_parse_contexts()
  smb: client: fix NULL deref in asn1_ber_decoder()
  smb: client: fix OOB in smb2_query_reparse_point()

Piotr Gardocki (2):
  iavf: Introduce new state machines for flow director
  iavf: Handle ntuple on/off based on new state machines for flow
    director

Radu Bulie (1):
  net: fec: correct queue selection

Saurabh Sengar (1):
  x86/hyperv: Fix the detection of E820_TYPE_PRAM in a Gen2 VM

Sebastian Parschauer (1):
  HID: Add quirk for Labtec/ODDOR/aikeec handbrake

Shinas Rasheed (1):
  octeon_ep: explicitly test for firmware ready value

Slawomir Laba (1):
  iavf: Fix iavf_shutdown to call iavf_remove instead iavf_close

Sneh Shah (1):
  net: stmmac: dwmac-qcom-ethqos: Fix drops in 10M SGMII RX

Somnath Kotur (1):
  bnxt_en: Clear resource reservation during resume

Sreekanth Reddy (1):
  bnxt_en: Fix skb recycling logic in bnxt_deliver_skb()

Stanislaw Gruszka (1):
  accel/ivpu: Print information about used workarounds

Stefan Wahren (3):
  qca_debug: Prevent crash on TX ring changes
  qca_debug: Fix ethtool -G iface tx behavior
  qca_spi: Fix reset behavior

Steven Rostedt (Google) (9):
  eventfs: Do not allow NULL parent to eventfs_start_creating()
  ring-buffer: Fix memory leak of free page
  tracing: Update snapshot buffer on resize if it is allocated
  ring-buffer: Do not update before stamp when switching sub-buffers
  ring-buffer: Have saved event hold the entire event
  ring-buffer: Fix writing to the buffer with max_data_size
  ring-buffer: Fix a race in rb_time_cmpxchg() for 32 bit archs
  ring-buffer: Do not try to put back write_stamp
  ring-buffer: Have rb_time_cmpxchg() set the msb counter too

Stuart Lee (1):
  drm/mediatek: Fix access violation in mtk_drm_crtc_dma_dev_get

Tvrtko Ursulin (2):
  drm/i915/selftests: Fix engine reset count storage for multi-tile
  drm/i915: Use internal class when counting engine resets

Tyler Fanelli (1):
  fuse: Rename DIRECT_IO_RELAX to DIRECT_IO_ALLOW_MMAP

Ville Syrjälä (3):
  drm/i915: Fix ADL+ tiled plane stride when the POT stride is smaller
    than the original
  drm/i915: Fix intel_atomic_setup_scalers() plane_state handling
  drm/i915: Fix remapped stride with CCS on ADL+

Vlad Buslov (1):
  net/sched: act_ct: Take per-cb reference to tcf_ct_flow_table

WANG Rui (1):
  LoongArch: Record pc instead of offset in la_abs relocation

Yanteng Si (1):
  stmmac: dwmac-loongson: Make sure MDIO is initialized before use

Yihong Cao (1):
  HID: apple: add Jamesdonkey and A3R to non-apple keyboards list

Yu Zhao (4):
  mm/mglru: fix underprotected page cache
  mm/mglru: try to stop at high watermarks
  mm/mglru: respect min_ttl_ms with memcgs
  mm/mglru: reclaim offlined memcgs harder

Yusong Gao (1):
  sign-file: Fix incorrect return values check

Zhipeng Lu (1):
  octeontx2-af: fix a use-after-free in rvu_nix_register_reporters

Zizhi Wo (1):
  ksmbd: fix memory leak in smb2_lock()


-- 
2.25.1
 
https://gitee.com/openeuler/kernel/issues/I99K53 
 
Link:https://gitee.com/openeuler/kernel/pulls/5318

 

Reviewed-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents 00c33318 c63b32e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ endif

all:	$(notdir $(KBUILD_IMAGE))


vmlinuz.efi: Image
Image vmlinuz.efi: vmlinux
	$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@

+6 −0
Original line number Diff line number Diff line
@@ -826,6 +826,12 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
		pte = set_pte_bit(pte, __pgprot(PTE_DIRTY));

	pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask);
	/*
	 * If we end up clearing hw dirtiness for a sw-dirty PTE, set hardware
	 * dirtiness again.
	 */
	if (pte_sw_dirty(pte))
		pte = pte_mkdirty(pte);
	return pte;
}

+2 −0
Original line number Diff line number Diff line
@@ -142,6 +142,8 @@ vdso_install:

all:	$(notdir $(KBUILD_IMAGE))

vmlinuz.efi: vmlinux.efi

vmlinux.elf vmlinux.efi vmlinuz.efi: vmlinux
	$(Q)$(MAKE) $(build)=$(boot) $(bootvars-y) $(boot)/$@

+1 −2
Original line number Diff line number Diff line
@@ -609,8 +609,7 @@
	lu32i.d	\reg, 0
	lu52i.d	\reg, \reg, 0
	.pushsection ".la_abs", "aw", %progbits
	768:
	.dword	768b-766b
	.dword	766b
	.dword	\sym
	.popsection
#endif
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ extern void set_merr_handler(unsigned long offset, void *addr, unsigned long len
#ifdef CONFIG_RELOCATABLE

struct rela_la_abs {
	long offset;
	long pc;
	long symvalue;
};

Loading