Skip to contentSkip to conversation

Linux 4.19.323

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Nov 8, 2024 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 4.19.323 kernel.

All users of the 4.19 kernel series must upgrade.

The updated 4.19.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.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

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

 .gitignore                                                    |    1 
 Documentation/IPMI.txt                                        |    2 
 Documentation/arm64/silicon-errata.txt                        |    2 
 Documentation/driver-model/devres.txt                         |    1 
 Makefile                                                      |    2 
 arch/arm/mach-realview/platsmp-dt.c                           |    1 
 arch/arm64/Kconfig                                            |    2 
 arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi                 |   23 
 arch/arm64/include/asm/cputype.h                              |    4 
 arch/arm64/include/asm/uprobes.h                              |   12 
 arch/arm64/kernel/cpu_errata.c                                |    2 
 arch/arm64/kernel/probes/decode-insn.c                        |   16 
 arch/arm64/kernel/probes/simulate-insn.c                      |   18 
 arch/arm64/kernel/probes/uprobes.c                            |    4 
 arch/microblaze/mm/init.c                                     |    5 
 arch/parisc/kernel/entry.S                                    |    6 
 arch/parisc/kernel/syscall.S                                  |   14 
 arch/riscv/Kconfig                                            |    5 
 arch/s390/include/asm/facility.h                              |    6 
 arch/s390/kernel/perf_cpum_sf.c                               |   12 
 arch/s390/kvm/diag.c                                          |    2 
 arch/s390/kvm/gaccess.c                                       |  162 ++-
 arch/s390/kvm/gaccess.h                                       |   14 
 arch/s390/mm/cmm.c                                            |   18 
 arch/x86/include/asm/cpufeatures.h                            |    3 
 arch/x86/kernel/apic/apic.c                                   |   14 
 arch/x86/kernel/cpu/mshyperv.c                                |    1 
 arch/x86/xen/setup.c                                          |    2 
 block/bfq-iosched.c                                           |   13 
 crypto/aead.c                                                 |    3 
 crypto/cipher.c                                               |    3 
 drivers/acpi/acpica/dbconvert.c                               |    2 
 drivers/acpi/acpica/exprep.c                                  |    3 
 drivers/acpi/acpica/psargs.c                                  |   47 +
 drivers/acpi/battery.c                                        |   28 
 drivers/acpi/button.c                                         |   11 
 drivers/acpi/device_sysfs.c                                   |    5 
 drivers/acpi/ec.c                                             |   55 +
 drivers/acpi/pmic/tps68470_pmic.c                             |    6 
 drivers/ata/sata_sil.c                                        |   12 
 drivers/base/bus.c                                            |    6 
 drivers/base/core.c                                           |   13 
 drivers/base/firmware_loader/main.c                           |   30 
 drivers/base/module.c                                         |    4 
 drivers/block/aoe/aoecmd.c                                    |   13 
 drivers/block/drbd/drbd_main.c                                |    6 
 drivers/block/drbd/drbd_state.c                               |    2 
 drivers/bluetooth/btusb.c                                     |   10 
 drivers/char/virtio_console.c                                 |   18 
 drivers/clk/bcm/clk-bcm53573-ilp.c                            |    2 
 drivers/clk/clk-devres.c                                      |  105 +-
 drivers/clk/rockchip/clk-rk3228.c                             |    2 
 drivers/clk/rockchip/clk.c                                    |    3 
 drivers/clk/ti/clk-dra7-atl.c                                 |    1 
 drivers/clocksource/timer-qcom.c                              |    7 
 drivers/firmware/arm_sdei.c                                   |    2 
 drivers/gpio/gpio-aspeed.c                                    |    4 
 drivers/gpio/gpio-davinci.c                                   |    8 
 drivers/gpio/gpiolib.c                                        |    3 
 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c                      |   15 
 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c                |   26 
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c             |    2 
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c        |    2 
 drivers/gpu/drm/amd/include/atombios.h                        |    4 
 drivers/gpu/drm/drm_crtc.c                                    |   17 
 drivers/gpu/drm/drm_print.c                                   |   13 
 drivers/gpu/drm/msm/adreno/a5xx_gpu.h                         |    1 
 drivers/gpu/drm/msm/adreno/a5xx_preempt.c                     |   26 
 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c                      |    2 
 drivers/gpu/drm/msm/dsi/dsi_host.c                            |    2 
 drivers/gpu/drm/radeon/atombios.h                             |    2 
 drivers/gpu/drm/radeon/evergreen_cs.c                         |   62 -
 drivers/gpu/drm/radeon/r100.c                                 |   70 -
 drivers/gpu/drm/radeon/radeon_atombios.c                      |   26 
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c                   |    4 
 drivers/gpu/drm/stm/drv.c                                     |    4 
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c                           |    1 
 drivers/hid/hid-ids.h                                         |    2 
 drivers/hid/hid-plantronics.c                                 |   23 
 drivers/hwmon/max16065.c                                      |    5 
 drivers/hwmon/ntc_thermistor.c                                |    1 
 drivers/hwtracing/coresight/coresight-tmc-etr.c               |    2 
 drivers/i2c/busses/i2c-aspeed.c                               |   16 
 drivers/i2c/busses/i2c-i801.c                                 |    9 
 drivers/i2c/busses/i2c-isch.c                                 |    3 
 drivers/i2c/busses/i2c-xiic.c                                 |   19 
 drivers/iio/adc/Kconfig                                       |    2 
 drivers/iio/common/hid-sensors/hid-sensor-trigger.c           |    2 
 drivers/iio/dac/Kconfig                                       |    1 
 drivers/iio/light/opt3001.c                                   |    4 
 drivers/iio/magnetometer/ak8975.c                             |   32 
 drivers/infiniband/core/iwcm.c                                |    2 
 drivers/infiniband/hw/bnxt_re/qplib_fp.h                      |    2 
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c                    |    2 
 drivers/infiniband/hw/cxgb4/cm.c                              |   14 
 drivers/input/keyboard/adp5589-keys.c                         |   13 
 drivers/input/rmi4/rmi_driver.c                               |    6 
 drivers/mailbox/bcm2835-mailbox.c                             |    3 
 drivers/mailbox/rockchip-mailbox.c                            |    2 
 drivers/media/common/videobuf2/videobuf2-core.c               |    8 
 drivers/media/dvb-frontends/rtl2830.c                         |    2 
 drivers/media/dvb-frontends/rtl2832.c                         |    2 
 drivers/media/platform/qcom/venus/core.c                      |    1 
 drivers/misc/sgi-gru/grukservices.c                           |    2 
 drivers/misc/sgi-gru/grumain.c                                |    4 
 drivers/misc/sgi-gru/grutlbpurge.c                            |    2 
 drivers/mtd/devices/slram.c                                   |    2 
 drivers/net/dsa/mv88e6xxx/global1_atu.c                       |    3 
 drivers/net/ethernet/aeroflex/greth.c                         |    3 
 drivers/net/ethernet/amd/mvme147.c                            |    7 
 drivers/net/ethernet/broadcom/bcmsysport.c                    |    1 
 drivers/net/ethernet/cortina/gemini.c                         |   15 
 drivers/net/ethernet/emulex/benet/be_main.c                   |   10 
 drivers/net/ethernet/faraday/ftgmac100.c                      |   26 
 drivers/net/ethernet/faraday/ftgmac100.h                      |    2 
 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c                |    9 
 drivers/net/ethernet/hisilicon/hip04_eth.c                    |    1 
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c             |    1 
 drivers/net/ethernet/hisilicon/hns_mdio.c                     |    1 
 drivers/net/ethernet/i825xx/sun3_82586.c                      |    1 
 drivers/net/ethernet/ibm/emac/mal.c                           |    2 
 drivers/net/ethernet/intel/igb/igb_main.c                     |    4 
 drivers/net/ethernet/jme.c                                    |   10 
 drivers/net/ethernet/lantiq_etop.c                            |    4 
 drivers/net/ethernet/marvell/mvpp2/mvpp2.h                    |    2 
 drivers/net/ethernet/mellanox/mlx5/core/main.c                |    2 
 drivers/net/ethernet/seeq/ether3.c                            |    2 
 drivers/net/gtp.c                                             |   27 
 drivers/net/hyperv/netvsc_drv.c                               |   30 
 drivers/net/macsec.c                                          |   18 
 drivers/net/phy/vitesse.c                                     |   14 
 drivers/net/ppp/ppp_async.c                                   |    2 
 drivers/net/usb/cdc_ncm.c                                     |    8 
 drivers/net/usb/ipheth.c                                      |    5 
 drivers/net/usb/r8152.c                                       |   73 -
 drivers/net/usb/usbnet.c                                      |    3 
 drivers/net/wireless/ath/ath10k/wmi-tlv.c                     |    7 
 drivers/net/wireless/ath/ath10k/wmi.c                         |    2 
 drivers/net/wireless/ath/ath9k/debug.c                        |    6 
 drivers/net/wireless/ath/ath9k/hif_usb.c                      |    6 
 drivers/net/wireless/ath/ath9k/htc_drv_debug.c                |    2 
 drivers/net/wireless/intel/iwlegacy/common.c                  |    2 
 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c             |    9 
 drivers/net/wireless/intel/iwlwifi/mvm/scan.c                 |    8 
 drivers/net/wireless/marvell/mwifiex/fw.h                     |    2 
 drivers/net/wireless/marvell/mwifiex/scan.c                   |    3 
 drivers/ntb/hw/intel/ntb_hw_gen1.c                            |    2 
 drivers/of/irq.c                                              |   38 
 drivers/parport/procfs.c                                      |   22 
 drivers/pci/controller/pcie-xilinx-nwl.c                      |   24 
 drivers/pci/quirks.c                                          |    6 
 drivers/pinctrl/mvebu/pinctrl-dove.c                          |   42 
 drivers/pinctrl/pinctrl-at91.c                                |    5 
 drivers/pinctrl/pinctrl-single.c                              |    3 
 drivers/power/reset/brcmstb-reboot.c                          |    3 
 drivers/power/supply/max17042_battery.c                       |    5 
 drivers/pps/clients/pps_parport.c                             |   14 
 drivers/reset/reset-berlin.c                                  |    3 
 drivers/rtc/Kconfig                                           |    2 
 drivers/rtc/rtc-at91sam9.c                                    |   45 
 drivers/s390/char/sclp_vt220.c                                |    4 
 drivers/scsi/aacraid/aacraid.h                                |    2 
 drivers/soc/versatile/soc-integrator.c                        |    1 
 drivers/soc/versatile/soc-realview.c                          |   20 
 drivers/soundwire/stream.c                                    |    8 
 drivers/spi/spi-bcm63xx.c                                     |    2 
 drivers/spi/spi-ppc4xx.c                                      |    7 
 drivers/spi/spi-s3c64xx.c                                     |    4 
 drivers/staging/iio/frequency/ad9834.c                        |   54 -
 drivers/staging/iio/frequency/ad9834.h                        |   28 
 drivers/tty/serial/rp2.c                                      |    2 
 drivers/tty/vt/vt.c                                           |    2 
 drivers/usb/chipidea/udc.c                                    |    8 
 drivers/usb/dwc3/core.c                                       |   49 -
 drivers/usb/dwc3/core.h                                       |   11 
 drivers/usb/dwc3/gadget.c                                     |   11 
 drivers/usb/host/xhci-pci.c                                   |    5 
 drivers/usb/host/xhci-ring.c                                  |   16 
 drivers/usb/host/xhci.h                                       |    2 
 drivers/usb/misc/appledisplay.c                               |   15 
 drivers/usb/misc/cypress_cy7c63.c                             |    4 
 drivers/usb/misc/yurex.c                                      |    5 
 drivers/usb/phy/phy.c                                         |    2 
 drivers/usb/serial/option.c                                   |    8 
 drivers/usb/serial/pl2303.c                                   |    1 
 drivers/usb/serial/pl2303.h                                   |    4 
 drivers/usb/storage/unusual_devs.h                            |   11 
 drivers/usb/typec/class.c                                     |    3 
 drivers/video/fbdev/hpfb.c                                    |    1 
 drivers/video/fbdev/pxafb.c                                   |    1 
 drivers/video/fbdev/sis/sis_main.c                            |    2 
 drivers/xen/swiotlb-xen.c                                     |   34 
 fs/btrfs/disk-io.c                                            |   11 
 fs/ceph/addr.c                                                |    1 
 fs/ext4/ext4.h                                                |    1 
 fs/ext4/extents.c                                             |   70 +
 fs/ext4/ialloc.c                                              |    2 
 fs/ext4/inline.c                                              |   35 
 fs/ext4/inode.c                                               |   11 
 fs/ext4/mballoc.c                                             |   10 
 fs/ext4/migrate.c                                             |    2 
 fs/ext4/move_extent.c                                         |    1 
 fs/ext4/namei.c                                               |   14 
 fs/ext4/xattr.c                                               |    4 
 fs/f2fs/acl.c                                                 |   23 
 fs/f2fs/dir.c                                                 |    3 
 fs/f2fs/f2fs.h                                                |    4 
 fs/f2fs/file.c                                                |   24 
 fs/f2fs/super.c                                               |    4 
 fs/f2fs/xattr.c                                               |   27 
 fs/fat/namei_vfat.c                                           |    2 
 fs/fcntl.c                                                    |   14 
 fs/inode.c                                                    |    4 
 fs/jbd2/checkpoint.c                                          |   14 
 fs/jbd2/commit.c                                              |   36 
 fs/jbd2/journal.c                                             |    2 
 fs/jfs/jfs_discard.c                                          |   11 
 fs/jfs/jfs_dmap.c                                             |   11 
 fs/jfs/jfs_imap.c                                             |    2 
 fs/jfs/xattr.c                                                |    2 
 fs/lockd/clnt4xdr.c                                           |   14 
 fs/lockd/clntxdr.c                                            |   14 
 fs/nfs/callback_xdr.c                                         |   61 -
 fs/nfs/nfs2xdr.c                                              |   84 -
 fs/nfs/nfs3xdr.c                                              |  163 +--
 fs/nfs/nfs42xdr.c                                             |   21 
 fs/nfs/nfs4state.c                                            |    1 
 fs/nfs/nfs4xdr.c                                              |  451 ++--------
 fs/nfsd/nfs4callback.c                                        |   13 
 fs/nfsd/nfs4idmap.c                                           |   13 
 fs/nfsd/nfs4state.c                                           |   15 
 fs/nilfs2/btree.c                                             |   12 
 fs/nilfs2/dir.c                                               |   50 -
 fs/nilfs2/namei.c                                             |   42 
 fs/nilfs2/nilfs.h                                             |    2 
 fs/nilfs2/page.c                                              |    7 
 fs/ocfs2/aops.c                                               |    5 
 fs/ocfs2/buffer_head_io.c                                     |    4 
 fs/ocfs2/file.c                                               |    8 
 fs/ocfs2/journal.c                                            |    7 
 fs/ocfs2/localalloc.c                                         |   19 
 fs/ocfs2/quota_local.c                                        |    8 
 fs/ocfs2/refcounttree.c                                       |   26 
 fs/ocfs2/xattr.c                                              |   38 
 fs/udf/inode.c                                                |    9 
 include/drm/drm_print.h                                       |   54 +
 include/linux/clk.h                                           |  145 +++
 include/linux/jbd2.h                                          |    4 
 include/linux/pci_ids.h                                       |    2 
 include/net/sock.h                                            |    2 
 include/net/tcp.h                                             |   27 
 include/trace/events/f2fs.h                                   |    3 
 include/trace/events/sched.h                                  |   84 +
 include/uapi/linux/cec.h                                      |    6 
 include/uapi/linux/netfilter/nf_tables.h                      |    2 
 kernel/bpf/arraymap.c                                         |    3 
 kernel/bpf/hashtab.c                                          |    3 
 kernel/bpf/lpm_trie.c                                         |    2 
 kernel/cgroup/cgroup.c                                        |    4 
 kernel/events/core.c                                          |    6 
 kernel/events/uprobes.c                                       |    2 
 kernel/kthread.c                                              |   19 
 kernel/signal.c                                               |   11 
 kernel/time/posix-clock.c                                     |    3 
 kernel/trace/trace_output.c                                   |    6 
 lib/xz/xz_crc32.c                                             |    2 
 lib/xz/xz_private.h                                           |    4 
 mm/shmem.c                                                    |    2 
 net/bluetooth/af_bluetooth.c                                  |    1 
 net/bluetooth/bnep/core.c                                     |    3 
 net/bluetooth/rfcomm/sock.c                                   |    2 
 net/bridge/br_netfilter_hooks.c                               |    5 
 net/can/bcm.c                                                 |    4 
 net/core/dev.c                                                |   29 
 net/ipv4/devinet.c                                            |    6 
 net/ipv4/fib_frontend.c                                       |    2 
 net/ipv4/ip_gre.c                                             |    6 
 net/ipv4/netfilter/nf_dup_ipv4.c                              |    7 
 net/ipv4/tcp_input.c                                          |   24 
 net/ipv4/tcp_ipv4.c                                           |    5 
 net/ipv4/tcp_output.c                                         |    2 
 net/ipv4/tcp_rate.c                                           |   15 
 net/ipv4/tcp_recovery.c                                       |    5 
 net/ipv6/addrconf.c                                           |    8 
 net/ipv6/netfilter/nf_dup_ipv6.c                              |    7 
 net/ipv6/netfilter/nf_reject_ipv6.c                           |   14 
 net/mac80211/cfg.c                                            |    3 
 net/mac80211/iface.c                                          |   17 
 net/mac80211/key.c                                            |   42 
 net/netfilter/nf_conntrack_netlink.c                          |    7 
 net/netfilter/nf_tables_api.c                                 |    2 
 net/netfilter/nft_payload.c                                   |    3 
 net/netlink/af_netlink.c                                      |    3 
 net/qrtr/qrtr.c                                               |    2 
 net/sched/sch_api.c                                           |    2 
 net/sctp/socket.c                                             |    4 
 net/tipc/bearer.c                                             |    8 
 net/wireless/nl80211.c                                        |    3 
 net/wireless/scan.c                                           |    6 
 net/wireless/sme.c                                            |    3 
 net/xfrm/xfrm_user.c                                          |    6 
 scripts/kconfig/merge_config.sh                               |    2 
 security/selinux/selinuxfs.c                                  |   31 
 security/smack/smackfs.c                                      |    2 
 security/tomoyo/domain.c                                      |    9 
 sound/core/init.c                                             |   14 
 sound/pci/asihpi/hpimsgx.c                                    |    2 
 sound/pci/hda/hda_generic.c                                   |    4 
 sound/pci/hda/patch_conexant.c                                |   24 
 sound/pci/hda/patch_realtek.c                                 |   38 
 sound/pci/rme9652/hdsp.c                                      |    6 
 sound/pci/rme9652/hdspm.c                                     |    6 
 sound/soc/au1x/db1200.c                                       |    1 
 sound/soc/codecs/tda7419.c                                    |    1 
 tools/iio/iio_generic_buffer.c                                |    4 
 tools/perf/builtin-sched.c                                    |    8 
 tools/perf/util/time-utils.c                                  |    4 
 tools/testing/ktest/ktest.pl                                  |    2 
 tools/testing/selftests/bpf/test_lru_map.c                    |    3 
 tools/testing/selftests/breakpoints/step_after_suspend_test.c |    5 
 tools/testing/selftests/kcmp/kcmp_test.c                      |    1 
 tools/testing/selftests/vDSO/parse_vdso.c                     |    3 
 tools/testing/selftests/vm/compaction_test.c                  |    2 
 tools/usb/usbip/src/usbip_detach.c                            |    1 
 virt/kvm/kvm_main.c                                           |    5 
 325 files changed, 2608 insertions(+), 1776 deletions(-)

Aaron Thompson (1):
Bluetooth: Remove debugfs directory on module init failure

Aleksander Jan Bajkowski (1):
net: ethernet: lantiq_etop: fix memory disclosure

Aleksandr Mishin (2):
staging: iio: frequency: ad9834: Validate frequency parameter value
ACPI: PMIC: Remove unneeded check in tps68470_pmic_opregion_probe()

Aleksandrs Vinarskis (1):
ACPICA: iasl: handle empty connection_node

Alex Bee (1):
drm/rockchip: vop: Allow 4096px width scaling

Alex Deucher (2):
drm/amdgpu: properly handle vbios fake edid sizing drm/radeon: properly handle vbios fake edid sizing

Alex Hung (1):
drm/amd/display: Check stream before comparing them

Alex Williamson (1):
PCI: Mark Creative Labs EMU20k2 INTx masking as broken

Alexandre Belloni (1):
rtc: at91sam9: drop platform_data support

Anastasia Kovaleva (1):
net: Fix an unsafe loop on the list

Anders Roxell (1):
scripts: kconfig: merge_config: config files: add a trailing newline

Andrew Davis (1):
power: reset: brcmstb: Do not go into infinite loop if reset fails

Andrew Jones (1):
of/irq: Support #msi-cells=<0> in of_msi_get_domain

Andrey Shumilin (1):
fbdev: sisfb: Fix strbuf array overflow

Andrey Skvortsov (1):
clk: Fix slab-out-of-bounds error in devm_clk_release()

Andy Roulin (1):
netfilter: br_netfilter: fix panic with metadata_dst skb

Andy Shevchenko (2):
spi: ppc4xx: Avoid returning 0 when failed to parse and map IRQ
i2c: isch: Add missed 'else'

Ankit Agrawal (1):
clocksource/drivers/qcom: Add missing iounmap() on errors in msm_dt_timer_init()

Anshuman Khandual (1):
arm64: Add Cortex-715 CPU part definition

Anton Danilov (1):
ipv4: ip_gre: Fix drops of small packets in ipgre_xmit

Anumula Murali Mohan Reddy (1):
RDMA/cxgb4: Fix RDMA_CM_EVENT_UNREACHABLE error for iWARP

Armin Wolf (4):
ACPICA: Fix memory leak if acpi_ps_get_next_namepath() fails
ACPICA: Fix memory leak if acpi_ps_get_next_field() fails
ACPI: battery: Simplify battery hook locking
ACPI: battery: Fix possible crash when unregistering a battery hook

Arnd Bergmann (1):
nfsd: use ktime_get_seconds() for timestamps

Artem Sadovnikov (1):
ext4: fix i_data_sem unlock order in ext4_ind_migrate()

Artur Weber (1):
power: supply: max17042_battery: Fix SOC threshold calc w/ no current sense

Baokun Li (6):
ext4: propagate errors from ext4_find_extent() in ext4_insert_range()
ext4: aovid use-after-free in ext4_ext_insert_extent()
ext4: fix double brelse() the buffer of the extents path
jbd2: stop waiting for space when jbd2_cleanup_journal_tail() returns error
ext4: fix slab-use-after-free in ext4_split_extent_at()
ext4: update orig_path in ext4_find_extent()

Barnabás Czémán (1):
iio: magnetometer: ak8975: Fix reading for ak099xx sensors

Ben Dooks (1):
spi: s3c64xx: fix timeout counters in flush_fifo

Beniamin Bia (2):
staging: iio: frequency: ad9833: Get frequency value statically
staging: iio: frequency: ad9833: Load clock using clock framework

Benjamin B. Frost (1):
USB: serial: option: add support for Quectel EG916Q-GL

