Skip to contentSkip to conversation

Linux 5.15.124

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

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 5.15.124 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/security-bugs.rst                |   39 
 Documentation/trace/kprobetrace.rst                        |    8 
 MAINTAINERS                                                |    1 
 Makefile                                                   |    2 
 arch/s390/mm/gmap.c                                        |    1 
 arch/x86/include/asm/kvm-x86-ops.h                         |    1 
 arch/x86/include/asm/kvm_host.h                            |    3 
 arch/x86/kvm/svm/svm.c                                     |    6 
 arch/x86/kvm/vmx/vmx.c                                     |   41 
 arch/x86/kvm/x86.c                                         |   34 
 drivers/acpi/processor_perflib.c                           |   38 
 drivers/ata/pata_ns87415.c                                 |    2 
 drivers/block/rbd.c                                        |  124 
 drivers/char/tpm/tpm_tis_core.c                            |   10 
 drivers/cpufreq/intel_pstate.c                             |   14 
 drivers/gpio/gpio-mvebu.c                                  |   26 
 drivers/gpio/gpio-tps68470.c                               |    6 
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c                    |    6 
 drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c                   |   45 
 drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.h                   |    5 
 drivers/gpu/drm/msm/adreno/a5xx_gpu.c                      |    2 
 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h                |    2 
 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h              |   13 
 drivers/gpu/drm/ttm/ttm_bo.c                               |   25 
 drivers/hwmon/k10temp.c                                    |   17 
 drivers/hwmon/nct7802.c                                    |    2 
 drivers/i2c/busses/i2c-ibm_iic.c                           |    4 
 drivers/i2c/busses/i2c-nomadik.c                           |   42 
 drivers/i2c/busses/i2c-sh7760.c                            |    3 
 drivers/i2c/busses/i2c-tiny-usb.c                          |    4 
 drivers/infiniband/hw/bnxt_re/ib_verbs.c                   |   12 
 drivers/infiniband/hw/bnxt_re/qplib_fp.c                   |   18 
 drivers/infiniband/hw/bnxt_re/qplib_fp.h                   |    1 
 drivers/infiniband/hw/irdma/ctrl.c                         |   31 
 drivers/infiniband/hw/irdma/defs.h                         |   46 
 drivers/infiniband/hw/irdma/hw.c                           |    3 
 drivers/infiniband/hw/irdma/main.h                         |    2 
 drivers/infiniband/hw/irdma/puda.c                         |    6 
 drivers/infiniband/hw/irdma/type.h                         |    2 
 drivers/infiniband/hw/irdma/uk.c                           |    3 
 drivers/infiniband/hw/irdma/utils.c                        |    8 
 drivers/infiniband/hw/mlx4/qp.c                            |   18 
 drivers/infiniband/hw/mthca/mthca_qp.c                     |    2 
 drivers/irqchip/irq-bcm6345-l1.c                           |   14 
 drivers/irqchip/irq-gic-v3-its.c                           |   75 
 drivers/md/dm-cache-policy-smq.c                           |   28 
 drivers/md/dm-raid.c                                       |   20 
 drivers/md/md.c                                            |    2 
 drivers/net/Makefile                                       |    2 
 drivers/net/bonding/bond_main.c                            |    5 
 drivers/net/can/usb/gs_usb.c                               |    2 
 drivers/net/ethernet/atheros/atl1e/atl1e_main.c            |    7 
 drivers/net/ethernet/emulex/benet/be_main.c                |    3 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c     |   17 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c |    3 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c      |    3 
 drivers/net/ethernet/intel/i40e/i40e_debugfs.c             |    2 
 drivers/net/ethernet/intel/iavf/iavf_main.c                |   11 
 drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c          |   26 
 drivers/net/ethernet/intel/igc/igc_main.c                  |   40 
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c              |    2 
 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c           |    4 
 drivers/net/phy/marvell10g.c                               |    7 
 drivers/net/team/team.c                                    |    9 
 drivers/net/virtio_net.c                                   |    4 
 drivers/net/vxlan.c                                        | 4834 -------------
 drivers/net/vxlan/Makefile                                 |    7 
 drivers/net/vxlan/vxlan_core.c                             | 4831 ++++++++++++
 drivers/pci/controller/pcie-rockchip-ep.c                  |  156 
 drivers/pci/controller/pcie-rockchip.h                     |   40 
 drivers/pci/pcie/aspm.c                                    |   55 
 drivers/phy/hisilicon/phy-hisi-inno-usb2.c                 |    2 
 drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c              |   86 
 drivers/platform/x86/msi-laptop.c                          |    8 
 drivers/pwm/pwm-meson.c                                    |   25 
 drivers/s390/block/dasd_ioctl.c                            |    1 
 drivers/scsi/qla2xxx/qla_attr.c                            |    3 
 drivers/scsi/qla2xxx/qla_def.h                             |   27 
 drivers/scsi/qla2xxx/qla_gbl.h                             |   14 
 drivers/scsi/qla2xxx/qla_init.c                            |  256 
 drivers/scsi/qla2xxx/qla_iocb.c                            |   33 
 drivers/scsi/qla2xxx/qla_isr.c                             |   26 
 drivers/scsi/qla2xxx/qla_target.h                          |    2 
 drivers/soundwire/qcom.c                                   |    2 
 drivers/staging/ks7010/ks_wlan_net.c                       |    6 
 drivers/staging/media/atomisp/Kconfig                      |    1 
 drivers/staging/rtl8712/rtl871x_xmit.c                     |   43 
 drivers/staging/rtl8712/xmit_linux.c                       |    6 
 drivers/tty/n_gsm.c                                        |    4 
 drivers/tty/n_tty.c                                        |   29 
 drivers/tty/serial/8250/8250_dwlib.c                       |    6 
 drivers/tty/serial/qcom_geni_serial.c                      |    7 
 drivers/tty/serial/sifive.c                                |    2 
 drivers/usb/cdns3/cdns3-gadget.c                           |    4 
 drivers/usb/core/quirks.c                                  |    4 
 drivers/usb/dwc3/core.c                                    |   20 
 drivers/usb/dwc3/core.h                                    |    3 
 drivers/usb/dwc3/dwc3-pci.c                                |    6 
 drivers/usb/gadget/composite.c                             |    4 
 drivers/usb/gadget/legacy/raw_gadget.c                     |   10 
 drivers/usb/gadget/udc/tegra-xudc.c                        |    8 
 drivers/usb/host/ohci-at91.c                               |    8 
 drivers/usb/host/xhci-mtk.c                                |    1 
 drivers/usb/host/xhci-pci.c                                |    4 
 drivers/usb/host/xhci-ring.c                               |   25 
 drivers/usb/host/xhci-tegra.c                              |    8 
 drivers/usb/serial/option.c                                |    6 
 drivers/usb/serial/usb-serial-simple.c                     |   73 
 fs/btrfs/qgroup.c                                          |   18 
 fs/btrfs/transaction.c                                     |   10 
 fs/ceph/metric.c                                           |    2 
 fs/cifs/cifs_dfs_ref.c                                     |  100 
 fs/cifs/file.c                                             |    4 
 fs/dlm/plock.c                                             |  100 
 fs/file.c                                                  |    6 
 fs/internal.h                                              |    2 
 fs/jbd2/checkpoint.c                                       |   32 
 fs/ksmbd/vfs.c                                             |    2 
 fs/nfsd/nfs4state.c                                        |    2 
 include/linux/namei.h                                      |    2 
 include/linux/pwm.h                                        |    5 
 include/net/ipv6.h                                         |    8 
 include/net/vxlan.h                                        |   13 
 include/uapi/linux/blkzoned.h                              |   10 
 io_uring/io_uring.c                                        |   10 
 kernel/locking/rtmutex.c                                   |  170 
 kernel/locking/rtmutex_api.c                               |    2 
 kernel/locking/rtmutex_common.h                            |   47 
 kernel/locking/ww_mutex.h                                  |   12 
 kernel/trace/ring_buffer.c                                 |   22 
 kernel/trace/trace.c                                       |    2 
 kernel/trace/trace.h                                       |    6 
 kernel/trace/trace_events.c                                |   14 
 kernel/trace/trace_events_hist.c                           |    7 
 kernel/trace/trace_events_synth.c                          |   80 
 kernel/trace/trace_probe.c                                 |   46 
 kernel/trace/trace_probe.h                                 |   16 
 kernel/trace/trace_probe_kernel.h                          |   30 
 kernel/trace/trace_probe_tmpl.h                            |   59 
 kernel/trace/trace_synth.h                                 |    1 
 kernel/trace/trace_uprobe.c                                |    3 
 net/ceph/messenger.c                                       |    1 
 net/ipv6/addrconf.c                                        |   14 
 net/netfilter/nf_tables_api.c                              |    5 
 net/netfilter/nft_immediate.c                              |   27 
 net/netfilter/nft_set_rbtree.c                             |   20 
 net/sched/sch_mqprio.c                                     |  144 
 net/tipc/crypto.c                                          |    3 
 net/tipc/node.c                                            |    2 
 sound/pci/hda/patch_realtek.c                              |    1 
 sound/soc/codecs/cs42l51-i2c.c                             |    6 
 sound/soc/codecs/cs42l51.c                                 |    7 
 sound/soc/codecs/cs42l51.h                                 |    1 
 sound/soc/codecs/wm8904.c                                  |    3 
 sound/soc/fsl/fsl_spdif.c                                  |    2 
 tools/testing/selftests/net/mptcp/mptcp_join.sh            |    5 
 tools/testing/selftests/net/mptcp/mptcp_sockopt.sh         |   20 
 virt/kvm/kvm_main.c                                        |   24 
 158 files changed, 6849 insertions(+), 5939 deletions(-)

Adrien Thierry (2):
phy: qcom-snps-femto-v2: keep cfg_ahb_clk enabled during runtime suspend
phy: qcom-snps-femto-v2: properly enable ref clock

Alexander Aring (3):
dlm: cleanup plock_op vs plock_xop
dlm: rearrange async condition return
fs: dlm: interrupt posix locks only when process is killed

Alexander Steffen (1):
tpm_tis: Explicitly check for error code

Andi Shyti (2):
i2c: nomadik: Remove unnecessary goto label
i2c: nomadik: Use devm_clk_get_enabled()

Andy Shevchenko (1):
pwm: Add a stub for devm_pwmchip_add()

Arnd Bergmann (1):

      ata: pata_ns87415: mark ns87560_tf_read static

Arun Easi (1):
scsi: qla2xxx: Add debug prints in the device remove path

Bart Van Assche (1):
block: Fix a source code comment in include/uapi/linux/blkzoned.h

Bartosz Golaszewski (1):
gpio: mvebu: fix irq domain leak

Baskaran Kannan (1):
hwmon: (k10temp) Enable AMD3255 Proc to show negative temperature

Bharath SM (1):
cifs: if deferred close is disabled then close files immediately

Bjorn Helgaas (1):
PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()

Chaoyuan Peng (1):
tty: n_gsm: fix UAF in gsm_cleanup_mux

Christian Brauner (1):
file: always lock position for FMODE_ATOMIC_POS

Christian König (1):
drm/ttm: never consider pinned BOs for eviction&swap

Christophe JAILLET (1):
i2c: nomadik: Remove a useless call in the remove function

Claudio Imbrenda (1):
KVM: s390: pv: fix index value of replaced ASCE

Dan Carpenter (3):
RDMA/mlx4: Make check for invalid flags stricter
Revert "usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()" Revert "usb: xhci: tegra: Fix error check"

Dmitry Baryshkov (1):
drm/msm/dpu: drop enum dpu_core_perf_data_bus_id

Fedor Pchelkin (1):
tipc: stop tipc crypto on failure in tipc_node_create

Filipe Manana (3):
btrfs: fix race between quota disable and relocation
btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
btrfs: check for commit error at btrfs_attach_transaction_barrier()

Flora Cui (1):
drm/amdgpu: fix vkms crtc settings

Florian Westphal (1):
netfilter: nft_set_rbtree: fix overlap expiration walk

Frank Li (2):
usb: gadget: call usb_gadget_check_config() to verify UDC capability
usb: cdns3: fix incorrect calculation of ep_buf_size when more than one config

Gaosheng Cui (2):
scsi: qla2xxx: Remove unused declarations for qla2xxx drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()

Gilles Buloz (1):
hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled

Gratian Crisan (1):
usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy

Greg Kroah-Hartman (3):
Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
Documentation: security-bugs.rst: clarify CVE handling
Linux 5.15.124

Guchun Chen (1):
drm/amdgpu/vkms: relax timer deactivation by hrtimer_try_to_cancel

Guiting Shen (1):
usb: ohci-at91: Fix the unhandle interrupt when resume

Hangbin Liu (2):
bonding: reset bond's flags when down link is P2P device
team: reset team's flags when down link is P2P device

Hans de Goede (1):
gpio: tps68470: Make tps68470_gpio_output() always set the initial value

Harshit Mogalapalli (1):
phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()

