Skip to contentSkip to conversation

Linux 5.10.176

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Mar 22, 2023 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 5.10.176 kernel.

All users of the 5.10 kernel series must upgrade.

The updated 5.10.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h

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

 Documentation/filesystems/vfs.rst                              |    2 
 Documentation/trace/ftrace.rst                                 |    2 
 Makefile                                                       |    2 
 arch/s390/boot/ipl_report.c                                    |    8 
 arch/x86/kernel/cpu/mce/core.c                                 |    1 
 arch/x86/kvm/vmx/nested.c                                      |   10 
 arch/x86/mm/mem_encrypt_identity.c                             |    3 
 drivers/block/Kconfig                                          |    8 
 drivers/block/Makefile                                         |    7 
 drivers/block/null_blk.h                                       |  137 
 drivers/block/null_blk/Kconfig                                 |   12 
 drivers/block/null_blk/Makefile                                |   11 
 drivers/block/null_blk/main.c                                  | 2036 ++++++++++
 drivers/block/null_blk/null_blk.h                              |  137 
 drivers/block/null_blk/trace.c                                 |   21 
 drivers/block/null_blk/trace.h                                 |   79 
 drivers/block/null_blk/zoned.c                                 |  617 +++
 drivers/block/null_blk_main.c                                  | 2036 ----------
 drivers/block/null_blk_trace.c                                 |   21 
 drivers/block/null_blk_trace.h                                 |   79 
 drivers/block/null_blk_zoned.c                                 |  617 ---
 drivers/block/sunvdc.c                                         |    2 
 drivers/clk/Kconfig                                            |    2 
 drivers/cpuidle/cpuidle-psci-domain.c                          |    3 
 drivers/firmware/xilinx/zynqmp.c                               |    2 
 drivers/gpu/drm/amd/amdkfd/kfd_events.c                        |    9 
 drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c |    5 
 drivers/gpu/drm/drm_gem_shmem_helper.c                         |    9 
 drivers/gpu/drm/i915/gt/intel_ring.c                           |    2 
 drivers/gpu/drm/i915/i915_active.c                             |   24 
 drivers/gpu/drm/meson/meson_vpp.c                              |    2 
 drivers/gpu/drm/panfrost/panfrost_mmu.c                        |    2 
 drivers/hid/hid-core.c                                         |   18 
 drivers/hid/uhid.c                                             |    1 
 drivers/hwmon/adt7475.c                                        |    8 
 drivers/hwmon/ina3221.c                                        |    2 
 drivers/hwmon/pmbus/adm1266.c                                  |    1 
 drivers/hwmon/pmbus/ucd9000.c                                  |   75 
 drivers/hwmon/tmp513.c                                         |    2 
 drivers/hwmon/xgene-hwmon.c                                    |    1 
 drivers/interconnect/core.c                                    |    4 
 drivers/media/i2c/m5mols/m5mols_core.c                         |    2 
 drivers/mmc/host/atmel-mci.c                                   |    3 
 drivers/mmc/host/sdhci_am654.c                                 |    2 
 drivers/net/dsa/mv88e6xxx/chip.c                               |   16 
 drivers/net/ethernet/intel/i40e/i40e_main.c                    |    1 
 drivers/net/ethernet/intel/ice/ice_xsk.c                       |    4 
 drivers/net/ethernet/qlogic/qed/qed_dev.c                      |    5 
 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c                  |    2 
 drivers/net/ethernet/sun/ldmvsw.c                              |    3 
 drivers/net/ethernet/sun/sunvnet.c                             |    3 
 drivers/net/ipvlan/ipvlan_l3s.c                                |    1 
 drivers/net/phy/smsc.c                                         |    5 
 drivers/net/usb/smsc75xx.c                                     |    7 
 drivers/nfc/pn533/usb.c                                        |    1 
 drivers/nfc/st-nci/ndlc.c                                      |    6 
 drivers/nvme/host/core.c                                       |   28 
 drivers/nvme/target/core.c                                     |    4 
 drivers/pci/pci-driver.c                                       |    4 
 drivers/pci/pci.c                                              |   57 
 drivers/pci/pci.h                                              |   16 
 drivers/pci/pcie/dpc.c                                         |    4 
 drivers/scsi/hosts.c                                           |    5 
 drivers/scsi/mpt3sas/mpt3sas_transport.c                       |   14 
 drivers/tty/serial/8250/8250_em.c                              |    4 
 drivers/tty/serial/fsl_lpuart.c                                |   12 
 drivers/video/fbdev/stifb.c                                    |   27 
 fs/attr.c                                                      |   70 
 fs/cifs/smb2inode.c                                            |   31 
 fs/cifs/transport.c                                            |   21 
 fs/ext4/inode.c                                                |   18 
 fs/ext4/namei.c                                                |    4 
 fs/ext4/xattr.c                                                |   11 
 fs/inode.c                                                     |   80 
 fs/internal.h                                                  |    6 
 fs/jffs2/file.c                                                |   15 
 fs/namei.c                                                     |   80 
 fs/ocfs2/file.c                                                |    4 
 fs/ocfs2/namei.c                                               |    1 
 fs/open.c                                                      |    6 
 fs/xfs/libxfs/xfs_btree.c                                      |    8 
 fs/xfs/xfs_bmap_util.c                                         |    9 
 fs/xfs/xfs_file.c                                              |   24 
 fs/xfs/xfs_iops.c                                              |   56 
 fs/xfs/xfs_iops.h                                              |    1 
 fs/xfs/xfs_mount.c                                             |    3 
 fs/xfs/xfs_pnfs.c                                              |    9 
 fs/xfs/xfs_qm.c                                                |    9 
 include/drm/drm_bridge.h                                       |    4 
 include/linux/fs.h                                             |    5 
 include/linux/hid.h                                            |    3 
 include/linux/netdevice.h                                      |    6 
 include/linux/sh_intc.h                                        |    5 
 include/linux/tracepoint.h                                     |   15 
 io_uring/io_uring.c                                            |    4 
 kernel/trace/ftrace.c                                          |    3 
 kernel/trace/trace.c                                           |    2 
 kernel/trace/trace_events_hist.c                               |    3 
 mm/huge_memory.c                                               |    6 
 net/ipv4/fib_frontend.c                                        |    3 
 net/ipv4/ip_tunnel.c                                           |   12 
 net/ipv4/tcp_output.c                                          |    2 
 net/ipv6/ip6_tunnel.c                                          |    4 
 net/iucv/iucv.c                                                |    2 
 net/mptcp/subflow.c                                            |    1 
 net/netfilter/nft_masq.c                                       |    2 
 net/netfilter/nft_nat.c                                        |    2 
 net/netfilter/nft_redir.c                                      |    4 
 net/smc/smc_cdc.c                                              |    3 
 net/smc/smc_core.c                                             |    2 
 net/xfrm/xfrm_state.c                                          |    3 
 sound/hda/intel-dsp-config.c                                   |    9 
 sound/pci/hda/hda_intel.c                                      |    5 
 sound/pci/hda/patch_realtek.c                                  |    1 
 tools/testing/selftests/net/devlink_port_split.py              |   30 
 115 files changed, 3620 insertions(+), 3243 deletions(-)

