Skip to contentSkip to conversation

Linux 5.15.128

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Aug 26, 2023 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 5.15.128 kernel.

All users of the 5.15 kernel series must upgrade.

The updated 5.15.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.15.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/admin-guide/hw-vuln/srso.rst                   |    4 
 MAINTAINERS                                                  |    2 
 Makefile                                                     |    2 
 arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts            |    2 
 arch/arm/boot/dts/imx6dl-prtrvt.dts                          |    4 
 arch/arm/boot/dts/imx6qdl-prti6q.dtsi                        |   11 
 arch/arm/boot/dts/imx6sll.dtsi                               |   24 
 arch/arm/boot/dts/imx6sx.dtsi                                |    6 
 arch/arm64/boot/dts/qcom/qrb5165-rb5.dts                     |    2 
 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi           |    4 
 arch/powerpc/kernel/rtas_flash.c                             |    6 
 arch/powerpc/mm/kasan/Makefile                               |    1 
 arch/riscv/lib/uaccess.S                                     |   11 
 arch/x86/include/asm/entry-common.h                          |    1 
 arch/x86/include/asm/nospec-branch.h                         |   28 
 arch/x86/kernel/cpu/amd.c                                    |    1 
 arch/x86/kernel/cpu/bugs.c                                   |   28 
 arch/x86/kernel/static_call.c                                |   13 
 arch/x86/kernel/traps.c                                      |    2 
 arch/x86/kernel/vmlinux.lds.S                                |   20 
 arch/x86/kvm/svm/svm.c                                       |    2 
 arch/x86/lib/retpoline.S                                     |  135 ++-
 drivers/bluetooth/btusb.c                                    |    3 
 drivers/bus/ti-sysc.c                                        |    2 
 drivers/firewire/net.c                                       |    6 
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c                       |    6 
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c                   |    1 
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c                      |    9 
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c                       |    6 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c            |  209 ++++-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.h       |   14 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c  |   30 
 drivers/gpu/drm/panel/panel-simple.c                         |   24 
 drivers/gpu/drm/qxl/qxl_drv.h                                |    2 
 drivers/gpu/drm/qxl/qxl_dumb.c                               |    5 
 drivers/gpu/drm/qxl/qxl_gem.c                                |   25 
 drivers/gpu/drm/qxl/qxl_ioctl.c                              |    6 
 drivers/hid/hid-ids.h                                        |    1 
 drivers/hid/hid-logitech-hidpp.c                             |    4 
 drivers/hid/hid-quirks.c                                     |    1 
 drivers/i2c/busses/i2c-bcm-iproc.c                           |   11 
 drivers/i2c/busses/i2c-designware-master.c                   |   16 
 drivers/i2c/busses/i2c-hisi.c                                |    8 
 drivers/iio/Kconfig                                          |    1 
 drivers/iio/Makefile                                         |    1 
 drivers/iio/adc/Kconfig                                      |   16 
 drivers/iio/adc/Makefile                                     |    1 
 drivers/iio/adc/stx104.c                                     |  374 ---------
 drivers/iio/addac/Kconfig                                    |   24 
 drivers/iio/addac/Makefile                                   |    7 
 drivers/iio/addac/stx104.c                                   |  414 +++++++++++
 drivers/infiniband/hw/mlx5/qpc.c                             |   10 
 drivers/media/platform/mtk-vpu/mtk_vpu.c                     |    6 
 drivers/mmc/core/block.c                                     |    7 
 drivers/mmc/host/bcm2835.c                                   |    4 
 drivers/mmc/host/sdhci_f_sdh30.c                             |   66 -
 drivers/mmc/host/sunxi-mmc.c                                 |    4 
 drivers/mmc/host/wbsd.c                                      |    2 
 drivers/net/dsa/mv88e6xxx/chip.c                             |    8 
 drivers/net/ethernet/intel/i40e/i40e_nvm.c                   |   16 
 drivers/net/ethernet/intel/iavf/iavf_ethtool.c               |   10 
 drivers/net/ethernet/intel/iavf/iavf_fdir.c                  |   77 +-
 drivers/net/ethernet/intel/iavf/iavf_fdir.h                  |    2 
 drivers/net/ethernet/intel/igc/igc_base.h                    |   11 
 drivers/net/ethernet/intel/igc/igc_main.c                    |    7 
 drivers/net/macsec.c                                         |   70 +
 drivers/net/phy/broadcom.c                                   |   13 
 drivers/net/phy/phy_device.c                                 |   13 
 drivers/net/team/team.c                                      |    4 
 drivers/net/virtio_net.c                                     |    4 
 drivers/pci/controller/dwc/pcie-tegra194.c                   |   13 
 drivers/pcmcia/rsrc_nonstatic.c                              |    2 
 drivers/soc/aspeed/aspeed-socinfo.c                          |    1 
 drivers/thunderbolt/retimer.c                                |   29 
 drivers/tty/n_gsm.c                                          |    3 
 drivers/tty/serial/8250/8250_port.c                          |    1 
 drivers/tty/serial/fsl_lpuart.c                              |   26 
 drivers/usb/chipidea/ci_hdrc_imx.c                           |    5 
 drivers/usb/chipidea/usbmisc_imx.c                           |    2 
 drivers/usb/dwc3/core.c                                      |    9 
 drivers/usb/dwc3/dwc3-qcom.c                                 |   11 
 drivers/usb/dwc3/gadget.c                                    |  116 +--
 drivers/usb/gadget/function/u_serial.c                       |    3 
 drivers/vdpa/vdpa_user/vduse_dev.c                           |    8 
 drivers/video/fbdev/mmp/hw/mmp_ctrl.c                        |    4 
 drivers/virtio/virtio_mmio.c                                 |    5 
 drivers/watchdog/sp5100_tco.c                                |    4 
 fs/btrfs/block-group.c                                       |    5 
 fs/btrfs/volumes.c                                           |    3 
 fs/cifs/cifsfs.c                                             |   28 
 fs/cifs/file.c                                               |   25 
 fs/exfat/dir.c                                               |    9 
 fs/gfs2/super.c                                              |   26 
 fs/ntfs3/frecord.c                                           |   16 
 fs/ntfs3/fsntfs.c                                            |    2 
 fs/ntfs3/index.c                                             |    6 
 fs/ntfs3/ntfs_fs.h                                           |    2 
 fs/ntfs3/record.c                                            |   10 
 fs/overlayfs/ovl_entry.h                                     |    9 
 include/linux/iopoll.h                                       |    2 
 include/linux/objtool.h                                      |   28 
 include/linux/virtio_net.h                                   |    4 
 include/media/v4l2-mem2mem.h                                 |   18 
 include/net/sock.h                                           |    6 
 include/net/tls.h                                            |    2 
 kernel/dma/remap.c                                           |    4 
 kernel/trace/ring_buffer.c                                   |   14 
 kernel/trace/trace.c                                         |    3 
 net/bluetooth/l2cap_core.c                                   |    5 
 net/core/sock.c                                              |    2 
 net/ipv4/ip_vti.c                                            |    4 
 net/ipv4/tcp_timer.c                                         |    4 
 net/ipv6/ip6_vti.c                                           |    4 
 net/key/af_key.c                                             |    4 
 net/netfilter/ipvs/ip_vs_ctl.c                               |    4 
 net/netfilter/nf_conntrack_proto_sctp.c                      |    6 
 net/netfilter/nf_tables_api.c                                |    1 
 net/netfilter/nft_dynset.c                                   |    3 
 net/netfilter/nft_set_pipapo.c                               |   13 
 net/tls/tls_device.c                                         |  137 +--
 net/unix/af_unix.c                                           |    9 
 net/xfrm/xfrm_compat.c                                       |    2 
 net/xfrm/xfrm_interface_core.c                               |    4 
 net/xfrm/xfrm_user.c                                         |   14 
 sound/hda/hdac_regmap.c                                      |    7 
 sound/pci/hda/patch_realtek.c                                |   16 
 sound/soc/codecs/rt5665.c                                    |    2 
 sound/soc/meson/axg-tdm-formatter.c                          |   42 -
 sound/soc/sof/intel/hda.c                                    |   12 
 sound/usb/quirks-table.h                                     |   29 
 tools/include/linux/objtool.h                                |   28 
 tools/objtool/arch/x86/decode.c                              |    2 
 tools/objtool/check.c                                        |   21 
 tools/testing/selftests/net/forwarding/mirror_gre_changes.sh |    3 
 tools/testing/selftests/net/forwarding/tc_actions.sh         |   18 
 135 files changed, 1774 insertions(+), 956 deletions(-)

Abel Wu (1):
sock: Fix misuse of sk_under_memory_pressure()

Alexandre Ghiti (1):
riscv: uaccess: Return the number of bytes effectively not copied

Alfred Lee (1):
net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset

Andreas Kemnade (1):
ARM: dts: imx6sll: fixup of operating points

Andrii Staikov (1):
i40e: fix misleading debug logs

Armin Wolf (1):
pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db()

Benjamin Gray (1):
powerpc/kasan: Disable KCOV in KASAN code

Borislav Petkov (AMD) (4):
x86/srso: Explain the untraining sequences a bit more x86/CPU/AMD: Fix the DIV(0) initial fix attempt x86/srso: Disable the mitigation on unaffected configurations x86/srso: Correct the mitigation status when SMT is disabled

Chen Lin (1):
ring-buffer: Do not swap cpu_buffer during resize process

Chengfeng Ye (1):
i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue

Christian Brauner (1):
ovl: check type and offset of struct vfsmount in ovl_entry

Christopher Obbard (1):
arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4

Clayton Yager (1):
macsec: Fix traffic counters/statistics

Cosmin Tanislav (1):
iio: add addac subdirectory

Davide Caratti (1):
selftests: forwarding: tc_actions: cleanup temporary files when test is aborted

Dmitry Baryshkov (1):
arm64: dts: qcom: qrb5165-rb5: fix thermal zone conflict

Edward Lo (1):
fs/ntfs3: Enhance sanity check while generating attr_list

Eric Dumazet (2):
macsec: use DEV_STATS_INC()
net: do not allow gso_size to be set to GSO_BY_FRAGS

Florian Westphal (2):
netfilter: nf_tables: fix false-positive lockdep splat
netfilter: nf_tables: deactivate catchall elements in next generation

Geert Uytterhoeven (1):
iopoll: Call cpu_relax() in busy loops

Greg Kroah-Hartman (1):

      Linux 5.15.128

Hans Verkuil (1):
media: platform: mediatek: vpu: fix NULL ptr dereference

Hersen Wu (1):
drm/amd/display: fix access hdcp_workqueue assert

Ido Schimmel (1):
selftests: forwarding: tc_actions: Use ncat instead of nc

Jakub Kicinski (1):
net: tls: avoid discarding data on record close

Jason Wang (1):
virtio-net: set queues after driver_ok

Jason Xing (1):
net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled

Jerome Brunet (1):
ASoC: meson: axg-tdm-formatter: fix channel slot allocation

Jesse Taube (1):
tty: serial: fsl_lpuart: Add i.MXRT1050 support

Jia-Ju Bai (1):
fs: ntfs3: Fix possible null-pointer dereferences in mi_read()

Jiasheng Jiang (1):
soc: aspeed: socinfo: Add kfree for kstrdup

Johan Hovold (3):
USB: dwc3: gadget: drop dead hibernation code
USB: dwc3: qcom: fix NULL-deref on suspend
USB: dwc3: fix use-after-free on core driver unbind

Josh Poimboeuf (1):
objtool: Add frame-pointer-specific function ignore

Justin Chen (1):
net: phy: broadcom: stub c45 read/write for 54810

Kailang Yang (1):
ALSA: hda/realtek - Remodified 3k pull low procedure

Konstantin Komarov (1):
fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted

Kunihiko Hayashi (1):
mmc: sdhci-f-sdh30: Replace with sdhci_pltfm

Kuniyuki Iwashima (1):
af_unix: Fix null-ptr-deref in unix_stream_sendpage().