Benoît Monin (1):
net: skip offload for NETIF_F_IPV6_CSUM if ipv6 header contains extension

Billy Tsai (2):
gpio: aspeed: Add the flush write to ensure the write complete.
gpio: aspeed: Use devm_clk api to manage clock source

Breno Leitao (1):
KVM: Fix a data race on last_boosted_vcpu in kvm_vcpu_on_spin()

Byeonguk Jeong (1):
bpf: Fix out-of-bounds write in trie_get_next_key()

Chao Yu (4):
f2fs: enhance to update i_mode and acl atomically in f2fs_setattr()
f2fs: fix to update i_ctime in __f2fs_setxattr()
f2fs: remove unneeded check condition in __f2fs_setxattr()
f2fs: reduce expensive checkpoint trigger frequency

Chen Yu (1):
kthread: fix task state in kthread worker if being frozen

Christophe JAILLET (5):
fbdev: hpfb: Fix an error handling path in hpfb_dio_probe() drm/stm: Fix an error handling path in stm_drm_platform_probe()
pps: remove usage of the deprecated ida_simple_xx() API
iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency()
gtp: simplify error handling code in 'gtp_encap_enable()'

Christophe Leroy (1):
selftests: vDSO: fix vDSO symbols lookup for powerpc64

Chuck Lever (1):
NFS: Remove print_overflow_msg()

Chun-Yi Lee (1):
aoe: fix the potential use-after-free problem in more places

Damien Le Moal (1):
ata: sata_sil: Rename sil_blacklist to sil_quirks

Dan Carpenter (1):
SUNRPC: Fix integer overflow in decode_rc_list()

Daniel Gabay (1):
wifi: iwlwifi: mvm: fix iwl_mvm_max_scan_ie_fw_cmd_room()

Daniel Jordan (1):
ktest.pl: Avoid false positives with grub2 skip regex

Daniel Palmer (1):
net: amd: mvme147: Fix probe banner message

Daniele Palmas (1):
USB: serial: option: add Telit FN920C04 MBIM compositions

Dave Kleikamp (1):
jfs: Fix sanity check in dbMount

David Lechner (1):
clk: ti: dra7-atl: Fix leak of of_nodes

Dimitri Sivanich (1):
misc: sgi-gru: Don't disable preemption in GRU driver

Dmitry Antipov (3):
wifi: cfg80211: fix UBSAN noise in cfg80211_wext_siwscan()
wifi: cfg80211: fix two more possible UBSAN-detected off-by-one errors
wifi: mac80211: use two-phase skb reclamation in ieee80211_do_stop()

Dmitry Kandybka (1):
wifi: ath9k: fix possible integer overflow in ath9k_get_et_stats()

Edward Adam Davis (4):
jfs: Fix uaf in dbFreeBits
jfs: check if leafidx greater than num leaves per dmap tree
ext4: no need to continue when the number of entries is 1
ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow

Emanuele Ghidoli (1):
gpio: davinci: fix lazy disable

Emil Gedenryd (1):
iio: light: opt3001: add missing full-scale range value

Emmanuel Grumbach (1):
wifi: iwlwifi: mvm: don't wait for tx queues if firmware is dead

Eran Ben Elisha (1):
net/mlx5: Update the list of the PCI supported devices

Eric Dumazet (6):
netfilter: nf_reject_ipv6: fix nf_reject_ip6_tcphdr_put()
tcp: introduce tcp_skb_timestamp_us() helper
netfilter: nf_tables: prevent nf_skb_duplicated corruption
net: avoid potential underflow in qdisc_pkt_len_init() with UFO
net: add more sanity checks to qdisc_pkt_len_init()
ppp: fix ppp_async_encode() illegal access

Faisal Hassan (1):
xhci: Fix Link TRB DMA in command ring stopped completion event

Felix Fietkau (2):
wifi: mac80211: skip non-uploaded keys in ieee80211_iter_keys
wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower

Ferry Meng (2):
ocfs2: add bounds checking to ocfs2_xattr_find_entry()
ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()

Filipe Manana (1):
btrfs: wait for fixup workers before stopping cleaner kthread during umount

Florian Fainelli (1):
tty: rp2: Fix reset with non forgiving PCIe host bridges

Foster Snowhill (1):
usbnet: ipheth: fix carrier detection in modes 1 and 4

Gautham Ananthakrishna (1):
ocfs2: reserve space for inline xattr before attaching reflink tree

Geert Uytterhoeven (2):
drm/radeon/r100: Handle unknown family in r100_cp_init_microcode() of/irq: Refer to actual buffer size in of_irq_parse_one()

Gerald Schaefer (1):
s390/mm: Add cond_resched() to cmm_alloc/free_pages()

Gianfranco Trad (1):
udf: fix uninit-value use in udf_get_fileshortad

Greg Kroah-Hartman (2):
Revert "driver core: Fix uevent_show() vs driver detach race" Linux 4.19.323

Guenter Roeck (1):
hwmon: (max16065) Fix overflows seen when writing limits

Guoqing Jiang (1):
nfsd: call cache_put if xdr_reserve_space returns NULL

Gustavo A. R. Silva (1):
wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_cmd_802_11_scan_ext()

Hagar Hemdan (1):
gpio: prevent potential speculation leaks in gpio_device_get_desc()

Hailey Mothershead (1):
crypto: aead,cipher - zeroize key buffer after use

Haiyang Zhang (1):
hv_netvsc: Fix VF namespace also in synthetic NIC NETDEV_REGISTER event

Hans Verkuil (1):
media: uapi/linux/cec.h: cec_msg_set_reply_to: zero flags

Hans de Goede (1):
i2c: i801: Use a different adapter-name for IDF adapters

Harshit Mogalapalli (1):
usb: yurex: Fix inconsistent locking bug in yurex_read()

Heiko Carstens (1):
s390/facility: Disable compile time optimization for decompressor code

Helge Deller (2):
parisc: Fix itlb miss handler for 64-bit programs
parisc: Fix 64-bit userspace syscall path

Heming Zhao (1):
ocfs2: fix the la space leak when unmounting an ocfs2 volume

Hongbo Li (1):
ASoC: allow module autoloading for table db1200_pids

Ian Rogers (1):
perf time-utils: Fix 32-bit nsec parsing

Icenowy Zheng (1):
usb: storage: ignore bogus device raised by JieLi BR21 USB sound chip

Ido Schimmel (1):
ipv4: Mask upper DSCP bits and ECN bits in NETLINK_FIB_LOOKUP family

Jacky Chou (2):
net: ftgmac100: Enable TX interrupt to avoid TX timeout
net: ftgmac100: Ensure tx descriptor updates are visible

Janis Schoetterl-Glausch (3):
KVM: s390: gaccess: Refactor gpa and length calculation
KVM: s390: gaccess: Refactor access address range check
KVM: s390: gaccess: Cleanup access to guest pages

Jann Horn (2):
firmware_loader: Block path traversal
f2fs: Require FMODE_WRITE for atomic write ioctls

Jaroslav Kysela (1):
ALSA: core: add isascii() check to card ID generator

Jason Xing (1):
tcp: avoid reusing FIN_WAIT2 when trying to find port in connect() process

Javier Carrasco (2):
iio: dac: stm32-dac-core: add missing select REGMAP_MMIO in Kconfig
iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig

Jeongjun Park (3):
jfs: fix out-of-bounds in dbNextAG() and diAlloc()
mm: shmem: fix data-race in shmem_getattr()
vt: prevent kernel-infoleak in con_font_get()

Jiawei Ye (1):
smackfs: Use rcu_assign_pointer() to ensure safe assignment in smk_set_cipso

Jim Mattson (1):
x86/cpufeatures: Define X86_FEATURE_AMD_IBPB_RET

Jinjie Ruan (4):
ntb: intel: Fix the NULL vs IS_ERR() bug for debugfs_create_dir()
spi: bcm63xx: Fix module autoloading
posix-clock: Fix missing timespec64 check in pc_clock_settime()
posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime()

Jisheng Zhang (1):
riscv: define ILLEGAL_POINTER_VALUE for 64bit

Jonas Karlman (1):
clk: rockchip: Set parent rate for DCLK_VOP clock on RK3228

Jonathan Marek (1):
drm/msm/dsi: fix 32-bit signed integer extension in pclk_rate calculation

Jose Alberto Reguero (1):
usb: xhci: Fix problem with xhci resume from suspend

Joseph Huang (1):
net: dsa: mv88e6xxx: Fix out-of-bound access

Joseph Qi (2):
ocfs2: fix uninit-value in ocfs2_get_block()
ocfs2: cancel dqi_sync_work before freeing oinfo

Josh Hunt (1):
tcp: check skb is non-NULL in tcp_rto_delta_us()

Juergen Gross (3):
xen: use correct end address of kernel for conflict checking xen/swiotlb: simplify range_straddles_page_boundary() xen/swiotlb: add alignment check for dma buffers

Julian Sun (2):
vfs: fix race between evice_inodes() and find_inode()&iput()
ocfs2: fix null-ptr-deref when journal load failed.

Junhao Xie (1):
USB: serial: pl2303: add device id for Macrosilicon MS3020

Junlin Li (2):
drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error
drivers: media: dvb-frontends/rtl2830: fix an out-of-bounds write error

Kailang Yang (1):
ALSA: hda/realtek: Update default depop procedure

Kaixin Wang (2):
net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition
fbdev: pxafb: Fix possible use after free in pxafb_task()

Kalesh AP (1):
RDMA/bnxt_re: Return more meaningful error

Kees Cook (1):
scsi: aacraid: Rearrange order of struct aac_srb_unit

Kemeng Shi (1):
ext4: avoid negative min_clusters in find_group_orlov()

Krzysztof Kozlowski (11):
soundwire: stream: Revert "soundwire: stream: fix programming slave ports for non-continous port maps"
ARM: versatile: fix OF node leak in CPUs prepare
reset: berlin: fix OF node leak in probe() error path
soc: versatile: integrator: fix OF node leak in probe() error path
soc: versatile: realview: fix memory leak during device remove
soc: versatile: realview: fix soc_dev leak during device remove
net: hisilicon: hip04: fix OF node leak in probe()
net: hisilicon: hns_dsaf_mac: fix OF node leak in hns_mac_get_info()
net: hisilicon: hns_mdio: fix OF node leak in probe()
rtc: at91sam9: fix OF node leak in probe() error path
clk: bcm: bcm53573: fix OF node leak in init

Kuniyuki Iwashima (2):
can: bcm: Clear bo->bcm_proc_read after remove_proc_entry().
ipv4: Check !in_dev earlier for ioctl(SIOCSIFADDR).

Lasse Collin (1):
xz: cleanup CRC32 edits from 2018

Laurent Pinchart (1):
Remove *.orig pattern from .gitignore

Lee Jones (1):
usb: yurex: Replace snprintf() with the safer scnprintf() variant

Li Lingfeng (1):
nfs: fix memory leak in error path of nfs4_do_reclaim

Liao Chen (3):
ASoC: tda7419: fix module autoloading
spi: bcm63xx: Enable module autoloading
mailbox: rockchip: fix a typo in module autoloading

Linus Walleij (1):
net: ethernet: cortina: Drop TSO support

Lizhi Xu (2):
ocfs2: remove unreasonable unlock in ocfs2_read_blocks
ocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate

Luis Henriques (SUSE) (2):
ext4: fix incorrect tid assumption in __jbd2_log_wait_for_space()
ext4: fix incorrect tid assumption in ext4_wait_for_tail_page_commit()

Luiz Augusto von Dentz (3):
Bluetooth: btusb: Fix not handling ZPL/short-transfer
Bluetooth: RFCOMM: FIX possible deadlock in rfcomm_sk_state_change
Bluetooth: btusb: Fix regression with fake CSR controllers 0a12:0001

Luo Gengkun (1):
perf/core: Fix small negative period being ignored

Ma Ke (2):
spi: ppc4xx: handle irq_of_parse_and_map() errors
pps: add an error check in parport_attach

Manikanta Pubbisetty (1):
wifi: ath10k: Fix memory leak in management tx

Marek Szyprowski (1):
usb: dwc3: remove generic PHY calibrate() calls

Mario Limonciello (1):
drm/amd: Guard against bad data for ATIF ACPI method

Mark Rutland (5):
arm64: cputype: Add Neoverse-N3 definitions
arm64: errata: Expand speculative SSBS workaround once more
arm64: probes: Remove broken LDR (literal) uprobe support
arm64: probes: Fix simulate_ldr*_literal()
arm64: probes: Fix uprobes for big-endian kernels

Mathias Krause (1):
Input: synaptics-rmi4 - fix UAF of IRQ domain on driver removal

Mathias Nyman (1):
xhci: Fix incorrect stream context type macro

Matteo Croce (1):
drm/amd: fix typo

Matthew Brost (1):
drm/printer: Allow NULL data in devcoredump printer

Mauricio Faria de Oliveira (1):
jbd2: introduce/export functions jbd2_journal_submit|finish_inode_data_buffers()

Michael Kelley (1):
x86/hyperv: Set X86_FEATURE_TSC_KNOWN_FREQ when Hyper-V provides frequency

Michael Mueller (1):

      KVM: s390: Change virtual to physical address access in diag 0x258 handler

Michael S. Tsirkin (1):
virtio_console: fix misc probe bugs

Mickaël Salaün (1):
fs: Fix file_set_fowner LSM hook inconsistencies

Mike Rapoport (1):
microblaze: don't treat zero reserved memory regions as error

Mikhail Lobanov (2):
RDMA/cxgb4: Added NULL check for lookup_atid
drbd: Add NULL check for net_conf to prevent dereference in state validation

Minjie Du (1):
wifi: ath9k: fix parameter check in ath9k_init_debug()

Mirsad Todorovac (1):
mtd: slram: insert break after errors in parsing the map

Mohamed Khalfella (1):
igb: Do not bring the device up after non-fatal error

Moon Yeounsu (1):
net: ethernet: use ip_hdrlen() instead of bit shift

Neal Cardwell (1):
tcp: fix tcp_enter_recovery() to zero retrans_stamp when it's safe

NeilBrown (1):
nfsd: fix delegation_blocked() to block correctly for at least 30 seconds

Nico Boehr (1):
KVM: s390: gaccess: Check if guest address is in memslot

Nikita Zhandarovich (3):
drm/radeon/evergreen_cs: fix int overflow errors in cs track offsets
f2fs: prevent possible int overflow in dir_block_index()
f2fs: avoid potential int overflow in sanity_check_area_boundary()

Nikolay Kuratov (1):
drm/vmwgfx: Handle surface check failure correctly

Nuno Sa (1):

      Input: adp5589-keys - fix adp5589_gpio_get_value()

OGAWA Hirofumi (1):
fat: fix uninitialized variable

Oleg Nesterov (1):
uprobes: fix kernel info leak via "[uprobes]" vma

Oliver Neukum (6):
USB: appledisplay: close race between probe and completion handler
USB: misc: cypress_cy7c63: check for short transfer
USB: misc: yurex: fix race between read and write
CDC-NCM: avoid overflow in sanity checking
Revert "usb: yurex: Replace snprintf() with the safer scnprintf() variant"
net: usb: usbnet: fix name regression

Pablo Neira Ayuso (3):
netfilter: nf_tables: elements with timeout below CONFIG_HZ never expire
gtp: allow -1 to be specified as file description from userspace
netfilter: nft_payload: sanitize offset and length before calling skb_checksum()

Paul Moore (1):
selinux: improve error checking in sel_write_load()

Paulo Miguel Almeida (2):
drm/amdgpu: Replace one-element array with flexible-array member drm/radeon: Replace one-element array with flexible-array member

Pawel Dembicki (1):
net: phy: vitesse: repair vsc73xx autonegotiation

Pedro Tammela (1):
net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT

Pei Xiao (1):
ACPICA: check null return of ACPI_ALLOCATE_ZEROED() in acpi_db_convert_to_package()

Phil Edworthy (1):
clk: Add (devm_)clk_get_optional() functions

Phil Sutter (1):
netfilter: uapi: NFTA_FLOWTABLE_HOOK is NLA_NESTED

Prashant Malani (1):
r8152: Factor out OOB link list waits

Qiu-ji Chen (1):
drbd: Fix atomicity violation in drbd_uuid_set_bm()

Quentin Schulz (1):
arm64: dts: rockchip: override BIOS_DISABLE signal via GPIO hog on RK3399 Puma

Rafael J. Wysocki (1):
ACPI: EC: Do not release locks during operation region accesses

Remington Brasga (1):
jfs: UBSAN: shift-out-of-bounds in dbFindBits

Rob Clark (2):
kthread: add kthread_work tracepoints drm/crtc: fix uninitialized variable use even harder

Robert Hancock (1):
i2c: xiic: Wait for TX empty to avoid missed TX NAKs

Rosen Penev (1):
net: ibm: emac: mal: fix wrong goto

Ryusuke Konishi (7):
nilfs2: fix potential null-ptr-deref in nilfs_btree_insert()
nilfs2: determine empty node blocks as corrupted
nilfs2: fix potential oob read in nilfs_btree_check_delete()
nilfs2: propagate directory read errors from nilfs_find_entry()
nilfs2: fix kernel bug due to missing clearing of buffer delay flag
nilfs2: fix potential deadlock with newly created symlinks
nilfs2: fix kernel bug due to missing clearing of checked flag

Sabrina Dubroca (2):
macsec: don't increment counters for an unrelated SA
xfrm: validate new SA's prefixlen using SA family when sel.family is unset

Samasth Norway Ananda (2):
selftests/vm: remove call to ksft_set_plan() selftests/kcmp: remove call to ksft_set_plan()

Saravanan Vajravel (1):
RDMA/bnxt_re: Fix incorrect AVID type in WQE structure

Sean Anderson (3):
net: dpaa: Pad packets to ETH_ZLEN
PCI: xilinx-nwl: Fix register misspelling
PCI: xilinx-nwl: Fix off-by-one in INTx IRQ handler

Sean Paul (1):
drm: Move drm_mode_setcrtc() local re-init to failure path

Sebastian Reichel (1):
clk: rockchip: fix error for unknown clocks

Selvarasu Ganesan (1):
usb: dwc3: core: Stop processing of pending events if controller is halted

Sherry Yang (1):
drm/msm: fix %s null argument error

Shubham Panwar (1):
ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix initial lid detection issue

Simon Horman (3):
netfilter: ctnetlink: compile ctnetlink_label_size with CONFIG_NF_CONNTRACK_EVENTS
tipc: guard against string buffer overrun
net: mvpp2: Increase size of queue_name buffer

Srinivasan Shanmugam (1):
drm/amd/display: Fix index out of bounds in degamma hardware format translation

Stefan Wahren (1):
mailbox: bcm2835: Fix timeout during suspend mode

Steven Rostedt (Google) (1):
tracing: Remove precision vsnprintf() check from print event

Suzuki K Poulose (1):
coresight: tmc: sg: Do not leak sg_table

Takashi Iwai (5):
ALSA: hda/generic: Unconditionally prefer preferred_dacs pairs
ALSA: hda/conexant: Fix conflicting quirk for System76 Pangolin
ALSA: asihpi: Fix potential OOB array access
ALSA: hdsp: Break infinite MIDI input flush loop
parport: Proper fix for array out-of-bounds access

Tao Chen (1):
bpf: Check percpu map value size first

Tetsuo Handa (1):
tomoyo: fallback to realpath if symlink's pathname does not exist

Thadeu Lima de Souza Cascardo (4):
ext4: return error on ext4_find_inline_entry
ext4: avoid OOB when system.data xattr changes underneath the filesystem
ext4: ext4_search_dir should return a proper error
usb: typec: altmode should keep reference to parent

Theodore Ts'o (1):
ext4: avoid ext4_error()'s caused by ENOMEM in the truncate path

Thomas Blocher (1):
pinctrl: at91: make it work with current gpiolib

Thomas Gleixner (2):
PCI: xilinx-nwl: Use irq_data_get_irq_chip_data()
signal: Replace BUG_ON()s

Thomas Richter (1):
s390/cpum_sf: Remove WARN_ON_ONCE statements

Thomas Weißschuh (2):
ACPI: sysfs: validate return type of _STR method s390/sclp_vt220: Convert newlines to CRLF instead of LFCR

Toke Høiland-Jørgensen (2):
wifi: ath9k: Remove error checks when creating debugfs entries
wifi: ath9k_htc: Use __skb_set_length() for resetting urb before resubmit

Tommy Huang (1):
i2c: aspeed: Update the stop sw state when the bus recovery occurs

Tony Ambardar (1):
selftests/bpf: Fix error compiling test_lru_map.c

Uwe Kleine-König (3):
clk: generalize devm_clk_get() a bit
clk: Provide new devm_clk helpers for prepared and enabled clocks
clk: Fix pointer casting to prevent oops in devm_clk_release()

Ville Syrjälä (1):
wifi: iwlegacy: Clear stale interrupts before resuming device

Vladimir Lypak (2):
drm/msm/a5xx: properly clear preemption records on resume drm/msm/a5xx: fix races in preemption evaluation stage

Wade Wang (1):
HID: plantronics: Workaround for an unexcepted opposite volume key

Wang Hai (4):
net: ethernet: aeroflex: fix potential memory leak in greth_start_xmit_gbit()
net: systemport: fix potential memory leak in bcm_sysport_xmit() net/sun3_82586: fix potential memory leak in sun3_82586_send_packet()
be2net: fix potential memory leak in be_xmit()

Wang Jianzheng (1):
pinctrl: mvebu: Fix devinit_dove_pinctrl_probe function

WangYuli (1):
PCI: Add function 0 DMA alias quirk for Glenfly Arise chip

Wojciech Gładysz (1):
ext4: nested locking for xattr inode

Wolfram Sang (1):
ipmi: docs: don't advertise deprecated sysfs entries

Xin Long (2):
sctp: set sk_state back to CLOSED if autobind fails in sctp_listen_start
net: support ip generic csum processing in skb_csum_hwoffload_help

Xiongfeng Wang (1):
firmware: arm_sdei: Fix the input parameter of cpuhp_remove_state()

Xiu Jianfeng (1):
cgroup: Fix potential overflow issue when checking max_depth

Xiubo Li (1):
ceph: remove the incorrect Fw reference check when dirtying pages

Xu Yang (1):
usb: chipidea: udc: enable suspend interrupt after usb reset

Yang Jihong (2):
perf sched timehist: Fix missing free of session in perf_sched__timehist() perf sched timehist: Fixed timestamp error when unable to confirm event sched_in time

Yang Yingliang (1):
pinctrl: single: fix missing error code in pcs_probe()

Ye Bin (1):
Bluetooth: bnep: fix wild-memory-access in proto_unregister

Yifei Liu (1):
selftests: breakpoints: use remaining time to check if suspend succeed

Yonggil Song (1):
f2fs: fix typo

Youssef Samir (1):
net: qrtr: Update packets cloning when broadcasting

Yu Chen (1):
usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc

Yu Kuai (3):
block, bfq: fix possible UAF for bfqq->bic with merge chain block, bfq: choose the last bfqq from merge chain in bfq_setup_cooperator() block, bfq: don't break merge chain in bfq_split_bfqq()

Yunke Cao (1):
media: videobuf2-core: clear memory related fields in __vb2_plane_dmabuf_put()