Alex Hung (1):
drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes

Alexandra Winter (1):
net/iucv: Fix size of interrupt data

Amir Goldstein (4):
attr: add in_group_or_capable()
fs: move should_remove_suid()
attr: add setattr_should_drop_sgid()
attr: use consistent sgid stripping checks

Baokun Li (2):
ext4: fail ext4_iget if special inode unallocated
ext4: fix task hung in ext4_xattr_delete_inode

Bard Liao (1):
ALSA: hda: intel-dsp-config: add MTL PCI id

Bart Van Assche (1):
scsi: core: Fix a procfs host directory removal regression

Biju Das (1):
serial: 8250_em: Fix UART port type

Bjorn Helgaas (1):
ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()

Breno Leitao (1):
tcp: tcp_make_synack() can be called from process context

Chen Zhongjin (1):
ftrace: Fix invalid address access in lookup_rec() when index is 0

Christian Brauner (1):
fs: use consistent setgid checks in is_sxid()

Christian Hewitt (1):
drm/meson: fix 1px pink line on GXM when scaling video overlay

D. Wythe (1):
net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()

Damien Le Moal (3):
null_blk: Move driver into its own directory
block: null_blk: Fix handling of fake timeout request
nvmet: avoid potential UAF in nvmet_req_complete()

Daniil Tatianin (2):
qed/qed_dev: guard against a possible division by zero qed/qed_mng_tlv: correctly zero out ->min instead of ->hour

Darrick J. Wong (3):
xfs: purge dquots after inode walk fails during quotacheck
xfs: don't leak btree cursor when insrec fails after a split
xfs: use setattr_copy to set vfs inode attributes

Dave Chinner (4):
xfs: don't assert fail on perag references on teardown
xfs: remove XFS_PREALLOC_SYNC
xfs: fallocate() should call file_modified()
xfs: set prealloc flag in xfs_alloc_file_space()

David Hildenbrand (1):
mm/userfaultfd: propagate uffd-wp bit when PTE-mapping the huge zeropage

