Skip to contentSkip to conversation

Linux 5.10.224

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Aug 19, 2024 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 5.10.224 kernel.

All users of the 5.10 kernel series must upgrade.

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

thanks,

greg k-h

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

 Documentation/arm64/cpu-feature-registers.rst                     |   38 ++
 Documentation/arm64/silicon-errata.rst                            |   36 +
 Documentation/devicetree/bindings/thermal/thermal-zones.yaml      |    5 
 Makefile                                                          |    2 
 arch/arm/boot/dts/imx6q-kontron-samx6i.dtsi                       |   23 -
 arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi                     |   26 +
 arch/arm/mach-pxa/include/mach/spitz.h                            |  185 ----------
 arch/arm/mach-pxa/spitz.c                                         |   39 +-
 arch/arm/mach-pxa/spitz.h                                         |  185 ++++++++++
 arch/arm/mach-pxa/spitz_pm.c                                      |    2 
 arch/arm64/Kconfig                                                |   38 ++
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi                       |    4 
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi                        |    4 
 arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts          |    4 
 arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts                      |    4 
 arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi                    |    2 
 arch/arm64/boot/dts/qcom/msm8996.dtsi                             |    2 
 arch/arm64/boot/dts/qcom/sdm845.dtsi                              |    2 
 arch/arm64/boot/dts/rockchip/rk3328.dtsi                          |    4 
 arch/arm64/include/asm/cpucaps.h                                  |    3 
 arch/arm64/include/asm/cputype.h                                  |   16 
 arch/arm64/kernel/cpu_errata.c                                    |   31 +
 arch/arm64/kernel/cpufeature.c                                    |   90 ++++
 arch/arm64/kernel/proton-pack.c                                   |   12 
 arch/m68k/amiga/config.c                                          |    9 
 arch/m68k/atari/ataints.c                                         |    6 
 arch/m68k/include/asm/cmpxchg.h                                   |    2 
 arch/mips/include/asm/mach-loongson64/boot_param.h                |    2 
 arch/mips/include/asm/mips-cm.h                                   |    4 
 arch/mips/kernel/smp-cps.c                                        |    5 
 arch/mips/loongson64/env.c                                        |    8 
 arch/mips/sgi-ip30/ip30-console.c                                 |    1 
 arch/powerpc/configs/85xx-hw.config                               |    2 
 arch/powerpc/include/asm/percpu.h                                 |   10 
 arch/powerpc/kernel/mce.c                                         |   14 
 arch/powerpc/kernel/setup_64.c                                    |    2 
 arch/powerpc/kernel/traps.c                                       |    8 
 arch/powerpc/kvm/powerpc.c                                        |    4 
 arch/powerpc/xmon/ppc-dis.c                                       |   33 -
 arch/riscv/mm/fault.c                                             |   17 
 arch/sparc/include/asm/oplib_64.h                                 |    1 
 arch/sparc/prom/init_64.c                                         |    3 
 arch/sparc/prom/p1275.c                                           |    2 
 arch/um/kernel/time.c                                             |    4 
 arch/x86/events/intel/pt.c                                        |    4 
 arch/x86/events/intel/pt.h                                        |    4 
 arch/x86/kernel/cpu/mtrr/mtrr.c                                   |    2 
 arch/x86/kernel/devicetree.c                                      |    2 
 arch/x86/kvm/vmx/vmx.c                                            |   11 
 arch/x86/kvm/vmx/vmx.h                                            |    1 
 arch/x86/mm/pti.c                                                 |    8 
 arch/x86/pci/intel_mid_pci.c                                      |    4 
 arch/x86/pci/xen.c                                                |    4 
 arch/x86/platform/intel/iosf_mbi.c                                |    4 
 arch/x86/xen/p2m.c                                                |    4 
 drivers/acpi/battery.c                                            |   16 
 drivers/acpi/sbs.c                                                |   23 -
 drivers/android/binder.c                                          |    4 
 drivers/base/core.c                                               |   13 
 drivers/base/devres.c                                             |   13 
 drivers/base/module.c                                             |    4 
 drivers/block/rbd.c                                               |   35 -
 drivers/bluetooth/btusb.c                                         |    4 
 drivers/char/hw_random/amd-rng.c                                  |    4 
 drivers/char/tpm/eventlog/common.c                                |    2 
 drivers/clk/davinci/da8xx-cfgchip.c                               |    4 
 drivers/clocksource/sh_cmt.c                                      |   13 
 drivers/edac/Makefile                                             |   10 
 drivers/edac/skx_common.c                                         |   88 ++++
 drivers/edac/skx_common.h                                         |   15 
 drivers/firmware/turris-mox-rwtm.c                                |   18 
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c                           |    7 
 drivers/gpu/drm/amd/display/dc/core/dc_surface.c                  |    3 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c               |    7 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c               |   14 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c             |    7 
 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c                 |    5 
 drivers/gpu/drm/drm_client_modeset.c                              |    5 
 drivers/gpu/drm/etnaviv/etnaviv_gem.c                             |    6 
 drivers/gpu/drm/gma500/cdv_intel_lvds.c                           |    3 
 drivers/gpu/drm/gma500/psb_intel_lvds.c                           |    3 
 drivers/gpu/drm/i915/gem/i915_gem_mman.c                          |   53 ++
 drivers/gpu/drm/mgag200/mgag200_i2c.c                             |    2 
 drivers/gpu/drm/nouveau/nouveau_prime.c                           |    3 
 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c                    |    8 
 drivers/gpu/drm/panfrost/panfrost_drv.c                           |    1 
 drivers/gpu/drm/qxl/qxl_display.c                                 |    3 
 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c                           |    2 
 drivers/hid/wacom_wac.c                                           |    3 
 drivers/hwmon/adt7475.c                                           |    2 
 drivers/hwmon/max6697.c                                           |    5 
 drivers/hwtracing/coresight/coresight-platform.c                  |    4 
 drivers/i2c/i2c-smbus.c                                           |   64 +++
 drivers/infiniband/core/device.c                                  |    6 
 drivers/infiniband/core/iwcm.c                                    |   11 
 drivers/infiniband/hw/bnxt_re/ib_verbs.c                          |    8 
 drivers/infiniband/hw/bnxt_re/qplib_fp.h                          |    6 
 drivers/infiniband/hw/hns/hns_roce_device.h                       |    4 
 drivers/infiniband/hw/hns/hns_roce_mr.c                           |    5 
 drivers/infiniband/hw/mlx4/alias_GUID.c                           |    2 
 drivers/infiniband/hw/mlx4/mad.c                                  |    2 
 drivers/infiniband/sw/rxe/rxe_req.c                               |    7 
 drivers/input/keyboard/qt1050.c                                   |    7 
 drivers/input/mouse/elan_i2c_core.c                               |    2 
 drivers/irqchip/irq-imx-irqsteer.c                                |   40 +-
 drivers/irqchip/irq-mbigen.c                                      |   20 -
 drivers/irqchip/irq-meson-gpio.c                                  |   35 +
 drivers/irqchip/irq-xilinx-intc.c                                 |    2 
 drivers/isdn/hardware/mISDN/hfcmulti.c                            |    7 
 drivers/leds/led-class.c                                          |    1 
 drivers/leds/led-triggers.c                                       |    2 
 drivers/leds/leds-ss4200.c                                        |    7 
 drivers/macintosh/therm_windtunnel.c                              |    2 
 drivers/md/md.c                                                   |    1 
 drivers/md/raid5.c                                                |   20 -
 drivers/media/pci/saa7134/saa7134-dvb.c                           |    8 
 drivers/media/platform/qcom/venus/vdec.c                          |    3 
 drivers/media/platform/vsp1/vsp1_histo.c                          |   20 -
 drivers/media/platform/vsp1/vsp1_pipe.h                           |    2 
 drivers/media/platform/vsp1/vsp1_rpf.c                            |    8 
 drivers/media/rc/imon.c                                           |    5 
 drivers/media/rc/lirc_dev.c                                       |    4 
 drivers/media/usb/uvc/uvc_ctrl.c                                  |   90 +++-
 drivers/media/usb/uvc/uvc_video.c                                 |   37 +-
 drivers/media/usb/uvc/uvcvideo.h                                  |    5 
 drivers/mfd/omap-usb-tll.c                                        |    3 
 drivers/mtd/tests/Makefile                                        |   34 -
 drivers/mtd/tests/mtd_test.c                                      |    9 
 drivers/mtd/ubi/eba.c                                             |    3 
 drivers/net/bonding/bond_main.c                                   |    7 
 drivers/net/dsa/b53/b53_common.c                                  |    3 
 drivers/net/dsa/bcm_sf2.c                                         |    4 
 drivers/net/dsa/mv88e6xxx/chip.c                                  |    3 
 drivers/net/ethernet/brocade/bna/bna_types.h                      |    2 
 drivers/net/ethernet/brocade/bna/bnad.c                           |   11 
 drivers/net/ethernet/freescale/fec_main.c                         |   52 +-
 drivers/net/ethernet/freescale/fec_ptp.c                          |    3 
 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c              |    7 
 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c          |   18 
 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c   |   38 +-
 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c            |   13 
 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h           |    9 
 drivers/net/ethernet/qlogic/qed/qed_l2.c                          |   23 -
 drivers/net/ethernet/qlogic/qede/qede_filter.c                    |   47 +-
 drivers/net/ethernet/realtek/r8169_main.c                         |    8 
 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c                 |    2 
 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c               |    2 
 drivers/net/ethernet/stmicro/stmmac/hwif.h                        |    2 
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c                 |    4 
 drivers/net/netconsole.c                                          |    2 
 drivers/net/usb/qmi_wwan.c                                        |    1 
 drivers/net/usb/sr9700.c                                          |   11 
 drivers/net/wireless/ath/ath11k/dp.h                              |    1 
 drivers/net/wireless/ath/ath11k/dp_rx.c                           |   51 ++
 drivers/net/wireless/ath/ath11k/dp_rx.h                           |    6 
 drivers/net/wireless/ath/ath11k/mac.c                             |   19 -
 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c    |   18 
 drivers/net/wireless/marvell/mwifiex/cfg80211.c                   |    2 
 drivers/net/wireless/virt_wifi.c                                  |   20 -
 drivers/nvme/host/pci.c                                           |   36 +
 drivers/parport/procfs.c                                          |   24 -
 drivers/pci/controller/pci-hyperv.c                               |    4 
 drivers/pci/controller/pcie-rockchip.c                            |    2 
 drivers/pci/pci.c                                                 |   19 -
 drivers/pci/setup-bus.c                                           |    6 
 drivers/pinctrl/core.c                                            |   12 
 drivers/pinctrl/freescale/pinctrl-mxs.c                           |    4 
 drivers/pinctrl/pinctrl-rockchip.c                                |   17 
 drivers/pinctrl/pinctrl-single.c                                  |    7 
 drivers/pinctrl/ti/pinctrl-ti-iodelay.c                           |   14 
 drivers/platform/chrome/cros_ec_debugfs.c                         |    1 
 drivers/platform/chrome/cros_ec_proto.c                           |    2 
 drivers/platform/mips/cpu_hwmon.c                                 |    3 
 drivers/power/supply/axp288_charger.c                             |   22 -
 drivers/pwm/pwm-stm32.c                                           |    5 
 drivers/remoteproc/imx_rproc.c                                    |    5 
 drivers/rtc/interface.c                                           |    9 
 drivers/rtc/rtc-cmos.c                                            |   10 
 drivers/rtc/rtc-isl1208.c                                         |   11 
 drivers/s390/char/sclp_sd.c                                       |   10 
 drivers/scsi/mpt3sas/mpt3sas_base.c                               |   38 +-
 drivers/scsi/qla2xxx/qla_bsg.c                                    |    2 
 drivers/scsi/qla2xxx/qla_gs.c                                     |    2 
 drivers/scsi/qla2xxx/qla_init.c                                   |   63 ++-
 drivers/scsi/qla2xxx/qla_mid.c                                    |    2 
 drivers/scsi/qla2xxx/qla_nvme.c                                   |    5 
 drivers/scsi/qla2xxx/qla_os.c                                     |    7 
 drivers/scsi/qla2xxx/qla_sup.c                                    |  108 ++++-
 drivers/scsi/ufs/ufshcd.c                                         |   11 
 drivers/soc/qcom/pdr_interface.c                                  |    8 
 drivers/soc/qcom/rpmh-rsc.c                                       |    7 
 drivers/soc/qcom/rpmh.c                                           |    1 
 drivers/soc/xilinx/zynqmp_pm_domains.c                            |   16 
 drivers/soc/xilinx/zynqmp_power.c                                 |    5 
 drivers/spi/spi-fsl-lpspi.c                                       |    6 
 drivers/tty/serial/serial_core.c                                  |    8 
 drivers/usb/gadget/function/u_serial.c                            |    1 
 drivers/usb/gadget/udc/core.c                                     |   10 
 drivers/usb/serial/usb_debug.c                                    |    7 
 drivers/usb/usbip/vhci_hcd.c                                      |    9 
 drivers/vhost/vdpa.c                                              |   30 -
 fs/btrfs/free-space-cache.c                                       |    1 
 fs/ceph/super.c                                                   |    3 
 fs/exec.c                                                         |    8 
 fs/ext2/balloc.c                                                  |   11 
 fs/ext4/extents_status.c                                          |    2 
 fs/ext4/inode.c                                                   |   76 ++--
 fs/ext4/mballoc.c                                                 |    3 
 fs/ext4/namei.c                                                   |   73 +++
 fs/ext4/xattr.c                                                   |    6 
 fs/f2fs/inode.c                                                   |    3 
 fs/f2fs/segment.h                                                 |    3 
 fs/file.c                                                         |    1 
 fs/fuse/control.c                                                 |   10 
 fs/fuse/inode.c                                                   |   80 ++--
 fs/fuse/virtio_fs.c                                               |   12 
 fs/hfs/inode.c                                                    |    3 
 fs/hfsplus/bfind.c                                                |   15 
 fs/hfsplus/extents.c                                              |    9 
 fs/hfsplus/hfsplus_fs.h                                           |   21 +
 fs/jbd2/commit.c                                                  |    2 
 fs/jbd2/journal.c                                                 |    6 
 fs/jfs/jfs_imap.c                                                 |    5 
 fs/nilfs2/btnode.c                                                |   25 +
 fs/nilfs2/btree.c                                                 |    4 
 fs/nilfs2/segment.c                                               |    7 
 fs/proc/proc_sysctl.c                                             |    6 
 fs/proc/task_mmu.c                                                |    2 
 fs/super.c                                                        |   11 
 fs/udf/balloc.c                                                   |   51 +-
 fs/udf/super.c                                                    |    3 
 include/linux/compiler_attributes.h                               |    1 
 include/linux/irq.h                                               |    7 
 include/linux/irqdomain.h                                         |   10 
 include/linux/jbd2.h                                              |    5 
 include/linux/objagg.h                                            |    1 
 include/linux/pci_ids.h                                           |    2 
 include/linux/qed/qed_eth_if.h                                    |   21 -
 include/linux/sched/signal.h                                      |    6 
 include/linux/task_work.h                                         |    3 
 include/linux/trace_events.h                                      |    1 
 include/net/netfilter/nf_tables.h                                 |   25 +
 include/net/sctp/sctp.h                                           |    4 
 include/net/sctp/structs.h                                        |    8 
 include/trace/events/rpcgss.h                                     |    2 
 include/uapi/linux/netfilter/nf_tables.h                          |    2 
 include/uapi/linux/zorro_ids.h                                    |    3 
 io_uring/io-wq.c                                                  |   10 
 kernel/bpf/btf.c                                                  |   10 
 kernel/debug/kdb/kdb_io.c                                         |    6 
 kernel/dma/mapping.c                                              |    2 
 kernel/events/core.c                                              |    2 
 kernel/events/internal.h                                          |    2 
 kernel/irq/chip.c                                                 |   32 +
 kernel/irq/irqdesc.c                                              |    1 
 kernel/irq/manage.c                                               |    2 
 kernel/kprobes.c                                                  |    4 
 kernel/padata.c                                                   |    7 
 kernel/rcu/rcutorture.c                                           |    2 
 kernel/sched/core.c                                               |   23 -
 kernel/sched/cputime.c                                            |    6 
 kernel/sched/fair.c                                               |    9 
 kernel/sched/sched.h                                              |    2 
 kernel/signal.c                                                   |    8 
 kernel/task_work.c                                                |   34 +
 kernel/time/ntp.c                                                 |    9 
 kernel/time/tick-broadcast.c                                      |   24 +
 kernel/trace/tracing_map.c                                        |    6 
 kernel/watchdog_hld.c                                             |   11 
 lib/decompress_bunzip2.c                                          |    3 
 lib/kobject_uevent.c                                              |   17 
 lib/objagg.c                                                      |   18 
 net/bluetooth/l2cap_core.c                                        |    1 
 net/core/filter.c                                                 |   15 
 net/core/link_watch.c                                             |    4 
 net/core/xdp.c                                                    |    4 
 net/ipv4/esp4.c                                                   |    3 
 net/ipv4/nexthop.c                                                |    7 
 net/ipv4/route.c                                                  |    2 
 net/ipv6/addrconf.c                                               |    3 
 net/ipv6/esp6.c                                                   |    3 
 net/ipv6/ndisc.c                                                  |   34 -
 net/iucv/af_iucv.c                                                |    4 
 net/l2tp/l2tp_core.c                                              |   15 
 net/mptcp/mib.c                                                   |    2 
 net/mptcp/mib.h                                                   |    2 
 net/mptcp/options.c                                               |    2 
 net/mptcp/pm.c                                                    |    9 
 net/mptcp/pm_netlink.c                                            |   30 +
 net/mptcp/protocol.c                                              |   10 
 net/mptcp/protocol.h                                              |    6 
 net/mptcp/subflow.c                                               |   24 +
 net/netfilter/ipset/ip_set_list_set.c                             |    3 
 net/netfilter/ipvs/ip_vs_proto_sctp.c                             |    4 
 net/netfilter/nf_conntrack_netlink.c                              |    3 
 net/netfilter/nf_tables_api.c                                     |  149 +-------
 net/netfilter/nft_connlimit.c                                     |    2 
 net/netfilter/nft_counter.c                                       |    4 
 net/netfilter/nft_dynset.c                                        |    2 
 net/netfilter/nft_set_hash.c                                      |    8 
 net/netfilter/nft_set_pipapo.c                                    |   18 
 net/netfilter/nft_set_pipapo_avx2.c                               |   12 
 net/netfilter/nft_set_rbtree.c                                    |    6 
 net/packet/af_packet.c                                            |   86 ++++
 net/sched/act_ct.c                                                |    4 
 net/sctp/input.c                                                  |   46 +-
 net/sctp/proc.c                                                   |   10 
 net/sctp/socket.c                                                 |    6 
 net/smc/smc_core.c                                                |   32 -
 net/sunrpc/auth_gss/gss_krb5_keys.c                               |    2 
 net/sunrpc/clnt.c                                                 |    3 
 net/sunrpc/sched.c                                                |    4 
 net/sunrpc/xprtrdma/frwr_ops.c                                    |    9 
 net/sunrpc/xprtrdma/verbs.c                                       |   20 -
 net/sunrpc/xprtrdma/xprt_rdma.h                                   |    2 
 net/tipc/udp_media.c                                              |    5 
 net/wireless/nl80211.c                                            |   16 
 net/wireless/util.c                                               |    8 
 samples/Kconfig                                                   |    8 
 samples/Makefile                                                  |    1 
 samples/fanotify/.gitignore                                       |    1 
 samples/fanotify/Makefile                                         |    5 
 samples/fanotify/fs-monitor.c                                     |  142 +++++++
 scripts/gcc-x86_32-has-stack-protector.sh                         |    2 
 scripts/gcc-x86_64-has-stack-protector.sh                         |    2 
 security/apparmor/lsm.c                                           |    7 
 security/apparmor/policy.c                                        |    2 
 security/apparmor/policy_unpack.c                                 |    1 
 security/keys/keyctl.c                                            |    2 
 sound/pci/hda/patch_hdmi.c                                        |    2 
 sound/pci/hda/patch_realtek.c                                     |    1 
 sound/soc/codecs/max98088.c                                       |   10 
 sound/soc/codecs/wsa881x.c                                        |    2 
 sound/soc/intel/common/soc-intel-quirks.h                         |    2 
 sound/soc/pxa/spitz.c                                             |   58 +--
 sound/usb/line6/driver.c                                          |    5 
 sound/usb/quirks-table.h                                          |    4 
 sound/usb/stream.c                                                |    4 
 tools/lib/bpf/btf_dump.c                                          |    8 
 tools/memory-model/lock.cat                                       |   20 -
 tools/perf/util/sort.c                                            |    2 
 tools/testing/selftests/bpf/prog_tests/send_signal.c              |    3 
 tools/testing/selftests/bpf/prog_tests/sk_lookup.c                |    2 
 tools/testing/selftests/bpf/progs/btf_dump_test_case_multidim.c   |    4 
 tools/testing/selftests/bpf/progs/btf_dump_test_case_syntax.c     |    4 
 tools/testing/selftests/bpf/test_sockmap.c                        |    9 
 tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_flower.sh |   55 ++
 tools/testing/selftests/net/forwarding/devlink_lib.sh             |    2 
 tools/testing/selftests/sigaltstack/current_stack_pointer.h       |    2 
 349 files changed, 3062 insertions(+), 1571 deletions(-)

Adrian Hunter (4):
perf/x86/intel/pt: Fix pt_topa_entry_for_page() address calculation
perf: Fix perf_aux_size() for greater-than 32-bit size
perf: Prevent passing zero nr_pages to rb_alloc_aux() perf/x86/intel/pt: Fix a topa_entry base address calculation

Al Viro (3):
powerpc: fix a file leak in kvm_vcpu_ioctl_enable_cap()
lirc: rc_dev_get_from_fd(): fix file leak
protect the fetch of ->fd[fd] in do_dup2() from mispredictions

Alan Maguire (2):
bpf: annotate BTF show functions with __printf
bpf: Eliminate remaining "make W=1" warnings in kernel/bpf/btf.o

Alan Stern (1):
tools/memory-model: Fix bug in lock.cat

Aleksandr Burakov (1):
saa7134: Unchecked i2c_transfer function result fixed

Aleksandr Mishin (1):
remoteproc: imx_rproc: Skip over memory region when node value is NULL

Alex Shi (1):
fs/nilfs2: remove some unused macros to tame gcc

Alexander Maltsev (1):
netfilter: ipset: Add list flush to cancel_gc

Alexandra Winter (1):
net/iucv: fix use after free in iucv_sock_close()

Alexey Kodanev (1):
bna: adjust 'name' buf size of bna_tcb and bna_ccb structures

Amit Cohen (2):
mlxsw: spectrum_acl_bloom_filter: Make mlxsw_sp_acl_bf_key_encode() more flexible
selftests: forwarding: devlink_lib: Wait for udev events after reloading

Amit Daniel Kachhap (1):
arm64: cpufeature: Fix the visibility of compat hwcaps

Andi Kleen (1):
x86/mtrr: Check if fixed MTRRs exist before saving them

Andi Shyti (1):
drm/i915/gem: Fix Virtual Memory mapping boundaries calculation

Andreas Larsson (1):
sparc64: Fix incorrect function signature and add prototype for prom_cif_init