Heiner Kallweit (1):
pwm: meson: fix handling of period/duty if greater than UINT_MAX

Hui Li (1):
tty: fix hang on tty device with no_room set

Ilpo Järvinen (3):
PCI/ASPM: Factor out pcie_wait_for_retrain() PCI/ASPM: Avoid link retraining race
n_tty: Rename tail to old_tail in n_tty_read()

Ilya Dryomov (3):
rbd: make get_lock_owner_info() return a single locker or NULL
rbd: harden get_lock_owner_info() a bit
rbd: retrieve and check lock owner twice before blocklisting

Jacob Keller (2):
iavf: fix potential deadlock on allocation failure
iavf: check for removal state before IAVF_FLAG_PF_COMMS_FAILED

Jakub Vanek (1):
Revert "usb: dwc3: core: Enable AutoRetry feature in the controller"

Jason Wang (1):
virtio-net: fix race between set queues and probe

Jedrzej Jagielski (1):
ice: Fix memory management in ice_ethtool_fdir.c

Jens Axboe (1):
io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq

Jerry Meng (1):
USB: serial: option: support Quectel EM060K_128

Jiawen Wu (1):

      net: phy: marvell10g: fix 88x3310 power up

Jijie Shao (2):
net: hns3: fix wrong tc bandwidth weight data issue
net: hns3: fix wrong bw weight of disabled tc issue

Jiri Benc (1):
vxlan: calculate correct header length for GPE

Jisheng Zhang (1):
usb: dwc3: don't reset device side if dwc3 was configured as host-only

Joe Thornber (1):
dm cache policy smq: ensure IO doesn't prevent cleaner policy progress

Johan Hovold (2):
serial: qcom-geni: drop bogus runtime pm state update
USB: serial: simple: sort driver entries

Jonas Gorski (1):
irq-bcm6345-l1: Do not assume a fixed block to cpu mapping

Kashyap Desai (1):
RDMA/bnxt_re: Prevent handling any completions after qp destroy

Krzysztof Kozlowski (1):
phy: qcom-snps: correct struct qcom_snps_hsphy kerneldoc

Larry Finger (1):

      staging: r8712: Fix memory leak in _r8712_init_xmit_priv()

Lin Ma (1):
net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64

Luka Guzenko (1):
ALSA: hda/relatek: Enable Mute LED on HP 250 G8

Maciej Żenczykowski (1):
ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary address

Marc Kleine-Budde (1):
can: gs_usb: gs_can_close(): add missing set of CAN state to CAN_STATE_STOPPED

Marc Zyngier (1):
irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI invalidation

Mario Limonciello (1):
drm/amd: Fix an error handling mistake in psp_sw_init()

Mark Brown (1):
ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register

Markus Elfring (2):
i2c: Delete error messages for failed memory allocations
i2c: Improve size determinations

Masami Hiramatsu (Google) (4):
tracing/probes: Add symstr type for dynamic events
tracing/probes: Fix to avoid double count of the string length on the array Revert "tracing: Add "(fault)" name injection to kernel probes" tracing/probes: Fix to record 0-length data_loc in fetch_store_string*() if fails

Matthieu Baerts (2):
selftests: mptcp: sockopt: use 'iptables-legacy' if available
selftests: mptcp: join: only check for ip6tables if needed

Matus Gajdos (1):
ASoC: fsl_spdif: Silence output on stop

Maxim Mikityanskiy (1):
platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100

Mohsen Tahmasebi (1):
USB: serial: option: add Quectel EC200A module support

Muhammad Husaini Zulkifli (1):
igc: Fix Kernel Panic during ndo_tx_timeout callback

Namjae Jeon (1):
ksmbd: remove internal.h include

Oliver Neukum (2):
USB: serial: simple: add Kaufmann RKS+CAN VCP
Revert "xhci: add quirk for host controllers that don't update endpoint DCS"

Ondrej Mosnacek (1):
io_uring: don't audit the capability check in io_uring_create()

Pablo Neira Ayuso (2):
netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID

Paulo Alcantara (1):
cifs: use fs_context for automounts

Peter Zijlstra (1):

      locking/rtmutex: Fix task->pi_waiters integrity

Quinn Tran (4):
scsi: qla2xxx: Multi-que support for TMF
scsi: qla2xxx: Fix task management cmd failure
scsi: qla2xxx: Fix task management cmd fail due to unavailable resource
scsi: qla2xxx: Fix hang in task management

Rafael J. Wysocki (3):
ACPI: processor: perflib: Use the "no limit" frequency QoS
ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
cpufreq: intel_pstate: Drop ACPI _PSS states table patching

Ricardo Ribalda (1):
usb: xhci-mtk: set the dma max_seg_size

Rick Wertenbroek (3):
PCI: rockchip: Remove writes to unused registers
PCI: rockchip: Fix window mapping and address translation for endpoint
PCI: rockchip: Don't advertise MSI-X in PCIe capabilities

Rob Clark (1):
drm/msm/adreno: Fix snapshot BINDLESS_DATA size

Roopa Prabhu (1):
vxlan: move to its own directory

Ruihong Luo (1):
serial: 8250_dw: Preserve original value of DLF register

Sakari Ailus (1):
media: staging: atomisp: select V4L2_FWNODE

Samuel Holland (1):
serial: sifive: Fix sifive_serial_console_setup() section

Sean Christopherson (3):
KVM: Grab a reference to KVM for VM and vCPU stats file descriptors
KVM: VMX: Don't fudge CR0 and CR4 for restricted L2 guest
KVM: x86: Disallow KVM_SET_SREGS{2} if incoming CR0 is invalid

Shiraz Saleem (3):
RDMA/irdma: Add missing read barriers RDMA/irdma: Fix data race on CQP completion stats RDMA/irdma: Fix data race on CQP request done

Sindhu Devale (1):
RDMA/irdma: Report correct WC error

Srinivas Kandagatla (1):
soundwire: qcom: update status correctly with mask

Stefan Haberland (1):
s390/dasd: fix hanging device after quiesce/resume

Steve French (1):
cifs: missing directory in MAINTAINERS file

Steven Rostedt (Google) (2):
tracing: Allow synthetic events to pass around stacktraces
tracing: Fix trace_event_raw_event_synth() if else statement

Stewart Smith (1):
tcp: Reduce chance of collisions in inet6_hashfn().

Thomas Bogendoerfer (1):
RDMA/mthca: Fix crash when polling CQ for shared QPs

Thomas Hellström (2):
drm/ttm: Don't print error message if eviction was interrupted drm/ttm: Don't leak a resource on eviction error

Thomas Petazzoni (1):
ASoC: cs42l51: fix driver to properly autoload with automatic module loading

Trond Myklebust (1):
nfsd: Remove incorrect check in nfsd4_validate_stateid

Uwe Kleine-König (2):
gpio: mvebu: Make use of devm_pwmchip_add
pwm: meson: Simplify duplicated per-channel tracking

Vincent Whitchurch (1):
net: stmmac: Apply redundant write work around on 4.xx too

Vladimir Oltean (2):
net/sched: mqprio: refactor nlattr parsing to a separate function net/sched: mqprio: add extack to mqprio_parse_nlattr()

Wang Ming (1):
i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()

Xiubo Li (1):
ceph: never send metrics if disable_send_metrics is set

Yu Kuai (3):
dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths dm raid: clean up four equivalent goto tags in raid_ctr() dm raid: protect md_stop() with 'reconfig_mutex'

Yuan Can (1):
phy: qcom-snps: Use dev_err_probe() to simplify code

Yuanjun Gong (3):
ethernet: atheros: fix return value check in atl1e_tso_csum()
benet: fix return value check in be_lancer_xmit_workarounds()
tipc: check return value of pskb_trim()

Zhang Shurong (1):
staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()

Zheng Yejian (2):
ring-buffer: Fix wrong stat of cpu_buffer->read
tracing: Fix warning in trace_buffered_event_disable()

Zhihao Cheng (1):
jbd2: Fix wrongly judgement for buffer head removing while doing checkpoint

Zqiang (1):
USB: gadget: Fix the memory leak in raw_gadget driver

Łukasz Bartosik (1):
USB: quirks: add quirk for Focusrite Scarlett

author maintainer
#1 lore raw
Documentation/admin-guide/security-bugs.rst +18 -21
index 82e29837d589..5a6993795bd2 100644
@@ -63,31 +63,28 @@ information submitted to the security list and any followup discussions
 of the report are treated confidentially even after the embargo has been
 lifted, in perpetuity.
 
-Coordination
-------------
-
-Fixes for sensitive bugs, such as those that might lead to privilege
-escalations, may need to be coordinated with the private
-<[email protected]> mailing list so that distribution vendors
-are well prepared to issue a fixed kernel upon public disclosure of the
-upstream fix. Distros will need some time to test the proposed patch and
-will generally request at least a few days of embargo, and vendor update
-publication prefers to happen Tuesday through Thursday. When appropriate,
-the security team can assist with this coordination, or the reporter can
-include linux-distros from the start. In this case, remember to prefix
-the email Subject line with "[vs]" as described in the linux-distros wiki:
-<http://oss-security.openwall.org/wiki/mailing-lists/distros#how-to-use-the-lists>
+Coordination with other groups
+------------------------------
+
+The kernel security team strongly recommends that reporters of potential
+security issues NEVER contact the "linux-distros" mailing list until
+AFTER discussing it with the kernel security team.  Do not Cc: both
+lists at once.  You may contact the linux-distros mailing list after a
+fix has been agreed on and you fully understand the requirements that
+doing so will impose on you and the kernel community.
+
+The different lists have different goals and the linux-distros rules do
+not contribute to actually fixing any potential security problems.
 
 CVE assignment
 --------------
 
-The security team does not normally assign CVEs, nor do we require them
-for reports or fixes, as this can needlessly complicate the process and
-may delay the bug handling. If a reporter wishes to have a CVE identifier
-assigned ahead of public disclosure, they will need to contact the private
-linux-distros list, described above. When such a CVE identifier is known
-before a patch is provided, it is desirable to mention it in the commit
-message if the reporter agrees.
+The security team does not assign CVEs, nor do we require them for
+reports or fixes, as this can needlessly complicate the process and may
+delay the bug handling.  If a reporter wishes to have a CVE identifier
+assigned, they should find one by themselves, for example by contacting
+MITRE directly.  However under no circumstances will a patch inclusion
+be delayed to wait for a CVE identifier to arrive.
 
 Non-disclosure agreements
 -------------------------
Documentation/trace/kprobetrace.rst +6 -2
index b175d88f31eb..15e4bfa2bd83 100644
@@ -58,8 +58,8 @@ Synopsis of kprobe_events
   NAME=FETCHARG : Set NAME as the argument name of FETCHARG.
   FETCHARG:TYPE : Set TYPE as the type of FETCHARG. Currently, basic types
 		  (u8/u16/u32/u64/s8/s16/s32/s64), hexadecimal types
-		  (x8/x16/x32/x64), "string", "ustring" and bitfield
-		  are supported.
+		  (x8/x16/x32/x64), "string", "ustring", "symbol", "symstr"
+                  and bitfield are supported.
 
   (\*1) only for the probe on function entry (offs == 0).
   (\*2) only for return probe.
@@ -96,6 +96,10 @@ offset, and container-size (usually 32). The syntax is::
 
 Symbol type('symbol') is an alias of u32 or u64 type (depends on BITS_PER_LONG)
 which shows given pointer in "symbol+offset" style.
+On the other hand, symbol-string type ('symstr') converts the given address to
+"symbol+offset/symbolsize" style and stores it as a null-terminated string.
+With 'symstr' type, you can filter the event with wildcard pattern of the
+symbols, and you don't need to solve symbol name by yourself.
 For $comm, the default type is "string"; any other type is invalid.
 
 .. _user_mem_access:
MAINTAINERS +1 -0
index 2bf1ad0fb2a6..e6b53e76651b 100644
@@ -4666,6 +4666,7 @@ T:	git git://git.samba.org/sfrench/cifs-2.6.git
 F:	Documentation/admin-guide/cifs/
 F:	fs/cifs/
 F:	fs/smbfs_common/
+F:	include/uapi/linux/cifs
 
 COMPACTPCI HOTPLUG CORE
 M:	Scott Murray <[email protected]>
Makefile +1 -1
index 38ef4f11f530..6fb94face8d7 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 15
-SUBLEVEL = 123
+SUBLEVEL = 124
 EXTRAVERSION =
 NAME = Trick or Treat
 
arch/s390/mm/gmap.c +1 -0
index ff40bf92db43..a2c872de29a6 100644
@@ -2791,6 +2791,7 @@ int s390_replace_asce(struct gmap *gmap)
 	page = alloc_pages(GFP_KERNEL_ACCOUNT, CRST_ALLOC_ORDER);
 	if (!page)
 		return -ENOMEM;
+	page->index = 0;
 	table = page_to_virt(page);
 	memcpy(table, gmap->table, 1UL << (CRST_ALLOC_ORDER + PAGE_SHIFT));
 