Dmitry Osipenko (2):
drm/panfrost: Don't sync rpm suspension after mmu flushing drm/shmem-helper: Remove another errant put in error path

Eric Dumazet (1):

      net: tunnels: annotate lockless accesses to dev->needed_headroom

Fedor Pchelkin (2):
nfc: pn533: initialize struct pn533_out_arg properly
io_uring: avoid null-ptr-deref in io_arm_poll_handler

Francesco Dolcini (1):
mmc: sdhci_am654: lower power-on failed message severity

Gaosheng Cui (1):
xfs: remove xfs_setattr_time() declaration

Glenn Washburn (1):
docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate

Greg Kroah-Hartman (1):

      Linux 5.10.176

Hamidreza H. Fard (1):
ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro

Heiner Kallweit (1):
net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails

Helge Deller (1):
fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks

Herbert Xu (1):
xfrm: Allow transport-mode states with AF_UNSPEC selector

Ido Schimmel (1):
ipv4: Fix incorrect table ID in IOCTL path

Ivan Vecera (1):
i40e: Fix kernel crash during reboot when adapter is in recovery mode

Janusz Krzysztofik (1):
drm/i915/active: Fix misuse of non-idle barriers as fence trackers

Jeremy Sowden (4):
netfilter: nft_nat: correct length for loading protocol registers
netfilter: nft_masq: correct length for loading protocol registers
netfilter: nft_redir: correct length for loading protocol registers
netfilter: nft_redir: correct value of inet type .maxattrs

Jianguo Wu (1):

      ipvlan: Make skb->skb_iif track skb->dev for l3s mode

Johan Hovold (1):
interconnect: fix mem leak when freeing nodes

John Harrison (1):
drm/i915: Don't use stolen memory for ring buffers with LLC

Krzysztof Kozlowski (1):
hwmon: tmp512: drop of_match_ptr for ID table

Lars-Peter Clausen (2):
hwmon: (ucd90320) Add minimum delay between bus accesses
hwmon: (adm1266) Set can_sleep flag for GPIO chip

Lee Jones (2):
HID: core: Provide new max_buffer_size attribute to over-ride the default
HID: uhid: Over-ride the default maximum data buffer value with our own

Liang He (2):
block: sunvdc: add check for mdesc_grab() returning NULL
ethernet: sun: add check for the mdesc_grab()

Linus Torvalds (1):
media: m5mols: fix off-by-one loop termination error

Liu Ying (1):
drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc

Lukas Wunner (2):
PCI: Unify delay handling for reset and resume PCI/DPC: Await readiness of secondary bus after reset

Maciej Fijalkowski (1):
ice: xsk: disable txq irq before flushing hw

Marcus Folkesson (1):
hwmon: (ina3221) return prober error code

Matthieu Baerts (1):
mptcp: avoid setting TCP_CLOSE state twice

Michael Karcher (1):
sh: intc: Avoid spurious sizeof-pointer-div warning

Ming Lei (1):
nvme: fix handling single range discard request

Nikita Zhandarovich (1):
x86/mm: Fix use of uninitialized buffer in sme_enable()

Paolo Bonzini (1):
KVM: nVMX: add missing consistency checks for CR0 and CR4

Po-Hsu Lin (1):
selftests: net: devlink_port_split.py: skip test if no suitable device available

Qu Huang (1):
drm/amdkfd: Fix an illegal memory access

Randy Dunlap (1):
clk: HI655X: select REGMAP instead of depending on it

Roman Gushchin (1):
firmware: xilinx: don't make a sleepable memory allocation from an atomic context

Shawn Guo (1):
cpuidle: psci: Iterate backwards over list in psci_pd_remove()

Sherry Sun (1):
tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted

Steven Rostedt (Google) (2):
tracing: Check field value in hist_field_name()
tracing: Make tracepoint lockdep check actually test something

Sung-hun Kim (1):
tracing: Make splice_read available again

Sven Schnelle (1):
s390/ipl: add missing intersection check to ipl_report handling

Szymon Heidrich (2):
net: usb: smsc75xx: Limit packet length to skb->len
net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull

Theodore Ts'o (1):
ext4: fix possible double unlock when moving a directory

Tobias Schramm (1):
mmc: atmel-mci: fix race between stop command and start of next command

Tony O'Brien (2):
hwmon: (adt7475) Display smoothing attributes in correct order
hwmon: (adt7475) Fix masking of hysteresis registers

Vladimir Oltean (1):

      net: dsa: mv88e6xxx: fix max_mtu of 1492 on 6165, 6191, 6220, 6250, 6290