Yuntao Liu (1):
hwmon: (ntc_thermistor) fix module autoloading

Zhang Rui (1):
x86/apic: Always explicitly disarm TSC-deadline timer

Zhao Mengmeng (1):
jfs: Fix uninit-value access of new_ea in ea_buffer

Zheng Wang (1):
media: venus: fix use after free bug in venus_remove due to race condition

Zhu Jun (1):
tools/iio: Add memory allocation failure check for trigger_name

Zhu Yanjun (1):
RDMA/iwcm: Fix WARNING:at_kernel/workqueue.c:#check_flush_dependency

Zijun Hu (2):
driver core: bus: Return -EIO instead of 0 when show/store invalid bus attribute
usb: phy: Fix API devm_usb_put_phy() can not release the phy

Zongmin Zhou (1):
usbip: tools: Fix detach_port() invalid port error path

[email protected] (1):
net: ipv6: ensure we call ipv6_mc_down() at most once

junhua huang (2):
arm64:uprobe fix the uprobe SWBP_INSN in big-endian arm64/uprobes: change the uprobe_opcode_t typedef to fix the sparse warning

yangerkun (1):
ext4: clear EXT4_GROUP_INFO_WAS_TRIMMED_BIT even mount with discard

zhanchengbin (1):
ext4: fix inode tree inconsistency caused by ENOMEM

author maintainer
#1 lore raw
.gitignore +0 -1
index 97ba6b79834c..0cf6d31dbbad 100644
@@ -114,7 +114,6 @@ GTAGS
 # id-utils files
 ID
 
-*.orig
 *~
 \#*#
 
Documentation/IPMI.txt +1 -1
index 5ef1047e2e66..f3c6530d9f35 100644
@@ -518,7 +518,7 @@ at module load time (for a module) with::
 	[dbg_probe=1]
 
 The addresses are normal I2C addresses.  The adapter is the string
-name of the adapter, as shown in /sys/class/i2c-adapter/i2c-<n>/name.
+name of the adapter, as shown in /sys/bus/i2c/devices/i2c-<n>/name.
 It is *NOT* i2c-<n> itself.  Also, the comparison is done ignoring
 spaces, so if the name is "This is an I2C chip" you can say
 adapter_name=ThisisanI2cchip.  This is because it's hard to pass in
Documentation/arm64/silicon-errata.txt +2 -0
index eab3b0cf0dbe..a67ba12ffa03 100644
@@ -66,6 +66,7 @@ stable kernels.
 | ARM            | Cortex-A78      | #3324344        | ARM64_ERRATUM_3194386       |
 | ARM            | Cortex-A78C     | #3324346,3324347| ARM64_ERRATUM_3194386       |
 | ARM            | Cortex-A710     | #3324338        | ARM64_ERRATUM_3194386       |
+| ARM            | Cortex-A715     | #3456084        | ARM64_ERRATUM_3194386       |
 | ARM            | Cortex-A720     | #3456091        | ARM64_ERRATUM_3194386       |
 | ARM            | Cortex-A725     | #3456106        | ARM64_ERRATUM_3194386       |
 | ARM            | Cortex-X1       | #3324344        | ARM64_ERRATUM_3194386       |
@@ -77,6 +78,7 @@ stable kernels.
 | ARM            | Neoverse-N1     | #1542419        | ARM64_ERRATUM_1542419       |
 | ARM            | Neoverse-N1     | #3324349        | ARM64_ERRATUM_3194386       |
 | ARM            | Neoverse-N2     | #3324339        | ARM64_ERRATUM_3194386       |
+| ARM            | Neoverse-N3     | #3456111        | ARM64_ERRATUM_3194386       |
 | ARM            | Neoverse-V1     | #3324341        | ARM64_ERRATUM_3194386       |
 | ARM            | Neoverse-V2     | #3324336        | ARM64_ERRATUM_3194386       |
 | ARM            | Neoverse-V3     | #3312417        | ARM64_ERRATUM_3194386       |
Documentation/driver-model/devres.txt +1 -0
index 43681ca0837f..5a2d8c7ce247 100644
@@ -235,6 +235,7 @@ certainly invest a bit more effort into libata core layer).
 
 CLOCK
   devm_clk_get()
+  devm_clk_get_optional()
   devm_clk_put()
   devm_clk_hw_register()
   devm_of_clk_add_hw_provider()
Makefile +1 -1
index 64cc724be113..0f4d0d011787 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 4
 PATCHLEVEL = 19
-SUBLEVEL = 322
+SUBLEVEL = 323
 EXTRAVERSION =
 NAME = "People's Front"
 
arch/arm/mach-realview/platsmp-dt.c +1 -0
index c242423bf8db..66d6b11eda7b 100644
@@ -70,6 +70,7 @@ static void __init realview_smp_prepare_cpus(unsigned int max_cpus)
 		return;
 	}
 	map = syscon_node_to_regmap(np);
+	of_node_put(np);
 	if (IS_ERR(map)) {
 		pr_err("PLATSMP: No syscon regmap\n");
 		return;
arch/arm64/Kconfig +2 -0
index 15c7a2b6e491..5fa1b1d3172e 100644
@@ -543,6 +543,7 @@ config ARM64_ERRATUM_3194386
 	  * ARM Cortex-A78C erratum 3324346
 	  * ARM Cortex-A78C erratum 3324347
 	  * ARM Cortex-A710 erratam 3324338
+	  * ARM Cortex-A715 errartum 3456084
 	  * ARM Cortex-A720 erratum 3456091
 	  * ARM Cortex-A725 erratum 3456106
 	  * ARM Cortex-X1 erratum 3324344
@@ -553,6 +554,7 @@ config ARM64_ERRATUM_3194386
 	  * ARM Cortex-X925 erratum 3324334
 	  * ARM Neoverse-N1 erratum 3324349
 	  * ARM Neoverse N2 erratum 3324339
+	  * ARM Neoverse-N3 erratum 3456111
 	  * ARM Neoverse-V1 erratum 3324341
 	  * ARM Neoverse V2 erratum 3324336
 	  * ARM Neoverse-V3 erratum 3312417
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +22 -1
index a0470f014e56..c65a14fbb3e5 100644
@@ -147,6 +147,22 @@
 	status = "okay";
 };
 
+&gpio3 {
+	/*
+	 * The Qseven BIOS_DISABLE signal on the RK3399-Q7 keeps the on-module
+	 * eMMC and SPI flash powered-down initially (in fact it keeps the
+	 * reset signal asserted). BIOS_DISABLE_OVERRIDE pin allows to override
+	 * that signal so that eMMC and SPI can be used regardless of the state
+	 * of the signal.
+	 */
+	bios-disable-override-hog {
+		gpios = <RK_PD5 GPIO_ACTIVE_LOW>;
+		gpio-hog;
+		line-name = "bios_disable_override";
+		output-high;
+	};
+};
+
 &gmac {
 	assigned-clocks = <&cru SCLK_RMII_SRC>;
 	assigned-clock-parents = <&clkin_gmac>;
@@ -433,9 +449,14 @@
 
 &pinctrl {
 	pinctrl-names = "default";
-	pinctrl-0 = <&q7_thermal_pin>;
+	pinctrl-0 = <&q7_thermal_pin &bios_disable_override_hog_pin>;
 
 	gpios {
+		bios_disable_override_hog_pin: bios-disable-override-hog-pin {
+			rockchip,pins =
+				<3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_down>;
+		};
+
 		q7_thermal_pin: q7-thermal-pin {
 			rockchip,pins =
 				<0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
arch/arm64/include/asm/cputype.h +4 -0
index f8be4d7ecde2..b8593cebb4ff 100644
@@ -86,6 +86,7 @@
 #define ARM_CPU_PART_CORTEX_A78		0xD41
 #define ARM_CPU_PART_CORTEX_X1		0xD44
 #define ARM_CPU_PART_CORTEX_A710	0xD47
+#define ARM_CPU_PART_CORTEX_A715	0xD4D
 #define ARM_CPU_PART_CORTEX_X2		0xD48
 #define ARM_CPU_PART_NEOVERSE_N2	0xD49
 #define ARM_CPU_PART_CORTEX_A78C	0xD4B
@@ -97,6 +98,7 @@
 #define ARM_CPU_PART_NEOVERSE_V3	0xD84
 #define ARM_CPU_PART_CORTEX_X925	0xD85
 #define ARM_CPU_PART_CORTEX_A725	0xD87
+#define ARM_CPU_PART_NEOVERSE_N3	0xD8E
 
 #define APM_CPU_PART_POTENZA		0x000
 
@@ -130,6 +132,7 @@
 #define MIDR_CORTEX_A78	MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A78)
 #define MIDR_CORTEX_X1	MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X1)
 #define MIDR_CORTEX_A710 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A710)
+#define MIDR_CORTEX_A715 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A715)
 #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)
@@ -141,6 +144,7 @@
 #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_NEOVERSE_N3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N3)
 #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/include/asm/uprobes.h +5 -7
index 8d004073d0e8..f57c96ac042f 100644
@@ -13,21 +13,19 @@
 #include <asm/insn.h>
 #include <asm/probes.h>
 
-#define MAX_UINSN_BYTES		AARCH64_INSN_SIZE
-
-#define UPROBE_SWBP_INSN	BRK64_OPCODE_UPROBES
+#define UPROBE_SWBP_INSN	cpu_to_le32(BRK64_OPCODE_UPROBES)
 #define UPROBE_SWBP_INSN_SIZE	AARCH64_INSN_SIZE
-#define UPROBE_XOL_SLOT_BYTES	MAX_UINSN_BYTES
+#define UPROBE_XOL_SLOT_BYTES	AARCH64_INSN_SIZE
 
-typedef u32 uprobe_opcode_t;
+typedef __le32 uprobe_opcode_t;
 
 struct arch_uprobe_task {
 };
 
 struct arch_uprobe {
 	union {
-		u8 insn[MAX_UINSN_BYTES];
-		u8 ixol[MAX_UINSN_BYTES];
+		__le32 insn;
+		__le32 ixol;
 	};
 	struct arch_probe_insn api;
 	bool simulate;
arch/arm64/kernel/cpu_errata.c +2 -0
index e87f8d60075d..a92530a8d7fc 100644
@@ -714,6 +714,7 @@ static const struct midr_range erratum_spec_ssbs_list[] = {
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_A78),
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_A78C),
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_A710),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_A715),
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_A720),
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_A725),
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_X1),
@@ -724,6 +725,7 @@ static const struct midr_range erratum_spec_ssbs_list[] = {
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_X925),
 	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N1),
 	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N2),
+	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N3),
 	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V1),
 	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V2),
 	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V3),
arch/arm64/kernel/probes/decode-insn.c +11 -5
index 6bf6657a5a52..3d0684b72839 100644
@@ -104,10 +104,6 @@ arm_probe_decode_insn(probe_opcode_t insn, struct arch_probe_insn *api)
 	    aarch64_insn_is_blr(insn) ||
 	    aarch64_insn_is_ret(insn)) {
 		api->handler = simulate_br_blr_ret;
-	} else if (aarch64_insn_is_ldr_lit(insn)) {
-		api->handler = simulate_ldr_literal;
-	} else if (aarch64_insn_is_ldrsw_lit(insn)) {
-		api->handler = simulate_ldrsw_literal;
 	} else {
 		/*
 		 * Instruction cannot be stepped out-of-line and we don't
@@ -145,6 +141,17 @@ arm_kprobe_decode_insn(kprobe_opcode_t *addr, struct arch_specific_insn *asi)
 	probe_opcode_t insn = le32_to_cpu(*addr);
 	probe_opcode_t *scan_end = NULL;
 	unsigned long size = 0, offset = 0;
+	struct arch_probe_insn *api = &asi->api;
+
+	if (aarch64_insn_is_ldr_lit(insn)) {
+		api->handler = simulate_ldr_literal;
+		decoded = INSN_GOOD_NO_SLOT;
+	} else if (aarch64_insn_is_ldrsw_lit(insn)) {
+		api->handler = simulate_ldrsw_literal;
+		decoded = INSN_GOOD_NO_SLOT;
+	} else {
+		decoded = arm_probe_decode_insn(insn, &asi->api);
+	}
 
 	/*
 	 * If there's a symbol defined in front of and near enough to
@@ -162,7 +169,6 @@ arm_kprobe_decode_insn(kprobe_opcode_t *addr, struct arch_specific_insn *asi)
 		else
 			scan_end = addr - MAX_ATOMIC_CONTEXT_SIZE;
 	}
-	decoded = arm_probe_decode_insn(insn, &asi->api);
 
 	if (decoded != INSN_REJECTED && scan_end)
 		if (is_probed_address_atomic(addr - 1, scan_end))
arch/arm64/kernel/probes/simulate-insn.c +7 -11
index be05868418ee..a98699948cb2 100644
@@ -178,17 +178,15 @@ simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs)
 void __kprobes
 simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs)
 {
-	u64 *load_addr;
+	unsigned long load_addr;
 	int xn = opcode & 0x1f;
-	int disp;
 
-	disp = ldr_displacement(opcode);
-	load_addr = (u64 *) (addr + disp);
+	load_addr = addr + ldr_displacement(opcode);
 
 	if (opcode & (1 << 30))	/* x0-x30 */
-		set_x_reg(regs, xn, *load_addr);
+		set_x_reg(regs, xn, READ_ONCE(*(u64 *)load_addr));
 	else			/* w0-w30 */
-		set_w_reg(regs, xn, *load_addr);
+		set_w_reg(regs, xn, READ_ONCE(*(u32 *)load_addr));
 
 	instruction_pointer_set(regs, instruction_pointer(regs) + 4);
 }
@@ -196,14 +194,12 @@ simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs)
 void __kprobes
 simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs)
 {
-	s32 *load_addr;
+	unsigned long load_addr;
 	int xn = opcode & 0x1f;
-	int disp;
 
-	disp = ldr_displacement(opcode);
-	load_addr = (s32 *) (addr + disp);
+	load_addr = addr + ldr_displacement(opcode);
 
-	set_x_reg(regs, xn, *load_addr);
+	set_x_reg(regs, xn, READ_ONCE(*(s32 *)load_addr));
 
 	instruction_pointer_set(regs, instruction_pointer(regs) + 4);
 }
arch/arm64/kernel/probes/uprobes.c +2 -2
index 6aeb11aa7e28..851689216007 100644
@@ -45,7 +45,7 @@ int arch_uprobe_analyze_insn(struct arch_uprobe *auprobe, struct mm_struct *mm,
 	else if (!IS_ALIGNED(addr, AARCH64_INSN_SIZE))
 		return -EINVAL;
 
-	insn = *(probe_opcode_t *)(&auprobe->insn[0]);
+	insn = le32_to_cpu(auprobe->insn);
 
 	switch (arm_probe_decode_insn(insn, &auprobe->api)) {
 	case INSN_REJECTED:
@@ -111,7 +111,7 @@ bool arch_uprobe_skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
 	if (!auprobe->simulate)
 		return false;
 
-	insn = *(probe_opcode_t *)(&auprobe->insn[0]);
+	insn = le32_to_cpu(auprobe->insn);
 	addr = instruction_pointer(regs);
 
 	if (auprobe->api.handler)
arch/microblaze/mm/init.c +0 -5
index df6de7ccdc2e..ecad6d8b9154 100644
@@ -289,11 +289,6 @@ asmlinkage void __init mmu_init(void)
 {
 	unsigned int kstart, ksize;
 
-	if (!memblock.reserved.cnt) {
-		pr_emerg("Error memory count\n");
-		machine_restart(NULL);
-	}
-
 	if ((u32) memblock.memory.regions[0].size < 0x400000) {
 		pr_emerg("Memory must be greater than 4MB\n");
 		machine_restart(NULL);
arch/parisc/kernel/entry.S +2 -4
index a0c251c4f302..7125743459fa 100644
@@ -1089,8 +1089,7 @@ ENTRY_CFI(intr_save)		/* for os_hpmc */
 	STREG           %r16, PT_ISR(%r29)
 	STREG           %r17, PT_IOR(%r29)
 
-#if 0 && defined(CONFIG_64BIT)
-	/* Revisit when we have 64-bit code above 4Gb */
+#if defined(CONFIG_64BIT)
 	b,n		intr_save2
 
 skip_save_ior:
@@ -1098,8 +1097,7 @@ skip_save_ior:
 	 * need to adjust iasq/iaoq here in the same way we adjusted isr/ior
 	 * above.
 	 */
-	extrd,u,*	%r8,PSW_W_BIT,1,%r1
-	cmpib,COND(=),n	1,%r1,intr_save2
+	bb,COND(>=),n	%r8,PSW_W_BIT,intr_save2
 	LDREG		PT_IASQ0(%r29), %r16
 	LDREG		PT_IAOQ0(%r29), %r17
 	/* adjust iasq/iaoq */
arch/parisc/kernel/syscall.S +8 -6
index 1ae007ec65c5..1ec58848bb3e 100644
@@ -217,10 +217,10 @@ linux_gateway_entry:
 
 #ifdef CONFIG_64BIT
 	ldil	L%sys_call_table, %r1
-	or,=	%r2,%r2,%r2
-	addil	L%(sys_call_table64-sys_call_table), %r1
+	or,ev	%r2,%r2,%r2
+	ldil	L%sys_call_table64, %r1
 	ldo	R%sys_call_table(%r1), %r19
-	or,=	%r2,%r2,%r2
+	or,ev	%r2,%r2,%r2
 	ldo	R%sys_call_table64(%r1), %r19
 #else
 	load32	sys_call_table, %r19
@@ -355,10 +355,10 @@ tracesys_next:
 	extrd,u	%r19,63,1,%r2			/* W hidden in bottom bit */
 
 	ldil	L%sys_call_table, %r1
-	or,=	%r2,%r2,%r2
-	addil	L%(sys_call_table64-sys_call_table), %r1
+	or,ev	%r2,%r2,%r2
+	ldil	L%sys_call_table64, %r1
 	ldo	R%sys_call_table(%r1), %r19
-	or,=	%r2,%r2,%r2
+	or,ev	%r2,%r2,%r2
 	ldo	R%sys_call_table64(%r1), %r19
 #else
 	load32	sys_call_table, %r19
@@ -930,6 +930,8 @@ ENTRY(sys_call_table)
 END(sys_call_table)
 
 #ifdef CONFIG_64BIT
+#undef __SYSCALL_WITH_COMPAT
+#define __SYSCALL_WITH_COMPAT(nr, native, compat)	__SYSCALL(nr, native)
 	.align 8
 ENTRY(sys_call_table64)
 #define SYSCALL_TABLE_64BIT
arch/riscv/Kconfig +5 -0
index a344980287a5..a2dc7918c52a 100644
@@ -84,6 +84,11 @@ config GENERIC_CSUM
 config GENERIC_HWEIGHT
 	def_bool y
 
+config ILLEGAL_POINTER_VALUE
+	hex
+	default 0 if 32BIT
+	default 0xdead000000000000 if 64BIT
+
 config PGTABLE_LEVELS
 	int
 	default 3 if 64BIT
arch/s390/include/asm/facility.h +4 -2
index 7ffbc5d7ccf3..79730031e17f 100644
@@ -53,8 +53,10 @@ static inline int test_facility(unsigned long nr)
 	unsigned long facilities_als[] = { FACILITIES_ALS };
 
 	if (__builtin_constant_p(nr) && nr < sizeof(facilities_als) * 8) {
-		if (__test_facility(nr, &facilities_als))
-			return 1;
+		if (__test_facility(nr, &facilities_als)) {
+			if (!__is_defined(__DECOMPRESSOR))
+				return 1;
+		}
 	}
 	return __test_facility(nr, &S390_lowcore.stfle_fac_list);
 }
arch/s390/kernel/perf_cpum_sf.c +4 -8
index c8e1e325215b..c7f94b5d9396 100644
@@ -1360,7 +1360,7 @@ static int aux_output_begin(struct perf_output_handle *handle,
 	unsigned long head, base, offset;
 	struct hws_trailer_entry *te;
 
-	if (WARN_ON_ONCE(handle->head & ~PAGE_MASK))
+	if (handle->head & ~PAGE_MASK)
 		return -EINVAL;
 
 	aux->head = handle->head >> PAGE_SHIFT;
@@ -1528,7 +1528,7 @@ static void hw_collect_aux(struct cpu_hw_sf *cpuhw)
 	unsigned long num_sdb;
 
 	aux = perf_get_aux(handle);
-	if (WARN_ON_ONCE(!aux))
+	if (!aux)
 		return;
 
 	/* Inform user space new data arrived */
@@ -1547,7 +1547,7 @@ static void hw_collect_aux(struct cpu_hw_sf *cpuhw)
 			debug_sprintf_event(sfdbg, 1, "AUX buffer used up\n");
 			break;
 		}
-		if (WARN_ON_ONCE(!aux))
+		if (!aux)
 			return;
 
 		/* Update head and alert_mark to new position */
@@ -1746,12 +1746,8 @@ static void cpumsf_pmu_start(struct perf_event *event, int flags)
 {
 	struct cpu_hw_sf *cpuhw = this_cpu_ptr(&cpu_hw_sf);
 
-	if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED)))
+	if (!(event->hw.state & PERF_HES_STOPPED))
 		return;
-
-	if (flags & PERF_EF_RELOAD)
-		WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE));
-
 	perf_pmu_disable(event->pmu);
 	event->hw.state = 0;
 	cpuhw->lsctl.cs = 1;
arch/s390/kvm/diag.c +1 -1
index 45634b3d2e0a..584c5da9b3fe 100644
@@ -78,7 +78,7 @@ static int __diag_page_ref_service(struct kvm_vcpu *vcpu)
 	vcpu->stat.diagnose_258++;
 	if (vcpu->run->s.regs.gprs[rx] & 7)
 		return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION);
-	rc = read_guest(vcpu, vcpu->run->s.regs.gprs[rx], rx, &parm, sizeof(parm));
+	rc = read_guest_real(vcpu, vcpu->run->s.regs.gprs[rx], &parm, sizeof(parm));
 	if (rc)
 		return kvm_s390_inject_prog_cond(vcpu, rc);
 	if (parm.parm_version != 2 || parm.parm_len < 5 || parm.code != 0x258)
arch/s390/kvm/gaccess.c +96 -66

240 lines not on this page · raw message