arch/x86/include/asm/kvm-x86-ops.h +1 -0
index 23ea8a25cbbe..4bdcb91478a5 100644
@@ -34,6 +34,7 @@ KVM_X86_OP(get_segment)
 KVM_X86_OP(get_cpl)
 KVM_X86_OP(set_segment)
 KVM_X86_OP_NULL(get_cs_db_l_bits)
+KVM_X86_OP(is_valid_cr0)
 KVM_X86_OP(set_cr0)
 KVM_X86_OP(is_valid_cr4)
 KVM_X86_OP(set_cr4)
arch/x86/include/asm/kvm_host.h +2 -1
index 9e800d4d323c..08cfc26ee7c6 100644
@@ -1333,8 +1333,9 @@ struct kvm_x86_ops {
 	void (*set_segment)(struct kvm_vcpu *vcpu,
 			    struct kvm_segment *var, int seg);
 	void (*get_cs_db_l_bits)(struct kvm_vcpu *vcpu, int *db, int *l);
+	bool (*is_valid_cr0)(struct kvm_vcpu *vcpu, unsigned long cr0);
 	void (*set_cr0)(struct kvm_vcpu *vcpu, unsigned long cr0);
-	bool (*is_valid_cr4)(struct kvm_vcpu *vcpu, unsigned long cr0);
+	bool (*is_valid_cr4)(struct kvm_vcpu *vcpu, unsigned long cr4);
 	void (*set_cr4)(struct kvm_vcpu *vcpu, unsigned long cr4);
 	int (*set_efer)(struct kvm_vcpu *vcpu, u64 efer);
 	void (*get_idt)(struct kvm_vcpu *vcpu, struct desc_ptr *dt);
arch/x86/kvm/svm/svm.c +6 -0
index 0611dac70c25..302a4669c5a1 100644
@@ -1734,6 +1734,11 @@ static void svm_set_gdt(struct kvm_vcpu *vcpu, struct desc_ptr *dt)
 	vmcb_mark_dirty(svm->vmcb, VMCB_DT);
 }
 
+static bool svm_is_valid_cr0(struct kvm_vcpu *vcpu, unsigned long cr0)
+{
+	return true;
+}
+
 void svm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0)
 {
 	struct vcpu_svm *svm = to_svm(vcpu);
@@ -4596,6 +4601,7 @@ static struct kvm_x86_ops svm_x86_ops __initdata = {
 	.set_segment = svm_set_segment,
 	.get_cpl = svm_get_cpl,
 	.get_cs_db_l_bits = kvm_get_cs_db_l_bits,
+	.is_valid_cr0 = svm_is_valid_cr0,
 	.set_cr0 = svm_set_cr0,
 	.is_valid_cr4 = svm_is_valid_cr4,
 	.set_cr4 = svm_set_cr4,
arch/x86/kvm/vmx/vmx.c +30 -11

100 lines not on this page · raw message

arch/x86/kvm/x86.c +22 -12
index 7e1e3bc74562..285ba12be8ce 100644
@@ -876,6 +876,22 @@ int load_pdptrs(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, unsigned long cr3)
 }
 EXPORT_SYMBOL_GPL(load_pdptrs);
 
+static bool kvm_is_valid_cr0(struct kvm_vcpu *vcpu, unsigned long cr0)
+{
+#ifdef CONFIG_X86_64
+	if (cr0 & 0xffffffff00000000UL)
+		return false;
+#endif
+
+	if ((cr0 & X86_CR0_NW) && !(cr0 & X86_CR0_CD))
+		return false;
+
+	if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE))
+		return false;
+
+	return static_call(kvm_x86_is_valid_cr0)(vcpu, cr0);
+}
+
 void kvm_post_set_cr0(struct kvm_vcpu *vcpu, unsigned long old_cr0, unsigned long cr0)
 {
 	if ((cr0 ^ old_cr0) & X86_CR0_PG) {
@@ -898,20 +914,13 @@ int kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0)
 	unsigned long old_cr0 = kvm_read_cr0(vcpu);
 	unsigned long pdptr_bits = X86_CR0_CD | X86_CR0_NW | X86_CR0_PG;
 
-	cr0 |= X86_CR0_ET;
-
-#ifdef CONFIG_X86_64
-	if (cr0 & 0xffffffff00000000UL)
+	if (!kvm_is_valid_cr0(vcpu, cr0))
 		return 1;
-#endif
-
-	cr0 &= ~CR0_RESERVED_BITS;
 
-	if ((cr0 & X86_CR0_NW) && !(cr0 & X86_CR0_CD))
-		return 1;
+	cr0 |= X86_CR0_ET;
 
-	if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE))
-		return 1;
+	/* Write to CR0 reserved bits are ignored, even on Intel. */
+	cr0 &= ~CR0_RESERVED_BITS;
 
 #ifdef CONFIG_X86_64
 	if ((vcpu->arch.efer & EFER_LME) && !is_paging(vcpu) &&
@@ -10643,7 +10652,8 @@ static bool kvm_is_valid_sregs(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs)
 			return false;
 	}
 
-	return kvm_is_valid_cr4(vcpu, sregs->cr4);
+	return kvm_is_valid_cr4(vcpu, sregs->cr4) &&
+	       kvm_is_valid_cr0(vcpu, sregs->cr0);
 }
 
 static int __set_sregs_common(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs,
drivers/acpi/processor_perflib.c +30 -8
index 757a98f6d7a2..1696700fd2fb 100644
@@ -53,6 +53,8 @@ static int acpi_processor_get_platform_limit(struct acpi_processor *pr)
 {
 	acpi_status status = 0;
 	unsigned long long ppc = 0;
+	s32 qos_value;
+	int index;
 	int ret;
 
 	if (!pr)
@@ -72,17 +74,30 @@ static int acpi_processor_get_platform_limit(struct acpi_processor *pr)
 		}
 	}
 
+	index = ppc;
+
+	if (pr->performance_platform_limit == index ||
+	    ppc >= pr->performance->state_count)
+		return 0;
+
 	pr_debug("CPU %d: _PPC is %d - frequency %s limited\n", pr->id,
-		       (int)ppc, ppc ? "" : "not");
+		 index, index ? "is" : "is not");
 
-	pr->performance_platform_limit = (int)ppc;
+	pr->performance_platform_limit = index;
 
-	if (ppc >= pr->performance->state_count ||
-	    unlikely(!freq_qos_request_active(&pr->perflib_req)))
+	if (unlikely(!freq_qos_request_active(&pr->perflib_req)))
 		return 0;
 
-	ret = freq_qos_update_request(&pr->perflib_req,
-			pr->performance->states[ppc].core_frequency * 1000);
+	/*
+	 * If _PPC returns 0, it means that all of the available states can be
+	 * used ("no limit").
+	 */
+	if (index == 0)
+		qos_value = FREQ_QOS_MAX_DEFAULT_VALUE;
+	else
+		qos_value = pr->performance->states[index].core_frequency * 1000;
+
+	ret = freq_qos_update_request(&pr->perflib_req, qos_value);
 	if (ret < 0) {
 		pr_warn("Failed to update perflib freq constraint: CPU%d (%d)\n",
 			pr->id, ret);
@@ -165,9 +180,16 @@ void acpi_processor_ppc_init(struct cpufreq_policy *policy)
 		if (!pr)
 			continue;
 
+		/*
+		 * Reset performance_platform_limit in case there is a stale
+		 * value in it, so as to make it match the "no limit" QoS value
+		 * below.
+		 */
+		pr->performance_platform_limit = 0;
+
 		ret = freq_qos_add_request(&policy->constraints,
-					   &pr->perflib_req,
-					   FREQ_QOS_MAX, INT_MAX);
+					   &pr->perflib_req, FREQ_QOS_MAX,
+					   FREQ_QOS_MAX_DEFAULT_VALUE);
 		if (ret < 0)
 			pr_err("Failed to add freq constraint for CPU%d (%d)\n",
 			       cpu, ret);
drivers/ata/pata_ns87415.c +1 -1
index 9dd6bffefb48..602472d4e693 100644
@@ -260,7 +260,7 @@ static u8 ns87560_check_status(struct ata_port *ap)
  *	LOCKING:
  *	Inherited from caller.
  */
-void ns87560_tf_read(struct ata_port *ap, struct ata_taskfile *tf)
+static void ns87560_tf_read(struct ata_port *ap, struct ata_taskfile *tf)
 {
 	struct ata_ioports *ioaddr = &ap->ioaddr;
 
drivers/block/rbd.c +86 -38

188 lines not on this page · raw message

drivers/char/tpm/tpm_tis_core.c +8 -2
index 365761055df3..d7c440ac465f 100644
@@ -314,6 +314,7 @@ static int tpm_tis_recv(struct tpm_chip *chip, u8 *buf, size_t count)
 	int size = 0;
 	int status;
 	u32 expected;
+	int rc;
 
 	if (count < TPM_HEADER_SIZE) {
 		size = -EIO;
@@ -333,8 +334,13 @@ static int tpm_tis_recv(struct tpm_chip *chip, u8 *buf, size_t count)
 		goto out;
 	}
 
-	size += recv_data(chip, &buf[TPM_HEADER_SIZE],
-			  expected - TPM_HEADER_SIZE);
+	rc = recv_data(chip, &buf[TPM_HEADER_SIZE],
+		       expected - TPM_HEADER_SIZE);
+	if (rc < 0) {
+		size = rc;
+		goto out;
+	}
+	size += rc;
 	if (size < expected) {
 		dev_err(&chip->dev, "Unable to read remainder of result\n");
 		size = -ETIME;
drivers/cpufreq/intel_pstate.c +0 -14
index 2f5063db2f1f..736cb2cfcbb0 100644
@@ -448,20 +448,6 @@ static void intel_pstate_init_acpi_perf_limits(struct cpufreq_policy *policy)
 			 (u32) cpu->acpi_perf_data.states[i].control);
 	}
 
-	/*
-	 * The _PSS table doesn't contain whole turbo frequency range.
-	 * This just contains +1 MHZ above the max non turbo frequency,
-	 * with control value corresponding to max turbo ratio. But
-	 * when cpufreq set policy is called, it will call with this
-	 * max frequency, which will cause a reduced performance as
-	 * this driver uses real max turbo frequency as the max
-	 * frequency. So correct this frequency in _PSS table to
-	 * correct max turbo frequency based on the turbo state.
-	 * Also need to convert to MHz as _PSS freq is in MHz.
-	 */
-	if (!global.turbo_disabled)
-		cpu->acpi_perf_data.states[0].core_frequency =
-					policy->cpuinfo.max_freq / 1000;
 	cpu->valid_pss_table = true;
 	pr_debug("_PPC limits will be enforced\n");
 
drivers/gpio/gpio-mvebu.c +15 -11
index a245bfd5a617..b965513f44fe 100644
@@ -874,7 +874,7 @@ static int mvebu_pwm_probe(struct platform_device *pdev,
 
 	spin_lock_init(&mvpwm->lock);
 
-	return pwmchip_add(&mvpwm->chip);
+	return devm_pwmchip_add(dev, &mvpwm->chip);
 }
 
 #ifdef CONFIG_DEBUG_FS
@@ -1112,6 +1112,13 @@ static int mvebu_gpio_probe_syscon(struct platform_device *pdev,
 	return 0;
 }
 