Volker Lendecke (1):
cifs: Fix smb2_set_path_size()

Wenchao Hao (1):
scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()

Wenjia Zhang (1):
net/smc: fix deadlock triggered by cancel_delayed_work_syn()

Xiang Chen (1):
scsi: core: Fix a comment in function scsi_host_dev_release()

Yang Xu (2):
fs: add mode_strip_sgid() helper
fs: move S_ISGID stripping into the vfs_*() helpers

Yazen Ghannam (1):
x86/mce: Make sure logged MCEs are processed after sysfs update

Yifei Liu (1):
jffs2: correct logic when creating a hole in jffs2_write_begin

Zhang Xiaoxu (1):
cifs: Move the in_send statistic to __smb_send_rqst()

Zheng Wang (2):
nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition
hwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition

author maintainer
#1 lore raw
Documentation/filesystems/vfs.rst +1 -1
index ca52c82e5bb5..f7b69a0e71e1 100644
@@ -1188,7 +1188,7 @@ defined:
 	return
 	-ECHILD and it will be called again in ref-walk mode.
 
-``_weak_revalidate``
+``d_weak_revalidate``
 	called when the VFS needs to revalidate a "jumped" dentry.  This
 	is called when a path-walk ends at dentry that was not acquired
 	by doing a lookup in the parent directory.  This includes "/",
Documentation/trace/ftrace.rst +1 -1
index 87cf5c010d5d..ed2e45f9b762 100644
@@ -2923,7 +2923,7 @@ Produces::
               bash-1994  [000] ....  4342.324898: ima_get_action <-process_measurement
               bash-1994  [000] ....  4342.324898: ima_match_policy <-ima_get_action
               bash-1994  [000] ....  4342.324899: do_truncate <-do_last
-              bash-1994  [000] ....  4342.324899: should_remove_suid <-do_truncate
+              bash-1994  [000] ....  4342.324899: setattr_should_drop_suidgid <-do_truncate
               bash-1994  [000] ....  4342.324899: notify_change <-do_truncate
               bash-1994  [000] ....  4342.324900: current_fs_time <-notify_change
               bash-1994  [000] ....  4342.324900: current_kernel_time <-current_fs_time
Makefile +1 -1
index e6b09052f222..71caf5938361 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 10
-SUBLEVEL = 175
+SUBLEVEL = 176
 EXTRAVERSION =
 NAME = Dare mighty things
 