arch/s390/kvm/gaccess.h +8 -6
index 4c56de542960..6c97cde8623a 100644
@@ -344,11 +344,12 @@ int read_guest_abs(struct kvm_vcpu *vcpu, unsigned long gpa, void *data,
  * @len: number of bytes to copy
  *
  * Copy @len bytes from @data (kernel space) to @gra (guest real address).
- * It is up to the caller to ensure that the entire guest memory range is
- * valid memory before calling this function.
  * Guest low address and key protection are not checked.
  *
- * Returns zero on success or -EFAULT on error.
+ * Returns zero on success, -EFAULT when copying from @data failed, or
+ * PGM_ADRESSING in case @gra is outside a memslot. In this case, pgm check info
+ * is also stored to allow injecting into the guest (if applicable) using
+ * kvm_s390_inject_prog_cond().
  *
  * If an error occurs data may have been copied partially to guest memory.
  */
@@ -367,11 +368,12 @@ int write_guest_real(struct kvm_vcpu *vcpu, unsigned long gra, void *data,
  * @len: number of bytes to copy
  *
  * Copy @len bytes from @gra (guest real address) to @data (kernel space).
- * It is up to the caller to ensure that the entire guest memory range is
- * valid memory before calling this function.
  * Guest key protection is not checked.
  *
- * Returns zero on success or -EFAULT on error.
+ * Returns zero on success, -EFAULT when copying to @data failed, or
+ * PGM_ADRESSING in case @gra is outside a memslot. In this case, pgm check info
+ * is also stored to allow injecting into the guest (if applicable) using
+ * kvm_s390_inject_prog_cond().
  *
  * If an error occurs data may have been copied partially to kernel space.
  */
arch/s390/mm/cmm.c +17 -1
index a51c892f14f3..756aefbd0524 100644
@@ -98,11 +98,12 @@ static long cmm_alloc_pages(long nr, long *counter,
 		(*counter)++;
 		spin_unlock(&cmm_lock);
 		nr--;
+		cond_resched();
 	}
 	return nr;
 }
 
-static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
+static long __cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
 {
 	struct cmm_page_array *pa;
 	unsigned long addr;
@@ -126,6 +127,21 @@ static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
 	return nr;
 }
 
+static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
+{
+	long inc = 0;
+
+	while (nr) {
+		inc = min(256L, nr);
+		nr -= inc;
+		inc = __cmm_free_pages(inc, counter, list);
+		if (inc)
+			break;
+		cond_resched();
+	}
+	return nr + inc;
+}
+
 static int cmm_oom_notify(struct notifier_block *self,
 			  unsigned long dummy, void *parm)
 {
arch/x86/include/asm/cpufeatures.h +2 -1
index 464b2b5d87bd..551db384bcb3 100644
@@ -216,7 +216,7 @@
 #define X86_FEATURE_SPEC_STORE_BYPASS_DISABLE	( 7*32+23) /* "" Disable Speculative Store Bypass. */
 #define X86_FEATURE_LS_CFG_SSBD		( 7*32+24)  /* "" AMD SSBD implementation via LS_CFG MSR */
 #define X86_FEATURE_IBRS		( 7*32+25) /* Indirect Branch Restricted Speculation */
-#define X86_FEATURE_IBPB		( 7*32+26) /* Indirect Branch Prediction Barrier */
+#define X86_FEATURE_IBPB		( 7*32+26) /* "ibpb" Indirect Branch Prediction Barrier without a guaranteed RSB flush */
 #define X86_FEATURE_STIBP		( 7*32+27) /* Single Thread Indirect Branch Predictors */
 #define X86_FEATURE_ZEN			( 7*32+28) /* "" CPU is AMD family 0x17 (Zen) */
 #define X86_FEATURE_L1TF_PTEINV		( 7*32+29) /* "" L1TF workaround PTE inversion */
@@ -306,6 +306,7 @@
 #define X86_FEATURE_VIRT_SSBD		(13*32+25) /* Virtualized Speculative Store Bypass Disable */
 #define X86_FEATURE_AMD_SSB_NO		(13*32+26) /* "" Speculative Store Bypass is fixed in hardware. */
 #define X86_FEATURE_BTC_NO		(13*32+29) /* "" Not vulnerable to Branch Type Confusion */
+#define X86_FEATURE_AMD_IBPB_RET	(13*32+30) /* "" IBPB clears return address predictor */
 
 /* Thermal and Power Management Leaf, CPUID level 0x00000006 (EAX), word 14 */
 #define X86_FEATURE_DTHERM		(14*32+ 0) /* Digital Thermal Sensor */
arch/x86/kernel/apic/apic.c +13 -1
index 9318fe7d850e..e316f5a2aab4 100644
@@ -484,7 +484,19 @@ static int lapic_timer_shutdown(struct clock_event_device *evt)
 	v = apic_read(APIC_LVTT);
 	v |= (APIC_LVT_MASKED | LOCAL_TIMER_VECTOR);
 	apic_write(APIC_LVTT, v);
-	apic_write(APIC_TMICT, 0);
+
+	/*
+	 * Setting APIC_LVT_MASKED (above) should be enough to tell
+	 * the hardware that this timer will never fire. But AMD
+	 * erratum 411 and some Intel CPU behavior circa 2024 say
+	 * otherwise.  Time for belt and suspenders programming: mask
+	 * the timer _and_ zero the counter registers:
+	 */
+	if (v & APIC_LVT_TIMER_TSCDEADLINE)
+		wrmsrl(MSR_IA32_TSC_DEADLINE, 0);
+	else
+		apic_write(APIC_TMICT, 0);
+
 	return 0;
 }
 
arch/x86/kernel/cpu/mshyperv.c +1 -0
index f8b0fa2dbe37..b43f25b3c99d 100644
@@ -243,6 +243,7 @@ static void __init ms_hyperv_init_platform(void)
 	    ms_hyperv.misc_features & HV_FEATURE_FREQUENCY_MSRS_AVAILABLE) {
 		x86_platform.calibrate_tsc = hv_get_tsc_khz;
 		x86_platform.calibrate_cpu = hv_get_tsc_khz;
+		setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ);
 	}
 
 	if (ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED) {
arch/x86/xen/setup.c +1 -1
index 075ed47993bb..69fd1134b7fc 100644
@@ -862,7 +862,7 @@ char * __init xen_memory_setup(void)
 	 * to relocating (and even reusing) pages with kernel text or data.
 	 */
 	if (xen_is_e820_reserved(__pa_symbol(_text),
-			__pa_symbol(__bss_stop) - __pa_symbol(_text))) {
+				 __pa_symbol(_end) - __pa_symbol(_text))) {
 		xen_raw_console_write("Xen hypervisor allocated kernel memory conflicts with E820 map\n");
 		BUG();
 	}
block/bfq-iosched.c +9 -4
index 7415db053217..afc30a200fe8 100644
@@ -2226,8 +2226,12 @@ bfq_setup_cooperator(struct bfq_data *bfqd, struct bfq_queue *bfqq,
 	struct bfq_queue *in_service_bfqq, *new_bfqq;
 
 	/* if a merge has already been setup, then proceed with that first */
-	if (bfqq->new_bfqq)
-		return bfqq->new_bfqq;
+	new_bfqq = bfqq->new_bfqq;
+	if (new_bfqq) {
+		while (new_bfqq->new_bfqq)
+			new_bfqq = new_bfqq->new_bfqq;
+		return new_bfqq;
+	}
 
 	/*
 	 * Prevent bfqq from being merged if it has been created too
@@ -5033,7 +5037,7 @@ bfq_split_bfqq(struct bfq_io_cq *bic, struct bfq_queue *bfqq)
 {
 	bfq_log_bfqq(bfqq->bfqd, bfqq, "splitting queue");
 
-	if (bfqq_process_refs(bfqq) == 1) {
+	if (bfqq_process_refs(bfqq) == 1 && !bfqq->new_bfqq) {
 		bfqq->pid = current->pid;
 		bfq_clear_bfqq_coop(bfqq);
 		bfq_clear_bfqq_split_coop(bfqq);
@@ -5218,7 +5222,8 @@ static struct bfq_queue *bfq_init_rq(struct request *rq)
 	 * addition, if the queue has also just been split, we have to
 	 * resume its state.
 	 */
-	if (likely(bfqq != &bfqd->oom_bfqq) && bfqq_process_refs(bfqq) == 1) {
+	if (likely(bfqq != &bfqd->oom_bfqq) && !bfqq->new_bfqq &&
+	    bfqq_process_refs(bfqq) == 1) {
 		bfqq->bic = bic;
 		if (split) {
 			/*
crypto/aead.c +1 -2
index 9688ada13981..f8b2cd0567f1 100644
@@ -45,8 +45,7 @@ static int setkey_unaligned(struct crypto_aead *tfm, const u8 *key,
 	alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1);
 	memcpy(alignbuffer, key, keylen);
 	ret = crypto_aead_alg(tfm)->setkey(tfm, alignbuffer, keylen);
-	memset(alignbuffer, 0, keylen);
-	kfree(buffer);
+	kzfree(buffer);
 	return ret;
 }
 
crypto/cipher.c +1 -2
index 57836c30a49a..3d3fa8d0d533 100644
@@ -38,8 +38,7 @@ static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key,
 	alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1);
 	memcpy(alignbuffer, key, keylen);
 	ret = cia->cia_setkey(tfm, alignbuffer, keylen);
-	memset(alignbuffer, 0, keylen);
-	kfree(buffer);
+	kzfree(buffer);
 	return ret;
 
 }
drivers/acpi/acpica/dbconvert.c +2 -0
index 9fd9a98a9cbe..5255a0837c82 100644
@@ -170,6 +170,8 @@ acpi_status acpi_db_convert_to_package(char *string, union acpi_object *object)
 	elements =
 	    ACPI_ALLOCATE_ZEROED(DB_DEFAULT_PKG_ELEMENTS *
 				 sizeof(union acpi_object));
+	if (!elements)
+		return (AE_NO_MEMORY);
 
 	this = string;
 	for (i = 0; i < (DB_DEFAULT_PKG_ELEMENTS - 1); i++) {
drivers/acpi/acpica/exprep.c +3 -0
index 228feeea555f..91143bcfe090 100644
@@ -437,6 +437,9 @@ acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info)
 
 		if (info->connection_node) {
 			second_desc = info->connection_node->object;
+			if (second_desc == NULL) {
+				break;
+			}
 			if (!(second_desc->common.flags & AOPOBJ_DATA_VALID)) {
 				status =
 				    acpi_ds_get_buffer_arguments(second_desc);
drivers/acpi/acpica/psargs.c +47 -0

77 lines not on this page · raw message

drivers/acpi/battery.c +17 -11
index 88f4040d6c1f..46aa0e5e6f8b 100644
@@ -713,27 +713,34 @@ static LIST_HEAD(acpi_battery_list);
 static LIST_HEAD(battery_hook_list);
 static DEFINE_MUTEX(hook_mutex);
 
-static void __battery_hook_unregister(struct acpi_battery_hook *hook, int lock)
+static void battery_hook_unregister_unlocked(struct acpi_battery_hook *hook)
 {
 	struct acpi_battery *battery;
+
 	/*
 	 * In order to remove a hook, we first need to
 	 * de-register all the batteries that are registered.
 	 */
-	if (lock)
-		mutex_lock(&hook_mutex);
 	list_for_each_entry(battery, &acpi_battery_list, list) {
 		hook->remove_battery(battery->bat);
 	}
-	list_del(&hook->list);
-	if (lock)
-		mutex_unlock(&hook_mutex);
+	list_del_init(&hook->list);
+
 	pr_info("extension unregistered: %s\n", hook->name);
 }
 
 void battery_hook_unregister(struct acpi_battery_hook *hook)
 {
-	__battery_hook_unregister(hook, 1);
+	mutex_lock(&hook_mutex);
+	/*
+	 * Ignore already unregistered battery hooks. This might happen
+	 * if a battery hook was previously unloaded due to an error when
+	 * adding a new battery.
+	 */
+	if (!list_empty(&hook->list))
+		battery_hook_unregister_unlocked(hook);
+
+	mutex_unlock(&hook_mutex);
 }
 EXPORT_SYMBOL_GPL(battery_hook_unregister);
 
@@ -742,7 +749,6 @@ void battery_hook_register(struct acpi_battery_hook *hook)
 	struct acpi_battery *battery;
 
 	mutex_lock(&hook_mutex);
-	INIT_LIST_HEAD(&hook->list);
 	list_add(&hook->list, &battery_hook_list);
 	/*
 	 * Now that the driver is registered, we need
@@ -759,7 +765,7 @@ void battery_hook_register(struct acpi_battery_hook *hook)
 			 * hooks.
 			 */
 			pr_err("extension failed to load: %s", hook->name);
-			__battery_hook_unregister(hook, 0);
+			battery_hook_unregister_unlocked(hook);
 			goto end;
 		}
 	}
@@ -796,7 +802,7 @@ static void battery_hook_add_battery(struct acpi_battery *battery)
 			 */
 			pr_err("error in extension, unloading: %s",
 					hook_node->name);
-			__battery_hook_unregister(hook_node, 0);
+			battery_hook_unregister_unlocked(hook_node);
 		}
 	}
 	mutex_unlock(&hook_mutex);
@@ -829,7 +835,7 @@ static void __exit battery_hook_exit(void)
 	 * need to remove the hooks.
 	 */
 	list_for_each_entry_safe(hook, ptr, &battery_hook_list, list) {
-		__battery_hook_unregister(hook, 1);
+		battery_hook_unregister(hook);
 	}
 	mutex_destroy(&hook_mutex);
 }
drivers/acpi/button.c +11 -0
index abf101451c92..626e82eca870 100644
@@ -124,6 +124,17 @@ static const struct dmi_system_id lid_blacklst[] = {
 		},
 		.driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN,
 	},