+static void mvebu_gpio_remove_irq_domain(void *data)
+{
+	struct irq_domain *domain = data;
+
+	irq_domain_remove(domain);
+}
+
 static int mvebu_gpio_probe(struct platform_device *pdev)
 {
 	struct mvebu_gpio_chip *mvchip;
@@ -1244,17 +1251,21 @@ static int mvebu_gpio_probe(struct platform_device *pdev)
 	if (!mvchip->domain) {
 		dev_err(&pdev->dev, "couldn't allocate irq domain %s (DT).\n",
 			mvchip->chip.label);
-		err = -ENODEV;
-		goto err_pwm;
+		return -ENODEV;
 	}
 
+	err = devm_add_action_or_reset(&pdev->dev, mvebu_gpio_remove_irq_domain,
+				       mvchip->domain);
+	if (err)
+		return err;
+
 	err = irq_alloc_domain_generic_chips(
 	    mvchip->domain, ngpios, 2, np->name, handle_level_irq,
 	    IRQ_NOREQUEST | IRQ_NOPROBE | IRQ_LEVEL, 0, 0);
 	if (err) {
 		dev_err(&pdev->dev, "couldn't allocate irq chips %s (DT).\n",
 			mvchip->chip.label);
-		goto err_domain;
+		return err;
 	}
 
 	/*
@@ -1294,13 +1305,6 @@ static int mvebu_gpio_probe(struct platform_device *pdev)
 	}
 
 	return 0;
-
-err_domain:
-	irq_domain_remove(mvchip->domain);
-err_pwm:
-	pwmchip_remove(&mvchip->mvpwm->chip);
-
-	return err;
 }
 
 static struct platform_driver mvebu_gpio_driver = {
drivers/gpio/gpio-tps68470.c +3 -3
index 423b7bc30ae8..03a523a6d6fa 100644
@@ -91,13 +91,13 @@ static int tps68470_gpio_output(struct gpio_chip *gc, unsigned int offset,
 	struct tps68470_gpio_data *tps68470_gpio = gpiochip_get_data(gc);
 	struct regmap *regmap = tps68470_gpio->tps68470_regmap;
 
+	/* Set the initial value */
+	tps68470_gpio_set(gc, offset, value);
+
 	/* rest are always outputs */
 	if (offset >= TPS68470_N_REGULAR_GPIO)
 		return 0;
 
-	/* Set the initial value */
-	tps68470_gpio_set(gc, offset, value);
-
 	return regmap_update_bits(regmap, TPS68470_GPIO_CTL_REG_A(offset),
 				 TPS68470_GPIO_MODE_MASK,
 				 TPS68470_GPIO_MODE_OUT_CMOS);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +3 -3
index 65744c3bd364..f305a0f8e9b9 100644
@@ -341,11 +341,11 @@ static int psp_sw_init(void *handle)
 	return 0;
 
 failed2:
-	amdgpu_bo_free_kernel(&psp->fw_pri_bo,
-			      &psp->fw_pri_mc_addr, &psp->fw_pri_buf);
-failed1:
 	amdgpu_bo_free_kernel(&psp->fence_buf_bo,
 			      &psp->fence_buf_mc_addr, &psp->fence_buf);
+failed1:
+	amdgpu_bo_free_kernel(&psp->fw_pri_bo,
+			      &psp->fw_pri_mc_addr, &psp->fw_pri_buf);
 	return ret;
 }
 
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c +30 -15

118 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.h +2 -3
index 97f1b79c0724..4f8722ff37c2 100644
@@ -10,15 +10,14 @@
 #define YRES_MAX  16384
 
 #define drm_crtc_to_amdgpu_vkms_output(target) \
-	container_of(target, struct amdgpu_vkms_output, crtc)
+	container_of(target, struct amdgpu_vkms_output, crtc.base)
 
 extern const struct amdgpu_ip_block_version amdgpu_vkms_ip_block;
 
 struct amdgpu_vkms_output {
-	struct drm_crtc crtc;
+	struct amdgpu_crtc crtc;
 	struct drm_encoder encoder;
 	struct drm_connector connector;
-	struct hrtimer vblank_hrtimer;
 	ktime_t period_ns;
 	struct drm_pending_vblank_event *event;
 };