arch/s390/boot/ipl_report.c +8 -0
index 0b4965573656..88bacf4999c4 100644
@@ -57,11 +57,19 @@ static unsigned long find_bootdata_space(struct ipl_rb_components *comps,
 	if (IS_ENABLED(CONFIG_BLK_DEV_INITRD) && INITRD_START && INITRD_SIZE &&
 	    intersects(INITRD_START, INITRD_SIZE, safe_addr, size))
 		safe_addr = INITRD_START + INITRD_SIZE;
+	if (intersects(safe_addr, size, (unsigned long)comps, comps->len)) {
+		safe_addr = (unsigned long)comps + comps->len;
+		goto repeat;
+	}
 	for_each_rb_entry(comp, comps)
 		if (intersects(safe_addr, size, comp->addr, comp->len)) {
 			safe_addr = comp->addr + comp->len;
 			goto repeat;
 		}
+	if (intersects(safe_addr, size, (unsigned long)certs, certs->len)) {
+		safe_addr = (unsigned long)certs + certs->len;
+		goto repeat;
+	}
 	for_each_rb_entry(cert, certs)
 		if (intersects(safe_addr, size, cert->addr, cert->len)) {
 			safe_addr = cert->addr + cert->len;
arch/x86/kernel/cpu/mce/core.c +1 -0
index 1906387a0faf..0b7c81389c50 100644
@@ -2309,6 +2309,7 @@ static void mce_restart(void)
 {
 	mce_timer_delete_all();
 	on_each_cpu(mce_cpu_restart, NULL, 1);
+	mce_schedule_work();
 }
 
 /* Toggle features for corrected errors */
arch/x86/kvm/vmx/nested.c +8 -2
index 91371b01eae0..c165ddbb672f 100644
@@ -2998,7 +2998,7 @@ static int nested_vmx_check_guest_state(struct kvm_vcpu *vcpu,
 					struct vmcs12 *vmcs12,
 					enum vm_entry_failure_code *entry_failure_code)
 {
-	bool ia32e;
+	bool ia32e = !!(vmcs12->vm_entry_controls & VM_ENTRY_IA32E_MODE);
 
 	*entry_failure_code = ENTRY_FAIL_DEFAULT;
 
@@ -3024,6 +3024,13 @@ static int nested_vmx_check_guest_state(struct kvm_vcpu *vcpu,
 					   vmcs12->guest_ia32_perf_global_ctrl)))
 		return -EINVAL;
 
+	if (CC((vmcs12->guest_cr0 & (X86_CR0_PG | X86_CR0_PE)) == X86_CR0_PG))
+		return -EINVAL;
+
+	if (CC(ia32e && !(vmcs12->guest_cr4 & X86_CR4_PAE)) ||
+	    CC(ia32e && !(vmcs12->guest_cr0 & X86_CR0_PG)))
+		return -EINVAL;
+
 	/*
 	 * If the load IA32_EFER VM-entry control is 1, the following checks
 	 * are performed on the field for the IA32_EFER MSR:
@@ -3035,7 +3042,6 @@ static int nested_vmx_check_guest_state(struct kvm_vcpu *vcpu,
 	 */
 	if (to_vmx(vcpu)->nested.nested_run_pending &&
 	    (vmcs12->vm_entry_controls & VM_ENTRY_LOAD_IA32_EFER)) {
-		ia32e = (vmcs12->vm_entry_controls & VM_ENTRY_IA32E_MODE) != 0;
 		if (CC(!kvm_valid_efer(vcpu, vmcs12->guest_ia32_efer)) ||
 		    CC(ia32e != !!(vmcs12->guest_ia32_efer & EFER_LMA)) ||
 		    CC(((vmcs12->guest_cr0 & X86_CR0_PG) &&
arch/x86/mm/mem_encrypt_identity.c +2 -1
index 011e042b47ba..5ec47af786dd 100644
@@ -586,7 +586,8 @@ void __init sme_enable(struct boot_params *bp)
 	cmdline_ptr = (const char *)((u64)bp->hdr.cmd_line_ptr |
 				     ((u64)bp->ext_cmd_line_ptr << 32));
 
-	cmdline_find_option(cmdline_ptr, cmdline_arg, buffer, sizeof(buffer));
+	if (cmdline_find_option(cmdline_ptr, cmdline_arg, buffer, sizeof(buffer)) < 0)
+		return;
 
 	if (!strncmp(buffer, cmdline_on, sizeof(buffer)))
 		sme_me_mask = me_mask;
drivers/block/Kconfig +1 -7
index 40c53632512b..9617688b58b3 100644
@@ -16,13 +16,7 @@ menuconfig BLK_DEV
 
 if BLK_DEV
 
-config BLK_DEV_NULL_BLK
-	tristate "Null test block driver"
-	select CONFIGFS_FS
-
-config BLK_DEV_NULL_BLK_FAULT_INJECTION
-	bool "Support fault injection for Null test block driver"
-	depends on BLK_DEV_NULL_BLK && FAULT_INJECTION
+source "drivers/block/null_blk/Kconfig"
 
 config BLK_DEV_FD
 	tristate "Normal floppy disk support"
drivers/block/Makefile +1 -6
index e1f63117ee94..a3170859e01d 100644
@@ -41,12 +41,7 @@ obj-$(CONFIG_BLK_DEV_RSXX) += rsxx/
 obj-$(CONFIG_ZRAM) += zram/
 obj-$(CONFIG_BLK_DEV_RNBD)	+= rnbd/
 
-obj-$(CONFIG_BLK_DEV_NULL_BLK)	+= null_blk.o
-null_blk-objs	:= null_blk_main.o
-ifeq ($(CONFIG_BLK_DEV_ZONED), y)
-null_blk-$(CONFIG_TRACING) += null_blk_trace.o
-endif
-null_blk-$(CONFIG_BLK_DEV_ZONED) += null_blk_zoned.o
+obj-$(CONFIG_BLK_DEV_NULL_BLK)	+= null_blk/
 
 skd-y		:= skd_main.o
 swim_mod-y	:= swim.o swim_asm.o
drivers/block/null_blk.h deleted +0 -137

137 lines not on this page · raw message

drivers/block/null_blk/Kconfig new file +12 -0
new file mode 100644
index 000000000000..6bf1f8ca20a2
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Null block device driver configuration
+#
+
+config BLK_DEV_NULL_BLK
+	tristate "Null test block driver"
+	select CONFIGFS_FS
+
+config BLK_DEV_NULL_BLK_FAULT_INJECTION
+	bool "Support fault injection for Null test block driver"
+	depends on BLK_DEV_NULL_BLK && FAULT_INJECTION
drivers/block/null_blk/Makefile new file +11 -0
new file mode 100644
index 000000000000..84c36e512ab8
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0
+
+# needed for trace events
+ccflags-y			+= -I$(src)
+
+obj-$(CONFIG_BLK_DEV_NULL_BLK)	+= null_blk.o
+null_blk-objs			:= main.o
+ifeq ($(CONFIG_BLK_DEV_ZONED), y)
+null_blk-$(CONFIG_TRACING) 	+= trace.o
+endif
+null_blk-$(CONFIG_BLK_DEV_ZONED) += zoned.o
drivers/block/null_blk/main.c new file +2036 -0

2,036 lines not on this page · raw message

drivers/block/null_blk/null_blk.h new file +137 -0

137 lines not on this page · raw message

drivers/block/null_blk/trace.c new file +21 -0
new file mode 100644
index 000000000000..3711cba16071
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * null_blk trace related helpers.
+ *
+ * Copyright (C) 2020 Western Digital Corporation or its affiliates.
+ */
+#include "trace.h"
+
+/*
+ * Helper to use for all null_blk traces to extract disk name.
+ */
+const char *nullb_trace_disk_name(struct trace_seq *p, char *name)
+{
+	const char *ret = trace_seq_buffer_ptr(p);
+
+	if (name && *name)
+		trace_seq_printf(p, "disk=%s, ", name);
+	trace_seq_putc(p, 0);
+
+	return ret;
+}
drivers/block/null_blk/trace.h new file +79 -0

79 lines not on this page · raw message

drivers/block/null_blk/zoned.c new file +617 -0

453 lines not on this page · raw message

drivers/block/null_blk_main.c deleted +0 -2036

2,036 lines not on this page · raw message

drivers/block/null_blk_trace.c deleted +0 -21
deleted file mode 100644
index f246e7bff698..000000000000

Lines of this file are not shown. View the raw message.

drivers/block/null_blk_trace.h deleted +0 -79

79 lines not on this page · raw message

drivers/block/null_blk_zoned.c deleted +0 -617

617 lines not on this page · raw message

drivers/block/sunvdc.c +2 -0
index 39aeebc6837d..d9e41d3bbe71 100644

Lines of this file are not shown. View the raw message.

drivers/clk/Kconfig +1 -1
index c715d4681a0b..4ae49eae4586 100644

Lines of this file are not shown. View the raw message.

drivers/cpuidle/cpuidle-psci-domain.c +2 -1
index 4a031c62f92a..5098639d41f1 100644

Lines of this file are not shown. View the raw message.

drivers/firmware/xilinx/zynqmp.c +1 -1
index 9e6504592646..300ba2991936 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/amdkfd/kfd_events.c +3 -6
index 159be13ef20b..2c19b3775179 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c +4 -1
index e427f4ffa080..e5b1002d7f3f 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/drm_gem_shmem_helper.c +6 -3
index c56656a95cf9..b7bb5610dfe2 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/i915/gt/intel_ring.c +1 -1
index 69b2e5509d67..de67b2745258 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/i915/i915_active.c +13 -11
index c4c2d24dc509..0532a5069c04 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/meson/meson_vpp.c +2 -0
index 154837688ab0..5df1957c8e41 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/panfrost/panfrost_mmu.c +1 -1
index 13596961ae17..5ff856ef7d88 100644

Lines of this file are not shown. View the raw message.

drivers/hid/hid-core.c +13 -5
index 5f9ec1d1464a..524d6d712e72 100644

Lines of this file are not shown. View the raw message.

drivers/hid/uhid.c +1 -0
index fc06d8bb42e0..ba0ca652b9da 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/adt7475.c +4 -4
index 9d5b019651f2..6b84822e7d93 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/ina3221.c +1 -1
index d3c98115042b..836e7579e166 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/pmbus/adm1266.c +1 -0
index c7b373ba92f2..d1b2e936546f 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/pmbus/ucd9000.c +75 -0

75 lines not on this page · raw message

drivers/hwmon/tmp513.c +1 -1
index 47bbe47e062f..7d5f7441aceb 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/xgene-hwmon.c +1 -0
index f2a5af239c95..f5d3cf86753f 100644

Lines of this file are not shown. View the raw message.

drivers/interconnect/core.c +4 -0
index ceb6cdc20484..7db6d0fc6ec2 100644

Lines of this file are not shown. View the raw message.

drivers/media/i2c/m5mols/m5mols_core.c +1 -1
index 21666d705e37..dcf9e4d4ee6b 100644

Lines of this file are not shown. View the raw message.

drivers/mmc/host/atmel-mci.c +0 -3
index af85b32c6c1c..c468f9a02ef6 100644

Lines of this file are not shown. View the raw message.

drivers/mmc/host/sdhci_am654.c +1 -1
index 24cd6d3dc647..bf2592774165 100644

Lines of this file are not shown. View the raw message.

drivers/net/dsa/mv88e6xxx/chip.c +12 -4
index 371b345635e6..a253476a52b0 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/i40e/i40e_main.c +1 -0
index 9e8a20a94862..76481ff7074b 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/ice/ice_xsk.c +2 -2
index 59963b901be0..e0790df700e2 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/qlogic/qed/qed_dev.c +5 -0
index d2f5855b2ea7..895b6f0a3984 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c +1 -1
index 3e3192a3ad9b..fdbd5f07a185 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/sun/ldmvsw.c +3 -0
index 01ea0d6f8819..934a4b54784b 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/sun/sunvnet.c +3 -0
index 96b883f965f6..b6c03adf1e76 100644

Lines of this file are not shown. View the raw message.

drivers/net/ipvlan/ipvlan_l3s.c +1 -0
index 943d26cbf39f..71712ea25403 100644

Lines of this file are not shown. View the raw message.

drivers/net/phy/smsc.c +4 -1
index caf7291ffaf8..b67de3f9ef18 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/smsc75xx.c +7 -0
index 378a12ae2d95..fb1389bd0939 100644

Lines of this file are not shown. View the raw message.

drivers/nfc/pn533/usb.c +1 -0
index 57b07446bb76..68eb1253f888 100644

Lines of this file are not shown. View the raw message.

drivers/nfc/st-nci/ndlc.c +4 -2
index 5d74c674368a..8ccf5a86ad1b 100644

Lines of this file are not shown. View the raw message.

drivers/nvme/host/core.c +19 -9
index e162f1dfbafe..a4b6aa932a8f 100644

Lines of this file are not shown. View the raw message.

drivers/nvme/target/core.c +3 -1
index bc88ff2912f5..a82a0796a614 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pci-driver.c +2 -2
index 8b587fc97f7b..c22cc20db1a7 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pci.c +24 -33

57 lines not on this page · raw message

drivers/pci/pci.h +15 -1
index 9197d7362731..72436000ff25 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pcie/dpc.c +2 -2
index c556e7beafe3..f21d64ae4ffc 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/hosts.c +1 -4
index fae032324210..18321cf9db5d 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/mpt3sas/mpt3sas_transport.c +12 -2
index b58f4d9c296a..326265fd7f91 100644

Lines of this file are not shown. View the raw message.

drivers/tty/serial/8250/8250_em.c +2 -2
index f8e99995eee9..d94c3811a8f7 100644

Lines of this file are not shown. View the raw message.

drivers/tty/serial/fsl_lpuart.c +9 -3
index 9cb0e8673f82..32cce52800a7 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/stifb.c +27 -0
index 3feb6e40d56d..ef8a4c5fc687 100644

Lines of this file are not shown. View the raw message.

fs/attr.c +63 -7

70 lines not on this page · raw message

fs/cifs/smb2inode.c +24 -7
index 97cd4df04060..e11818801148 100644

Lines of this file are not shown. View the raw message.

fs/cifs/transport.c +9 -12
index b137006f0fd2..4409f56fc37e 100644

Lines of this file are not shown. View the raw message.

fs/ext4/inode.c +8 -10
index 1a654a1f3f46..6ba185b46ba3 100644

Lines of this file are not shown. View the raw message.

fs/ext4/namei.c +1 -3
index 1f47aeca7142..45f719c1e002 100644

Lines of this file are not shown. View the raw message.

fs/ext4/xattr.c +11 -0
index 60e122761352..f3da1f2d4cb9 100644

Lines of this file are not shown. View the raw message.

fs/inode.c +46 -34

80 lines not on this page · raw message

fs/internal.h +6 -0
index 06d313b9beec..d5d9fcdae10c 100644

Lines of this file are not shown. View the raw message.

fs/jffs2/file.c +7 -8
index bd7d58d27bfc..97a3c09fd96b 100644

Lines of this file are not shown. View the raw message.

fs/namei.c +67 -13

80 lines not on this page · raw message

fs/ocfs2/file.c +2 -2
index 1470b49adb2d..ca00cac5a12f 100644

Lines of this file are not shown. View the raw message.

fs/ocfs2/namei.c +1 -0
index 856474b0a1ae..df1f6b7aa797 100644

Lines of this file are not shown. View the raw message.

fs/open.c +3 -3
index b3fbb4300fc9..1ca4b236fdbe 100644

Lines of this file are not shown. View the raw message.

fs/xfs/libxfs/xfs_btree.c +5 -3
index 24c7d30e41df..0926363179a7 100644

Lines of this file are not shown. View the raw message.

fs/xfs/xfs_bmap_util.c +3 -6
index 7371a7f7c652..fbab1042bc90 100644

Lines of this file are not shown. View the raw message.

fs/xfs/xfs_file.c +11 -13
index 4d6bf8d4974f..9b6c5ba5fdfb 100644

Lines of this file are not shown. View the raw message.

fs/xfs/xfs_iops.c +3 -53

56 lines not on this page · raw message

fs/xfs/xfs_iops.h +0 -1
index 4d24ff309f59..dd1bd0332f8e 100644

Lines of this file are not shown. View the raw message.

fs/xfs/xfs_mount.c +1 -2
index a2a5a0fd9233..402cf828cc91 100644

Lines of this file are not shown. View the raw message.

fs/xfs/xfs_pnfs.c +6 -3
index f3082a957d5e..053b99929f83 100644

Lines of this file are not shown. View the raw message.

fs/xfs/xfs_qm.c +8 -1
index 64e5da33733b..3c17e0c0f816 100644

Lines of this file are not shown. View the raw message.

include/drm/drm_bridge.h +2 -2
index 2195daa289d2..055486e35e68 100644

Lines of this file are not shown. View the raw message.

include/linux/fs.h +3 -2
index 74e19bccbf73..8ce9e5c61ede 100644

Lines of this file are not shown. View the raw message.

include/linux/hid.h +3 -0
index 2ba33d708942..256f34f49167 100644

Lines of this file are not shown. View the raw message.

include/linux/netdevice.h +4 -2
index b478a16ef284..9ef63bc14b00 100644

Lines of this file are not shown. View the raw message.

include/linux/sh_intc.h +4 -1
index c255273b0281..37ad81058d6a 100644

Lines of this file are not shown. View the raw message.

include/linux/tracepoint.h +6 -9
index e4c5df71f0e7..4e1356c35fe6 100644

Lines of this file are not shown. View the raw message.

io_uring/io_uring.c +2 -2
index 445afda927f4..fd799567fc23 100644

Lines of this file are not shown. View the raw message.

kernel/trace/ftrace.c +2 -1
index d97c189695cb..67829b6e07bd 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace.c +2 -0
index 8637eab2986e..ce45bdd9077d 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace_events_hist.c +3 -0
index ccc99cd23f3c..9ed65191888e 100644

Lines of this file are not shown. View the raw message.

mm/huge_memory.c +4 -2
index 9b15760e0541..e4c690c21fc9 100644

Lines of this file are not shown. View the raw message.

net/ipv4/fib_frontend.c +3 -0
index 5f786ef662ea..41f890bf9d4c 100644

Lines of this file are not shown. View the raw message.

net/ipv4/ip_tunnel.c +6 -6
index be75b409445c..99f70b990eb1 100644

Lines of this file are not shown. View the raw message.

net/ipv4/tcp_output.c +1 -1
index eefd032bc6db..e4ad274ec7a3 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ip6_tunnel.c +2 -2
index 0d4cab94c5dd..a03a322e0cc1 100644

Lines of this file are not shown. View the raw message.

net/iucv/iucv.c +1 -1
index 349c6ac3313f..6f84978a7726 100644

Lines of this file are not shown. View the raw message.

net/mptcp/subflow.c +0 -1
index 3b154ad4945c..607519246bf2 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nft_masq.c +1 -1
index 9953e8053753..1818dbf089ca 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nft_nat.c +1 -1
index db8f9116eeb4..cd4eb4996aff 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nft_redir.c +2 -2
index ba09890dddb5..e64f531d66cf 100644

Lines of this file are not shown. View the raw message.

net/smc/smc_cdc.c +3 -0
index 94503f36b9a6..9125d28d9ff5 100644

Lines of this file are not shown. View the raw message.

net/smc/smc_core.c +1 -1
index bf485a2017a4..e84241ff4ac4 100644

Lines of this file are not shown. View the raw message.

net/xfrm/xfrm_state.c +0 -3
index fdbd56ed4bd5..ba73014805a4 100644

Lines of this file are not shown. View the raw message.

sound/hda/intel-dsp-config.c +9 -0
index 2a5ba9dca6b0..f96e70c85f84 100644

Lines of this file are not shown. View the raw message.

sound/pci/hda/hda_intel.c +3 -2
index 494bfd2135a9..de1fe604905f 100644

Lines of this file are not shown. View the raw message.

sound/pci/hda/patch_realtek.c +1 -0
index f2ef75c8de42..2cf6600c9ca8 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/net/devlink_port_split.py +30 -0
index 834066d465fc..f0fbd7367f4f 100755

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.