+	{
+		/*
+		 * Samsung galaxybook2 ,initial _LID device notification returns
+		 * lid closed.
+		 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "750XED"),
+		},
+		.driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN,
+	},
 	{}
 };
 
drivers/acpi/device_sysfs.c +3 -2
index 146be9cdeca5..36b584ff9fc7 100644
@@ -539,8 +539,9 @@ int acpi_device_setup_files(struct acpi_device *dev)
 	 * If device has _STR, 'description' file is created
 	 */
 	if (acpi_has_method(dev->handle, "_STR")) {
-		status = acpi_evaluate_object(dev->handle, "_STR",
-					NULL, &buffer);
+		status = acpi_evaluate_object_typed(dev->handle, "_STR",
+						    NULL, &buffer,
+						    ACPI_TYPE_BUFFER);
 		if (ACPI_FAILURE(status))
 			buffer.pointer = NULL;
 		dev->pnp.str_obj = buffer.pointer;
drivers/acpi/ec.c +49 -6

114 lines not on this page · raw message

drivers/acpi/pmic/tps68470_pmic.c +2 -4
index a083de507009..fde8a1271c9b 100644
@@ -376,10 +376,8 @@ static int tps68470_pmic_opregion_probe(struct platform_device *pdev)
 	struct tps68470_pmic_opregion *opregion;
 	acpi_status status;
 
-	if (!dev || !tps68470_regmap) {
-		dev_warn(dev, "dev or regmap is NULL\n");
-		return -EINVAL;
-	}
+	if (!tps68470_regmap)
+		return dev_err_probe(dev, -EINVAL, "regmap is missing\n");
 
 	if (!handle) {
 		dev_warn(dev, "acpi handle is NULL\n");
drivers/ata/sata_sil.c +6 -6
index 82adaf02887f..8613a3cf2c8a 100644
@@ -144,7 +144,7 @@ static const struct pci_device_id sil_pci_tbl[] = {
 static const struct sil_drivelist {
 	const char *product;
 	unsigned int quirk;
-} sil_blacklist [] = {
+} sil_quirks[] = {
 	{ "ST320012AS",		SIL_QUIRK_MOD15WRITE },
 	{ "ST330013AS",		SIL_QUIRK_MOD15WRITE },
 	{ "ST340017AS",		SIL_QUIRK_MOD15WRITE },
@@ -617,8 +617,8 @@ static void sil_thaw(struct ata_port *ap)
  *	list, and apply the fixups to only the specific
  *	devices/hosts/firmwares that need it.
  *
- *	20040111 - Seagate drives affected by the Mod15Write bug are blacklisted
- *	The Maxtor quirk is in the blacklist, but I'm keeping the original
+ *	20040111 - Seagate drives affected by the Mod15Write bug are quirked
+ *	The Maxtor quirk is in sil_quirks, but I'm keeping the original
  *	pessimistic fix for the following reasons...
  *	- There seems to be less info on it, only one device gleaned off the
  *	Windows	driver, maybe only one is affected.  More info would be greatly
@@ -637,9 +637,9 @@ static void sil_dev_config(struct ata_device *dev)
 
 	ata_id_c_string(dev->id, model_num, ATA_ID_PROD, sizeof(model_num));
 
-	for (n = 0; sil_blacklist[n].product; n++)
-		if (!strcmp(sil_blacklist[n].product, model_num)) {
-			quirks = sil_blacklist[n].quirk;
+	for (n = 0; sil_quirks[n].product; n++)
+		if (!strcmp(sil_quirks[n].product, model_num)) {
+			quirks = sil_quirks[n].quirk;
 			break;
 		}
 
drivers/base/bus.c +4 -2
index e06a57936cc9..aad13af4175b 100644
@@ -103,7 +103,8 @@ static ssize_t bus_attr_show(struct kobject *kobj, struct attribute *attr,
 {
 	struct bus_attribute *bus_attr = to_bus_attr(attr);
 	struct subsys_private *subsys_priv = to_subsys_private(kobj);
-	ssize_t ret = 0;
+	/* return -EIO for reading a bus attribute without show() */
+	ssize_t ret = -EIO;
 
 	if (bus_attr->show)
 		ret = bus_attr->show(subsys_priv->bus, buf);
@@ -115,7 +116,8 @@ static ssize_t bus_attr_store(struct kobject *kobj, struct attribute *attr,
 {
 	struct bus_attribute *bus_attr = to_bus_attr(attr);
 	struct subsys_private *subsys_priv = to_subsys_private(kobj);
-	ssize_t ret = 0;
+	/* return -EIO for writing a bus attribute without store() */
+	ssize_t ret = -EIO;
 
 	if (bus_attr->store)
 		ret = bus_attr->store(subsys_priv->bus, buf, count);
drivers/base/core.c +5 -8
index 8d86ca28c54d..838d084d852b 100644
@@ -24,7 +24,6 @@
 #include <linux/mutex.h>
 #include <linux/pm_runtime.h>
 #include <linux/netdevice.h>
-#include <linux/rcupdate.h>
 #include <linux/sched/signal.h>
 #include <linux/sysfs.h>
 
@@ -1138,7 +1137,6 @@ 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 */
@@ -1167,12 +1165,8 @@ 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);
 
-	/* 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();
+	if (dev->driver)
+		add_uevent_var(env, "DRIVER=%s", dev->driver->name);
 
 	/* Add common DT information about the device */
 	of_device_uevent(dev, env);
@@ -1242,8 +1236,11 @@ 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/firmware_loader/main.c +30 -0
index cfa5e598a0dc..b9985c7338dc 100644
@@ -565,6 +565,26 @@ static void fw_abort_batch_reqs(struct firmware *fw)
 	mutex_unlock(&fw_lock);
 }
 
+/*
+ * Reject firmware file names with ".." path components.
+ * There are drivers that construct firmware file names from device-supplied
+ * strings, and we don't want some device to be able to tell us "I would like to
+ * be sent my firmware from ../../../etc/shadow, please".
+ *
+ * Search for ".." surrounded by either '/' or start/end of string.
+ *
+ * This intentionally only looks at the firmware name, not at the firmware base
+ * directory or at symlink contents.
+ */
+static bool name_contains_dotdot(const char *name)
+{
+	size_t name_len = strlen(name);
+
+	return strcmp(name, "..") == 0 || strncmp(name, "../", 3) == 0 ||
+	       strstr(name, "/../") != NULL ||
+	       (name_len >= 3 && strcmp(name+name_len-3, "/..") == 0);
+}
+
 /* called from request_firmware() and request_firmware_work_func() */
 static int
 _request_firmware(const struct firmware **firmware_p, const char *name,
@@ -582,6 +602,14 @@ _request_firmware(const struct firmware **firmware_p, const char *name,
 		goto out;
 	}
 
+	if (name_contains_dotdot(name)) {
+		dev_warn(device,
+			 "Firmware load for '%s' refused, path contains '..' component\n",
+			 name);
+		ret = -EINVAL;
+		goto out;
+	}
+
 	ret = _request_firmware_prepare(&fw, name, device, buf, size,
 					opt_flags);
 	if (ret <= 0) /* error or already assigned */
@@ -622,6 +650,8 @@ _request_firmware(const struct firmware **firmware_p, const char *name,
  *      @name will be used as $FIRMWARE in the uevent environment and
  *      should be distinctive enough not to be confused with any other
  *      firmware image for this or any other device.
+ *	It must not contain any ".." path components - "foo/bar..bin" is
+ *	allowed, but "foo/../bar.bin" is not.
  *
  *	Caller must hold the reference count of @device.
  *
drivers/base/module.c +0 -4
index 851cc5367c04..46ad4d636731 100644
@@ -7,7 +7,6 @@
 #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)
@@ -78,9 +77,6 @@ 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/aoe/aoecmd.c +12 -1
index c2b32c53da2b..8a4ca3484983 100644
@@ -362,6 +362,7 @@ ata_rw_frameinit(struct frame *f)
 	}
 
 	ah->cmdstat = ATA_CMD_PIO_READ | writebit | extbit;
+	dev_hold(t->ifp->nd);
 	skb->dev = t->ifp->nd;
 }
 
@@ -402,6 +403,8 @@ aoecmd_ata_rw(struct aoedev *d)
 		__skb_queue_head_init(&queue);
 		__skb_queue_tail(&queue, skb);
 		aoenet_xmit(&queue);
+	} else {
+		dev_put(f->t->ifp->nd);
 	}
 	return 1;
 }
@@ -484,10 +487,13 @@ resend(struct aoedev *d, struct frame *f)
 	memcpy(h->dst, t->addr, sizeof h->dst);
 	memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src);
 
+	dev_hold(t->ifp->nd);
 	skb->dev = t->ifp->nd;
 	skb = skb_clone(skb, GFP_ATOMIC);
-	if (skb == NULL)
+	if (skb == NULL) {
+		dev_put(t->ifp->nd);
 		return;
+	}
 	f->sent = ktime_get();
 	__skb_queue_head_init(&queue);
 	__skb_queue_tail(&queue, skb);
@@ -618,6 +624,8 @@ probe(struct aoetgt *t)
 		__skb_queue_head_init(&queue);
 		__skb_queue_tail(&queue, skb);
 		aoenet_xmit(&queue);
+	} else {
+		dev_put(f->t->ifp->nd);
 	}
 }
 
@@ -1407,6 +1415,7 @@ aoecmd_ata_id(struct aoedev *d)
 	ah->cmdstat = ATA_CMD_ID_ATA;
 	ah->lba3 = 0xa0;
 
+	dev_hold(t->ifp->nd);
 	skb->dev = t->ifp->nd;
 
 	d->rttavg = RTTAVG_INIT;
@@ -1416,6 +1425,8 @@ aoecmd_ata_id(struct aoedev *d)
 	skb = skb_clone(skb, GFP_ATOMIC);
 	if (skb)
 		f->sent = ktime_get();
+	else
+		dev_put(t->ifp->nd);
 
 	return skb;
 }
drivers/block/drbd/drbd_main.c +4 -2
index 1ff5af6c4f3f..bb2460a2d824 100644
@@ -3499,10 +3499,12 @@ void drbd_uuid_new_current(struct drbd_device *device) __must_hold(local)
 void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local)
 {
 	unsigned long flags;
-	if (device->ldev->md.uuid[UI_BITMAP] == 0 && val == 0)
+	spin_lock_irqsave(&device->ldev->md.uuid_lock, flags);
+	if (device->ldev->md.uuid[UI_BITMAP] == 0 && val == 0) {
+		spin_unlock_irqrestore(&device->ldev->md.uuid_lock, flags);
 		return;
+	}
 
-	spin_lock_irqsave(&device->ldev->md.uuid_lock, flags);
 	if (val == 0) {
 		drbd_uuid_move_history(device);
 		device->ldev->md.uuid[UI_HISTORY_START] = device->ldev->md.uuid[UI_BITMAP];
drivers/block/drbd/drbd_state.c +1 -1
index 1474250f9440..9d8f952514db 100644
@@ -888,7 +888,7 @@ is_valid_state(struct drbd_device *device, union drbd_state ns)
 		  ns.disk == D_OUTDATED)
 		rv = SS_CONNECTED_OUTDATES;
 
-	else if ((ns.conn == C_VERIFY_S || ns.conn == C_VERIFY_T) &&
+	else if (nc && (ns.conn == C_VERIFY_S || ns.conn == C_VERIFY_T) &&
 		 (nc->verify_alg[0] == 0))
 		rv = SS_NO_VERIFY_ALG;
 
drivers/bluetooth/btusb.c +9 -1
index b6eb48e44e6b..7ee8cdc8dcb9 100644
@@ -743,7 +743,15 @@ static int btusb_submit_intr_urb(struct hci_dev *hdev, gfp_t mem_flags)
 	if (!urb)
 		return -ENOMEM;
 
-	size = le16_to_cpu(data->intr_ep->wMaxPacketSize);
+	if (le16_to_cpu(data->udev->descriptor.idVendor)  == 0x0a12 &&
+	    le16_to_cpu(data->udev->descriptor.idProduct) == 0x0001)
+		/* Fake CSR devices don't seem to support sort-transter */
+		size = le16_to_cpu(data->intr_ep->wMaxPacketSize);
+	else
+		/* Use maximum HCI Event size so the USB stack handles
+		 * ZPL/short-transfer automatically.
+		 */
+		size = HCI_MAX_EVENT_SIZE;
 
 	buf = kmalloc(size, mem_flags);
 	if (!buf) {
drivers/char/virtio_console.c +10 -8
index d3937d690400..ad9e26665260 100644
@@ -2075,25 +2075,27 @@ static int virtcons_probe(struct virtio_device *vdev)
 		multiport = true;
 	}
 
-	err = init_vqs(portdev);
-	if (err < 0) {
-		dev_err(&vdev->dev, "Error %d initializing vqs\n", err);
-		goto free_chrdev;
-	}
-
 	spin_lock_init(&portdev->ports_lock);
 	INIT_LIST_HEAD(&portdev->ports);
 	INIT_LIST_HEAD(&portdev->list);
 
-	virtio_device_ready(portdev->vdev);
-
 	INIT_WORK(&portdev->config_work, &config_work_handler);
 	INIT_WORK(&portdev->control_work, &control_work_handler);
 
 	if (multiport) {
 		spin_lock_init(&portdev->c_ivq_lock);
 		spin_lock_init(&portdev->c_ovq_lock);
+	}
 
+	err = init_vqs(portdev);
+	if (err < 0) {
+		dev_err(&vdev->dev, "Error %d initializing vqs\n", err);
+		goto free_chrdev;
+	}
+
+	virtio_device_ready(portdev->vdev);
+
+	if (multiport) {
 		err = fill_queue(portdev->c_ivq, &portdev->c_ivq_lock);
 		if (err < 0) {
 			dev_err(&vdev->dev,
drivers/clk/bcm/clk-bcm53573-ilp.c +1 -1
index 36eb3716ffb0..3bc6837f844d 100644
@@ -115,7 +115,7 @@ static void bcm53573_ilp_init(struct device_node *np)
 		goto err_free_ilp;
 	}
 
-	ilp->regmap = syscon_node_to_regmap(of_get_parent(np));
+	ilp->regmap = syscon_node_to_regmap(np->parent);
 	if (IS_ERR(ilp->regmap)) {
 		err = PTR_ERR(ilp->regmap);
 		goto err_free_ilp;
drivers/clk/clk-devres.c +88 -17

137 lines not on this page · raw message

drivers/clk/rockchip/clk-rk3228.c +1 -1
index 8d11d76e1db7..811f0d43ee90 100644
@@ -415,7 +415,7 @@ static struct rockchip_clk_branch rk3228_clk_branches[] __initdata = {
 			RK2928_CLKSEL_CON(29), 0, 3, DFLAGS),
 	DIV(0, "sclk_vop_pre", "sclk_vop_src", 0,
 			RK2928_CLKSEL_CON(27), 8, 8, DFLAGS),
-	MUX(DCLK_VOP, "dclk_vop", mux_dclk_vop_p, 0,
+	MUX(DCLK_VOP, "dclk_vop", mux_dclk_vop_p, CLK_SET_RATE_PARENT | CLK_SET_RATE_NO_REPARENT,
 			RK2928_CLKSEL_CON(27), 1, 1, MFLAGS),
 
 	FACTOR(0, "xin12m", "xin24m", 0, 1, 2),
drivers/clk/rockchip/clk.c +2 -1
index c3ad92965823..fb346d0b35b4 100644
@@ -444,12 +444,13 @@ void __init rockchip_clk_register_branches(
 				      struct rockchip_clk_branch *list,
 				      unsigned int nr_clk)
 {
-	struct clk *clk = NULL;
+	struct clk *clk;
 	unsigned int idx;
 	unsigned long flags;
 
 	for (idx = 0; idx < nr_clk; idx++, list++) {
 		flags = list->flags;
+		clk = NULL;
 
 		/* catch simple muxes */
 		switch (list->branch_type) {
drivers/clk/ti/clk-dra7-atl.c +1 -0
index a4b6f3ac2d34..afd71c894150 100644
@@ -257,6 +257,7 @@ static int of_dra7_atl_clk_probe(struct platform_device *pdev)
 		}
 
 		clk = of_clk_get_from_provider(&clkspec);
+		of_node_put(clkspec.np);
 		if (IS_ERR(clk)) {
 			pr_err("%s: failed to get atl clock %d from provider\n",
 			       __func__, i);
drivers/clocksource/timer-qcom.c +6 -1
index 89816f89ff3f..83385bc431ac 100644
@@ -242,6 +242,7 @@ static int __init msm_dt_timer_init(struct device_node *np)
 	}
 
 	if (of_property_read_u32(np, "clock-frequency", &freq)) {
+		iounmap(cpu0_base);
 		pr_err("Unknown frequency\n");
 		return -EINVAL;
 	}
@@ -252,7 +253,11 @@ static int __init msm_dt_timer_init(struct device_node *np)
 	freq /= 4;
 	writel_relaxed(DGT_CLK_CTL_DIV_4, source_base + DGT_CLK_CTL);
 
-	return msm_timer_init(freq, 32, irq, !!percpu_offset);
+	ret = msm_timer_init(freq, 32, irq, !!percpu_offset);
+	if (ret)
+		iounmap(cpu0_base);
+
+	return ret;
 }
 TIMER_OF_DECLARE(kpss_timer, "qcom,kpss-timer", msm_dt_timer_init);
 TIMER_OF_DECLARE(scss_timer, "qcom,scss-timer", msm_dt_timer_init);
drivers/firmware/arm_sdei.c +1 -1
index ea2c2bdcf4f7..eb99a02e5114 100644
@@ -800,7 +800,7 @@ static int sdei_device_freeze(struct device *dev)
 	int err;
 
 	/* unregister private events */
-	cpuhp_remove_state(sdei_entry_point);
+	cpuhp_remove_state(sdei_hp_state);
 
 	err = sdei_unregister_shared();
 	if (err)
drivers/gpio/gpio-aspeed.c +3 -1
index ba1cd971d50b..cab3d9a4018a 100644
@@ -407,6 +407,8 @@ static void __aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset,
 	gpio->dcache[GPIO_BANK(offset)] = reg;
 
 	iowrite32(reg, addr);
+	/* Flush write */
+	ioread32(addr);
 }
 
 static void aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset,
@@ -1174,7 +1176,7 @@ static int __init aspeed_gpio_probe(struct platform_device *pdev)
 	if (!gpio_id)
 		return -EINVAL;
 
-	gpio->clk = of_clk_get(pdev->dev.of_node, 0);
+	gpio->clk = devm_clk_get_enabled(&pdev->dev, NULL);
 	if (IS_ERR(gpio->clk)) {
 		dev_warn(&pdev->dev,
 				"Failed to get clock from devicetree, debouncing disabled\n");
drivers/gpio/gpio-davinci.c +4 -4
index ab9f7acaae76..5d2b848cfc6a 100644
@@ -294,7 +294,7 @@ static int davinci_gpio_probe(struct platform_device *pdev)
  * serve as EDMA event triggers.
  */
 
-static void gpio_irq_disable(struct irq_data *d)
+static void gpio_irq_mask(struct irq_data *d)
 {
 	struct davinci_gpio_regs __iomem *g = irq2regs(d);
 	u32 mask = (u32) irq_data_get_irq_handler_data(d);
@@ -303,7 +303,7 @@ static void gpio_irq_disable(struct irq_data *d)
 	writel_relaxed(mask, &g->clr_rising);
 }
 
-static void gpio_irq_enable(struct irq_data *d)
+static void gpio_irq_unmask(struct irq_data *d)
 {
 	struct davinci_gpio_regs __iomem *g = irq2regs(d);
 	u32 mask = (u32) irq_data_get_irq_handler_data(d);
@@ -329,8 +329,8 @@ static int gpio_irq_type(struct irq_data *d, unsigned trigger)
 
 static struct irq_chip gpio_irqchip = {
 	.name		= "GPIO",
-	.irq_enable	= gpio_irq_enable,
-	.irq_disable	= gpio_irq_disable,
+	.irq_unmask	= gpio_irq_unmask,
+	.irq_mask	= gpio_irq_mask,
 	.irq_set_type	= gpio_irq_type,
 	.flags		= IRQCHIP_SET_TYPE_MASKED | IRQCHIP_SKIP_SET_WAKE,
 };
drivers/gpio/gpiolib.c +2 -1
index 12472b84a71c..f93c4ece69e2 100644
@@ -3,6 +3,7 @@
 #include <linux/module.h>
 #include <linux/interrupt.h>
 #include <linux/irq.h>
+#include <linux/nospec.h>
 #include <linux/spinlock.h>
 #include <linux/list.h>
 #include <linux/device.h>
@@ -144,7 +145,7 @@ struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip,
 	if (hwnum >= gdev->ngpio)
 		return ERR_PTR(-EINVAL);
 
-	return &gdev->descs[hwnum];
+	return &gdev->descs[array_index_nospec(hwnum, gdev->ngpio)];
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c +12 -3
index bbd927e800af..bf8044bf4734 100644
@@ -90,6 +90,7 @@ static union acpi_object *amdgpu_atif_call(struct amdgpu_atif *atif,
 					   struct acpi_buffer *params)
 {
 	acpi_status status;
+	union acpi_object *obj;
 	union acpi_object atif_arg_elements[2];
 	struct acpi_object_list atif_arg;
 	struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL };
@@ -112,16 +113,24 @@ static union acpi_object *amdgpu_atif_call(struct amdgpu_atif *atif,
 
 	status = acpi_evaluate_object(atif->handle, NULL, &atif_arg,
 				      &buffer);
+	obj = (union acpi_object *)buffer.pointer;
 
-	/* Fail only if calling the method fails and ATIF is supported */
+	/* Fail if calling the method fails and ATIF is supported */
 	if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) {
 		DRM_DEBUG_DRIVER("failed to evaluate ATIF got %s\n",
 				 acpi_format_exception(status));
-		kfree(buffer.pointer);
+		kfree(obj);
 		return NULL;
 	}
 
-	return buffer.pointer;
+	if (obj->type != ACPI_TYPE_BUFFER) {
+		DRM_DEBUG_DRIVER("bad object returned from ATIF: %d\n",
+				 obj->type);
+		kfree(obj);
+		return NULL;
+	}
+
+	return obj;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/atombios_encoders.c +16 -10
index d702fb8e3427..251975697d69 100644
@@ -2095,23 +2095,29 @@ amdgpu_atombios_encoder_get_lcd_info(struct amdgpu_encoder *encoder)
 					fake_edid_record = (ATOM_FAKE_EDID_PATCH_RECORD *)record;
 					if (fake_edid_record->ucFakeEDIDLength) {
 						struct edid *edid;
-						int edid_size =
-							max((int)EDID_LENGTH, (int)fake_edid_record->ucFakeEDIDLength);
-						edid = kmalloc(edid_size, GFP_KERNEL);
+						int edid_size;
+
+						if (fake_edid_record->ucFakeEDIDLength == 128)
+							edid_size = fake_edid_record->ucFakeEDIDLength;
+						else
+							edid_size = fake_edid_record->ucFakeEDIDLength * 128;
+						edid = kmemdup(&fake_edid_record->ucFakeEDIDString[0],
+							       edid_size, GFP_KERNEL);
 						if (edid) {
-							memcpy((u8 *)edid, (u8 *)&fake_edid_record->ucFakeEDIDString[0],
-							       fake_edid_record->ucFakeEDIDLength);
-
 							if (drm_edid_is_valid(edid)) {
 								adev->mode_info.bios_hardcoded_edid = edid;
 								adev->mode_info.bios_hardcoded_edid_size = edid_size;
-							} else
+							} else {
 								kfree(edid);
+							}
 						}
+						record += struct_size(fake_edid_record,
+								      ucFakeEDIDString,
+								      edid_size);
+					} else {
+						/* empty fake edid record must be 3 bytes long */
+						record += sizeof(ATOM_FAKE_EDID_PATCH_RECORD) + 1;
 					}
-					record += fake_edid_record->ucFakeEDIDLength ?
-						fake_edid_record->ucFakeEDIDLength + 2 :
-						sizeof(ATOM_FAKE_EDID_PATCH_RECORD);
 					break;
 				case LCD_PANEL_RESOLUTION_RECORD_TYPE:
 					panel_res_record = (ATOM_PANEL_RESOLUTION_PATCH_RECORD *)record;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c +2 -0
index 8b4337794d1e..18ebbbf67f23 100644
@@ -1569,6 +1569,8 @@ static bool are_stream_backends_same(
 bool dc_is_stream_unchanged(
 	struct dc_stream_state *old_stream, struct dc_stream_state *stream)
 {
+	if (!old_stream || !stream)
+		return false;
 
 	if (!are_stream_backends_same(old_stream, stream))
 		return false;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c +2 -0
index 67a3ba49234e..ad4247061344 100644
@@ -482,6 +482,8 @@ bool cm_helper_translate_curve_to_degamma_hw_format(
 				i += increment) {
 			if (j == hw_points - 1)
 				break;
+			if (i >= TRANSFER_FUNC_POINTS)
+				return false;
 			rgb_resulted[j].red = output_tf->tf_pts.red[i];
 			rgb_resulted[j].green = output_tf->tf_pts.green[i];
 			rgb_resulted[j].blue = output_tf->tf_pts.blue[i];
drivers/gpu/drm/amd/include/atombios.h +2 -2
index 7931502fa54f..c9f70accd46d 100644
@@ -4106,8 +4106,8 @@ typedef struct  _ATOM_LCD_MODE_CONTROL_CAP
 typedef struct _ATOM_FAKE_EDID_PATCH_RECORD
 {
   UCHAR ucRecordType;
-  UCHAR ucFakeEDIDLength;       // = 128 means EDID lenght is 128 bytes, otherwise the EDID length = ucFakeEDIDLength*128
-  UCHAR ucFakeEDIDString[1];    // This actually has ucFakeEdidLength elements.
+  UCHAR ucFakeEDIDLength;       // = 128 means EDID length is 128 bytes, otherwise the EDID length = ucFakeEDIDLength*128
+  UCHAR ucFakeEDIDString[];     // This actually has ucFakeEdidLength elements.
 } ATOM_FAKE_EDID_PATCH_RECORD;
 
 typedef struct  _ATOM_PANEL_RESOLUTION_PATCH_RECORD
drivers/gpu/drm/drm_crtc.c +10 -7
index 22eba10af165..e8d5fc8408c5 100644
@@ -567,9 +567,9 @@ int drm_mode_setcrtc(struct drm_device *dev, void *data,
 	struct drm_mode_crtc *crtc_req = data;
 	struct drm_crtc *crtc;
 	struct drm_plane *plane;
-	struct drm_connector **connector_set, *connector;
-	struct drm_framebuffer *fb;
-	struct drm_display_mode *mode;
+	struct drm_connector **connector_set = NULL, *connector;
+	struct drm_framebuffer *fb = NULL;
+	struct drm_display_mode *mode = NULL;
 	struct drm_mode_set set;
 	uint32_t __user *set_connectors_ptr;
 	struct drm_modeset_acquire_ctx ctx;
@@ -601,10 +601,6 @@ int drm_mode_setcrtc(struct drm_device *dev, void *data,
 	mutex_lock(&crtc->dev->mode_config.mutex);
 	drm_modeset_acquire_init(&ctx, DRM_MODESET_ACQUIRE_INTERRUPTIBLE);
 retry:
-	connector_set = NULL;
-	fb = NULL;
-	mode = NULL;
-
 	ret = drm_modeset_lock_all_ctx(crtc->dev, &ctx);
 	if (ret)
 		goto out;
@@ -767,6 +763,13 @@ int drm_mode_setcrtc(struct drm_device *dev, void *data,
 	}
 	kfree(connector_set);
 	drm_mode_destroy(dev, mode);
+
+	/* In case we need to retry... */
+	connector_set = NULL;
+	fb = NULL;
+	mode = NULL;
+	num_connectors = 0;
+
 	if (ret == -EDEADLK) {
 		ret = drm_modeset_backoff(&ctx);
 		if (!ret)
drivers/gpu/drm/drm_print.c +8 -5
index 0e7fc3e7dfb4..711a1b329879 100644
@@ -54,8 +54,9 @@ void __drm_puts_coredump(struct drm_printer *p, const char *str)
 			copy = iterator->remain;
 
 		/* Copy out the bit of the string that we need */
-		memcpy(iterator->data,
-			str + (iterator->start - iterator->offset), copy);
+		if (iterator->data)
+			memcpy(iterator->data,
+			       str + (iterator->start - iterator->offset), copy);
 
 		iterator->offset = iterator->start + copy;
 		iterator->remain -= copy;
@@ -64,7 +65,8 @@ void __drm_puts_coredump(struct drm_printer *p, const char *str)
 
 		len = min_t(ssize_t, strlen(str), iterator->remain);
 
-		memcpy(iterator->data + pos, str, len);
+		if (iterator->data)
+			memcpy(iterator->data + pos, str, len);
 
 		iterator->offset += len;
 		iterator->remain -= len;
@@ -94,8 +96,9 @@ void __drm_printfn_coredump(struct drm_printer *p, struct va_format *vaf)
 	if ((iterator->offset >= iterator->start) && (len < iterator->remain)) {
 		ssize_t pos = iterator->offset - iterator->start;
 
-		snprintf(((char *) iterator->data) + pos,
-			iterator->remain, "%pV", vaf);
+		if (iterator->data)
+			snprintf(((char *) iterator->data) + pos,
+				 iterator->remain, "%pV", vaf);
 
 		iterator->offset += len;
 		iterator->remain -= len;
drivers/gpu/drm/msm/adreno/a5xx_gpu.h +1 -0
index 7d71860c4bee..c9b1da1517dc 100644
@@ -44,6 +44,7 @@ struct a5xx_gpu {
 	uint64_t preempt_iova[MSM_GPU_MAX_RINGS];
 
 	atomic_t preempt_state;
+	spinlock_t preempt_start_lock;
 	struct timer_list preempt_timer;
 };
 
drivers/gpu/drm/msm/adreno/a5xx_preempt.c +24 -2
index 970c7963ae29..63445e88f8ad 100644
@@ -107,12 +107,19 @@ void a5xx_preempt_trigger(struct msm_gpu *gpu)
 	if (gpu->nr_rings == 1)
 		return;
 
+	/*
+	 * Serialize preemption start to ensure that we always make
+	 * decision on latest state. Otherwise we can get stuck in
+	 * lower priority or empty ring.
+	 */
+	spin_lock_irqsave(&a5xx_gpu->preempt_start_lock, flags);
+
 	/*
 	 * Try to start preemption by moving from NONE to START. If
 	 * unsuccessful, a preemption is already in flight
 	 */
 	if (!try_preempt_state(a5xx_gpu, PREEMPT_NONE, PREEMPT_START))
-		return;
+		goto out;
 
 	/* Get the next ring to preempt to */
 	ring = get_next_ring(gpu);
@@ -137,9 +144,11 @@ void a5xx_preempt_trigger(struct msm_gpu *gpu)
 		set_preempt_state(a5xx_gpu, PREEMPT_ABORT);
 		update_wptr(gpu, a5xx_gpu->cur_ring);
 		set_preempt_state(a5xx_gpu, PREEMPT_NONE);
-		return;
+		goto out;
 	}
 
+	spin_unlock_irqrestore(&a5xx_gpu->preempt_start_lock, flags);
+
 	/* Make sure the wptr doesn't update while we're in motion */
 	spin_lock_irqsave(&ring->lock, flags);
 	a5xx_gpu->preempt[ring->id]->wptr = get_wptr(ring);
@@ -163,6 +172,10 @@ void a5xx_preempt_trigger(struct msm_gpu *gpu)
 
 	/* And actually start the preemption */
 	gpu_write(gpu, REG_A5XX_CP_CONTEXT_SWITCH_CNTL, 1);
+	return;
+
+out:
+	spin_unlock_irqrestore(&a5xx_gpu->preempt_start_lock, flags);
 }
 
 void a5xx_preempt_irq(struct msm_gpu *gpu)
@@ -200,6 +213,12 @@ void a5xx_preempt_irq(struct msm_gpu *gpu)
 	update_wptr(gpu, a5xx_gpu->cur_ring);
 
 	set_preempt_state(a5xx_gpu, PREEMPT_NONE);
+
+	/*
+	 * Try to trigger preemption again in case there was a submit or
+	 * retire during ring switch
+	 */
+	a5xx_preempt_trigger(gpu);
 }
 
 void a5xx_preempt_hw_init(struct msm_gpu *gpu)
@@ -209,6 +228,8 @@ void a5xx_preempt_hw_init(struct msm_gpu *gpu)
 	int i;
 
 	for (i = 0; i < gpu->nr_rings; i++) {
+		a5xx_gpu->preempt[i]->data = 0;
+		a5xx_gpu->preempt[i]->info = 0;
 		a5xx_gpu->preempt[i]->wptr = 0;
 		a5xx_gpu->preempt[i]->rptr = 0;
 		a5xx_gpu->preempt[i]->rbase = gpu->rb[i]->iova;
@@ -300,5 +321,6 @@ void a5xx_preempt_init(struct msm_gpu *gpu)
 		}
 	}
 
+	spin_lock_init(&a5xx_gpu->preempt_start_lock);
 	timer_setup(&a5xx_gpu->preempt_timer, a5xx_preempt_timer, 0);
 }
drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c +1 -1
index 96c2b828dba4..2d9027c8418e 100644
@@ -366,7 +366,7 @@ void mdp5_smp_dump(struct mdp5_smp *smp, struct drm_printer *p)
 
 			drm_printf(p, "%s:%d\t%d\t%s\n",
 				pipe2name(pipe), j, inuse,
-				plane ? plane->name : NULL);
+				plane ? plane->name : "(null)");
 
 			total += inuse;
 		}
drivers/gpu/drm/msm/dsi/dsi_host.c +1 -1
index 5f4dd3659bf9..137c0ec1b577 100644
@@ -671,7 +671,7 @@ static u32 dsi_get_pclk_rate(struct msm_dsi_host *msm_host, bool is_dual_dsi)
 	struct drm_display_mode *mode = msm_host->mode;
 	u32 pclk_rate;
 
-	pclk_rate = mode->clock * 1000;
+	pclk_rate = mode->clock * 1000u;
 
 	/*
 	 * For dual DSI mode, the current DRM mode has the complete width of the
drivers/gpu/drm/radeon/atombios.h +1 -1
index 4b86e8b45009..e3f496464764 100644
@@ -3615,7 +3615,7 @@ typedef struct _ATOM_FAKE_EDID_PATCH_RECORD
 {
   UCHAR ucRecordType;
   UCHAR ucFakeEDIDLength;
-  UCHAR ucFakeEDIDString[1];    // This actually has ucFakeEdidLength elements.
+  UCHAR ucFakeEDIDString[];    // This actually has ucFakeEdidLength elements.
 } ATOM_FAKE_EDID_PATCH_RECORD;
 
 typedef struct  _ATOM_PANEL_RESOLUTION_PATCH_RECORD
drivers/gpu/drm/radeon/evergreen_cs.c +31 -31

166 lines not on this page · raw message

drivers/gpu/drm/radeon/r100.c +45 -25

90 lines not on this page · raw message

drivers/gpu/drm/radeon/radeon_atombios.c +16 -10
index 821b03d6142b..317843bd67d9 100644
@@ -1727,23 +1727,29 @@ struct radeon_encoder_atom_dig *radeon_atombios_get_lvds_info(struct
 					fake_edid_record = (ATOM_FAKE_EDID_PATCH_RECORD *)record;
 					if (fake_edid_record->ucFakeEDIDLength) {
 						struct edid *edid;
-						int edid_size =
-							max((int)EDID_LENGTH, (int)fake_edid_record->ucFakeEDIDLength);
-						edid = kmalloc(edid_size, GFP_KERNEL);
+						int edid_size;
+
+						if (fake_edid_record->ucFakeEDIDLength == 128)
+							edid_size = fake_edid_record->ucFakeEDIDLength;
+						else
+							edid_size = fake_edid_record->ucFakeEDIDLength * 128;
+						edid = kmemdup(&fake_edid_record->ucFakeEDIDString[0],
+							       edid_size, GFP_KERNEL);
 						if (edid) {
-							memcpy((u8 *)edid, (u8 *)&fake_edid_record->ucFakeEDIDString[0],
-							       fake_edid_record->ucFakeEDIDLength);
-
 							if (drm_edid_is_valid(edid)) {
 								rdev->mode_info.bios_hardcoded_edid = edid;
 								rdev->mode_info.bios_hardcoded_edid_size = edid_size;
-							} else
+							} else {
 								kfree(edid);
+							}
 						}
+						record += struct_size(fake_edid_record,
+								      ucFakeEDIDString,
+								      edid_size);
+					} else {
+						/* empty fake edid record must be 3 bytes long */
+						record += sizeof(ATOM_FAKE_EDID_PATCH_RECORD) + 1;
 					}
-					record += fake_edid_record->ucFakeEDIDLength ?
-						fake_edid_record->ucFakeEDIDLength + 2 :
-						sizeof(ATOM_FAKE_EDID_PATCH_RECORD);
 					break;
 				case LCD_PANEL_RESOLUTION_RECORD_TYPE:
 					panel_res_record = (ATOM_PANEL_RESOLUTION_PATCH_RECORD *)record;
drivers/gpu/drm/rockchip/rockchip_drm_vop.c +2 -2
index c502d24b8253..63c4e16ec449 100644
@@ -308,8 +308,8 @@ static void scl_vop_cal_scl_fac(struct vop *vop, const struct vop_win_data *win,
 	if (info->is_yuv)
 		is_yuv = true;
 
-	if (dst_w > 3840) {
-		DRM_DEV_ERROR(vop->dev, "Maximum dst width (3840) exceeded\n");
+	if (dst_w > 4096) {
+		DRM_DEV_ERROR(vop->dev, "Maximum dst width (4096) exceeded\n");
 		return;
 	}
 
drivers/gpu/drm/stm/drv.c +3 -1
index f2021b23554d..dade0ecdfc1a 100644
@@ -152,10 +152,12 @@ static int stm_drm_platform_probe(struct platform_device *pdev)
 
 	ret = drm_dev_register(ddev, 0);
 	if (ret)
-		goto err_put;
+		goto err_unload;
 
 	return 0;
 
+err_unload:
+	drv_unload(ddev);
 err_put:
 	drm_dev_put(ddev);
 
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c +1 -0
index bf8c721ebfe9..77fba2867c4c 100644
@@ -1468,6 +1468,7 @@ static struct drm_framebuffer *vmw_kms_fb_create(struct drm_device *dev,
 		DRM_ERROR("Surface size cannot exceed %dx%d",
 			dev_priv->texture_max_width,
 			dev_priv->texture_max_height);
+		ret = -EINVAL;
 		goto err_out;
 	}
 
drivers/hid/hid-ids.h +2 -0
index 3267e2da30e6..0cb25ecfb2a1 100644
@@ -916,6 +916,8 @@
 #define USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3220_SERIES	0xc056
 #define USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3215_SERIES	0xc057
 #define USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3225_SERIES	0xc058
+#define USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3325_SERIES	0x430c
+#define USB_DEVICE_ID_PLANTRONICS_ENCOREPRO_500_SERIES		0x431e
 
 #define USB_VENDOR_ID_PANASONIC		0x04da
 #define USB_DEVICE_ID_PANABOARD_UBT780	0x1044
drivers/hid/hid-plantronics.c +23 -0
index 3b75cadd543f..1f1716da4af1 100644
@@ -41,8 +41,10 @@
 			    (usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER)
 
 #define PLT_QUIRK_DOUBLE_VOLUME_KEYS BIT(0)
+#define PLT_QUIRK_FOLLOWED_OPPOSITE_VOLUME_KEYS BIT(1)
 
 #define PLT_DOUBLE_KEY_TIMEOUT 5 /* ms */
+#define PLT_FOLLOWED_OPPOSITE_KEY_TIMEOUT 220 /* ms */
 
 struct plt_drv_data {
 	unsigned long device_type;
@@ -140,6 +142,21 @@ static int plantronics_event(struct hid_device *hdev, struct hid_field *field,
 
 		drv_data->last_volume_key_ts = cur_ts;
 	}
+	if (drv_data->quirks & PLT_QUIRK_FOLLOWED_OPPOSITE_VOLUME_KEYS) {
+		unsigned long prev_ts, cur_ts;
+
+		/* Usages are filtered in plantronics_usages. */
+
+		if (!value) /* Handle key presses only. */
+			return 0;
+
+		prev_ts = drv_data->last_volume_key_ts;
+		cur_ts = jiffies;
+		if (jiffies_to_msecs(cur_ts - prev_ts) <= PLT_FOLLOWED_OPPOSITE_KEY_TIMEOUT)
+			return 1; /* Ignore the followed opposite volume key. */
+
+		drv_data->last_volume_key_ts = cur_ts;
+	}
 
 	return 0;
 }
@@ -213,6 +230,12 @@ static const struct hid_device_id plantronics_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_PLANTRONICS,
 					 USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3225_SERIES),
 		.driver_data = PLT_QUIRK_DOUBLE_VOLUME_KEYS },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_PLANTRONICS,
+					 USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3325_SERIES),
+		.driver_data = PLT_QUIRK_FOLLOWED_OPPOSITE_VOLUME_KEYS },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_PLANTRONICS,
+					 USB_DEVICE_ID_PLANTRONICS_ENCOREPRO_500_SERIES),
+		.driver_data = PLT_QUIRK_FOLLOWED_OPPOSITE_VOLUME_KEYS },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_PLANTRONICS, HID_ANY_ID) },
 	{ }
 };