drivers/gpu/drm/msm/adreno/a5xx_gpu.c +1 -1
index ef62900b0612..e9c8111122bd 100644
@@ -90,7 +90,7 @@ static void a5xx_submit_in_rb(struct msm_gpu *gpu, struct msm_gem_submit *submit
 			 * since we've already mapped it once in
 			 * submit_reloc()
 			 */
-			if (WARN_ON(!ptr))
+			if (WARN_ON(IS_ERR_OR_NULL(ptr)))
 				return;
 
 			for (i = 0; i < dwords; i++) {
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h +1 -1
index 2fb58b7098e4..3bd2065a9d30 100644
@@ -200,7 +200,7 @@ static const struct a6xx_shader_block {
 	SHADER(A6XX_SP_LB_3_DATA, 0x800),
 	SHADER(A6XX_SP_LB_4_DATA, 0x800),
 	SHADER(A6XX_SP_LB_5_DATA, 0x200),
-	SHADER(A6XX_SP_CB_BINDLESS_DATA, 0x2000),
+	SHADER(A6XX_SP_CB_BINDLESS_DATA, 0x800),
 	SHADER(A6XX_SP_CB_LEGACY_DATA, 0x280),
 	SHADER(A6XX_SP_UAV_DATA, 0x80),
 	SHADER(A6XX_SP_INST_TAG, 0x80),
drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h +0 -13
index cf4b9b5964c6..cd6c3518ba02 100644
@@ -14,19 +14,6 @@
 
 #define	DPU_PERF_DEFAULT_MAX_CORE_CLK_RATE	412500000
 
-/**
- * enum dpu_core_perf_data_bus_id - data bus identifier
- * @DPU_CORE_PERF_DATA_BUS_ID_MNOC: DPU/MNOC data bus
- * @DPU_CORE_PERF_DATA_BUS_ID_LLCC: MNOC/LLCC data bus
- * @DPU_CORE_PERF_DATA_BUS_ID_EBI: LLCC/EBI data bus
- */
-enum dpu_core_perf_data_bus_id {
-	DPU_CORE_PERF_DATA_BUS_ID_MNOC,
-	DPU_CORE_PERF_DATA_BUS_ID_LLCC,
-	DPU_CORE_PERF_DATA_BUS_ID_EBI,
-	DPU_CORE_PERF_DATA_BUS_ID_MAX,
-};
-
 /**
  * struct dpu_core_perf_params - definition of performance parameters
  * @max_per_pipe_ib: maximum instantaneous bandwidth request
drivers/gpu/drm/ttm/ttm_bo.c +16 -9
index d5a2b69489e7..4d0ef5ab2531 100644
@@ -552,17 +552,18 @@ static int ttm_bo_evict(struct ttm_buffer_object *bo,
 		goto out;
 	}
 
-bounce:
-	ret = ttm_bo_handle_move_mem(bo, evict_mem, true, ctx, &hop);
-	if (ret == -EMULTIHOP) {
+	do {
+		ret = ttm_bo_handle_move_mem(bo, evict_mem, true, ctx, &hop);
+		if (ret != -EMULTIHOP)
+			break;
+
 		ret = ttm_bo_bounce_temp_buffer(bo, &evict_mem, ctx, &hop);
-		if (ret) {
+	} while (!ret);
+
+	if (ret) {
+		ttm_resource_free(bo, &evict_mem);
+		if (ret != -ERESTARTSYS && ret != -EINTR)
 			pr_err("Buffer eviction failed\n");
-			ttm_resource_free(bo, &evict_mem);
-			goto out;
-		}
-		/* try and move to final place now. */
-		goto bounce;
 	}
 out:
 	return ret;
@@ -603,6 +604,12 @@ static bool ttm_bo_evict_swapout_allowable(struct ttm_buffer_object *bo,
 {
 	bool ret = false;
 
+	if (bo->pin_count) {
+		*locked = false;
+		*busy = false;
+		return false;
+	}
+
 	if (bo->base.resv == ctx->resv) {
 		dma_resv_assert_held(bo->base.resv);
 		if (ctx->allow_res_evict)
drivers/hwmon/k10temp.c +15 -2
index e7ba05c50e61..f3cff6c9f745 100644
@@ -97,6 +97,13 @@ static DEFINE_MUTEX(nb_smu_ind_mutex);
 #define F19H_M01H_CFACTOR_ICORE			1000000	/* 1A / LSB	*/
 #define F19H_M01H_CFACTOR_ISOC			310000	/* 0.31A / LSB	*/
 
+/*
+ * AMD's Industrial processor 3255 supports temperature from -40 deg to 105 deg Celsius.
+ * Use the model name to identify 3255 CPUs and set a flag to display negative temperature.
+ * Do not round off to zero for negative Tctl or Tdie values if the flag is set
+ */
+#define AMD_I3255_STR				"3255"
+
 struct k10temp_data {
 	struct pci_dev *pdev;
 	void (*read_htcreg)(struct pci_dev *pdev, u32 *regval);
@@ -106,6 +113,7 @@ struct k10temp_data {
 	u32 show_temp;
 	bool is_zen;
 	u32 ccd_offset;
+	bool disp_negative;
 };
 
 #define TCTL_BIT	0
@@ -220,12 +228,12 @@ static int k10temp_read_temp(struct device *dev, u32 attr, int channel,
 		switch (channel) {
 		case 0:		/* Tctl */
 			*val = get_raw_temp(data);
-			if (*val < 0)
+			if (*val < 0 && !data->disp_negative)
 				*val = 0;
 			break;
 		case 1:		/* Tdie */
 			*val = get_raw_temp(data) - data->temp_offset;
-			if (*val < 0)
+			if (*val < 0 && !data->disp_negative)
 				*val = 0;
 			break;
 		case 2 ... 9:		/* Tccd{1-8} */
@@ -417,6 +425,11 @@ static int k10temp_probe(struct pci_dev *pdev, const struct pci_device_id *id)
 	data->pdev = pdev;
 	data->show_temp |= BIT(TCTL_BIT);	/* Always show Tctl */
 
+	if (boot_cpu_data.x86 == 0x17 &&
+	    strstr(boot_cpu_data.x86_model_id, AMD_I3255_STR)) {
+		data->disp_negative = true;
+	}
+
 	if (boot_cpu_data.x86 == 0x15 &&
 	    ((boot_cpu_data.x86_model & 0xf0) == 0x60 ||
 	     (boot_cpu_data.x86_model & 0xf0) == 0x70)) {
drivers/hwmon/nct7802.c +1 -1
index 604af2f6103a..88eddb8d61d3 100644
@@ -708,7 +708,7 @@ static umode_t nct7802_temp_is_visible(struct kobject *kobj,
 	if (index >= 38 && index < 46 && !(reg & 0x01))		/* PECI 0 */
 		return 0;
 
-	if (index >= 0x46 && (!(reg & 0x02)))			/* PECI 1 */
+	if (index >= 46 && !(reg & 0x02))			/* PECI 1 */
 		return 0;
 
 	return attr->mode;
drivers/i2c/busses/i2c-ibm_iic.c +1 -3
index 9f71daf6db64..c073f5b8833a 100644
@@ -694,10 +694,8 @@ static int iic_probe(struct platform_device *ofdev)
 	int ret;
 
 	dev = kzalloc(sizeof(*dev), GFP_KERNEL);
-	if (!dev) {
-		dev_err(&ofdev->dev, "failed to allocate device data\n");
+	if (!dev)
 		return -ENOMEM;
-	}
 
 	platform_set_drvdata(ofdev, dev);
 
drivers/i2c/busses/i2c-nomadik.c +11 -31

83 lines not on this page · raw message

drivers/i2c/busses/i2c-sh7760.c +1 -2
index 319d1fa617c8..051b904cb35f 100644
@@ -443,9 +443,8 @@ static int sh7760_i2c_probe(struct platform_device *pdev)
 		goto out0;
 	}
 
-	id = kzalloc(sizeof(struct cami2c), GFP_KERNEL);
+	id = kzalloc(sizeof(*id), GFP_KERNEL);
 	if (!id) {
-		dev_err(&pdev->dev, "no mem for private data\n");
 		ret = -ENOMEM;
 		goto out0;
 	}
drivers/i2c/busses/i2c-tiny-usb.c +1 -3
index 7279ca0eaa2d..d1fa9ff5aeab 100644
@@ -226,10 +226,8 @@ static int i2c_tiny_usb_probe(struct usb_interface *interface,
 
 	/* allocate memory for our device state and initialize it */
 	dev = kzalloc(sizeof(*dev), GFP_KERNEL);
-	if (dev == NULL) {
-		dev_err(&interface->dev, "Out of memory\n");
+	if (!dev)
 		goto error;
-	}
 
 	dev->usb_dev = usb_get_dev(interface_to_usbdev(interface));
 	dev->interface = interface;
drivers/infiniband/hw/bnxt_re/ib_verbs.c +12 -0
index 843d0b5d99ac..87ee616e6938 100644
@@ -792,7 +792,10 @@ static int bnxt_re_destroy_gsi_sqp(struct bnxt_re_qp *qp)
 int bnxt_re_destroy_qp(struct ib_qp *ib_qp, struct ib_udata *udata)
 {
 	struct bnxt_re_qp *qp = container_of(ib_qp, struct bnxt_re_qp, ib_qp);
+	struct bnxt_qplib_qp *qplib_qp = &qp->qplib_qp;
 	struct bnxt_re_dev *rdev = qp->rdev;
+	struct bnxt_qplib_nq *scq_nq = NULL;
+	struct bnxt_qplib_nq *rcq_nq = NULL;
 	unsigned int flags;
 	int rc;
 
@@ -826,6 +829,15 @@ int bnxt_re_destroy_qp(struct ib_qp *ib_qp, struct ib_udata *udata)
 	ib_umem_release(qp->rumem);
 	ib_umem_release(qp->sumem);
 
+	/* Flush all the entries of notification queue associated with
+	 * given qp.
+	 */
+	scq_nq = qplib_qp->scq->nq;
+	rcq_nq = qplib_qp->rcq->nq;
+	bnxt_re_synchronize_nq(scq_nq);
+	if (scq_nq != rcq_nq)
+		bnxt_re_synchronize_nq(rcq_nq);
+
 	return 0;
 }
 
drivers/infiniband/hw/bnxt_re/qplib_fp.c +18 -0
index d44b6a5c90b5..f1aa3e19b6de 100644
@@ -386,6 +386,24 @@ static void bnxt_qplib_service_nq(struct tasklet_struct *t)
 	spin_unlock_bh(&hwq->lock);
 }
 
+/* bnxt_re_synchronize_nq - self polling notification queue.
+ * @nq      -     notification queue pointer
+ *
+ * This function will start polling entries of a given notification queue
+ * for all pending  entries.
+ * This function is useful to synchronize notification entries while resources
+ * are going away.
+ */
+
+void bnxt_re_synchronize_nq(struct bnxt_qplib_nq *nq)
+{
+	int budget = nq->budget;
+
+	nq->budget = nq->hwq.max_elements;
+	bnxt_qplib_service_nq(&nq->nq_tasklet);
+	nq->budget = budget;
+}
+
 static irqreturn_t bnxt_qplib_nq_irq(int irq, void *dev_instance)
 {
 	struct bnxt_qplib_nq *nq = dev_instance;
drivers/infiniband/hw/bnxt_re/qplib_fp.h +1 -0
index f859710f9a7f..49d89c080827 100644
@@ -548,6 +548,7 @@ int bnxt_qplib_process_flush_list(struct bnxt_qplib_cq *cq,
 				  struct bnxt_qplib_cqe *cqe,
 				  int num_cqes);
 void bnxt_qplib_flush_cqn_wq(struct bnxt_qplib_qp *qp);
+void bnxt_re_synchronize_nq(struct bnxt_qplib_nq *nq);
 
 static inline void *bnxt_qplib_get_swqe(struct bnxt_qplib_q *que, u32 *swq_idx)
 {
drivers/infiniband/hw/irdma/ctrl.c +19 -12
index 1ac7067e21be..ad14c2404e94 100644
@@ -2741,13 +2741,13 @@ irdma_sc_cq_modify(struct irdma_sc_cq *cq, struct irdma_modify_cq_info *info,
  */
 void irdma_check_cqp_progress(struct irdma_cqp_timeout *timeout, struct irdma_sc_dev *dev)
 {
-	if (timeout->compl_cqp_cmds != dev->cqp_cmd_stats[IRDMA_OP_CMPL_CMDS]) {
-		timeout->compl_cqp_cmds = dev->cqp_cmd_stats[IRDMA_OP_CMPL_CMDS];
+	u64 completed_ops = atomic64_read(&dev->cqp->completed_ops);
+
+	if (timeout->compl_cqp_cmds != completed_ops) {
+		timeout->compl_cqp_cmds = completed_ops;
 		timeout->count = 0;
-	} else {
-		if (dev->cqp_cmd_stats[IRDMA_OP_REQ_CMDS] !=
-		    timeout->compl_cqp_cmds)
-			timeout->count++;
+	} else if (timeout->compl_cqp_cmds != dev->cqp->requested_ops) {
+		timeout->count++;
 	}
 }
 
@@ -2790,7 +2790,7 @@ static enum irdma_status_code irdma_cqp_poll_registers(struct irdma_sc_cqp *cqp,
 		if (newtail != tail) {
 			/* SUCCESS */
 			IRDMA_RING_MOVE_TAIL(cqp->sq_ring);
-			cqp->dev->cqp_cmd_stats[IRDMA_OP_CMPL_CMDS]++;
+			atomic64_inc(&cqp->completed_ops);
 			return 0;
 		}
 		udelay(cqp->dev->hw_attrs.max_sleep_count);
@@ -3152,8 +3152,8 @@ enum irdma_status_code irdma_sc_cqp_init(struct irdma_sc_cqp *cqp,
 	info->dev->cqp = cqp;
 
 	IRDMA_RING_INIT(cqp->sq_ring, cqp->sq_size);
-	cqp->dev->cqp_cmd_stats[IRDMA_OP_REQ_CMDS] = 0;
-	cqp->dev->cqp_cmd_stats[IRDMA_OP_CMPL_CMDS] = 0;
+	cqp->requested_ops = 0;
+	atomic64_set(&cqp->completed_ops, 0);
 	/* for the cqp commands backlog. */
 	INIT_LIST_HEAD(&cqp->dev->cqp_cmd_head);
 
@@ -3306,7 +3306,7 @@ __le64 *irdma_sc_cqp_get_next_send_wqe_idx(struct irdma_sc_cqp *cqp, u64 scratch
 	if (ret_code)
 		return NULL;
 
-	cqp->dev->cqp_cmd_stats[IRDMA_OP_REQ_CMDS]++;
+	cqp->requested_ops++;
 	if (!*wqe_idx)
 		cqp->polarity = !cqp->polarity;
 	wqe = cqp->sq_base[*wqe_idx].elem;
@@ -3395,6 +3395,9 @@ enum irdma_status_code irdma_sc_ccq_get_cqe_info(struct irdma_sc_cq *ccq,
 	if (polarity != ccq->cq_uk.polarity)
 		return IRDMA_ERR_Q_EMPTY;
 
+	/* Ensure CEQE contents are read after valid bit is checked */
+	dma_rmb();
+
 	get_64bit_val(cqe, 8, &qp_ctx);
 	cqp = (struct irdma_sc_cqp *)(unsigned long)qp_ctx;
 	info->error = (bool)FIELD_GET(IRDMA_CQ_ERROR, temp);
@@ -3429,7 +3432,7 @@ enum irdma_status_code irdma_sc_ccq_get_cqe_info(struct irdma_sc_cq *ccq,
 	dma_wmb(); /* make sure shadow area is updated before moving tail */
 
 	IRDMA_RING_MOVE_TAIL(cqp->sq_ring);
-	ccq->dev->cqp_cmd_stats[IRDMA_OP_CMPL_CMDS]++;
+	atomic64_inc(&cqp->completed_ops);
 
 	return ret_code;
 }
@@ -4046,13 +4049,17 @@ enum irdma_status_code irdma_sc_get_next_aeqe(struct irdma_sc_aeq *aeq,
 	u8 polarity;
 
 	aeqe = IRDMA_GET_CURRENT_AEQ_ELEM(aeq);
-	get_64bit_val(aeqe, 0, &compl_ctx);
 	get_64bit_val(aeqe, 8, &temp);
 	polarity = (u8)FIELD_GET(IRDMA_AEQE_VALID, temp);
 
 	if (aeq->polarity != polarity)
 		return IRDMA_ERR_Q_EMPTY;
 
+	/* Ensure AEQE contents are read after valid bit is checked */
+	dma_rmb();
+
+	get_64bit_val(aeqe, 0, &compl_ctx);
+
 	print_hex_dump_debug("WQE: AEQ_ENTRY WQE", DUMP_PREFIX_OFFSET, 16, 8,
 			     aeqe, 16, false);
 
drivers/infiniband/hw/irdma/defs.h +22 -24

54 lines not on this page · raw message

drivers/infiniband/hw/irdma/hw.c +2 -1
index 2159470d7f7f..70dffa9a9f67 100644
@@ -191,6 +191,7 @@ static void irdma_set_flush_fields(struct irdma_sc_qp *qp,
 	case IRDMA_AE_AMP_MWBIND_INVALID_RIGHTS:
 	case IRDMA_AE_AMP_MWBIND_BIND_DISABLED:
 	case IRDMA_AE_AMP_MWBIND_INVALID_BOUNDS:
+	case IRDMA_AE_AMP_MWBIND_VALID_STAG:
 		qp->flush_code = FLUSH_MW_BIND_ERR;
 		qp->event_type = IRDMA_QP_EVENT_ACCESS_ERR;
 		break;
@@ -2084,7 +2085,7 @@ void irdma_cqp_ce_handler(struct irdma_pci_f *rf, struct irdma_sc_cq *cq)
 			cqp_request->compl_info.error = info.error;
 
 			if (cqp_request->waiting) {
-				cqp_request->request_done = true;
+				WRITE_ONCE(cqp_request->request_done, true);
 				wake_up(&cqp_request->waitq);
 				irdma_put_cqp_request(&rf->cqp, cqp_request);
 			} else {
drivers/infiniband/hw/irdma/main.h +1 -1
index 454b4b370386..f2e2bc50c6f7 100644
@@ -160,8 +160,8 @@ struct irdma_cqp_request {
 	void (*callback_fcn)(struct irdma_cqp_request *cqp_request);
 	void *param;
 	struct irdma_cqp_compl_info compl_info;
+	bool request_done; /* READ/WRITE_ONCE macros operate on it */
 	bool waiting:1;
-	bool request_done:1;
 	bool dynamic:1;
 };
 
drivers/infiniband/hw/irdma/puda.c +6 -0
index 58e7d875643b..197eba5eb78f 100644
@@ -235,6 +235,9 @@ irdma_puda_poll_info(struct irdma_sc_cq *cq, struct irdma_puda_cmpl_info *info)
 	if (valid_bit != cq_uk->polarity)
 		return IRDMA_ERR_Q_EMPTY;
 
+	/* Ensure CQE contents are read after valid bit is checked */
+	dma_rmb();
+
 	if (cq->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2)
 		ext_valid = (bool)FIELD_GET(IRDMA_CQ_EXTCQE, qword3);
 
@@ -248,6 +251,9 @@ irdma_puda_poll_info(struct irdma_sc_cq *cq, struct irdma_puda_cmpl_info *info)
 		if (polarity != cq_uk->polarity)
 			return IRDMA_ERR_Q_EMPTY;
 
+		/* Ensure ext CQE contents are read after ext valid bit is checked */
+		dma_rmb();
+
 		IRDMA_RING_MOVE_HEAD_NOCHECK(cq_uk->cq_ring);
 		if (!IRDMA_RING_CURRENT_HEAD(cq_uk->cq_ring))
 			cq_uk->polarity = !cq_uk->polarity;
drivers/infiniband/hw/irdma/type.h +2 -0
index 1241e5988c10..8b75e2610e5b 100644
@@ -411,6 +411,8 @@ struct irdma_sc_cqp {
 	struct irdma_dcqcn_cc_params dcqcn_params;
 	__le64 *host_ctx;
 	u64 *scratch_array;
+	u64 requested_ops;
+	atomic64_t completed_ops;
 	u32 cqp_id;
 	u32 sq_size;
 	u32 hw_sq_size;
drivers/infiniband/hw/irdma/uk.c +3 -0
index a348f0c010ab..4b00a9adbe3a 100644
@@ -1549,6 +1549,9 @@ void irdma_uk_clean_cq(void *q, struct irdma_cq_uk *cq)
 		if (polarity != temp)
 			break;
 
+		/* Ensure CQE contents are read after valid bit is checked */
+		dma_rmb();
+
 		get_64bit_val(cqe, 8, &comp_ctx);
 		if ((void *)(unsigned long)comp_ctx == q)
 			set_64bit_val(cqe, 8, 0);
drivers/infiniband/hw/irdma/utils.c +4 -4
index 1d9280d46d08..a47eedb6df82 100644
@@ -481,7 +481,7 @@ void irdma_free_cqp_request(struct irdma_cqp *cqp,
 	if (cqp_request->dynamic) {
 		kfree(cqp_request);
 	} else {
-		cqp_request->request_done = false;
+		WRITE_ONCE(cqp_request->request_done, false);
 		cqp_request->callback_fcn = NULL;
 		cqp_request->waiting = false;
 
@@ -515,7 +515,7 @@ irdma_free_pending_cqp_request(struct irdma_cqp *cqp,
 {
 	if (cqp_request->waiting) {
 		cqp_request->compl_info.error = true;
-		cqp_request->request_done = true;
+		WRITE_ONCE(cqp_request->request_done, true);
 		wake_up(&cqp_request->waitq);
 	}
 	wait_event_timeout(cqp->remove_wq,
@@ -567,11 +567,11 @@ static enum irdma_status_code irdma_wait_event(struct irdma_pci_f *rf,
 	bool cqp_error = false;
 	enum irdma_status_code err_code = 0;
 
-	cqp_timeout.compl_cqp_cmds = rf->sc_dev.cqp_cmd_stats[IRDMA_OP_CMPL_CMDS];
+	cqp_timeout.compl_cqp_cmds = atomic64_read(&rf->sc_dev.cqp->completed_ops);
 	do {
 		irdma_cqp_ce_handler(rf, &rf->ccq.sc_cq);
 		if (wait_event_timeout(cqp_request->waitq,
-				       cqp_request->request_done,
+				       READ_ONCE(cqp_request->request_done),
 				       msecs_to_jiffies(CQP_COMPL_WAIT_TIME_MS)))
 			break;
 
drivers/infiniband/hw/mlx4/qp.c +9 -9
index ec545b8858cc..43b2aad84591 100644
@@ -530,15 +530,15 @@ static int set_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_rss *rss_ctx,
 		return (-EOPNOTSUPP);
 	}
 
-	if (ucmd->rx_hash_fields_mask & ~(MLX4_IB_RX_HASH_SRC_IPV4	|
-					  MLX4_IB_RX_HASH_DST_IPV4	|
-					  MLX4_IB_RX_HASH_SRC_IPV6	|
-					  MLX4_IB_RX_HASH_DST_IPV6	|
-					  MLX4_IB_RX_HASH_SRC_PORT_TCP	|
-					  MLX4_IB_RX_HASH_DST_PORT_TCP	|
-					  MLX4_IB_RX_HASH_SRC_PORT_UDP	|
-					  MLX4_IB_RX_HASH_DST_PORT_UDP  |
-					  MLX4_IB_RX_HASH_INNER)) {
+	if (ucmd->rx_hash_fields_mask & ~(u64)(MLX4_IB_RX_HASH_SRC_IPV4	|
+					       MLX4_IB_RX_HASH_DST_IPV4	|
+					       MLX4_IB_RX_HASH_SRC_IPV6	|
+					       MLX4_IB_RX_HASH_DST_IPV6	|
+					       MLX4_IB_RX_HASH_SRC_PORT_TCP |
+					       MLX4_IB_RX_HASH_DST_PORT_TCP |
+					       MLX4_IB_RX_HASH_SRC_PORT_UDP |
+					       MLX4_IB_RX_HASH_DST_PORT_UDP |
+					       MLX4_IB_RX_HASH_INNER)) {
 		pr_debug("RX Hash fields_mask has unsupported mask (0x%llx)\n",
 			 ucmd->rx_hash_fields_mask);
 		return (-EOPNOTSUPP);
drivers/infiniband/hw/mthca/mthca_qp.c +1 -1
index 69bba0ef4a5d..53f43649f7d0 100644
@@ -1393,7 +1393,7 @@ int mthca_alloc_sqp(struct mthca_dev *dev,
 	if (mthca_array_get(&dev->qp_table.qp, mqpn))
 		err = -EBUSY;
 	else
-		mthca_array_set(&dev->qp_table.qp, mqpn, qp->sqp);
+		mthca_array_set(&dev->qp_table.qp, mqpn, qp);
 	spin_unlock_irq(&dev->qp_table.lock);
 
 	if (err)
drivers/irqchip/irq-bcm6345-l1.c +5 -9
index ebc3a253f735..7c5d8b791592 100644
@@ -82,6 +82,7 @@ struct bcm6345_l1_chip {
 };
 
 struct bcm6345_l1_cpu {
+	struct bcm6345_l1_chip	*intc;
 	void __iomem		*map_base;
 	unsigned int		parent_irq;
 	u32			enable_cache[];
@@ -115,17 +116,11 @@ static inline unsigned int cpu_for_irq(struct bcm6345_l1_chip *intc,
 
 static void bcm6345_l1_irq_handle(struct irq_desc *desc)
 {
-	struct bcm6345_l1_chip *intc = irq_desc_get_handler_data(desc);
-	struct bcm6345_l1_cpu *cpu;
+	struct bcm6345_l1_cpu *cpu = irq_desc_get_handler_data(desc);
+	struct bcm6345_l1_chip *intc = cpu->intc;
 	struct irq_chip *chip = irq_desc_get_chip(desc);
 	unsigned int idx;
 
-#ifdef CONFIG_SMP
-	cpu = intc->cpus[cpu_logical_map(smp_processor_id())];
-#else
-	cpu = intc->cpus[0];
-#endif
-
 	chained_irq_enter(chip, desc);
 
 	for (idx = 0; idx < intc->n_words; idx++) {
@@ -257,6 +252,7 @@ static int __init bcm6345_l1_init_one(struct device_node *dn,
 	if (!cpu)
 		return -ENOMEM;
 
+	cpu->intc = intc;
 	cpu->map_base = ioremap(res.start, sz);
 	if (!cpu->map_base)
 		return -ENOMEM;
@@ -272,7 +268,7 @@ static int __init bcm6345_l1_init_one(struct device_node *dn,
 		return -EINVAL;
 	}
 	irq_set_chained_handler_and_data(cpu->parent_irq,
-						bcm6345_l1_irq_handle, intc);
+						bcm6345_l1_irq_handle, cpu);
 
 	return 0;
 }
drivers/irqchip/irq-gic-v3-its.c +46 -29

116 lines not on this page · raw message

drivers/md/dm-cache-policy-smq.c +18 -10
index b61aac00ff40..859073193f5b 100644
@@ -854,7 +854,13 @@ struct smq_policy {
 
 	struct background_tracker *bg_work;
 
-	bool migrations_allowed;
+	bool migrations_allowed:1;
+
+	/*
+	 * If this is set the policy will try and clean the whole cache
+	 * even if the device is not idle.
+	 */
+	bool cleaner:1;
 };
 
 /*----------------------------------------------------------------*/
@@ -1133,7 +1139,7 @@ static bool clean_target_met(struct smq_policy *mq, bool idle)
 	 * Cache entries may not be populated.  So we cannot rely on the
 	 * size of the clean queue.
 	 */
-	if (idle) {
+	if (idle || mq->cleaner) {
 		/*
 		 * We'd like to clean everything.
 		 */
@@ -1716,11 +1722,9 @@ static void calc_hotspot_params(sector_t origin_size,
 		*hotspot_block_size /= 2u;
 }
 
-static struct dm_cache_policy *__smq_create(dm_cblock_t cache_size,
-					    sector_t origin_size,
-					    sector_t cache_block_size,
-					    bool mimic_mq,
-					    bool migrations_allowed)
+static struct dm_cache_policy *
+__smq_create(dm_cblock_t cache_size, sector_t origin_size, sector_t cache_block_size,
+	     bool mimic_mq, bool migrations_allowed, bool cleaner)
 {
 	unsigned i;
 	unsigned nr_sentinels_per_queue = 2u * NR_CACHE_LEVELS;
@@ -1807,6 +1811,7 @@ static struct dm_cache_policy *__smq_create(dm_cblock_t cache_size,
 		goto bad_btracker;
 
 	mq->migrations_allowed = migrations_allowed;
+	mq->cleaner = cleaner;
 
 	return &mq->policy;
 
@@ -1830,21 +1835,24 @@ static struct dm_cache_policy *smq_create(dm_cblock_t cache_size,
 					  sector_t origin_size,
 					  sector_t cache_block_size)
 {
-	return __smq_create(cache_size, origin_size, cache_block_size, false, true);
+	return __smq_create(cache_size, origin_size, cache_block_size,
+			    false, true, false);
 }
 
 static struct dm_cache_policy *mq_create(dm_cblock_t cache_size,
 					 sector_t origin_size,
 					 sector_t cache_block_size)
 {
-	return __smq_create(cache_size, origin_size, cache_block_size, true, true);
+	return __smq_create(cache_size, origin_size, cache_block_size,
+			    true, true, false);
 }
 
 static struct dm_cache_policy *cleaner_create(dm_cblock_t cache_size,
 					      sector_t origin_size,
 					      sector_t cache_block_size)
 {
-	return __smq_create(cache_size, origin_size, cache_block_size, false, false);
+	return __smq_create(cache_size, origin_size, cache_block_size,
+			    false, false, true);
 }
 
 /*----------------------------------------------------------------*/
drivers/md/dm-raid.c +9 -11
index eba277bb8a1f..8d489933d579 100644
@@ -3258,8 +3258,7 @@ static int raid_ctr(struct dm_target *ti, unsigned int argc, char **argv)
 	r = md_start(&rs->md);
 	if (r) {
 		ti->error = "Failed to start raid array";
-		mddev_unlock(&rs->md);
-		goto bad_md_start;
+		goto bad_unlock;
 	}
 
 	/* If raid4/5/6 journal mode explicitly requested (only possible with journal dev) -> set it */
@@ -3267,8 +3266,7 @@ static int raid_ctr(struct dm_target *ti, unsigned int argc, char **argv)
 		r = r5c_journal_mode_set(&rs->md, rs->journal_dev.mode);
 		if (r) {
 			ti->error = "Failed to set raid4/5/6 journal mode";
-			mddev_unlock(&rs->md);
-			goto bad_journal_mode_set;
+			goto bad_unlock;
 		}
 	}
 
@@ -3279,14 +3277,14 @@ static int raid_ctr(struct dm_target *ti, unsigned int argc, char **argv)
 	if (rs_is_raid456(rs)) {
 		r = rs_set_raid456_stripe_cache(rs);
 		if (r)
-			goto bad_stripe_cache;
+			goto bad_unlock;
 	}
 
 	/* Now do an early reshape check */
 	if (test_bit(RT_FLAG_RESHAPE_RS, &rs->runtime_flags)) {
 		r = rs_check_reshape(rs);
 		if (r)
-			goto bad_check_reshape;
+			goto bad_unlock;
 
 		/* Restore new, ctr requested layout to perform check */
 		rs_config_restore(rs, &rs_layout);
@@ -3295,7 +3293,7 @@ static int raid_ctr(struct dm_target *ti, unsigned int argc, char **argv)
 			r = rs->md.pers->check_reshape(&rs->md);
 			if (r) {
 				ti->error = "Reshape check failed";
-				goto bad_check_reshape;
+				goto bad_unlock;
 			}
 		}
 	}
@@ -3306,11 +3304,9 @@ static int raid_ctr(struct dm_target *ti, unsigned int argc, char **argv)
 	mddev_unlock(&rs->md);
 	return 0;
 
-bad_md_start:
-bad_journal_mode_set:
-bad_stripe_cache:
-bad_check_reshape:
+bad_unlock:
 	md_stop(&rs->md);
+	mddev_unlock(&rs->md);
 bad:
 	raid_set_free(rs);
 
@@ -3321,7 +3317,9 @@ static void raid_dtr(struct dm_target *ti)
 {
 	struct raid_set *rs = ti->private;
 
+	mddev_lock_nointr(&rs->md);
 	md_stop(&rs->md);
+	mddev_unlock(&rs->md);
 	raid_set_free(rs);
 }
 
drivers/md/md.c +2 -0
index 5a21aeedc1ba..89a270d29369 100644
@@ -6281,6 +6281,8 @@ static void __md_stop(struct mddev *mddev)
 
 void md_stop(struct mddev *mddev)
 {
+	lockdep_assert_held(&mddev->reconfig_mutex);
+
 	/* stop the array and free an attached data structures.
 	 * This is called from dm-raid
 	 */
drivers/net/Makefile +1 -1
index 739838623cf6..50e60852f128 100644
@@ -30,7 +30,7 @@ obj-$(CONFIG_TUN) += tun.o
 obj-$(CONFIG_TAP) += tap.o
 obj-$(CONFIG_VETH) += veth.o
 obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
-obj-$(CONFIG_VXLAN) += vxlan.o
+obj-$(CONFIG_VXLAN) += vxlan/
 obj-$(CONFIG_GENEVE) += geneve.o
 obj-$(CONFIG_BAREUDP) += bareudp.o
 obj-$(CONFIG_GTP) += gtp.o
drivers/net/bonding/bond_main.c +5 -0
index 7b0b4049bd29..69cc36c0840f 100644
@@ -1482,6 +1482,11 @@ static void bond_setup_by_slave(struct net_device *bond_dev,
 
 	memcpy(bond_dev->broadcast, slave_dev->broadcast,
 		slave_dev->addr_len);
+
+	if (slave_dev->flags & IFF_POINTOPOINT) {
+		bond_dev->flags &= ~(IFF_BROADCAST | IFF_MULTICAST);
+		bond_dev->flags |= (IFF_POINTOPOINT | IFF_NOARP);
+	}
 }
 
 /* On bonding slaves other than the currently active slave, suppress
drivers/net/can/usb/gs_usb.c +2 -0
index 5a43e542b302..5d6062fbebfc 100644
@@ -734,6 +734,8 @@ static int gs_can_close(struct net_device *netdev)
 	usb_kill_anchored_urbs(&dev->tx_submitted);
 	atomic_set(&dev->active_tx_urbs, 0);
 
+	dev->can.state = CAN_STATE_STOPPED;
+
 	/* reset the device */
 	rc = gs_cmd_reset(dev);
 	if (rc < 0)
drivers/net/ethernet/atheros/atl1e/atl1e_main.c +5 -2
index 753973ac922e..db13311e77e7 100644
@@ -1642,8 +1642,11 @@ static int atl1e_tso_csum(struct atl1e_adapter *adapter,
 			real_len = (((unsigned char *)ip_hdr(skb) - skb->data)
 					+ ntohs(ip_hdr(skb)->tot_len));
 
-			if (real_len < skb->len)
-				pskb_trim(skb, real_len);
+			if (real_len < skb->len) {
+				err = pskb_trim(skb, real_len);
+				if (err)
+					return err;
+			}
 
 			hdr_len = (skb_transport_offset(skb) + tcp_hdrlen(skb));
 			if (unlikely(skb->len == hdr_len)) {
drivers/net/ethernet/emulex/benet/be_main.c +2 -1
index 3ccb955eb6f2..c14a3dbd075c 100644
@@ -1139,7 +1139,8 @@ static struct sk_buff *be_lancer_xmit_workarounds(struct be_adapter *adapter,
 	    (lancer_chip(adapter) || BE3_chip(adapter) ||
 	     skb_vlan_tag_present(skb)) && is_ipv4_pkt(skb)) {
 		ip = (struct iphdr *)ip_hdr(skb);
-		pskb_trim(skb, eth_hdr_len + ntohs(ip->tot_len));
+		if (unlikely(pskb_trim(skb, eth_hdr_len + ntohs(ip->tot_len))))
+			goto tx_drop;
 	}
 
 	/* If vlan tag is already inlined in the packet, skip HW VLAN
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c +14 -3
index 375ebf105a9a..87640a2e1794 100644
@@ -52,7 +52,10 @@ static void hclge_tm_info_to_ieee_ets(struct hclge_dev *hdev,
 
 	for (i = 0; i < HNAE3_MAX_TC; i++) {
 		ets->prio_tc[i] = hdev->tm_info.prio_tc[i];
-		ets->tc_tx_bw[i] = hdev->tm_info.pg_info[0].tc_dwrr[i];
+		if (i < hdev->tm_info.num_tc)
+			ets->tc_tx_bw[i] = hdev->tm_info.pg_info[0].tc_dwrr[i];
+		else
+			ets->tc_tx_bw[i] = 0;
 
 		if (hdev->tm_info.tc_info[i].tc_sch_mode ==
 		    HCLGE_SCH_MODE_SP)
@@ -123,7 +126,8 @@ static u8 hclge_ets_tc_changed(struct hclge_dev *hdev, struct ieee_ets *ets,
 }
 
 static int hclge_ets_sch_mode_validate(struct hclge_dev *hdev,
-				       struct ieee_ets *ets, bool *changed)
+				       struct ieee_ets *ets, bool *changed,
+				       u8 tc_num)
 {
 	bool has_ets_tc = false;
 	u32 total_ets_bw = 0;
@@ -137,6 +141,13 @@ static int hclge_ets_sch_mode_validate(struct hclge_dev *hdev,
 				*changed = true;
 			break;
 		case IEEE_8021QAZ_TSA_ETS:
+			if (i >= tc_num) {
+				dev_err(&hdev->pdev->dev,
+					"tc%u is disabled, cannot set ets bw\n",
+					i);
+				return -EINVAL;
+			}
+
 			/* The hardware will switch to sp mode if bandwidth is
 			 * 0, so limit ets bandwidth must be greater than 0.
 			 */
@@ -176,7 +187,7 @@ static int hclge_ets_validate(struct hclge_dev *hdev, struct ieee_ets *ets,
 	if (ret)
 		return ret;
 
-	ret = hclge_ets_sch_mode_validate(hdev, ets, changed);
+	ret = hclge_ets_sch_mode_validate(hdev, ets, changed, tc_num);
 	if (ret)
 		return ret;
 
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c +1 -2
index 9cda8b3562b8..dd8b73aebe6a 100644
@@ -677,8 +677,7 @@ static int hclge_dbg_dump_tc(struct hclge_dev *hdev, char *buf, int len)
 	for (i = 0; i < HNAE3_MAX_TC; i++) {
 		sch_mode_str = ets_weight->tc_weight[i] ? "dwrr" : "sp";
 		pos += scnprintf(buf + pos, len - pos, "%u     %4s    %3u\n",
-				 i, sch_mode_str,
-				 hdev->tm_info.pg_info[0].tc_dwrr[i]);
+				 i, sch_mode_str, ets_weight->tc_weight[i]);
 	}
 
 	return 0;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c +2 -1
index 97a6864f60ef..e7cb6a81e5b6 100644
@@ -732,6 +732,7 @@ static void hclge_tm_tc_info_init(struct hclge_dev *hdev)
 static void hclge_tm_pg_info_init(struct hclge_dev *hdev)
 {
 #define BW_PERCENT	100
+#define DEFAULT_BW_WEIGHT	1
 
 	u8 i;
 
@@ -753,7 +754,7 @@ static void hclge_tm_pg_info_init(struct hclge_dev *hdev)
 		for (k = 0; k < hdev->tm_info.num_tc; k++)
 			hdev->tm_info.pg_info[i].tc_dwrr[k] = BW_PERCENT;
 		for (; k < HNAE3_MAX_TC; k++)
-			hdev->tm_info.pg_info[i].tc_dwrr[k] = 0;
+			hdev->tm_info.pg_info[i].tc_dwrr[k] = DEFAULT_BW_WEIGHT;
 	}
 }
 
drivers/net/ethernet/intel/i40e/i40e_debugfs.c +1 -1
index c057343165a5..7c5f874ef335 100644
@@ -1839,7 +1839,7 @@ void i40e_dbg_pf_exit(struct i40e_pf *pf)
 void i40e_dbg_init(void)
 {
 	i40e_dbg_root = debugfs_create_dir(i40e_driver_name, NULL);
-	if (!i40e_dbg_root)
+	if (IS_ERR(i40e_dbg_root))
 		pr_info("init of debugfs failed\n");
 }
 
drivers/net/ethernet/intel/iavf/iavf_main.c +6 -5
index bcceb2ddfea6..a87f4f1ae684 100644
@@ -2532,9 +2532,6 @@ static void iavf_adminq_task(struct work_struct *work)
 	u32 val, oldval;
 	u16 pending;
 
-	if (adapter->flags & IAVF_FLAG_PF_COMMS_FAILED)
-		goto out;
-
 	if (!mutex_trylock(&adapter->crit_lock)) {
 		if (adapter->state == __IAVF_REMOVE)
 			return;
@@ -2543,10 +2540,13 @@ static void iavf_adminq_task(struct work_struct *work)
 		goto out;
 	}
 
+	if (adapter->flags & IAVF_FLAG_PF_COMMS_FAILED)
+		goto unlock;
+
 	event.buf_len = IAVF_MAX_AQ_BUF_SIZE;
 	event.msg_buf = kzalloc(event.buf_len, GFP_KERNEL);
 	if (!event.msg_buf)
-		goto out;
+		goto unlock;
 
 	do {
 		ret = iavf_clean_arq_element(hw, &event, &pending);
@@ -2561,7 +2561,6 @@ static void iavf_adminq_task(struct work_struct *work)
 		if (pending != 0)
 			memset(event.msg_buf, 0, IAVF_MAX_AQ_BUF_SIZE);
 	} while (pending);
-	mutex_unlock(&adapter->crit_lock);
 
 	if ((adapter->flags & IAVF_FLAG_SETUP_NETDEV_FEATURES)) {
 		if (adapter->netdev_registered ||
@@ -2619,6 +2618,8 @@ static void iavf_adminq_task(struct work_struct *work)
 
 freedom:
 	kfree(event.msg_buf);
+unlock:
+	mutex_unlock(&adapter->crit_lock);
 out:
 	/* re-enable Admin queue interrupt cause */
 	iavf_misc_irq_enable(adapter);
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c +14 -12
index 16de603b280c..0106ea3519a0 100644
@@ -1135,16 +1135,21 @@ ice_cfg_fdir_xtrct_seq(struct ice_pf *pf, struct ethtool_rx_flow_spec *fsp,
 				     ICE_FLOW_FLD_OFF_INVAL);
 	}
 
-	/* add filter for outer headers */
 	fltr_idx = ice_ethtool_flow_to_fltr(fsp->flow_type & ~FLOW_EXT);
+
+	assign_bit(fltr_idx, hw->fdir_perfect_fltr, perfect_filter);
+
+	/* add filter for outer headers */
 	ret = ice_fdir_set_hw_fltr_rule(pf, seg, fltr_idx,
 					ICE_FD_HW_SEG_NON_TUN);
-	if (ret == -EEXIST)
-		/* Rule already exists, free memory and continue */
-		devm_kfree(dev, seg);
-	else if (ret)
+	if (ret == -EEXIST) {
+		/* Rule already exists, free memory and count as success */
+		ret = 0;
+		goto err_exit;
+	} else if (ret) {
 		/* could not write filter, free memory */
 		goto err_exit;
+	}
 
 	/* make tunneled filter HW entries if possible */
 	memcpy(&tun_seg[1], seg, sizeof(*seg));
@@ -1159,18 +1164,13 @@ ice_cfg_fdir_xtrct_seq(struct ice_pf *pf, struct ethtool_rx_flow_spec *fsp,
 		devm_kfree(dev, tun_seg);
 	}
 
-	if (perfect_filter)
-		set_bit(fltr_idx, hw->fdir_perfect_fltr);
-	else
-		clear_bit(fltr_idx, hw->fdir_perfect_fltr);
-
 	return ret;
 
 err_exit:
 	devm_kfree(dev, tun_seg);
 	devm_kfree(dev, seg);
 
-	return -EOPNOTSUPP;
+	return ret;
 }
 
 /**
@@ -1684,7 +1684,9 @@ int ice_add_fdir_ethtool(struct ice_vsi *vsi, struct ethtool_rxnfc *cmd)
 	input->comp_report = ICE_FXD_FLTR_QW0_COMP_REPORT_SW_FAIL;
 
 	/* input struct is added to the HW filter list */
-	ice_fdir_update_list_entry(pf, input, fsp->location);
+	ret = ice_fdir_update_list_entry(pf, input, fsp->location);
+	if (ret)
+		goto release_lock;
 
 	ret = ice_fdir_write_all_fltr(pf, input, true);
 	if (ret)
drivers/net/ethernet/intel/igc/igc_main.c +28 -12
index bcc1c428b4cc..a47dce10d3a7 100644
@@ -316,6 +316,33 @@ static void igc_clean_all_tx_rings(struct igc_adapter *adapter)
 			igc_clean_tx_ring(adapter->tx_ring[i]);
 }
 
+static void igc_disable_tx_ring_hw(struct igc_ring *ring)
+{
+	struct igc_hw *hw = &ring->q_vector->adapter->hw;
+	u8 idx = ring->reg_idx;
+	u32 txdctl;
+
+	txdctl = rd32(IGC_TXDCTL(idx));
+	txdctl &= ~IGC_TXDCTL_QUEUE_ENABLE;
+	txdctl |= IGC_TXDCTL_SWFLUSH;
+	wr32(IGC_TXDCTL(idx), txdctl);
+}
+
+/**
+ * igc_disable_all_tx_rings_hw - Disable all transmit queue operation
+ * @adapter: board private structure
+ */
+static void igc_disable_all_tx_rings_hw(struct igc_adapter *adapter)
+{
+	int i;
+
+	for (i = 0; i < adapter->num_tx_queues; i++) {
+		struct igc_ring *tx_ring = adapter->tx_ring[i];
+
+		igc_disable_tx_ring_hw(tx_ring);
+	}
+}
+
 /**
  * igc_setup_tx_resources - allocate Tx resources (Descriptors)
  * @tx_ring: tx descriptor ring (for a specific queue) to setup
@@ -4975,6 +5002,7 @@ void igc_down(struct igc_adapter *adapter)
 	/* clear VLAN promisc flag so VFTA will be updated if necessary */
 	adapter->flags &= ~IGC_FLAG_VLAN_PROMISC;
 
+	igc_disable_all_tx_rings_hw(adapter);
 	igc_clean_all_tx_rings(adapter);
 	igc_clean_all_rx_rings(adapter);
 }
@@ -7124,18 +7152,6 @@ void igc_enable_rx_ring(struct igc_ring *ring)
 		igc_alloc_rx_buffers(ring, igc_desc_unused(ring));
 }
 
-static void igc_disable_tx_ring_hw(struct igc_ring *ring)
-{
-	struct igc_hw *hw = &ring->q_vector->adapter->hw;
-	u8 idx = ring->reg_idx;
-	u32 txdctl;
-
-	txdctl = rd32(IGC_TXDCTL(idx));
-	txdctl &= ~IGC_TXDCTL_QUEUE_ENABLE;
-	txdctl |= IGC_TXDCTL_SWFLUSH;
-	wr32(IGC_TXDCTL(idx), txdctl);
-}
-
 void igc_disable_tx_ring(struct igc_ring *ring)
 {
 	igc_disable_tx_ring_hw(ring);
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +1 -1
index 6fb9c18297bc..af824370a2f6 100644
@@ -8398,7 +8398,7 @@ static void ixgbe_atr(struct ixgbe_ring *ring,
 		struct ixgbe_adapter *adapter = q_vector->adapter;
 
 		if (unlikely(skb_tail_pointer(skb) < hdr.network +
-			     VXLAN_HEADROOM))
+			     vxlan_headroom(0)))
 			return;
 
 		/* verify the port is recognized as VXLAN */
drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c +3 -1
index 9292a1fab7d3..7011c08d2e01 100644
@@ -207,13 +207,15 @@ void stmmac_dwmac4_set_mac_addr(void __iomem *ioaddr, u8 addr[6],
 void stmmac_dwmac4_set_mac(void __iomem *ioaddr, bool enable)
 {
 	u32 value = readl(ioaddr + GMAC_CONFIG);
+	u32 old_val = value;
 
 	if (enable)
 		value |= GMAC_CONFIG_RE | GMAC_CONFIG_TE;
 	else
 		value &= ~(GMAC_CONFIG_TE | GMAC_CONFIG_RE);
 
-	writel(value, ioaddr + GMAC_CONFIG);
+	if (value != old_val)
+		writel(value, ioaddr + GMAC_CONFIG);
 }
 
 void stmmac_dwmac4_get_mac_addr(void __iomem *ioaddr, unsigned char *addr,
drivers/net/phy/marvell10g.c +7 -0
index df33637c5269..1caa6d943a7b 100644
@@ -307,6 +307,13 @@ static int mv3310_power_up(struct phy_device *phydev)
 	ret = phy_clear_bits_mmd(phydev, MDIO_MMD_VEND2, MV_V2_PORT_CTRL,
 				 MV_V2_PORT_CTRL_PWRDOWN);
 
+	/* Sometimes, the power down bit doesn't clear immediately, and
+	 * a read of this register causes the bit not to clear. Delay
+	 * 100us to allow the PHY to come out of power down mode before
+	 * the next access.
+	 */
+	udelay(100);
+
 	if (phydev->drv->phy_id != MARVELL_PHY_ID_88X3310 ||
 	    priv->firmware_ver < 0x00030000)
 		return ret;
drivers/net/team/team.c +9 -0
index d9386d614a94..4dfa9c610974 100644
@@ -2130,6 +2130,15 @@ static void team_setup_by_port(struct net_device *dev,
 	dev->mtu = port_dev->mtu;
 	memcpy(dev->broadcast, port_dev->broadcast, port_dev->addr_len);
 	eth_hw_addr_inherit(dev, port_dev);
+
+	if (port_dev->flags & IFF_POINTOPOINT) {
+		dev->flags &= ~(IFF_BROADCAST | IFF_MULTICAST);
+		dev->flags |= (IFF_POINTOPOINT | IFF_NOARP);
+	} else if ((port_dev->flags & (IFF_BROADCAST | IFF_MULTICAST)) ==
+		    (IFF_BROADCAST | IFF_MULTICAST)) {
+		dev->flags |= (IFF_BROADCAST | IFF_MULTICAST);
+		dev->flags &= ~(IFF_POINTOPOINT | IFF_NOARP);
+	}
 }
 
 static int team_dev_type_check_change(struct net_device *dev,
drivers/net/virtio_net.c +2 -2
index 0351f86494f1..af335f8266c2 100644
@@ -3319,6 +3319,8 @@ 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();
 
@@ -3339,8 +3341,6 @@ static int virtnet_probe(struct virtio_device *vdev)
 		goto free_unregister_netdev;
 	}
 
-	virtnet_set_queues(vi, vi->curr_queue_pairs);
-
 	/* Assume link up if device can't report link status,
 	   otherwise get link status from config. */
 	netif_carrier_off(dev);
drivers/net/vxlan.c deleted +0 -4834

1,004 lines not on this page · raw message

drivers/net/vxlan/Makefile new file +7 -0
new file mode 100644
index 000000000000..567266133593

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

drivers/net/vxlan/vxlan_core.c new file +4831 -0

4,831 lines not on this page · raw message

drivers/pci/controller/pcie-rockchip-ep.c +76 -80

156 lines not on this page · raw message

drivers/pci/controller/pcie-rockchip.h +25 -15
index cbd2fd25ba76..88e2bf65e433 100644

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

drivers/pci/pcie/aspm.c +37 -18

55 lines not on this page · raw message

drivers/phy/hisilicon/phy-hisi-inno-usb2.c +1 -1
index 34a6a9a1ceb2..897c6bb4cbb8 100644

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

drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c +52 -34

86 lines not on this page · raw message

drivers/platform/x86/msi-laptop.c +4 -4
index 0e804b6c2d24..dfb4af759aa7 100644

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

drivers/pwm/pwm-meson.c +13 -12
index 76f702c43cbc..ec6a544d6f52 100644

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

drivers/s390/block/dasd_ioctl.c +1 -0
index 7b76491f4fe9..7dad0428d73c 100644

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

drivers/scsi/qla2xxx/qla_attr.c +3 -0
index de57d45ffc5c..4a5df867057b 100644

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

drivers/scsi/qla2xxx/qla_def.h +27 -0
index e674d3fb5926..83228ce822af 100644

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

drivers/scsi/qla2xxx/qla_gbl.h +1 -13
index f82e4a348330..9e467262c0f1 100644

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

drivers/scsi/qla2xxx/qla_init.c +236 -20

256 lines not on this page · raw message

drivers/scsi/qla2xxx/qla_iocb.c +27 -6
index 7a4298388ef1..c9a686f06d29 100644

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

drivers/scsi/qla2xxx/qla_isr.c +23 -3
index 665959938e5e..08d43f43995e 100644

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

drivers/scsi/qla2xxx/qla_target.h +0 -2
index 156b950ca7e7..aa8343444837 100644

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

drivers/soundwire/qcom.c +1 -1
index 2045bcdfce1a..e3b52d5aa411 100644

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

drivers/staging/ks7010/ks_wlan_net.c +4 -2
index 631ad769c3d5..8d8822c60a2b 100644

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

drivers/staging/media/atomisp/Kconfig +1 -0
index aeed5803dfb1..0031d76356c1 100644

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

drivers/staging/rtl8712/rtl871x_xmit.c +34 -9

43 lines not on this page · raw message

drivers/staging/rtl8712/xmit_linux.c +6 -0
index 90d34cf9d2ff..a820ce7cce71 100644

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

drivers/tty/n_gsm.c +3 -1
index 813a45887171..54173c23263c 100644

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

drivers/tty/n_tty.c +23 -6
index 891036bd9f89..6259249b1167 100644

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

drivers/tty/serial/8250/8250_dwlib.c +4 -2
index 6d6a78eead3e..1cf229cca592 100644

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

drivers/tty/serial/qcom_geni_serial.c +0 -7
index 5157ddffaf68..197397a98944 100644

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

drivers/tty/serial/sifive.c +1 -1
index 4b0fa91e9f9a..69a32d94ec9d 100644

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

drivers/usb/cdns3/cdns3-gadget.c +3 -1
index 1dcadef933e3..69a44bd7e5d0 100644

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

drivers/usb/core/quirks.c +4 -0
index 934b3d997702..15e9bd180a1d 100644

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

drivers/usb/dwc3/core.c +2 -18
index 9dbea2148362..f2e841bc05c7 100644

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

drivers/usb/dwc3/core.h +0 -3
index 84cdac33cb35..3dcb5b744f7c 100644

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

drivers/usb/dwc3/dwc3-pci.c +4 -2
index 4bcfcb98f5ec..1872de3ce98b 100644

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

drivers/usb/gadget/composite.c +4 -0
index 0886cff9aa1c..edce0a1bdddf 100644

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

drivers/usb/gadget/legacy/raw_gadget.c +6 -4
index 2869bda64229..9d13f2274398 100644

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

drivers/usb/gadget/udc/tegra-xudc.c +4 -4
index 1cb4258077bd..52996bf2cc70 100644

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

drivers/usb/host/ohci-at91.c +7 -1
index a24aea3d2759..e72f2e456f4a 100644

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

drivers/usb/host/xhci-mtk.c +1 -0
index f8a63c143492..b55ddc1156cc 100644

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

drivers/usb/host/xhci-pci.c +1 -3
index 6c23b5156448..29a442b62118 100644

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

drivers/usb/host/xhci-ring.c +1 -24
index 73f2ff83e1ad..15e44045230e 100644

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

drivers/usb/host/xhci-tegra.c +4 -4
index 32df571bb233..51eabc5e8770 100644

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

drivers/usb/serial/option.c +6 -0
index 6692440c1e0a..119641761c3b 100644

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

drivers/usb/serial/usb-serial-simple.c +40 -33

73 lines not on this page · raw message

fs/btrfs/qgroup.c +15 -3
index d408d1dfde7c..d46a070275ff 100644

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

fs/btrfs/transaction.c +8 -2
index 642cd2b55fa0..daaed37bba9e 100644

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

fs/ceph/metric.c +1 -1
index 04d5df29bbbf..d21ff4354332 100644

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

fs/cifs/cifs_dfs_ref.c +40 -60

100 lines not on this page · raw message

fs/cifs/file.c +2 -2
index 4e4f73a90574..e65fbae9e804 100644

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

fs/dlm/plock.c +57 -43

100 lines not on this page · raw message

fs/file.c +2 -4
index ee1c350ec58a..1501bbf6306e 100644

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

fs/internal.h +0 -2
index ceb154583a3c..1ff8cfc94467 100644

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

fs/jbd2/checkpoint.c +17 -15
index fe8bb031b7d7..d2aba55833f9 100644

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

fs/ksmbd/vfs.c +0 -2
index 52cc6a9627ed..f76acd83c294 100644

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

fs/nfsd/nfs4state.c +0 -2
index c062728034ad..c8729493df5c 100644

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

include/linux/namei.h +2 -0
index caeb08a98536..40c693525f79 100644

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

include/linux/pwm.h +5 -0
index 725c9b784e60..c7bfa64aeb14 100644

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

include/net/ipv6.h +2 -6
index e3ab99f4edab..20930086b228 100644

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

include/net/vxlan.h +9 -4
index 08537aa14f7c..cf1d870f7b9a 100644

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

include/uapi/linux/blkzoned.h +5 -5
index 656a326821a2..321965feee35 100644

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

io_uring/io_uring.c +9 -1
index d7f87157be9a..774b1ae8adf7 100644

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

kernel/locking/rtmutex.c +114 -56

170 lines not on this page · raw message

kernel/locking/rtmutex_api.c +1 -1
index a461be2f873d..56d1938cb52a 100644

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

kernel/locking/rtmutex_common.h +34 -13

47 lines not on this page · raw message

kernel/locking/ww_mutex.h +6 -6
index 56f139201f24..3ad2cc4823e5 100644

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

kernel/trace/ring_buffer.c +12 -10
index ceeba8bf1265..e1cef097b0df 100644

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

kernel/trace/trace.c +1 -1
index 1dda36c7e5eb..ae7005af78c3 100644

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

kernel/trace/trace.h +6 -0
index 2c3d9b6ce148..43058077a4de 100644

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

kernel/trace/trace_events.c +4 -10
index 160298d285c0..2a2a59999767 100644

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

kernel/trace/trace_events_hist.c +3 -4
index 1b70fc4c703f..c32a53f08922 100644

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

kernel/trace/trace_events_synth.c +79 -1

80 lines not on this page · raw message

kernel/trace/trace_probe.c +30 -16

46 lines not on this page · raw message

kernel/trace/trace_probe.h +11 -5
index 84d495cbd876..0f0e5005b97a 100644

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

kernel/trace/trace_probe_kernel.h +8 -22
index 77dbd9ff9782..2da70be83831 100644

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

kernel/trace/trace_probe_tmpl.h +48 -11

59 lines not on this page · raw message

kernel/trace/trace_synth.h +1 -0
index b29595fe3ac5..43f6fb6078db 100644

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

kernel/trace/trace_uprobe.c +2 -1
index 78ec1c16ccf4..debc65101548 100644

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

net/ceph/messenger.c +1 -0
index 57d043b382ed..9bf085ddbe51 100644

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

net/ipv6/addrconf.c +10 -4
index e0d3909172a8..0c0b7969840f 100644

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

net/netfilter/nf_tables_api.c +3 -2
index e0e675313d8e..ce9f962380b7 100644

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

net/netfilter/nft_immediate.c +18 -9
index 6b0efab4fad0..6bf1c852e8ea 100644

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

net/netfilter/nft_set_rbtree.c +14 -6
index 5c05c9b990fb..8d73fffd2d09 100644

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

net/sched/sch_mqprio.c +93 -51

144 lines not on this page · raw message

net/tipc/crypto.c +2 -1
index 4243d2ab8adf..32447e8d94ac 100644

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

net/tipc/node.c +1 -1
index 5e000fde8067..a9c5b6594889 100644

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

sound/pci/hda/patch_realtek.c +1 -0
index 0bc3f3f1b8a7..965720b1d1b1 100644

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

sound/soc/codecs/cs42l51-i2c.c +6 -0
index 70260e0a8f09..3ff73367897d 100644

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

sound/soc/codecs/cs42l51.c +0 -7
index c61b17dc2af8..4b026e1c3fe3 100644

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

sound/soc/codecs/cs42l51.h +0 -1
index 9d06cf7f8876..4f13c38484b7 100644

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

sound/soc/codecs/wm8904.c +3 -0
index 6759ce7e09ff..7aed412b19c7 100644

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

sound/soc/fsl/fsl_spdif.c +2 -0
index 8b5c3ba48516..5b107f2555dd 100644

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

tools/testing/selftests/net/mptcp/mptcp_join.sh +1 -4
index 368fae525fea..a68048f1fc5a 100755

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

tools/testing/selftests/net/mptcp/mptcp_sockopt.sh +11 -9
index d5c79e4a8f1e..3432d11e0a03 100755

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

virt/kvm/kvm_main.c +24 -0
index 3967184b7d62..d11c581ce9b9 100644

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.