Andrei Lalaev (1):
Input: qt1050 - handle CHIP_ID reading error

Andrii Nakryiko (1):
libbpf: Fix no-args func prototype BTF dumping syntax

Andy Shevchenko (1):
driver core: Cast to (void *) with __force for __percpu pointer

Arnd Bergmann (4):
EDAC, i10nm: make skx_common.o a separate module
ARM: pxa: spitz: use gpio descriptors for audio
mtd: make mtd_test.c a separate module
kdb: address -Wformat-security warnings

Arseniy Krasnov (1):
irqchip/meson-gpio: Convert meson_gpio_irq_controller::lock to 'raw_spinlock_t'

Baochen Qiang (3):

      wifi: ath11k: fix wrong handling of CCMP256 and GCMP ciphers
      wifi: cfg80211: fix typo in cfg80211_calculate_bitrate_he()
      wifi: cfg80211: handle 2x996 RU allocation in cfg80211_calculate_bitrate_he()

Baokun Li (2):
ext4: check dot and dotdot of dx_root before making dir indexed
ext4: make sure the first directory block is not a hole

Bart Van Assche (1):
RDMA/iwcm: Fix a use-after-free related to destroying CM IDs

Bastien Curutchet (1):
clk: davinci: da8xx-cfgchip: Initialize clk_init_data before use

Benjamin Coddington (2):
SUNRPC: Fixup gss_status tracepoint error output
SUNRPC: Fix a race to wake a sync task

Besar Wicaksono (1):
arm64: Add Neoverse-V2 part

Breno Leitao (1):
net: netconsole: Disable target before netpoll cleanup

Cai Huoqing (1):
vdpa: Make use of PFN_PHYS/PFN_UP/PFN_DOWN helper macro

Carl Huang (1):
ath11k: dp: stop rx pktlog before suspend

Carlos Llamas (1):
binder: fix hang of unregistered readers

Chao Yu (3):
hfsplus: fix to avoid false alarm of circular locking
hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()
f2fs: fix to don't dirty inode for readonly filesystem

Chen Ni (3):
x86/xen: Convert comma to semicolon drm/qxl: Add check for drm_cvt_mode
ASoC: max98088: Check for clk_prepare_enable() error

Chen-Yu Tsai (1):
arm64: dts: mediatek: mt8183-kukui: Drop bogus output-enable property

Chengchang Tang (1):
RDMA/hns: Fix missing pagesize and alignment check in FRMR

Chengen Du (1):
af_packet: Handle outgoing VLAN packets without hardware offloading

Chris Wulff (1):
usb: gadget: core: Check for unset descriptor

Chuck Lever (2):
xprtrdma: Rename frwr_release_mr()
xprtrdma: Fix rpcrdma_reqs_reset()

Csókás Bence (1):
net: fec: Refactor: #define magic constants

Csókás, Bence (3):
net: fec: Fix FEC_ECR_EN1588 being cleared on link-down
rtc: interface: Add RTC offset to alarm after fix-up
net: fec: Stop PPS on driver remove

Damien Le Moal (1):
scsi: mpt3sas: Avoid IOMMU page faults on REPORT ZONES

Dan Carpenter (1):
mISDN: Fix a use after free in hfcmulti_tx()

Dan Williams (1):
driver core: Fix uevent_show() vs driver detach race

Daniel Schaefer (1):
media: uvcvideo: Override default flags

Daniele Palmas (1):
net: usb: qmi_wwan: fix memory leak for not ip packets

Danilo Krummrich (1):
drm/nouveau: prime: fix refcount underflow

David Hildenbrand (1):
fs/proc/task_mmu: indicate PM_FILE for PMD-mapped file THP

Dikshita Agarwal (2):
media: venus: flush all buffers in output plane streamoff
media: venus: fix use after free in vdec_close

Dmitry Antipov (1):
Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()

Dmitry Baryshkov (4):
arm64: dts: qcom: sdm845: add power-domain to UFS PHY
arm64: dts: qcom: msm8996: specify UFS core_clk frequencies
soc: qcom: pdr: protect locator_addr with the main mutex
soc: qcom: pdr: fix parsing of domains lists

Dmitry Torokhov (2):
ARM: spitz: fix GPIO assignment for backlight
Input: elan_i2c - do not leave interrupt disabled on suspend failure

Dmitry Yashin (1):
pinctrl: rockchip: update rk3308 iomux routes

Dominique Martinet (1):
MIPS: Octeron: remove source file executable bit

Dong Aisheng (1):
remoteproc: imx_rproc: Fix ignoring mapping vdev regions

Douglas Anderson (3):
drm/panel: boe-tv101wum-nl6: If prepare fails, disable GPIO before regulators drm/panel: boe-tv101wum-nl6: Check for errors on the NOP in prepare()
kdb: Use the passed prompt in kdb_position_cursor()

Dragan Simic (1):
drm/panfrost: Mark simple_ondemand governor as softdep

Eero Tamminen (1):
m68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages

En-Wei Wu (1):
wifi: virt_wifi: avoid reporting connection success with wrong SSID

Eric Dumazet (3):
sched: act_ct: take care of padding in struct zones_ht_key
net: linkwatch: use system_unbound_wq
wifi: cfg80211: restrict NL80211_ATTR_TXQ_QUANTUM values

Eric Sandeen (1):
fuse: verify {g,u}id mount options correctly

Esben Haabendal (1):
powerpc/configs: Update defconfig with now user-visible CONFIG_FSL_IFC

FUJITA Tomonori (1):
PCI: Add Edimax Vendor ID to pci_ids.h

Fedor Pchelkin (2):
apparmor: use kvfree_sensitive to free data->data
ubi: eba: properly rollback inside self_check_eba

Filipe Manana (1):
btrfs: fix bitmap leak when loading free space cache on duplicate entry

Florian Westphal (2):
netfilter: nft_set_pipapo_avx2: disable softinterrupts
netfilter: nf_tables: prefer nft_chain_validate

Fred Li (1):
bpf: Fix a segment issue when downgrading gso_size

Frederic Weisbecker (2):
task_work: s/task_work_cancel()/task_work_cancel_func()/
task_work: Introduce task_work_cancel() again

Gabriel Krisman Bertazi (2):
samples: Add fs error monitoring example
samples: Make fs-monitor depend on libc and headers

Gaosheng Cui (1):
gss_krb5: Fix the error handling path for crypto_sync_skcipher_setkey

Geliang Tang (4):
selftests/bpf: Fix prog numbers in test_sockmap selftests/bpf: Check length of recv in test_sockmap selftests/bpf: Close fd in error path in drop_on_reuseport
mptcp: export local_address

George Kennedy (1):
serial: core: check uartclk for zero to avoid divide by zero

Greg Kroah-Hartman (1):

      Linux 5.10.224

Gregory CLEMENT (1):
MIPS: SMP-CPS: Fix address for GCR_ACCESS register for CM3 and later

Guangguan Wang (1):
net/smc: set rmb's SG_MAX_SINGLE_ALLOC limitation only when CONFIG_ARCH_NO_SG_CHAIN is defined

Guenter Roeck (4):
hwmon: (max6697) Fix underflow when writing limit attributes
hwmon: (max6697) Fix swapped temp{1,8} critical alarms
i2c: smbus: Improve handling of stuck alerts
i2c: smbus: Send alert notifications to all devices if source not found

Hagar Hemdan (1):
net: esp: cleanup esp_output_tail_tcp() in case of unsupported ESPINTCP

Hans de Goede (3):
leds: trigger: Unregister sysfs attributes before calling deactivate()
power: supply: axp288_charger: Fix constant_charge_voltage writes
power: supply: axp288_charger: Round constant_charge_voltage writes down

Heiner Kallweit (1):
r8169: don't increment tx_dropped in case of NETDEV_TX_BUSY

Hilda Wu (1):
Bluetooth: btusb: Add RTL8852BE device 0489:e125 to device tables

Honggang LI (1):
RDMA/rxe: Don't set BTH_ACK_MASK for UC or UD QPs

Ian Forbes (1):
drm/vmwgfx: Fix overlay when using Screen Targets

Ido Schimmel (4):
lib: objagg: Fix general protection fault
mlxsw: spectrum_acl_erp: Fix object nesting warning
mlxsw: spectrum_acl: Fix ACL scale regression and firmware errors
ipv4: Fix incorrect source address in Record Route option

Ilpo Järvinen (7):
x86/of: Return consistent error type from x86_of_pci_irq_enable() x86/pci/intel_mid_pci: Fix PCIBIOS_* return code handling x86/pci/xen: Fix PCIBIOS_* return code handling x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos
PCI: Fix resource double counting on remove & rescan
leds: ss4200: Convert PCIBIOS_* return codes to errnos
hwrng: amd - Convert PCIBIOS_* return codes to errnos

Ilya Dryomov (3):
rbd: don't assume rbd_is_lock_owner() for exclusive mappings
rbd: rename RBD_LOCK_STATE_RELEASING and releasing_wait
rbd: don't assume RBD_LOCK_STATE_LOCKED for exclusive mappings

Ismael Luceno (1):
ipvs: Avoid unnecessary calls to skb_is_gso_sctp

Jack Wang (1):
bnxt_re: Fix imm_data endianness

James Chapman (1):
l2tp: fix lockdep splat

James Clark (1):
coresight: Fix ref leak when of_coresight_parse_endpoint() fails

James Morse (1):
arm64: cpufeature: Force HWCAP to be based on the sysreg visible to user-space

Jan Kara (4):
ext4: avoid writing unitialized memory to disk in EA inodes
ext2: Verify bitmap and itable block numbers before using them
udf: Avoid using corrupted block bitmap buffer
jbd2: make jbd2_journal_get_max_txn_bufs() internal

Jari Ruusu (1):
Fix gcc 4.9 build issue in 5.10.y

Jason Wang (1):
vhost-vdpa: switch to use vmf_insert_pfn() in the fault handler

Javier Carrasco (1):
mfd: omap-usb-tll: Use struct_size to allocate tll

Jay Buddhabhatti (1):
drivers: soc: xilinx: check return status of get_api_version()

Jens Axboe (1):
nvme: split command copy into a helper

Jeongjun Park (1):
jfs: Fix array-index-out-of-bounds in diFree

Jerome Brunet (1):
arm64: dts: amlogic: gx: correct hdmi clocks

Jiaxun Yang (3):
platform: mips: cpu_hwmon: Disable driver on unsupported hardware
MIPS: ip30: ip30-console: Add missing include
MIPS: Loongson64: env: Hook up Loongsson-2K

Joe Hattori (2):
char: tpm: Fix possible memory leak in tpm_bios_measurements_open()
net: dsa: bcm_sf2: Fix a possible memory leak in bcm_sf2_mdio_register()

Johannes Berg (4):
wifi: virt_wifi: don't use strlen() in const context
um: time-travel: fix time-travel-start option
net: bonding: correctly annotate RCU in bond_should_notify_peers()
wifi: nl80211: don't give key data to userspace

Jonas Karlman (1):
arm64: dts: rockchip: Increase VOP clk rate on RK3328

Joy Chakraborty (2):
rtc: cmos: Fix return value of nvmem callbacks
rtc: isl1208: Fix return value of nvmem callbacks

Justin Stitt (2):
ntp: Clamp maxerror and esterror to operating range
ntp: Safeguard against time_constant overflow

Kees Cook (1):
exec: Fix ToCToU between perm check and set-uid/gid usage

Kemeng Shi (2):
jbd2: avoid memleak in jbd2_journal_write_metadata_buffer
ext4: fix wrong unit use in ext4_mb_find_by_goal

Krzysztof Kozlowski (2):
dt-bindings: thermal: correct thermal zone node name limit
ASoC: codecs: wsa881x: Correct Soundwire ports mask

Kuniyuki Iwashima (1):
sctp: Fix null-ptr-deref in reuseport_add_sock().

Lance Richardson (1):
dma: fix call order in dmam_free_coherent

Laurent Pinchart (2):
media: renesas: vsp1: Fix _irqsave and _irq mix
media: renesas: vsp1: Store RPF partition configuration per RPF instance

Leon Romanovsky (4):
RDMA/mlx4: Fix truncated output warning in mad.c RDMA/mlx4: Fix truncated output warning in alias_GUID.c RDMA/device: Return error earlier if port in not valid
nvme-pci: add missing condition check for existence of mapped data

Li Nan (1):
md: do not delete safemode_timer in mddev_suspend

Linus Torvalds (1):
Add gitignore file for samples/fanotify/ subdirectory

Luca Ceresoli (1):
Revert "leds: led-core: Fix refcount leak in of_led_get()"

Lucas Stach (4):
drm/etnaviv: fix DMA direction handling for cached RW buffers irqchip/imx-irqsteer: Constify irq_chip struct irqchip/imx-irqsteer: Add runtime PM support
drm/bridge: analogix_dp: properly handle zero sized AUX transactions

Luis Henriques (SUSE) (1):
ext4: fix infinite loop when replaying fast_commit

Lukas Wunner (1):
PCI/DPC: Fix use-after-free on concurrent DPC and hot-removal

Ma Jun (2):
drm/amdgpu: Fix the null pointer dereference to ras_manager drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules

Ma Ke (4):
drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes
net: usb: sr9700: fix uninitialized variable use in sr_mdio_read drm/client: fix null pointer dereference in drm_client_modeset_probe

Maciej Żenczykowski (1):
ipv6: fix ndisc_is_useropt() handling for PIO

Mahesh Salgaonkar (1):
powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.

Manish Rangankar (1):
scsi: qla2xxx: During vport delete send async logout explicitly

Manivannan Sadhasivam (1):
PCI: rockchip: Use GPIOD_OUT_LOW flag while requesting ep_gpio

Marc Zyngier (2):
genirq: Allow the PM device to originate from irq domain
genirq: Allow irq_chip registration functions to take a const irq_chip

Marco Cavenati (1):
perf/x86/intel/pt: Fix topa_entry base length

Marco Felsch (1):
ARM: dts: imx6qdl-kontron-samx6i: move phy reset into phy-node

Marek Behún (2):
firmware: turris-mox-rwtm: Fix checking return value of wait_for_completion_timeout()
firmware: turris-mox-rwtm: Initialize completion before mailbox

Marek Marczykowski-Górecki (1):
USB: serial: debug: do not echo input by default

Mark Rutland (11):
arm64: cputype: Add Cortex-X4 definitions
arm64: cputype: Add Neoverse-V3 definitions
arm64: errata: Add workaround for Arm errata 3194386 and 3312417
arm64: cputype: Add Cortex-X3 definitions
arm64: cputype: Add Cortex-A720 definitions
arm64: cputype: Add Cortex-X925 definitions
arm64: errata: Unify speculative SSBS errata logic
arm64: errata: Expand speculative SSBS workaround
arm64: cputype: Add Cortex-X1C definitions
arm64: cputype: Add Cortex-A725 definitions
arm64: errata: Expand speculative SSBS workaround (again)

Martin Willi (2):
net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports
net: dsa: b53: Limit chip-wide jumbo frame config to CPU ports

Masami Hiramatsu (Google) (1):
kprobes: Fix to check symbol prefixes correctly

Matthieu Baerts (NGI0) (4):
mptcp: sched: check both directions for backup
mptcp: distinguish rcv vs sent backup flag in requests
mptcp: mib: count MPJ with backup flag
mptcp: pm: fix backup support in signal endpoints

Mavroudis Chatzilazaridis (1):
ALSA: hda/realtek: Add quirk for Acer Aspire E5-574G

Menglong Dong (1):
bpf: kprobe: remove unused declaring of bpf_kprobe_override

Michael Ellerman (2):
powerpc/xmon: Fix disassembly CPU feature checks selftests/sigaltstack: Fix ppc64 GCC build

Michael Tretter (1):
soc: xilinx: move PM_INIT_FINALIZE to zynqmp_pm_domains driver

Michael Walle (5):
ARM: dts: imx6qdl-kontron-samx6i: fix PHY reset
ARM: dts: imx6qdl-kontron-samx6i: fix board reset
ARM: dts: imx6qdl-kontron-samx6i: fix SPI0 chip selects
ARM: dts: imx6qdl-kontron-samx6i: fix PCIe reset polarity
ARM: dts: imx6qdl-kontron-samx6i: fix phy-mode

Michal Pecio (1):
media: uvcvideo: Fix the bandwdith quirk on USB 3.x

Miklos Szeredi (1):
fuse: name fs_context consistently

Namhyung Kim (1):
perf report: Fix condition in sort__sym_cmp()

Nathan Chancellor (1):
kbuild: Fix '-S -c' in x86 stack protector scripts

NeilBrown (1):
SUNRPC: avoid soft lockup when transmitting UDP to reachable server.

Nick Bowler (1):
macintosh/therm_windtunnel: fix module unload.

Nicolas Dichtel (1):
ipv6: take care of scope when choosing the src addr

Niklas Söderlund (1):
clocksource/drivers/sh_cmt: Address race condition for clock events

Nilesh Javali (1):
scsi: qla2xxx: validate nvme_local_port correctly

Oliver Neukum (1):
usb: vhci-hcd: Do not drop references before new references are gained

Pablo Neira Ayuso (5):
netfilter: nf_tables: rise cap on SELinux secmark context
netfilter: ctnetlink: use helper function to calculate expect ID
netfilter: nf_tables: set element extended ACK reporting support
netfilter: nf_tables: use timestamp to check for set element timeout
netfilter: nf_tables: allow clone callbacks to sleep

Paolo Abeni (2):
mptcp: fix duplicate data handling
mptcp: fix NL PM announced address accounting

Paolo Pisati (1):
m68k: amiga: Turn off Warp1260 interrupts during boot

Patryk Duda (1):
platform/chrome: cros_ec_proto: Lock device when updating MKBP version

Paul E. McKenney (1):
rcutorture: Fix rcu_torture_fwd_cb_cr() data race

Pavel Begunkov (2):
io_uring/io-wq: limit retrying worker initialisation
kernel: rerun task_work while freezing in get_signal()

Peng Fan (2):
pinctrl: freescale: mxs: Fix refcount of child
remoteproc: imx_rproc: ignore mapping vdev regions

Peter Oberparleiter (1):
s390/sclp: Prevent release of buffer in I/O

Peter Zijlstra (2):
x86/mm: Fix pti_clone_pgtable() alignment assumption x86/mm: Fix pti_clone_entry_text() for i386

Petr Machata (1):
net: nexthop: Initialize all fields in dumped nexthops

Pierre Gondois (1):
sched/fair: Use all little CPUs for CPU-bound workloads

Pierre-Louis Bossart (1):
ASoC: Intel: use soc_intel_is_byt_cr() only when IOSF_MBI is reachable

Prashanth K (1):
usb: gadget: u_serial: Set start_delayed during suspend

Qianggui Song (1):
irqchip/meson-gpio: support more than 8 channels gpio irq

Qiuxu Zhuo (1):
EDAC/skx_common: Add new ADXL components for 2-level memory

Quinn Tran (1):
scsi: qla2xxx: Fix flash read failure

Radhey Shyam Pandey (1):
irqchip/xilinx: Fix shift out of bounds

Rafael Beims (1):
wifi: mwifiex: Fix interface type change

Rafał Miłecki (1):
arm64: dts: mediatek: mt7622: fix "emmc" pinctrl mux

Ricardo Ribalda (3):
media: imon: Fix race getting ictx->lock
media: uvcvideo: Allow entity-defined get_info and get_cur
media: uvcvideo: Ignore empty TS packets

Roman Smirnov (1):
udf: prevent integer overflow in udf_bitmap_free_blocks()

Ross Lagerwall (1):
decompress_bunzip2: fix rare decompression failure

Ryusuke Konishi (2):
nilfs2: avoid undefined behavior in nilfs_cnt32_ge macro
nilfs2: handle inconsistent state in nilfs_btnode_create_block()

Samasth Norway Ananda (1):
wifi: brcmsmac: LCN PHY code is used for BCM4313 2G-only device

Saurav Kashyap (1):
scsi: qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds

Sean Christopherson (1):
KVM: VMX: Split out the non-virtualization part of vmx_interrupt_blocked()

Sean Young (1):
media: Revert "media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control()"

Seth Forshee (DigitalOcean) (1):
fs: don't allow non-init s_user_ns for filesystems without FS_USERNS_MOUNT

Shahar Shitrit (1):
net/mlx5e: Add a check for the return value from mlx5_port_set_eth_ptys

Shai Malin (1):
qed: Improve the stack space of filter_config()

Shay Drory (1):
genirq/irqdesc: Honor caller provided affinity in alloc_desc()

Sheng Yong (1):
f2fs: fix start segno of large section

Shenwei Wang (1):
irqchip/imx-irqsteer: Handle runtime power management correctly

Shigeru Yoshida (1):
tipc: Return non-zero value from tipc_udp_addr2str() on error

Shreyas Deodhar (3):
scsi: qla2xxx: Fix optrom version displayed in FDMI
scsi: qla2xxx: Fix for possible memory corruption
scsi: qla2xxx: Complete command early within lock

Simon Horman (1):
net: stmmac: Correct byte order of perfect_match

Sreekanth Reddy (1):
scsi: mpt3sas: Remove scsi_dma_map() error messages

Stefan Raspl (1):
net/smc: Allow SMC-D 1MB DMB allocations

Stefan Wahren (1):
spi: spi-fsl-lpspi: Fix scldiv calculation

Stephen Boyd (1):
soc: qcom: rpmh-rsc: Ensure irqs aren't disabled by rpmh_rsc_send_data() callers

Steven 'Steve' Kendall (1):
ALSA: hda: Add HP MP9 G4 Retail System AMS to force connect list

Sung Joon Kim (1):
drm/amd/display: Check for NULL pointer

Taehee Yoo (1):
xdp: fix invalid wait context of page_pool_destroy()

Takashi Iwai (4):
ALSA: usb-audio: Correct surround channels in UAC1 channel map
ALSA: usb-audio: Re-add ScratchAmp quirk entries
ALSA: line6: Fix racy access to midibuf
ALSA: hda/hdmi: Yet more pin fix for HP EliteDesk 800 G4

Tatsunosuke Tobita (1):
HID: wacom: Modify pen IDs

Tejun Heo (1):
sched/fair: set_load_weight() must also call reweight_task() for SCHED_IDLE tasks

Thomas Gleixner (2):
watchdog/perf: properly initialize the turbo mode timestamp and rearm counter tick/broadcast: Move per CPU pointer access into the atomic section

Thomas Weißschuh (3):
sysctl: always initialize i_uid/i_gid
ACPI: battery: create alarm sysfs attribute atomically
ACPI: SBS: manage alarm sysfs attribute through psy core

Thomas Zimmermann (1):
drm/mgag200: Set DDC timeout in milliseconds

Thorsten Blum (1):
m68k: cmpxchg: Fix return value for default case in __arch_xchg()

Tze-nan Wu (1):
tracing: Fix overflow in get_free_elt()

Tzung-Bi Shih (1):
platform/chrome: cros_ec_debugfs: fix wrong EC message version

Uwe Kleine-König (2):
pwm: stm32: Always do lazy disabling
pinctrl: ti: ti-iodelay: Drop if block with always false condition

Vamshi Gajjela (1):

      scsi: ufs: core: Fix hba->last_dme_cmd_tstamp timestamp updating logic