drivers/hwmon/max16065.c +3 -2
index 162401aaef71..3015dd1a7514 100644
@@ -117,9 +117,10 @@ static inline int LIMIT_TO_MV(int limit, int range)
 	return limit * range / 256;
 }
 
-static inline int MV_TO_LIMIT(int mv, int range)
+static inline int MV_TO_LIMIT(unsigned long mv, int range)
 {
-	return clamp_val(DIV_ROUND_CLOSEST(mv * 256, range), 0, 255);
+	mv = clamp_val(mv, 0, ULONG_MAX / 256);
+	return DIV_ROUND_CLOSEST(clamp_val(mv * 256, 0, range * 255), range);
 }
 
 static inline int ADC_TO_CURR(int adc, int gain)
drivers/hwmon/ntc_thermistor.c +1 -0
index c52d07c6b49f..6e4c1453b8ab 100644
@@ -57,6 +57,7 @@ static const struct platform_device_id ntc_thermistor_id[] = {
 	{ "ncp15xh103", TYPE_NCPXXXH103 },
 	{ },
 };
+MODULE_DEVICE_TABLE(platform, ntc_thermistor_id);
 
 /*
  * A compensation table should be sorted by the values of .ohm
drivers/hwtracing/coresight/coresight-tmc-etr.c +1 -1
index 8f850c22be41..99344e9daf5d 100644
@@ -222,6 +222,7 @@ void tmc_free_sg_table(struct tmc_sg_table *sg_table)
 {
 	tmc_free_table_pages(sg_table);
 	tmc_free_data_pages(sg_table);
+	kfree(sg_table);
 }
 
 /*
@@ -302,7 +303,6 @@ struct tmc_sg_table *tmc_alloc_sg_table(struct device *dev,
 		rc = tmc_alloc_table_pages(sg_table);
 	if (rc) {
 		tmc_free_sg_table(sg_table);
-		kfree(sg_table);
 		return ERR_PTR(rc);
 	}
 
drivers/i2c/busses/i2c-aspeed.c +8 -8
index d9401b519106..d142e951bf98 100644
@@ -159,6 +159,13 @@ struct aspeed_i2c_bus {
 
 static int aspeed_i2c_reset(struct aspeed_i2c_bus *bus);
 
+/* precondition: bus.lock has been acquired. */
+static void aspeed_i2c_do_stop(struct aspeed_i2c_bus *bus)
+{
+	bus->master_state = ASPEED_I2C_MASTER_STOP;
+	writel(ASPEED_I2CD_M_STOP_CMD, bus->base + ASPEED_I2C_CMD_REG);
+}
+
 static int aspeed_i2c_recover_bus(struct aspeed_i2c_bus *bus)
 {
 	unsigned long time_left, flags;
@@ -176,7 +183,7 @@ static int aspeed_i2c_recover_bus(struct aspeed_i2c_bus *bus)
 			command);
 
 		reinit_completion(&bus->cmd_complete);
-		writel(ASPEED_I2CD_M_STOP_CMD, bus->base + ASPEED_I2C_CMD_REG);
+		aspeed_i2c_do_stop(bus);
 		spin_unlock_irqrestore(&bus->lock, flags);
 
 		time_left = wait_for_completion_timeout(
@@ -350,13 +357,6 @@ static void aspeed_i2c_do_start(struct aspeed_i2c_bus *bus)
 	writel(command, bus->base + ASPEED_I2C_CMD_REG);
 }
 
-/* precondition: bus.lock has been acquired. */
-static void aspeed_i2c_do_stop(struct aspeed_i2c_bus *bus)
-{
-	bus->master_state = ASPEED_I2C_MASTER_STOP;
-	writel(ASPEED_I2CD_M_STOP_CMD, bus->base + ASPEED_I2C_CMD_REG);
-}
-
 /* precondition: bus.lock has been acquired. */
 static void aspeed_i2c_next_msg_or_stop(struct aspeed_i2c_bus *bus)
 {
drivers/i2c/busses/i2c-i801.c +8 -1
index c1e2539b7950..b552f8d62fa2 100644
@@ -1674,8 +1674,15 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
 
 	i801_add_tco(priv);
 
+	/*
+	 * adapter.name is used by platform code to find the main I801 adapter
+	 * to instantiante i2c_clients, do not change.
+	 */
 	snprintf(priv->adapter.name, sizeof(priv->adapter.name),
-		"SMBus I801 adapter at %04lx", priv->smba);
+		 "SMBus %s adapter at %04lx",
+		 (priv->features & FEATURE_IDF) ? "I801 IDF" : "I801",
+		 priv->smba);
+
 	err = i2c_add_adapter(&priv->adapter);
 	if (err) {
 		platform_device_unregister(priv->tco_pdev);
drivers/i2c/busses/i2c-isch.c +1 -2
index 5c754bf659e2..94b18f864849 100644
@@ -107,8 +107,7 @@ static int sch_transaction(void)
 	if (retries > MAX_RETRIES) {
 		dev_err(&sch_adapter.dev, "SMBus Timeout!\n");
 		result = -ETIMEDOUT;
-	}
-	if (temp & 0x04) {
+	} else if (temp & 0x04) {
 		result = -EIO;
 		dev_dbg(&sch_adapter.dev, "Bus collision! SMBus may be "
 			"locked until next hard reset. (sorry!)\n");
drivers/i2c/busses/i2c-xiic.c +9 -10
index c1f85114ab81..bf0f86a47dd0 100644
@@ -478,14 +478,17 @@ static irqreturn_t xiic_process(int irq, void *dev_id)
 			goto out;
 		}
 
-		xiic_fill_tx_fifo(i2c);
-
-		/* current message sent and there is space in the fifo */
-		if (!xiic_tx_space(i2c) && xiic_tx_fifo_space(i2c) >= 2) {
+		if (xiic_tx_space(i2c)) {
+			xiic_fill_tx_fifo(i2c);
+		} else {
+			/* current message fully written */
 			dev_dbg(i2c->adap.dev.parent,
 				"%s end of message sent, nmsgs: %d\n",
 				__func__, i2c->nmsgs);
-			if (i2c->nmsgs > 1) {
+			/* Don't move onto the next message until the TX FIFO empties,
+			 * to ensure that a NAK is not missed.
+			 */
+			if (i2c->nmsgs > 1 && (pend & XIIC_INTR_TX_EMPTY_MASK)) {
 				i2c->nmsgs--;
 				i2c->tx_msg++;
 				xfer_more = 1;
@@ -496,11 +499,7 @@ static irqreturn_t xiic_process(int irq, void *dev_id)
 					"%s Got TX IRQ but no more to do...\n",
 					__func__);
 			}
-		} else if (!xiic_tx_space(i2c) && (i2c->nmsgs == 1))
-			/* current frame is sent and is last,
-			 * make sure to disable tx half
-			 */
-			xiic_irq_dis(i2c, XIIC_INTR_TX_HALF_MASK);
+		}
 	}
 out:
 	dev_dbg(i2c->adap.dev.parent, "%s clr: 0x%x\n", __func__, clr);
drivers/iio/adc/Kconfig +2 -0
index 1dabd366ec0b..ef2eb0588aae 100644
@@ -852,6 +852,8 @@ config TI_ADS7950
 config TI_ADS8688
 	tristate "Texas Instruments ADS8688"
 	depends on SPI && OF
+	select IIO_BUFFER
+	select IIO_TRIGGERED_BUFFER
 	help
 	  If you say yes here you get support for Texas Instruments ADS8684 and
 	  and ADS8688 ADC chips