Kushagra Verma (1):
usb: dwc3: Fix typos in gadget.c

Lang Yu (1):
drm/amdgpu: install stub fence into potential unused fence pointers

Lin Ma (5):
net: xfrm: Fix xfrm_address_filter OOB read
net: af_key: fix sadb_x_filter validation
net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure
xfrm: add NULL check in xfrm_update_ae_params
xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH

Luca Ceresoli (1):
drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs

Marco Morandini (1):
HID: add quirk for 03f0:464a HP Elite Presenter Mouse

Mario Limonciello (1):
drm/amd: flush any delayed gfxoff on suspend entry

Matthew Anderson (1):
Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally

Maxime Coquelin (1):
vduse: Use proper spinlock for IRQ injection

Mika Westerberg (1):
thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx()

Namjae Jeon (1):
exfat: check if filename entries exceeds max filename length

Naohiro Aota (1):
btrfs: move out now unused BG from the reclaim list

Nathan Lynch (1):
powerpc/rtas_flash: allow user copy to flash block cache objects

Oleksij Rempel (1):
ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings

Pablo Neira Ayuso (1):
netfilter: nft_dynset: disallow object maps

Patrisious Haddad (1):
RDMA/mlx5: Return the firmware result upon destroying QP/RQ

Paulo Alcantara (1):
smb: client: fix warning in cifs_smb3_do_mount()

Peter Zijlstra (10):
x86/cpu: Fix __x86_return_thunk symbol type x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk() x86/alternative: Make custom return thunk unconditional x86/ibt: Add ANNOTATE_NOENDBR
x86/cpu: Clean up SRSO return thunk mess x86/cpu: Rename original retbleed methods x86/cpu: Rename srso_(.*)_alias to srso_alias_\1 x86/cpu: Cleanup the untrain mess x86/static_call: Fix __static_call_fixup() objtool/x86: Fixup frame-pointer vs rethunk

Petr Machata (1):
selftests: mirror_gre_changes: Tighten up the TTL test match

Petr Pavlu (1):
x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG

Pierre-Louis Bossart (1):
ASoC: SOF: Intel: fix SoundWire/HDaudio mutual exclusion

Piotr Gardocki (1):
iavf: fix FDIR rule fields masks validation

Prashanth K (1):
usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push

Quan Nguyen (1):
i2c: designware: Correct length byte validation logic

Robert Hodaszi (1):
tty: serial: fsl_lpuart: reduce RX watermark to 0 on LS1028A

Roger Quadros (1):
usb: dwc3: gadget: Improve dwc3_gadget_suspend() and dwc3_gadget_resume()

Russell Harmon via samba-technical (1):
cifs: Release folio lock on fscache read hit.

Russell King (Oracle) (1):
net: phy: fix IRQ-based wake-on-lan over hibernate / power off

Sean Christopherson (1):
x86/retpoline: Don't clobber RFLAGS during srso_safe_ret()

Sergey Shtylyov (2):
mmc: bcm2835: fix deferred probing
mmc: sunxi: fix deferred probing

Sherry Sun (2):
tty: serial: fsl_lpuart: make rx_watermark configurable for different platforms
tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms

Sishuai Gong (1):
ipvs: fix racy memcpy in proc_do_sync_threshold

Song Yoong Siang (1):
igc: read before write to SRRCTL register

Steve French (1):
cifs: fix potential oops in cifs_oplock_break

Sumit Gupta (1):
PCI: tegra194: Fix possible array out of bounds access

Tam Nguyen (1):
i2c: designware: Handle invalid SMBus block data response length value

Tariq Toukan (2):
net/tls: Perform immediate device ctx cleanup when possible net/tls: Multi-threaded calls to TX tls_dev_del

Tony Lindgren (2):
bus: ti-sysc: Flush posted write on enable before reset
serial: 8250: Fix oops for port->pm on uart_change_pm()

Tuo Li (2):
gfs2: Fix possible data races in gfs2_show_options()
ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()

Wander Lairson Costa (1):
drm/qxl: fix UAF on handle creation

Wesley Cheng (2):
usb: dwc3: gadget: Synchronize IRQ between soft connect/disconnect
usb: dwc3: Remove DWC3 locking during gadget suspend/resume

William Breathitt Gray (5):
iio: adc: stx104: Utilize iomap interface
iio: adc: stx104: Implement and utilize register structures
iio: stx104: Move to addac subdirectory
iio: addac: stx104: Fix race condition for stx104_write_raw()
iio: addac: stx104: Fix race condition when converting analog-to-digital

Wolfram Sang (1):
virtio-mmio: don't break lifecycle of vm_dev

Xiaolei Wang (1):
ARM: dts: imx: Set default tuning step for imx6sx usdhc

Xin Long (1):
netfilter: set default timeout to 3 secs for sctp shutdown send and recv state

Xu Yang (3):
usb: chipidea: imx: don't request QoS for imx8ulp
usb: chipidea: imx: add missing USB PHY DPDM wakeup setting
ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node

Yang Yingliang (1):
mmc: wbsd: fix double mmc_free_host() in wbsd_init()

Yangtao Li (1):
mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove

Yi Yang (1):
tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux

Yibin Ding (1):
mmc: block: Fix in_flight[issue_type] value error

Yicong Yang (1):
i2c: hisi: Only handle the interrupt of the driver's transfer

Yuanjun Gong (1):
fbdev: mmp: fix value check in mmphw_probe()

Yuechao Zhao (1):
watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub)

Yunfei Dong (1):
media: v4l2-mem2mem: add lock to protect parameter num_rdy

Zev Weiss (1):
ARM: dts: aspeed: asrock: Correct firmware flash SPI clocks

Zhang Shurong (2):
firewire: net: fix use after free in fwnet_finish_incoming_packet()
ASoC: rt5665: add missed regulator_bulk_disable

Zhengchao Shao (3):
xfrm: fix slab-use-after-free in decode_session6
ip6_vti: fix slab-use-after-free in decode_session6
ip_vti: fix potential slab-use-after-free in decode_session6

Zhengping Jiang (1):
Bluetooth: L2CAP: Fix use-after-free

Ziyang Xuan (1):
team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves

dengxiang (2):
ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760
ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.

gaoxu (1):
dma-remap: use kvmalloc_array/kvfree for larger dma memory remap

hersen wu (2):
drm/amd/display: save restore hdcp state when display is unplugged from mst hub drm/amd/display: phase3 mst hdcp for multiple displays

shanzhulig (1):
drm/amdgpu: Fix potential fence use-after-free v2

stuarthayhurst (1):
HID: logitech-hidpp: Add USB and Bluetooth IDs for the Logitech G915 TKL Keyboard

xiaoshoukui (1):
btrfs: fix BUG_ON condition in btrfs_cancel_balance

author maintainer
#1 lore raw
Documentation/admin-guide/hw-vuln/srso.rst +2 -2
index 2f923c805802..f79cb11b080f 100644
@@ -124,8 +124,8 @@ sequence.
 To ensure the safety of this mitigation, the kernel must ensure that the
 safe return sequence is itself free from attacker interference.  In Zen3
 and Zen4, this is accomplished by creating a BTB alias between the
-untraining function srso_untrain_ret_alias() and the safe return
-function srso_safe_ret_alias() which results in evicting a potentially
+untraining function srso_alias_untrain_ret() and the safe return
+function srso_alias_safe_ret() which results in evicting a potentially
 poisoned BTB entry and using that safe one for all function returns.
 
 In older Zen1 and Zen2, this is accomplished using a reinterpretation
MAINTAINERS +1 -1
index e6b53e76651b..9216b9c85ce9 100644
@@ -1250,7 +1250,7 @@ APEX EMBEDDED SYSTEMS STX104 IIO DRIVER
 M:	William Breathitt Gray <[email protected]>
 L:	[email protected]
 S:	Maintained
-F:	drivers/iio/adc/stx104.c
+F:	drivers/iio/addac/stx104.c
 
 APM DRIVER
 M:	Jiri Kosina <[email protected]>
Makefile +1 -1
index f5e69631ca58..2b5160227e82 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 15
-SUBLEVEL = 127
+SUBLEVEL = 128
 EXTRAVERSION =
 NAME = Trick or Treat
 
arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts +1 -1
index 9b4cf5ebe6d5..c62aff908ab4 100644
@@ -63,7 +63,7 @@ flash@0 {
 		status = "okay";
 		m25p,fast-read;
 		label = "bmc";
-		spi-max-frequency = <100000000>; /* 100 MHz */
+		spi-max-frequency = <50000000>; /* 50 MHz */
 #include "openbmc-flash-layout.dtsi"
 	};
 };
arch/arm/boot/dts/imx6dl-prtrvt.dts +4 -0
index 5ac84445e9cc..90e01de8c2c1 100644
@@ -126,6 +126,10 @@ &usbh1 {
 	status = "disabled";
 };
 
+&usbotg {
+	disable-over-current;
+};
+
 &vpu {
 	status = "disabled";
 };
arch/arm/boot/dts/imx6qdl-prti6q.dtsi +10 -1
index 19578f660b09..70dfa07a1698 100644
@@ -69,6 +69,7 @@ &usbh1 {
 	vbus-supply = <&reg_usb_h1_vbus>;
 	phy_type = "utmi";
 	dr_mode = "host";
+	disable-over-current;
 	status = "okay";
 };
 
@@ -78,10 +79,18 @@ &usbotg {
 	pinctrl-0 = <&pinctrl_usbotg>;
 	phy_type = "utmi";
 	dr_mode = "host";
-	disable-over-current;
+	over-current-active-low;
 	status = "okay";
 };
 
+&usbphynop1 {
+	status = "disabled";
+};
+
+&usbphynop2 {
+	status = "disabled";
+};
+
 &usdhc1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_usdhc1>;
arch/arm/boot/dts/imx6sll.dtsi +11 -13
index eecb2f68a1c3..3659fd5ecfa6 100644
@@ -51,20 +51,18 @@ cpu0: cpu@0 {
 			device_type = "cpu";
 			reg = <0>;
 			next-level-cache = <&L2>;
-			operating-points = <
+			operating-points =
 				/* kHz    uV */
-				996000  1275000
-				792000  1175000
-				396000  1075000
-				198000	975000
-			>;
-			fsl,soc-operating-points = <
+				<996000  1275000>,
+				<792000  1175000>,
+				<396000  1075000>,
+				<198000	  975000>;
+			fsl,soc-operating-points =
 				/* ARM kHz      SOC-PU uV */
-				996000          1175000
-				792000          1175000
-				396000          1175000
-				198000		1175000
-			>;
+				<996000         1175000>,
+				<792000         1175000>,
+				<396000         1175000>,
+				<198000		1175000>;
 			clock-latency = <61036>; /* two CLK32 periods */
 			#cooling-cells = <2>;
 			clocks = <&clks IMX6SLL_CLK_ARM>,
@@ -554,7 +552,7 @@ usbphy2: usb-phy@20ca000 {
 				reg = <0x020ca000 0x1000>;
 				interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&clks IMX6SLL_CLK_USBPHY2>;
-				phy-reg_3p0-supply = <&reg_3p0>;
+				phy-3p0-supply = <&reg_3p0>;
 				fsl,anatop = <&anatop>;
 			};
 
arch/arm/boot/dts/imx6sx.dtsi +6 -0
index 8bef5440278b..3e779fd0a396 100644
@@ -981,6 +981,8 @@ usdhc1: mmc@2190000 {
 					 <&clks IMX6SX_CLK_USDHC1>;
 				clock-names = "ipg", "ahb", "per";
 				bus-width = <4>;
+				fsl,tuning-start-tap = <20>;
+				fsl,tuning-step= <2>;
 				status = "disabled";
 			};
 
@@ -993,6 +995,8 @@ usdhc2: mmc@2194000 {
 					 <&clks IMX6SX_CLK_USDHC2>;
 				clock-names = "ipg", "ahb", "per";
 				bus-width = <4>;
+				fsl,tuning-start-tap = <20>;
+				fsl,tuning-step= <2>;
 				status = "disabled";
 			};
 
@@ -1005,6 +1009,8 @@ usdhc3: mmc@2198000 {
 					 <&clks IMX6SX_CLK_USDHC3>;
 				clock-names = "ipg", "ahb", "per";
 				bus-width = <4>;
+				fsl,tuning-start-tap = <20>;
+				fsl,tuning-step= <2>;
 				status = "disabled";
 			};
 
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +1 -1
index 0ce2d36ab257..d3449cb52def 100644
@@ -113,7 +113,7 @@ active-config0 {
 			};
 		};
 