Waiman Long (1):
padata: Fix possible divide-by-0 panic in padata_mt_helper()

WangYuli (2):
Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x13d3:0x3591 nvme/pci: Add APST quirk for Lenovo N60z laptop

Wayne Tung (1):
hwmon: (adt7475) Fix default duty on fan is disabled

Wei Liu (1):
PCI: hv: Return zero, not garbage, when reading PCI_INTERRUPT_PIN

Xiao Liang (1):
apparmor: Fix null pointer deref when receiving skb during sock creation

Xin Long (1):
sctp: move hlist_node and hashent out of sctp_ep_common

Yang Yingliang (3):
pinctrl: core: fix possible memory leak when pinctrl_enable() fails
pinctrl: single: fix possible memory leak when pinctrl_enable() fails
pinctrl: ti: ti-iodelay: fix possible memory leak when pinctrl_enable() fails

Yipeng Zou (1):
irqchip/mbigen: Fix mbigen node address layout

Yonghong Song (1):
selftests/bpf: Fix send_signal test with nested CONFIG_PARAVIRT

Yu Kuai (1):
md/raid5: avoid BUG_ON() while continue reshape after reassembling

Yu Liao (1):
tick/broadcast: Make takeover of broadcast hrtimer reliable

Yunke Cao (1):
media: uvcvideo: Use entity get_cur in uvc_ctrl_set

Zhang Yi (2):
ext4: factor out a common helper to query extent map
ext4: check the extent status again before inserting delalloc block

Zhe Qiao (1):
riscv/mm: Add handling for VM_FAULT_SIGSEGV in mm_fault_error()

Zheng Yejian (1):
media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control()

Zheng Zucheng (1):
sched/cputime: Fix mul_u64_u64_div_u64() precision for cputime

Zijun Hu (3):
kobject_uevent: Fix OOB access within zap_modalias_env()
devres: Fix devm_krealloc() wasting memory
devres: Fix memory leakage caused by driver API devm_free_percpu()

ethanwu (1):
ceph: fix incorrect kmalloc size of pagevec mempool

tuhaowen (1):
dev/parport: fix the array out-of-bounds risk

author maintainer
#1 lore raw
Documentation/arm64/cpu-feature-registers.rst +37 -1
index 749ae970c319..8aaa5d13d3cc 100644
@@ -92,7 +92,7 @@ operation if the source belongs to the supported system register space.
 
 The infrastructure emulates only the following system register space::
 
-	Op0=3, Op1=0, CRn=0, CRm=0,4,5,6,7
+	Op0=3, Op1=0, CRn=0, CRm=0,2,3,4,5,6,7
 
 (See Table C5-6 'System instruction encodings for non-Debug System
 register accesses' in ARMv8 ARM DDI 0487A.h, for the list of
@@ -291,6 +291,42 @@ infrastructure:
      | RPRES                        | [7-4]   |    y    |
      +------------------------------+---------+---------+
 
+  10) MVFR0_EL1 - AArch32 Media and VFP Feature Register 0
+
+     +------------------------------+---------+---------+
+     | Name                         |  bits   | visible |
+     +------------------------------+---------+---------+
+     | FPDP                         | [11-8]  |    y    |
+     +------------------------------+---------+---------+
+
+  11) MVFR1_EL1 - AArch32 Media and VFP Feature Register 1
+
+     +------------------------------+---------+---------+
+     | Name                         |  bits   | visible |
+     +------------------------------+---------+---------+
+     | SIMDFMAC                     | [31-28] |    y    |
+     +------------------------------+---------+---------+
+     | SIMDSP                       | [19-16] |    y    |
+     +------------------------------+---------+---------+
+     | SIMDInt                      | [15-12] |    y    |
+     +------------------------------+---------+---------+
+     | SIMDLS                       | [11-8]  |    y    |
+     +------------------------------+---------+---------+
+
+  12) ID_ISAR5_EL1 - AArch32 Instruction Set Attribute Register 5
+
+     +------------------------------+---------+---------+
+     | Name                         |  bits   | visible |
+     +------------------------------+---------+---------+
+     | CRC32                        | [19-16] |    y    |
+     +------------------------------+---------+---------+
+     | SHA2                         | [15-12] |    y    |
+     +------------------------------+---------+---------+
+     | SHA1                         | [11-8]  |    y    |
+     +------------------------------+---------+---------+
+     | AES                          | [7-4]   |    y    |
+     +------------------------------+---------+---------+
+
 
 Appendix I: Example
 -------------------
Documentation/arm64/silicon-errata.rst +36 -0
index 10a26d44ef4a..14eef7e93614 100644
@@ -94,16 +94,52 @@ stable kernels.
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A76      | #1463225        | ARM64_ERRATUM_1463225       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A76      | #3324349        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A77      | #1508412        | ARM64_ERRATUM_1508412       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A77      | #3324348        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A78      | #3324344        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A78C     | #3324346,3324347| ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A510     | #2457168        | ARM64_ERRATUM_2457168       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A710     | #3324338        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A720     | #3456091        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A725     | #3456106        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-X1       | #3324344        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-X1C      | #3324346        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-X2       | #3324338        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-X3       | #3324335        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-X4       | #3194386        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-X925     | #3324334        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-N1     | #1188873,1418040| ARM64_ERRATUM_1418040       |
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-N1     | #1349291        | N/A                         |
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-N1     | #1542419        | ARM64_ERRATUM_1542419       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Neoverse-N1     | #3324349        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Neoverse-N2     | #3324339        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Neoverse-V1     | #3324341        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Neoverse-V2     | #3324336        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Neoverse-V3     | #3312417        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | MMU-500         | #841119,826419  | N/A                         |
 +----------------+-----------------+-----------------+-----------------------------+
 +----------------+-----------------+-----------------+-----------------------------+
Documentation/devicetree/bindings/thermal/thermal-zones.yaml +4 -1
index 1b3954aa71c1..af946e3da82a 100644
@@ -49,7 +49,10 @@ properties:
       to take when the temperature crosses those thresholds.
 
 patternProperties:
-  "^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$":
+  # Node name is limited in size due to Linux kernel requirements - 19
+  # characters in total (see THERMAL_NAME_LENGTH, including terminating NUL
+  # byte):
+  "^[a-zA-Z][a-zA-Z0-9\\-]{1,10}-thermal$":
     type: object
     description:
       Each thermal zone node contains information about how frequently it
Makefile +1 -1
index 91c79c64f5a3..38351794f6c9 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 10
-SUBLEVEL = 223
+SUBLEVEL = 224
 EXTRAVERSION =
 NAME = Dare mighty things
 
arch/arm/boot/dts/imx6q-kontron-samx6i.dtsi +0 -23
index 4d6a0c3e8455..ff062f4fd726 100644
@@ -5,31 +5,8 @@
 
 #include "imx6q.dtsi"
 #include "imx6qdl-kontron-samx6i.dtsi"
-#include <dt-bindings/gpio/gpio.h>
 
 / {
 	model = "Kontron SMARC sAMX6i Quad/Dual";
 	compatible = "kontron,imx6q-samx6i", "fsl,imx6q";
 };
-
-/* Quad/Dual SoMs have 3 chip-select signals */
-&ecspi4 {
-	cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>,
-		   <&gpio3 29 GPIO_ACTIVE_LOW>,
-		   <&gpio3 25 GPIO_ACTIVE_LOW>;
-};
-
-&pinctrl_ecspi4 {
-	fsl,pins = <
-		MX6QDL_PAD_EIM_D21__ECSPI4_SCLK 0x100b1
-		MX6QDL_PAD_EIM_D28__ECSPI4_MOSI 0x100b1
-		MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1
-
-		/* SPI4_IMX_CS2# - connected to internal flash */
-		MX6QDL_PAD_EIM_D24__GPIO3_IO24 0x1b0b0
-		/* SPI4_IMX_CS0# - connected to SMARC SPI0_CS0# */
-		MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x1b0b0
-		/* SPI4_CS3# - connected to  SMARC SPI0_CS1# */
-		MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x1b0b0
-	>;
-};
arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi +21 -5
index 37d94aa45a8b..2d1cc67628b4 100644
@@ -244,7 +244,8 @@ &ecspi4 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_ecspi4>;
 	cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>,
-		   <&gpio3 29 GPIO_ACTIVE_LOW>;
+		   <&gpio3 29 GPIO_ACTIVE_LOW>,
+		   <&gpio3 25 GPIO_ACTIVE_LOW>;
 	status = "okay";
 
 	/* default boot source: workaround #1 for errata ERR006282 */
@@ -259,8 +260,20 @@ smarc_flash: flash@0 {
 &fec {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_enet>;
-	phy-mode = "rgmii";
-	phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
+	phy-connection-type = "rgmii-id";
+	phy-handle = <&ethphy>;
+
+	mdio {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		ethphy: ethernet-phy@1 {
+			compatible = "ethernet-phy-ieee802.3-c22";
+			reg = <1>;
+			reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
+			reset-assert-us = <1000>;
+		};
+	};
 };
 
 &i2c_intern {
@@ -448,6 +461,8 @@ MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1
 			MX6QDL_PAD_EIM_D24__GPIO3_IO24 0x1b0b0
 			/* SPI_IMX_CS0# - connected to SMARC SPI0_CS0# */
 			MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x1b0b0
+			/* SPI4_CS3# - connected to SMARC SPI0_CS1# */
+			MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x1b0b0
 		>;
 	};
 
@@ -500,7 +515,7 @@ MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
 			MX6QDL_PAD_ENET_MDIO__ENET_MDIO       0x1b0b0
 			MX6QDL_PAD_ENET_MDC__ENET_MDC         0x1b0b0
 			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK  0x1b0b0
-			MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25    0x1b0b0 /* RST_GBE0_PHY# */
+			MX6QDL_PAD_NANDF_D1__GPIO2_IO01       0x1b0b0 /* RST_GBE0_PHY# */
 		>;
 	};
 
@@ -713,7 +728,7 @@ &pcie {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_pcie>;
 	wake-up-gpio = <&gpio6 18 GPIO_ACTIVE_HIGH>;
-	reset-gpio = <&gpio3 13 GPIO_ACTIVE_HIGH>;
+	reset-gpio = <&gpio3 13 GPIO_ACTIVE_LOW>;
 };
 
 /* LCD_BKLT_PWM */
@@ -801,5 +816,6 @@ &wdog1 {
 	/* CPLD is feeded by watchdog (hardwired) */
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_wdog1>;
+	fsl,ext-reset-output;
 	status = "okay";
 };
arch/arm/mach-pxa/include/mach/spitz.h deleted +0 -185

185 lines not on this page · raw message

arch/arm/mach-pxa/spitz.c +30 -9
index 264de0bc97d6..9bdc20706d18 100644
@@ -43,7 +43,7 @@
 #include <linux/platform_data/mmc-pxamci.h>
 #include <linux/platform_data/usb-ohci-pxa27x.h>
 #include <linux/platform_data/video-pxafb.h>
-#include <mach/spitz.h>
+#include "spitz.h"
 #include "sharpsl_pm.h"
 #include <mach/smemc.h>
 
@@ -516,10 +516,8 @@ static struct pxa2xx_spi_chip spitz_ads7846_chip = {
 static struct gpiod_lookup_table spitz_lcdcon_gpio_table = {
 	.dev_id = "spi2.1",
 	.table = {
-		GPIO_LOOKUP("gpio-pxa", SPITZ_GPIO_BACKLIGHT_CONT,
-			    "BL_CONT", GPIO_ACTIVE_LOW),
-		GPIO_LOOKUP("gpio-pxa", SPITZ_GPIO_BACKLIGHT_ON,
-			    "BL_ON", GPIO_ACTIVE_HIGH),
+		GPIO_LOOKUP("sharp-scoop.1", 6, "BL_CONT", GPIO_ACTIVE_LOW),
+		GPIO_LOOKUP("sharp-scoop.1", 7, "BL_ON", GPIO_ACTIVE_HIGH),
 		{ },
 	},
 };
@@ -527,10 +525,8 @@ static struct gpiod_lookup_table spitz_lcdcon_gpio_table = {
 static struct gpiod_lookup_table akita_lcdcon_gpio_table = {
 	.dev_id = "spi2.1",
 	.table = {
-		GPIO_LOOKUP("gpio-pxa", AKITA_GPIO_BACKLIGHT_CONT,
-			    "BL_CONT", GPIO_ACTIVE_LOW),
-		GPIO_LOOKUP("gpio-pxa", AKITA_GPIO_BACKLIGHT_ON,
-			    "BL_ON", GPIO_ACTIVE_HIGH),
+		GPIO_LOOKUP("i2c-max7310", 3, "BL_ON", GPIO_ACTIVE_HIGH),
+		GPIO_LOOKUP("i2c-max7310", 4, "BL_CONT", GPIO_ACTIVE_LOW),
 		{ },
 	},
 };
@@ -954,11 +950,36 @@ static void __init spitz_i2c_init(void)
 static inline void spitz_i2c_init(void) {}
 #endif
 
+static struct gpiod_lookup_table spitz_audio_gpio_table = {
+	.dev_id = "spitz-audio",
+	.table = {
+		GPIO_LOOKUP("sharp-scoop.0", 3, "mute-l", GPIO_ACTIVE_HIGH),
+		GPIO_LOOKUP("sharp-scoop.0", 4, "mute-r", GPIO_ACTIVE_HIGH),
+		GPIO_LOOKUP("sharp-scoop.1", 8, "mic", GPIO_ACTIVE_HIGH),
+		{ },
+	},
+};
+
+static struct gpiod_lookup_table akita_audio_gpio_table = {
+	.dev_id = "spitz-audio",
+	.table = {
+		GPIO_LOOKUP("sharp-scoop.0", 3, "mute-l", GPIO_ACTIVE_HIGH),
+		GPIO_LOOKUP("sharp-scoop.0", 4, "mute-r", GPIO_ACTIVE_HIGH),
+		GPIO_LOOKUP("i2c-max7310", 2, "mic", GPIO_ACTIVE_HIGH),
+		{ },
+	},
+};
+
 /******************************************************************************
  * Audio devices
  ******************************************************************************/
 static inline void spitz_audio_init(void)
 {
+	if (machine_is_akita())
+		gpiod_add_lookup_table(&akita_audio_gpio_table);
+	else
+		gpiod_add_lookup_table(&spitz_audio_gpio_table);
+
 	platform_device_register_simple("spitz-audio", -1, NULL, 0);
 }
 
arch/arm/mach-pxa/spitz.h new file +185 -0

185 lines not on this page · raw message

arch/arm/mach-pxa/spitz_pm.c +1 -1
index 25a1f8c5a738..6167f96d7b41 100644
@@ -20,7 +20,7 @@
 #include <asm/mach-types.h>
 #include <mach/hardware.h>
 
-#include <mach/spitz.h>
+#include "spitz.h"
 #include "pxa27x.h"
 #include "sharpsl_pm.h"
 
arch/arm64/Kconfig +38 -0
index 13cf137da999..9fdf8b036428 100644
@@ -691,6 +691,44 @@ config ARM64_ERRATUM_2457168
 
 	  If unsure, say Y.
 
+config ARM64_ERRATUM_3194386
+	bool "Cortex-*/Neoverse-*: workaround for MSR SSBS not self-synchronizing"
+	default y
+	help
+	  This option adds the workaround for the following errata:
+
+	  * ARM Cortex-A76 erratum 3324349
+	  * ARM Cortex-A77 erratum 3324348
+	  * ARM Cortex-A78 erratum 3324344
+	  * ARM Cortex-A78C erratum 3324346
+	  * ARM Cortex-A78C erratum 3324347
+	  * ARM Cortex-A710 erratam 3324338
+	  * ARM Cortex-A720 erratum 3456091
+	  * ARM Cortex-A725 erratum 3456106
+	  * ARM Cortex-X1 erratum 3324344
+	  * ARM Cortex-X1C erratum 3324346
+	  * ARM Cortex-X2 erratum 3324338
+	  * ARM Cortex-X3 erratum 3324335
+	  * ARM Cortex-X4 erratum 3194386
+	  * ARM Cortex-X925 erratum 3324334
+	  * ARM Neoverse-N1 erratum 3324349
+	  * ARM Neoverse N2 erratum 3324339
+	  * ARM Neoverse-V1 erratum 3324341
+	  * ARM Neoverse V2 erratum 3324336
+	  * ARM Neoverse-V3 erratum 3312417
+
+	  On affected cores "MSR SSBS, #0" instructions may not affect
+	  subsequent speculative instructions, which may permit unexepected
+	  speculative store bypassing.
+
+	  Work around this problem by placing a Speculation Barrier (SB) or
+	  Instruction Synchronization Barrier (ISB) after kernel changes to
+	  SSBS. The presence of the SSBS special-purpose register is hidden
+	  from hwcaps and EL0 reads of ID_AA64PFR1_EL1, such that userspace
+	  will use the PR_SPEC_STORE_BYPASS prctl to change SSBS.
+
+	  If unsure, say Y.
+
 config CAVIUM_ERRATUM_22375
 	bool "Cavium erratum 22375, 24313"
 	default y
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +2 -2
index 7c029f552a23..256c46771db7 100644
@@ -311,8 +311,8 @@ &hdmi_tx {
 		 <&reset RESET_HDMI_SYSTEM_RESET>,
 		 <&reset RESET_HDMI_TX>;
 	reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
-	clocks = <&clkc CLKID_HDMI_PCLK>,
-		 <&clkc CLKID_CLK81>,
+	clocks = <&clkc CLKID_HDMI>,
+		 <&clkc CLKID_HDMI_PCLK>,
 		 <&clkc CLKID_GCLK_VENCI_INT0>;
 	clock-names = "isfr", "iahb", "venci";
 };
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +2 -2
index 350022935052..a689bd14ece9 100644
@@ -323,8 +323,8 @@ &hdmi_tx {
 		 <&reset RESET_HDMI_SYSTEM_RESET>,
 		 <&reset RESET_HDMI_TX>;
 	reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
-	clocks = <&clkc CLKID_HDMI_PCLK>,
-		 <&clkc CLKID_CLK81>,
+	clocks = <&clkc CLKID_HDMI>,
+		 <&clkc CLKID_HDMI_PCLK>,
 		 <&clkc CLKID_GCLK_VENCI_INT0>;
 	clock-names = "isfr", "iahb", "venci";
 };
arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts +2 -2
index 778174a7d649..46e412b436ed 100644
@@ -285,8 +285,8 @@ asm_sel {
 	/* eMMC is shared pin with parallel NAND */
 	emmc_pins_default: emmc-pins-default {
 		mux {
-			function = "emmc", "emmc_rst";
-			groups = "emmc";
+			function = "emmc";
+			groups = "emmc", "emmc_rst";
 		};
 
 		/* "NDL0","NDL1","NDL2","NDL3","NDL4","NDL5","NDL6","NDL7",
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts +2 -2
index 810575de6670..5dd993496a5c 100644
@@ -249,8 +249,8 @@ &pio {
 	/* eMMC is shared pin with parallel NAND */
 	emmc_pins_default: emmc-pins-default {
 		mux {
-			function = "emmc", "emmc_rst";
-			groups = "emmc";
+			function = "emmc";
+			groups = "emmc", "emmc_rst";
 		};
 
 		/* "NDL0","NDL1","NDL2","NDL3","NDL4","NDL5","NDL6","NDL7",
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +0 -2
index a4f860bb4a84..ad8b11267c7d 100644
@@ -628,7 +628,6 @@ pins_tx {
 		};
 		pins_rts {
 			pinmux = <PINMUX_GPIO47__FUNC_URTS1>;
-			output-enable;
 		};
 		pins_cts {
 			pinmux = <PINMUX_GPIO46__FUNC_UCTS1>;
@@ -647,7 +646,6 @@ pins_tx {
 		};
 		pins_rts {
 			pinmux = <PINMUX_GPIO47__FUNC_URTS1>;
-			output-enable;
 		};
 		pins_cts {
 			pinmux = <PINMUX_GPIO46__FUNC_UCTS1>;
arch/arm64/boot/dts/qcom/msm8996.dtsi +1 -1
index e990e727cc0f..118fd1e47d5c 100644
@@ -927,7 +927,7 @@ ufshc: ufshc@624000 {
 				<&gcc GCC_UFS_RX_SYMBOL_0_CLK>;
 			freq-table-hz =
 				<100000000 200000000>,
-				<0 0>,
+				<100000000 200000000>,
 				<0 0>,
 				<0 0>,
 				<0 0>,
arch/arm64/boot/dts/qcom/sdm845.dtsi +2 -0
index b00f6d8bc8ba..da48ae60155a 100644
@@ -2125,6 +2125,8 @@ ufs_mem_phy: phy@1d87000 {
 			clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
 				 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
 
+			power-domains = <&gcc UFS_PHY_GDSC>;
+
 			resets = <&ufs_mem_hc 0>;
 			reset-names = "ufsphy";
 			status = "disabled";
arch/arm64/boot/dts/rockchip/rk3328.dtsi +2 -2
index 10df6636a6b6..3c6398e98f76 100644
@@ -811,8 +811,8 @@ cru: clock-controller@ff440000 {
 			<0>, <24000000>,
 			<24000000>, <24000000>,
 			<15000000>, <15000000>,
-			<100000000>, <100000000>,
-			<100000000>, <100000000>,
+			<300000000>, <100000000>,
+			<400000000>, <100000000>,
 			<50000000>, <100000000>,
 			<100000000>, <100000000>,
 			<50000000>, <50000000>,
arch/arm64/include/asm/cpucaps.h +2 -1
index d2080a41f6e6..931c88182fb8 100644
@@ -69,7 +69,8 @@
 #define ARM64_SPECTRE_BHB			59
 #define ARM64_WORKAROUND_2457168		60
 #define ARM64_WORKAROUND_1742098		61
+#define ARM64_WORKAROUND_SPECULATIVE_SSBS	62
 
-#define ARM64_NCAPS				62
+#define ARM64_NCAPS				63
 
 #endif /* __ASM_CPUCAPS_H */
arch/arm64/include/asm/cputype.h +16 -0
index c2a1ccd5fd46..91890e9fcb6c 100644
@@ -84,6 +84,14 @@
 #define ARM_CPU_PART_CORTEX_X2		0xD48
 #define ARM_CPU_PART_NEOVERSE_N2	0xD49
 #define ARM_CPU_PART_CORTEX_A78C	0xD4B
+#define ARM_CPU_PART_CORTEX_X1C		0xD4C
+#define ARM_CPU_PART_CORTEX_X3		0xD4E
+#define ARM_CPU_PART_NEOVERSE_V2	0xD4F
+#define ARM_CPU_PART_CORTEX_A720	0xD81
+#define ARM_CPU_PART_CORTEX_X4		0xD82
+#define ARM_CPU_PART_NEOVERSE_V3	0xD84
+#define ARM_CPU_PART_CORTEX_X925	0xD85
+#define ARM_CPU_PART_CORTEX_A725	0xD87
 
 #define APM_CPU_PART_POTENZA		0x000
 
@@ -136,6 +144,14 @@
 #define MIDR_CORTEX_X2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X2)
 #define MIDR_NEOVERSE_N2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N2)
 #define MIDR_CORTEX_A78C	MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A78C)
+#define MIDR_CORTEX_X1C	MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X1C)
+#define MIDR_CORTEX_X3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X3)
+#define MIDR_NEOVERSE_V2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V2)
+#define MIDR_CORTEX_A720 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A720)
+#define MIDR_CORTEX_X4 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X4)
+#define MIDR_NEOVERSE_V3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V3)
+#define MIDR_CORTEX_X925 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X925)
+#define MIDR_CORTEX_A725 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A725)
 #define MIDR_THUNDERX	MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX)
 #define MIDR_THUNDERX_81XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_81XX)
 #define MIDR_THUNDERX_83XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_83XX)
arch/arm64/kernel/cpu_errata.c +31 -0
index 5d6f19bc628c..6e63dc8f0e8c 100644
@@ -364,6 +364,30 @@ static struct midr_range broken_aarch32_aes[] = {
 };
 #endif
 
+#ifdef CONFIG_ARM64_ERRATUM_3194386
+static const struct midr_range erratum_spec_ssbs_list[] = {
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_A76),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_A77),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_A78),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_A78C),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_A710),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_A720),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_A725),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_X1),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_X1C),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_X2),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_X3),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_X4),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_X925),
+	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N1),
+	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N2),
+	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V1),
+	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V2),
+	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V3),
+	{}
+};
+#endif
+
 const struct arm64_cpu_capabilities arm64_errata[] = {
 #ifdef CONFIG_ARM64_WORKAROUND_CLEAN_CACHE
 	{
@@ -570,6 +594,13 @@ const struct arm64_cpu_capabilities arm64_errata[] = {
 		CAP_MIDR_RANGE_LIST(broken_aarch32_aes),
 		.type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM,
 	},
+#endif
+#ifdef CONFIG_ARM64_ERRATUM_3194386
+	{
+		.desc = "SSBS not fully self-synchronizing",
+		.capability = ARM64_WORKAROUND_SPECULATIVE_SSBS,
+		ERRATA_MIDR_RANGE_LIST(erratum_spec_ssbs_list),
+	},
 #endif
 	{
 	}
arch/arm64/kernel/cpufeature.c +74 -16

158 lines not on this page · raw message

arch/arm64/kernel/proton-pack.c +12 -0
index 9c0e9d9eed6e..90337910c3f5 100644
@@ -574,6 +574,18 @@ static enum mitigation_state spectre_v4_enable_hw_mitigation(void)
 
 	/* SCTLR_EL1.DSSBS was initialised to 0 during boot */
 	asm volatile(SET_PSTATE_SSBS(0));
+
+	/*
+	 * SSBS is self-synchronizing and is intended to affect subsequent
+	 * speculative instructions, but some CPUs can speculate with a stale
+	 * value of SSBS.
+	 *
+	 * Mitigate this with an unconditional speculation barrier, as CPUs
+	 * could mis-speculate branches and bypass a conditional barrier.
+	 */
+	if (IS_ENABLED(CONFIG_ARM64_ERRATUM_3194386))
+		spec_bar();
+
 	return SPECTRE_MITIGATED;
 }
 
arch/m68k/amiga/config.c +9 -0
index bee9f240f35d..c92c1e559da0 100644
@@ -179,6 +179,15 @@ int __init amiga_parse_bootinfo(const struct bi_record *record)
 			dev->slotsize = be16_to_cpu(cd->cd_SlotSize);
 			dev->boardaddr = be32_to_cpu(cd->cd_BoardAddr);
 			dev->boardsize = be32_to_cpu(cd->cd_BoardSize);
+
+			/* CS-LAB Warp 1260 workaround */
+			if (be16_to_cpu(dev->rom.er_Manufacturer) == ZORRO_MANUF(ZORRO_PROD_CSLAB_WARP_1260) &&
+			    dev->rom.er_Product == ZORRO_PROD(ZORRO_PROD_CSLAB_WARP_1260)) {
+
+				/* turn off all interrupts */
+				pr_info("Warp 1260 card detected: applying interrupt storm workaround\n");
+				*(uint32_t *)(dev->boardaddr + 0x1000) = 0xfff;
+			}
 		} else
 			pr_warn("amiga_parse_bootinfo: too many AutoConfig devices\n");
 #endif /* CONFIG_ZORRO */