drivers/iio/common/hid-sensors/hid-sensor-trigger.c +1 -1
index 1e10c0af2f2c..3a9bb226d6ac 100644
@@ -46,7 +46,7 @@ static ssize_t _hid_sensor_set_report_latency(struct device *dev,
 	latency = integer * 1000 + fract / 1000;
 	ret = hid_sensor_set_report_latency(attrb, latency);
 	if (ret < 0)
-		return len;
+		return ret;
 
 	attrb->latency_ms = hid_sensor_get_report_latency(attrb);
 
drivers/iio/dac/Kconfig +1 -0
index 69f4cfa6494b..8a27d105cc06 100644
@@ -335,6 +335,7 @@ config STM32_DAC
 
 config STM32_DAC_CORE
 	tristate
+	select REGMAP_MMIO
 
 config TI_DAC082S085
 	tristate "Texas Instruments 8/10/12-bit 2/4-channel DAC driver"
drivers/iio/light/opt3001.c +4 -0
index 162eff78c673..8a4499f07668 100644
@@ -145,6 +145,10 @@ static const struct opt3001_scale opt3001_scales[] = {
 		.val = 20966,
 		.val2 = 400000,
 	},
+	{
+		.val = 41932,
+		.val2 = 800000,
+	},
 	{
 		.val = 83865,
 		.val2 = 600000,
drivers/iio/magnetometer/ak8975.c +16 -16
index 3303feb54984..a2bd9e10235a 100644
@@ -673,22 +673,8 @@ static int ak8975_start_read_axis(struct ak8975_data *data,
 	if (ret < 0)
 		return ret;
 
-	/* This will be executed only for non-interrupt based waiting case */
-	if (ret & data->def->ctrl_masks[ST1_DRDY]) {
-		ret = i2c_smbus_read_byte_data(client,
-					       data->def->ctrl_regs[ST2]);
-		if (ret < 0) {
-			dev_err(&client->dev, "Error in reading ST2\n");
-			return ret;
-		}
-		if (ret & (data->def->ctrl_masks[ST2_DERR] |
-			   data->def->ctrl_masks[ST2_HOFL])) {
-			dev_err(&client->dev, "ST2 status error 0x%x\n", ret);
-			return -EINVAL;
-		}
-	}
-
-	return 0;
+	/* Return with zero if the data is ready. */
+	return !data->def->ctrl_regs[ST1_DRDY];
 }
 
 /* Retrieve raw flux value for one of the x, y, or z axis.  */
@@ -715,6 +701,20 @@ static int ak8975_read_axis(struct iio_dev *indio_dev, int index, int *val)
 	if (ret < 0)
 		goto exit;
 
+	/* Read out ST2 for release lock on measurment data. */
+	ret = i2c_smbus_read_byte_data(client, data->def->ctrl_regs[ST2]);
+	if (ret < 0) {
+		dev_err(&client->dev, "Error in reading ST2\n");
+		goto exit;
+	}
+
+	if (ret & (data->def->ctrl_masks[ST2_DERR] |
+		   data->def->ctrl_masks[ST2_HOFL])) {
+		dev_err(&client->dev, "ST2 status error 0x%x\n", ret);
+		ret = -EINVAL;
+		goto exit;
+	}
+
 	mutex_unlock(&data->lock);
 
 	pm_runtime_mark_last_busy(&data->client->dev);
drivers/infiniband/core/iwcm.c +1 -1
index 84fa7b727a2b..6070488850ed 100644
@@ -1178,7 +1178,7 @@ static int __init iw_cm_init(void)
 	if (ret)
 		return ret;
 
-	iwcm_wq = alloc_ordered_workqueue("iw_cm_wq", 0);
+	iwcm_wq = alloc_ordered_workqueue("iw_cm_wq", WQ_MEM_RECLAIM);
 	if (!iwcm_wq)
 		goto err_alloc;
 
drivers/infiniband/hw/bnxt_re/qplib_fp.h +1 -1
index d0b24e961511..aed0c53d84be 100644
@@ -150,7 +150,7 @@ struct bnxt_qplib_swqe {
 			};
 			u32		q_key;
 			u32		dst_qp;
-			u16		avid;
+			u32		avid;
 		} send;
 
 		/* Send Raw Ethernet and QP1 */
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c +1 -1
index 8b3b5fdc19bb..092cc11428f5 100644
@@ -234,7 +234,7 @@ int bnxt_qplib_rcfw_send_message(struct bnxt_qplib_rcfw *rcfw,
 		/* failed with status */
 		dev_err(&rcfw->pdev->dev, "QPLIB: cmdq[%#x]=%#x status %#x",
 			cookie, opcode, evnt->status);
-		rc = -EFAULT;
+		rc = -EIO;
 	}
 
 	return rc;
drivers/infiniband/hw/cxgb4/cm.c +9 -5
index e8d2135df22d..81b5b009a0dd 100644
@@ -1180,6 +1180,8 @@ static int act_establish(struct c4iw_dev *dev, struct sk_buff *skb)
 	int ret;
 
 	ep = lookup_atid(t, atid);
+	if (!ep)
+		return -EINVAL;
 
 	pr_debug("ep %p tid %u snd_isn %u rcv_isn %u\n", ep, tid,
 		 be32_to_cpu(req->snd_isn), be32_to_cpu(req->rcv_isn));
@@ -2041,7 +2043,7 @@ static int import_ep(struct c4iw_ep *ep, int iptype, __u8 *peer_ip,
 	err = -ENOMEM;
 	if (n->dev->flags & IFF_LOOPBACK) {
 		if (iptype == 4)
-			pdev = ip_dev_find(&init_net, *(__be32 *)peer_ip);
+			pdev = __ip_dev_find(&init_net, *(__be32 *)peer_ip, false);
 		else if (IS_ENABLED(CONFIG_IPV6))
 			for_each_netdev(&init_net, pdev) {
 				if (ipv6_chk_addr(&init_net,
@@ -2056,12 +2058,12 @@ static int import_ep(struct c4iw_ep *ep, int iptype, __u8 *peer_ip,
 			err = -ENODEV;
 			goto out;
 		}
+		if (is_vlan_dev(pdev))
+			pdev = vlan_dev_real_dev(pdev);
 		ep->l2t = cxgb4_l2t_get(cdev->rdev.lldi.l2t,
 					n, pdev, rt_tos2priority(tos));
-		if (!ep->l2t) {
-			dev_put(pdev);
+		if (!ep->l2t)
 			goto out;
-		}
 		ep->mtu = pdev->mtu;
 		ep->tx_chan = cxgb4_port_chan(pdev);
 		ep->smac_idx = cxgb4_tp_smt_idx(adapter_type,
@@ -2075,7 +2077,6 @@ static int import_ep(struct c4iw_ep *ep, int iptype, __u8 *peer_ip,
 		ep->rss_qid = cdev->rdev.lldi.rxq_ids[
 			cxgb4_port_idx(pdev) * step];
 		set_tcp_window(ep, (struct port_info *)netdev_priv(pdev));
-		dev_put(pdev);
 	} else {
 		pdev = get_real_dev(n->dev);
 		ep->l2t = cxgb4_l2t_get(cdev->rdev.lldi.l2t,
@@ -2235,6 +2236,9 @@ static int act_open_rpl(struct c4iw_dev *dev, struct sk_buff *skb)
 	int ret = 0;
 
 	ep = lookup_atid(t, atid);
+	if (!ep)
+		return -EINVAL;
+
 	la = (struct sockaddr_in *)&ep->com.local_addr;
 	ra = (struct sockaddr_in *)&ep->com.remote_addr;
 	la6 = (struct sockaddr_in6 *)&ep->com.local_addr;
drivers/input/keyboard/adp5589-keys.c +10 -3
index 2835fba71c33..482b214feaab 100644
@@ -390,10 +390,17 @@ static int adp5589_gpio_get_value(struct gpio_chip *chip, unsigned off)
 	struct adp5589_kpad *kpad = gpiochip_get_data(chip);
 	unsigned int bank = kpad->var->bank(kpad->gpiomap[off]);
 	unsigned int bit = kpad->var->bit(kpad->gpiomap[off]);
+	int val;
 
-	return !!(adp5589_read(kpad->client,
-			       kpad->var->reg(ADP5589_GPI_STATUS_A) + bank) &
-			       bit);
+	mutex_lock(&kpad->gpio_lock);
+	if (kpad->dir[bank] & bit)
+		val = kpad->dat_out[bank];
+	else
+		val = adp5589_read(kpad->client,
+				   kpad->var->reg(ADP5589_GPI_STATUS_A) + bank);
+	mutex_unlock(&kpad->gpio_lock);
+
+	return !!(val & bit);
 }
 
 static void adp5589_gpio_set_value(struct gpio_chip *chip,
drivers/input/rmi4/rmi_driver.c +3 -3
index 0da814b41e72..75cd4c813cbb 100644
@@ -981,12 +981,12 @@ static int rmi_driver_remove(struct device *dev)
 
 	rmi_disable_irq(rmi_dev, false);
 
-	irq_domain_remove(data->irqdomain);
-	data->irqdomain = NULL;
-
 	rmi_f34_remove_sysfs(rmi_dev);
 	rmi_free_function_list(rmi_dev);
 
+	irq_domain_remove(data->irqdomain);
+	data->irqdomain = NULL;
+
 	return 0;
 }
 
drivers/mailbox/bcm2835-mailbox.c +2 -1
index e92bbc533821..9466cb007629 100644
@@ -152,7 +152,8 @@ static int bcm2835_mbox_probe(struct platform_device *pdev)
 	spin_lock_init(&mbox->lock);
 
 	ret = devm_request_irq(dev, irq_of_parse_and_map(dev->of_node, 0),
-			       bcm2835_mbox_irq, 0, dev_name(dev), mbox);
+			       bcm2835_mbox_irq, IRQF_NO_SUSPEND, dev_name(dev),
+			       mbox);
 	if (ret) {
 		dev_err(dev, "Failed to register a mailbox IRQ handler: %d\n",
 			ret);
drivers/mailbox/rockchip-mailbox.c +1 -1
index d702a204f5c1..bf09ab923d1e 100644
@@ -167,7 +167,7 @@ static const struct of_device_id rockchip_mbox_of_match[] = {
 	{ .compatible = "rockchip,rk3368-mailbox", .data = &rk3368_drv_data},
 	{ },
 };
-MODULE_DEVICE_TABLE(of, rockchp_mbox_of_match);
+MODULE_DEVICE_TABLE(of, rockchip_mbox_of_match);
 
 static int rockchip_mbox_probe(struct platform_device *pdev)
 {
drivers/media/common/videobuf2/videobuf2-core.c +4 -4
index 50015a2ea5ce..98719aa986bb 100644
@@ -281,6 +281,10 @@ static void __vb2_plane_dmabuf_put(struct vb2_buffer *vb, struct vb2_plane *p)
 	p->mem_priv = NULL;
 	p->dbuf = NULL;
 	p->dbuf_mapped = 0;
+	p->bytesused = 0;
+	p->length = 0;
+	p->m.fd = 0;
+	p->data_offset = 0;
 }
 
 /*
@@ -1169,10 +1173,6 @@ static int __prepare_dmabuf(struct vb2_buffer *vb, const void *pb)
 
 		/* Release previously acquired memory if present */
 		__vb2_plane_dmabuf_put(vb, &vb->planes[plane]);
-		vb->planes[plane].bytesused = 0;
-		vb->planes[plane].length = 0;
-		vb->planes[plane].m.fd = 0;
-		vb->planes[plane].data_offset = 0;
 
 		/* Acquire each plane's memory */
 		mem_priv = call_ptr_memop(vb, attach_dmabuf,
drivers/media/dvb-frontends/rtl2830.c +1 -1
index c0659568471b..8cda25902d63 100644
@@ -619,7 +619,7 @@ static int rtl2830_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, int on
 		index, pid, onoff);
 
 	/* skip invalid PIDs (0x2000) */
-	if (pid > 0x1fff || index > 32)
+	if (pid > 0x1fff || index >= 32)
 		return 0;
 
 	if (onoff)
drivers/media/dvb-frontends/rtl2832.c +1 -1
index 7cad4e985315..608bd2a81633 100644
@@ -995,7 +995,7 @@ static int rtl2832_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid,
 		index, pid, onoff, dev->slave_ts);
 
 	/* skip invalid PIDs (0x2000) */
-	if (pid > 0x1fff || index > 32)
+	if (pid > 0x1fff || index >= 32)
 		return 0;
 
 	if (onoff)
drivers/media/platform/qcom/venus/core.c +1 -0
index 168f5af6abcc..b661769445e5 100644
@@ -348,6 +348,7 @@ static int venus_remove(struct platform_device *pdev)
 	struct device *dev = core->dev;
 	int ret;
 
+	cancel_delayed_work_sync(&core->work);
 	ret = pm_runtime_get_sync(dev);
 	WARN_ON(ret < 0);
 
drivers/misc/sgi-gru/grukservices.c +0 -2
index 030769018461..256be2e12faa 100644
@@ -270,7 +270,6 @@ static int gru_get_cpu_resources(int dsr_bytes, void **cb, void **dsr)
 	int lcpu;
 
 	BUG_ON(dsr_bytes > GRU_NUM_KERNEL_DSR_BYTES);
-	preempt_disable();
 	bs = gru_lock_kernel_context(-1);
 	lcpu = uv_blade_processor_id();
 	*cb = bs->kernel_cb + lcpu * GRU_HANDLE_STRIDE;
@@ -284,7 +283,6 @@ static int gru_get_cpu_resources(int dsr_bytes, void **cb, void **dsr)
 static void gru_free_cpu_resources(void *cb, void *dsr)
 {
 	gru_unlock_kernel_context(uv_numa_blade_id());
-	preempt_enable();
 }
 
 /*
drivers/misc/sgi-gru/grumain.c +0 -4
index 8c3e0317c115..cb4c97210ec3 100644
@@ -954,10 +954,8 @@ vm_fault_t gru_fault(struct vm_fault *vmf)
 
 again:
 	mutex_lock(&gts->ts_ctxlock);
-	preempt_disable();
 
 	if (gru_check_context_placement(gts)) {
-		preempt_enable();
 		mutex_unlock(&gts->ts_ctxlock);
 		gru_unload_context(gts, 1);
 		return VM_FAULT_NOPAGE;
@@ -966,7 +964,6 @@ vm_fault_t gru_fault(struct vm_fault *vmf)
 	if (!gts->ts_gru) {
 		STAT(load_user_context);
 		if (!gru_assign_gru_context(gts)) {
-			preempt_enable();
 			mutex_unlock(&gts->ts_ctxlock);
 			set_current_state(TASK_INTERRUPTIBLE);
 			schedule_timeout(GRU_ASSIGN_DELAY);  /* true hack ZZZ */
@@ -982,7 +979,6 @@ vm_fault_t gru_fault(struct vm_fault *vmf)
 				vma->vm_page_prot);
 	}
 
-	preempt_enable();
 	mutex_unlock(&gts->ts_ctxlock);
 
 	return VM_FAULT_NOPAGE;
drivers/misc/sgi-gru/grutlbpurge.c +0 -2
index be28f05bfafa..0f837cc3a417 100644
@@ -78,7 +78,6 @@ static struct gru_tlb_global_handle *get_lock_tgh_handle(struct gru_state
 	struct gru_tlb_global_handle *tgh;
 	int n;
 
-	preempt_disable();
 	if (uv_numa_blade_id() == gru->gs_blade_id)
 		n = get_on_blade_tgh(gru);
 	else
@@ -92,7 +91,6 @@ static struct gru_tlb_global_handle *get_lock_tgh_handle(struct gru_state
 static void get_unlock_tgh_handle(struct gru_tlb_global_handle *tgh)
 {
 	unlock_tgh_handle(tgh);
-	preempt_enable();
 }
 
 /*
drivers/mtd/devices/slram.c +2 -0
index 10183ee4e12b..aa4f73aef362 100644
@@ -295,10 +295,12 @@ static int __init init_slram(void)
 		T("slram: devname = %s\n", devname);
 		if ((!map) || (!(devstart = strsep(&map, ",")))) {
 			E("slram: No devicestart specified.\n");
+			break;
 		}
 		T("slram: devstart = %s\n", devstart);
 		if ((!map) || (!(devlength = strsep(&map, ",")))) {
 			E("slram: No devicelength / -end specified.\n");
+			break;
 		}
 		T("slram: devlength = %s\n", devlength);
 		if (parse_cmdline(devname, devstart, devlength) != 0) {
drivers/net/dsa/mv88e6xxx/global1_atu.c +2 -1
index ea243840ee0f..aca35c9d9fbd 100644
@@ -363,7 +363,8 @@ static irqreturn_t mv88e6xxx_g1_atu_prob_irq_thread_fn(int irq, void *dev_id)
 		dev_err_ratelimited(chip->dev,
 				    "ATU full violation for %pM portvec %x spid %d\n",
 				    entry.mac, entry.portvec, spid);
-		chip->ports[spid].atu_full_violation++;
+		if (spid < ARRAY_SIZE(chip->ports))
+			chip->ports[spid].atu_full_violation++;
 	}
 	mutex_unlock(&chip->reg_lock);
 
drivers/net/ethernet/aeroflex/greth.c +2 -1
index 4df8da8f5e7e..59690330d81c 100644
@@ -488,7 +488,7 @@ greth_start_xmit_gbit(struct sk_buff *skb, struct net_device *dev)
 
 	if (unlikely(skb->len > MAX_FRAME_SIZE)) {
 		dev->stats.tx_errors++;
-		goto out;
+		goto len_error;
 	}
 
 	/* Save skb pointer. */
@@ -579,6 +579,7 @@ greth_start_xmit_gbit(struct sk_buff *skb, struct net_device *dev)
 map_error:
 	if (net_ratelimit())
 		dev_warn(greth->dev, "Could not create TX DMA mapping\n");
+len_error:
 	dev_kfree_skb(skb);
 out:
 	return err;
drivers/net/ethernet/amd/mvme147.c +3 -4
index 0a920448522f..0bb27f4dd642 100644
@@ -105,10 +105,6 @@ struct net_device * __init mvme147lance_probe(int unit)
 	address = address >> 8;
 	dev->dev_addr[3] = address&0xff;
 
-	printk("%s: MVME147 at 0x%08lx, irq %d, Hardware Address %pM\n",
-	       dev->name, dev->base_addr, MVME147_LANCE_IRQ,
-	       dev->dev_addr);
-
 	lp = netdev_priv(dev);
 	lp->ram = __get_dma_pages(GFP_ATOMIC, 3);	/* 32K */
 	if (!lp->ram) {
@@ -138,6 +134,9 @@ struct net_device * __init mvme147lance_probe(int unit)
 		return ERR_PTR(err);
 	}
 
+	netdev_info(dev, "MVME147 at 0x%08lx, irq %d, Hardware Address %pM\n",
+		    dev->base_addr, MVME147_LANCE_IRQ, dev->dev_addr);
+
 	return dev;
 }
 
drivers/net/ethernet/broadcom/bcmsysport.c +1 -0
index b3fc8745b580..55b869f5c825 100644
@@ -1319,6 +1319,7 @@ static netdev_tx_t bcm_sysport_xmit(struct sk_buff *skb,
 		netif_err(priv, tx_err, dev, "DMA map failed at %p (len=%d)\n",
 			  skb->data, skb_len);
 		ret = NETDEV_TX_OK;
+		dev_kfree_skb_any(skb);
 		goto out;
 	}
 
drivers/net/ethernet/cortina/gemini.c +2 -13
index d464dec9825a..556600e425b3 100644
@@ -81,8 +81,7 @@ MODULE_PARM_DESC(debug, "Debug level (0=none,...,16=all)");
 #define GMAC0_IRQ4_8 (GMAC0_MIB_INT_BIT | GMAC0_RX_OVERRUN_INT_BIT)
 
 #define GMAC_OFFLOAD_FEATURES (NETIF_F_SG | NETIF_F_IP_CSUM | \
-		NETIF_F_IPV6_CSUM | NETIF_F_RXCSUM | \
-		NETIF_F_TSO | NETIF_F_TSO_ECN | NETIF_F_TSO6)
+			       NETIF_F_IPV6_CSUM | NETIF_F_RXCSUM)
 
 /**
  * struct gmac_queue_page - page buffer per-page info
@@ -1156,23 +1155,13 @@ static int gmac_map_tx_bufs(struct net_device *netdev, struct sk_buff *skb,
 	struct gmac_txdesc *txd;
 	skb_frag_t *skb_frag;
 	dma_addr_t mapping;
-	unsigned short mtu;
 	void *buffer;
 	int ret;
 
-	mtu  = ETH_HLEN;
-	mtu += netdev->mtu;
-	if (skb->protocol == htons(ETH_P_8021Q))
-		mtu += VLAN_HLEN;
-
+	/* TODO: implement proper TSO using MTU in word3 */
 	word1 = skb->len;
 	word3 = SOF_BIT;
 
-	if (word1 > mtu) {
-		word1 |= TSS_MTU_ENABLE_BIT;
-		word3 |= mtu;
-	}
-
 	if (skb->len >= ETH_FRAME_LEN) {
 		/* Hardware offloaded checksumming isn't working on frames
 		 * bigger than 1514 bytes. A hypothesis about this is that the
drivers/net/ethernet/emulex/benet/be_main.c +5 -5
index d0d9a420f557..8215bd1ca022 100644
@@ -1386,10 +1386,8 @@ static netdev_tx_t be_xmit(struct sk_buff *skb, struct net_device *netdev)
 	be_get_wrb_params_from_skb(adapter, skb, &wrb_params);
 
 	wrb_cnt = be_xmit_enqueue(adapter, txo, skb, &wrb_params);
-	if (unlikely(!wrb_cnt)) {
-		dev_kfree_skb_any(skb);
-		goto drop;
-	}
+	if (unlikely(!wrb_cnt))
+		goto drop_skb;
 
 	/* if os2bmc is enabled and if the pkt is destined to bmc,
 	 * enqueue the pkt a 2nd time with mgmt bit set.
@@ -1398,7 +1396,7 @@ static netdev_tx_t be_xmit(struct sk_buff *skb, struct net_device *netdev)
 		BE_WRB_F_SET(wrb_params.features, OS2BMC, 1);
 		wrb_cnt = be_xmit_enqueue(adapter, txo, skb, &wrb_params);
 		if (unlikely(!wrb_cnt))
-			goto drop;
+			goto drop_skb;
 		else
 			skb_get(skb);
 	}
@@ -1412,6 +1410,8 @@ static netdev_tx_t be_xmit(struct sk_buff *skb, struct net_device *netdev)
 		be_xmit_flush(adapter, txo);
 
 	return NETDEV_TX_OK;
+drop_skb:
+	dev_kfree_skb_any(skb);
 drop:
 	tx_stats(txo)->tx_drv_drops++;
 	/* Flush the already enqueued tx requests */
drivers/net/ethernet/faraday/ftgmac100.c +18 -8
index 23c019d1278c..f6ed8d167d53 100644
@@ -579,7 +579,7 @@ static bool ftgmac100_rx_packet(struct ftgmac100 *priv, int *processed)
 	(*processed)++;
 	return true;
 
- drop:
+drop:
 	/* Clean rxdes0 (which resets own bit) */
 	rxdes->rxdes0 = cpu_to_le32(status & priv->rxdes0_edorr_mask);
 	priv->rx_pointer = ftgmac100_next_rx_pointer(priv, pointer);
@@ -663,6 +663,11 @@ static bool ftgmac100_tx_complete_packet(struct ftgmac100 *priv)
 	ftgmac100_free_tx_packet(priv, pointer, skb, txdes, ctl_stat);
 	txdes->txdes0 = cpu_to_le32(ctl_stat & priv->txdes0_edotr_mask);
 
+	/* Ensure the descriptor config is visible before setting the tx
+	 * pointer.
+	 */
+	smp_wmb();
+
 	priv->tx_clean_pointer = ftgmac100_next_tx_pointer(priv, pointer);
 
 	return true;
@@ -816,6 +821,11 @@ static netdev_tx_t ftgmac100_hard_start_xmit(struct sk_buff *skb,
 	dma_wmb();
 	first->txdes0 = cpu_to_le32(f_ctl_stat);
 
+	/* Ensure the descriptor config is visible before setting the tx
+	 * pointer.
+	 */
+	smp_wmb();
+
 	/* Update next TX pointer */
 	priv->tx_pointer = pointer;
 
@@ -836,7 +846,7 @@ static netdev_tx_t ftgmac100_hard_start_xmit(struct sk_buff *skb,
 
 	return NETDEV_TX_OK;
 
- dma_err:
+dma_err:
 	if (net_ratelimit())
 		netdev_err(netdev, "map tx fragment failed\n");
 
@@ -858,7 +868,7 @@ static netdev_tx_t ftgmac100_hard_start_xmit(struct sk_buff *skb,
 	 * last fragment, so we know ftgmac100_free_tx_packet()
 	 * hasn't freed the skb yet.
 	 */
- drop:
+drop:
 	/* Drop the packet */
 	dev_kfree_skb_any(skb);
 	netdev->stats.tx_dropped++;
@@ -1444,7 +1454,7 @@ static void ftgmac100_reset_task(struct work_struct *work)
 	ftgmac100_init_all(priv, true);
 
 	netdev_dbg(netdev, "Reset done !\n");
- bail:
+bail:
 	if (priv->mii_bus)
 		mutex_unlock(&priv->mii_bus->mdio_lock);
 	if (netdev->phydev)
@@ -1515,15 +1525,15 @@ static int ftgmac100_open(struct net_device *netdev)
 
 	return 0;
 
- err_ncsi:
+err_ncsi:
 	napi_disable(&priv->napi);
 	netif_stop_queue(netdev);
- err_alloc:
+err_alloc:
 	ftgmac100_free_buffers(priv);
 	free_irq(netdev->irq, netdev);
- err_irq:
+err_irq:
 	netif_napi_del(&priv->napi);
- err_hw:
+err_hw:
 	iowrite32(0, priv->base + FTGMAC100_OFFSET_IER);
 	ftgmac100_free_rings(priv);
 	return err;
drivers/net/ethernet/faraday/ftgmac100.h +1 -1
index 0653d8176e6a..6349e7c7c074 100644
@@ -97,7 +97,7 @@
 			    FTGMAC100_INT_RPKT_BUF)
 
 /* All the interrupts we care about */
-#define FTGMAC100_INT_ALL (FTGMAC100_INT_RPKT_BUF  |  \
+#define FTGMAC100_INT_ALL (FTGMAC100_INT_RXTX  |  \
 			   FTGMAC100_INT_BAD)
 
 /*
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c +8 -1
index 4b21ae27a9fd..5c60f2a2b6d8 100644
@@ -2055,12 +2055,12 @@ static netdev_tx_t
 dpaa_start_xmit(struct sk_buff *skb, struct net_device *net_dev)
 {
 	const int queue_mapping = skb_get_queue_mapping(skb);
-	bool nonlinear = skb_is_nonlinear(skb);
 	struct rtnl_link_stats64 *percpu_stats;
 	struct dpaa_percpu_priv *percpu_priv;
 	struct netdev_queue *txq;
 	struct dpaa_priv *priv;
 	struct qm_fd fd;
+	bool nonlinear;
 	int offset = 0;
 	int err = 0;
 
@@ -2070,6 +2070,13 @@ dpaa_start_xmit(struct sk_buff *skb, struct net_device *net_dev)
 
 	qm_fd_clear_fd(&fd);
 
+	/* Packet data is always read as 32-bit words, so zero out any part of
+	 * the skb which might be sent if we have to pad the packet
+	 */
+	if (__skb_put_padto(skb, ETH_ZLEN, false))
+		goto enomem;
+
+	nonlinear = skb_is_nonlinear(skb);
 	if (!nonlinear) {
 		/* We're going to store the skb backpointer at the beginning
 		 * of the data buffer, so we need a privately owned skb
drivers/net/ethernet/hisilicon/hip04_eth.c +1 -0
index 718afa4be2a0..c0ca12dd5f15 100644
@@ -861,6 +861,7 @@ static int hip04_mac_probe(struct platform_device *pdev)
 	priv->tx_coalesce_timer.function = tx_done;
 
 	priv->map = syscon_node_to_regmap(arg.np);
+	of_node_put(arg.np);
 	if (IS_ERR(priv->map)) {
 		dev_warn(d, "no syscon hisilicon,hip04-ppe\n");
 		ret = PTR_ERR(priv->map);
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c +1 -0
index d2791bcff5d4..5ee4317e5a52 100644
@@ -937,6 +937,7 @@ static int hns_mac_get_info(struct hns_mac_cb *mac_cb)
 			mac_cb->cpld_ctrl = NULL;
 		} else {
 			syscon = syscon_node_to_regmap(cpld_args.np);
+			of_node_put(cpld_args.np);
 			if (IS_ERR_OR_NULL(syscon)) {
 				dev_dbg(mac_cb->dev, "no cpld-syscon found!\n");
 				mac_cb->cpld_ctrl = NULL;
drivers/net/ethernet/hisilicon/hns_mdio.c +1 -0
index 9a3bc0994a1d..b0f798042e41 100644
@@ -508,6 +508,7 @@ static int hns_mdio_probe(struct platform_device *pdev)
 						MDIO_SC_RESET_ST;
 				}
 			}
+			of_node_put(reg_args.np);
 		} else {
 			dev_warn(&pdev->dev, "find syscon ret = %#x\n", ret);
 			mdio_dev->subctrl_vbase = NULL;
drivers/net/ethernet/i825xx/sun3_82586.c +1 -0
index e0c9fee4e1e6..7948d59b9628 100644
@@ -1015,6 +1015,7 @@ sun3_82586_send_packet(struct sk_buff *skb, struct net_device *dev)
 	if(skb->len > XMIT_BUFF_SIZE)
 	{
 		printk("%s: Sorry, max. framelength is %d bytes. The length of your frame is %d bytes.\n",dev->name,XMIT_BUFF_SIZE,skb->len);
+		dev_kfree_skb(skb);
 		return NETDEV_TX_OK;
 	}
 
drivers/net/ethernet/ibm/emac/mal.c +1 -1
index fff09dcf9e34..9b3ba4db3222 100644
@@ -581,7 +581,7 @@ static int mal_probe(struct platform_device *ofdev)
 		printk(KERN_ERR "%pOF: Support for 405EZ not enabled!\n",
 				ofdev->dev.of_node);
 		err = -ENODEV;
-		goto fail;
+		goto fail_unmap;
 #endif
 	}
 
drivers/net/ethernet/intel/igb/igb_main.c +4 -0
index 01138fc93ea1..3a65dccc08ba 100644
@@ -9151,6 +9151,10 @@ static void igb_io_resume(struct pci_dev *pdev)
 	struct igb_adapter *adapter = netdev_priv(netdev);
 
 	if (netif_running(netdev)) {
+		if (!test_bit(__IGB_DOWN, &adapter->state)) {
+			dev_dbg(&pdev->dev, "Resuming from non-fatal error, do nothing.\n");
+			return;
+		}
 		if (igb_up(adapter)) {
 			dev_err(&pdev->dev, "igb_up failed after reset\n");
 			return;
drivers/net/ethernet/jme.c +4 -6
index a5ab6f3403ae..9b2471b2a955 100644
@@ -966,15 +966,13 @@ jme_udpsum(struct sk_buff *skb)
 	if (skb->protocol != htons(ETH_P_IP))
 		return csum;
 	skb_set_network_header(skb, ETH_HLEN);
-	if ((ip_hdr(skb)->protocol != IPPROTO_UDP) ||
-	    (skb->len < (ETH_HLEN +
-			(ip_hdr(skb)->ihl << 2) +
-			sizeof(struct udphdr)))) {
+
+	if (ip_hdr(skb)->protocol != IPPROTO_UDP ||
+	    skb->len < (ETH_HLEN + ip_hdrlen(skb) + sizeof(struct udphdr))) {
 		skb_reset_network_header(skb);
 		return csum;
 	}
-	skb_set_transport_header(skb,
-			ETH_HLEN + (ip_hdr(skb)->ihl << 2));
+	skb_set_transport_header(skb, ETH_HLEN + ip_hdrlen(skb));
 	csum = udp_hdr(skb)->check;
[… more lines in the raw message]

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

drivers/net/ethernet/lantiq_etop.c +3 -1
index b41822d08649..d492b8899d32 100644

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

drivers/net/ethernet/marvell/mvpp2/mvpp2.h +1 -1
index 23f60bc5d48f..57fbfef33665 100644

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

drivers/net/ethernet/mellanox/mlx5/core/main.c +2 -0
index e09bd059984e..908984464c13 100644

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

drivers/net/ethernet/seeq/ether3.c +2 -0
index d1bb73bf9914..a612ca641888 100644

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

drivers/net/gtp.c +14 -13
index 733cafb0888f..2a544724f0e2 100644

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

drivers/net/hyperv/netvsc_drv.c +30 -0
index e24513e34306..6bf63290978e 100644

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

drivers/net/macsec.c +0 -18
index 54b19977fb67..d870a168caba 100644

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

drivers/net/phy/vitesse.c +0 -14
index fbf9ad429593..697b07fdf3ec 100644

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

drivers/net/ppp/ppp_async.c +1 -1
index fb1e28a29892..14e8ad3f9354 100644

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

drivers/net/usb/cdc_ncm.c +4 -4
index 65dac36d8d4f..64d83f7905d0 100644

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

drivers/net/usb/ipheth.c +3 -2
index 0a86ba028c4d..6a3a4504767f 100644

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

drivers/net/usb/r8152.c +21 -52

73 lines not on this page · raw message

drivers/net/usb/usbnet.c +2 -1
index 938335f4738d..ec3a7cea8c8a 100644

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

drivers/net/wireless/ath/ath10k/wmi-tlv.c +6 -1
index c9df78950ff4..1d3031bd44fe 100644

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

drivers/net/wireless/ath/ath10k/wmi.c +2 -0
index 967a39304648..e21b5c501575 100644

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

drivers/net/wireless/ath/ath9k/debug.c +2 -4
index e0a4e3fa8730..c89f89f553e6 100644

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

drivers/net/wireless/ath/ath9k/hif_usb.c +2 -4
index 3aa915d21554..24059a5178a9 100644

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

drivers/net/wireless/ath/ath9k/htc_drv_debug.c +0 -2
index e79bbcd3279a..81332086e289 100644

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

drivers/net/wireless/intel/iwlegacy/common.c +2 -0
index c1c1cf330de7..de3988deb4d0 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +8 -1
index 3f37fb64e71c..3c00a737c4b3 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/scan.c +4 -4
index eb2d235e9dc5..7f9eeef17f23 100644

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

drivers/net/wireless/marvell/mwifiex/fw.h +1 -1
index 3e3134bcc2b0..bfa482cf464f 100644

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

drivers/net/wireless/marvell/mwifiex/scan.c +1 -2
index 4f0e78ae3dbd..0cbdd5a930d8 100644

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

drivers/ntb/hw/intel/ntb_hw_gen1.c +1 -1
index 084bd1d1ac1d..0e913fd6b592 100644

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

drivers/of/irq.c +9 -29
index f06c9df60e34..09079dce58f6 100644

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

drivers/parport/procfs.c +11 -11
index 595e23e6859b..c193d657f0ab 100644

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

drivers/pci/controller/pcie-xilinx-nwl.c +10 -14
index a86bd9660dae..9fde526045ec 100644

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

drivers/pci/quirks.c +6 -0
index bb5182089096..c009b1760f47 100644

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

drivers/pinctrl/mvebu/pinctrl-dove.c +29 -13

42 lines not on this page · raw message

drivers/pinctrl/pinctrl-at91.c +4 -1
index ad01cc579823..48374945b2d7 100644

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

drivers/pinctrl/pinctrl-single.c +2 -1
index 86691841efc0..004410e58e54 100644

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

drivers/power/reset/brcmstb-reboot.c +0 -3
index 884b53c483c0..9f8b9e5cad93 100644

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

drivers/power/supply/max17042_battery.c +4 -1
index 33fbb0fc952b..6d3ad453e609 100644

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

drivers/pps/clients/pps_parport.c +9 -5
index 4db824f88d00..9710207bce7c 100644

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

drivers/reset/reset-berlin.c +2 -1
index 371197bbd055..542d32719b8a 100644

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

drivers/rtc/Kconfig +1 -1
index 199cc3945919..6dedba21683f 100644

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

drivers/rtc/rtc-at91sam9.c +9 -36

45 lines not on this page · raw message

drivers/s390/char/sclp_vt220.c +2 -2
index 3c2ed6d01387..d574c167c9dc 100644

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

drivers/scsi/aacraid/aacraid.h +1 -1
index 074760f21014..135e3f39c895 100644

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

drivers/soc/versatile/soc-integrator.c +1 -0
index a5d7d39ae0ad..5ffad35dfb19 100644

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

drivers/soc/versatile/soc-realview.c +16 -4
index caf698e5f0b0..a9220701c190 100644

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

drivers/soundwire/stream.c +4 -4
index 7c08385acab1..42bc701e2304 100644

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

drivers/spi/spi-bcm63xx.c +2 -0
index cc6ec3fb5bfd..0c5fd0fe2a2a 100644

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

drivers/spi/spi-ppc4xx.c +5 -2
index 58765a62fc15..7e8fc572f26c 100644

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

drivers/spi/spi-s3c64xx.c +2 -2
index d9420561236c..108a087a2777 100644

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

drivers/staging/iio/frequency/ad9834.c +30 -24

54 lines not on this page · raw message

drivers/staging/iio/frequency/ad9834.h +0 -28
index ae620f38eb49..da7e83ceedad 100644

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

drivers/tty/serial/rp2.c +1 -1
index 944a4c010579..a8d3fbde5b0e 100644

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

drivers/tty/vt/vt.c +1 -1
index abcacd377e09..4c8c961d2320 100644

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

drivers/usb/chipidea/udc.c +7 -1
index 3bda856ff2ca..6a626f41cded 100644

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

drivers/usb/dwc3/core.c +44 -5

49 lines not on this page · raw message

drivers/usb/dwc3/core.h +7 -4
index a1d65e36a4d4..1115ed88f357 100644

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

drivers/usb/dwc3/gadget.c +0 -11
index e617a28aca43..c6610c15e03e 100644

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

drivers/usb/host/xhci-pci.c +5 -0
index 6e34f8086397..da3d0a40828c 100644

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

drivers/usb/host/xhci-ring.c +8 -8
index 6579c9af8858..7ce5642a8591 100644

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

drivers/usb/host/xhci.h +1 -1
index 32a5f2a62ad5..fb6551c5d805 100644

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

drivers/usb/misc/appledisplay.c +11 -4
index 718d692b07ac..4b9bd99453fd 100644

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

drivers/usb/misc/cypress_cy7c63.c +4 -0
index 9d780b77314b..5a8b2873c29b 100644

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

drivers/usb/misc/yurex.c +4 -1
index 08b72bb22b7e..de2cc882f576 100644

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

drivers/usb/phy/phy.c +1 -1
index 0277f62739a2..1bb3c001cfd8 100644

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

drivers/usb/serial/option.c +8 -0
index 0a284bf9f0dc..761054bdb733 100644

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

drivers/usb/serial/pl2303.c +1 -0
index 4bbccc30748a..96aca606cfea 100644

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

drivers/usb/serial/pl2303.h +4 -0
index 873e50088a36..fcabe62cc851 100644

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

drivers/usb/storage/unusual_devs.h +11 -0
index b270be141b8e..606a68bd8059 100644

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

drivers/usb/typec/class.c +3 -0
index d396836244ff..ae6835a79239 100644

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

drivers/video/fbdev/hpfb.c +1 -0
index 9230db9ea94b..47ec02a38f76 100644

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

drivers/video/fbdev/pxafb.c +1 -0
index 90dee3e6f8bc..f76da5c6c6cd 100644

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

drivers/video/fbdev/sis/sis_main.c +1 -1
index b7f9da690db2..38a772582bc3 100644

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

drivers/xen/swiotlb-xen.c +12 -22
index 3d9997595d90..98f82c759d1e 100644

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

fs/btrfs/disk-io.c +11 -0
index 437ca4691967..1f4c446409cf 100644

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

fs/ceph/addr.c +0 -1
index de10899da837..98b17992524b 100644

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

fs/ext4/ext4.h +1 -0
index fa2579abea7d..3871df6b6732 100644

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

fs/ext4/extents.c +58 -12

70 lines not on this page · raw message

fs/ext4/ialloc.c +2 -0
index 5dfb34802aed..39a824df5272 100644

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

fs/ext4/inline.c +25 -10
index 71bb3cfc5933..2230b3647962 100644

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

fs/ext4/inode.c +7 -4
index 646285fbc9fc..a9fbb047d30d 100644

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

fs/ext4/mballoc.c +4 -6
index 75dbe40ed8f7..329b3cf10574 100644

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

fs/ext4/migrate.c +1 -1
index 4a72583c7559..9f73c2f7f949 100644

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

fs/ext4/move_extent.c +0 -1
index 2c368d67a33a..1581b48af1fe 100644

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

fs/ext4/namei.c +8 -6
index 8594feea2d93..590f3a07dc47 100644

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

fs/ext4/xattr.c +2 -2
index e9299f769dbf..4e8cd5dde186 100644

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

fs/f2fs/acl.c +22 -1
index b9fe937a3c70..cc53d4c80b0a 100644

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

fs/f2fs/dir.c +2 -1
index 2cd85ce3e450..044de0d7c1e0 100644

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

fs/f2fs/f2fs.h +3 -1
index aacd8e11758c..f90aaa16bdee 100644

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

fs/f2fs/file.c +22 -2
index 043ce96ac127..aabc5fe45a3b 100644

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

fs/f2fs/super.c +2 -2
index b075ba3e62dc..a667d263093f 100644

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

fs/f2fs/xattr.c +20 -7
index db3e76b35607..0b9568480d8f 100644

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

fs/fat/namei_vfat.c +1 -1
index 82cd1e69cbdf..4f8e9e70b6df 100644

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

fs/fcntl.c +4 -10
index dffb5245ae72..3579fb6da5e2 100644

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

fs/inode.c +4 -0
index 5df2e8ee23ed..86303c04e15e 100644

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

fs/jbd2/checkpoint.c +10 -4
index 66409cbd3ed5..086da7cbca1f 100644

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

fs/jbd2/commit.c +16 -20
index 97760cb9bcd7..0250a6e1f91c 100644

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

fs/jbd2/journal.c +2 -0
index 08cff80f8c29..79eceebbf3df 100644

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

fs/jfs/jfs_discard.c +9 -2
index f76ff0a46444..9d78c427b944 100644

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

fs/jfs/jfs_dmap.c +7 -4
index 893bc59658da..b6c698fe7301 100644

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

fs/jfs/jfs_imap.c +1 -1
index 9893cb6b8a75..1e9a3ec4bfa8 100644

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

fs/jfs/xattr.c +2 -0
index 37b984692ca9..bb8c4583f065 100644

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

fs/lockd/clnt4xdr.c +0 -14
index 214a2fa1f1e3..7df6324ccb8a 100644

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

fs/lockd/clntxdr.c +0 -14
index 747b9c8c940a..4df62f635529 100644

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

fs/nfs/callback_xdr.c +27 -34

61 lines not on this page · raw message

fs/nfs/nfs2xdr.c +24 -60

84 lines not on this page · raw message

fs/nfs/nfs3xdr.c +47 -116

163 lines not on this page · raw message

fs/nfs/nfs42xdr.c +5 -16
index eee011de3f58..d66e1025b4a4 100644

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

fs/nfs/nfs4state.c +1 -0
index f0f0fb7499e3..e337494a6da7 100644

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

fs/nfs/nfs4xdr.c +118 -333

451 lines not on this page · raw message

fs/nfsd/nfs4callback.c +0 -13
index 519d994c0c4c..e6c7448d3d89 100644

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

fs/nfsd/nfs4idmap.c +9 -4
index a5bb76593ce7..de6bab641b20 100644

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

fs/nfsd/nfs4state.c +8 -7
index 7ac644d64ab1..061694c405ac 100644

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

fs/nilfs2/btree.c +8 -4
index a426e4e2acda..7c9f4d79bdbc 100644

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

fs/nilfs2/dir.c +27 -23

50 lines not on this page · raw message

fs/nilfs2/namei.c +29 -13

42 lines not on this page · raw message

fs/nilfs2/nilfs.h +1 -1
index f7e2032f4ecf..65254027366b 100644

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

fs/nilfs2/page.c +5 -2
index 762dd277099e..6e02bd5e2f18 100644

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

fs/ocfs2/aops.c +2 -3
index 1353db3f7f48..1adb258430ea 100644

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

fs/ocfs2/buffer_head_io.c +2 -2
index f9b84f7a3e4b..71a3c0201887 100644

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

fs/ocfs2/file.c +8 -0
index a6f486f4138f..3c71c05a0581 100644

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

fs/ocfs2/journal.c +4 -3
index c27d8ef47392..3b3ae7521485 100644

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

fs/ocfs2/localalloc.c +19 -0
index a46aff7135d3..e6941e090857 100644

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

fs/ocfs2/quota_local.c +6 -2
index b1a8b046f4c2..7a1c8da9e44b 100644

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

fs/ocfs2/refcounttree.c +24 -2
index e184b36f8dd3..7eefd6bd8f8f 100644

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

fs/ocfs2/xattr.c +19 -19
index 54d881c9ac81..b9dfac2a5649 100644

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

fs/udf/inode.c +6 -3
index 08d7208eb7b7..76bb8be01b8d 100644

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

include/drm/drm_print.h +53 -1

54 lines not on this page · raw message

include/linux/clk.h +145 -0

145 lines not on this page · raw message

include/linux/jbd2.h +4 -0
index 268f3000d1b3..1d81afb54928 100644

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

include/linux/pci_ids.h +2 -0
index 91193284710f..5f996cf93c13 100644

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

include/net/sock.h +2 -0
index 6304e287087f..0fd67a5f15e8 100644

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

include/net/tcp.h +25 -2
index 49da4d4a3c3d..9f991c5927c3 100644

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

include/trace/events/f2fs.h +2 -1
index 098d6dff20be..abffe3a3f39e 100644

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

include/trace/events/sched.h +84 -0

84 lines not on this page · raw message

include/uapi/linux/cec.h +5 -1
index d6ba68880cef..8b7085c7577d 100644

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

include/uapi/linux/netfilter/nf_tables.h +1 -1
index 00781db11419..af33a7519b08 100644

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

kernel/bpf/arraymap.c +3 -0
index 44f53c06629e..03e244b11f5a 100644

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

kernel/bpf/hashtab.c +3 -0
index 16081d8384bf..bca328703046 100644

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

kernel/bpf/lpm_trie.c +1 -1
index fcd3a15add41..a929ee0e86b1 100644

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

kernel/cgroup/cgroup.c +2 -2
index 30c058806702..4ab74d06be19 100644

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

kernel/events/core.c +5 -1
index 4f1b0fc2e74d..26a547866ed9 100644

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

kernel/events/uprobes.c +1 -1
index 3361da45e1db..3ca91daddc9f 100644

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

kernel/kthread.c +18 -1
index 9750f4f7f901..9c562b3b362a 100644

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

kernel/signal.c +7 -4
index c79b87ac1041..356bdf5c45e6 100644

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

kernel/time/posix-clock.c +3 -0
index c8a8501fae5b..c1e5feff8185 100644

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

kernel/trace/trace_output.c +2 -4
index 43fb832d26d2..62015d62dd6f 100644

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

lib/xz/xz_crc32.c +1 -1
index 912aae5fa09e..34532d14fd4c 100644

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

lib/xz/xz_private.h +0 -4
index 09360ebb510e..482b90f363fe 100644

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

mm/shmem.c +2 -0
index 0788616696dc..6e9027cb72ef 100644

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

net/bluetooth/af_bluetooth.c +1 -0
index 798f8f485e5a..ecda737113ce 100644

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

net/bluetooth/bnep/core.c +1 -2
index a16d584a6c0d..e1cfd110d281 100644

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

net/bluetooth/rfcomm/sock.c +0 -2
index 78830efe89d7..8f53cc0d9682 100644

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

net/bridge/br_netfilter_hooks.c +5 -0
index 35642dc96852..75e35fae6f24 100644

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

net/can/bcm.c +3 -1
index 095f68536c14..07c0634b32f7 100644

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

net/core/dev.c +24 -5
index b5c9648c2192..c5b5dac093d6 100644

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

net/ipv4/devinet.c +2 -4
index e2ab8cdb7134..e4fea3adb065 100644

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

net/ipv4/fib_frontend.c +1 -1
index 9aa48b4c4096..322ba1ba2ac3 100644

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

net/ipv4/ip_gre.c +3 -3
index 2f5d2109c919..ea30393c8c66 100644

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

net/ipv4/netfilter/nf_dup_ipv4.c +5 -2
index 39895b9ddeb9..b385c97ddc29 100644

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

net/ipv4/tcp_input.c +19 -5
index 9254705afa86..0f2320d821ff 100644

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

net/ipv4/tcp_ipv4.c +4 -1
index aa9aa38471f9..1bf315e83d7b 100644

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

net/ipv4/tcp_output.c +1 -1
index fbeb40a481fc..20bce57a19f0 100644

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

net/ipv4/tcp_rate.c +8 -7
index 4dff40dad4dc..baed2186c7c6 100644

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

net/ipv4/tcp_recovery.c +3 -2
index 844ff390f726..db3469c95c49 100644

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

net/ipv6/addrconf.c +6 -2
index 9058d59acd0a..7763b7f672fa 100644

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

net/ipv6/netfilter/nf_dup_ipv6.c +5 -2
index 4a7ddeddbaab..941e389c227f 100644

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

net/ipv6/netfilter/nf_reject_ipv6.c +2 -12
index 24858402e374..0edf9c1192de 100644

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

net/mac80211/cfg.c +2 -1
index cfbaafcea0a4..1c59b8f90f5c 100644

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

net/mac80211/iface.c +16 -1
index 358028a09ce4..433083cc1533 100644

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

net/mac80211/key.c +25 -17

42 lines not on this page · raw message

net/netfilter/nf_conntrack_netlink.c +2 -5
index bcb72ad2c178..4101a3ce2e30 100644

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

net/netfilter/nf_tables_api.c +1 -1
index a033c9baf58a..25b2870dda24 100644

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

net/netfilter/nft_payload.c +3 -0
index 0ef51c81ec94..128195a7ea5e 100644

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

net/netlink/af_netlink.c +2 -1
index 1fe9b4a04b22..2e26ecb46707 100644

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

net/qrtr/qrtr.c +1 -1
index 128d0a48478d..890a8fe51a9a 100644

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

net/sched/sch_api.c +1 -1
index ab57c0ee9923..49c4e8525788 100644

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

net/sctp/socket.c +3 -1
index c429a1a2bfe2..421b0340b631 100644

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

net/tipc/bearer.c +6 -2
index c7686ff00f5b..5ceb7d489686 100644

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

net/wireless/nl80211.c +2 -1
index ebd8449f2fcf..f3f01ab1abd3 100644

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

net/wireless/scan.c +3 -3
index 0dc27703443c..4c6c333011e0 100644

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

net/wireless/sme.c +2 -1
index ebc73faa8fb1..4e6afb765e81 100644

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

net/xfrm/xfrm_user.c +5 -1
index 5892ff68d168..8146ef538ab3 100644

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

scripts/kconfig/merge_config.sh +2 -0
index 67d131447631..6b918882d32c 100755

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

security/selinux/selinuxfs.c +17 -14
index 60b3f16bb5c7..c35aab9f2447 100644

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

security/smack/smackfs.c +1 -1
index 61e734baa332..83dbfa26a651 100644

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

security/tomoyo/domain.c +6 -3
index f6758dad981f..0271b40b4bb6 100644

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

sound/core/init.c +10 -4
index 3eafa15006f8..ed093184ea16 100644

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

sound/pci/asihpi/hpimsgx.c +1 -1
index 736f45337fc7..5be1d910a5d5 100644

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

sound/pci/hda/hda_generic.c +2 -2
index f4b07dc6f1cc..e48dca4d6e43 100644

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

sound/pci/hda/patch_conexant.c +19 -5
index 1d95977b4a91..ad658f698257 100644

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

sound/pci/hda/patch_realtek.c +17 -21
index 60dfaf2adaaf..f33d09d939e1 100644

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

sound/pci/rme9652/hdsp.c +4 -2
index a0797fc17d95..b2e38524b1fe 100644

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

sound/pci/rme9652/hdspm.c +4 -2
index 5dfddade1bae..cc8313913d64 100644

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

sound/soc/au1x/db1200.c +1 -0
index 301e1fc9a377..24d16e6bf750 100644

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

sound/soc/codecs/tda7419.c +1 -0
index 7f3b79c5a563..a3fc9b7fefd8 100644

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

tools/iio/iio_generic_buffer.c +4 -0
index ca9f33fa51c9..e8cf3dc8de72 100644

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

tools/perf/builtin-sched.c +6 -2
index 4562e3b2f4d3..cf8dc3910ef2 100644

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

tools/perf/util/time-utils.c +2 -2
index 6193b46050a5..540a71450de5 100644

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

tools/testing/ktest/ktest.pl +1 -1
index a29d9e125b00..fe73902a197c 100755

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

tools/testing/selftests/bpf/test_lru_map.c +2 -1
index 781c7de343be..a9ed4b58c087 100644

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

tools/testing/selftests/breakpoints/step_after_suspend_test.c +4 -1
index f82dcc1f8841..67a2aaf1f9d9 100644

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

tools/testing/selftests/kcmp/kcmp_test.c +0 -1
index d7a8e321bb16..60305f858c48 100644

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

tools/testing/selftests/vDSO/parse_vdso.c +2 -1
index 9ef3ad3789c1..540f9a284e9f 100644

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

tools/testing/selftests/vm/compaction_test.c +0 -2
index e056cfc487e0..e7044fa7f0b7 100644

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

tools/usb/usbip/src/usbip_detach.c +1 -0
index 777f7286a0c5..744a95d49d65 100644

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

virt/kvm/kvm_main.c +3 -2
index 6f9c0060a3e5..92a998a57772 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.