-		pm8150l-thermal {
+		pm8150l-pcb-thermal {
 			polling-delay-passive = <0>;
 			polling-delay = <0>;
 			thermal-sensors = <&pm8150l_adc_tm 1>;
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +2 -2
index a7ec81657503..8b70e831aff2 100644
@@ -595,9 +595,9 @@ &sdmmc {
 };
 
 &sdhci {
+	max-frequency = <150000000>;
 	bus-width = <8>;
-	mmc-hs400-1_8v;
-	mmc-hs400-enhanced-strobe;
+	mmc-hs200-1_8v;
 	non-removable;
 	status = "okay";
 };
arch/powerpc/kernel/rtas_flash.c +3 -3
index a99179d83538..56bd0aa30f93 100644
@@ -710,9 +710,9 @@ static int __init rtas_flash_init(void)
 	if (!rtas_validate_flash_data.buf)
 		return -ENOMEM;
 
-	flash_block_cache = kmem_cache_create("rtas_flash_cache",
-					      RTAS_BLK_SIZE, RTAS_BLK_SIZE, 0,
-					      NULL);
+	flash_block_cache = kmem_cache_create_usercopy("rtas_flash_cache",
+						       RTAS_BLK_SIZE, RTAS_BLK_SIZE,
+						       0, 0, RTAS_BLK_SIZE, NULL);
 	if (!flash_block_cache) {
 		printk(KERN_ERR "%s: failed to create block cache\n",
 				__func__);
arch/powerpc/mm/kasan/Makefile +1 -0
index bb1a5408b86b..8636b17c6a20 100644
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 KASAN_SANITIZE := n
+KCOV_INSTRUMENT := n
 
 obj-$(CONFIG_PPC32)           += kasan_init_32.o
 obj-$(CONFIG_PPC_8xx)		+= 8xx.o
arch/riscv/lib/uaccess.S +7 -4
index 2c7c1c5026af..4fe436a0eec2 100644
@@ -19,8 +19,11 @@ ENTRY(__asm_copy_from_user)
 	li t6, SR_SUM
 	csrs CSR_STATUS, t6
 
-	/* Save for return value */
-	mv	t5, a2
+	/*
+	 * Save the terminal address which will be used to compute the number
+	 * of bytes copied in case of a fixup exception.
+	 */
+	add	t5, a0, a2
 
 	/*
 	 * Register allocation for code below:
@@ -178,7 +181,7 @@ ENTRY(__asm_copy_from_user)
 10:
 	/* Disable access to user memory */
 	csrc CSR_STATUS, t6
-	mv a0, t5
+	sub a0, t5, a0
 	ret
 ENDPROC(__asm_copy_to_user)
 ENDPROC(__asm_copy_from_user)
@@ -230,7 +233,7 @@ ENTRY(__clear_user)
 11:
 	/* Disable access to user memory */
 	csrc CSR_STATUS, t6
-	mv a0, a1
+	sub a0, a3, a0
 	ret
 ENDPROC(__clear_user)
 EXPORT_SYMBOL(__clear_user)
arch/x86/include/asm/entry-common.h +1 -0
index 43184640b579..a12fdf01dc26 100644
@@ -92,6 +92,7 @@ static inline void arch_exit_to_user_mode_prepare(struct pt_regs *regs,
 static __always_inline void arch_exit_to_user_mode(void)
 {
 	mds_user_clear_cpu_buffers();
+	amd_clear_divider();
 }
 #define arch_exit_to_user_mode arch_exit_to_user_mode
 
arch/x86/include/asm/nospec-branch.h +17 -11
index 4a12dfdd317c..940c15ee5650 100644
@@ -156,9 +156,9 @@
 .endm
 
 #ifdef CONFIG_CPU_UNRET_ENTRY
-#define CALL_ZEN_UNTRAIN_RET	"call zen_untrain_ret"
+#define CALL_UNTRAIN_RET	"call entry_untrain_ret"
 #else
-#define CALL_ZEN_UNTRAIN_RET	""
+#define CALL_UNTRAIN_RET	""
 #endif
 
 /*
@@ -166,7 +166,7 @@
  * return thunk isn't mapped into the userspace tables (then again, AMD
  * typically has NO_MELTDOWN).
  *
- * While zen_untrain_ret() doesn't clobber anything but requires stack,
+ * While retbleed_untrain_ret() doesn't clobber anything but requires stack,
  * entry_ibpb() will clobber AX, CX, DX.
  *
  * As such, this must be placed after every *SWITCH_TO_KERNEL_CR3 at a point
@@ -177,14 +177,9 @@
 	defined(CONFIG_CPU_SRSO)
 	ANNOTATE_UNRET_END
 	ALTERNATIVE_2 "",						\
-	              CALL_ZEN_UNTRAIN_RET, X86_FEATURE_UNRET,		\
+		      CALL_UNTRAIN_RET, X86_FEATURE_UNRET,		\
 		      "call entry_ibpb", X86_FEATURE_ENTRY_IBPB
 #endif
-
-#ifdef CONFIG_CPU_SRSO
-	ALTERNATIVE_2 "", "call srso_untrain_ret", X86_FEATURE_SRSO, \
-			  "call srso_untrain_ret_alias", X86_FEATURE_SRSO_ALIAS
-#endif
 .endm
 
 #else /* __ASSEMBLY__ */
@@ -195,10 +190,21 @@
 	_ASM_PTR " 999b\n\t"					\
 	".popsection\n\t"
 
+#ifdef CONFIG_RETHUNK
 extern void __x86_return_thunk(void);
-extern void zen_untrain_ret(void);
+#else
+static inline void __x86_return_thunk(void) {}
+#endif
+
+extern void retbleed_return_thunk(void);
+extern void srso_return_thunk(void);
+extern void srso_alias_return_thunk(void);
+
+extern void retbleed_untrain_ret(void);
 extern void srso_untrain_ret(void);
-extern void srso_untrain_ret_alias(void);
+extern void srso_alias_untrain_ret(void);
+
+extern void entry_untrain_ret(void);
 extern void entry_ibpb(void);
 
 #ifdef CONFIG_RETPOLINE
arch/x86/kernel/cpu/amd.c +1 -0
index 0ca7123417ab..0a0230bd5089 100644
@@ -1320,3 +1320,4 @@ void noinstr amd_clear_divider(void)
 	asm volatile(ALTERNATIVE("", "div %2\n\t", X86_BUG_DIV0)
 		     :: "a" (0), "d" (0), "r" (1));
 }
+EXPORT_SYMBOL_GPL(amd_clear_divider);
arch/x86/kernel/cpu/bugs.c +23 -5
index 73dad1400633..0d2c5fe84141 100644
@@ -62,6 +62,8 @@ EXPORT_SYMBOL_GPL(x86_pred_cmd);
 
 static DEFINE_MUTEX(spec_ctrl_mutex);
 
+void (*x86_return_thunk)(void) __ro_after_init = &__x86_return_thunk;
+
 /* Update SPEC_CTRL MSR and its cached copy unconditionally */
 static void update_spec_ctrl(u64 val)
 {
@@ -164,8 +166,13 @@ void __init cpu_select_mitigations(void)
 	md_clear_select_mitigation();
 	srbds_select_mitigation();
 	l1d_flush_select_mitigation();
-	gds_select_mitigation();
+
+	/*
+	 * srso_select_mitigation() depends and must run after
+	 * retbleed_select_mitigation().
+	 */
 	srso_select_mitigation();
+	gds_select_mitigation();
 }
 
 /*
@@ -1013,6 +1020,9 @@ static void __init retbleed_select_mitigation(void)
 		setup_force_cpu_cap(X86_FEATURE_RETHUNK);
 		setup_force_cpu_cap(X86_FEATURE_UNRET);
 
+		if (IS_ENABLED(CONFIG_RETHUNK))
+			x86_return_thunk = retbleed_return_thunk;
+
 		if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD &&
 		    boot_cpu_data.x86_vendor != X86_VENDOR_HYGON)
 			pr_err(RETBLEED_UNTRAIN_MSG);
@@ -2388,9 +2398,10 @@ static void __init srso_select_mitigation(void)
 		 * Zen1/2 with SMT off aren't vulnerable after the right
 		 * IBPB microcode has been applied.
 		 */
-		if ((boot_cpu_data.x86 < 0x19) &&
-		    (!cpu_smt_possible() || (cpu_smt_control == CPU_SMT_DISABLED)))
+		if (boot_cpu_data.x86 < 0x19 && !cpu_smt_possible()) {
 			setup_force_cpu_cap(X86_FEATURE_SRSO_NO);
+			return;
+		}
 	}
 
 	if (retbleed_mitigation == RETBLEED_MITIGATION_IBPB) {
@@ -2419,11 +2430,15 @@ static void __init srso_select_mitigation(void)
 			 * like ftrace, static_call, etc.
 			 */
 			setup_force_cpu_cap(X86_FEATURE_RETHUNK);
+			setup_force_cpu_cap(X86_FEATURE_UNRET);
 
-			if (boot_cpu_data.x86 == 0x19)
+			if (boot_cpu_data.x86 == 0x19) {
 				setup_force_cpu_cap(X86_FEATURE_SRSO_ALIAS);
-			else
+				x86_return_thunk = srso_alias_return_thunk;
+			} else {
 				setup_force_cpu_cap(X86_FEATURE_SRSO);
+				x86_return_thunk = srso_return_thunk;
+			}
 			srso_mitigation = SRSO_MITIGATION_SAFE_RET;
 		} else {
 			pr_err("WARNING: kernel not compiled with CPU_SRSO.\n");
@@ -2672,6 +2687,9 @@ static ssize_t gds_show_state(char *buf)
 
 static ssize_t srso_show_state(char *buf)
 {
+	if (boot_cpu_has(X86_FEATURE_SRSO_NO))
+		return sysfs_emit(buf, "Mitigation: SMT disabled\n");
+
 	return sysfs_emit(buf, "%s%s\n",
 			  srso_strings[srso_mitigation],
 			  (cpu_has_ibpb_brtype_microcode() ? "" : ", no microcode"));
arch/x86/kernel/static_call.c +13 -0
index 2fc4f96702e6..b48b659ccf6f 100644
@@ -135,6 +135,19 @@ EXPORT_SYMBOL_GPL(arch_static_call_transform);
  */
 bool __static_call_fixup(void *tramp, u8 op, void *dest)
 {
+	unsigned long addr = (unsigned long)tramp;
+	/*
+	 * Not all .return_sites are a static_call trampoline (most are not).
+	 * Check if the 3 bytes after the return are still kernel text, if not,
+	 * then this definitely is not a trampoline and we need not worry
+	 * further.
+	 *
+	 * This avoids the memcmp() below tripping over pagefaults etc..
+	 */
+	if (((addr >> PAGE_SHIFT) != ((addr + 7) >> PAGE_SHIFT)) &&
+	    !kernel_text_address(addr + 7))
+		return false;
+
 	if (memcmp(tramp+5, tramp_ud, 3)) {
 		/* Not a trampoline site, not our problem. */
 		return false;
arch/x86/kernel/traps.c +0 -2
index 3361d32d090f..ca47080e3774 100644
@@ -202,8 +202,6 @@ DEFINE_IDTENTRY(exc_divide_error)
 {
 	do_error_trap(regs, 0, "divide error", X86_TRAP_DE, SIGFPE,
 		      FPE_INTDIV, error_get_trap_addr(regs));
-
-	amd_clear_divider();
 }
 
 DEFINE_IDTENTRY(exc_overflow)
arch/x86/kernel/vmlinux.lds.S +10 -10
index 7f3fa72a236a..ca1a7595edac 100644
@@ -134,18 +134,18 @@ SECTIONS
 		KPROBES_TEXT
 		ALIGN_ENTRY_TEXT_BEGIN
 #ifdef CONFIG_CPU_SRSO
-		*(.text.__x86.rethunk_untrain)
+		*(.text..__x86.rethunk_untrain)
 #endif
 
 		ENTRY_TEXT
 
 #ifdef CONFIG_CPU_SRSO
 		/*
-		 * See the comment above srso_untrain_ret_alias()'s
+		 * See the comment above srso_alias_untrain_ret()'s
 		 * definition.
 		 */
-		. = srso_untrain_ret_alias | (1 << 2) | (1 << 8) | (1 << 14) | (1 << 20);
-		*(.text.__x86.rethunk_safe)
+		. = srso_alias_untrain_ret | (1 << 2) | (1 << 8) | (1 << 14) | (1 << 20);
+		*(.text..__x86.rethunk_safe)
 #endif
 		ALIGN_ENTRY_TEXT_END
 		SOFTIRQENTRY_TEXT
@@ -155,8 +155,8 @@ SECTIONS
 
 #ifdef CONFIG_RETPOLINE
 		__indirect_thunk_start = .;
-		*(.text.__x86.indirect_thunk)
-		*(.text.__x86.return_thunk)
+		*(.text..__x86.indirect_thunk)
+		*(.text..__x86.return_thunk)
 		__indirect_thunk_end = .;
 #endif
 	} :text =0xcccc
@@ -511,8 +511,8 @@ INIT_PER_CPU(irq_stack_backing_store);
            "fixed_percpu_data is not at start of per-cpu area");
 #endif
 
- #ifdef CONFIG_RETHUNK
-. = ASSERT((__ret & 0x3f) == 0, "__ret not cacheline-aligned");
+#ifdef CONFIG_RETHUNK
+. = ASSERT((retbleed_return_thunk & 0x3f) == 0, "retbleed_return_thunk not cacheline-aligned");
 . = ASSERT((srso_safe_ret & 0x3f) == 0, "srso_safe_ret not cacheline-aligned");
 #endif
 
@@ -527,8 +527,8 @@ INIT_PER_CPU(irq_stack_backing_store);
  * Instead do: (A | B) - (A & B) in order to compute the XOR
  * of the two function addresses:
  */
-. = ASSERT(((ABSOLUTE(srso_untrain_ret_alias) | srso_safe_ret_alias) -
-		(ABSOLUTE(srso_untrain_ret_alias) & srso_safe_ret_alias)) == ((1 << 2) | (1 << 8) | (1 << 14) | (1 << 20)),
+. = ASSERT(((ABSOLUTE(srso_alias_untrain_ret) | srso_alias_safe_ret) -
+		(ABSOLUTE(srso_alias_untrain_ret) & srso_alias_safe_ret)) == ((1 << 2) | (1 << 8) | (1 << 14) | (1 << 20)),
 		"SRSO function pair won't alias");
 #endif
 
arch/x86/kvm/svm/svm.c +2 -0
index d63c3843e493..8e9a6c41f9ee 100644
@@ -1452,6 +1452,8 @@ static void svm_prepare_guest_switch(struct kvm_vcpu *vcpu)
 	struct vcpu_svm *svm = to_svm(vcpu);
 	struct svm_cpu_data *sd = per_cpu(svm_data, vcpu->cpu);
 
+	amd_clear_divider();
+
 	if (sev_es_guest(vcpu->kvm))
 		sev_es_unmap_ghcb(svm);
 
arch/x86/lib/retpoline.S +94 -41

226 lines not on this page · raw message

drivers/bluetooth/btusb.c +3 -0
index 9eb2267bd3a0..15d253325fd8 100644
@@ -475,6 +475,9 @@ static const struct usb_device_id blacklist_table[] = {
 	{ USB_DEVICE(0x0489, 0xe0d9), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH |
 						     BTUSB_VALID_LE_STATES },
+	{ USB_DEVICE(0x0489, 0xe0f5), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH |
+						     BTUSB_VALID_LE_STATES },
 	{ USB_DEVICE(0x13d3, 0x3568), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH |
 						     BTUSB_VALID_LE_STATES },
drivers/bus/ti-sysc.c +2 -0
index 7d508f905003..71b541538801 100644
@@ -2089,6 +2089,8 @@ static int sysc_reset(struct sysc *ddata)
 		sysc_val = sysc_read_sysconfig(ddata);
 		sysc_val |= sysc_mask;
 		sysc_write(ddata, sysc_offset, sysc_val);
+		/* Flush posted write */
+		sysc_val = sysc_read_sysconfig(ddata);
 	}
 
 	if (ddata->cfg.srst_udelay)
drivers/firewire/net.c +4 -2
index 4c3fd2eed1da..beba0a56bb9a 100644
@@ -488,7 +488,7 @@ static int fwnet_finish_incoming_packet(struct net_device *net,
 					struct sk_buff *skb, u16 source_node_id,
 					bool is_broadcast, u16 ether_type)
 {
-	int status;
+	int status, len;
 
 	switch (ether_type) {
 	case ETH_P_ARP:
@@ -542,13 +542,15 @@ static int fwnet_finish_incoming_packet(struct net_device *net,
 		}
 		skb->protocol = protocol;
 	}
+
+	len = skb->len;
 	status = netif_rx(skb);
 	if (status == NET_RX_DROP) {
 		net->stats.rx_errors++;
 		net->stats.rx_dropped++;
 	} else {
 		net->stats.rx_packets++;
-		net->stats.rx_bytes += skb->len;
+		net->stats.rx_bytes += len;
 	}
 
 	return 0;
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +3 -3
index 2fd4d8ad7e40..4b01188385b2 100644
@@ -1541,15 +1541,15 @@ static int amdgpu_cs_wait_all_fences(struct amdgpu_device *adev,
 			continue;
 
 		r = dma_fence_wait_timeout(fence, true, timeout);
+		if (r > 0 && fence->error)
+			r = fence->error;
+
 		dma_fence_put(fence);
 		if (r < 0)
 			return r;
 
 		if (r == 0)
 			break;
-
-		if (fence->error)
-			return fence->error;
 	}
 
 	memset(wait, 0, sizeof(*wait));
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -0
index 642acfc9f0b1..2b5766d3789b 100644
@@ -4066,6 +4066,7 @@ int amdgpu_device_suspend(struct drm_device *dev, bool fbcon)
 		amdgpu_fbdev_set_suspend(adev, 1);
 
 	cancel_delayed_work_sync(&adev->delayed_init_work);
+	flush_delayed_work(&adev->gfx.gfx_off_delay_work);
 
 	amdgpu_ras_suspend(adev);
 
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +1 -8
index 5e32906f9819..252712f930f4 100644
@@ -579,15 +579,8 @@ void amdgpu_gfx_off_ctrl(struct amdgpu_device *adev, bool enable)
 
 		if (adev->gfx.gfx_off_req_count == 0 &&
 		    !adev->gfx.gfx_off_state) {
-			/* If going to s2idle, no need to wait */
-			if (adev->in_s0ix) {
-				if (!amdgpu_dpm_set_powergating_by_smu(adev,
-						AMD_IP_BLOCK_TYPE_GFX, true))
-					adev->gfx.gfx_off_state = true;
-			} else {
-				schedule_delayed_work(&adev->gfx.gfx_off_delay_work,
+			schedule_delayed_work(&adev->gfx.gfx_off_delay_work,
 					      delay);
-			}
 		}
 	} else {
 		if (adev->gfx.gfx_off_req_count == 0) {
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +4 -2
index 0e4554950e07..788611a50a68 100644
@@ -2260,6 +2260,7 @@ struct amdgpu_bo_va *amdgpu_vm_bo_add(struct amdgpu_device *adev,
 	amdgpu_vm_bo_base_init(&bo_va->base, vm, bo);
 
 	bo_va->ref_count = 1;
+	bo_va->last_pt_update = dma_fence_get_stub();
 	INIT_LIST_HEAD(&bo_va->valids);
 	INIT_LIST_HEAD(&bo_va->invalids);
 
@@ -2974,7 +2975,8 @@ int amdgpu_vm_init(struct amdgpu_device *adev, struct amdgpu_vm *vm)
 		vm->update_funcs = &amdgpu_vm_cpu_funcs;
 	else
 		vm->update_funcs = &amdgpu_vm_sdma_funcs;
-	vm->last_update = NULL;
+
+	vm->last_update = dma_fence_get_stub();
 	vm->last_unlocked = dma_fence_get_stub();
 
 	mutex_init(&vm->eviction_lock);
@@ -3117,7 +3119,7 @@ int amdgpu_vm_make_compute(struct amdgpu_device *adev, struct amdgpu_vm *vm)
 		vm->update_funcs = &amdgpu_vm_sdma_funcs;
 	}
 	dma_fence_put(vm->last_update);
-	vm->last_update = NULL;
+	vm->last_update = dma_fence_get_stub();
 	vm->is_compute_context = true;
 
 	/* Free the shadow bo for compute VM */
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +168 -41

270 lines not on this page · raw message

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.h +14 -0
index 09294ff122fe..bbbf7d0eff82 100644
@@ -52,6 +52,20 @@ struct hdcp_workqueue {
 	struct mod_hdcp_link link;
 
 	enum mod_hdcp_encryption_status encryption_status;
+
+	/* when display is unplugged from mst hub, connctor will be
+	 * destroyed within dm_dp_mst_connector_destroy. connector
+	 * hdcp perperties, like type, undesired, desired, enabled,
+	 * will be lost. So, save hdcp properties into hdcp_work within
+	 * amdgpu_dm_atomic_commit_tail. if the same display is
+	 * plugged back with same display index, its hdcp properties
+	 * will be retrieved from hdcp_work within dm_dp_mst_get_modes
+	 */
+	/* un-desired, desired, enabled */
+	unsigned int content_protection[AMDGPU_DM_MAX_DISPLAY_INDEX];
+	/* hdcp1.x, hdcp2.x */
+	unsigned int hdcp_content_type[AMDGPU_DM_MAX_DISPLAY_INDEX];
+
 	uint8_t max_link;
 
 	uint8_t *srm;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +30 -0
index 7a3fee71a867..0b58a9386449 100644
@@ -32,6 +32,10 @@
 #include "amdgpu_dm.h"
 #include "amdgpu_dm_mst_types.h"
 
+#ifdef CONFIG_DRM_AMD_DC_HDCP
+#include "amdgpu_dm_hdcp.h"
+#endif
+
 #include "dc.h"
 #include "dm_helpers.h"
 
@@ -315,6 +319,32 @@ static int dm_dp_mst_get_modes(struct drm_connector *connector)
 		/* dc_link_add_remote_sink returns a new reference */
 		aconnector->dc_sink = dc_sink;
 
+		/* when display is unplugged from mst hub, connctor will be
+		 * destroyed within dm_dp_mst_connector_destroy. connector
+		 * hdcp perperties, like type, undesired, desired, enabled,
+		 * will be lost. So, save hdcp properties into hdcp_work within
+		 * amdgpu_dm_atomic_commit_tail. if the same display is
+		 * plugged back with same display index, its hdcp properties
+		 * will be retrieved from hdcp_work within dm_dp_mst_get_modes
+		 */
+#ifdef CONFIG_DRM_AMD_DC_HDCP
+		if (aconnector->dc_sink && connector->state) {
+			struct drm_device *dev = connector->dev;
+			struct amdgpu_device *adev = drm_to_adev(dev);
+
+			if (adev->dm.hdcp_workqueue) {
+				struct hdcp_workqueue *hdcp_work = adev->dm.hdcp_workqueue;
+				struct hdcp_workqueue *hdcp_w =
+					&hdcp_work[aconnector->dc_link->link_index];
+
+				connector->state->hdcp_content_type =
+				hdcp_w->hdcp_content_type[connector->index];
+				connector->state->content_protection =
+				hdcp_w->content_protection[connector->index];
+			}
+		}
+#endif
+
 		if (aconnector->dc_sink) {
 			amdgpu_dm_update_freesync_caps(
 					connector, aconnector->edid);
drivers/gpu/drm/panel/panel-simple.c +12 -12
index 391d73d2638a..7cf0af78b7bc 100644
@@ -1258,21 +1258,21 @@ static const struct panel_desc auo_g104sn02 = {
 	.connector_type = DRM_MODE_CONNECTOR_LVDS,
 };
 
-static const struct drm_display_mode auo_g121ean01_mode = {
-	.clock = 66700,
-	.hdisplay = 1280,
-	.hsync_start = 1280 + 58,
-	.hsync_end = 1280 + 58 + 8,
-	.htotal = 1280 + 58 + 8 + 70,
-	.vdisplay = 800,
-	.vsync_start = 800 + 6,
-	.vsync_end = 800 + 6 + 4,
-	.vtotal = 800 + 6 + 4 + 10,
+static const struct display_timing auo_g121ean01_timing = {
+	.pixelclock = { 60000000, 74400000, 90000000 },
+	.hactive = { 1280, 1280, 1280 },
+	.hfront_porch = { 20, 50, 100 },
+	.hback_porch = { 20, 50, 100 },
+	.hsync_len = { 30, 100, 200 },
+	.vactive = { 800, 800, 800 },
+	.vfront_porch = { 2, 10, 25 },
+	.vback_porch = { 2, 10, 25 },
+	.vsync_len = { 4, 18, 50 },
 };
 
 static const struct panel_desc auo_g121ean01 = {
-	.modes = &auo_g121ean01_mode,
-	.num_modes = 1,
+	.timings = &auo_g121ean01_timing,
+	.num_timings = 1,
 	.bpc = 8,
 	.size = {
 		.width = 261,
drivers/gpu/drm/qxl/qxl_drv.h +1 -1
index 359266d9e860..f0f512d58497 100644
@@ -318,7 +318,7 @@ int qxl_gem_object_create_with_handle(struct qxl_device *qdev,
 				      u32 domain,
 				      size_t size,
 				      struct qxl_surface *surf,
-				      struct qxl_bo **qobj,
+				      struct drm_gem_object **gobj,
 				      uint32_t *handle);
 void qxl_gem_object_free(struct drm_gem_object *gobj);
 int qxl_gem_object_open(struct drm_gem_object *obj, struct drm_file *file_priv);
drivers/gpu/drm/qxl/qxl_dumb.c +4 -1
index d636ba685451..17df5c7ccf69 100644
@@ -34,6 +34,7 @@ int qxl_mode_dumb_create(struct drm_file *file_priv,
 {
 	struct qxl_device *qdev = to_qxl(dev);
 	struct qxl_bo *qobj;
+	struct drm_gem_object *gobj;
 	uint32_t handle;
 	int r;
 	struct qxl_surface surf;
@@ -62,11 +63,13 @@ int qxl_mode_dumb_create(struct drm_file *file_priv,
 
 	r = qxl_gem_object_create_with_handle(qdev, file_priv,
 					      QXL_GEM_DOMAIN_CPU,
-					      args->size, &surf, &qobj,
+					      args->size, &surf, &gobj,
 					      &handle);
 	if (r)
 		return r;
+	qobj = gem_to_qxl_bo(gobj);
 	qobj->is_dumb = true;
+	drm_gem_object_put(gobj);
 	args->pitch = pitch;
 	args->handle = handle;
 	return 0;
drivers/gpu/drm/qxl/qxl_gem.c +17 -8
index a08da0bd9098..fc5e3763c359 100644
@@ -72,32 +72,41 @@ int qxl_gem_object_create(struct qxl_device *qdev, int size,
 	return 0;
 }
 
+/*
+ * If the caller passed a valid gobj pointer, it is responsible to call
+ * drm_gem_object_put() when it no longer needs to acess the object.
+ *
+ * If gobj is NULL, it is handled internally.
+ */
 int qxl_gem_object_create_with_handle(struct qxl_device *qdev,
 				      struct drm_file *file_priv,
 				      u32 domain,
 				      size_t size,
 				      struct qxl_surface *surf,
-				      struct qxl_bo **qobj,
+				      struct drm_gem_object **gobj,
 				      uint32_t *handle)
 {
-	struct drm_gem_object *gobj;
 	int r;
+	struct drm_gem_object *local_gobj;
 
-	BUG_ON(!qobj);
 	BUG_ON(!handle);
 
 	r = qxl_gem_object_create(qdev, size, 0,
 				  domain,
 				  false, false, surf,
-				  &gobj);
+				  &local_gobj);
 	if (r)
 		return -ENOMEM;
-	r = drm_gem_handle_create(file_priv, gobj, handle);
+	r = drm_gem_handle_create(file_priv, local_gobj, handle);
 	if (r)
 		return r;
-	/* drop reference from allocate - handle holds it now */
-	*qobj = gem_to_qxl_bo(gobj);
-	drm_gem_object_put(gobj);
+
+	if (gobj)
+		*gobj = local_gobj;
+	else
+		/* drop reference from allocate - handle holds it now */
+		drm_gem_object_put(local_gobj);
+
 	return 0;
 }
 
drivers/gpu/drm/qxl/qxl_ioctl.c +2 -4
index 38aabcbe2238..4066499ca79e 100644
@@ -39,7 +39,6 @@ static int qxl_alloc_ioctl(struct drm_device *dev, void *data,
 	struct qxl_device *qdev = to_qxl(dev);
 	struct drm_qxl_alloc *qxl_alloc = data;
 	int ret;
-	struct qxl_bo *qobj;
 	uint32_t handle;
 	u32 domain = QXL_GEM_DOMAIN_VRAM;
 
@@ -51,7 +50,7 @@ static int qxl_alloc_ioctl(struct drm_device *dev, void *data,
 						domain,
 						qxl_alloc->size,
 						NULL,
-						&qobj, &handle);
+						NULL, &handle);
 	if (ret) {
 		DRM_ERROR("%s: failed to create gem ret=%d\n",
 			  __func__, ret);
@@ -393,7 +392,6 @@ static int qxl_alloc_surf_ioctl(struct drm_device *dev, void *data,
 {
 	struct qxl_device *qdev = to_qxl(dev);
 	struct drm_qxl_alloc_surf *param = data;
-	struct qxl_bo *qobj;
 	int handle;
 	int ret;
 	int size, actual_stride;
@@ -413,7 +411,7 @@ static int qxl_alloc_surf_ioctl(struct drm_device *dev, void *data,
 						QXL_GEM_DOMAIN_SURFACE,
 						size,
 						&surf,
-						&qobj, &handle);
+						NULL, &handle);
 	if (ret) {
 		DRM_ERROR("%s: failed to create gem ret=%d\n",
 			  __func__, ret);
drivers/hid/hid-ids.h +1 -0
index 5daec769df7a..5fceefb3c707 100644
@@ -593,6 +593,7 @@
 #define USB_DEVICE_ID_UGCI_FIGHTING	0x0030
 
 #define USB_VENDOR_ID_HP		0x03f0
+#define USB_PRODUCT_ID_HP_ELITE_PRESENTER_MOUSE_464A		0x464a
 #define USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0A4A	0x0a4a
 #define USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0B4A	0x0b4a
 #define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE		0x134a
drivers/hid/hid-logitech-hidpp.c +4 -0
index c61da859cd3c..0ac67dd76574 100644
@@ -4377,6 +4377,8 @@ static const struct hid_device_id hidpp_devices[] = {
 	  HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC086) },
 	{ /* Logitech G903 Hero Gaming Mouse over USB */
 	  HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC091) },
+	{ /* Logitech G915 TKL Keyboard over USB */
+	  HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC343) },
 	{ /* Logitech G920 Wheel over USB */
 	  HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G920_WHEEL),
 		.driver_data = HIDPP_QUIRK_CLASS_G920 | HIDPP_QUIRK_FORCE_OUTPUT_REPORTS},
@@ -4392,6 +4394,8 @@ static const struct hid_device_id hidpp_devices[] = {
 	{ /* MX5500 keyboard over Bluetooth */
 	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb30b),
 	  .driver_data = HIDPP_QUIRK_HIDPP_CONSUMER_VENDOR_KEYS },
+	{ /* Logitech G915 TKL keyboard over Bluetooth */
+	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb35f) },
 	{ /* M-RCQ142 V470 Cordless Laser Mouse over Bluetooth */
 	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb008) },
 	{ /* MX Master mouse over Bluetooth */
drivers/hid/hid-quirks.c +1 -0
index c7c06aa958c4..96ca7d981ee2 100644
@@ -96,6 +96,7 @@ static const struct hid_device_id hid_quirks[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_KEYBOARD_A096), HID_QUIRK_NO_INIT_REPORTS },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_KEYBOARD_A293), HID_QUIRK_ALWAYS_POLL },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0A4A), HID_QUIRK_ALWAYS_POLL },
+	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_ELITE_PRESENTER_MOUSE_464A), HID_QUIRK_MULTI_INPUT },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0B4A), HID_QUIRK_ALWAYS_POLL },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE), HID_QUIRK_ALWAYS_POLL },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_094A), HID_QUIRK_ALWAYS_POLL },
drivers/i2c/busses/i2c-bcm-iproc.c +7 -4
index 6304d1dd2dd6..ec6571b82fff 100644
@@ -243,13 +243,14 @@ static inline u32 iproc_i2c_rd_reg(struct bcm_iproc_i2c_dev *iproc_i2c,
 				   u32 offset)
 {
 	u32 val;
+	unsigned long flags;
 
 	if (iproc_i2c->idm_base) {
-		spin_lock(&iproc_i2c->idm_lock);
+		spin_lock_irqsave(&iproc_i2c->idm_lock, flags);
 		writel(iproc_i2c->ape_addr_mask,
 		       iproc_i2c->idm_base + IDM_CTRL_DIRECT_OFFSET);
 		val = readl(iproc_i2c->base + offset);
-		spin_unlock(&iproc_i2c->idm_lock);
+		spin_unlock_irqrestore(&iproc_i2c->idm_lock, flags);
 	} else {
 		val = readl(iproc_i2c->base + offset);
 	}
@@ -260,12 +261,14 @@ static inline u32 iproc_i2c_rd_reg(struct bcm_iproc_i2c_dev *iproc_i2c,
 static inline void iproc_i2c_wr_reg(struct bcm_iproc_i2c_dev *iproc_i2c,
 				    u32 offset, u32 val)
 {
+	unsigned long flags;
+
 	if (iproc_i2c->idm_base) {
-		spin_lock(&iproc_i2c->idm_lock);
+		spin_lock_irqsave(&iproc_i2c->idm_lock, flags);
 		writel(iproc_i2c->ape_addr_mask,
 		       iproc_i2c->idm_base + IDM_CTRL_DIRECT_OFFSET);
 		writel(val, iproc_i2c->base + offset);
-		spin_unlock(&iproc_i2c->idm_lock);
+		spin_unlock_irqrestore(&iproc_i2c->idm_lock, flags);
 	} else {
 		writel(val, iproc_i2c->base + offset);
 	}
drivers/i2c/busses/i2c-designware-master.c +14 -2
index e0559eff8928..b79e1380ff68 100644
@@ -525,9 +525,21 @@ i2c_dw_read(struct dw_i2c_dev *dev)
 			u32 flags = msgs[dev->msg_read_idx].flags;
 
 			regmap_read(dev->map, DW_IC_DATA_CMD, &tmp);
+			tmp &= DW_IC_DATA_CMD_DAT;
 			/* Ensure length byte is a valid value */
-			if (flags & I2C_M_RECV_LEN &&
-			    (tmp & DW_IC_DATA_CMD_DAT) <= I2C_SMBUS_BLOCK_MAX && tmp > 0) {
+			if (flags & I2C_M_RECV_LEN) {
+				/*
+				 * if IC_EMPTYFIFO_HOLD_MASTER_EN is set, which cannot be
+				 * detected from the registers, the controller can be
+				 * disabled if the STOP bit is set. But it is only set
+				 * after receiving block data response length in
+				 * I2C_FUNC_SMBUS_BLOCK_DATA case. That needs to read
+				 * another byte with STOP bit set when the block data
+				 * response length is invalid to complete the transaction.
+				 */
+				if (!tmp || tmp > I2C_SMBUS_BLOCK_MAX)
+					tmp = 1;
+
 				len = i2c_dw_recv_len(dev, tmp);
 			}
 			*buf++ = tmp;
drivers/i2c/busses/i2c-hisi.c +8 -0
index 1f406e6f4ece..6bdebe51ea11 100644
@@ -329,6 +329,14 @@ static irqreturn_t hisi_i2c_irq(int irq, void *context)
 	struct hisi_i2c_controller *ctlr = context;
 	u32 int_stat;
 
+	/*
+	 * Don't handle the interrupt if cltr->completion is NULL. We may
+	 * reach here because the interrupt is spurious or the transfer is
+	 * started by another port (e.g. firmware) rather than us.
+	 */
+	if (!ctlr->completion)
+		return IRQ_NONE;
+
 	int_stat = readl(ctlr->iobase + HISI_I2C_INT_MSTAT);
 	hisi_i2c_clear_int(ctlr, int_stat);
 	if (!(int_stat & HISI_I2C_INT_ALL))
drivers/iio/Kconfig +1 -0
index 2334ad249b46..4fb4321a72cb 100644
@@ -70,6 +70,7 @@ config IIO_TRIGGERED_EVENT
 
 source "drivers/iio/accel/Kconfig"
 source "drivers/iio/adc/Kconfig"
+source "drivers/iio/addac/Kconfig"
 source "drivers/iio/afe/Kconfig"
 source "drivers/iio/amplifiers/Kconfig"
 source "drivers/iio/cdc/Kconfig"
drivers/iio/Makefile +1 -0
index 65e39bd4f934..8d48c70fee4d 100644
@@ -15,6 +15,7 @@ obj-$(CONFIG_IIO_TRIGGERED_EVENT) += industrialio-triggered-event.o
 
 obj-y += accel/
 obj-y += adc/
+obj-y += addac/
 obj-y += afe/
 obj-y += amplifiers/
 obj-y += buffer/
drivers/iio/adc/Kconfig +0 -16
index af168e1c9fdb..86b83dc7b7d9 100644
@@ -991,22 +991,6 @@ config STMPE_ADC
 	  Say yes here to build support for ST Microelectronics STMPE
 	  built-in ADC block (stmpe811).
 
-config STX104
-	tristate "Apex Embedded Systems STX104 driver"
-	depends on PC104 && X86
-	select ISA_BUS_API
-	select GPIOLIB
-	help
-	  Say yes here to build support for the Apex Embedded Systems STX104
-	  integrated analog PC/104 card.
-
-	  This driver supports the 16 channels of single-ended (8 channels of
-	  differential) analog inputs, 2 channels of analog output, 4 digital
-	  inputs, and 4 digital outputs provided by the STX104.
-
-	  The base port addresses for the devices may be configured via the base
-	  array module parameter.
-
 config SUN4I_GPADC
 	tristate "Support for the Allwinner SoCs GPADC"
 	depends on IIO
drivers/iio/adc/Makefile +0 -1
index d68550f493e3..13668c4cfbaf 100644
@@ -85,7 +85,6 @@ obj-$(CONFIG_ROCKCHIP_SARADC) += rockchip_saradc.o
 obj-$(CONFIG_RZG2L_ADC) += rzg2l_adc.o
 obj-$(CONFIG_SC27XX_ADC) += sc27xx_adc.o
 obj-$(CONFIG_SPEAR_ADC) += spear_adc.o
-obj-$(CONFIG_STX104) += stx104.o
 obj-$(CONFIG_SUN4I_GPADC) += sun4i-gpadc-iio.o
 obj-$(CONFIG_STM32_ADC_CORE) += stm32-adc-core.o
 obj-$(CONFIG_STM32_ADC) += stm32-adc.o
drivers/iio/adc/stx104.c deleted +0 -374

374 lines not on this page · raw message

drivers/iio/addac/Kconfig new file +24 -0
new file mode 100644
index 000000000000..1f598670e84f
@@ -0,0 +1,24 @@
+#
+# ADC DAC drivers
+#
+# When adding new entries keep the list in alphabetical order
+
+menu "Analog to digital and digital to analog converters"
+
+config STX104
+	tristate "Apex Embedded Systems STX104 driver"
+	depends on PC104 && X86
+	select ISA_BUS_API
+	select GPIOLIB
+	help
+	  Say yes here to build support for the Apex Embedded Systems STX104
+	  integrated analog PC/104 card.
+
+	  This driver supports the 16 channels of single-ended (8 channels of
+	  differential) analog inputs, 2 channels of analog output, 4 digital
+	  inputs, and 4 digital outputs provided by the STX104.
+
+	  The base port addresses for the devices may be configured via the base
+	  array module parameter.
+
+endmenu
drivers/iio/addac/Makefile new file +7 -0
new file mode 100644
index 000000000000..862914523354
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Makefile for industrial I/O ADDAC drivers
+#
+
+# When adding new entries keep the list in alphabetical order
+obj-$(CONFIG_STX104) += stx104.o
drivers/iio/addac/stx104.c new file +414 -0

414 lines not on this page · raw message

drivers/infiniband/hw/mlx5/qpc.c +4 -6
index 8844eacf2380..e508c0753dd3 100644
@@ -297,8 +297,7 @@ int mlx5_core_destroy_qp(struct mlx5_ib_dev *dev, struct mlx5_core_qp *qp)
 	MLX5_SET(destroy_qp_in, in, opcode, MLX5_CMD_OP_DESTROY_QP);
 	MLX5_SET(destroy_qp_in, in, qpn, qp->qpn);
 	MLX5_SET(destroy_qp_in, in, uid, qp->uid);
-	mlx5_cmd_exec_in(dev->mdev, destroy_qp, in);
-	return 0;
+	return mlx5_cmd_exec_in(dev->mdev, destroy_qp, in);
 }
 
 int mlx5_core_set_delay_drop(struct mlx5_ib_dev *dev,
@@ -548,14 +547,14 @@ int mlx5_core_xrcd_dealloc(struct mlx5_ib_dev *dev, u32 xrcdn)
 	return mlx5_cmd_exec_in(dev->mdev, dealloc_xrcd, in);
 }
 
-static void destroy_rq_tracked(struct mlx5_ib_dev *dev, u32 rqn, u16 uid)
+static int destroy_rq_tracked(struct mlx5_ib_dev *dev, u32 rqn, u16 uid)
 {
 	u32 in[MLX5_ST_SZ_DW(destroy_rq_in)] = {};
 
 	MLX5_SET(destroy_rq_in, in, opcode, MLX5_CMD_OP_DESTROY_RQ);
 	MLX5_SET(destroy_rq_in, in, rqn, rqn);
 	MLX5_SET(destroy_rq_in, in, uid, uid);
-	mlx5_cmd_exec_in(dev->mdev, destroy_rq, in);
+	return mlx5_cmd_exec_in(dev->mdev, destroy_rq, in);
 }
 
 int mlx5_core_create_rq_tracked(struct mlx5_ib_dev *dev, u32 *in, int inlen,
@@ -586,8 +585,7 @@ int mlx5_core_destroy_rq_tracked(struct mlx5_ib_dev *dev,
 				 struct mlx5_core_qp *rq)
 {
 	destroy_resource_common(dev, rq);
-	destroy_rq_tracked(dev, rq->qpn, rq->uid);
-	return 0;
+	return destroy_rq_tracked(dev, rq->qpn, rq->uid);
 }
 
 static void destroy_sq_tracked(struct mlx5_ib_dev *dev, u32 sqn, u16 uid)
drivers/media/platform/mtk-vpu/mtk_vpu.c +4 -2
index 7f1647da0ade..af59cc52fdd7 100644
@@ -562,15 +562,17 @@ static int load_requested_vpu(struct mtk_vpu *vpu,
 int vpu_load_firmware(struct platform_device *pdev)
 {
 	struct mtk_vpu *vpu;
-	struct device *dev = &pdev->dev;
+	struct device *dev;
 	struct vpu_run *run;
 	int ret;
 
 	if (!pdev) {
-		dev_err(dev, "VPU platform device is invalid\n");
+		pr_err("VPU platform device is invalid\n");
 		return -EINVAL;
 	}
 
+	dev = &pdev->dev;
+
 	vpu = platform_get_drvdata(pdev);
 	run = &vpu->run;
 
drivers/mmc/core/block.c +4 -3
index 0b72096f10e6..965b44a09507 100644
@@ -2081,14 +2081,14 @@ static void mmc_blk_mq_poll_completion(struct mmc_queue *mq,
 	mmc_blk_urgent_bkops(mq, mqrq);
 }
 
-static void mmc_blk_mq_dec_in_flight(struct mmc_queue *mq, struct request *req)
+static void mmc_blk_mq_dec_in_flight(struct mmc_queue *mq, enum mmc_issue_type issue_type)
 {
 	unsigned long flags;
 	bool put_card;
 
 	spin_lock_irqsave(&mq->lock, flags);
 
-	mq->in_flight[mmc_issue_type(mq, req)] -= 1;
+	mq->in_flight[issue_type] -= 1;
 
 	put_card = (mmc_tot_in_flight(mq) == 0);
 
@@ -2100,6 +2100,7 @@ static void mmc_blk_mq_dec_in_flight(struct mmc_queue *mq, struct request *req)
 
 static void mmc_blk_mq_post_req(struct mmc_queue *mq, struct request *req)
 {
+	enum mmc_issue_type issue_type = mmc_issue_type(mq, req);
 	struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req);
 	struct mmc_request *mrq = &mqrq->brq.mrq;
 	struct mmc_host *host = mq->card->host;
@@ -2115,7 +2116,7 @@ static void mmc_blk_mq_post_req(struct mmc_queue *mq, struct request *req)
 	else if (likely(!blk_should_fake_timeout(req->q)))
 		blk_mq_complete_request(req);
 
-	mmc_blk_mq_dec_in_flight(mq, req);
+	mmc_blk_mq_dec_in_flight(mq, issue_type);
 }
 
 void mmc_blk_mq_recovery(struct mmc_queue *mq)
drivers/mmc/host/bcm2835.c +2 -2
index 8c2361e66277..985079943be7 100644
@@ -1413,8 +1413,8 @@ static int bcm2835_probe(struct platform_device *pdev)
 	host->max_clk = clk_get_rate(clk);
 
 	host->irq = platform_get_irq(pdev, 0);
-	if (host->irq <= 0) {
-		ret = -EINVAL;
+	if (host->irq < 0) {
+		ret = host->irq;
 		goto err;
 	}
 
drivers/mmc/host/sdhci_f_sdh30.c +31 -35

118 lines not on this page · raw message

drivers/mmc/host/sunxi-mmc.c +2 -2
index 032f2c03e8fb..3c213816db78 100644
@@ -1341,8 +1341,8 @@ static int sunxi_mmc_resource_request(struct sunxi_mmc_host *host,
 		return ret;
 
 	host->irq = platform_get_irq(pdev, 0);
-	if (host->irq <= 0) {
-		ret = -EINVAL;
+	if (host->irq < 0) {
+		ret = host->irq;
 		goto error_disable_mmc;
 	}
 
drivers/mmc/host/wbsd.c +0 -2
index 7c7ec8d10232..b5b1a42ca25e 100644
@@ -1705,8 +1705,6 @@ static int wbsd_init(struct device *dev, int base, int irq, int dma,
 
 		wbsd_release_resources(host);
 		wbsd_free_mmc(dev);
-
-		mmc_free_host(mmc);
 		return ret;
 	}
 
drivers/net/dsa/mv88e6xxx/chip.c +8 -0
index ac1560fa29e4..7e93b72f9b54 100644
@@ -2588,6 +2588,14 @@ static void mv88e6xxx_hardware_reset(struct mv88e6xxx_chip *chip)
 
 	/* If there is a GPIO connected to the reset pin, toggle it */
 	if (gpiod) {
+		/* If the switch has just been reset and not yet completed
+		 * loading EEPROM, the reset may interrupt the I2C transaction
+		 * mid-byte, causing the first EEPROM read after the reset
+		 * from the wrong location resulting in the switch booting
+		 * to wrong mode and inoperable.
+		 */
+		mv88e6xxx_g1_wait_eeprom_done(chip);
+
 		gpiod_set_value_cansleep(gpiod, 1);
 		usleep_range(10000, 20000);
 		gpiod_set_value_cansleep(gpiod, 0);
drivers/net/ethernet/intel/i40e/i40e_nvm.c +8 -8
index 82af180cc5ee..b7556a6c2758 100644
@@ -210,11 +210,11 @@ static int i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset,
  * @hw: pointer to the HW structure.
  * @module_pointer: module pointer location in words from the NVM beginning
  * @offset: offset in words from module start
- * @words: number of words to write
- * @data: buffer with words to write to the Shadow RAM
+ * @words: number of words to read
+ * @data: buffer with words to read to the Shadow RAM
  * @last_command: tells the AdminQ that this is the last command
  *
- * Writes a 16 bit words buffer to the Shadow RAM using the admin command.
+ * Reads a 16 bit words buffer to the Shadow RAM using the admin command.
  **/
 static int i40e_read_nvm_aq(struct i40e_hw *hw,
 			    u8 module_pointer, u32 offset,
@@ -234,18 +234,18 @@ static int i40e_read_nvm_aq(struct i40e_hw *hw,
 	 */
 	if ((offset + words) > hw->nvm.sr_size)
 		i40e_debug(hw, I40E_DEBUG_NVM,
-			   "NVM write error: offset %d beyond Shadow RAM limit %d\n",
+			   "NVM read error: offset %d beyond Shadow RAM limit %d\n",
 			   (offset + words), hw->nvm.sr_size);
 	else if (words > I40E_SR_SECTOR_SIZE_IN_WORDS)
-		/* We can write only up to 4KB (one sector), in one AQ write */
+		/* We can read only up to 4KB (one sector), in one AQ write */
 		i40e_debug(hw, I40E_DEBUG_NVM,
-			   "NVM write fail error: tried to write %d words, limit is %d.\n",
+			   "NVM read fail error: tried to read %d words, limit is %d.\n",
 			   words, I40E_SR_SECTOR_SIZE_IN_WORDS);
 	else if (((offset + (words - 1)) / I40E_SR_SECTOR_SIZE_IN_WORDS)
 		 != (offset / I40E_SR_SECTOR_SIZE_IN_WORDS))
-		/* A single write cannot spread over two sectors */
+		/* A single read cannot spread over two sectors */
 		i40e_debug(hw, I40E_DEBUG_NVM,
-			   "NVM write error: cannot spread over two sectors in a single write offset=%d words=%d\n",
+			   "NVM read error: cannot spread over two sectors in a single read offset=%d words=%d\n",
 			   offset, words);
 	else
 		ret_code = i40e_aq_read_nvm(hw, module_pointer,
drivers/net/ethernet/intel/iavf/iavf_ethtool.c +10 -0
index e622b6e6ac2b..a9a7453d969c 100644
@@ -1275,6 +1275,7 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spe
 		fltr->ip_mask.src_port = fsp->m_u.tcp_ip4_spec.psrc;
 		fltr->ip_mask.dst_port = fsp->m_u.tcp_ip4_spec.pdst;
 		fltr->ip_mask.tos = fsp->m_u.tcp_ip4_spec.tos;
+		fltr->ip_ver = 4;
 		break;
 	case AH_V4_FLOW:
 	case ESP_V4_FLOW:
@@ -1286,6 +1287,7 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spe
 		fltr->ip_mask.v4_addrs.dst_ip = fsp->m_u.ah_ip4_spec.ip4dst;
 		fltr->ip_mask.spi = fsp->m_u.ah_ip4_spec.spi;
 		fltr->ip_mask.tos = fsp->m_u.ah_ip4_spec.tos;
+		fltr->ip_ver = 4;
 		break;
 	case IPV4_USER_FLOW:
 		fltr->ip_data.v4_addrs.src_ip = fsp->h_u.usr_ip4_spec.ip4src;
@@ -1298,6 +1300,7 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spe
 		fltr->ip_mask.l4_header = fsp->m_u.usr_ip4_spec.l4_4_bytes;
 		fltr->ip_mask.tos = fsp->m_u.usr_ip4_spec.tos;
 		fltr->ip_mask.proto = fsp->m_u.usr_ip4_spec.proto;
+		fltr->ip_ver = 4;
 		break;
 	case TCP_V6_FLOW:
 	case UDP_V6_FLOW:
@@ -1316,6 +1319,7 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spe
 		fltr->ip_mask.src_port = fsp->m_u.tcp_ip6_spec.psrc;
 		fltr->ip_mask.dst_port = fsp->m_u.tcp_ip6_spec.pdst;
 		fltr->ip_mask.tclass = fsp->m_u.tcp_ip6_spec.tclass;
+		fltr->ip_ver = 6;
 		break;
 	case AH_V6_FLOW:
 	case ESP_V6_FLOW:
@@ -1331,6 +1335,7 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spe
 		       sizeof(struct in6_addr));
 		fltr->ip_mask.spi = fsp->m_u.ah_ip6_spec.spi;
 		fltr->ip_mask.tclass = fsp->m_u.ah_ip6_spec.tclass;
+		fltr->ip_ver = 6;
 		break;
 	case IPV6_USER_FLOW:
 		memcpy(&fltr->ip_data.v6_addrs.src_ip, fsp->h_u.usr_ip6_spec.ip6src,
@@ -1347,6 +1352,7 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spe
 		fltr->ip_mask.l4_header = fsp->m_u.usr_ip6_spec.l4_4_bytes;
 		fltr->ip_mask.tclass = fsp->m_u.usr_ip6_spec.tclass;
 		fltr->ip_mask.proto = fsp->m_u.usr_ip6_spec.l4_proto;
+		fltr->ip_ver = 6;
 		break;
 	case ETHER_FLOW:
 		fltr->eth_data.etype = fsp->h_u.ether_spec.h_proto;
@@ -1357,6 +1363,10 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spe
 		return -EINVAL;
 	}
 
+	err = iavf_validate_fdir_fltr_masks(adapter, fltr);
+	if (err)
+		return err;
+
 	if (iavf_fdir_is_dup_fltr(adapter, fltr))
 		return -EEXIST;
 
drivers/net/ethernet/intel/iavf/iavf_fdir.c +73 -4

95 lines not on this page · raw message

drivers/net/ethernet/intel/iavf/iavf_fdir.h +2 -0
index 33c55c366315..9eb9f73f6adf 100644
@@ -110,6 +110,8 @@ struct iavf_fdir_fltr {
 	struct virtchnl_fdir_add vc_add_msg;
 };
 
+int iavf_validate_fdir_fltr_masks(struct iavf_adapter *adapter,
+				  struct iavf_fdir_fltr *fltr);
 int iavf_fill_fdir_add_msg(struct iavf_adapter *adapter, struct iavf_fdir_fltr *fltr);
 void iavf_print_fdir_fltr(struct iavf_adapter *adapter, struct iavf_fdir_fltr *fltr);
 bool iavf_fdir_is_dup_fltr(struct iavf_adapter *adapter, struct iavf_fdir_fltr *fltr);
drivers/net/ethernet/intel/igc/igc_base.h +8 -3
index ce530f5fd7bd..52849f5e8048 100644
@@ -85,8 +85,13 @@ union igc_adv_rx_desc {
 #define IGC_RXDCTL_SWFLUSH		0x04000000 /* Receive Software Flush */
 
 /* SRRCTL bit definitions */
-#define IGC_SRRCTL_BSIZEPKT_SHIFT		10 /* Shift _right_ */
-#define IGC_SRRCTL_BSIZEHDRSIZE_SHIFT		2  /* Shift _left_ */
-#define IGC_SRRCTL_DESCTYPE_ADV_ONEBUF	0x02000000
+#define IGC_SRRCTL_BSIZEPKT_MASK	GENMASK(6, 0)
+#define IGC_SRRCTL_BSIZEPKT(x)		FIELD_PREP(IGC_SRRCTL_BSIZEPKT_MASK, \
+					(x) / 1024) /* in 1 KB resolution */
+#define IGC_SRRCTL_BSIZEHDR_MASK	GENMASK(13, 8)
+#define IGC_SRRCTL_BSIZEHDR(x)		FIELD_PREP(IGC_SRRCTL_BSIZEHDR_MASK, \
+					(x) / 64) /* in 64 bytes resolution */
+#define IGC_SRRCTL_DESCTYPE_MASK	GENMASK(27, 25)
+#define IGC_SRRCTL_DESCTYPE_ADV_ONEBUF	FIELD_PREP(IGC_SRRCTL_DESCTYPE_MASK, 1)
 
 #endif /* _IGC_BASE_H */
drivers/net/ethernet/intel/igc/igc_main.c +5 -2
index a47dce10d3a7..a8c24a1c12b4 100644
@@ -674,8 +674,11 @@ static void igc_configure_rx_ring(struct igc_adapter *adapter,
 	else
 		buf_size = IGC_RXBUFFER_2048;
 
-	srrctl = IGC_RX_HDR_LEN << IGC_SRRCTL_BSIZEHDRSIZE_SHIFT;
-	srrctl |= buf_size >> IGC_SRRCTL_BSIZEPKT_SHIFT;
+	srrctl = rd32(IGC_SRRCTL(reg_idx));
+	srrctl &= ~(IGC_SRRCTL_BSIZEPKT_MASK | IGC_SRRCTL_BSIZEHDR_MASK |
+		    IGC_SRRCTL_DESCTYPE_MASK);
+	srrctl |= IGC_SRRCTL_BSIZEHDR(IGC_RX_HDR_LEN);
+	srrctl |= IGC_SRRCTL_BSIZEPKT(buf_size);
 	srrctl |= IGC_SRRCTL_DESCTYPE_ADV_ONEBUF;
 
 	wr32(IGC_SRRCTL(reg_idx), srrctl);
drivers/net/macsec.c +55 -15

219 lines not on this page · raw message

drivers/net/phy/broadcom.c +13 -0
index b330efb98209..f3b39af83a27 100644
@@ -412,6 +412,17 @@ static int bcm54xx_resume(struct phy_device *phydev)
 	return bcm54xx_config_init(phydev);
 }
 
+static int bcm54810_read_mmd(struct phy_device *phydev, int devnum, u16 regnum)
+{
+	return -EOPNOTSUPP;
+}
+
+static int bcm54810_write_mmd(struct phy_device *phydev, int devnum, u16 regnum,
+			      u16 val)
+{
+	return -EOPNOTSUPP;
+}
+
 static int bcm54811_config_init(struct phy_device *phydev)
 {
 	int err, reg;
@@ -832,6 +843,8 @@ static struct phy_driver broadcom_drivers[] = {
 	.get_strings	= bcm_phy_get_strings,
 	.get_stats	= bcm54xx_get_stats,
 	.probe		= bcm54xx_phy_probe,
+	.read_mmd	= bcm54810_read_mmd,
+	.write_mmd	= bcm54810_write_mmd,
 	.config_init    = bcm54xx_config_init,
 	.config_aneg    = bcm5481_config_aneg,
 	.config_intr    = bcm_phy_config_intr,
drivers/net/phy/phy_device.c +2 -11
index 6085a28cae3d..0429825a7179 100644
@@ -3061,6 +3061,8 @@ static int phy_probe(struct device *dev)
 			goto out;
 	}
 
+	phy_disable_interrupts(phydev);
+
 	/* Start out supporting everything. Eventually,
 	 * a controller will attach, and may modify one
 	 * or both of these values
@@ -3148,16 +3150,6 @@ static int phy_remove(struct device *dev)
 	return 0;
 }
 
-static void phy_shutdown(struct device *dev)
-{
-	struct phy_device *phydev = to_phy_device(dev);
-
-	if (phydev->state == PHY_READY || !phydev->attached_dev)
-		return;
-
-	phy_disable_interrupts(phydev);
-}
-
 /**
  * phy_driver_register - register a phy_driver with the PHY layer
  * @new_driver: new phy_driver to register
@@ -3181,7 +3173,6 @@ int phy_driver_register(struct phy_driver *new_driver, struct module *owner)
 	new_driver->mdiodrv.driver.bus = &mdio_bus_type;
 	new_driver->mdiodrv.driver.probe = phy_probe;
 	new_driver->mdiodrv.driver.remove = phy_remove;
-	new_driver->mdiodrv.driver.shutdown = phy_shutdown;
 	new_driver->mdiodrv.driver.owner = owner;
 	new_driver->mdiodrv.driver.probe_type = PROBE_FORCE_SYNCHRONOUS;
 
drivers/net/team/team.c +3 -1
index 4dfa9c610974..f99df92d211e 100644
@@ -2195,7 +2195,9 @@ static void team_setup(struct net_device *dev)
 
 	dev->hw_features = TEAM_VLAN_FEATURES |
 			   NETIF_F_HW_VLAN_CTAG_RX |
-			   NETIF_F_HW_VLAN_CTAG_FILTER;
+			   NETIF_F_HW_VLAN_CTAG_FILTER |
+			   NETIF_F_HW_VLAN_STAG_RX |
+			   NETIF_F_HW_VLAN_STAG_FILTER;
 
 	dev->hw_features |= NETIF_F_GSO_ENCAP_ALL;
 	dev->features |= dev->hw_features;
drivers/net/virtio_net.c +2 -2
index af335f8266c2..3eefe8171925 100644
@@ -3319,8 +3319,6 @@ static int virtnet_probe(struct virtio_device *vdev)
 		}
 	}
 
-	_virtnet_set_queues(vi, vi->curr_queue_pairs);
-
 	/* serialize netdev register + virtio_device_ready() with ndo_open() */
 	rtnl_lock();
 
@@ -3333,6 +3331,8 @@ static int virtnet_probe(struct virtio_device *vdev)
 
 	virtio_device_ready(vdev);
 
+	_virtnet_set_queues(vi, vi->curr_queue_pairs);
+
 	rtnl_unlock();
 
 	err = virtnet_cpu_notif_add(vi);
drivers/pci/controller/dwc/pcie-tegra194.c +11 -2
index bdd84765e646..765abe073228 100644
@@ -239,6 +239,7 @@
 #define EP_STATE_ENABLED	1
 
 static const unsigned int pcie_gen_freq[] = {
+	GEN1_CORE_CLK_FREQ,	/* PCI_EXP_LNKSTA_CLS == 0; undefined */
 	GEN1_CORE_CLK_FREQ,
 	GEN2_CORE_CLK_FREQ,
 	GEN3_CORE_CLK_FREQ,
@@ -452,7 +453,11 @@ static irqreturn_t tegra_pcie_ep_irq_thread(int irq, void *arg)
 
 	speed = dw_pcie_readw_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKSTA) &
 		PCI_EXP_LNKSTA_CLS;
-	clk_set_rate(pcie->core_clk, pcie_gen_freq[speed - 1]);
+
+	if (speed >= ARRAY_SIZE(pcie_gen_freq))
+		speed = 0;
+
+	clk_set_rate(pcie->core_clk, pcie_gen_freq[speed]);
 
 	/* If EP doesn't advertise L1SS, just return */
 	val = dw_pcie_readl_dbi(pci, pcie->cfg_link_cap_l1sub);
@@ -989,7 +994,11 @@ static int tegra_pcie_dw_start_link(struct dw_pcie *pci)
 
 	speed = dw_pcie_readw_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKSTA) &
 		PCI_EXP_LNKSTA_CLS;
-	clk_set_rate(pcie->core_clk, pcie_gen_freq[speed - 1]);
+
+	if (speed >= ARRAY_SIZE(pcie_gen_freq))
+		speed = 0;
+
+	clk_set_rate(pcie->core_clk, pcie_gen_freq[speed]);
 
 	tegra_pcie_enable_interrupts(pp);
 
drivers/pcmcia/rsrc_nonstatic.c +2 -0
index 1cac52870711..e6c90c0bb764 100644
@@ -1053,6 +1053,8 @@ static void nonstatic_release_resource_db(struct pcmcia_socket *s)
 		q = p->next;
 		kfree(p);
 	}
+
+	kfree(data);
 }
 
 
drivers/soc/aspeed/aspeed-socinfo.c +1 -0
index 1ca140356a08..3f759121dc00 100644
@@ -137,6 +137,7 @@ static int __init aspeed_socinfo_init(void)
 
 	soc_dev = soc_device_register(attrs);
 	if (IS_ERR(soc_dev)) {
+		kfree(attrs->machine);
 		kfree(attrs->soc_id);
 		kfree(attrs->serial_number);
[… more lines in the raw message]

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

drivers/thunderbolt/retimer.c +21 -8
index 566c03105fb8..1b7ab0bbd132 100644

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

drivers/tty/n_gsm.c +2 -1
index 54173c23263c..67889c014414 100644

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

drivers/tty/serial/8250/8250_port.c +1 -0
index ad5b742a68cd..74e477016f25 100644

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

drivers/tty/serial/fsl_lpuart.c +22 -4
index b0b27808c7c3..e0d576b88d7d 100644

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

drivers/usb/chipidea/ci_hdrc_imx.c +5 -0
index 097142ffb184..669e7606651a 100644

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

drivers/usb/chipidea/usbmisc_imx.c +1 -1
index bac0f5458cab..2318c7906acd 100644

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

drivers/usb/dwc3/core.c +5 -4
index f2e841bc05c7..6377b9cf81a5 100644

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

drivers/usb/dwc3/dwc3-qcom.c +10 -1
index 73c0c381e5d0..0180350a2c95 100644

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

drivers/usb/dwc3/gadget.c +45 -71

116 lines not on this page · raw message

drivers/usb/gadget/function/u_serial.c +3 -0
index a8d1e8b192c5..f975dc03a190 100644

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

drivers/vdpa/vdpa_user/vduse_dev.c +4 -4
index 30ae4237f3dd..564864f039d2 100644

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

drivers/video/fbdev/mmp/hw/mmp_ctrl.c +3 -1
index 061a105afb86..27c3ee5df8de 100644

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

drivers/virtio/virtio_mmio.c +2 -3
index fe696aafaed8..f4d43d60d710 100644

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

drivers/watchdog/sp5100_tco.c +3 -1
index 1e327fb1ad20..0141858188c5 100644

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

fs/btrfs/block-group.c +4 -1
index d24cef671c1a..4ca6828586af 100644

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

fs/btrfs/volumes.c +1 -2
index 5e191860e8a8..0e9236a745b8 100644

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

fs/cifs/cifsfs.c +10 -18
index c9481289266c..b5ae209539ff 100644

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

fs/cifs/file.c +17 -8
index e65fbae9e804..9e8a69f9421e 100644

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

fs/exfat/dir.c +7 -2
index 8475a8653c3a..f6dd4fc8eaf4 100644

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

fs/gfs2/super.c +15 -11
index ca6ee1cbccd5..51b44da4a0d6 100644

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

fs/ntfs3/frecord.c +11 -5
index d24e12d348d4..9a1744955d1c 100644

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

fs/ntfs3/fsntfs.c +1 -1
index 3c823613de97..0ae70010b01d 100644

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

fs/ntfs3/index.c +6 -0
index 124eba7238fd..7705adc926b8 100644

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

fs/ntfs3/ntfs_fs.h +2 -0
index fc0eb93c76de..510ed2ea1c48 100644

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

fs/ntfs3/record.c +8 -2
index 41f6e578966b..938fc286963f 100644

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

fs/overlayfs/ovl_entry.h +9 -0
index b2d64f3c974b..08031638bbee 100644

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

include/linux/iopoll.h +2 -0
index 2c8860e406bd..0417360a6db9 100644

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

include/linux/objtool.h +28 -0
index a2042c418686..51f5b24af834 100644

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

include/linux/virtio_net.h +4 -0
index a960de68ac69..6047058d6703 100644

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

include/media/v4l2-mem2mem.h +16 -2
index 5a91b548ecc0..8d52c4506762 100644

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

include/net/sock.h +6 -0
index 93a6717213ae..6b12b62417e0 100644

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

include/net/tls.h +2 -0
index bf3d63a52788..eda0015c5c59 100644

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

kernel/dma/remap.c +2 -2
index b4526668072e..27596f3b4aef 100644

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

kernel/trace/ring_buffer.c +13 -1
index e1cef097b0df..db7cefd196ce 100644

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

kernel/trace/trace.c +2 -1
index ae7005af78c3..d4c381f06b7b 100644

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

net/bluetooth/l2cap_core.c +5 -0
index 9dd54247029a..0770286ecf0b 100644

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

net/core/sock.c +1 -1
index 1f9401d757cb..ae1e9e2b8255 100644

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

net/ipv4/ip_vti.c +2 -2
index efe25a0172e6..df23319adc80 100644

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

net/ipv4/tcp_timer.c +3 -1
index 50bba370486e..a8592c187b32 100644

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

net/ipv6/ip6_vti.c +2 -2
index 42c37ec832f1..190aa3b19591 100644

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

net/key/af_key.c +2 -2
index d34fed1a484a..258fa046f440 100644

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

net/netfilter/ipvs/ip_vs_ctl.c +4 -0
index 29ec3ef63edc..d0b64c36471d 100644

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

net/netfilter/nf_conntrack_proto_sctp.c +3 -3
index 895e0ca54299..7247af51bdfc 100644

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

net/netfilter/nf_tables_api.c +1 -0
index 1e84314fe334..1e2d1e4bdb74 100644

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

net/netfilter/nft_dynset.c +3 -0
index 29c7ae8789e9..73e606372b05 100644

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

net/netfilter/nft_set_pipapo.c +12 -1
index a81829c10fea..32cfd0a84b0e 100644

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

net/tls/tls_device.c +74 -63

137 lines not on this page · raw message

net/unix/af_unix.c +4 -5
index 7a076d5017d1..5264fe82e6ec 100644

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

net/xfrm/xfrm_compat.c +1 -1
index 8cbf45a8bcdc..655fe4ff8621 100644

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

net/xfrm/xfrm_interface_core.c +2 -2
index 694eec6ca147..ded752e33dac 100644

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

net/xfrm/xfrm_user.c +12 -2
index eb0952dbf423..ff56b6a0162e 100644

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

sound/hda/hdac_regmap.c +3 -4
index fe3587547cfe..39610a15bcc9 100644

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

sound/pci/hda/patch_realtek.c +14 -2
index 965720b1d1b1..59e11a070c20 100644

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

sound/soc/codecs/rt5665.c +2 -0
index e59323fd5bf2..5e00aca0c418 100644

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

sound/soc/meson/axg-tdm-formatter.c +26 -16

42 lines not on this page · raw message

sound/soc/sof/intel/hda.c +11 -1
index 35cbef171f4a..038d09f6203a 100644

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

sound/usb/quirks-table.h +29 -0
index efe62f19c4d2..6d332c9eb444 100644

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

tools/include/linux/objtool.h +28 -0
index a2042c418686..51f5b24af834 100644

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

tools/objtool/arch/x86/decode.c +1 -1
index cf8ea3594125..a9c5d54f1688 100644

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

tools/objtool/check.c +13 -8
index f331780f0425..f9ff878d6ba1 100644

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

tools/testing/selftests/net/forwarding/mirror_gre_changes.sh +2 -1
index 472bd023e2a5..b501b366367f 100755

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

tools/testing/selftests/net/forwarding/tc_actions.sh +12 -6
index 1e27031288c8..dd02ed4cacac 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.