arch/m68k/atari/ataints.c +1 -5
index 56f02ea2c248..715d1e0d973e 100644
@@ -302,11 +302,7 @@ void __init atari_init_IRQ(void)
 
 	if (ATARIHW_PRESENT(SCU)) {
 		/* init the SCU if present */
-		tt_scu.sys_mask = 0x10;		/* enable VBL (for the cursor) and
-									 * disable HSYNC interrupts (who
-									 * needs them?)  MFP and SCC are
-									 * enabled in VME mask
-									 */
+		tt_scu.sys_mask = 0x0;		/* disable all interrupts */
 		tt_scu.vme_mask = 0x60;		/* enable MFP and SCC ints */
 	} else {
 		/* If no SCU and no Hades, the HSYNC interrupt needs to be
arch/m68k/include/asm/cmpxchg.h +1 -1
index 3a3bdcfcd375..2035b30d7951 100644
@@ -33,7 +33,7 @@ static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz
 		x = tmp;
 		break;
 	default:
-		tmp = __invalid_xchg_size(x, ptr, size);
+		x = __invalid_xchg_size(x, ptr, size);
 		break;
 	}
 
arch/mips/include/asm/mach-loongson64/boot_param.h +2 -0
index afc92b7a61c6..deafd177f095 100644
@@ -38,12 +38,14 @@ enum loongson_cpu_type {
 	Legacy_1B = 0x5,
 	Legacy_2G = 0x6,
 	Legacy_2H = 0x7,
+	Legacy_2K = 0x8,
 	Loongson_1A = 0x100,
 	Loongson_1B = 0x101,
 	Loongson_2E = 0x200,
 	Loongson_2F = 0x201,
 	Loongson_2G = 0x202,
 	Loongson_2H = 0x203,
+	Loongson_2K = 0x204,
 	Loongson_3A = 0x300,
 	Loongson_3B = 0x301
 };
arch/mips/include/asm/mips-cm.h +4 -0
index 23c67c0871b1..696b40beb774 100644
@@ -228,6 +228,10 @@ GCR_ACCESSOR_RO(32, 0x0d0, gic_status)
 GCR_ACCESSOR_RO(32, 0x0f0, cpc_status)
 #define CM_GCR_CPC_STATUS_EX			BIT(0)
 
+/* GCR_ACCESS - Controls core/IOCU access to GCRs */
+GCR_ACCESSOR_RW(32, 0x120, access_cm3)
+#define CM_GCR_ACCESS_ACCESSEN			GENMASK(7, 0)
+
 /* GCR_L2_CONFIG - Indicates L2 cache configuration when Config5.L2C=1 */
 GCR_ACCESSOR_RW(32, 0x130, l2_config)
 #define CM_GCR_L2_CONFIG_BYPASS			BIT(20)
arch/mips/kernel/smp-cps.c +4 -1
index f659adb681bc..02ae0b29e688 100644
@@ -229,7 +229,10 @@ static void boot_core(unsigned int core, unsigned int vpe_id)
 	write_gcr_co_reset_ext_base(CM_GCR_Cx_RESET_EXT_BASE_UEB);
 
 	/* Ensure the core can access the GCRs */
-	set_gcr_access(1 << core);
+	if (mips_cm_revision() < CM_REV_CM3)
+		set_gcr_access(1 << core);
+	else
+		set_gcr_access_cm3(1 << core);
 
 	if (mips_cpc_present()) {
 		/* Reset the core */
arch/mips/loongson64/env.c +8 -0
index 134cb8e9efc2..c9db6c496138 100644
@@ -65,6 +65,12 @@ void __init prom_init_env(void)
 	cpu_clock_freq = ecpu->cpu_clock_freq;
 	loongson_sysconf.cputype = ecpu->cputype;
 	switch (ecpu->cputype) {
+	case Legacy_2K:
+	case Loongson_2K:
+		smp_group[0] = 0x900000001fe11000;
+		loongson_sysconf.cores_per_node = 2;
+		loongson_sysconf.cores_per_package = 2;
+		break;
 	case Legacy_3A:
 	case Loongson_3A:
 		loongson_sysconf.cores_per_node = 4;
@@ -213,6 +219,8 @@ void __init prom_init_env(void)
 		default:
 			break;
 		}
+	} else if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) {
+		loongson_fdt_blob = __dtb_loongson64_2core_2k1000_begin;
 	} else if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G) {
 		if (loongson_sysconf.bridgetype == LS7A)
 			loongson_fdt_blob = __dtb_loongson64g_4core_ls7a_begin;
arch/mips/pci/pcie-octeon.c +0 -0
old mode 100755
new mode 100644
arch/mips/sgi-ip30/ip30-console.c +1 -0
index b91f8c4fdc78..a087b7ebe129 100644
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0
 
 #include <linux/io.h>
+#include <linux/processor.h>
 
 #include <asm/sn/ioc3.h>
 
arch/powerpc/configs/85xx-hw.config +2 -0
index 524db76f47b7..8aff83217397 100644
@@ -24,6 +24,7 @@ CONFIG_FS_ENET=y
 CONFIG_FSL_CORENET_CF=y
 CONFIG_FSL_DMA=y
 CONFIG_FSL_HV_MANAGER=y
+CONFIG_FSL_IFC=y
 CONFIG_FSL_PQ_MDIO=y
 CONFIG_FSL_RIO=y
 CONFIG_FSL_XGMAC_MDIO=y
@@ -58,6 +59,7 @@ CONFIG_INPUT_FF_MEMLESS=m
 CONFIG_MARVELL_PHY=y
 CONFIG_MDIO_BUS_MUX_GPIO=y
 CONFIG_MDIO_BUS_MUX_MMIOREG=y
+CONFIG_MEMORY=y
 CONFIG_MMC_SDHCI_OF_ESDHC=y
 CONFIG_MMC_SDHCI_PLTFM=y
 CONFIG_MMC_SDHCI=y
arch/powerpc/include/asm/percpu.h +10 -0
index 8e5b7d0b851c..634970ce13c6 100644
@@ -15,6 +15,16 @@
 #endif /* CONFIG_SMP */
 #endif /* __powerpc64__ */
 
+#if defined(CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK) && defined(CONFIG_SMP)
+#include <linux/jump_label.h>
+DECLARE_STATIC_KEY_FALSE(__percpu_first_chunk_is_paged);
+
+#define percpu_first_chunk_is_paged	\
+		(static_key_enabled(&__percpu_first_chunk_is_paged.key))
+#else
+#define percpu_first_chunk_is_paged	false
+#endif /* CONFIG_PPC64 && CONFIG_SMP */
+
 #include <asm-generic/percpu.h>
 
 #include <asm/paca.h>
arch/powerpc/kernel/mce.c +11 -3
index 63702c0badb9..259343040e1b 100644
@@ -594,8 +594,15 @@ long notrace machine_check_early(struct pt_regs *regs)
 	u8 ftrace_enabled = this_cpu_get_ftrace_enabled();
 
 	this_cpu_set_ftrace_enabled(0);
-	/* Do not use nmi_enter/exit for pseries hpte guest */
-	if (radix_enabled() || !firmware_has_feature(FW_FEATURE_LPAR))
+	/*
+	 * Do not use nmi_enter/exit for pseries hpte guest
+	 *
+	 * Likewise, do not use it in real mode if percpu first chunk is not
+	 * embedded. With CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK enabled there
+	 * are chances where percpu allocation can come from vmalloc area.
+	 */
+	if ((radix_enabled() || !firmware_has_feature(FW_FEATURE_LPAR)) &&
+	    !percpu_first_chunk_is_paged)
 		nmi_enter();
 
 	hv_nmi_check_nonrecoverable(regs);
@@ -606,7 +613,8 @@ long notrace machine_check_early(struct pt_regs *regs)
 	if (ppc_md.machine_check_early)
 		handled = ppc_md.machine_check_early(regs);
 
-	if (radix_enabled() || !firmware_has_feature(FW_FEATURE_LPAR))
+	if ((radix_enabled() || !firmware_has_feature(FW_FEATURE_LPAR)) &&
+	    !percpu_first_chunk_is_paged)
 		nmi_exit();
 
 	this_cpu_set_ftrace_enabled(ftrace_enabled);
arch/powerpc/kernel/setup_64.c +2 -0
index 3f8426bccd16..899d87de0165 100644
@@ -824,6 +824,7 @@ static int pcpu_cpu_distance(unsigned int from, unsigned int to)
 
 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly;
 EXPORT_SYMBOL(__per_cpu_offset);
+DEFINE_STATIC_KEY_FALSE(__percpu_first_chunk_is_paged);
 
 static void __init pcpu_populate_pte(unsigned long addr)
 {
@@ -903,6 +904,7 @@ void __init setup_per_cpu_areas(void)
 	if (rc < 0)
 		panic("cannot initialize percpu area (err=%d)", rc);
 
+	static_key_enable(&__percpu_first_chunk_is_paged.key);
 	delta = (unsigned long)pcpu_base_addr - (unsigned long)__per_cpu_start;
 	for_each_possible_cpu(cpu) {
                 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu];
arch/powerpc/kernel/traps.c +7 -1
index b0e87dce2b9a..b4d108bef814 100644
@@ -835,8 +835,14 @@ void machine_check_exception(struct pt_regs *regs)
 	 * This is silly. The BOOK3S_64 should just call a different function
 	 * rather than expecting semantics to magically change. Something
 	 * like 'non_nmi_machine_check_exception()', perhaps?
+	 *
+	 * Do not use nmi_enter/exit in real mode if percpu first chunk is
+	 * not embedded. With CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK enabled
+	 * there are chances where percpu allocation can come from
+	 * vmalloc area.
 	 */
-	const bool nmi = !IS_ENABLED(CONFIG_PPC_BOOK3S_64);
+	const bool nmi = !IS_ENABLED(CONFIG_PPC_BOOK3S_64) &&
+			 !percpu_first_chunk_is_paged;
 
 	if (nmi) nmi_enter();
 
arch/powerpc/kvm/powerpc.c +3 -1
index ef8077a739b8..0f5ebec660a7 100644
@@ -1956,8 +1956,10 @@ static int kvm_vcpu_ioctl_enable_cap(struct kvm_vcpu *vcpu,
 			break;
 
 		r = -ENXIO;
-		if (!xive_enabled())
+		if (!xive_enabled()) {
+			fdput(f);
 			break;
+		}
 
 		r = -EPERM;
 		dev = kvm_device_from_filp(f.file);
arch/powerpc/xmon/ppc-dis.c +11 -22
index 75fa98221d48..af105e1bc3fc 100644
@@ -122,32 +122,21 @@ int print_insn_powerpc (unsigned long insn, unsigned long memaddr)
   bool insn_is_short;
   ppc_cpu_t dialect;
 
-  dialect = PPC_OPCODE_PPC | PPC_OPCODE_COMMON
-            | PPC_OPCODE_64 | PPC_OPCODE_POWER4 | PPC_OPCODE_ALTIVEC;
+  dialect = PPC_OPCODE_PPC | PPC_OPCODE_COMMON;
 
-  if (cpu_has_feature(CPU_FTRS_POWER5))
-    dialect |= PPC_OPCODE_POWER5;
+  if (IS_ENABLED(CONFIG_PPC64))
+    dialect |= PPC_OPCODE_64 | PPC_OPCODE_POWER4 | PPC_OPCODE_CELL |
+	PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6 | PPC_OPCODE_POWER7 | PPC_OPCODE_POWER8 |
+	PPC_OPCODE_POWER9;
 
-  if (cpu_has_feature(CPU_FTRS_CELL))
-    dialect |= (PPC_OPCODE_CELL | PPC_OPCODE_ALTIVEC);
+  if (cpu_has_feature(CPU_FTR_TM))
+    dialect |= PPC_OPCODE_HTM;
 
-  if (cpu_has_feature(CPU_FTRS_POWER6))
-    dialect |= (PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6 | PPC_OPCODE_ALTIVEC);
+  if (cpu_has_feature(CPU_FTR_ALTIVEC))
+    dialect |= PPC_OPCODE_ALTIVEC | PPC_OPCODE_ALTIVEC2;
 
-  if (cpu_has_feature(CPU_FTRS_POWER7))
-    dialect |= (PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6 | PPC_OPCODE_POWER7
-                | PPC_OPCODE_ALTIVEC | PPC_OPCODE_VSX);
-
-  if (cpu_has_feature(CPU_FTRS_POWER8))
-    dialect |= (PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6 | PPC_OPCODE_POWER7
-		| PPC_OPCODE_POWER8 | PPC_OPCODE_HTM
-		| PPC_OPCODE_ALTIVEC | PPC_OPCODE_ALTIVEC2 | PPC_OPCODE_VSX);
-
-  if (cpu_has_feature(CPU_FTRS_POWER9))
-    dialect |= (PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6 | PPC_OPCODE_POWER7
-		| PPC_OPCODE_POWER8 | PPC_OPCODE_POWER9 | PPC_OPCODE_HTM
-		| PPC_OPCODE_ALTIVEC | PPC_OPCODE_ALTIVEC2
-		| PPC_OPCODE_VSX | PPC_OPCODE_VSX3);
+  if (cpu_has_feature(CPU_FTR_VSX))
+    dialect |= PPC_OPCODE_VSX | PPC_OPCODE_VSX3;
 
   /* Get the major opcode of the insn.  */
   opcode = NULL;
arch/riscv/mm/fault.c +9 -8
index 54b12943cc7b..9bed32089197 100644
@@ -39,26 +39,27 @@ static inline void no_context(struct pt_regs *regs, unsigned long addr)
 
 static inline void mm_fault_error(struct pt_regs *regs, unsigned long addr, vm_fault_t fault)
 {
+	if (!user_mode(regs)) {
+		no_context(regs, addr);
+		return;
+	}
+
 	if (fault & VM_FAULT_OOM) {
 		/*
 		 * We ran out of memory, call the OOM killer, and return the userspace
 		 * (which will retry the fault, or kill us if we got oom-killed).
 		 */
-		if (!user_mode(regs)) {
-			no_context(regs, addr);
-			return;
-		}
 		pagefault_out_of_memory();
 		return;
 	} else if (fault & VM_FAULT_SIGBUS) {
 		/* Kernel mode? Handle exceptions or die */
-		if (!user_mode(regs)) {
-			no_context(regs, addr);
-			return;
-		}
 		do_trap(regs, SIGBUS, BUS_ADRERR, addr);
 		return;
+	} else if (fault & VM_FAULT_SIGSEGV) {
+		do_trap(regs, SIGSEGV, SEGV_MAPERR, addr);
+		return;
 	}
+
 	BUG();
 }
 
arch/sparc/include/asm/oplib_64.h +1 -0
index a67abebd4359..1b86d02a8455 100644
@@ -247,6 +247,7 @@ void prom_sun4v_guest_soft_state(void);
 int prom_ihandle2path(int handle, char *buffer, int bufsize);
 
 /* Client interface level routines. */
+void prom_cif_init(void *cif_handler);
 void p1275_cmd_direct(unsigned long *);
 
 #endif /* !(__SPARC64_OPLIB_H) */
arch/sparc/prom/init_64.c +0 -3
index 103aa9104318..f7b8a1a865b8 100644
@@ -26,9 +26,6 @@ phandle prom_chosen_node;
  * routines in the prom library.
  * It gets passed the pointer to the PROM vector.
  */
-
-extern void prom_cif_init(void *);
-
 void __init prom_init(void *cif_handler)
 {
 	phandle node;
arch/sparc/prom/p1275.c +1 -1
index 889aa602f8d8..51c3f984bbf7 100644
@@ -49,7 +49,7 @@ void p1275_cmd_direct(unsigned long *args)
 	local_irq_restore(flags);
 }
 
-void prom_cif_init(void *cif_handler, void *cif_stack)
+void prom_cif_init(void *cif_handler)
 {
 	p1275buf.prom_cif_handler = (void (*)(long *))cif_handler;
 }
arch/um/kernel/time.c +2 -2
index 8dafc3f2add4..9a0fcafafd00 100644
@@ -756,9 +756,9 @@ int setup_time_travel_start(char *str)
 	return 1;
 }
 
-__setup("time-travel-start", setup_time_travel_start);
+__setup("time-travel-start=", setup_time_travel_start);
 __uml_help(setup_time_travel_start,
-"time-travel-start=<seconds>\n"
+"time-travel-start=<nanoseconds>\n"
 "Configure the UML instance's wall clock to start at this value rather than\n"
 "the host's wall clock at the time of UML boot.\n");
 #endif
arch/x86/events/intel/pt.c +2 -2
index 5667b8b994e3..da7e8c2b5347 100644
@@ -861,7 +861,7 @@ static void pt_update_head(struct pt *pt)
  */
 static void *pt_buffer_region(struct pt_buffer *buf)
 {
-	return phys_to_virt(TOPA_ENTRY(buf->cur, buf->cur_idx)->base << TOPA_SHIFT);
+	return phys_to_virt((phys_addr_t)TOPA_ENTRY(buf->cur, buf->cur_idx)->base << TOPA_SHIFT);
 }
 
 /**
@@ -973,7 +973,7 @@ pt_topa_entry_for_page(struct pt_buffer *buf, unsigned int pg)
 	 * order allocations, there shouldn't be many of these.
 	 */
 	list_for_each_entry(topa, &buf->tables, list) {
-		if (topa->offset + topa->size > pg << PAGE_SHIFT)
+		if (topa->offset + topa->size > (unsigned long)pg << PAGE_SHIFT)
 			goto found;
 	}
 
arch/x86/events/intel/pt.h +2 -2
index 96906a62aacd..f5e46c04c145 100644
@@ -33,8 +33,8 @@ struct topa_entry {
 	u64	rsvd2	: 1;
 	u64	size	: 4;
 	u64	rsvd3	: 2;
-	u64	base	: 36;
-	u64	rsvd4	: 16;
+	u64	base	: 40;
+	u64	rsvd4	: 12;
 };
 
 /* TSC to Core Crystal Clock Ratio */
arch/x86/kernel/cpu/mtrr/mtrr.c +1 -1
index 5f436cb4f7c4..9d5313118660 100644
@@ -817,7 +817,7 @@ void mtrr_save_state(void)
 {
 	int first_cpu;
 
-	if (!mtrr_enabled())
+	if (!mtrr_enabled() || !mtrr_state.have_fixed)
 		return;
 
 	first_cpu = cpumask_first(cpu_online_mask);
arch/x86/kernel/devicetree.c +1 -1
index ddffd80f5c52..2d654fdf001d 100644
@@ -92,7 +92,7 @@ static int x86_of_pci_irq_enable(struct pci_dev *dev)
 
 	ret = pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin);
 	if (ret)
-		return ret;
+		return pcibios_err_to_errno(ret);
 	if (!pin)
 		return 0;
 
arch/x86/kvm/vmx/vmx.c +8 -3
index 3e9bb9ae836d..b29be51b72b4 100644
@@ -4738,14 +4738,19 @@ static int vmx_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection)
 	return !vmx_nmi_blocked(vcpu);
 }
 
+bool __vmx_interrupt_blocked(struct kvm_vcpu *vcpu)
+{
+	return !(vmx_get_rflags(vcpu) & X86_EFLAGS_IF) ||
+	       (vmcs_read32(GUEST_INTERRUPTIBILITY_INFO) &
+		(GUEST_INTR_STATE_STI | GUEST_INTR_STATE_MOV_SS));
+}
+
 bool vmx_interrupt_blocked(struct kvm_vcpu *vcpu)
 {
 	if (is_guest_mode(vcpu) && nested_exit_on_intr(vcpu))
 		return false;
 
-	return !(vmx_get_rflags(vcpu) & X86_EFLAGS_IF) ||
-	       (vmcs_read32(GUEST_INTERRUPTIBILITY_INFO) &
-		(GUEST_INTR_STATE_STI | GUEST_INTR_STATE_MOV_SS));
+	return __vmx_interrupt_blocked(vcpu);
 }
 
 static int vmx_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection)
arch/x86/kvm/vmx/vmx.h +1 -0
index ed4b6da83aa8..811d7ef4638b 100644
@@ -359,6 +359,7 @@ bool vmx_guest_inject_ac(struct kvm_vcpu *vcpu);
 void update_exception_bitmap(struct kvm_vcpu *vcpu);
 void vmx_update_msr_bitmap(struct kvm_vcpu *vcpu);
 bool vmx_nmi_blocked(struct kvm_vcpu *vcpu);
+bool __vmx_interrupt_blocked(struct kvm_vcpu *vcpu);
 bool vmx_interrupt_blocked(struct kvm_vcpu *vcpu);
 bool vmx_get_nmi_mask(struct kvm_vcpu *vcpu);
 void vmx_set_nmi_mask(struct kvm_vcpu *vcpu, bool masked);
arch/x86/mm/pti.c +4 -4
index 1aab92930569..50e31d14351b 100644
@@ -374,14 +374,14 @@ pti_clone_pgtable(unsigned long start, unsigned long end,
 			 */
 			*target_pmd = *pmd;
 
-			addr += PMD_SIZE;
+			addr = round_up(addr + 1, PMD_SIZE);
 
 		} else if (level == PTI_CLONE_PTE) {
 
 			/* Walk the page-table down to the pte level */
 			pte = pte_offset_kernel(pmd, addr);
 			if (pte_none(*pte)) {
-				addr += PAGE_SIZE;
+				addr = round_up(addr + 1, PAGE_SIZE);
 				continue;
 			}
 
@@ -401,7 +401,7 @@ pti_clone_pgtable(unsigned long start, unsigned long end,
 			/* Clone the PTE */
 			*target_pte = *pte;
 
-			addr += PAGE_SIZE;
+			addr = round_up(addr + 1, PAGE_SIZE);
 
 		} else {
 			BUG();
@@ -497,7 +497,7 @@ static void pti_clone_entry_text(void)
 {
 	pti_clone_pgtable((unsigned long) __entry_text_start,
 			  (unsigned long) __entry_text_end,
-			  PTI_CLONE_PMD);
+			  PTI_LEVEL_KERNEL_IMAGE);
 }
 
 /*
arch/x86/pci/intel_mid_pci.c +2 -2
index 24ca4ee2802f..3399dcdd526c 100644
@@ -223,9 +223,9 @@ static int intel_mid_pci_irq_enable(struct pci_dev *dev)
 		return 0;
 
 	ret = pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &gsi);
-	if (ret < 0) {
+	if (ret) {
 		dev_warn(&dev->dev, "Failed to read interrupt line: %d\n", ret);
-		return ret;
+		return pcibios_err_to_errno(ret);
 	}
 
 	switch (intel_mid_identify_cpu()) {
arch/x86/pci/xen.c +2 -2
index 326d6d173733..cbe9ab42cbeb 100644
@@ -37,10 +37,10 @@ static int xen_pcifront_enable_irq(struct pci_dev *dev)
 	u8 gsi;
 
 	rc = pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &gsi);
-	if (rc < 0) {
+	if (rc) {
 		dev_warn(&dev->dev, "Xen PCI: failed to read interrupt line: %d\n",
 			 rc);
-		return rc;
+		return pcibios_err_to_errno(rc);
 	}
 	/* In PV DomU the Xen PCI backend puts the PIRQ in the interrupt line.*/
 	pirq = gsi;
arch/x86/platform/intel/iosf_mbi.c +2 -2
index 526f70f27c1c..70a1c3877f8e 100644
@@ -62,7 +62,7 @@ static int iosf_mbi_pci_read_mdr(u32 mcrx, u32 mcr, u32 *mdr)
 
 fail_read:
 	dev_err(&mbi_pdev->dev, "PCI config access failed with %d\n", result);
-	return result;
+	return pcibios_err_to_errno(result);
 }
 
 static int iosf_mbi_pci_write_mdr(u32 mcrx, u32 mcr, u32 mdr)
@@ -91,7 +91,7 @@ static int iosf_mbi_pci_write_mdr(u32 mcrx, u32 mcr, u32 mdr)
 
 fail_write:
 	dev_err(&mbi_pdev->dev, "PCI config access failed with %d\n", result);
-	return result;
+	return pcibios_err_to_errno(result);
 }
 
 int iosf_mbi_read(u8 port, u8 opcode, u32 offset, u32 *mdr)
arch/x86/xen/p2m.c +2 -2
index e809f1446846..bfa972f7e874 100644
@@ -736,7 +736,7 @@ int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops,
 		 * immediate unmapping.
 		 */
 		map_ops[i].status = GNTST_general_error;
-		unmap[0].host_addr = map_ops[i].host_addr,
+		unmap[0].host_addr = map_ops[i].host_addr;
 		unmap[0].handle = map_ops[i].handle;
 		map_ops[i].handle = ~0;
 		if (map_ops[i].flags & GNTMAP_device_map)
@@ -746,7 +746,7 @@ int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops,
 
 		if (kmap_ops) {
 			kmap_ops[i].status = GNTST_general_error;
-			unmap[1].host_addr = kmap_ops[i].host_addr,
+			unmap[1].host_addr = kmap_ops[i].host_addr;
 			unmap[1].handle = kmap_ops[i].handle;
 			kmap_ops[i].handle = ~0;
 			if (kmap_ops[i].flags & GNTMAP_device_map)
drivers/acpi/battery.c +12 -4
index 8b43efe97da5..2e1462b8929c 100644
@@ -670,12 +670,18 @@ static ssize_t acpi_battery_alarm_store(struct device *dev,
 	return count;
 }
 
-static const struct device_attribute alarm_attr = {
+static struct device_attribute alarm_attr = {
 	.attr = {.name = "alarm", .mode = 0644},
 	.show = acpi_battery_alarm_show,
 	.store = acpi_battery_alarm_store,
 };
 
+static struct attribute *acpi_battery_attrs[] = {
+	&alarm_attr.attr,
+	NULL
+};
+ATTRIBUTE_GROUPS(acpi_battery);
+
 /*
  * The Battery Hooking API
  *
@@ -812,7 +818,10 @@ static void __exit battery_hook_exit(void)
 
 static int sysfs_add_battery(struct acpi_battery *battery)
 {
-	struct power_supply_config psy_cfg = { .drv_data = battery, };
+	struct power_supply_config psy_cfg = {
+		.drv_data = battery,
+		.attr_grp = acpi_battery_groups,
+	};
 	bool full_cap_broken = false;
 
 	if (!ACPI_BATTERY_CAPACITY_VALID(battery->full_charge_capacity) &&
@@ -857,7 +866,7 @@ static int sysfs_add_battery(struct acpi_battery *battery)
 		return result;
 	}
 	battery_hook_add_battery(battery);
-	return device_create_file(&battery->bat->dev, &alarm_attr);
+	return 0;
 }
 
 static void sysfs_remove_battery(struct acpi_battery *battery)
@@ -868,7 +877,6 @@ static void sysfs_remove_battery(struct acpi_battery *battery)
 		return;
 	}
 	battery_hook_remove_battery(battery);
-	device_remove_file(&battery->bat->dev, &alarm_attr);
 	power_supply_unregister(battery->bat);
 	battery->bat = NULL;
 	mutex_unlock(&battery->sysfs_lock);
drivers/acpi/sbs.c +12 -11
index e6d9f4de2800..54396cb8930a 100644
@@ -77,7 +77,6 @@ struct acpi_battery {
 	u16 spec;
 	u8 id;
 	u8 present:1;
-	u8 have_sysfs_alarm:1;
 };
 
 #define to_acpi_battery(x) power_supply_get_drvdata(x)
@@ -462,12 +461,18 @@ static ssize_t acpi_battery_alarm_store(struct device *dev,
 	return count;
 }
 
-static const struct device_attribute alarm_attr = {
+static struct device_attribute alarm_attr = {
 	.attr = {.name = "alarm", .mode = 0644},
 	.show = acpi_battery_alarm_show,
 	.store = acpi_battery_alarm_store,
 };
 
+static struct attribute *acpi_battery_attrs[] = {
+	&alarm_attr.attr,
+	NULL
+};
+ATTRIBUTE_GROUPS(acpi_battery);
+
 /* --------------------------------------------------------------------------
                                  Driver Interface
    -------------------------------------------------------------------------- */
@@ -509,7 +514,10 @@ static int acpi_battery_read(struct acpi_battery *battery)
 static int acpi_battery_add(struct acpi_sbs *sbs, int id)
 {
 	struct acpi_battery *battery = &sbs->battery[id];
-	struct power_supply_config psy_cfg = { .drv_data = battery, };
+	struct power_supply_config psy_cfg = {
+		.drv_data = battery,
+		.attr_grp = acpi_battery_groups,
+	};
 	int result;
 
 	battery->id = id;
@@ -539,10 +547,6 @@ static int acpi_battery_add(struct acpi_sbs *sbs, int id)
 		goto end;
 	}
 
-	result = device_create_file(&battery->bat->dev, &alarm_attr);
-	if (result)
-		goto end;
-	battery->have_sysfs_alarm = 1;
       end:
 	printk(KERN_INFO PREFIX "%s [%s]: Battery Slot [%s] (battery %s)\n",
 	       ACPI_SBS_DEVICE_NAME, acpi_device_bid(sbs->device),
@@ -554,11 +558,8 @@ static void acpi_battery_remove(struct acpi_sbs *sbs, int id)
 {
 	struct acpi_battery *battery = &sbs->battery[id];
 
-	if (battery->bat) {
-		if (battery->have_sysfs_alarm)
-			device_remove_file(&battery->bat->dev, &alarm_attr);
+	if (battery->bat)
 		power_supply_unregister(battery->bat);
-	}
 }
 
 static int acpi_charger_add(struct acpi_sbs *sbs)
drivers/android/binder.c +1 -3
index 6631a65f632b..cd3de4ec1767 100644
@@ -928,9 +928,7 @@ static bool binder_has_work(struct binder_thread *thread, bool do_proc_work)
 static bool binder_available_for_proc_work_ilocked(struct binder_thread *thread)
 {
 	return !thread->transaction_stack &&
-		binder_worklist_empty_ilocked(&thread->todo) &&
-		(thread->looper & (BINDER_LOOPER_STATE_ENTERED |
-				   BINDER_LOOPER_STATE_REGISTERED));
+		binder_worklist_empty_ilocked(&thread->todo);
 }
 
 static void binder_wakeup_poll_threads_ilocked(struct binder_proc *proc,
drivers/base/core.c +8 -5
index b13a60de5a86..b81fd39226ca 100644
@@ -25,6 +25,7 @@
 #include <linux/mutex.h>
 #include <linux/pm_runtime.h>
 #include <linux/netdevice.h>
+#include <linux/rcupdate.h>
 #include <linux/sched/signal.h>
 #include <linux/sched/mm.h>
 #include <linux/sysfs.h>
@@ -1909,6 +1910,7 @@ static int dev_uevent(struct kset *kset, struct kobject *kobj,
 		      struct kobj_uevent_env *env)
 {
 	struct device *dev = kobj_to_dev(kobj);
+	struct device_driver *driver;
 	int retval = 0;
 
 	/* add device node properties if present */
@@ -1937,8 +1939,12 @@ static int dev_uevent(struct kset *kset, struct kobject *kobj,
 	if (dev->type && dev->type->name)
 		add_uevent_var(env, "DEVTYPE=%s", dev->type->name);
 
-	if (dev->driver)
-		add_uevent_var(env, "DRIVER=%s", dev->driver->name);
+	/* Synchronize with module_remove_driver() */
+	rcu_read_lock();
+	driver = READ_ONCE(dev->driver);
+	if (driver)
+		add_uevent_var(env, "DRIVER=%s", driver->name);
+	rcu_read_unlock();
 
 	/* Add common DT information about the device */
 	of_device_uevent(dev, env);
@@ -2008,11 +2014,8 @@ static ssize_t uevent_show(struct device *dev, struct device_attribute *attr,
 	if (!env)
 		return -ENOMEM;
 
-	/* Synchronize with really_probe() */
-	device_lock(dev);
 	/* let the kset specific function add its keys */
 	retval = kset->uevent_ops->uevent(kset, &dev->kobj, env);
-	device_unlock(dev);
 	if (retval)
 		goto out;
 
drivers/base/devres.c +10 -3
index 586e9a75c840..8a74008c13c4 100644
@@ -901,9 +901,12 @@ void *devm_krealloc(struct device *dev, void *ptr, size_t new_size, gfp_t gfp)
 	/*
 	 * Otherwise: allocate new, larger chunk. We need to allocate before
 	 * taking the lock as most probably the caller uses GFP_KERNEL.
+	 * alloc_dr() will call check_dr_size() to reserve extra memory
+	 * for struct devres automatically, so size @new_size user request
+	 * is delivered to it directly as devm_kmalloc() does.
 	 */
 	new_dr = alloc_dr(devm_kmalloc_release,
-			  total_new_size, gfp, dev_to_node(dev));
+			  new_size, gfp, dev_to_node(dev));
 	if (!new_dr)
 		return NULL;
 
@@ -1227,7 +1230,11 @@ EXPORT_SYMBOL_GPL(__devm_alloc_percpu);
  */
 void devm_free_percpu(struct device *dev, void __percpu *pdata)
 {
-	WARN_ON(devres_destroy(dev, devm_percpu_release, devm_percpu_match,
-			       (void *)pdata));
+	/*
+	 * Use devres_release() to prevent memory leakage as
+	 * devm_free_pages() does.
+	 */
+	WARN_ON(devres_release(dev, devm_percpu_release, devm_percpu_match,
+			       (__force void *)pdata));
 }
 EXPORT_SYMBOL_GPL(devm_free_percpu);
drivers/base/module.c +4 -0
index 46ad4d636731..851cc5367c04 100644
@@ -7,6 +7,7 @@
 #include <linux/errno.h>
 #include <linux/slab.h>
 #include <linux/string.h>
+#include <linux/rcupdate.h>
 #include "base.h"
 
 static char *make_driver_name(struct device_driver *drv)
@@ -77,6 +78,9 @@ void module_remove_driver(struct device_driver *drv)
 	if (!drv)
 		return;
 
+	/* Synchronize with dev_uevent() */
+	synchronize_rcu();
+
 	sysfs_remove_link(&drv->p->kobj, "module");
 
 	if (drv->owner)
drivers/block/rbd.c +15 -20
index 5b102d333a41..0ceef7bcfe8e 100644
@@ -362,7 +362,7 @@ enum rbd_watch_state {
 enum rbd_lock_state {
 	RBD_LOCK_STATE_UNLOCKED,
 	RBD_LOCK_STATE_LOCKED,
-	RBD_LOCK_STATE_RELEASING,
+	RBD_LOCK_STATE_QUIESCING,
 };
 
 /* WatchNotify::ClientId */
@@ -422,7 +422,7 @@ struct rbd_device {
 	struct list_head	running_list;
 	struct completion	acquire_wait;
 	int			acquire_err;
-	struct completion	releasing_wait;
+	struct completion	quiescing_wait;
 
 	spinlock_t		object_map_lock;
 	u8			*object_map;
@@ -525,7 +525,7 @@ static bool __rbd_is_lock_owner(struct rbd_device *rbd_dev)
 	lockdep_assert_held(&rbd_dev->lock_rwsem);
 
 	return rbd_dev->lock_state == RBD_LOCK_STATE_LOCKED ||
-	       rbd_dev->lock_state == RBD_LOCK_STATE_RELEASING;
+	       rbd_dev->lock_state == RBD_LOCK_STATE_QUIESCING;
 }
 
 static bool rbd_is_lock_owner(struct rbd_device *rbd_dev)
@@ -3522,13 +3522,14 @@ static void rbd_lock_del_request(struct rbd_img_request *img_req)
 	lockdep_assert_held(&rbd_dev->lock_rwsem);
 	spin_lock(&rbd_dev->lock_lists_lock);
 	if (!list_empty(&img_req->lock_item)) {
+		rbd_assert(!list_empty(&rbd_dev->running_list));
 		list_del_init(&img_req->lock_item);
-		need_wakeup = (rbd_dev->lock_state == RBD_LOCK_STATE_RELEASING &&
+		need_wakeup = (rbd_dev->lock_state == RBD_LOCK_STATE_QUIESCING &&
 			       list_empty(&rbd_dev->running_list));
 	}
 	spin_unlock(&rbd_dev->lock_lists_lock);
 	if (need_wakeup)
-		complete(&rbd_dev->releasing_wait);
+		complete(&rbd_dev->quiescing_wait);
 }
 
 static int rbd_img_exclusive_lock(struct rbd_img_request *img_req)
@@ -3541,11 +3542,6 @@ static int rbd_img_exclusive_lock(struct rbd_img_request *img_req)
 	if (rbd_lock_add_request(img_req))
 		return 1;
 
-	if (rbd_dev->opts->exclusive) {
-		WARN_ON(1); /* lock got released? */
-		return -EROFS;
-	}
-
 	/*
 	 * Note the use of mod_delayed_work() in rbd_acquire_lock()
 	 * and cancel_delayed_work() in wake_lock_waiters().
@@ -4237,16 +4233,16 @@ static bool rbd_quiesce_lock(struct rbd_device *rbd_dev)
 	/*
 	 * Ensure that all in-flight IO is flushed.
 	 */
-	rbd_dev->lock_state = RBD_LOCK_STATE_RELEASING;
-	rbd_assert(!completion_done(&rbd_dev->releasing_wait));
+	rbd_dev->lock_state = RBD_LOCK_STATE_QUIESCING;
+	rbd_assert(!completion_done(&rbd_dev->quiescing_wait));
 	if (list_empty(&rbd_dev->running_list))
 		return true;
 
 	up_write(&rbd_dev->lock_rwsem);
-	wait_for_completion(&rbd_dev->releasing_wait);
+	wait_for_completion(&rbd_dev->quiescing_wait);
 
 	down_write(&rbd_dev->lock_rwsem);
-	if (rbd_dev->lock_state != RBD_LOCK_STATE_RELEASING)
+	if (rbd_dev->lock_state != RBD_LOCK_STATE_QUIESCING)
 		return false;
 
 	rbd_assert(list_empty(&rbd_dev->running_list));
@@ -4657,6 +4653,10 @@ static void rbd_reacquire_lock(struct rbd_device *rbd_dev)
 			rbd_warn(rbd_dev, "failed to update lock cookie: %d",
 				 ret);
 
+		if (rbd_dev->opts->exclusive)
+			rbd_warn(rbd_dev,
+			     "temporarily releasing lock on exclusive mapping");
+
 		/*
 		 * Lock cookie cannot be updated on older OSDs, so do
 		 * a manual release and queue an acquire.
@@ -5455,7 +5455,7 @@ static struct rbd_device *__rbd_dev_create(struct rbd_spec *spec)
 	INIT_LIST_HEAD(&rbd_dev->acquiring_list);
 	INIT_LIST_HEAD(&rbd_dev->running_list);
 	init_completion(&rbd_dev->acquire_wait);
-	init_completion(&rbd_dev->releasing_wait);
+	init_completion(&rbd_dev->quiescing_wait);
 
 	spin_lock_init(&rbd_dev->object_map_lock);
 
@@ -6660,11 +6660,6 @@ static int rbd_add_acquire_lock(struct rbd_device *rbd_dev)
 	if (ret)
 		return ret;
 
-	/*
-	 * The lock may have been released by now, unless automatic lock
-	 * transitions are disabled.
-	 */
-	rbd_assert(!rbd_dev->opts->exclusive || rbd_is_lock_owner(rbd_dev));
 	return 0;
 }
 
drivers/bluetooth/btusb.c +4 -0
index b2836e8efefd..b0d97c9ffd26 100644
@@ -428,6 +428,10 @@ static const struct usb_device_id blacklist_table[] = {
 						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x13d3, 0x3571), .driver_info = BTUSB_REALTEK |
 						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x13d3, 0x3591), .driver_info = BTUSB_REALTEK |
+						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x0489, 0xe125), .driver_info = BTUSB_REALTEK |
+						     BTUSB_WIDEBAND_SPEECH },
 
 	/* Realtek Bluetooth devices */
 	{ USB_VENDOR_AND_INTERFACE_INFO(0x0bda, 0xe0, 0x01, 0x01),
drivers/char/hw_random/amd-rng.c +3 -1
index db3dd467194c..3f3fdf6ee3d5 100644
@@ -142,8 +142,10 @@ static int __init mod_init(void)
 
 found:
 	err = pci_read_config_dword(pdev, 0x58, &pmbase);
-	if (err)
+	if (err) {
+		err = pcibios_err_to_errno(err);
 		goto put_dev;
+	}
 
 	pmbase &= 0x0000FF00;
 	if (pmbase == 0) {
drivers/char/tpm/eventlog/common.c +2 -0
index 8512ec76d526..4a6186f9f889 100644
@@ -47,6 +47,8 @@ static int tpm_bios_measurements_open(struct inode *inode,
 	if (!err) {
 		seq = file->private_data;
 		seq->private = chip;
+	} else {
+		put_device(&chip->dev);
 	}
 
 	return err;
drivers/clk/davinci/da8xx-cfgchip.c +2 -2
index 77d18276bfe8..90d96ee4a58b 100644
@@ -505,7 +505,7 @@ da8xx_cfgchip_register_usb0_clk48(struct device *dev,
 	const char * const parent_names[] = { "usb_refclkin", "pll0_auxclk" };
 	struct clk *fck_clk;
 	struct da8xx_usb0_clk48 *usb0;
-	struct clk_init_data init;
+	struct clk_init_data init = {};
 	int ret;
 
 	fck_clk = devm_clk_get(dev, "fck");
@@ -580,7 +580,7 @@ da8xx_cfgchip_register_usb1_clk48(struct device *dev,
 {
 	const char * const parent_names[] = { "usb0_clk48", "usb_refclkin" };
 	struct da8xx_usb1_clk48 *usb1;
-	struct clk_init_data init;
+	struct clk_init_data init = {};
 	int ret;
 
 	usb1 = devm_kzalloc(dev, sizeof(*usb1), GFP_KERNEL);
drivers/clocksource/sh_cmt.c +12 -1
index 66e4872ab34f..26dbf01d2ec5 100644
@@ -530,6 +530,7 @@ static void sh_cmt_set_next(struct sh_cmt_channel *ch, unsigned long delta)
 static irqreturn_t sh_cmt_interrupt(int irq, void *dev_id)
 {
 	struct sh_cmt_channel *ch = dev_id;
+	unsigned long flags;
 
 	/* clear flags */
 	sh_cmt_write_cmcsr(ch, sh_cmt_read_cmcsr(ch) &
@@ -560,6 +561,8 @@ static irqreturn_t sh_cmt_interrupt(int irq, void *dev_id)
 
 	ch->flags &= ~FLAG_SKIPEVENT;
 
+	raw_spin_lock_irqsave(&ch->lock, flags);
+
 	if (ch->flags & FLAG_REPROGRAM) {
 		ch->flags &= ~FLAG_REPROGRAM;
 		sh_cmt_clock_event_program_verify(ch, 1);
@@ -572,6 +575,8 @@ static irqreturn_t sh_cmt_interrupt(int irq, void *dev_id)
 
 	ch->flags &= ~FLAG_IRQCONTEXT;
 
+	raw_spin_unlock_irqrestore(&ch->lock, flags);
+
 	return IRQ_HANDLED;
 }
 
@@ -770,12 +775,18 @@ static int sh_cmt_clock_event_next(unsigned long delta,
 				   struct clock_event_device *ced)
 {
 	struct sh_cmt_channel *ch = ced_to_sh_cmt(ced);
+	unsigned long flags;
 
 	BUG_ON(!clockevent_state_oneshot(ced));
+
+	raw_spin_lock_irqsave(&ch->lock, flags);
+
 	if (likely(ch->flags & FLAG_IRQCONTEXT))
 		ch->next_match_value = delta - 1;
 	else
-		sh_cmt_set_next(ch, delta - 1);
+		__sh_cmt_set_next(ch, delta - 1);
+
+	raw_spin_unlock_irqrestore(&ch->lock, flags);
 
 	return 0;
 }
drivers/edac/Makefile +6 -4
index 3a849168780d..eec69c885c1d 100644
@@ -58,11 +58,13 @@ obj-$(CONFIG_EDAC_MPC85XX)		+= mpc85xx_edac_mod.o
 layerscape_edac_mod-y			:= fsl_ddr_edac.o layerscape_edac.o
 obj-$(CONFIG_EDAC_LAYERSCAPE)		+= layerscape_edac_mod.o
 
-skx_edac-y				:= skx_common.o skx_base.o
-obj-$(CONFIG_EDAC_SKX)			+= skx_edac.o
+skx_edac_common-y			:= skx_common.o
 
-i10nm_edac-y				:= skx_common.o i10nm_base.o
-obj-$(CONFIG_EDAC_I10NM)		+= i10nm_edac.o
+skx_edac-y				:= skx_base.o
+obj-$(CONFIG_EDAC_SKX)			+= skx_edac.o skx_edac_common.o
+
+i10nm_edac-y				:= i10nm_base.o
+obj-$(CONFIG_EDAC_I10NM)		+= i10nm_edac.o skx_edac_common.o
 
 obj-$(CONFIG_EDAC_MV64X60)		+= mv64x60_edac.o
 obj-$(CONFIG_EDAC_CELL)			+= cell_edac.o
drivers/edac/skx_common.c +75 -13

213 lines not on this page · raw message

drivers/edac/skx_common.h +13 -2
index 78f8c1de0b71..b93c33ac8e60 100644
@@ -9,6 +9,8 @@
 #ifndef _SKX_COMM_EDAC_H
 #define _SKX_COMM_EDAC_H
 
+#include <linux/bits.h>
+
 #define MSG_SIZE		1024
 
 /*
@@ -90,9 +92,17 @@ enum {
 	INDEX_MEMCTRL,
 	INDEX_CHANNEL,
 	INDEX_DIMM,
+	INDEX_NM_FIRST,
+	INDEX_NM_MEMCTRL = INDEX_NM_FIRST,
+	INDEX_NM_CHANNEL,
+	INDEX_NM_DIMM,
 	INDEX_MAX
 };
 
+#define BIT_NM_MEMCTRL	BIT_ULL(INDEX_NM_MEMCTRL)
+#define BIT_NM_CHANNEL	BIT_ULL(INDEX_NM_CHANNEL)
+#define BIT_NM_DIMM	BIT_ULL(INDEX_NM_DIMM)
+
 struct decoded_addr {
 	struct skx_dev *dev;
 	u64	addr;
@@ -124,9 +134,10 @@ typedef int (*get_dimm_config_f)(struct mem_ctl_info *mci);
 typedef bool (*skx_decode_f)(struct decoded_addr *res);
 typedef void (*skx_show_retry_log_f)(struct decoded_addr *res, char *msg, int len);
 
-int __init skx_adxl_get(void);
-void __exit skx_adxl_put(void);
+int skx_adxl_get(void);
+void skx_adxl_put(void);
 void skx_set_decode(skx_decode_f decode, skx_show_retry_log_f show_retry_log);
+void skx_set_mem_cfg(bool mem_cfg_2lm);
 
 int skx_get_src_id(struct skx_dev *d, int off, u8 *id);
 int skx_get_node_id(struct skx_dev *d, u8 *id);
drivers/firmware/turris-mox-rwtm.c +7 -11
index 0bef988580ad..dcb717254c79 100644
@@ -199,9 +199,8 @@ static int mox_get_board_info(struct mox_rwtm *rwtm)
 	if (ret < 0)
 		return ret;
 
-	ret = wait_for_completion_timeout(&rwtm->cmd_done, HZ / 2);
-	if (ret < 0)
-		return ret;
+	if (!wait_for_completion_timeout(&rwtm->cmd_done, HZ / 2))
+		return -ETIMEDOUT;
 
 	ret = mox_get_status(MBOX_CMD_BOARD_INFO, reply->retval);
 	if (ret == -ENODATA) {
@@ -235,9 +234,8 @@ static int mox_get_board_info(struct mox_rwtm *rwtm)
 	if (ret < 0)
 		return ret;
 
-	ret = wait_for_completion_timeout(&rwtm->cmd_done, HZ / 2);
-	if (ret < 0)
-		return ret;
+	if (!wait_for_completion_timeout(&rwtm->cmd_done, HZ / 2))
+		return -ETIMEDOUT;
 
 	ret = mox_get_status(MBOX_CMD_ECDSA_PUB_KEY, reply->retval);
 	if (ret == -ENODATA) {
@@ -274,9 +272,8 @@ static int check_get_random_support(struct mox_rwtm *rwtm)
 	if (ret < 0)
 		return ret;
 
-	ret = wait_for_completion_timeout(&rwtm->cmd_done, HZ / 2);
-	if (ret < 0)
-		return ret;
+	if (!wait_for_completion_timeout(&rwtm->cmd_done, HZ / 2))
+		return -ETIMEDOUT;
 
 	return mox_get_status(MBOX_CMD_GET_RANDOM, rwtm->reply.retval);
 }
@@ -499,6 +496,7 @@ static int turris_mox_rwtm_probe(struct platform_device *pdev)
 	platform_set_drvdata(pdev, rwtm);
 
 	mutex_init(&rwtm->busy);
+	init_completion(&rwtm->cmd_done);
 
 	rwtm->mbox_client.dev = dev;
 	rwtm->mbox_client.rx_callback = mox_rwtm_rx_callback;
@@ -512,8 +510,6 @@ static int turris_mox_rwtm_probe(struct platform_device *pdev)
 		goto remove_files;
 	}
 
-	init_completion(&rwtm->cmd_done);
-
 	ret = mox_get_board_info(rwtm);
 	if (ret < 0)
 		dev_warn(dev, "Cannot read board information: %i\n", ret);
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +5 -2
index e971d2b9e3c0..56f10679a26d 100644
@@ -1351,12 +1351,15 @@ static void amdgpu_ras_interrupt_process_handler(struct work_struct *work)
 int amdgpu_ras_interrupt_dispatch(struct amdgpu_device *adev,
 		struct ras_dispatch_if *info)
 {
-	struct ras_manager *obj = amdgpu_ras_find_obj(adev, &info->head);
-	struct ras_ih_data *data = &obj->ih_data;
+	struct ras_manager *obj;
+	struct ras_ih_data *data;
 
+	obj = amdgpu_ras_find_obj(adev, &info->head);
 	if (!obj)
 		return -EINVAL;
 
+	data = &obj->ih_data;
+
 	if (data->inuse == 0)
 		return 0;
 
drivers/gpu/drm/amd/display/dc/core/dc_surface.c +2 -1
index 3d7d27435f15..98391ba103d6 100644
@@ -154,7 +154,8 @@ const struct dc_plane_status *dc_plane_get_status(
 		if (pipe_ctx->plane_state != plane_state)
 			continue;
 
-		pipe_ctx->plane_state->status.is_flip_pending = false;
+		if (pipe_ctx->plane_state)
+			pipe_ctx->plane_state->status.is_flip_pending = false;
 
 		break;
 	}
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c +5 -2
index 7931528bc864..5e72b7555eda 100644
@@ -2983,8 +2983,7 @@ static int smu7_apply_state_adjust_rules(struct pp_hwmgr *hwmgr,
 			const struct pp_power_state *current_ps)
 {
 	struct amdgpu_device *adev = hwmgr->adev;
-	struct smu7_power_state *smu7_ps =
-				cast_phw_smu7_power_state(&request_ps->hardware);
+	struct smu7_power_state *smu7_ps;
 	uint32_t sclk;
 	uint32_t mclk;
 	struct PP_Clocks minimum_clocks = {0};
@@ -2998,6 +2997,10 @@ static int smu7_apply_state_adjust_rules(struct pp_hwmgr *hwmgr,
 	int32_t count;
 	int32_t stable_pstate_sclk = 0, stable_pstate_mclk = 0;
 
+	smu7_ps = cast_phw_smu7_power_state(&request_ps->hardware);
+	if (!smu7_ps)
+		return -EINVAL;
+
 	data->battery_state = (PP_StateUILabel_Battery ==
 			request_ps->classification.ui_label);
 
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c +8 -6
index 35ed47ebaf09..35d0ff57a596 100644
@@ -1051,16 +1051,18 @@ static int smu8_apply_state_adjust_rules(struct pp_hwmgr *hwmgr,
 				struct pp_power_state  *prequest_ps,
 			const struct pp_power_state *pcurrent_ps)
 {
-	struct smu8_power_state *smu8_ps =
-				cast_smu8_power_state(&prequest_ps->hardware);
-
-	const struct smu8_power_state *smu8_current_ps =
-				cast_const_smu8_power_state(&pcurrent_ps->hardware);
-
+	struct smu8_power_state *smu8_ps;
+	const struct smu8_power_state *smu8_current_ps;
 	struct smu8_hwmgr *data = hwmgr->backend;
 	struct PP_Clocks clocks = {0, 0, 0, 0};
 	bool force_high;
 
+	smu8_ps = cast_smu8_power_state(&prequest_ps->hardware);
+	smu8_current_ps = cast_const_smu8_power_state(&pcurrent_ps->hardware);
+
+	if (!smu8_ps || !smu8_current_ps)
+		return -EINVAL;
+
 	smu8_ps->need_dfs_bypass = true;
 
 	data->battery_state = (PP_StateUILabel_Battery == prequest_ps->classification.ui_label);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c +5 -2
index 4dc27ec4d012..10678b519995 100644
@@ -3232,8 +3232,7 @@ static int vega10_apply_state_adjust_rules(struct pp_hwmgr *hwmgr,
 			const struct pp_power_state *current_ps)
 {
 	struct amdgpu_device *adev = hwmgr->adev;
-	struct vega10_power_state *vega10_ps =
-				cast_phw_vega10_power_state(&request_ps->hardware);
+	struct vega10_power_state *vega10_ps;
 	uint32_t sclk;
 	uint32_t mclk;
 	struct PP_Clocks minimum_clocks = {0};
@@ -3251,6 +3250,10 @@ static int vega10_apply_state_adjust_rules(struct pp_hwmgr *hwmgr,
 	uint32_t stable_pstate_sclk = 0, stable_pstate_mclk = 0;
 	uint32_t latency;
 
+	vega10_ps = cast_phw_vega10_power_state(&request_ps->hardware);
+	if (!vega10_ps)
+		return -EINVAL;
+
 	data->battery_state = (PP_StateUILabel_Battery ==
 			request_ps->classification.ui_label);
 
drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c +1 -4
index cab3f5c4e2fc..37c62794e213 100644
@@ -1115,7 +1115,6 @@ ssize_t analogix_dp_transfer(struct analogix_dp_device *dp,
 	u32 status_reg;
 	u8 *buffer = msg->buffer;
 	unsigned int i;
-	int num_transferred = 0;
 	int ret;
 
 	/* Buffer size of AUX CH is 16 bytes */
@@ -1167,7 +1166,6 @@ ssize_t analogix_dp_transfer(struct analogix_dp_device *dp,
 			reg = buffer[i];
 			writel(reg, dp->reg_base + ANALOGIX_DP_BUF_DATA_0 +
 			       4 * i);
-			num_transferred++;
 		}
 	}
 
@@ -1215,7 +1213,6 @@ ssize_t analogix_dp_transfer(struct analogix_dp_device *dp,
 			reg = readl(dp->reg_base + ANALOGIX_DP_BUF_DATA_0 +
 				    4 * i);
 			buffer[i] = (unsigned char)reg;
-			num_transferred++;
 		}
 	}
 
@@ -1232,7 +1229,7 @@ ssize_t analogix_dp_transfer(struct analogix_dp_device *dp,
 		 (msg->request & ~DP_AUX_I2C_MOT) == DP_AUX_NATIVE_READ)
 		msg->reply = DP_AUX_NATIVE_REPLY_ACK;
 
-	return num_transferred > 0 ? num_transferred : -EBUSY;
+	return msg->size;
 
 aux_error:
 	/* if aux err happen, reset aux */
drivers/gpu/drm/drm_client_modeset.c +5 -0
index 7872a04e9a72..3884fab01110 100644
@@ -866,6 +866,11 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 
 			kfree(modeset->mode);
 			modeset->mode = drm_mode_duplicate(dev, mode);
+			if (!modeset->mode) {
+				ret = -ENOMEM;
+				break;
+			}
+
 			drm_connector_get(connector);
 			modeset->connectors[modeset->num_connectors++] = connector;
 			modeset->x = offset->x;
drivers/gpu/drm/etnaviv/etnaviv_gem.c +4 -2
index 424474041c94..aa372982335e 100644
@@ -364,9 +364,11 @@ static void *etnaviv_gem_vmap_impl(struct etnaviv_gem_object *obj)
 
 static inline enum dma_data_direction etnaviv_op_to_dma_dir(u32 op)
 {
-	if (op & ETNA_PREP_READ)
+	op &= ETNA_PREP_READ | ETNA_PREP_WRITE;
+
+	if (op == ETNA_PREP_READ)
 		return DMA_FROM_DEVICE;
-	else if (op & ETNA_PREP_WRITE)
+	else if (op == ETNA_PREP_WRITE)
 		return DMA_TO_DEVICE;
 	else
 		return DMA_BIDIRECTIONAL;
drivers/gpu/drm/gma500/cdv_intel_lvds.c +3 -0
index eaaf4efec217..b13c34fa29ed 100644
@@ -310,6 +310,9 @@ static int cdv_intel_lvds_get_modes(struct drm_connector *connector)
 	if (mode_dev->panel_fixed_mode != NULL) {
 		struct drm_display_mode *mode =
 		    drm_mode_duplicate(dev, mode_dev->panel_fixed_mode);
+		if (!mode)
+			return 0;
+
 		drm_mode_probed_add(connector, mode);
 		return 1;
 	}
drivers/gpu/drm/gma500/psb_intel_lvds.c +3 -0
index 063c66bb946d..889964efe62d 100644
@@ -508,6 +508,9 @@ static int psb_intel_lvds_get_modes(struct drm_connector *connector)
 	if (mode_dev->panel_fixed_mode != NULL) {
 		struct drm_display_mode *mode =
 		    drm_mode_duplicate(dev, mode_dev->panel_fixed_mode);
+		if (!mode)
+			return 0;
+
 		drm_mode_probed_add(connector, mode);
 		return 1;
 	}
drivers/gpu/drm/i915/gem/i915_gem_mman.c +47 -6

79 lines not on this page · raw message

drivers/gpu/drm/mgag200/mgag200_i2c.c +1 -1
index 09731e614e46..40cda2468332 100644
@@ -134,7 +134,7 @@ struct mga_i2c_chan *mgag200_i2c_create(struct drm_device *dev)
 	i2c->adapter.algo_data = &i2c->bit;
 
 	i2c->bit.udelay = 10;
-	i2c->bit.timeout = 2;
+	i2c->bit.timeout = usecs_to_jiffies(2200);
 	i2c->bit.data = i2c;
 	i2c->bit.setsda		= mga_gpio_setsda;
 	i2c->bit.setscl		= mga_gpio_setscl;
drivers/gpu/drm/nouveau/nouveau_prime.c +2 -1
index f08bda533bd9..65874a48dc80 100644
@@ -81,7 +81,8 @@ struct drm_gem_object *nouveau_gem_prime_import_sg_table(struct drm_device *dev,
 	 * to the caller, instead of a normal nouveau_bo ttm reference. */
 	ret = drm_gem_object_init(dev, &nvbo->bo.base, size);
 	if (ret) {
-		nouveau_bo_ref(NULL, &nvbo);
+		drm_gem_object_release(&nvbo->bo.base);
+		kfree(nvbo);
 		obj = ERR_PTR(-ENOMEM);
 		goto unlock;
 	}
drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c +6 -2
index 9e518213a54f..0a2d5f461aee 100644
@@ -553,7 +553,11 @@ static int boe_panel_prepare(struct drm_panel *panel)
 	usleep_range(5000, 10000);
 
 	if (boe->desc->lp11_before_reset) {
-		mipi_dsi_dcs_nop(boe->dsi);
+		ret = mipi_dsi_dcs_nop(boe->dsi);
+		if (ret < 0) {
+			dev_err(&boe->dsi->dev, "Failed to send NOP: %d\n", ret);
+			goto poweroff;
+		}
 		usleep_range(1000, 2000);
 	}
 	gpiod_set_value(boe->enable_gpio, 1);
@@ -574,13 +578,13 @@ static int boe_panel_prepare(struct drm_panel *panel)
 	return 0;
 
 poweroff:
+	gpiod_set_value(boe->enable_gpio, 0);
 	regulator_disable(boe->avee);
 poweroffavdd:
 	regulator_disable(boe->avdd);
 poweroff1v8:
 	usleep_range(5000, 7000);
 	regulator_disable(boe->pp1800);
-	gpiod_set_value(boe->enable_gpio, 0);
 
 	return ret;
 }
drivers/gpu/drm/panfrost/panfrost_drv.c +1 -0
index 4af25c0b6570..ba098b4dee2e 100644
@@ -681,3 +681,4 @@ module_platform_driver(panfrost_driver);
 MODULE_AUTHOR("Panfrost Project Developers");
 MODULE_DESCRIPTION("Panfrost DRM Driver");
 MODULE_LICENSE("GPL v2");
+MODULE_SOFTDEP("pre: governor_simpleondemand");
drivers/gpu/drm/qxl/qxl_display.c +3 -0
index f22a1b776f4b..3ffa721d777b 100644
@@ -232,6 +232,9 @@ static int qxl_add_mode(struct drm_connector *connector,
 		return 0;
 
 	mode = drm_cvt_mode(dev, width, height, 60, false, false, false);
+	if (!mode)
+		return 0;
+
 	if (preferred)
 		mode->type |= DRM_MODE_TYPE_PREFERRED;
 	mode->hdisplay = width;
drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c +1 -1
index cd7ed1650d60..7aa1d9218ea6 100644
@@ -98,7 +98,7 @@ static int vmw_overlay_send_put(struct vmw_private *dev_priv,
 {
 	struct vmw_escape_video_flush *flush;
 	size_t fifo_size;
-	bool have_so = (dev_priv->active_display_unit == vmw_du_screen_object);
+	bool have_so = (dev_priv->active_display_unit != vmw_du_legacy);
 	int i, num_items;
 	SVGAGuestPtr ptr;
 
drivers/hid/wacom_wac.c +1 -2
index c454768ffb49..f6ee287a892c 100644
@@ -714,13 +714,12 @@ static int wacom_intuos_get_tool_type(int tool_id)
 	case 0x8e2: /* IntuosHT2 pen */
 	case 0x022:
 	case 0x200: /* Pro Pen 3 */
-	case 0x04200: /* Pro Pen 3 */
 	case 0x10842: /* MobileStudio Pro Pro Pen slim */
 	case 0x14802: /* Intuos4/5 13HD/24HD Classic Pen */
 	case 0x16802: /* Cintiq 13HD Pro Pen */
 	case 0x18802: /* DTH2242 Pen */
 	case 0x10802: /* Intuos4/5 13HD/24HD General Pen */
-	case 0x80842: /* Intuos Pro and Cintiq Pro 3D Pen */
+	case 0x8842: /* Intuos Pro and Cintiq Pro 3D Pen */
 		tool_type = BTN_TOOL_PEN;
 		break;
 
drivers/hwmon/adt7475.c +1 -1
index 22e314725def..b4c0f01f52c4 100644
@@ -1770,7 +1770,7 @@ static void adt7475_read_pwm(struct i2c_client *client, int index)
 		data->pwm[CONTROL][index] &= ~0xE0;
 		data->pwm[CONTROL][index] |= (7 << 5);
 
-		i2c_smbus_write_byte_data(client, PWM_CONFIG_REG(index),
+		i2c_smbus_write_byte_data(client, PWM_REG(index),
 					  data->pwm[INPUT][index]);
 
 		i2c_smbus_write_byte_data(client, PWM_CONFIG_REG(index),
drivers/hwmon/max6697.c +3 -2
index fc3241101178..7508d67c3dfb 100644
@@ -312,6 +312,7 @@ static ssize_t temp_store(struct device *dev,
 		return ret;
 
 	mutex_lock(&data->update_lock);
+	temp = clamp_val(temp, -1000000, 1000000);	/* prevent underflow */
 	temp = DIV_ROUND_CLOSEST(temp, 1000) + data->temp_offset;
 	temp = clamp_val(temp, 0, data->type == max6581 ? 255 : 127);
 	data->temp[nr][index] = temp;
@@ -429,14 +430,14 @@ static SENSOR_DEVICE_ATTR_RO(temp6_max_alarm, alarm, 20);
 static SENSOR_DEVICE_ATTR_RO(temp7_max_alarm, alarm, 21);
 static SENSOR_DEVICE_ATTR_RO(temp8_max_alarm, alarm, 23);
 
-static SENSOR_DEVICE_ATTR_RO(temp1_crit_alarm, alarm, 14);
+static SENSOR_DEVICE_ATTR_RO(temp1_crit_alarm, alarm, 15);
 static SENSOR_DEVICE_ATTR_RO(temp2_crit_alarm, alarm, 8);
 static SENSOR_DEVICE_ATTR_RO(temp3_crit_alarm, alarm, 9);
 static SENSOR_DEVICE_ATTR_RO(temp4_crit_alarm, alarm, 10);
 static SENSOR_DEVICE_ATTR_RO(temp5_crit_alarm, alarm, 11);
 static SENSOR_DEVICE_ATTR_RO(temp6_crit_alarm, alarm, 12);
 static SENSOR_DEVICE_ATTR_RO(temp7_crit_alarm, alarm, 13);
-static SENSOR_DEVICE_ATTR_RO(temp8_crit_alarm, alarm, 15);
+static SENSOR_DEVICE_ATTR_RO(temp8_crit_alarm, alarm, 14);
 
 static SENSOR_DEVICE_ATTR_RO(temp2_fault, alarm, 1);
 static SENSOR_DEVICE_ATTR_RO(temp3_fault, alarm, 2);
drivers/hwtracing/coresight/coresight-platform.c +3 -1
index c594f45319fc..dfb8022c4da1 100644
@@ -323,8 +323,10 @@ static int of_get_coresight_platform_data(struct device *dev,
 			continue;
 
 		ret = of_coresight_parse_endpoint(dev, ep, pdata);
-		if (ret)
+		if (ret) {
+			of_node_put(ep);
 			return ret;
+		}
 	}
 
 	return 0;
drivers/i2c/i2c-smbus.c +57 -7

93 lines not on this page · raw message

drivers/infiniband/core/device.c +3 -3
index 94c3bad72cc5..3848fe0449a4 100644
@@ -2106,6 +2106,9 @@ int ib_device_set_netdev(struct ib_device *ib_dev, struct net_device *ndev,
 	unsigned long flags;
 	int ret;
 
+	if (!rdma_is_port_valid(ib_dev, port))
+		return -EINVAL;
+
 	/*
 	 * Drivers wish to call this before ib_register_driver, so we have to
 	 * setup the port data early.
@@ -2114,9 +2117,6 @@ int ib_device_set_netdev(struct ib_device *ib_dev, struct net_device *ndev,
 	if (ret)
 		return ret;
 
-	if (!rdma_is_port_valid(ib_dev, port))
-		return -EINVAL;
-
 	pdata = &ib_dev->port_data[port];
 	spin_lock_irqsave(&pdata->netdev_lock, flags);
 	old_ndev = rcu_dereference_protected(
drivers/infiniband/core/iwcm.c +7 -4
index 75b6da00065a..7a6747850aea 100644
@@ -370,8 +370,10 @@ EXPORT_SYMBOL(iw_cm_disconnect);
  *
  * Clean up all resources associated with the connection and release
  * the initial reference taken by iw_create_cm_id.
+ *
+ * Returns true if and only if the last cm_id_priv reference has been dropped.
  */
-static void destroy_cm_id(struct iw_cm_id *cm_id)
+static bool destroy_cm_id(struct iw_cm_id *cm_id)
 {
 	struct iwcm_id_private *cm_id_priv;
 	struct ib_qp *qp;
@@ -441,7 +443,7 @@ static void destroy_cm_id(struct iw_cm_id *cm_id)
 		iwpm_remove_mapping(&cm_id->local_addr, RDMA_NL_IWCM);
 	}
 
-	(void)iwcm_deref_id(cm_id_priv);
+	return iwcm_deref_id(cm_id_priv);
 }
 
 /*
@@ -452,7 +454,8 @@ static void destroy_cm_id(struct iw_cm_id *cm_id)
  */
 void iw_destroy_cm_id(struct iw_cm_id *cm_id)
 {
-	destroy_cm_id(cm_id);
+	if (!destroy_cm_id(cm_id))
+		flush_workqueue(iwcm_wq);
 }
 EXPORT_SYMBOL(iw_destroy_cm_id);
 
@@ -1036,7 +1039,7 @@ static void cm_work_handler(struct work_struct *_work)
 		if (!test_bit(IWCM_F_DROP_EVENTS, &cm_id_priv->flags)) {
 			ret = process_event(cm_id_priv, &levent);
 			if (ret)
-				destroy_cm_id(&cm_id_priv->id);
+				WARN_ON_ONCE(destroy_cm_id(&cm_id_priv->id));
 		} else
 			pr_debug("dropping event %d\n", levent.event);
 		if (iwcm_deref_id(cm_id_priv))
drivers/infiniband/hw/bnxt_re/ib_verbs.c +4 -4
index a0d7777acb6d..f16e0b2c7895 100644
@@ -2357,7 +2357,7 @@ static int bnxt_re_build_send_wqe(struct bnxt_re_qp *qp,
 		break;
 	case IB_WR_SEND_WITH_IMM:
 		wqe->type = BNXT_QPLIB_SWQE_TYPE_SEND_WITH_IMM;
-		wqe->send.imm_data = wr->ex.imm_data;
+		wqe->send.imm_data = be32_to_cpu(wr->ex.imm_data);
 		break;
 	case IB_WR_SEND_WITH_INV:
 		wqe->type = BNXT_QPLIB_SWQE_TYPE_SEND_WITH_INV;
@@ -2387,7 +2387,7 @@ static int bnxt_re_build_rdma_wqe(const struct ib_send_wr *wr,
 		break;
 	case IB_WR_RDMA_WRITE_WITH_IMM:
 		wqe->type = BNXT_QPLIB_SWQE_TYPE_RDMA_WRITE_WITH_IMM;
-		wqe->rdma.imm_data = wr->ex.imm_data;
+		wqe->rdma.imm_data = be32_to_cpu(wr->ex.imm_data);
 		break;
 	case IB_WR_RDMA_READ:
 		wqe->type = BNXT_QPLIB_SWQE_TYPE_RDMA_READ;
@@ -3334,7 +3334,7 @@ static void bnxt_re_process_res_shadow_qp_wc(struct bnxt_re_qp *gsi_sqp,
 	wc->byte_len = orig_cqe->length;
 	wc->qp = &gsi_qp->ib_qp;
 
-	wc->ex.imm_data = orig_cqe->immdata;
+	wc->ex.imm_data = cpu_to_be32(le32_to_cpu(orig_cqe->immdata));
 	wc->src_qp = orig_cqe->src_qp;
 	memcpy(wc->smac, orig_cqe->smac, ETH_ALEN);
 	if (bnxt_re_is_vlan_pkt(orig_cqe, &vlan_id, &sl)) {
@@ -3474,7 +3474,7 @@ int bnxt_re_poll_cq(struct ib_cq *ib_cq, int num_entries, struct ib_wc *wc)
 				continue;
 			}
 			wc->qp = &qp->ib_qp;
-			wc->ex.imm_data = cqe->immdata;
+			wc->ex.imm_data = cpu_to_be32(le32_to_cpu(cqe->immdata));
 			wc->src_qp = cqe->src_qp;
 			memcpy(wc->smac, cqe->smac, ETH_ALEN);
 			wc->port_num = 1;
drivers/infiniband/hw/bnxt_re/qplib_fp.h +3 -3
index 667f93d90045..f112f013df7d 100644
@@ -162,7 +162,7 @@ struct bnxt_qplib_swqe {
 		/* Send, with imm, inval key */
 		struct {
 			union {
-				__be32	imm_data;
+				u32	imm_data;
 				u32	inv_key;
 			};
 			u32		q_key;
@@ -180,7 +180,7 @@ struct bnxt_qplib_swqe {
 		/* RDMA write, with imm, read */
 		struct {
 			union {
-				__be32	imm_data;
+				u32	imm_data;
 				u32	inv_key;
 			};
 			u64		remote_va;
@@ -372,7 +372,7 @@ struct bnxt_qplib_cqe {
 	u16				cfa_meta;
 	u64				wr_id;
 	union {
-		__be32			immdata;
+		__le32			immdata;
 		u32			invrkey;
 	};
 	u64				qp_handle;
drivers/infiniband/hw/hns/hns_roce_device.h +4 -0
index fe54e09eeccd..72a41f34ecfd 100644
@@ -98,6 +98,7 @@
 #define MR_TYPE_DMA				0x03
 
 #define HNS_ROCE_FRMR_MAX_PA			512
+#define HNS_ROCE_FRMR_ALIGN_SIZE		128
 
 #define PKEY_ID					0xffff
 #define GUID_LEN				8
@@ -267,6 +268,9 @@ enum {
 #define HNS_HW_PAGE_SHIFT			12
 #define HNS_HW_PAGE_SIZE			(1 << HNS_HW_PAGE_SHIFT)
 
+#define HNS_HW_MAX_PAGE_SHIFT			27
+#define HNS_HW_MAX_PAGE_SIZE			(1 << HNS_HW_MAX_PAGE_SHIFT)
+
 struct hns_roce_uar {
 	u64		pfn;
 	unsigned long	index;
drivers/infiniband/hw/hns/hns_roce_mr.c +5 -0
index c038ed7d9496..7e93c9b4a33f 100644
@@ -486,6 +486,11 @@ int hns_roce_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, int sg_nents,
 	struct hns_roce_mtr *mtr = &mr->pbl_mtr;
 	int ret, sg_num = 0;
 
+	if (!IS_ALIGNED(*sg_offset, HNS_ROCE_FRMR_ALIGN_SIZE) ||
+	    ibmr->page_size < HNS_HW_PAGE_SIZE ||
+	    ibmr->page_size > HNS_HW_MAX_PAGE_SIZE)
+		return sg_num;
+
 	mr->npages = 0;
 	mr->page_list = kvcalloc(mr->pbl_mtr.hem_cfg.buf_pg_count,
 				 sizeof(dma_addr_t), GFP_KERNEL);
drivers/infiniband/hw/mlx4/alias_GUID.c +1 -1
index cca414ecfcd5..05420e189ca9 100644
@@ -832,7 +832,7 @@ void mlx4_ib_destroy_alias_guid_service(struct mlx4_ib_dev *dev)
 
 int mlx4_ib_init_alias_guid_service(struct mlx4_ib_dev *dev)
 {
-	char alias_wq_name[15];
+	char alias_wq_name[22];
 	int ret = 0;
 	int i, j;
 	union ib_gid gid;
drivers/infiniband/hw/mlx4/mad.c +1 -1
index 8bd16474708f..44ea25e82549 100644
@@ -2155,7 +2155,7 @@ static int mlx4_ib_alloc_demux_ctx(struct mlx4_ib_dev *dev,
 				       struct mlx4_ib_demux_ctx *ctx,
 				       int port)
 {
-	char name[12];
+	char name[21];
 	int ret = 0;
 	int i;
 
drivers/infiniband/sw/rxe/rxe_req.c +4 -3
index 69238f856c67..a034aa8fc5ca 100644
@@ -362,7 +362,7 @@ static struct sk_buff *init_req_packet(struct rxe_qp *qp,
 	int			solicited;
 	u16			pkey;
 	u32			qp_num;
-	int			ack_req;
+	int			ack_req = 0;
 
 	/* length from start of bth to end of icrc */
 	paylen = rxe_opcode[opcode].length + payload + pad + RXE_ICRC_SIZE;
@@ -396,8 +396,9 @@ static struct sk_buff *init_req_packet(struct rxe_qp *qp,
 	qp_num = (pkt->mask & RXE_DETH_MASK) ? ibwr->wr.ud.remote_qpn :
 					 qp->attr.dest_qp_num;
 
-	ack_req = ((pkt->mask & RXE_END_MASK) ||
-		(qp->req.noack_pkts++ > RXE_MAX_PKT_PER_ACK));
+	if (qp_type(qp) != IB_QPT_UD && qp_type(qp) != IB_QPT_UC)
+		ack_req = ((pkt->mask & RXE_END_MASK) ||
+			   (qp->req.noack_pkts++ > RXE_MAX_PKT_PER_ACK));
 	if (ack_req)
 		qp->req.noack_pkts = 0;
 
drivers/input/keyboard/qt1050.c +6 -1
index 403060d05c3b..7193a4198e21 100644
@@ -226,7 +226,12 @@ static bool qt1050_identify(struct qt1050_priv *ts)
 	int err;
 
 	/* Read Chip ID */
-	regmap_read(ts->regmap, QT1050_CHIP_ID, &val);
+	err = regmap_read(ts->regmap, QT1050_CHIP_ID, &val);
+	if (err) {
+		dev_err(&ts->client->dev, "Failed to read chip ID: %d\n", err);
+		return false;
+	}
+
 	if (val != QT1050_CHIP_ID_VER) {
 		dev_err(&ts->client->dev, "ID %d not supported\n", val);
 		return false;
drivers/input/mouse/elan_i2c_core.c +2 -0
index 6f59c8b245f2..14c2c66414f4 100644
@@ -1340,6 +1340,8 @@ static int __maybe_unused elan_suspend(struct device *dev)
 	}
 
 err:
+	if (ret)
+		enable_irq(client->irq);
 	mutex_unlock(&data->sysfs_mutex);
 	return ret;
 }
drivers/irqchip/irq-imx-irqsteer.c +33 -7
index 1edf7692a790..4bdcefa44f11 100644
@@ -12,6 +12,7 @@
 #include <linux/kernel.h>
 #include <linux/of_irq.h>
 #include <linux/of_platform.h>
+#include <linux/pm_runtime.h>
 #include <linux/spinlock.h>
 
 #define CTRL_STRIDE_OFF(_t, _r)	(_t * 4 * _r)
@@ -34,6 +35,7 @@ struct irqsteer_data {
 	int			channel;
 	struct irq_domain	*domain;
 	u32			*saved_reg;
+	struct device		*dev;
 };
 
 static int imx_irqsteer_get_reg_index(struct irqsteer_data *data,
@@ -70,10 +72,26 @@ static void imx_irqsteer_irq_mask(struct irq_data *d)
 	raw_spin_unlock_irqrestore(&data->lock, flags);
 }
 
-static struct irq_chip imx_irqsteer_irq_chip = {
-	.name		= "irqsteer",
-	.irq_mask	= imx_irqsteer_irq_mask,
-	.irq_unmask	= imx_irqsteer_irq_unmask,
+static void imx_irqsteer_irq_bus_lock(struct irq_data *d)
+{
+	struct irqsteer_data *data = d->chip_data;
+
+	pm_runtime_get_sync(data->dev);
+}
+
+static void imx_irqsteer_irq_bus_sync_unlock(struct irq_data *d)
+{
+	struct irqsteer_data *data = d->chip_data;
+
+	pm_runtime_put_autosuspend(data->dev);
+}
+
+static const struct irq_chip imx_irqsteer_irq_chip = {
+	.name			= "irqsteer",
+	.irq_mask		= imx_irqsteer_irq_mask,
+	.irq_unmask		= imx_irqsteer_irq_unmask,
+	.irq_bus_lock		= imx_irqsteer_irq_bus_lock,
+	.irq_bus_sync_unlock	= imx_irqsteer_irq_bus_sync_unlock,
 };
 
 static int imx_irqsteer_irq_map(struct irq_domain *h, unsigned int irq,
@@ -151,6 +169,7 @@ static int imx_irqsteer_probe(struct platform_device *pdev)
 	if (!data)
 		return -ENOMEM;
 
+	data->dev = &pdev->dev;
 	data->regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(data->regs)) {
 		dev_err(&pdev->dev, "failed to initialize reg\n");
@@ -178,7 +197,7 @@ static int imx_irqsteer_probe(struct platform_device *pdev)
 	data->irq_count = DIV_ROUND_UP(irqs_num, 64);
 	data->reg_num = irqs_num / 32;
 
-	if (IS_ENABLED(CONFIG_PM_SLEEP)) {
+	if (IS_ENABLED(CONFIG_PM)) {
 		data->saved_reg = devm_kzalloc(&pdev->dev,
 					sizeof(u32) * data->reg_num,
 					GFP_KERNEL);
@@ -202,6 +221,7 @@ static int imx_irqsteer_probe(struct platform_device *pdev)
 		ret = -ENOMEM;
 		goto out;
 	}
+	irq_domain_set_pm_device(data->domain, &pdev->dev);
 
 	if (!data->irq_count || data->irq_count > CHAN_MAX_OUTPUT_INT) {
 		ret = -EINVAL;
@@ -222,6 +242,9 @@ static int imx_irqsteer_probe(struct platform_device *pdev)
 
 	platform_set_drvdata(pdev, data);
 
+	pm_runtime_set_active(&pdev->dev);
+	pm_runtime_enable(&pdev->dev);
+
 	return 0;
 out:
 	clk_disable_unprepare(data->ipg_clk);
@@ -244,7 +267,7 @@ static int imx_irqsteer_remove(struct platform_device *pdev)
 	return 0;
 }
 
-#ifdef CONFIG_PM_SLEEP
+#ifdef CONFIG_PM
 static void imx_irqsteer_save_regs(struct irqsteer_data *data)
 {
 	int i;
@@ -291,7 +314,10 @@ static int imx_irqsteer_resume(struct device *dev)
 #endif
 
 static const struct dev_pm_ops imx_irqsteer_pm_ops = {
-	SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(imx_irqsteer_suspend, imx_irqsteer_resume)
+	SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
+				      pm_runtime_force_resume)
+	SET_RUNTIME_PM_OPS(imx_irqsteer_suspend,
+			   imx_irqsteer_resume, NULL)
 };
 
 static const struct of_device_id imx_irqsteer_dt_ids[] = {
drivers/irqchip/irq-mbigen.c +16 -4
index ff7627b57772..192950e9909b 100644
@@ -64,6 +64,20 @@ struct mbigen_device {
 	void __iomem		*base;
 };
 
+static inline unsigned int get_mbigen_node_offset(unsigned int nid)
+{
+	unsigned int offset = nid * MBIGEN_NODE_OFFSET;
+
+	/*
+	 * To avoid touched clear register in unexpected way, we need to directly
+	 * skip clear register when access to more than 10 mbigen nodes.
+	 */
+	if (nid >= (REG_MBIGEN_CLEAR_OFFSET / MBIGEN_NODE_OFFSET))
+		offset += MBIGEN_NODE_OFFSET;
+
+	return offset;
+}
+
 static inline unsigned int get_mbigen_vec_reg(irq_hw_number_t hwirq)
 {
 	unsigned int nid, pin;
@@ -72,8 +86,7 @@ static inline unsigned int get_mbigen_vec_reg(irq_hw_number_t hwirq)
 	nid = hwirq / IRQS_PER_MBIGEN_NODE + 1;
 	pin = hwirq % IRQS_PER_MBIGEN_NODE;
 
-	return pin * 4 + nid * MBIGEN_NODE_OFFSET
-			+ REG_MBIGEN_VEC_OFFSET;
+	return pin * 4 + get_mbigen_node_offset(nid) + REG_MBIGEN_VEC_OFFSET;
 }
 
 static inline void get_mbigen_type_reg(irq_hw_number_t hwirq,
@@ -88,8 +101,7 @@ static inline void get_mbigen_type_reg(irq_hw_number_t hwirq,
 	*mask = 1 << (irq_ofst % 32);
 	ofst = irq_ofst / 32 * 4;
 
-	*addr = ofst + nid * MBIGEN_NODE_OFFSET
-		+ REG_MBIGEN_TYPE_OFFSET;
+	*addr = ofst + get_mbigen_node_offset(nid) + REG_MBIGEN_TYPE_OFFSET;
 }
 
 static inline void get_mbigen_clear_reg(irq_hw_number_t hwirq,
drivers/irqchip/irq-meson-gpio.c +19 -16
index e50676ce2ec8..6a3d18d5ba2f 100644
@@ -16,7 +16,7 @@
 #include <linux/of.h>
 #include <linux/of_address.h>
 
-#define NUM_CHANNEL 8
+#define MAX_NUM_CHANNEL 64
 #define MAX_INPUT_MUX 256
 
 #define REG_EDGE_POL	0x00
@@ -60,6 +60,7 @@ struct irq_ctl_ops {
 
 struct meson_gpio_irq_params {
 	unsigned int nr_hwirq;
+	unsigned int nr_channels;
 	bool support_edge_both;
 	unsigned int edge_both_offset;
 	unsigned int edge_single_offset;
@@ -81,6 +82,7 @@ struct meson_gpio_irq_params {
 	.edge_single_offset = 0,				\
 	.pol_low_offset = 16,					\
 	.pin_sel_mask = 0xff,					\
+	.nr_channels = 8,					\
 
 #define INIT_MESON_A1_COMMON_DATA(irqs)				\
 	INIT_MESON_COMMON(irqs, meson_a1_gpio_irq_init,		\
@@ -90,6 +92,7 @@ struct meson_gpio_irq_params {
 	.edge_single_offset = 8,				\
 	.pol_low_offset = 0,					\
[… more lines in the raw message]

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

drivers/irqchip/irq-xilinx-intc.c +1 -1
index 8cd1bfc73057..b48c3fb4b35e 100644

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

drivers/isdn/hardware/mISDN/hfcmulti.c +4 -3
index 4c5b6772562d..a0697d64aab3 100644

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

drivers/leds/led-class.c +0 -1
index fcb9eee3b609..e28a4bb71603 100644

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

drivers/leds/led-triggers.c +1 -1
index 4e7b78a84149..cbe70f38cb57 100644

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

drivers/leds/leds-ss4200.c +5 -2
index 245de443fe9c..833bb721a8e0 100644

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

drivers/macintosh/therm_windtunnel.c +1 -1
index f55f6adf5e5f..49805eb4d145 100644

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

drivers/md/md.c +0 -1
index 67ceab4573be..f1f029243e0c 100644

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

drivers/md/raid5.c +13 -7
index 66167c4c7bc9..7cdc6f20f504 100644

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

drivers/media/pci/saa7134/saa7134-dvb.c +6 -2
index f359cd5c006a..c786b83a69d2 100644

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

drivers/media/platform/qcom/venus/vdec.c +2 -1
index c437a929a545..d91030a134c0 100644

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

drivers/media/platform/vsp1/vsp1_histo.c +8 -12
index a91e142bcb94..37df7d2d4639 100644

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

drivers/media/platform/vsp1/vsp1_pipe.h +1 -1
index ae646c9ef337..15daf35bda21 100644

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

drivers/media/platform/vsp1/vsp1_rpf.c +5 -3
index 75083cb234fe..996a3058d5b7 100644

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

drivers/media/rc/imon.c +1 -4
index 253a1d1a840a..cd4995e74b97 100644

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

drivers/media/rc/lirc_dev.c +3 -1
index 14243ce03b46..c59601487334 100644

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

drivers/media/usb/uvc/uvc_ctrl.c +60 -30

90 lines not on this page · raw message

drivers/media/usb/uvc/uvc_video.c +33 -4
index 03dfe96bceba..288f097e2e6f 100644

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

drivers/media/usb/uvc/uvcvideo.h +5 -0
index c75990c0957e..c3241cf5f7b4 100644

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

drivers/mfd/omap-usb-tll.c +1 -2
index 16fad79c73f1..99ca0dfa127b 100644

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

drivers/mtd/tests/Makefile +17 -17
index 5de0378f90db..7dae831ee8b6 100644

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

drivers/mtd/tests/mtd_test.c +9 -0
index c84250beffdc..f391e0300cdc 100644

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

drivers/mtd/ubi/eba.c +2 -1
index b4cdf2351cac..d33deb84b6ec 100644

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

drivers/net/bonding/bond_main.c +2 -5
index 50fabba04248..c07b9bac1a6a 100644

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

drivers/net/dsa/b53/b53_common.c +3 -0
index d3b37cebcfde..2bf07a398054 100644

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

drivers/net/dsa/bcm_sf2.c +3 -1
index a5849663f65c..d0f94a5fae5a 100644

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

drivers/net/dsa/mv88e6xxx/chip.c +2 -1
index 6a1ae774cfe9..c7f93329ae75 100644

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

drivers/net/ethernet/brocade/bna/bna_types.h +1 -1
index 666b6922e24d..ebf54d74c2bb 100644

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

drivers/net/ethernet/brocade/bna/bnad.c +6 -5
index 7e4e831d720f..9ccfb038ffc7 100644

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

drivers/net/ethernet/freescale/fec_main.c +36 -16

52 lines not on this page · raw message

drivers/net/ethernet/freescale/fec_ptp.c +3 -0
index 780fbb3e1ed0..84e0855069a8 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c +6 -1
index d3817dd07e3d..1fdb42899a9f 100644

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

drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c +8 -10
index 4b713832fdd5..f5c0a4214c4e 100644

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

drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c +26 -12
index 2e8b17e3b935..3ab87db83b7f 100644

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

drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c +0 -13
index d231f4d2888b..9eee229303cc 100644

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

drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h +3 -6
index a41df10ade9b..f28c47ae5488 100644

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

drivers/net/ethernet/qlogic/qed/qed_l2.c +3 -20
index 0157bcd2efff..198022bc1f94 100644

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

drivers/net/ethernet/qlogic/qede/qede_filter.c +19 -28

47 lines not on this page · raw message

drivers/net/ethernet/realtek/r8169_main.c +2 -6
index d24eb5ee152a..4c588fc43eb9 100644

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

drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c +1 -1
index 5c6073d95f02..c315e0605baa 100644

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

drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c +1 -1
index 86f70ea9a520..357762ce23ff 100644

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

drivers/net/ethernet/stmicro/stmmac/hwif.h +1 -1
index 8b7ec2457eba..d7ea2fd944ee 100644

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

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +2 -2
index 8416a186cd7f..b8581a711514 100644

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

drivers/net/netconsole.c +1 -1
index 92001f7af380..924370e53003 100644

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

drivers/net/usb/qmi_wwan.c +1 -0
index d2a8238e144a..47cc54a64b56 100644

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

drivers/net/usb/sr9700.c +9 -2
index 3fac642bec77..8d2e3daf03cf 100644

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

drivers/net/wireless/ath/ath11k/dp.h +1 -0
index c4972233149f..89dc3ab2e2fb 100644

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

drivers/net/wireless/ath/ath11k/dp_rx.c +49 -2

51 lines not on this page · raw message

drivers/net/wireless/ath/ath11k/dp_rx.h +6 -0
index 6986752fc4b6..c322e30caa96 100644

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

drivers/net/wireless/ath/ath11k/mac.c +15 -4
index 3170c54c97b7..b66b6a7072d8 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c +9 -9
index 7717eb85a1db..47c0e8e429e5 100644

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

drivers/net/wireless/marvell/mwifiex/cfg80211.c +2 -0
index e1196c565a62..03ba8ed995bf 100644

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

drivers/net/wireless/virt_wifi.c +17 -3
index 514f2c1124b6..dd6675436bda 100644

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

drivers/nvme/host/pci.c +21 -15
index a7131f4752e2..78cac4220e03 100644

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

drivers/parport/procfs.c +12 -12
index d740eba3c099..8400a379186e 100644

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

drivers/pci/controller/pci-hyperv.c +2 -2
index 2d6c77dcc815..d0b3ec237385 100644

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

drivers/pci/controller/pcie-rockchip.c +1 -1
index 1aa84035a8bc..bdce1ba7c1bc 100644

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

drivers/pci/pci.c +12 -7
index 530ced8f7abd..09d5fa637b98 100644

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

drivers/pci/setup-bus.c +2 -4
index 16d291e10627..a159bfdfa251 100644

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

drivers/pinctrl/core.c +11 -1
index 3d44d6f48cc4..8152d24e128a 100644

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

drivers/pinctrl/freescale/pinctrl-mxs.c +2 -2
index 735cedd0958a..5b0fcf15f280 100644

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

drivers/pinctrl/pinctrl-rockchip.c +2 -15
index 02b41f1bafe7..e0f22ce219ee 100644

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

drivers/pinctrl/pinctrl-single.c +4 -3
index 22e471933b37..4860c4dd853f 100644

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

drivers/pinctrl/ti/pinctrl-ti-iodelay.c +6 -8
index cfb924228d87..6e1b067fb72e 100644

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

drivers/platform/chrome/cros_ec_debugfs.c +1 -0
index 0dbceee87a4b..2928c3cb3785 100644

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

drivers/platform/chrome/cros_ec_proto.c +2 -0
index 8ffbf92ec1e0..39c41aeb57e4 100644

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

drivers/platform/mips/cpu_hwmon.c +3 -0
index d8c5f9195f85..2ac2f31090f9 100644

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

drivers/power/supply/axp288_charger.c +11 -11
index f65bf7b295c5..c4f1a2bac333 100644

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

drivers/pwm/pwm-stm32.c +3 -2
index 3e5f1b622af8..7146b3f6755b 100644

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

drivers/remoteproc/imx_rproc.c +5 -0
index 8957ed271d20..373fce8b9106 100644

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

drivers/rtc/interface.c +5 -4
index 146056858135..154ea5ae2c0c 100644

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

drivers/rtc/rtc-cmos.c +4 -6
index 2c4ccab6e462..a55a1cff2ef0 100644

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

drivers/rtc/rtc-isl1208.c +4 -7
index ebb691fa48a6..cba0dfe21a15 100644

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

drivers/s390/char/sclp_sd.c +8 -2
index 1e244f78f192..64581433c334 100644

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

drivers/scsi/mpt3sas/mpt3sas_base.c +21 -17
index 2803b475dae6..53528711dac1 100644

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

drivers/scsi/qla2xxx/qla_bsg.c +1 -1
index 804cac4c3476..d415e816ad0e 100644

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

drivers/scsi/qla2xxx/qla_gs.c +1 -1
index d9ac17dbad78..b08a92d346f5 100644

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

drivers/scsi/qla2xxx/qla_init.c +50 -13

63 lines not on this page · raw message

drivers/scsi/qla2xxx/qla_mid.c +1 -1
index c7caf322f445..b98c390b4b27 100644

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

drivers/scsi/qla2xxx/qla_nvme.c +4 -1
index 6dad7787f20d..28a5b40e0f32 100644

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

drivers/scsi/qla2xxx/qla_os.c +1 -6
index 0930bf996cd3..00b971d1c419 100644

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

drivers/scsi/qla2xxx/qla_sup.c +75 -33

108 lines not on this page · raw message

drivers/scsi/ufs/ufshcd.c +8 -3
index 0b0230b46f28..a4c70fbc809f 100644

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

drivers/soc/qcom/pdr_interface.c +5 -3
index 205cc96823b7..6e3cbd822663 100644

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

drivers/soc/qcom/rpmh-rsc.c +4 -3
index a297911afe57..26e6dd860b5d 100644

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

drivers/soc/qcom/rpmh.c +0 -1
index b61e183ede69..707e176ed4ed 100644

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

drivers/soc/xilinx/zynqmp_pm_domains.c +16 -0
index 226d343f0a6a..81e8e10f1092 100644

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

drivers/soc/xilinx/zynqmp_power.c +3 -2
index c556623dae02..2653d29ba829 100644

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

drivers/spi/spi-fsl-lpspi.c +4 -2
index c5ff6e8c45be..c21d7959dcd2 100644

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

drivers/tty/serial/serial_core.c +8 -0
index 10b8785b9982..c7adcf97e2a3 100644

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

drivers/usb/gadget/function/u_serial.c +1 -0
index a717b53847a8..03ad1ed83c92 100644

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

drivers/usb/gadget/udc/core.c +4 -6
index e80aa717c8b5..dd2fafc5b0c3 100644

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

drivers/usb/serial/usb_debug.c +7 -0
index aaf4813e4971..406cb326e812 100644

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

drivers/usb/usbip/vhci_hcd.c +6 -3
index b07b2925ff78..affcb928771d 100644

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

drivers/vhost/vdpa.c +12 -18
index 04578aa87e4d..c9f585db1553 100644

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

fs/btrfs/free-space-cache.c +1 -0
index 4989c60b1df9..af52c9e005b3 100644

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

fs/ceph/super.c +2 -1
index f2aff97348bc..4e09d8e06647 100644

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

fs/exec.c +7 -1
index d5c8f085235b..6a4bbe58d3c0 100644

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

fs/ext2/balloc.c +9 -2
index c17ccc19b938..9bf086821eb3 100644

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

fs/ext4/extents_status.c +2 -0
index f37e62546745..be3b3ccbf70b 100644

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

fs/ext4/inode.c +52 -24

76 lines not on this page · raw message

fs/ext4/mballoc.c +1 -2
index 87378d08a414..bc5db22df9fe 100644

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

fs/ext4/namei.c +57 -16

73 lines not on this page · raw message

fs/ext4/xattr.c +6 -0
index 2dcb7d2bb85e..b91a1d1099d5 100644

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

fs/f2fs/inode.c +3 -0
index 724760353bcd..b23e6a848e9b 100644

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

fs/f2fs/segment.h +2 -1
index 979296b835b5..665e0e186687 100644

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

fs/file.c +1 -0
index 913f7d897d2f..105a084b7924 100644

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

fs/fuse/control.c +5 -5
index 24b4d9db231d..79f01d09c78c 100644

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

fs/fuse/inode.c +48 -32

80 lines not on this page · raw message

fs/fuse/virtio_fs.c +6 -6
index faadc80485e7..7d4655022afc 100644

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

fs/hfs/inode.c +3 -0
index 6fbde990e056..3d59cdb31278 100644

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

fs/hfsplus/bfind.c +2 -13
index ca2ba8c9f82e..901e83d65d20 100644

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

fs/hfsplus/extents.c +6 -3
index 7054a542689f..c95a2f0ed4a7 100644

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

fs/hfsplus/hfsplus_fs.h +21 -0
index c438680ef9f7..bfbe88e804eb 100644

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

fs/jbd2/commit.c +1 -1
index db137671a41f..7d548821854e 100644

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

fs/jbd2/journal.c +6 -0
index effd837b8c1f..205e6c7c2fd0 100644

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

fs/jfs/jfs_imap.c +4 -1
index b0965f3ef186..36ed75682064 100644

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

fs/nilfs2/btnode.c +20 -5
index 1776121677e2..28a726553318 100644

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

fs/nilfs2/btree.c +2 -2
index 4905b7cd7bf3..a426e4e2acda 100644

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

fs/nilfs2/segment.c +1 -6
index 02407c524382..d9f92df15a84 100644

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

fs/proc/proc_sysctl.c +2 -4
index aff9593feb73..f5c967735335 100644

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

fs/proc/task_mmu.c +2 -0
index 39b1038076c3..97023c0dca60 100644

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

fs/super.c +11 -0
index f9795e72e3bf..282aa36901eb 100644

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

fs/udf/balloc.c +26 -25

51 lines not on this page · raw message

fs/udf/super.c +2 -1
index 4af9ce34ee80..1939678f0b62 100644

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

include/linux/compiler_attributes.h +1 -0
index 3982c2dc541e..a3b85459959e 100644

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

include/linux/irq.h +4 -3
index b89a8ac83d1b..eb7af809e6e5 100644

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

include/linux/irqdomain.h +10 -0
index 9b9743f7538c..60f53eadfa42 100644

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

include/linux/jbd2.h +0 -5
index 578ff196b3ce..80f573d1b3b8 100644

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

include/linux/objagg.h +0 -1
index 78021777df46..6df5b887dc54 100644

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

include/linux/pci_ids.h +2 -0
index 80744a7b5e33..b2418bfda4a9 100644

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

include/linux/qed/qed_eth_if.h +8 -13
index 812a4d751163..4df0bf0a0864 100644

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

include/linux/sched/signal.h +6 -0
index 2c634010cc7b..5e4194e12a7d 100644

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

include/linux/task_work.h +2 -1
index 5b8a93f288bb..ad9432313627 100644

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

include/linux/trace_events.h +0 -1
index dbf0993153d3..64af1e11ea13 100644

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

include/net/netfilter/nf_tables.h +21 -4
index 2b99ee1303d9..3cc25a5faa23 100644

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

include/net/sctp/sctp.h +2 -2
index 33475d061823..6d89a7f3f6a4 100644

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

include/net/sctp/structs.h +4 -4
index be59e8df0bff..108eb62cdc2c 100644

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

include/trace/events/rpcgss.h +1 -1
index ffdbe6f85da8..9c8cb69c7911 100644

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

include/uapi/linux/netfilter/nf_tables.h +1 -1
index f93ffb1b6739..40d900537093 100644

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

include/uapi/linux/zorro_ids.h +3 -0
index 6e574d7b7d79..393f2ee9c042 100644

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

io_uring/io-wq.c +7 -3
index fe8594a0396c..c5d249f5d214 100644

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

kernel/bpf/btf.c +5 -5
index 06c028bdb8d4..cfbb038d150c 100644

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

kernel/debug/kdb/kdb_io.c +3 -3
index a3b4b55d2e2e..b28b8a5ef638 100644

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

kernel/dma/mapping.c +1 -1
index 51bb8fa8eb89..453c0fbe87ff 100644

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

kernel/events/core.c +2 -0
index 3a191bec69ac..b60325cc8604 100644

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

kernel/events/internal.h +1 -1
index aa23ffdaf819..8e63cc2bd4f7 100644

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

kernel/irq/chip.c +21 -11
index e7d284261d45..09b91aebb90b 100644

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

kernel/irq/irqdesc.c +1 -0
index 6c009a033c73..68183511226a 100644

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

kernel/irq/manage.c +1 -1
index 0159925054fa..c7f4f948f17e 100644

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

kernel/kprobes.c +2 -2
index dba6541c0fc3..c8e62458d323 100644

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

kernel/padata.c +7 -0
index 471ccbc44541..2a514cf8379b 100644

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

kernel/rcu/rcutorture.c +1 -1
index 9f505688291e..5c4bdbe76df0 100644

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

kernel/sched/core.c +10 -13
index 40f40f359c5d..29d8fc3a7bbd 100644

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

kernel/sched/cputime.c +6 -0
index ca0eef7d3852..f03b3af2fb79 100644

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

kernel/sched/fair.c +4 -5
index 73a89fbd81be..a6a755aec32b 100644

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

kernel/sched/sched.h +1 -1
index 8de07aba8bdd..df6cf8aa59f8 100644

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

kernel/signal.c +8 -0
index e487c4660921..bfc1da526ebb 100644

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

kernel/task_work.c +29 -5
index e9316198c64b..6138e13dce3d 100644

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

kernel/time/ntp.c +4 -5
index 069ca78fb0bf..02d96c007673 100644

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

kernel/time/tick-broadcast.c +24 -0
index a9530e866e5f..dc3838c00d6c 100644

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

kernel/trace/tracing_map.c +3 -3
index d47641f9740b..e6cc8d5ab1a4 100644

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

kernel/watchdog_hld.c +8 -3
index 1e8a49dc956e..8ba4b269ab89 100644

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

lib/decompress_bunzip2.c +2 -1
index c72c865032fa..0cc292256fd3 100644

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

lib/kobject_uevent.c +16 -1
index c87d5b6a8a55..38716b2eb671 100644

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

lib/objagg.c +3 -15
index 5e1676ccdadd..57bde522f249 100644

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

net/bluetooth/l2cap_core.c +1 -0
index 9cc034e6074c..23fc03f7bf31 100644

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

net/core/filter.c +11 -4
index a3101cdfd47b..99fdd8afeeda 100644

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

net/core/link_watch.c +2 -2
index 1a455847da54..0311d4d309e1 100644

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

net/core/xdp.c +1 -3
index fd98d6059007..b2ad644df21f 100644

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

net/ipv4/esp4.c +1 -2
index 412a3c153cad..adfefcd88bbc 100644

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

net/ipv4/nexthop.c +4 -3
index 7a0102a4b1de..a508fd94b8be 100644

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

net/ipv4/route.c +1 -1
index b3b49d8b386d..1eb1e4316ed6 100644

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

net/ipv6/addrconf.c +2 -1
index ac09d4543f3e..455bb4668407 100644

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

net/ipv6/esp6.c +1 -2
index fddc811bbde1..39154531d455 100644

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

net/ipv6/ndisc.c +18 -16
index 14251347c4a5..4f46b0a2e568 100644

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

net/iucv/af_iucv.c +2 -2
index 7c73faa5336c..3d0424e4ae6c 100644

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

net/l2tp/l2tp_core.c +13 -2
index a4b793d1b7d7..b6dcfca740c1 100644

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

net/mptcp/mib.c +2 -0
index b921cbdd9aaa..f4034e000f3e 100644

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

net/mptcp/mib.h +2 -0
index 47bcecce1106..a9f43ff00b3c 100644

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

net/mptcp/options.c +1 -1
index c389d7e47135..f7a91266d5a9 100644

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

net/mptcp/pm.c +9 -0
index e19e1525ecbb..1f310abbf1ed 100644

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

net/mptcp/pm_netlink.c +25 -5
index 452c7e21befd..ca57d856d5df 100644

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

net/mptcp/protocol.c +6 -4
index a36493bbf895..a343b3077458 100644

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

net/mptcp/protocol.h +5 -1
index 3e5af8397434..4348bccb982f 100644

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

net/mptcp/subflow.c +20 -4
index 276fe9f44df7..ba86cb06d6d8 100644

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

net/netfilter/ipset/ip_set_list_set.c +3 -0
index e839c356bcb5..902ff2f3bc72 100644

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

net/netfilter/ipvs/ip_vs_proto_sctp.c +2 -2
index 1e689c714127..83e452916403 100644

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

net/netfilter/nf_conntrack_netlink.c +2 -1
index ceb7c988edef..b55e87143c2c 100644

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

net/netfilter/nf_tables_api.c +27 -122

149 lines not on this page · raw message

net/netfilter/nft_connlimit.c +1 -1
index 7d0761fad37e..091457e5c260 100644

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

net/netfilter/nft_counter.c +2 -2
index 85ed461ec24e..75fa6fcd6cd6 100644

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

net/netfilter/nft_dynset.c +1 -1
index 408b7f5faa5e..9461293182e8 100644

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

net/netfilter/nft_set_hash.c +7 -1
index f0a9ad1c4ea4..2499d25a5c85 100644

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

net/netfilter/nft_set_pipapo.c +11 -7
index 5a8521abd8f5..9e0269e85017 100644

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

net/netfilter/nft_set_pipapo_avx2.c +10 -2
index 60fb8bc0fdcc..13c7e22c9384 100644

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

net/netfilter/nft_set_rbtree.c +4 -2
index 18c0d163dc76..bbced30113e4 100644

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

net/packet/af_packet.c +84 -2

86 lines not on this page · raw message

net/sched/act_ct.c +3 -1
index a59a8ad38721..4ea7a81707f3 100644

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

net/sctp/input.c +21 -25

46 lines not on this page · raw message

net/sctp/proc.c +4 -6
index 963b94517ec2..ec00ee75d59a 100644

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

net/sctp/socket.c +3 -3
index 79cf4cda2cf6..5053d813e91c 100644

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

net/smc/smc_core.c +17 -15
index ab9ecdd1af0a..0e9d22e9c760 100644

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

net/sunrpc/auth_gss/gss_krb5_keys.c +1 -1
index 726c076950c0..fc4639687c0f 100644

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

net/sunrpc/clnt.c +2 -1
index 196a3b11d150..86397f9c4bc8 100644

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

net/sunrpc/sched.c +3 -1
index a4c9d410eb8d..f4b1b7fee2c0 100644

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

net/sunrpc/xprtrdma/frwr_ops.c +5 -4
index bf3627dce552..2035d748d923 100644

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

net/sunrpc/xprtrdma/verbs.c +17 -3
index 9e9df38b29f7..9262c94a13c1 100644

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

net/sunrpc/xprtrdma/xprt_rdma.h +1 -1
index 702f0344523c..73c8ab89456b 100644

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

net/tipc/udp_media.c +4 -1
index 3e47501f024f..ec6d7730b852 100644

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

net/wireless/nl80211.c +7 -9
index 846e40dc00bb..9a6bbf24b0f7 100644

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

net/wireless/util.c +5 -3
index 4b32e85c2d9a..37719fc39f64 100644

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

samples/Kconfig +8 -0
index e76cdfc50e25..a98e89992a18 100644

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

samples/Makefile +1 -0
index c3392a595e4b..93e2d64bc9a7 100644

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

samples/fanotify/.gitignore new file +1 -0
new file mode 100644
index 000000000000..d74593e8b2de

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

samples/fanotify/Makefile new file +5 -0
new file mode 100644
index 000000000000..e20db1bdde3b

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

samples/fanotify/fs-monitor.c new file +142 -0

142 lines not on this page · raw message

scripts/gcc-x86_32-has-stack-protector.sh +1 -1
index 825c75c5b715..9459ca4f0f11 100755

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

scripts/gcc-x86_64-has-stack-protector.sh +1 -1
index 75e4e22b986a..f680bb01aeeb 100755

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

security/apparmor/lsm.c +7 -0
index 052f1b920e43..37aa1650c74e 100644

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

security/apparmor/policy.c +1 -1
index fcf22577f606..e59bdb750ef0 100644

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

security/apparmor/policy_unpack.c +1 -0
index 6c2a536173b5..93fcafdaa548 100644

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

security/keys/keyctl.c +1 -1
index e3ffaf5ad639..c283474ecea5 100644

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

sound/pci/hda/patch_hdmi.c +2 -0
index 0d1c6c4c1ee6..0ffab5541de8 100644

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

sound/pci/hda/patch_realtek.c +1 -0
index 28dbe8cbbffd..e8e9cfb4a935 100644

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

sound/soc/codecs/max98088.c +7 -3
index f8e49e45ce33..a71fbfddc29a 100644

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

sound/soc/codecs/wsa881x.c +1 -1
index 9f66f6dc2c67..77012979e131 100644

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

sound/soc/intel/common/soc-intel-quirks.h +1 -1
index de4e550c5b34..42bd51456b94 100644

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

sound/soc/pxa/spitz.c +23 -35

58 lines not on this page · raw message

sound/usb/line6/driver.c +5 -0
index f4437015d43a..9df49a880b75 100644

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

sound/usb/quirks-table.h +4 -0
index 97fe2fadcafb..8f2fb2ac7af6 100644

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

sound/usb/stream.c +2 -2
index f51e901a9689..0c77f244e5d6 100644

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

tools/lib/bpf/btf_dump.c +5 -3
index 61aa2c47fbd5..2342aec3c5a3 100644

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

tools/memory-model/lock.cat +10 -10
index 6b52f365d73a..9f3b5b38221b 100644

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

tools/perf/util/sort.c +1 -1
index 42806102010b..bbebb1e51b88 100644

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

tools/testing/selftests/bpf/prog_tests/send_signal.c +2 -1
index 75b72c751772..0b6349070824 100644

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

tools/testing/selftests/bpf/prog_tests/sk_lookup.c +1 -1
index b4c9f4a96ae4..95a1d3ee55a7 100644

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

tools/testing/selftests/bpf/progs/btf_dump_test_case_multidim.c +2 -2
index ba97165bdb28..a657651eba52 100644

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

tools/testing/selftests/bpf/progs/btf_dump_test_case_syntax.c +2 -2
index fe43556e1a61..956b24ce8145 100644

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

tools/testing/selftests/bpf/test_sockmap.c +3 -6
index 85d57633c8b6..61be5993416e 100644

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

tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_flower.sh +51 -4

55 lines not on this page · raw message

tools/testing/selftests/net/forwarding/devlink_lib.sh +2 -0
index 9c12c4fd3afc..6edfd207e324 100644

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

tools/testing/selftests/sigaltstack/current_stack_pointer.h +1 -1
index ea9bdf3a90b1..09da8f1011ce 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.