Skip to contentSkip to conversation

Linux 4.14.135

DISCUSSION Greg KH 1 participant 2 messages Jul 31, 2019 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 4.14.135 kernel.

All users of the 4.14 kernel series must upgrade.

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

thanks,

greg k-h

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

 Documentation/atomic_t.txt                                   |    3 
 Documentation/devicetree/bindings/net/marvell-orion-mdio.txt |    2 
 Makefile                                                     |    3 
 arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi               |    3 
 arch/arm64/boot/dts/nvidia/tegra210.dtsi                     |    2 
 arch/arm64/crypto/sha1-ce-glue.c                             |    2 
 arch/arm64/crypto/sha2-ce-glue.c                             |    2 
 arch/arm64/kernel/acpi.c                                     |   10 
 arch/arm64/kernel/image.h                                    |    6 
 arch/mips/boot/compressed/Makefile                           |    2 
 arch/mips/boot/compressed/calc_vmlinuz_load_addr.c           |    2 
 arch/mips/include/asm/mach-ath79/ar933x_uart.h               |    4 
 arch/mips/jz4740/board-qi_lb60.c                             |   16 
 arch/parisc/kernel/ptrace.c                                  |   31 
 arch/powerpc/boot/xz_config.h                                |   20 
 arch/powerpc/kernel/eeh.c                                    |   15 
 arch/powerpc/kernel/exceptions-64s.S                         |    9 
 arch/powerpc/kernel/pci_of_scan.c                            |    2 
 arch/powerpc/kernel/signal_32.c                              |    3 
 arch/powerpc/kernel/signal_64.c                              |    5 
 arch/powerpc/kernel/swsusp_32.S                              |   73 
 arch/powerpc/platforms/4xx/uic.c                             |    1 
 arch/powerpc/platforms/powermac/sleep.S                      |   68 
 arch/powerpc/platforms/pseries/mobility.c                    |    9 
 arch/powerpc/sysdev/xive/common.c                            |    7 
 arch/powerpc/xmon/xmon.c                                     |    6 
 arch/sh/include/asm/io.h                                     |    6 
 arch/um/include/asm/mmu_context.h                            |    2 
 arch/x86/events/amd/uncore.c                                 |   36 
 arch/x86/include/asm/atomic.h                                |    8 
 arch/x86/include/asm/atomic64_64.h                           |    8 
 arch/x86/include/asm/barrier.h                               |    4 
 arch/x86/include/asm/cpufeatures.h                           |    2 
 arch/x86/kernel/cpu/bugs.c                                   |    2 
 arch/x86/kernel/cpu/mkcapflags.sh                            |    2 
 arch/x86/kernel/mpparse.c                                    |   10 
 arch/x86/kernel/sysfb_efi.c                                  |   46 
 arch/x86/kvm/pmu.c                                           |    4 
 arch/x86/kvm/vmx.c                                           |    8 
 block/bio-integrity.c                                        |    8 
 crypto/asymmetric_keys/Kconfig                               |    3 
 crypto/chacha20poly1305.c                                    |   30 
 crypto/ghash-generic.c                                       |    8 
 crypto/serpent_generic.c                                     |    8 
 drivers/android/binder.c                                     |    2 
 drivers/ata/libata-eh.c                                      |    8 
 drivers/base/regmap/regmap.c                                 |    2 
 drivers/block/floppy.c                                       |   34 
 drivers/bluetooth/hci_bcsp.c                                 |    5 
 drivers/char/hpet.c                                          |    3 
 drivers/clocksource/exynos_mct.c                             |    4 
 drivers/crypto/amcc/crypto4xx_trng.c                         |    1 
 drivers/crypto/caam/caamalg.c                                |   15 
 drivers/crypto/ccp/ccp-dev.c                                 |   96 
 drivers/crypto/ccp/ccp-dev.h                                 |    2 
 drivers/crypto/ccp/ccp-ops.c                                 |   15 
 drivers/crypto/talitos.c                                     |   35 
 drivers/dma-buf/dma-buf.c                                    |    1 
 drivers/dma-buf/reservation.c                                |    4 
 drivers/dma/imx-sdma.c                                       |   48 
 drivers/edac/edac_mc_sysfs.c                                 |   24 
 drivers/edac/edac_module.h                                   |    2 
 drivers/fpga/Kconfig                                         |    1 
 drivers/gpio/gpio-omap.c                                     |   17 
 drivers/gpio/gpiolib.c                                       |    6 
 drivers/gpu/drm/bridge/sii902x.c                             |    5 
 drivers/gpu/drm/bridge/tc358767.c                            |    7 
 drivers/gpu/drm/drm_debugfs_crc.c                            |   18 
 drivers/gpu/drm/drm_edid_load.c                              |    2 
 drivers/gpu/drm/msm/msm_drv.c                                |   14 
 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c               |   20 
 drivers/gpu/drm/panel/panel-simple.c                         |    9 
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c                  |    3 
 drivers/gpu/drm/virtio/virtgpu_ioctl.c                       |    3 
 drivers/gpu/drm/virtio/virtgpu_vq.c                          |    2 
 drivers/gpu/ipu-v3/ipu-ic.c                                  |    2 
 drivers/hid/wacom_sys.c                                      |    3 
 drivers/hid/wacom_wac.c                                      |    4 
 drivers/hid/wacom_wac.h                                      |    1 
 drivers/hwtracing/intel_th/msu.c                             |    2 
 drivers/hwtracing/intel_th/pci.c                             |    5 
 drivers/infiniband/hw/i40iw/i40iw_verbs.c                    |    2 
 drivers/infiniband/sw/rxe/rxe_resp.c                         |    5 
 drivers/infiniband/sw/rxe/rxe_verbs.h                        |    1 
 drivers/infiniband/ulp/ipoib/ipoib_main.c                    |    1 
 drivers/input/mouse/alps.c                                   |   32 
 drivers/input/mouse/synaptics.c                              |    1 
 drivers/input/tablet/gtco.c                                  |   20 
 drivers/iommu/iommu.c                                        |    8 
 drivers/mailbox/mailbox.c                                    |    6 
 drivers/md/bcache/super.c                                    |    2 
 drivers/md/dm-bufio.c                                        |    4 
 drivers/md/dm-zoned-metadata.c                               |   24 
 drivers/md/dm-zoned.h                                        |   28 
 drivers/media/dvb-frontends/tua6100.c                        |   22 
 drivers/media/i2c/Makefile                                   |    2 
 drivers/media/i2c/adv7511-v4l2.c                             | 2008 +++++++++++
 drivers/media/i2c/adv7511.c                                  | 2003 ----------
 drivers/media/media-device.c                                 |   10 
 drivers/media/platform/coda/coda-bit.c                       |    9 
 drivers/media/platform/coda/coda-common.c                    |    2 
 drivers/media/platform/davinci/vpss.c                        |    5 
 drivers/media/platform/marvell-ccic/mcam-core.c              |    5 
 drivers/media/platform/rcar_fdp1.c                           |    8 
 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c                  |    5 
 drivers/media/platform/vimc/vimc-capture.c                   |    5 
 drivers/media/radio/wl128x/fmdrv_v4l2.c                      |    3 
 drivers/media/rc/ir-spi.c                                    |    1 
 drivers/media/usb/dvb-usb/dvb-usb-init.c                     |    7 
 drivers/media/usb/hdpvr/hdpvr-video.c                        |   17 
 drivers/media/v4l2-core/v4l2-ctrls.c                         |    9 
 drivers/memstick/core/memstick.c                             |   13 
 drivers/mfd/arizona-core.c                                   |    2 
 drivers/mfd/hi655x-pmic.c                                    |    2 
 drivers/mfd/mfd-core.c                                       |    1 
 drivers/net/bonding/bond_main.c                              |   37 
 drivers/net/caif/caif_hsi.c                                  |    2 
 drivers/net/dsa/mv88e6xxx/chip.c                             |    2 
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c              |    8 
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c          |    4 
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c             |   33 
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h            |    3 
 drivers/net/ethernet/broadcom/genet/bcmgenet.c               |   57 
 drivers/net/ethernet/freescale/fec_main.c                    |    6 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c      |    3 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c        |    6 
 drivers/net/ethernet/intel/i40evf/i40e_txrx.c                |    6 
 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c             |    3 
 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.h                 |    1 
 drivers/net/ethernet/marvell/mvmdio.c                        |    7 
 drivers/net/ethernet/marvell/sky2.c                          |    7 
 drivers/net/ethernet/qlogic/qed/qed_dev.c                    |   29 
 drivers/net/ethernet/qlogic/qed/qed_rdma.c                   |    2 
 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c         |    6 
 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c            |   18 
 drivers/net/ethernet/xilinx/xilinx_axienet_main.c            |   20 
 drivers/net/gtp.c                                            |   36 
 drivers/net/macsec.c                                         |    6 
 drivers/net/phy/phy_device.c                                 |    6 
 drivers/net/phy/sfp.c                                        |    6 
 drivers/net/usb/asix_devices.c                               |    6 
 drivers/net/vrf.c                                            |   58 
 drivers/net/wireless/ath/ath10k/hw.c                         |    2 
 drivers/net/wireless/ath/ath10k/mac.c                        |    4 
 drivers/net/wireless/ath/ath10k/sdio.c                       |    7 
 drivers/net/wireless/ath/ath6kl/wmi.c                        |   10 
 drivers/net/wireless/ath/ath9k/hw.c                          |   32 
 drivers/net/wireless/ath/dfs_pattern_detector.c              |    2 
 drivers/net/wireless/ath/wil6210/txrx.c                      |    1 
 drivers/net/wireless/intel/iwlwifi/mvm/tx.c                  |    3 
 drivers/net/wireless/intel/iwlwifi/pcie/rx.c                 |   61 
 drivers/net/wireless/mediatek/mt7601u/dma.c                  |   54 
 drivers/net/wireless/mediatek/mt7601u/tx.c                   |    4 
 drivers/net/wireless/realtek/rtlwifi/usb.c                   |    5 
 drivers/nvdimm/dax_devs.c                                    |    2 
 drivers/nvdimm/pfn.h                                         |    1 
 drivers/nvdimm/pfn_devs.c                                    |   18 
 drivers/pci/dwc/pci-dra7xx.c                                 |    1 
 drivers/pci/host/pci-hyperv.c                                |   15 
 drivers/pci/host/pcie-xilinx-nwl.c                           |   11 
 drivers/pci/pci-driver.c                                     |   13 
 drivers/pci/pci-sysfs.c                                      |    2 
 drivers/pci/pci.c                                            |    7 
 drivers/phy/renesas/phy-rcar-gen2.c                          |    2 
 drivers/pinctrl/pinctrl-rockchip.c                           |    1 
 drivers/ras/cec.c                                            |    4 
 drivers/regulator/s2mps11.c                                  |    4 
 drivers/s390/cio/qdio_main.c                                 |    1 
 drivers/scsi/NCR5380.c                                       |   33 
 drivers/scsi/NCR5380.h                                       |    2 
 drivers/scsi/mac_scsi.c                                      |  375 +-
 drivers/scsi/megaraid/megaraid_sas_base.c                    |    3 
 drivers/scsi/scsi_lib.c                                      |    6 
 drivers/staging/media/davinci_vpfe/vpfe_video.c              |    3 
 drivers/target/iscsi/iscsi_target_auth.c                     |   16 
 drivers/tty/serial/8250/8250_port.c                          |    3 
 drivers/tty/serial/cpm_uart/cpm_uart_core.c                  |   17 
 drivers/tty/serial/digicolor-usart.c                         |    6 
 drivers/tty/serial/max310x.c                                 |   51 
 drivers/tty/serial/msm_serial.c                              |    4 
 drivers/tty/serial/serial_core.c                             |    7 
 drivers/tty/serial/serial_mctrl_gpio.c                       |   14 
 drivers/tty/serial/sh-sci.c                                  |   33 
 drivers/usb/core/hub.c                                       |   35 
 drivers/usb/gadget/function/f_fs.c                           |    6 
 drivers/usb/host/hwa-hc.c                                    |    2 
 drivers/usb/host/pci-quirks.c                                |   31 
 drivers/vhost/net.c                                          |    2 
 drivers/xen/balloon.c                                        |   16 
 drivers/xen/events/events_base.c                             |   12 
 drivers/xen/evtchn.c                                         |    2 
 fs/9p/vfs_addr.c                                             |    6 
 fs/btrfs/file.c                                              |    5 
 fs/btrfs/inode.c                                             |   24 
 fs/btrfs/tree-log.c                                          |   40 
 fs/coda/file.c                                               |   70 
 fs/crypto/crypto.c                                           |   15 
 fs/ecryptfs/crypto.c                                         |   12 
 fs/ext4/dir.c                                                |   19 
 fs/ext4/ext4_jbd2.h                                          |   12 
 fs/ext4/file.c                                               |    4 
 fs/ext4/inode.c                                              |   24 
 fs/ext4/ioctl.c                                              |   46 
 fs/ext4/move_extent.c                                        |    3 
 fs/ext4/namei.c                                              |   45 
 fs/f2fs/segment.c                                            |    5 
 fs/fs-writeback.c                                            |    8 
 fs/jbd2/commit.c                                             |   23 
 fs/jbd2/journal.c                                            |    4 
 fs/jbd2/transaction.c                                        |   49 
 fs/nfs/flexfilelayout/flexfilelayoutdev.c                    |    2 
 fs/nfs/inode.c                                               |    1 
 fs/nfs/nfs4file.c                                            |    2 
 fs/nfs/nfs4proc.c                                            |   41 
 fs/nfsd/nfs4state.c                                          |   11 
 fs/nfsd/nfssvc.c                                             |    2 
 fs/open.c                                                    |   19 
 fs/proc/proc_sysctl.c                                        |    4 
 include/drm/drm_debugfs_crc.h                                |    3 
 include/linux/compiler.h                                     |   22 
 include/linux/cpuhotplug.h                                   |    2 
 include/linux/cred.h                                         |    7 
 include/linux/fs.h                                           |    2 
 include/linux/jbd2.h                                         |   22 
 include/linux/rcupdate.h                                     |    2 
 include/net/dst.h                                            |    5 
 include/net/ip_vs.h                                          |    6 
 include/net/tcp.h                                            |    3 
 include/xen/events.h                                         |    3 
 kernel/bpf/Makefile                                          |    1 
 kernel/cred.c                                                |   21 
 kernel/locking/lockdep.c                                     |   18 
 kernel/locking/lockdep_proc.c                                |    8 
 kernel/padata.c                                              |   12 
 kernel/pid_namespace.c                                       |    2 
 kernel/sched/core.c                                          |    2 
 kernel/time/ntp.c                                            |    4 
 kernel/time/timer_list.c                                     |   36 
 lib/reed_solomon/decode_rs.c                                 |   18 
 lib/scatterlist.c                                            |    9 
 lib/string.c                                                 |    2 
 mm/filemap.c                                                 |   22 
 mm/gup.c                                                     |   12 
 mm/kmemleak.c                                                |    2 
 mm/mmu_notifier.c                                            |    2 
 mm/vmscan.c                                                  |    6 
 net/9p/trans_virtio.c                                        |    8 
 net/9p/trans_xen.c                                           |    8 
 net/batman-adv/translation-table.c                           |    2 
 net/bluetooth/6lowpan.c                                      |   14 
 net/bluetooth/hci_event.c                                    |    5 
 net/bluetooth/l2cap_core.c                                   |   15 
 net/bluetooth/smp.c                                          |   13 
 net/bridge/br_multicast.c                                    |   32 
 net/bridge/br_stp_bpdu.c                                     |    3 
 net/core/filter.c                                            |    3 
 net/core/neighbour.c                                         |    2 
 net/ipv4/devinet.c                                           |    8 
 net/ipv4/igmp.c                                              |    8 
 net/ipv4/tcp.c                                               |    6 
 net/ipv4/tcp_cong.c                                          |    6 
 net/key/af_key.c                                             |    8 
 net/netfilter/ipset/ip_set_hash_gen.h                        |    2 
 net/netfilter/ipvs/ip_vs_core.c                              |   21 
 net/netfilter/ipvs/ip_vs_ctl.c                               |    4 
 net/netfilter/ipvs/ip_vs_sync.c                              |  134 
 net/netfilter/nf_queue.c                                     |    6 
 net/netrom/af_netrom.c                                       |    4 
 net/nfc/nci/data.c                                           |    2 
 net/openvswitch/actions.c                                    |    6 
 net/rxrpc/af_rxrpc.c                                         |    4 
 net/vmw_vsock/hyperv_transport.c                             |   44 
 net/xfrm/Kconfig                                             |    2 
 net/xfrm/xfrm_user.c                                         |   19 
 scripts/kallsyms.c                                           |    3 
 scripts/recordmcount.h                                       |    3 
 sound/core/seq/seq_clientmgr.c                               |   11 
 sound/pci/hda/patch_conexant.c                               |    1 
 sound/pci/hda/patch_realtek.c                                |    5 
 sound/soc/soc-dapm.c                                         |   18 
 sound/usb/line6/podhd.c                                      |    2 
 tools/iio/iio_utils.c                                        |    4 
 tools/perf/arch/arm/util/cs-etm.c                            |  127 
 tools/perf/perf.h                                            |    2 
 tools/perf/tests/mmap-thread-lookup.c                        |    2 
 tools/perf/tests/parse-events.c                              |   27 
 tools/perf/util/annotate.c                                   |    6 
 tools/perf/util/evsel.c                                      |    8 
 tools/perf/util/header.c                                     |    2 
 tools/perf/util/session.c                                    |    3 
 tools/perf/util/stat-shadow.c                                |    5 
 tools/power/cpupower/utils/cpufreq-set.c                     |    2 
 292 files changed, 4748 insertions(+), 3145 deletions(-)

Aaron Armstrong Skomra (2):
HID: wacom: generic: only switch the mode on devices with LEDs
HID: wacom: correct touch resolution x/y typo

Aaron Lewis (1):
x86/cpufeatures: Add FDP_EXCPTN_ONLY and ZERO_FCS_FDS

Abhishek Goel (1):
cpupower : frequency-set -r option misses the last cpu in related cpu list

Alex Williamson (1):
PCI: Return error if cannot probe VF

Alexander Shishkin (2):
intel_th: pci: Add Ice Lake NNPI support
intel_th: msu: Fix single mode with disabled IOMMU

Alexey Kardashevskiy (1):
powerpc/pci/of: Fix OF flags parsing for 64bit BARs

Anders Roxell (1):
media: i2c: fix warning same module names

Andi Kleen (1):
perf stat: Make metric event lookup more robust

Andreas Steinmetz (2):
macsec: fix use-after-free of skb during RX
macsec: fix checksumming after decryption

Andrei Otcheretianski (1):
iwlwifi: mvm: Drop large non sta frames

Andrey Ryabinin (3):
compiler.h, kasan: Avoid duplicating __read_once_size_nocheck() compiler.h: Add read_word_at_a_time() function. lib/strscpy: Shut up KASAN false-positives in strscpy()

Andrzej Pietrasiewicz (1):
usb: gadget: Zero ffs_io_data

André Almeida (1):
media: vimc: cap: check v4l2_fill_pixfmt return value

Andy Lutomirski (1):
mm/gup.c: remove some BUG_ONs from get_gate_page()

Anilkumar Kolli (1):
ath: DFS JP domain W56 fixed pulse type 3 RADAR detection

Anirudh Gupta (1):
xfrm: Fix xfrm sel prefix length validation

Ard Biesheuvel (2):
acpi/arm64: ignore 5.1 FADTs that are reported as 5.0
crypto: caam - limit output IV to CBC to work around CTR mode DMA issue

Arnaldo Carvalho de Melo (1):
perf evsel: Make perf_evsel__name() accept a NULL argument

Arnd Bergmann (5):
ipsec: select crypto ciphers for xfrm_algo
crypto: serpent - mark __serpent_setkey_sbox noinline
crypto: asymmetric_keys - select CRYPTO_HASH where needed
mfd: arizona: Fix undefined behavior locking/lockdep: Hide unused 'class' variable

Axel Lin (1):
mfd: hi655x-pmic: Fix missing return value check for devm_regmap_init_mmio_clk

Baruch Siach (1):
net: dsa: mv88e6xxx: wait after reset deactivation

Bastien Nocera (1):
iio: iio-utils: Fix possible incorrect mask calculation

Bharat Kumar Gogada (1):
PCI: xilinx-nwl: Fix Multi MSI data programming

Biao Huang (1):
net: stmmac: dwmac4: fix flow control issue

Boris Brezillon (1):

      media: v4l2: Test type instead of cfg->type in v4l2_ctrl_new_custom()

Borislav Petkov (1):
RAS/CEC: Fix pfn insertion

Brian King (1):
bnx2x: Prevent load reordering in tx completion processing

Cfir Cohen (1):
crypto: ccp/gcm - use const time tag comparison.

Chris Wilson (1):
dma-buf: Discard old fence_excl on retrying get_fences_rcu for realloc

Christian Lamparter (1):
powerpc/4xx/uic: clear pending interrupt after irq type/pol change

Christoph Hellwig (1):
9p: pass the correct prototype to read_cache_page

Christoph Paasch (1):
tcp: Reset bytes_acked and bytes_received when disconnecting

Christophe Leroy (6):
crypto: talitos - fix skcipher failure due to wrong output IV
crypto: talitos - properly handle split ICV.
crypto: talitos - Align SEC1 accesses to 32 bits boundaries. lib/scatterlist: Fix mapping iterator when sg->offset is greater than PAGE_SIZE powerpc/32s: fix suspend/resume when IBATs 4-7 are used
tty: serial: cpm_uart - fix init when SMC is relocated

Claire Chang (1):
ath10k: add missing error handling

Colin Ian King (1):
iavf: fix dereference of null rx_buffer pointer

Coly Li (1):

      bcache: check c->gc_thread by IS_ERR_OR_NULL in cache_set_flush()

Cong Wang (3):
netrom: fix a memory leak in nr_rx_frame()
netrom: hold sock when setting skb->destructor
bonding: validate ip header before check IPPROTO_IGMP

Damien Le Moal (1):
dm zoned: fix zone state management race

Dan Carpenter (2):
ath6kl: add some bounds checking
eCryptfs: fix a couple type promotion bugs

Dan Williams (1):
libnvdimm/pfn: fix fsdax-mode namespace info-block zero-fields

Daniel Gomez (1):
media: spi: IR LED: add missing of table registration

Daniel Jordan (1):
padata: use smp_mb in padata_reorder to avoid orphaned padata jobs

Daniel Vetter (2):
drm/crc-debugfs: User irqsafe spinlock in drm_crtc_add_crc_entry drm/crc-debugfs: Also sprinkle irqrestore over early exits

Darrick J. Wong (1):
ext4: don't allow any modifications to an immutable file

David Howells (1):
rxrpc: Fix send on a connected, but unbound socket

David Rientjes (1):
x86/boot: Fix memory leak in default_get_smp_config()

David Riley (1):
drm/virtio: Add memory barriers for capset cache.

David S. Miller (1):
tua6100: Avoid build warnings.

Denis Efremov (4):
floppy: fix div-by-zero in setup_format_params
floppy: fix out-of-bounds read in next_valid_format
floppy: fix invalid pointer dereference in drive_name
floppy: fix out-of-bounds read in copy_buffer

Denis Kirjanov (1):
ipoib: correcly show a VF hardware address

Dexuan Cui (1):
PCI: hv: Fix a use-after-free bug in hv_eject_device_work()

Dmitry Vyukov (1):
mm/kmemleak.c: fix check for softirq context

Douglas Anderson (1):
drm/rockchip: Properly adjust to a true clock in adjusted_mode

Eiichi Tsukata (1):
EDAC: Fix global-out-of-bounds write when setting edac_mc_poll_msec

Elena Petrova (2):
crypto: arm64/sha1-ce - correct digest for empty data in finup
crypto: arm64/sha2-ce - correct digest for empty data in finup

Emmanuel Grumbach (2):
iwlwifi: pcie: don't service an interrupt that was masked
iwlwifi: pcie: fix ALIVE interrupt handling for gen2 devices w/o MSI-X

Eric Auger (1):
iommu: Fix a leak in iommu_insert_resv_region

Eric Biggers (3):
fscrypt: clean up some BUG_ON()s in block encryption/decryption
crypto: ghash - fix unaligned memory access in ghash_setkey()
crypto: chacha20poly1305 - fix atomic sleep when using async algorithm

Eric Dumazet (2):
igmp: fix memory leak in igmpv3_del_delrec()
tcp: fix tcp_set_congestion_control() use from bpf hook

Eric W. Biederman (1):
signal/pid_namespace: Fix reboot_pid_ns to use send_sig not force_sig

Ezequiel Garcia (1):
media: coda: Remove unbalanced and unneeded mutex unlock

Fabio Estevam (1):
net: fec: Do not use netdev messages too early

Ferdinand Blomqvist (2):
rslib: Fix decoding of shortened codes
rslib: Fix handling of of caller provided syndrome

Filipe Manana (3):
Btrfs: fix data loss after inode eviction, renaming it, and fsync it
Btrfs: fix fsync not persisting dentry deletions due to inode evictions
Btrfs: add missing inode version, ctime and mtime updates when punching hole

Finn Thain (5):
scsi: NCR5380: Reduce goto statements in NCR5380_select()
scsi: NCR5380: Always re-enable reselection interrupt Revert "scsi: ncr5380: Increase register polling limit"
scsi: mac_scsi: Increase PIO/PDMA transfer length threshold
scsi: mac_scsi: Fix pseudo DMA implementation, take 2

Florian Westphal (1):
net: make skb_dst_force return true when dst is refcounted

Gao Xiang (1):
sched/core: Add __sched tag for io_schedule()

Gautham R. Shenoy (1):
powerpc/xive: Fix loop exit-condition in xive_find_target_in_mask()

Geert Uytterhoeven (3):
gpiolib: Fix references to gpiod_[gs]et_*value_cansleep() variants
serial: sh-sci: Terminate TX DMA during buffer flushing
serial: sh-sci: Fix TX DMA buffer flushing and workqueue races

Gen Zhang (1):
drm/edid: Fix a missing-check bug in drm_load_edid_firmware()

Grant Hernandez (1):
Input: gtco - bounds check collection indent level

Greg Kroah-Hartman (1):

      Linux 4.14.135

Guenter Roeck (1):
mm/gup.c: mark undo_dev_pagemap as __maybe_unused

Guilherme G. Piccoli (1):
bnx2x: Prevent ptp_task to be rescheduled indefinitely

Gustavo A. R. Silva (1):
wil6210: fix potential out-of-bounds read

Hans Verkuil (2):
media: mc-device.c: don't memset __user pointer contents
media: hdpvr: fix locking and a missing msleep

Hans de Goede (1):
x86/sysfb_efi: Add quirks for some devices with swapped width and height

Helge Deller (2):
parisc: Ensure userspace privilege for ptraced processes in regset functions
parisc: Fix kernel panic due invalid values in IAOQ0 or IAOQ1

Hook, Gary (2):
crypto: ccp - Validate the the error value used to index error messages
crypto: ccp - memset structure fields to zero before reuse

Hridya Valsaraju (1):
binder: prevent transactions to context manager from its own process.

Hui Wang (4):
Input: alps - don't handle ALPS cs19 trackpoint-only device
Input: alps - fix a mismatch between a condition check and its comment
ALSA: hda/realtek: apply ALC891 headset fixup to one Dell machine
ALSA: hda - Add a conexant codec entry to let mute led work

Imre Deak (1):
locking/lockdep: Fix merging of hlocks with non-zero references

Ioana Ciornei (1):
net: phy: Check against net_device being NULL

J. Bruce Fields (3):
nfsd: increase DRC cache limit
nfsd: give out fewer session slots as limit approaches
nfsd: fix performance-limiting session calculation

Jan Harkes (1):

      coda: pass the host file in vma->vm_file on mmap

Jason Wang (1):
vhost_net: disable zerocopy by default

Jean-Philippe Brucker (1):
mm/mmu_notifier: use hlist_add_head_rcu()

Jeremy Sowden (2):
batman-adv: fix for leaked TVLV handler.
af_key: fix leaks in key_pol_get_resp and dump_sp.

Johannes Berg (1):
um: Silence lockdep complaint about mmap_sem

John Hurley (1):
net: openvswitch: fix csum updates for MPLS actions

Jon Hunter (2):
arm64: tegra: Update Jetson TX1 GPU regulator timings
arm64: tegra: Fix AGIC register range

Jorge Ramirez-Ortiz (1):
tty: serial: msm_serial: avoid system lockup condition

Jose Abreu (2):
net: stmmac: dwmac1000: Clear unused address entries
net: stmmac: dwmac4/5: Clear unused address entries

Josua Mayer (4):
Bluetooth: 6lowpan: search for destination address in all peers
net: mvmdio: defer probe of orion-mdio if a clock is not ready
net: mvmdio: allow up to four clocks to be specified for orion-mdio
dt-bindings: allow up to four clocks for orion-mdio

Juergen Gross (2):
xen: let alloc_xenballooned_pages() fail if not enough memory free xen/events: fix binding user event channels to cpus

Julian Anastasov (2):
ipvs: defer hook registration to avoid leaks
ipvs: fix tinfo memory leak in start_sync_thread

Julian Wiedmann (1):
s390/qdio: handle PENDING state for QEBSM devices

Jungo Lin (1):
media: media_device_enum_links32: clean a reserved field

Junxiao Bi (1):
dm bufio: fix deadlock with loop device

Justin Chen (1):
net: bcmgenet: use promisc for unsupported filters

Jyri Sarha (1):
drm/bridge: sii902x: pixel clock unit is 10kHz instead of 1kHz

Jérôme Glisse (1):
dma-buf: balance refcount inbalance

Kai-Heng Feng (1):
ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1

Kangjie Lu (1):
media: vpss: fix a potential NULL pointer dereference

Kefeng Wang (3):
media: wl128x: Fix some error handling in fm_v4l2_init_video_device() tty/serial: digicolor: Fix digicolor-usart already registered warning
hpet: Fix division by zero in hpet_time_div()

Kevin Darbyshire-Bryant (1):
MIPS: fix build on non-linux hosts

Kieran Bingham (1):
media: fdp1: Support M3N and E3 platforms

Kim Phillips (2):
perf/x86/amd/uncore: Do not set 'ThreadMask' and 'SliceMask' for non-L3 PMCs perf/x86/amd/uncore: Set the thread mask for F17h L3 PMCs

Konstantin Taranov (1):
RDMA/rxe: Fill in wc byte_len with IB_WC_RECV_RDMA_WITH_IMM

Krzysztof Kozlowski (1):
regulator: s2mps11: Fix buck7 and buck8 wrong voltages

Kuo-Hsin Yang (1):
mm: vmscan: scan anonymous pages on file refaults

Kyle Meyer (1):
perf tools: Increase MAX_NR_CPUS and MAX_CACHES

Lee, Chiasheng (1):
usb: Handle USB3 remote wakeup for LPM enabled devices correctly

Leo Yan (2):
perf session: Fix potential NULL pointer dereference found by the smatch tool perf annotate: Fix dereferencing freed memory found by the smatch tool

Like Xu (1):
KVM: x86/vPMU: refine kvm_pmu err msg when event creation failed

Linus Torvalds (1):
access: avoid the RCU grace period for the temporary subjective credentials

Liu, Changcheng (1):
RDMA/i40iw: Set queue pair state when being queried

Lorenzo Bianconi (3):
mt7601u: do not schedule rx_tasklet when the device has been disconnected
mt7601u: fix possible memory leak when the device is disconnected
net: neigh: fix multiple neigh timer scheduling

Lubomir Rintel (1):
media: marvell-ccic: fix DMA s/g desc number calculation

Lyude Paul (1):
drm/nouveau/i2c: Enable i2c pads & busses during preinit

Maarten Lankhorst (1):
drm/crc: Only report a single overflow when a CRC fd is opened

Marco Felsch (1):
media: coda: fix last buffer handling in V4L2_ENC_CMD_STOP

Marek Szyprowski (2):
media: s5p-mfc: Make additional clocks optional clocksource/drivers/exynos_mct: Increase priority over ARM arch timer

Marek Vasut (1):
PCI: sysfs: Ignore lockdep for remove attribute

Mark Brown (1):
ASoC: dapm: Adapt for debugfs API change

Masahiro Yamada (2):
x86/build: Add 'set -e' to mkcapflags.sh to delete broken capflags.c powerpc/boot: add {get, put}_unaligned_be32 to xz_config.h

Mathieu Poirier (1):
perf cs-etm: Properly set the value of 'old' and 'head' in snapshot mode

Matias Karhumaa (1):
Bluetooth: Check state in l2cap_disconnect_rsp

Matteo Croce (1):
ipv4: don't set IPv6 only flags to IPv4 addresses

Maurizio Lombardi (1):
scsi: iscsi: set auth_protocol back to NULL if CHAP_A value is not supported

Mauro S. M. Rodrigues (1):
ixgbe: Check DDM existence in transceiver before access

Miaoqing Pan (1):
ath10k: fix PCIE device wake up failed

Michael Neuling (1):
powerpc/tm: Fix oops on sigreturn on systems without TM

Michal Kalderon (1):
qed: Set the doorbell address correctly

Mika Westerberg (1):
PCI: Do not poll for PME if the device is in D3cold

Ming Lei (1):
scsi: core: Fix race on creating sense cache

Miroslav Lichvar (1):
ntp: Limit TAI-UTC offset

Nathan Chancellor (2):
arm64/efi: Mark __efistub_stext_offset as an absolute symbol explicitly
kbuild: Add -Werror=unknown-warning-option to CLANG_FLAGS

Nathan Huckleberry (1):
timer_list: Guard procfs specific code

Nathan Lynch (1):
powerpc/pseries/mobility: prevent cpu hotplug during DT update

Naveen N. Rao (2):
powerpc/xmon: Fix disabling tracing while in xmon
recordmcount: Fix spurious mcount entries on powerpc

Nick Black (1):
Input: synaptics - whitelist Lenovo T580 SMBus intertouch

Nicolas Dichtel (1):
xfrm: fix sa selector validation

Nikolay Aleksandrov (3):
net: bridge: mcast: fix stale nsrcs pointer in igmp3/mld2 report handling
net: bridge: mcast: fix stale ipv6 hdr pointer when handling v6 query
net: bridge: stp: don't cache eth dest pointer before skb pull

Numfor Mbiziwo-Tiapo (1):
perf test mmap-thread-lookup: Initialize variable to suppress memory sanitizer warning

Ocean Chen (1):
f2fs: avoid out-of-range memory access

Oliver Neukum (1):
media: dvb: usb: fix use after free in dvb_usb_device_exit

Oliver O'Halloran (1):
powerpc/eeh: Handle hugepages in ioremap space

Pan Bian (1):
EDAC/sysfs: Fix memory leak when creating a csrow object

Paolo Bonzini (1):
KVM: nVMX: do not use dangling shadow VMCS after guest reset

Paul Cercueil (1):
MIPS: lb60: Fix pin mappings

Paul Menzel (1):
nfsd: Fix overflow causing non-working mounts on 1 TB machines

Peter Kosyh (1):

      vrf: make sure skb->data contains ip header to make routing

Peter Ujfalusi (1):
drm/panel: simple: Fix panel_simple_dsi_probe

Peter Zijlstra (1):

      x86/atomic: Fix smp_mb__{before,after}_atomic()

Philipp Zabel (2):
media: coda: fix mpeg2 sequence number handling
media: coda: increment sequence offset for the last returned frame

Phong Tran (2):
net: usb: asix: init MAC address buffers
usb: wusbcore: fix unbalanced get/put cluster_id

Ping-Ke Shih (1):
rtlwifi: rtl8192cu: fix error handle when usb probe failed

Qu Wenruo (1):
btrfs: inode: Don't compress if NODATASUM or NODATACOW set

Radoslaw Burny (1):
fs/proc/proc_sysctl.c: fix the default values of i_uid/i_gid on /proc/sys inodes.

Rautkoski Kimmo EXT (1):
serial: 8250: Fix TX interrupt handling condition

Ravi Bangoria (1):
powerpc/watchpoint: Restore NV GPRs while returning from exception

Robert Hancock (3):
net: axienet: Fix race condition causing TX hang
net: sfp: add mutex to prevent concurrent state checks
mfd: core: Set fwnode for created devices

Ross Zwisler (3):
mm: add filemap_fdatawait_range_keep_errors()
jbd2: introduce jbd2_inode dirty range scoping
ext4: use jbd2_inode dirty range scoping

Russell King (2):
gpio: omap: fix lack of irqstatus_raw0 for OMAP4
gpio: omap: ensure irq is enabled before wakeup

Ryan Kennedy (1):
usb: pci-quirks: Correct AMD PLL quirk detection

Sam Ravnborg (1):
sh: prevent warnings when using iounmap

Sean Paul (1):
drm/msm: Depopulate platform on probe failure

Serge Semin (2):
tty: max310x: Fix invalid baudrate divisors calculator
tty: serial_core: Set port active bit in uart_port_activate

Shailendra Verma (1):
media: staging: media: davinci_vpfe: - Fix for memory leak if decoder initialization fails.

Shivasharan S (1):
scsi: megaraid_sas: Fix calculation of target ID

Srinivas Kandagatla (1):
regmap: fix bulk writes on paged registers

Stefan Hellermann (1):
MIPS: ath79: fix ar933x uart parity mode

Stefan Roese (1):
serial: mctrl_gpio: Check if GPIO property exisits before requesting it

Stefano Brivio (1):
ipset: Fix memory accounting for hash types on resize

Steve Longerbeam (1):
gpu: ipu-v3: ipu-ic: Fix saturation bit offset in TPMEM

Sunil Muthuswamy (1):
hvsock: fix epollout hang from race condition

Surabhi Vishnoi (1):
ath10k: Do not send probe response template for mesh

Suravee Suthikulpanit (1):
perf/events/amd/uncore: Fix amd_uncore_llc ID to use pre-defined cpu_llc_id

Sven Van Asbroeck (1):
dmaengine: imx-sdma: fix use-after-free on probe error path

Szymon Janc (1):
Bluetooth: Add SMP workaround Microsoft Surface Precision Mouse bug

Taehee Yoo (6):
gtp: add missing gtp_encap_disable_sock() in gtp_encap_enable()
gtp: fix suspicious RCU usage
gtp: fix Illegal context switch in RCU read-side critical section.
gtp: fix use-after-free in gtp_encap_destroy()
gtp: fix use-after-free in gtp_newlink()
caif-hsi: fix possible deadlock in cfhsi_exit_module()

Takashi Iwai (2):
ALSA: seq: Break too long mutex context in the write loop
sky2: Disable MSI on ASUS P6T

Tejun Heo (2):
blkcg, writeback: dead memcgs shouldn't contribute to writeback ownership arbitration
libata: don't request sense data on !ZAC ATA devices

Theodore Ts'o (2):
ext4: enforce the immutable flag on open files
ext4: allow directory holes

Thinh Nguyen (1):
usb: core: hub: Disable hub-initiated U1/U2

Thomas Richter (1):
perf test 6: Fix missing kvm module load for s390

Tim Schumacher (1):
ath9k: Check for errors when reading SREV register

Tomas Bortoli (1):
Bluetooth: hci_bcsp: Fix memory leak in rx_skb

Tomi Valkeinen (1):
drm/bridge: tc358767: read display_props in get_modes()

Trond Myklebust (3):
NFSv4: Handle the special Linux file open access mode pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error
NFSv4: Fix open create exclusive when the server reboots

Valdis Kletnieks (1):
bpf: silence warning messages in core

Vasily Gorbik (1):
kallsyms: exclude kasan local symbols on s390

Waiman Long (1):
rcu: Force inlining of rcu_read_lock()

Wang Hai (1):
memstick: Fix error cleanup path of memstick_init

Wen Gong (1):
ath10k: destroy sdio workqueue while remove sdio module

Wen Yang (2):
crypto: crypto4xx - fix a potential double free in ppc4xx_trng_probe
pinctrl: rockchip: fix leaked of_node references

Wenwen Wang (1):
block/bio-integrity: fix a memory leak bug

Yang Wei (1):
nfc: fix potential illegal memory access

Yonglong Liu (1):
net: hns3: fix a -Wformat-nonliteral compile warning

Yoshihiro Shimoda (1):
phy: renesas: rcar-gen2: Fix memory leak at error paths

YueHaibing (4):
9p/xen: Add cleanup path in p9_trans_xen_init 9p/virtio: Add cleanup path in p9_virtio_init
PCI: dwc: pci-dra7xx: Fix compilation when !CONFIG_GPIOLIB
fpga-manager: altera-ps-spi: Fix build error

Yunsheng Lin (1):
net: hns3: add some error checking in hclge_tm module

Yuyang Du (1):
locking/lockdep: Fix lock used or unused stats error

Zhenzhong Duan (1):
x86/speculation/mds: Apply more accurate check on hypervisor platform

csonsino (1):
Bluetooth: validate BLE connection interval updates

morten petersen (1):
mailbox: handle failed named mailbox channel request

author maintainer
#1 lore raw
Documentation/atomic_t.txt +3 -0
index 913396ac5824..ed0d814df7e0 100644
@@ -177,6 +177,9 @@ These helper barriers exist because architectures have varying implicit
 ordering on their SMP atomic primitives. For example our TSO architectures
 provide full ordered atomics and these barriers are no-ops.
 
+NOTE: when the atomic RmW ops are fully ordered, they should also imply a
+compiler barrier.
+
 Thus:
 
   atomic_fetch_add();
Documentation/devicetree/bindings/net/marvell-orion-mdio.txt +1 -1
index 42cd81090a2c..3f3cfc1d8d4d 100644
@@ -16,7 +16,7 @@ Required properties:
 
 Optional properties:
 - interrupts: interrupt line number for the SMI error/done interrupt
-- clocks: phandle for up to three required clocks for the MDIO instance
+- clocks: phandle for up to four required clocks for the MDIO instance
 
 The child nodes of the MDIO driver are the individual PHY devices
 connected to this MDIO bus. They must have a "reg" property given the
Makefile +2 -1
index 97c744513af0..57825473c031 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 4
 PATCHLEVEL = 14
-SUBLEVEL = 134
+SUBLEVEL = 135
 EXTRAVERSION =
 NAME = Petit Gorille
 
@@ -488,6 +488,7 @@ ifneq ($(GCC_TOOLCHAIN),)
 CLANG_FLAGS	+= --gcc-toolchain=$(GCC_TOOLCHAIN)
 endif
 CLANG_FLAGS	+= -no-integrated-as
+CLANG_FLAGS	+= -Werror=unknown-warning-option
 KBUILD_CFLAGS	+= $(CLANG_FLAGS)
 KBUILD_AFLAGS	+= $(CLANG_FLAGS)
 export CLANG_FLAGS
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi +2 -1
index d10d4430537a..f6e6f1e83ba8 100644
@@ -307,7 +307,8 @@
 			regulator-max-microvolt = <1320000>;
 			enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>;
 			regulator-ramp-delay = <80>;
-			regulator-enable-ramp-delay = <1000>;
+			regulator-enable-ramp-delay = <2000>;
+			regulator-settling-time-us = <160>;
 		};
 	};
 };
arch/arm64/boot/dts/nvidia/tegra210.dtsi +1 -1
index 9bdf19f2cca7..466199766848 100644
@@ -1103,7 +1103,7 @@
 			compatible = "nvidia,tegra210-agic";
 			#interrupt-cells = <3>;
 			interrupt-controller;
-			reg = <0x702f9000 0x2000>,
+			reg = <0x702f9000 0x1000>,
 			      <0x702fa000 0x2000>;
 			interrupts = <GIC_SPI 102 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
 			clocks = <&tegra_car TEGRA210_CLK_APE>;
arch/arm64/crypto/sha1-ce-glue.c +1 -1
index efbeb3e0dcfb..70568e6db77b 100644
@@ -54,7 +54,7 @@ static int sha1_ce_finup(struct shash_desc *desc, const u8 *data,
 			 unsigned int len, u8 *out)
 {
 	struct sha1_ce_state *sctx = shash_desc_ctx(desc);
-	bool finalize = !sctx->sst.count && !(len % SHA1_BLOCK_SIZE);
+	bool finalize = !sctx->sst.count && !(len % SHA1_BLOCK_SIZE) && len;
 
 	if (!may_use_simd())
 		return crypto_sha1_finup(desc, data, len, out);
arch/arm64/crypto/sha2-ce-glue.c +1 -1
index fd1ff2b13dfa..af8472aded42 100644
@@ -59,7 +59,7 @@ static int sha256_ce_finup(struct shash_desc *desc, const u8 *data,
 			   unsigned int len, u8 *out)
 {
 	struct sha256_ce_state *sctx = shash_desc_ctx(desc);
-	bool finalize = !sctx->sst.count && !(len % SHA256_BLOCK_SIZE);
+	bool finalize = !sctx->sst.count && !(len % SHA256_BLOCK_SIZE) && len;
 
 	if (!may_use_simd()) {
 		if (len)
arch/arm64/kernel/acpi.c +7 -3
index b3162715ed78..285f0b4851fc 100644
@@ -157,10 +157,14 @@ static int __init acpi_fadt_sanity_check(void)
 	 */
 	if (table->revision < 5 ||
 	   (table->revision == 5 && fadt->minor_revision < 1)) {
-		pr_err("Unsupported FADT revision %d.%d, should be 5.1+\n",
+		pr_err(FW_BUG "Unsupported FADT revision %d.%d, should be 5.1+\n",
 		       table->revision, fadt->minor_revision);
-		ret = -EINVAL;
-		goto out;
+
+		if (!fadt->arm_boot_flags) {
+			ret = -EINVAL;
+			goto out;
+		}
+		pr_err("FADT has ARM boot flags set, assuming 5.1\n");
 	}
 
 	if (!(fadt->flags & ACPI_FADT_HW_REDUCED)) {
arch/arm64/kernel/image.h +5 -1
index 40f9f0b078a4..12af2ba8d558 100644
@@ -73,7 +73,11 @@
 
 #ifdef CONFIG_EFI
 
-__efistub_stext_offset = stext - _text;
+/*
+ * Use ABSOLUTE() to avoid ld.lld treating this as a relative symbol:
+ * https://github.com/ClangBuiltLinux/linux/issues/561
+ */
+__efistub_stext_offset = ABSOLUTE(stext - _text);
 
 /*
  * The EFI stub has its own symbol namespace prefixed by __efistub_, to
arch/mips/boot/compressed/Makefile +2 -0
index adce180f3ee4..331b9e0a8072 100644
@@ -75,6 +75,8 @@ OBJCOPYFLAGS_piggy.o := --add-section=.image=$(obj)/vmlinux.bin.z \
 $(obj)/piggy.o: $(obj)/dummy.o $(obj)/vmlinux.bin.z FORCE
 	$(call if_changed,objcopy)
 
+HOSTCFLAGS_calc_vmlinuz_load_addr.o += $(LINUXINCLUDE)
+
 # Calculate the load address of the compressed kernel image
 hostprogs-y := calc_vmlinuz_load_addr
 
arch/mips/boot/compressed/calc_vmlinuz_load_addr.c +1 -1
index 542c3ede9722..d14f75ec8273 100644
@@ -13,7 +13,7 @@
 #include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include "../../../../include/linux/sizes.h"
+#include <linux/sizes.h>
 
 int main(int argc, char *argv[])
 {
arch/mips/include/asm/mach-ath79/ar933x_uart.h +2 -2
index c2917b39966b..bba2c8837951 100644
@@ -27,8 +27,8 @@
 #define AR933X_UART_CS_PARITY_S		0
 #define AR933X_UART_CS_PARITY_M		0x3
 #define	  AR933X_UART_CS_PARITY_NONE	0
-#define	  AR933X_UART_CS_PARITY_ODD	1
-#define	  AR933X_UART_CS_PARITY_EVEN	2
+#define	  AR933X_UART_CS_PARITY_ODD	2
+#define	  AR933X_UART_CS_PARITY_EVEN	3
 #define AR933X_UART_CS_IF_MODE_S	2
 #define AR933X_UART_CS_IF_MODE_M	0x3
 #define	  AR933X_UART_CS_IF_MODE_NONE	0
arch/mips/jz4740/board-qi_lb60.c +8 -8
index 6d7f97552200..e1a905515283 100644
@@ -456,27 +456,27 @@ static unsigned long pin_cfg_bias_disable[] = {
 static struct pinctrl_map pin_map[] __initdata = {
 	/* NAND pin configuration */
 	PIN_MAP_MUX_GROUP_DEFAULT("jz4740-nand",
-			"10010000.jz4740-pinctrl", "nand", "nand-cs1"),
+			"10010000.pin-controller", "nand-cs1", "nand"),
 
 	/* fbdev pin configuration */
 	PIN_MAP_MUX_GROUP("jz4740-fb", PINCTRL_STATE_DEFAULT,
-			"10010000.jz4740-pinctrl", "lcd", "lcd-8bit"),
+			"10010000.pin-controller", "lcd-8bit", "lcd"),
 	PIN_MAP_MUX_GROUP("jz4740-fb", PINCTRL_STATE_SLEEP,
-			"10010000.jz4740-pinctrl", "lcd", "lcd-no-pins"),
+			"10010000.pin-controller", "lcd-no-pins", "lcd"),
 
 	/* MMC pin configuration */
 	PIN_MAP_MUX_GROUP_DEFAULT("jz4740-mmc.0",
-			"10010000.jz4740-pinctrl", "mmc", "mmc-1bit"),
+			"10010000.pin-controller", "mmc-1bit", "mmc"),
 	PIN_MAP_MUX_GROUP_DEFAULT("jz4740-mmc.0",
-			"10010000.jz4740-pinctrl", "mmc", "mmc-4bit"),
+			"10010000.pin-controller", "mmc-4bit", "mmc"),
 	PIN_MAP_CONFIGS_PIN_DEFAULT("jz4740-mmc.0",
-			"10010000.jz4740-pinctrl", "PD0", pin_cfg_bias_disable),
+			"10010000.pin-controller", "PD0", pin_cfg_bias_disable),
 	PIN_MAP_CONFIGS_PIN_DEFAULT("jz4740-mmc.0",
-			"10010000.jz4740-pinctrl", "PD2", pin_cfg_bias_disable),
+			"10010000.pin-controller", "PD2", pin_cfg_bias_disable),
 
 	/* PWM pin configuration */
 	PIN_MAP_MUX_GROUP_DEFAULT("jz4740-pwm",
-			"10010000.jz4740-pinctrl", "pwm4", "pwm4"),
+			"10010000.pin-controller", "pwm4", "pwm4"),
 };
 
 
arch/parisc/kernel/ptrace.c +20 -11
index eca5b2a1c7e1..f468a5b44508 100644
@@ -171,6 +171,9 @@ long arch_ptrace(struct task_struct *child, long request,
 		if ((addr & (sizeof(unsigned long)-1)) ||
 		     addr >= sizeof(struct pt_regs))
 			break;
+		if (addr == PT_IAOQ0 || addr == PT_IAOQ1) {
+			data |= 3; /* ensure userspace privilege */
+		}
 		if ((addr >= PT_GR1 && addr <= PT_GR31) ||
 				addr == PT_IAOQ0 || addr == PT_IAOQ1 ||
 				(addr >= PT_FR0 && addr <= PT_FR31 + 4) ||
@@ -232,16 +235,18 @@ long arch_ptrace(struct task_struct *child, long request,
 
 static compat_ulong_t translate_usr_offset(compat_ulong_t offset)
 {
-	if (offset < 0)
-		return sizeof(struct pt_regs);
-	else if (offset <= 32*4)	/* gr[0..31] */
-		return offset * 2 + 4;
-	else if (offset <= 32*4+32*8)	/* gr[0..31] + fr[0..31] */
-		return offset + 32*4;
-	else if (offset < sizeof(struct pt_regs)/2 + 32*4)
-		return offset * 2 + 4 - 32*8;
+	compat_ulong_t pos;
+
+	if (offset < 32*4)	/* gr[0..31] */
+		pos = offset * 2 + 4;
+	else if (offset < 32*4+32*8)	/* fr[0] ... fr[31] */
+		pos = (offset - 32*4) + PT_FR0;
+	else if (offset < sizeof(struct pt_regs)/2 + 32*4) /* sr[0] ... ipsw */
+		pos = (offset - 32*4 - 32*8) * 2 + PT_SR0 + 4;
 	else
-		return sizeof(struct pt_regs);
+		pos = sizeof(struct pt_regs);
+
+	return pos;
 }
 
 long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
@@ -285,9 +290,12 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
 			addr = translate_usr_offset(addr);
 			if (addr >= sizeof(struct pt_regs))
 				break;
+			if (addr == PT_IAOQ0+4 || addr == PT_IAOQ1+4) {
+				data |= 3; /* ensure userspace privilege */
+			}
 			if (addr >= PT_FR0 && addr <= PT_FR31 + 4) {
 				/* Special case, fp regs are 64 bits anyway */
-				*(__u64 *) ((char *) task_regs(child) + addr) = data;
+				*(__u32 *) ((char *) task_regs(child) + addr) = data;
 				ret = 0;
 			}
 			else if ((addr >= PT_GR1+4 && addr <= PT_GR31+4) ||
@@ -500,7 +508,8 @@ static void set_reg(struct pt_regs *regs, int num, unsigned long val)
 			return;
 	case RI(iaoq[0]):
 	case RI(iaoq[1]):
-			regs->iaoq[num - RI(iaoq[0])] = val;
+			/* set 2 lowest bits to ensure userspace privilege: */
+			regs->iaoq[num - RI(iaoq[0])] = val | 3;
 			return;
 	case RI(sar):	regs->sar = val;
 			return;
arch/powerpc/boot/xz_config.h +20 -0
index e22e5b3770dd..ebfadd39e192 100644
@@ -20,10 +20,30 @@ static inline uint32_t swab32p(void *p)
 
 #ifdef __LITTLE_ENDIAN__
 #define get_le32(p) (*((uint32_t *) (p)))
+#define cpu_to_be32(x) swab32(x)
+static inline u32 be32_to_cpup(const u32 *p)
+{
+	return swab32p((u32 *)p);
+}
 #else
 #define get_le32(p) swab32p(p)
+#define cpu_to_be32(x) (x)
+static inline u32 be32_to_cpup(const u32 *p)
+{
+	return *p;
+}
 #endif
 
+static inline uint32_t get_unaligned_be32(const void *p)
+{
+	return be32_to_cpup(p);
+}
+
+static inline void put_unaligned_be32(u32 val, void *p)
+{
+	*((u32 *)p) = cpu_to_be32(val);
+}
+
 #define memeq(a, b, size) (memcmp(a, b, size) == 0)
 #define memzero(buf, size) memset(buf, 0, size)
 
arch/powerpc/kernel/eeh.c +12 -3
index 45322b37669a..d2ba7936d0d3 100644
@@ -361,10 +361,19 @@ static inline unsigned long eeh_token_to_phys(unsigned long token)
 	ptep = find_init_mm_pte(token, &hugepage_shift);
 	if (!ptep)
 		return token;
-	WARN_ON(hugepage_shift);
-	pa = pte_pfn(*ptep) << PAGE_SHIFT;
 
-	return pa | (token & (PAGE_SIZE-1));
+	pa = pte_pfn(*ptep);
+
+	/* On radix we can do hugepage mappings for io, so handle that */
+	if (hugepage_shift) {
+		pa <<= hugepage_shift;
+		pa |= token & ((1ul << hugepage_shift) - 1);
+	} else {
+		pa <<= PAGE_SHIFT;
+		pa |= token & (PAGE_SIZE - 1);
+	}
+
+	return pa;
 }
 
 /*
arch/powerpc/kernel/exceptions-64s.S +7 -2
index f65bb53df43b..43cde6c60279 100644
@@ -1675,7 +1675,7 @@ handle_page_fault:
 	addi	r3,r1,STACK_FRAME_OVERHEAD
 	bl	do_page_fault
 	cmpdi	r3,0
-	beq+	12f
+	beq+	ret_from_except_lite
 	bl	save_nvgprs
 	mr	r5,r3
 	addi	r3,r1,STACK_FRAME_OVERHEAD
@@ -1690,7 +1690,12 @@ handle_dabr_fault:
 	ld      r5,_DSISR(r1)
 	addi    r3,r1,STACK_FRAME_OVERHEAD
 	bl      do_break
-12:	b       ret_from_except_lite
+	/*
+	 * do_break() may have changed the NV GPRS while handling a breakpoint.
+	 * If so, we need to restore them with their updated values. Don't use
+	 * ret_from_except_lite here.
+	 */
+	b       ret_from_except
 
 
 #ifdef CONFIG_PPC_STD_MMU_64
arch/powerpc/kernel/pci_of_scan.c +2 -0
index 0d790f8432d2..6ca1b3a1e196 100644
@@ -45,6 +45,8 @@ static unsigned int pci_parse_of_flags(u32 addr0, int bridge)
 	if (addr0 & 0x02000000) {
 		flags = IORESOURCE_MEM | PCI_BASE_ADDRESS_SPACE_MEMORY;
 		flags |= (addr0 >> 22) & PCI_BASE_ADDRESS_MEM_TYPE_64;
+		if (flags & PCI_BASE_ADDRESS_MEM_TYPE_64)
+			flags |= IORESOURCE_MEM_64;
 		flags |= (addr0 >> 28) & PCI_BASE_ADDRESS_MEM_TYPE_1M;
 		if (addr0 & 0x40000000)
 			flags |= IORESOURCE_PREFETCH
arch/powerpc/kernel/signal_32.c +3 -0
index 636ea854808e..a03fc3109fa5 100644
@@ -1279,6 +1279,9 @@ long sys_rt_sigreturn(int r3, int r4, int r5, int r6, int r7, int r8,
 			goto bad;
 
 		if (MSR_TM_ACTIVE(msr_hi<<32)) {
+			/* Trying to start TM on non TM system */
+			if (!cpu_has_feature(CPU_FTR_TM))
+				goto bad;
 			/* We only recheckpoint on return if we're
 			 * transaction.
 			 */
arch/powerpc/kernel/signal_64.c +5 -0
index 927384d85faf..b75bf6e74209 100644
@@ -741,6 +741,11 @@ int sys_rt_sigreturn(unsigned long r3, unsigned long r4, unsigned long r5,
 	if (MSR_TM_ACTIVE(msr)) {
 		/* We recheckpoint on return. */
 		struct ucontext __user *uc_transact;
+
+		/* Trying to start TM on non TM system */
+		if (!cpu_has_feature(CPU_FTR_TM))
+			goto badframe;
+
 		if (__get_user(uc_transact, &uc->uc_link))
 			goto badframe;
 		if (restore_tm_sigcontexts(current, &uc->uc_mcontext,
arch/powerpc/kernel/swsusp_32.S +65 -8

109 lines not on this page · raw message

arch/powerpc/platforms/4xx/uic.c +1 -0
index 8b4dd0da0839..9e27cfe27026 100644
@@ -158,6 +158,7 @@ static int uic_set_irq_type(struct irq_data *d, unsigned int flow_type)
 
 	mtdcr(uic->dcrbase + UIC_PR, pr);
 	mtdcr(uic->dcrbase + UIC_TR, tr);
+	mtdcr(uic->dcrbase + UIC_SR, ~mask);
 
 	raw_spin_unlock_irqrestore(&uic->lock, flags);
 
arch/powerpc/platforms/powermac/sleep.S +63 -5

101 lines not on this page · raw message

arch/powerpc/platforms/pseries/mobility.c +9 -0
index fbea7db043fa..4addc552eb33 100644
@@ -9,6 +9,7 @@
  * 2 as published by the Free Software Foundation.
  */
 
+#include <linux/cpu.h>
 #include <linux/kernel.h>
 #include <linux/kobject.h>
 #include <linux/smp.h>
@@ -343,11 +344,19 @@ void post_mobility_fixup(void)
 	if (rc)
 		printk(KERN_ERR "Post-mobility activate-fw failed: %d\n", rc);
 
+	/*
+	 * We don't want CPUs to go online/offline while the device
+	 * tree is being updated.
+	 */
+	cpus_read_lock();
+
 	rc = pseries_devicetree_update(MIGRATION_SCOPE);
 	if (rc)
 		printk(KERN_ERR "Post-mobility device tree update "
 			"failed: %d\n", rc);
 
+	cpus_read_unlock();
+
 	/* Possibly switch to a new RFI flush type */
 	pseries_setup_rfi_flush();
 
arch/powerpc/sysdev/xive/common.c +3 -4
index a3b8d7d1316e..818fc5351591 100644
@@ -482,7 +482,7 @@ static int xive_find_target_in_mask(const struct cpumask *mask,
 	 * Now go through the entire mask until we find a valid
 	 * target.
 	 */
-	for (;;) {
+	do {
 		/*
 		 * We re-check online as the fallback case passes us
 		 * an untested affinity mask
@@ -490,12 +490,11 @@ static int xive_find_target_in_mask(const struct cpumask *mask,
 		if (cpu_online(cpu) && xive_try_pick_target(cpu))
 			return cpu;
 		cpu = cpumask_next(cpu, mask);
-		if (cpu == first)
-			break;
 		/* Wrap around */
 		if (cpu >= nr_cpu_ids)
 			cpu = cpumask_first(mask);
-	}
+	} while (cpu != first);
+
 	return -1;
 }
 
arch/powerpc/xmon/xmon.c +4 -2
index f752f771f29d..6b9038a3e79f 100644
@@ -465,8 +465,10 @@ static int xmon_core(struct pt_regs *regs, int fromipi)
 	local_irq_save(flags);
 	hard_irq_disable();
 
-	tracing_enabled = tracing_is_on();
-	tracing_off();
+	if (!fromipi) {
+		tracing_enabled = tracing_is_on();
+		tracing_off();
+	}
 
 	bp = in_breakpoint_table(regs->nip, &offset);
 	if (bp != NULL) {
arch/sh/include/asm/io.h +5 -1
index 98cb8c802b1a..0ae60d680000 100644
@@ -371,7 +371,11 @@ static inline int iounmap_fixed(void __iomem *addr) { return -EINVAL; }
 
 #define ioremap_nocache	ioremap
 #define ioremap_uc	ioremap
-#define iounmap		__iounmap
+
+static inline void iounmap(void __iomem *addr)
+{
+	__iounmap(addr);
+}
 
 /*
  * Convert a physical pointer to a virtual kernel pointer for /dev/mem
arch/um/include/asm/mmu_context.h +1 -1
index fca34b2177e2..129fb1d1f1c5 100644
@@ -53,7 +53,7 @@ static inline void activate_mm(struct mm_struct *old, struct mm_struct *new)
 	 * when the new ->mm is used for the first time.
 	 */
 	__switch_mm(&new->context.id);
-	down_write(&new->mmap_sem);
+	down_write_nested(&new->mmap_sem, 1);
 	uml_setup_stubs(new);
 	up_write(&new->mmap_sem);
 }
arch/x86/events/amd/uncore.c +13 -23
index 4e1d7483b78c..baa7e36073f9 100644
@@ -19,6 +19,7 @@
 #include <asm/cpufeature.h>
 #include <asm/perf_event.h>
 #include <asm/msr.h>
+#include <asm/smp.h>
 
 #define NUM_COUNTERS_NB		4
 #define NUM_COUNTERS_L2		4
@@ -209,15 +210,22 @@ static int amd_uncore_event_init(struct perf_event *event)
 	hwc->config = event->attr.config & AMD64_RAW_EVENT_MASK_NB;
 	hwc->idx = -1;
 
+	if (event->cpu < 0)
+		return -EINVAL;
+
 	/*
 	 * SliceMask and ThreadMask need to be set for certain L3 events in
 	 * Family 17h. For other events, the two fields do not affect the count.
 	 */
-	if (l3_mask)
-		hwc->config |= (AMD64_L3_SLICE_MASK | AMD64_L3_THREAD_MASK);
+	if (l3_mask && is_llc_event(event)) {
+		int thread = 2 * (cpu_data(event->cpu).cpu_core_id % 4);
 
-	if (event->cpu < 0)
-		return -EINVAL;
+		if (smp_num_siblings > 1)
+			thread += cpu_data(event->cpu).apicid & 1;
+
+		hwc->config |= (1ULL << (AMD64_L3_THREAD_SHIFT + thread) &
+				AMD64_L3_THREAD_MASK) | AMD64_L3_SLICE_MASK;
+	}
 
 	uncore = event_to_amd_uncore(event);
 	if (!uncore)
@@ -407,26 +415,8 @@ static int amd_uncore_cpu_starting(unsigned int cpu)
 	}
 
 	if (amd_uncore_llc) {
-		unsigned int apicid = cpu_data(cpu).apicid;
-		unsigned int nshared, subleaf, prev_eax = 0;
-
 		uncore = *per_cpu_ptr(amd_uncore_llc, cpu);
-		/*
-		 * Iterate over Cache Topology Definition leaves until no
-		 * more cache descriptions are available.
-		 */
-		for (subleaf = 0; subleaf < 5; subleaf++) {
-			cpuid_count(0x8000001d, subleaf, &eax, &ebx, &ecx, &edx);
-
-			/* EAX[0:4] gives type of cache */
-			if (!(eax & 0x1f))
-				break;
-
-			prev_eax = eax;
-		}
-		nshared = ((prev_eax >> 14) & 0xfff) + 1;
-
-		uncore->id = apicid - (apicid % nshared);
+		uncore->id = per_cpu(cpu_llc_id, cpu);
 
 		uncore = amd_uncore_find_online_sibling(uncore, amd_uncore_llc);
 		*per_cpu_ptr(amd_uncore_llc, cpu) = uncore;
arch/x86/include/asm/atomic.h +4 -4
index 72759f131cc5..d09dd91dd0b6 100644
@@ -50,7 +50,7 @@ static __always_inline void atomic_add(int i, atomic_t *v)
 {
 	asm volatile(LOCK_PREFIX "addl %1,%0"
 		     : "+m" (v->counter)
-		     : "ir" (i));
+		     : "ir" (i) : "memory");
 }
 
 /**
@@ -64,7 +64,7 @@ static __always_inline void atomic_sub(int i, atomic_t *v)
 {
 	asm volatile(LOCK_PREFIX "subl %1,%0"
 		     : "+m" (v->counter)
-		     : "ir" (i));
+		     : "ir" (i) : "memory");
 }
 
 /**
@@ -90,7 +90,7 @@ static __always_inline bool atomic_sub_and_test(int i, atomic_t *v)
 static __always_inline void atomic_inc(atomic_t *v)
 {
 	asm volatile(LOCK_PREFIX "incl %0"
-		     : "+m" (v->counter));
+		     : "+m" (v->counter) :: "memory");
 }
 
 /**
@@ -102,7 +102,7 @@ static __always_inline void atomic_inc(atomic_t *v)
 static __always_inline void atomic_dec(atomic_t *v)
 {
 	asm volatile(LOCK_PREFIX "decl %0"
-		     : "+m" (v->counter));
+		     : "+m" (v->counter) :: "memory");
 }
 
 /**
arch/x86/include/asm/atomic64_64.h +4 -4
index 738495caf05f..e6fad6bbb2ee 100644
@@ -45,7 +45,7 @@ static __always_inline void atomic64_add(long i, atomic64_t *v)
 {
 	asm volatile(LOCK_PREFIX "addq %1,%0"
 		     : "=m" (v->counter)
-		     : "er" (i), "m" (v->counter));
+		     : "er" (i), "m" (v->counter) : "memory");
 }
 
 /**
@@ -59,7 +59,7 @@ static inline void atomic64_sub(long i, atomic64_t *v)
 {
 	asm volatile(LOCK_PREFIX "subq %1,%0"
 		     : "=m" (v->counter)
-		     : "er" (i), "m" (v->counter));
+		     : "er" (i), "m" (v->counter) : "memory");
 }
 
 /**
@@ -86,7 +86,7 @@ static __always_inline void atomic64_inc(atomic64_t *v)
 {
 	asm volatile(LOCK_PREFIX "incq %0"
 		     : "=m" (v->counter)
-		     : "m" (v->counter));
+		     : "m" (v->counter) : "memory");
 }
 
 /**
@@ -99,7 +99,7 @@ static __always_inline void atomic64_dec(atomic64_t *v)
 {
 	asm volatile(LOCK_PREFIX "decq %0"
 		     : "=m" (v->counter)
-		     : "m" (v->counter));
+		     : "m" (v->counter) : "memory");
 }
 
 /**
arch/x86/include/asm/barrier.h +2 -2
index a04f0c242a28..bc88797cfa61 100644
@@ -106,8 +106,8 @@ do {									\
 #endif
 
 /* Atomic operations are already serializing on x86 */
-#define __smp_mb__before_atomic()	barrier()
-#define __smp_mb__after_atomic()	barrier()
+#define __smp_mb__before_atomic()	do { } while (0)
+#define __smp_mb__after_atomic()	do { } while (0)
 
 #include <asm-generic/barrier.h>
 
arch/x86/include/asm/cpufeatures.h +2 -0
index 48ef9ed8226d..4cb8315c521f 100644
@@ -239,12 +239,14 @@
 #define X86_FEATURE_BMI1		( 9*32+ 3) /* 1st group bit manipulation extensions */
 #define X86_FEATURE_HLE			( 9*32+ 4) /* Hardware Lock Elision */
 #define X86_FEATURE_AVX2		( 9*32+ 5) /* AVX2 instructions */
+#define X86_FEATURE_FDP_EXCPTN_ONLY	( 9*32+ 6) /* "" FPU data pointer updated only on x87 exceptions */
 #define X86_FEATURE_SMEP		( 9*32+ 7) /* Supervisor Mode Execution Protection */
 #define X86_FEATURE_BMI2		( 9*32+ 8) /* 2nd group bit manipulation extensions */
 #define X86_FEATURE_ERMS		( 9*32+ 9) /* Enhanced REP MOVSB/STOSB instructions */
 #define X86_FEATURE_INVPCID		( 9*32+10) /* Invalidate Processor Context ID */
 #define X86_FEATURE_RTM			( 9*32+11) /* Restricted Transactional Memory */
 #define X86_FEATURE_CQM			( 9*32+12) /* Cache QoS Monitoring */
+#define X86_FEATURE_ZERO_FCS_FDS	( 9*32+13) /* "" Zero out FPU CS and FPU DS */
 #define X86_FEATURE_MPX			( 9*32+14) /* Memory Protection Extension */
 #define X86_FEATURE_RDT_A		( 9*32+15) /* Resource Director Technology Allocation */
 #define X86_FEATURE_AVX512F		( 9*32+16) /* AVX-512 Foundation */
arch/x86/kernel/cpu/bugs.c +1 -1
index 3b44d39aca1d..64b6180ce162 100644
@@ -1196,7 +1196,7 @@ static ssize_t l1tf_show_state(char *buf)
 
 static ssize_t mds_show_state(char *buf)
 {
-	if (!hypervisor_is_type(X86_HYPER_NATIVE)) {
+	if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) {
 		return sprintf(buf, "%s; SMT Host state unknown\n",
 			       mds_strings[mds_mitigation]);
 	}
arch/x86/kernel/cpu/mkcapflags.sh +2 -0
index d0dfb892c72f..aed45b8895d5 100644
@@ -4,6 +4,8 @@
 # Generate the x86_cap/bug_flags[] arrays from include/asm/cpufeatures.h
 #
 
+set -e
+
 IN=$1
 OUT=$2
 
arch/x86/kernel/mpparse.c +4 -6
index 1c52acaa5bec..236abf77994b 100644
@@ -544,17 +544,15 @@ void __init default_get_smp_config(unsigned int early)
 			 * local APIC has default address
 			 */
 			mp_lapic_addr = APIC_DEFAULT_PHYS_BASE;
-			return;
+			goto out;
 		}
 
 		pr_info("Default MP configuration #%d\n", mpf->feature1);
 		construct_default_ISA_mptable(mpf->feature1);
 
 	} else if (mpf->physptr) {
-		if (check_physptr(mpf, early)) {
-			early_memunmap(mpf, sizeof(*mpf));
-			return;
-		}
+		if (check_physptr(mpf, early))
+			goto out;
 	} else
 		BUG();
 
@@ -563,7 +561,7 @@ void __init default_get_smp_config(unsigned int early)
 	/*
 	 * Only use the first configuration found.
 	 */
-
+out:
 	early_memunmap(mpf, sizeof(*mpf));
 }
 
arch/x86/kernel/sysfb_efi.c +46 -0

55 lines not on this page · raw message

arch/x86/kvm/pmu.c +2 -2
index 026db42a86c3..1bca8016ee8a 100644
@@ -131,8 +131,8 @@ static void pmc_reprogram_counter(struct kvm_pmc *pmc, u32 type,
 						 intr ? kvm_perf_overflow_intr :
 						 kvm_perf_overflow, pmc);
 	if (IS_ERR(event)) {
-		printk_once("kvm_pmu: event creation failed %ld\n",
-			    PTR_ERR(event));
+		pr_debug_ratelimited("kvm_pmu: event creation failed %ld for pmc->idx = %d\n",
+			    PTR_ERR(event), pmc->idx);
 		return;
 	}
 
arch/x86/kvm/vmx.c +7 -1
index 9b2486e8ec00..ae484edcf7a3 100644
@@ -7694,6 +7694,7 @@ static void vmx_disable_shadow_vmcs(struct vcpu_vmx *vmx)
 {
 	vmcs_clear_bits(SECONDARY_VM_EXEC_CONTROL, SECONDARY_EXEC_SHADOW_VMCS);
 	vmcs_write64(VMCS_LINK_POINTER, -1ull);
+	vmx->nested.sync_shadow_vmcs = false;
 }
 
 static inline void nested_release_vmcs12(struct vcpu_vmx *vmx)
@@ -7705,7 +7706,6 @@ static inline void nested_release_vmcs12(struct vcpu_vmx *vmx)
 		/* copy to memory all shadowed fields in case
 		   they were modified */
 		copy_shadow_to_vmcs12(vmx);
-		vmx->nested.sync_shadow_vmcs = false;
 		vmx_disable_shadow_vmcs(vmx);
 	}
 	vmx->nested.posted_intr_nv = -1;
@@ -7891,6 +7891,9 @@ static void copy_shadow_to_vmcs12(struct vcpu_vmx *vmx)
 	const unsigned long *fields = shadow_read_write_fields;
 	const int num_fields = max_shadow_read_write_fields;
 
+	if (WARN_ON(!shadow_vmcs))
+		return;
+
 	preempt_disable();
 
 	vmcs_load(shadow_vmcs);
@@ -7938,6 +7941,9 @@ static void copy_vmcs12_to_shadow(struct vcpu_vmx *vmx)
 	u64 field_value = 0;
 	struct vmcs *shadow_vmcs = vmx->vmcs01.shadow_vmcs;
 
+	if (WARN_ON(!shadow_vmcs))
+		return;
+
 	vmcs_load(shadow_vmcs);
 
 	for (q = 0; q < ARRAY_SIZE(fields); q++) {
block/bio-integrity.c +6 -2
index 5df32907ff3b..7f8010662437 100644
@@ -313,8 +313,12 @@ bool bio_integrity_prep(struct bio *bio)
 		ret = bio_integrity_add_page(bio, virt_to_page(buf),
 					     bytes, offset);
 
-		if (ret == 0)
-			return false;
+		if (ret == 0) {
+			printk(KERN_ERR "could not attach integrity payload\n");
+			kfree(buf);
+			status = BLK_STS_RESOURCE;
+			goto err_end_io;
+		}
 
 		if (ret < bytes)
 			break;
crypto/asymmetric_keys/Kconfig +3 -0
index f3702e533ff4..d8a73d94bb30 100644
@@ -15,6 +15,7 @@ config ASYMMETRIC_PUBLIC_KEY_SUBTYPE
 	select MPILIB
 	select CRYPTO_HASH_INFO
 	select CRYPTO_AKCIPHER
+	select CRYPTO_HASH
 	help
 	  This option provides support for asymmetric public key type handling.
 	  If signature generation and/or verification are to be used,
@@ -34,6 +35,7 @@ config X509_CERTIFICATE_PARSER
 config PKCS7_MESSAGE_PARSER
 	tristate "PKCS#7 message parser"
 	depends on X509_CERTIFICATE_PARSER
+	select CRYPTO_HASH
 	select ASN1
 	select OID_REGISTRY
 	help
@@ -56,6 +58,7 @@ config SIGNED_PE_FILE_VERIFICATION
 	bool "Support for PE file signature verification"
 	depends on PKCS7_MESSAGE_PARSER=y
 	depends on SYSTEM_DATA_VERIFICATION
+	select CRYPTO_HASH
 	select ASN1
 	select OID_REGISTRY
 	help
crypto/chacha20poly1305.c +19 -11
index 4d6f51bcdfab..af8afe5c06ea 100644
@@ -67,6 +67,8 @@ struct chachapoly_req_ctx {
 	unsigned int cryptlen;
 	/* Actual AD, excluding IV */
 	unsigned int assoclen;
+	/* request flags, with MAY_SLEEP cleared if needed */
+	u32 flags;
 	union {
 		struct poly_req poly;
 		struct chacha_req chacha;
@@ -76,8 +78,12 @@ struct chachapoly_req_ctx {
 static inline void async_done_continue(struct aead_request *req, int err,
 				       int (*cont)(struct aead_request *))
 {
-	if (!err)
+	if (!err) {
+		struct chachapoly_req_ctx *rctx = aead_request_ctx(req);
+
+		rctx->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
 		err = cont(req);
+	}
 
 	if (err != -EINPROGRESS && err != -EBUSY)
 		aead_request_complete(req, err);
@@ -144,7 +150,7 @@ static int chacha_decrypt(struct aead_request *req)
 		dst = scatterwalk_ffwd(rctx->dst, req->dst, req->assoclen);
 	}
 
-	skcipher_request_set_callback(&creq->req, aead_request_flags(req),
+	skcipher_request_set_callback(&creq->req, rctx->flags,
 				      chacha_decrypt_done, req);
 	skcipher_request_set_tfm(&creq->req, ctx->chacha);
 	skcipher_request_set_crypt(&creq->req, src, dst,
@@ -188,7 +194,7 @@ static int poly_tail(struct aead_request *req)
 	memcpy(&preq->tail.cryptlen, &len, sizeof(len));
 	sg_set_buf(preq->src, &preq->tail, sizeof(preq->tail));
 
-	ahash_request_set_callback(&preq->req, aead_request_flags(req),
+	ahash_request_set_callback(&preq->req, rctx->flags,
 				   poly_tail_done, req);
 	ahash_request_set_tfm(&preq->req, ctx->poly);
 	ahash_request_set_crypt(&preq->req, preq->src,
@@ -219,7 +225,7 @@ static int poly_cipherpad(struct aead_request *req)
 	sg_init_table(preq->src, 1);
 	sg_set_buf(preq->src, &preq->pad, padlen);
 
-	ahash_request_set_callback(&preq->req, aead_request_flags(req),
+	ahash_request_set_callback(&preq->req, rctx->flags,
 				   poly_cipherpad_done, req);
 	ahash_request_set_tfm(&preq->req, ctx->poly);
 	ahash_request_set_crypt(&preq->req, preq->src, NULL, padlen);
@@ -250,7 +256,7 @@ static int poly_cipher(struct aead_request *req)
 	sg_init_table(rctx->src, 2);
 	crypt = scatterwalk_ffwd(rctx->src, crypt, req->assoclen);
 
-	ahash_request_set_callback(&preq->req, aead_request_flags(req),
+	ahash_request_set_callback(&preq->req, rctx->flags,
 				   poly_cipher_done, req);
 	ahash_request_set_tfm(&preq->req, ctx->poly);
 	ahash_request_set_crypt(&preq->req, crypt, NULL, rctx->cryptlen);
@@ -280,7 +286,7 @@ static int poly_adpad(struct aead_request *req)
 	sg_init_table(preq->src, 1);
 	sg_set_buf(preq->src, preq->pad, padlen);
 
-	ahash_request_set_callback(&preq->req, aead_request_flags(req),
+	ahash_request_set_callback(&preq->req, rctx->flags,
 				   poly_adpad_done, req);
 	ahash_request_set_tfm(&preq->req, ctx->poly);
 	ahash_request_set_crypt(&preq->req, preq->src, NULL, padlen);
@@ -304,7 +310,7 @@ static int poly_ad(struct aead_request *req)
 	struct poly_req *preq = &rctx->u.poly;
 	int err;
 
-	ahash_request_set_callback(&preq->req, aead_request_flags(req),
+	ahash_request_set_callback(&preq->req, rctx->flags,
 				   poly_ad_done, req);
 	ahash_request_set_tfm(&preq->req, ctx->poly);
 	ahash_request_set_crypt(&preq->req, req->src, NULL, rctx->assoclen);
@@ -331,7 +337,7 @@ static int poly_setkey(struct aead_request *req)
 	sg_init_table(preq->src, 1);
 	sg_set_buf(preq->src, rctx->key, sizeof(rctx->key));
 
-	ahash_request_set_callback(&preq->req, aead_request_flags(req),
+	ahash_request_set_callback(&preq->req, rctx->flags,
 				   poly_setkey_done, req);
 	ahash_request_set_tfm(&preq->req, ctx->poly);
 	ahash_request_set_crypt(&preq->req, preq->src, NULL, sizeof(rctx->key));
@@ -355,7 +361,7 @@ static int poly_init(struct aead_request *req)
 	struct poly_req *preq = &rctx->u.poly;
 	int err;
 
-	ahash_request_set_callback(&preq->req, aead_request_flags(req),
+	ahash_request_set_callback(&preq->req, rctx->flags,
 				   poly_init_done, req);
 	ahash_request_set_tfm(&preq->req, ctx->poly);
 
@@ -393,7 +399,7 @@ static int poly_genkey(struct aead_request *req)
 
 	chacha_iv(creq->iv, req, 0);
 
-	skcipher_request_set_callback(&creq->req, aead_request_flags(req),
+	skcipher_request_set_callback(&creq->req, rctx->flags,
 				      poly_genkey_done, req);
 	skcipher_request_set_tfm(&creq->req, ctx->chacha);
 	skcipher_request_set_crypt(&creq->req, creq->src, creq->src,
@@ -433,7 +439,7 @@ static int chacha_encrypt(struct aead_request *req)
 		dst = scatterwalk_ffwd(rctx->dst, req->dst, req->assoclen);
 	}
 
-	skcipher_request_set_callback(&creq->req, aead_request_flags(req),
+	skcipher_request_set_callback(&creq->req, rctx->flags,
 				      chacha_encrypt_done, req);
 	skcipher_request_set_tfm(&creq->req, ctx->chacha);
 	skcipher_request_set_crypt(&creq->req, src, dst,
@@ -451,6 +457,7 @@ static int chachapoly_encrypt(struct aead_request *req)
 	struct chachapoly_req_ctx *rctx = aead_request_ctx(req);
 
 	rctx->cryptlen = req->cryptlen;
+	rctx->flags = aead_request_flags(req);
 
 	/* encrypt call chain:
 	 * - chacha_encrypt/done()
@@ -472,6 +479,7 @@ static int chachapoly_decrypt(struct aead_request *req)
 	struct chachapoly_req_ctx *rctx = aead_request_ctx(req);
 
 	rctx->cryptlen = req->cryptlen - POLY1305_DIGEST_SIZE;
+	rctx->flags = aead_request_flags(req);
 
 	/* decrypt call chain:
 	 * - poly_genkey/done()
crypto/ghash-generic.c +7 -1
index 12ad3e3a84e3..73b56f2f44f1 100644
@@ -34,6 +34,7 @@ static int ghash_setkey(struct crypto_shash *tfm,
 			const u8 *key, unsigned int keylen)
 {
 	struct ghash_ctx *ctx = crypto_shash_ctx(tfm);
+	be128 k;
 
 	if (keylen != GHASH_BLOCK_SIZE) {
 		crypto_shash_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN);
@@ -42,7 +43,12 @@ static int ghash_setkey(struct crypto_shash *tfm,
 
 	if (ctx->gf128)
 		gf128mul_free_4k(ctx->gf128);
-	ctx->gf128 = gf128mul_init_4k_lle((be128 *)key);
+
+	BUILD_BUG_ON(sizeof(k) != GHASH_BLOCK_SIZE);
+	memcpy(&k, key, GHASH_BLOCK_SIZE); /* avoid violating alignment rules */
+	ctx->gf128 = gf128mul_init_4k_lle(&k);
+	memzero_explicit(&k, GHASH_BLOCK_SIZE);
+
 	if (!ctx->gf128)
 		return -ENOMEM;
 
crypto/serpent_generic.c +7 -1
index 7c3382facc82..600bd288881d 100644
@@ -229,7 +229,13 @@
 	x4 ^= x2;					\
 	})
 
-static void __serpent_setkey_sbox(u32 r0, u32 r1, u32 r2, u32 r3, u32 r4, u32 *k)
+/*
+ * both gcc and clang have misoptimized this function in the past,
+ * producing horrible object code from spilling temporary variables
+ * on the stack. Forcing this part out of line avoids that.
+ */
+static noinline void __serpent_setkey_sbox(u32 r0, u32 r1, u32 r2,
+					   u32 r3, u32 r4, u32 *k)
 {
 	k += 100;
 	S3(r3, r4, r0, r1, r2); store_and_load_keys(r1, r2, r4, r3, 28, 24);
drivers/android/binder.c +1 -1
index 1af9f36f89cf..e694fd2c4ed0 100644
@@ -2785,7 +2785,7 @@ static void binder_transaction(struct binder_proc *proc,
 			else
 				return_error = BR_DEAD_REPLY;
 			mutex_unlock(&context->context_mgr_node_lock);
-			if (target_node && target_proc == proc) {
+			if (target_node && target_proc->pid == proc->pid) {
 				binder_user_error("%d:%d got transaction to context manager from process owning it\n",
 						  proc->pid, thread->pid);
 				return_error = BR_FAILED_REPLY;
drivers/ata/libata-eh.c +5 -3
index 2651c81d1edf..c398be4b1797 100644
@@ -1535,7 +1535,7 @@ static int ata_eh_read_log_10h(struct ata_device *dev,
 	tf->hob_lbah = buf[10];
 	tf->nsect = buf[12];
 	tf->hob_nsect = buf[13];
-	if (ata_id_has_ncq_autosense(dev->id))
+	if (dev->class == ATA_DEV_ZAC && ata_id_has_ncq_autosense(dev->id))
 		tf->auxiliary = buf[14] << 16 | buf[15] << 8 | buf[16];
 
 	return 0;
@@ -1784,7 +1784,8 @@ void ata_eh_analyze_ncq_error(struct ata_link *link)
 	memcpy(&qc->result_tf, &tf, sizeof(tf));
 	qc->result_tf.flags = ATA_TFLAG_ISADDR | ATA_TFLAG_LBA | ATA_TFLAG_LBA48;
 	qc->err_mask |= AC_ERR_DEV | AC_ERR_NCQ;
-	if ((qc->result_tf.command & ATA_SENSE) || qc->result_tf.auxiliary) {
+	if (dev->class == ATA_DEV_ZAC &&
+	    ((qc->result_tf.command & ATA_SENSE) || qc->result_tf.auxiliary)) {
 		char sense_key, asc, ascq;
 
 		sense_key = (qc->result_tf.auxiliary >> 16) & 0xff;
@@ -1838,10 +1839,11 @@ static unsigned int ata_eh_analyze_tf(struct ata_queued_cmd *qc,
 	}
 
 	switch (qc->dev->class) {
-	case ATA_DEV_ATA:
 	case ATA_DEV_ZAC:
 		if (stat & ATA_SENSE)
 			ata_eh_request_sense(qc, qc->scsicmd);
+		/* fall through */
+	case ATA_DEV_ATA:
 		if (err & ATA_ICRC)
 			qc->err_mask |= AC_ERR_ATA_BUS;
 		if (err & (ATA_UNC | ATA_AMNF))
drivers/base/regmap/regmap.c +2 -0
index 8fd08023c0f5..013d0a2b3ba0 100644
@@ -1509,6 +1509,8 @@ int _regmap_raw_write(struct regmap *map, unsigned int reg,
 					     map->format.reg_bytes +
 					     map->format.pad_bytes,
 					     val, val_len);
+	else
+		ret = -ENOTSUPP;
 
 	/* If that didn't work fall back on linearising by hand. */
 	if (ret == -ENOTSUPP) {
drivers/block/floppy.c +32 -2
index 3ea9c3e9acb3..a9d1430fc5ee 100644
@@ -2114,6 +2114,9 @@ static void setup_format_params(int track)
 	raw_cmd->kernel_data = floppy_track_buffer;
 	raw_cmd->length = 4 * F_SECT_PER_TRACK;
 
+	if (!F_SECT_PER_TRACK)
+		return;
+
 	/* allow for about 30ms for data transport per track */
 	head_shift = (F_SECT_PER_TRACK + 5) / 6;
 
@@ -3236,8 +3239,12 @@ static int set_geometry(unsigned int cmd, struct floppy_struct *g,
 	int cnt;
 
 	/* sanity checking for parameters. */
-	if (g->sect <= 0 ||
-	    g->head <= 0 ||
+	if ((int)g->sect <= 0 ||
+	    (int)g->head <= 0 ||
+	    /* check for overflow in max_sector */
+	    (int)(g->sect * g->head) <= 0 ||
+	    /* check for zero in F_SECT_PER_TRACK */
+	    (unsigned char)((g->sect << 2) >> FD_SIZECODE(g)) == 0 ||
 	    g->track <= 0 || g->track > UDP->tracks >> STRETCH(g) ||
 	    /* check if reserved bits are set */
 	    (g->stretch & ~(FD_STRETCH | FD_SWAPSIDES | FD_SECTBASEMASK)) != 0)
@@ -3381,6 +3388,24 @@ static int fd_getgeo(struct block_device *bdev, struct hd_geometry *geo)
 	return 0;
 }
 
+static bool valid_floppy_drive_params(const short autodetect[8],
+		int native_format)
+{
+	size_t floppy_type_size = ARRAY_SIZE(floppy_type);
+	size_t i = 0;
+
+	for (i = 0; i < 8; ++i) {
+		if (autodetect[i] < 0 ||
+		    autodetect[i] >= floppy_type_size)
+			return false;
+	}
+
+	if (native_format < 0 || native_format >= floppy_type_size)
+		return false;
+
+	return true;
+}
+
 static int fd_locked_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd,
 		    unsigned long param)
 {
@@ -3507,6 +3532,9 @@ static int fd_locked_ioctl(struct block_device *bdev, fmode_t mode, unsigned int
 		SUPBOUND(size, strlen((const char *)outparam) + 1);
 		break;
 	case FDSETDRVPRM:
+		if (!valid_floppy_drive_params(inparam.dp.autodetect,
+				inparam.dp.native_format))
+			return -EINVAL;
 		*UDP = inparam.dp;
 		break;
 	case FDGETDRVPRM:
@@ -3704,6 +3732,8 @@ static int compat_setdrvprm(int drive,
 		return -EPERM;
 	if (copy_from_user(&v, arg, sizeof(struct compat_floppy_drive_params)))
 		return -EFAULT;
+	if (!valid_floppy_drive_params(v.autodetect, v.native_format))
+		return -EINVAL;
 	mutex_lock(&floppy_mutex);
 	UDP->cmos = v.cmos;
 	UDP->max_dtr = v.max_dtr;
drivers/bluetooth/hci_bcsp.c +5 -0
index d880f4e33c75..57a7f4255ac0 100644
@@ -757,6 +757,11 @@ static int bcsp_close(struct hci_uart *hu)
 	skb_queue_purge(&bcsp->rel);
 	skb_queue_purge(&bcsp->unrel);
 
+	if (bcsp->rx_skb) {
+		kfree_skb(bcsp->rx_skb);
+		bcsp->rx_skb = NULL;
+	}
+
 	kfree(bcsp);
 	return 0;
 }
drivers/char/hpet.c +1 -2
index 9dfb28b04559..05ca269ddd05 100644
@@ -570,8 +570,7 @@ static inline unsigned long hpet_time_div(struct hpets *hpets,
 	unsigned long long m;
 
 	m = hpets->hp_tick_freq + (dis >> 1);
-	do_div(m, dis);
-	return (unsigned long)m;
+	return div64_ul(m, dis);
 }
 
 static int
drivers/clocksource/exynos_mct.c +2 -2
index d55c30f6981d..aaf5bfa9bd9c 100644
@@ -211,7 +211,7 @@ static void exynos4_frc_resume(struct clocksource *cs)
 
 static struct clocksource mct_frc = {
 	.name		= "mct-frc",
-	.rating		= 400,
+	.rating		= 450,	/* use value higher than ARM arch timer */
 	.read		= exynos4_frc_read,
 	.mask		= CLOCKSOURCE_MASK(32),
 	.flags		= CLOCK_SOURCE_IS_CONTINUOUS,
@@ -466,7 +466,7 @@ static int exynos4_mct_starting_cpu(unsigned int cpu)
 	evt->set_state_oneshot_stopped = set_state_shutdown;
 	evt->tick_resume = set_state_shutdown;
 	evt->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT;
-	evt->rating = 450;
+	evt->rating = 500;	/* use value higher than ARM arch timer */
 
 	exynos4_mct_write(TICK_BASE_CNT, mevt->base + MCT_L_TCNTB_OFFSET);
 
drivers/crypto/amcc/crypto4xx_trng.c +0 -1
index 368c5599515e..a194ee0ddbb6 100644
@@ -111,7 +111,6 @@ void ppc4xx_trng_probe(struct crypto4xx_core_device *core_dev)
 	return;
 
 err_out:
-	of_node_put(trng);
 	iounmap(dev->trng_base);
 	kfree(rng);
 	dev->trng_base = NULL;
drivers/crypto/caam/caamalg.c +9 -6
index 63a21a6fc6cf..78feafcb7083 100644
@@ -853,6 +853,7 @@ static void ablkcipher_encrypt_done(struct device *jrdev, u32 *desc, u32 err,
 	struct ablkcipher_request *req = context;
 	struct ablkcipher_edesc *edesc;
 	struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req);
+	struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher);
 	int ivsize = crypto_ablkcipher_ivsize(ablkcipher);
 
 #ifdef DEBUG
@@ -877,10 +878,11 @@ static void ablkcipher_encrypt_done(struct device *jrdev, u32 *desc, u32 err,
 
 	/*
 	 * The crypto API expects us to set the IV (req->info) to the last
-	 * ciphertext block. This is used e.g. by the CTS mode.
+	 * ciphertext block when running in CBC mode.
 	 */
-	scatterwalk_map_and_copy(req->info, req->dst, req->nbytes - ivsize,
-				 ivsize, 0);
+	if ((ctx->cdata.algtype & OP_ALG_AAI_MASK) == OP_ALG_AAI_CBC)
+		scatterwalk_map_and_copy(req->info, req->dst, req->nbytes -
+					 ivsize, ivsize, 0);
 
 	/* In case initial IV was generated, copy it in GIVCIPHER request */
 	if (edesc->iv_dir == DMA_FROM_DEVICE) {
@@ -1609,10 +1611,11 @@ static int ablkcipher_decrypt(struct ablkcipher_request *req)
 
 	/*
 	 * The crypto API expects us to set the IV (req->info) to the last
-	 * ciphertext block.
+	 * ciphertext block when running in CBC mode.
 	 */
-	scatterwalk_map_and_copy(req->info, req->src, req->nbytes - ivsize,
-				 ivsize, 0);
+	if ((ctx->cdata.algtype & OP_ALG_AAI_MASK) == OP_ALG_AAI_CBC)
+		scatterwalk_map_and_copy(req->info, req->src, req->nbytes -
+					 ivsize, ivsize, 0);
 
 	/* Create and submit job descriptor*/
 	init_ablkcipher_job(ctx->sh_desc_dec, ctx->sh_desc_dec_dma, edesc, req);
drivers/crypto/ccp/ccp-dev.c +51 -45

107 lines not on this page · raw message

drivers/crypto/ccp/ccp-dev.h +1 -1
index 6810b65c1939..7442b0422f8a 100644
@@ -632,7 +632,7 @@ struct ccp5_desc {
 void ccp_add_device(struct ccp_device *ccp);
 void ccp_del_device(struct ccp_device *ccp);
 
-extern void ccp_log_error(struct ccp_device *, int);
+extern void ccp_log_error(struct ccp_device *, unsigned int);
 
 struct ccp_device *ccp_alloc_struct(struct sp_device *sp);
 bool ccp_queues_suspended(struct ccp_device *ccp);
drivers/crypto/ccp/ccp-ops.c +13 -2
index 406b95329b3d..73e49840305b 100644
@@ -612,6 +612,7 @@ static int ccp_run_aes_gcm_cmd(struct ccp_cmd_queue *cmd_q,
 
 	unsigned long long *final;
 	unsigned int dm_offset;
+	unsigned int jobid;
 	unsigned int ilen;
 	bool in_place = true; /* Default value */
 	int ret;
@@ -650,9 +651,11 @@ static int ccp_run_aes_gcm_cmd(struct ccp_cmd_queue *cmd_q,
 		p_tag = scatterwalk_ffwd(sg_tag, p_inp, ilen);
 	}
 
+	jobid = CCP_NEW_JOBID(cmd_q->ccp);
+
 	memset(&op, 0, sizeof(op));
 	op.cmd_q = cmd_q;
-	op.jobid = CCP_NEW_JOBID(cmd_q->ccp);
+	op.jobid = jobid;
 	op.sb_key = cmd_q->sb_key; /* Pre-allocated */
 	op.sb_ctx = cmd_q->sb_ctx; /* Pre-allocated */
 	op.init = 1;
@@ -797,6 +800,13 @@ static int ccp_run_aes_gcm_cmd(struct ccp_cmd_queue *cmd_q,
 	final[0] = cpu_to_be64(aes->aad_len * 8);
 	final[1] = cpu_to_be64(ilen * 8);
 
+	memset(&op, 0, sizeof(op));
+	op.cmd_q = cmd_q;
+	op.jobid = jobid;
+	op.sb_key = cmd_q->sb_key; /* Pre-allocated */
+	op.sb_ctx = cmd_q->sb_ctx; /* Pre-allocated */
+	op.init = 1;
+	op.u.aes.type = aes->type;
 	op.u.aes.mode = CCP_AES_MODE_GHASH;
 	op.u.aes.action = CCP_AES_GHASHFINAL;
 	op.src.type = CCP_MEMTYPE_SYSTEM;
@@ -822,7 +832,8 @@ static int ccp_run_aes_gcm_cmd(struct ccp_cmd_queue *cmd_q,
 			goto e_tag;
 		ccp_set_dm_area(&tag, 0, p_tag, 0, AES_BLOCK_SIZE);
 
-		ret = memcmp(tag.address, final_wa.address, AES_BLOCK_SIZE);
+		ret = crypto_memneq(tag.address, final_wa.address,
+				    AES_BLOCK_SIZE) ? -EBADMSG : 0;
 		ccp_dm_free(&tag);
 	}
 
drivers/crypto/talitos.c +23 -12
index 1f8fe1795964..a0cd4f6085d0 100644
@@ -984,7 +984,6 @@ static void ipsec_esp_encrypt_done(struct device *dev,
 	struct crypto_aead *authenc = crypto_aead_reqtfm(areq);
 	unsigned int authsize = crypto_aead_authsize(authenc);
 	struct talitos_edesc *edesc;
-	struct scatterlist *sg;
 	void *icvdata;
 
 	edesc = container_of(desc, struct talitos_edesc, desc);
@@ -998,9 +997,8 @@ static void ipsec_esp_encrypt_done(struct device *dev,
 		else
 			icvdata = &edesc->link_tbl[edesc->src_nents +
 						   edesc->dst_nents + 2];
-		sg = sg_last(areq->dst, edesc->dst_nents);
-		memcpy((char *)sg_virt(sg) + sg->length - authsize,
-		       icvdata, authsize);
+		sg_pcopy_from_buffer(areq->dst, edesc->dst_nents ? : 1, icvdata,
+				     authsize, areq->assoclen + areq->cryptlen);
 	}
 
 	kfree(edesc);
@@ -1016,7 +1014,6 @@ static void ipsec_esp_decrypt_swauth_done(struct device *dev,
 	struct crypto_aead *authenc = crypto_aead_reqtfm(req);
 	unsigned int authsize = crypto_aead_authsize(authenc);
 	struct talitos_edesc *edesc;
-	struct scatterlist *sg;
 	char *oicv, *icv;
 	struct talitos_private *priv = dev_get_drvdata(dev);
 	bool is_sec1 = has_ftr_sec1(priv);
@@ -1026,9 +1023,18 @@ static void ipsec_esp_decrypt_swauth_done(struct device *dev,
 	ipsec_esp_unmap(dev, edesc, req);
 
 	if (!err) {
+		char icvdata[SHA512_DIGEST_SIZE];
+		int nents = edesc->dst_nents ? : 1;
+		unsigned int len = req->assoclen + req->cryptlen;
+
 		/* auth check */
-		sg = sg_last(req->dst, edesc->dst_nents ? : 1);
-		icv = (char *)sg_virt(sg) + sg->length - authsize;
+		if (nents > 1) {
+			sg_pcopy_to_buffer(req->dst, nents, icvdata, authsize,
+					   len - authsize);
+			icv = icvdata;
+		} else {
+			icv = (char *)sg_virt(req->dst) + len - authsize;
+		}
 
 		if (edesc->dma_len) {
 			if (is_sec1)
@@ -1458,7 +1464,6 @@ static int aead_decrypt(struct aead_request *req)
 	struct talitos_ctx *ctx = crypto_aead_ctx(authenc);
 	struct talitos_private *priv = dev_get_drvdata(ctx->dev);
 	struct talitos_edesc *edesc;
-	struct scatterlist *sg;
 	void *icvdata;
 
 	req->cryptlen -= authsize;
@@ -1493,9 +1498,8 @@ static int aead_decrypt(struct aead_request *req)
 	else
 		icvdata = &edesc->link_tbl[0];
 
-	sg = sg_last(req->src, edesc->src_nents ? : 1);
-
-	memcpy(icvdata, (char *)sg_virt(sg) + sg->length - authsize, authsize);
+	sg_pcopy_to_buffer(req->src, edesc->src_nents ? : 1, icvdata, authsize,
+			   req->assoclen + req->cryptlen - authsize);
 
 	return ipsec_esp(edesc, req, ipsec_esp_decrypt_swauth_done);
 }
@@ -1544,11 +1548,15 @@ static void ablkcipher_done(struct device *dev,
 			    int err)
 {
 	struct ablkcipher_request *areq = context;
+	struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq);
+	struct talitos_ctx *ctx = crypto_ablkcipher_ctx(cipher);
+	unsigned int ivsize = crypto_ablkcipher_ivsize(cipher);
 	struct talitos_edesc *edesc;
 
 	edesc = container_of(desc, struct talitos_edesc, desc);
 
 	common_nonsnoop_unmap(dev, edesc, areq);
+	memcpy(areq->info, ctx->iv, ivsize);
 
 	kfree(edesc);
 
@@ -3111,7 +3119,10 @@ static struct talitos_crypto_alg *talitos_alg_alloc(struct device *dev,
 		alg->cra_priority = t_alg->algt.priority;
 	else
 		alg->cra_priority = TALITOS_CRA_PRIORITY;
-	alg->cra_alignmask = 0;
+	if (has_ftr_sec1(priv))
+		alg->cra_alignmask = 3;
+	else
+		alg->cra_alignmask = 0;
 	alg->cra_ctxsize = sizeof(struct talitos_ctx);
 	alg->cra_flags |= CRYPTO_ALG_KERN_DRIVER_ONLY;
 
drivers/dma-buf/dma-buf.c +1 -0
index bc1cb284111c..1195a3d2e67c 100644
@@ -1115,6 +1115,7 @@ static int dma_buf_debug_show(struct seq_file *s, void *unused)
 				   fence->ops->get_driver_name(fence),
 				   fence->ops->get_timeline_name(fence),
 				   dma_fence_is_signaled(fence) ? "" : "un");
+			dma_fence_put(fence);
 		}
 		rcu_read_unlock();
 
drivers/dma-buf/reservation.c +4 -0
index 012fa3d1f407..afc66141066d 100644
@@ -394,6 +394,10 @@ int reservation_object_get_fences_rcu(struct reservation_object *obj,
 					   GFP_NOWAIT | __GFP_NOWARN);
 			if (!nshared) {
 				rcu_read_unlock();
+
+				dma_fence_put(fence_excl);
+				fence_excl = NULL;
+
 				nshared = krealloc(shared, sz, GFP_KERNEL);
 				if (nshared) {
 					shared = nshared;
drivers/dma/imx-sdma.c +27 -21

60 lines not on this page · raw message

drivers/edac/edac_mc_sysfs.c +15 -9
index 79c13301bf41..a4acfa81dfe0 100644
@@ -26,7 +26,7 @@
 static int edac_mc_log_ue = 1;
 static int edac_mc_log_ce = 1;
 static int edac_mc_panic_on_ue;
-static int edac_mc_poll_msec = 1000;
+static unsigned int edac_mc_poll_msec = 1000;
 
 /* Getter functions for above */
 int edac_mc_get_log_ue(void)
@@ -45,30 +45,30 @@ int edac_mc_get_panic_on_ue(void)
 }
 
 /* this is temporary */
-int edac_mc_get_poll_msec(void)
+unsigned int edac_mc_get_poll_msec(void)
 {
 	return edac_mc_poll_msec;
 }
 
 static int edac_set_poll_msec(const char *val, struct kernel_param *kp)
 {
-	unsigned long l;
+	unsigned int i;
 	int ret;
 
 	if (!val)
 		return -EINVAL;
 
-	ret = kstrtoul(val, 0, &l);
+	ret = kstrtouint(val, 0, &i);
 	if (ret)
 		return ret;
 
-	if (l < 1000)
+	if (i < 1000)
 		return -EINVAL;
 
-	*((unsigned long *)kp->arg) = l;
+	*((unsigned int *)kp->arg) = i;
 
 	/* notify edac_mc engine to reset the poll period */
-	edac_mc_reset_delay_period(l);
+	edac_mc_reset_delay_period(i);
 
 	return 0;
 }
@@ -82,7 +82,7 @@ MODULE_PARM_DESC(edac_mc_log_ue,
 module_param(edac_mc_log_ce, int, 0644);
 MODULE_PARM_DESC(edac_mc_log_ce,
 		 "Log correctable error to console: 0=off 1=on");
-module_param_call(edac_mc_poll_msec, edac_set_poll_msec, param_get_int,
+module_param_call(edac_mc_poll_msec, edac_set_poll_msec, param_get_uint,
 		  &edac_mc_poll_msec, 0644);
 MODULE_PARM_DESC(edac_mc_poll_msec, "Polling period in milliseconds");
 
@@ -426,6 +426,8 @@ static inline int nr_pages_per_csrow(struct csrow_info *csrow)
 static int edac_create_csrow_object(struct mem_ctl_info *mci,
 				    struct csrow_info *csrow, int index)
 {
+	int err;
+
 	csrow->dev.type = &csrow_attr_type;
 	csrow->dev.bus = mci->bus;
 	csrow->dev.groups = csrow_dev_groups;
@@ -438,7 +440,11 @@ static int edac_create_csrow_object(struct mem_ctl_info *mci,
 	edac_dbg(0, "creating (virtual) csrow node %s\n",
 		 dev_name(&csrow->dev));
 
-	return device_add(&csrow->dev);
+	err = device_add(&csrow->dev);
+	if (err)
+		put_device(&csrow->dev);
+
+	return err;
 }
 
 /* Create a CSROW object under specifed edac_mc_device */
drivers/edac/edac_module.h +1 -1
index dec88dcea036..c9f0e73872a6 100644
@@ -36,7 +36,7 @@ extern int edac_mc_get_log_ue(void);
 extern int edac_mc_get_log_ce(void);
 extern int edac_mc_get_panic_on_ue(void);
 extern int edac_get_poll_msec(void);
-extern int edac_mc_get_poll_msec(void);
+extern unsigned int edac_mc_get_poll_msec(void);
 
 unsigned edac_dimm_info_location(struct dimm_info *dimm, char *buf,
 				 unsigned len);
drivers/fpga/Kconfig +1 -0
index ad5448f718b3..57c41cefd454 100644
@@ -34,6 +34,7 @@ config FPGA_MGR_ALTERA_CVP
 config FPGA_MGR_ALTERA_PS_SPI
 	tristate "Altera FPGA Passive Serial over SPI"
 	depends on SPI
+	select BITREVERSE
 	help
 	  FPGA manager driver support for Altera Arria/Cyclone/Stratix
 	  using the passive serial interface over SPI.
drivers/gpio/gpio-omap.c +10 -7
index 83c6843db50c..47e537a91dd8 100644
@@ -790,9 +790,9 @@ static void omap_gpio_irq_shutdown(struct irq_data *d)
 
 	raw_spin_lock_irqsave(&bank->lock, flags);
 	bank->irq_usage &= ~(BIT(offset));
-	omap_set_gpio_irqenable(bank, offset, 0);
-	omap_clear_gpio_irqstatus(bank, offset);
 	omap_set_gpio_triggering(bank, offset, IRQ_TYPE_NONE);
+	omap_clear_gpio_irqstatus(bank, offset);
+	omap_set_gpio_irqenable(bank, offset, 0);
 	if (!LINE_USED(bank->mod_usage, offset))
 		omap_clear_gpio_debounce(bank, offset);
 	omap_disable_gpio_module(bank, offset);
@@ -834,8 +834,8 @@ static void omap_gpio_mask_irq(struct irq_data *d)
 	unsigned long flags;
 
 	raw_spin_lock_irqsave(&bank->lock, flags);
-	omap_set_gpio_irqenable(bank, offset, 0);
 	omap_set_gpio_triggering(bank, offset, IRQ_TYPE_NONE);
+	omap_set_gpio_irqenable(bank, offset, 0);
 	raw_spin_unlock_irqrestore(&bank->lock, flags);
 }
 
@@ -847,9 +847,6 @@ static void omap_gpio_unmask_irq(struct irq_data *d)
 	unsigned long flags;
 
 	raw_spin_lock_irqsave(&bank->lock, flags);
-	if (trigger)
-		omap_set_gpio_triggering(bank, offset, trigger);
-
 	omap_set_gpio_irqenable(bank, offset, 1);
 
 	/*
@@ -857,9 +854,13 @@ static void omap_gpio_unmask_irq(struct irq_data *d)
 	 * is cleared, thus after the handler has run. OMAP4 needs this done
 	 * after enabing the interrupt to clear the wakeup status.
 	 */
-	if (bank->level_mask & BIT(offset))
+	if (bank->regs->leveldetect0 && bank->regs->wkup_en &&
+	    trigger & (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_LEVEL_LOW))
 		omap_clear_gpio_irqstatus(bank, offset);
 
+	if (trigger)
+		omap_set_gpio_triggering(bank, offset, trigger);
+
 	raw_spin_unlock_irqrestore(&bank->lock, flags);
 }
 
@@ -1604,6 +1605,8 @@ static struct omap_gpio_reg_offs omap4_gpio_regs = {
 	.clr_dataout =		OMAP4_GPIO_CLEARDATAOUT,
 	.irqstatus =		OMAP4_GPIO_IRQSTATUS0,
 	.irqstatus2 =		OMAP4_GPIO_IRQSTATUS1,
+	.irqstatus_raw0 =	OMAP4_GPIO_IRQSTATUSRAW0,
+	.irqstatus_raw1 =	OMAP4_GPIO_IRQSTATUSRAW1,
 	.irqenable =		OMAP4_GPIO_IRQSTATUSSET0,
 	.irqenable2 =		OMAP4_GPIO_IRQSTATUSSET1,
 	.set_irqenable =	OMAP4_GPIO_IRQSTATUSSET0,
drivers/gpio/gpiolib.c +3 -3
index 21062cb6b85f..3db0a9b0d259 100644
@@ -2480,7 +2480,7 @@ static int _gpiod_get_raw_value(const struct gpio_desc *desc)
 int gpiod_get_raw_value(const struct gpio_desc *desc)
 {
 	VALIDATE_DESC(desc);
-	/* Should be using gpio_get_value_cansleep() */
+	/* Should be using gpiod_get_raw_value_cansleep() */
 	WARN_ON(desc->gdev->chip->can_sleep);
 	return _gpiod_get_raw_value(desc);
 }
@@ -2501,7 +2501,7 @@ int gpiod_get_value(const struct gpio_desc *desc)
 	int value;
 
 	VALIDATE_DESC(desc);
-	/* Should be using gpio_get_value_cansleep() */
+	/* Should be using gpiod_get_value_cansleep() */
 	WARN_ON(desc->gdev->chip->can_sleep);
 
 	value = _gpiod_get_raw_value(desc);
@@ -2670,7 +2670,7 @@ void gpiod_set_array_value_complex(bool raw, bool can_sleep,
 void gpiod_set_raw_value(struct gpio_desc *desc, int value)
 {
 	VALIDATE_DESC_VOID(desc);
-	/* Should be using gpiod_set_value_cansleep() */
+	/* Should be using gpiod_set_raw_value_cansleep() */
 	WARN_ON(desc->gdev->chip->can_sleep);
 	_gpiod_set_raw_value(desc, value);
 }
drivers/gpu/drm/bridge/sii902x.c +3 -2
index 60373d7eb220..109ab4c3df50 100644
@@ -261,10 +261,11 @@ static void sii902x_bridge_mode_set(struct drm_bridge *bridge,
 	struct regmap *regmap = sii902x->regmap;
 	u8 buf[HDMI_INFOFRAME_SIZE(AVI)];
 	struct hdmi_avi_infoframe frame;
+	u16 pixel_clock_10kHz = adj->clock / 10;
 	int ret;
 
-	buf[0] = adj->clock;
-	buf[1] = adj->clock >> 8;
+	buf[0] = pixel_clock_10kHz & 0xff;
+	buf[1] = pixel_clock_10kHz >> 8;
 	buf[2] = adj->vrefresh;
 	buf[3] = 0x00;
 	buf[4] = adj->hdisplay;
drivers/gpu/drm/bridge/tc358767.c +7 -0
index 6eebd8ad0c52..9705ca197b90 100644
@@ -1147,6 +1147,13 @@ static int tc_connector_get_modes(struct drm_connector *connector)
 	struct tc_data *tc = connector_to_tc(connector);
 	struct edid *edid;
 	unsigned int count;
+	int ret;
+
+	ret = tc_get_display_props(tc);
+	if (ret < 0) {
+		dev_err(tc->dev, "failed to read display props: %d\n", ret);
+		return 0;
+	}
 
 	if (tc->panel && tc->panel->funcs && tc->panel->funcs->get_modes) {
 		count = tc->panel->funcs->get_modes(tc->panel);
drivers/gpu/drm/drm_debugfs_crc.c +13 -5
index f9e26dda56d6..2901b7944068 100644
@@ -139,6 +139,7 @@ static int crtc_crc_data_count(struct drm_crtc_crc *crc)
 static void crtc_crc_cleanup(struct drm_crtc_crc *crc)
 {
 	kfree(crc->entries);
+	crc->overflow = false;
 	crc->entries = NULL;
 	crc->head = 0;
 	crc->tail = 0;
@@ -359,12 +360,13 @@ int drm_crtc_add_crc_entry(struct drm_crtc *crtc, bool has_frame,
 	struct drm_crtc_crc *crc = &crtc->crc;
 	struct drm_crtc_crc_entry *entry;
 	int head, tail;
+	unsigned long flags;
 
-	spin_lock(&crc->lock);
+	spin_lock_irqsave(&crc->lock, flags);
 
 	/* Caller may not have noticed yet that userspace has stopped reading */
 	if (!crc->entries) {
-		spin_unlock(&crc->lock);
+		spin_unlock_irqrestore(&crc->lock, flags);
 		return -EINVAL;
 	}
 
@@ -372,8 +374,14 @@ int drm_crtc_add_crc_entry(struct drm_crtc *crtc, bool has_frame,
 	tail = crc->tail;
 
 	if (CIRC_SPACE(head, tail, DRM_CRC_ENTRIES_NR) < 1) {
-		spin_unlock(&crc->lock);
-		DRM_ERROR("Overflow of CRC buffer, userspace reads too slow.\n");
+		bool was_overflow = crc->overflow;
+
+		crc->overflow = true;
+		spin_unlock_irqrestore(&crc->lock, flags);
+
+		if (!was_overflow)
+			DRM_ERROR("Overflow of CRC buffer, userspace reads too slow.\n");
+
 		return -ENOBUFS;
 	}
 
@@ -385,7 +393,7 @@ int drm_crtc_add_crc_entry(struct drm_crtc *crtc, bool has_frame,
 	head = (head + 1) & (DRM_CRC_ENTRIES_NR - 1);
 	crc->head = head;
 
-	spin_unlock(&crc->lock);
+	spin_unlock_irqrestore(&crc->lock, flags);
 
 	wake_up_interruptible(&crc->wq);
 
drivers/gpu/drm/drm_edid_load.c +2 -0
index 1c0495acf341..06656acea420 100644
@@ -274,6 +274,8 @@ struct edid *drm_load_edid_firmware(struct drm_connector *connector)
 	 * the last one found one as a fallback.
 	 */
 	fwstr = kstrdup(edid_firmware, GFP_KERNEL);
+	if (!fwstr)
+		return ERR_PTR(-ENOMEM);
 	edidstr = fwstr;
 
 	while ((edidname = strsep(&edidstr, ","))) {
drivers/gpu/drm/msm/msm_drv.c +11 -3
index 606df7bea97b..b970427e53a7 100644
@@ -1097,16 +1097,24 @@ static int msm_pdev_probe(struct platform_device *pdev)
 
 	ret = add_gpu_components(&pdev->dev, &match);
 	if (ret)
-		return ret;
+		goto fail;
 
 	/* on all devices that I am aware of, iommu's which can map
 	 * any address the cpu can see are used:
 	 */
 	ret = dma_set_mask_and_coherent(&pdev->dev, ~0);
 	if (ret)
-		return ret;
+		goto fail;
+
+	ret = component_master_add_with_match(&pdev->dev, &msm_drm_ops, match);
+	if (ret)
+		goto fail;
+
+	return 0;
 
-	return component_master_add_with_match(&pdev->dev, &msm_drm_ops, match);
+fail:
+	of_platform_depopulate(&pdev->dev);
+	return ret;
 }
 
 static int msm_pdev_remove(struct platform_device *pdev)
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c +20 -0
index ecacb22834d7..719345074711 100644
@@ -184,6 +184,25 @@ nvkm_i2c_fini(struct nvkm_subdev *subdev, bool suspend)
 	return 0;
 }
 
+static int
+nvkm_i2c_preinit(struct nvkm_subdev *subdev)
+{
+	struct nvkm_i2c *i2c = nvkm_i2c(subdev);
+	struct nvkm_i2c_bus *bus;
+	struct nvkm_i2c_pad *pad;
+
+	/*
+	 * We init our i2c busses as early as possible, since they may be
+	 * needed by the vbios init scripts on some cards
+	 */
+	list_for_each_entry(pad, &i2c->pad, head)
+		nvkm_i2c_pad_init(pad);
+	list_for_each_entry(bus, &i2c->bus, head)
+		nvkm_i2c_bus_init(bus);
+
+	return 0;
+}
+
 static int
 nvkm_i2c_init(struct nvkm_subdev *subdev)
 {
@@ -238,6 +257,7 @@ nvkm_i2c_dtor(struct nvkm_subdev *subdev)
 static const struct nvkm_subdev_func
 nvkm_i2c = {
 	.dtor = nvkm_i2c_dtor,
+	.preinit = nvkm_i2c_preinit,
 	.init = nvkm_i2c_init,
 	.fini = nvkm_i2c_fini,
 	.intr = nvkm_i2c_intr,
drivers/gpu/drm/panel/panel-simple.c +8 -1
index fc56d033febe..7a0fd4e4e78d 100644
@@ -2371,7 +2371,14 @@ static int panel_simple_dsi_probe(struct mipi_dsi_device *dsi)
 	dsi->format = desc->format;
 	dsi->lanes = desc->lanes;
 
-	return mipi_dsi_attach(dsi);
+	err = mipi_dsi_attach(dsi);
+	if (err) {
+		struct panel_simple *panel = dev_get_drvdata(&dsi->dev);
+
+		drm_panel_remove(&panel->base);
+	}
+
+	return err;
 }
 
 static int panel_simple_dsi_remove(struct mipi_dsi_device *dsi)
drivers/gpu/drm/rockchip/rockchip_drm_vop.c +2 -1
index f1fa8d5c9b52..7010424b2f89 100644
@@ -861,7 +861,8 @@ static bool vop_crtc_mode_fixup(struct drm_crtc *crtc,
 	struct vop *vop = to_vop(crtc);
 
 	adjusted_mode->clock =
-		clk_round_rate(vop->dclk, mode->clock * 1000) / 1000;
+		DIV_ROUND_UP(clk_round_rate(vop->dclk, mode->clock * 1000),
+			     1000);
 
 	return true;
 }
drivers/gpu/drm/virtio/virtgpu_ioctl.c +3 -0
index ed9c443bb8a1..40cc2f6707cf 100644
@@ -523,6 +523,9 @@ static int virtio_gpu_get_caps_ioctl(struct drm_device *dev,
 	ret = wait_event_timeout(vgdev->resp_wq,
 				 atomic_read(&cache_ent->is_valid), 5 * HZ);
 
+	/* is_valid check must proceed before copy of the cache entry. */
+	smp_rmb();
+
 	ptr = cache_ent->caps_cache;
 
 copy_exit:
drivers/gpu/drm/virtio/virtgpu_vq.c +2 -0
index 26a2da1f712d..21c2de81f3e3 100644
@@ -585,6 +585,8 @@ static void virtio_gpu_cmd_capset_cb(struct virtio_gpu_device *vgdev,
 		    cache_ent->id == le32_to_cpu(cmd->capset_id)) {
 			memcpy(cache_ent->caps_cache, resp->capset_data,
 			       cache_ent->size);
+			/* Copy must occur before is_valid is signalled. */
+			smp_wmb();
 			atomic_set(&cache_ent->is_valid, 1);
 			break;
 		}
drivers/gpu/ipu-v3/ipu-ic.c +1 -1
index 321eb983c2f5..65d7daf944b0 100644
@@ -256,7 +256,7 @@ static int init_csc(struct ipu_ic *ic,
 	writel(param, base++);
 
 	param = ((a[0] & 0x1fe0) >> 5) | (params->scale << 8) |
-		(params->sat << 9);
+		(params->sat << 10);
 	writel(param, base++);
 
 	param = ((a[1] & 0x1f) << 27) | ((c[0][1] & 0x1ff) << 18) |
drivers/hid/wacom_sys.c +3 -0
index 18d5b99d13f1..ee87f11e8cd5 100644
@@ -118,6 +118,9 @@ static void wacom_feature_mapping(struct hid_device *hdev,
 	u32 n;
 
 	switch (equivalent_usage) {
+	case WACOM_HID_WD_TOUCH_RING_SETTING:
+		wacom->generic_has_leds = true;
+		break;
 	case HID_DG_CONTACTMAX:
 		/* leave touch_max as is if predefined */
 		if (!features->touch_max) {
drivers/hid/wacom_wac.c +1 -3
index b42bb955f22d..c2fb08bba296 100644
@@ -1871,8 +1871,6 @@ static void wacom_wac_pad_usage_mapping(struct hid_device *hdev,
 		features->device_type |= WACOM_DEVICETYPE_PAD;
 		break;
 	case WACOM_HID_WD_BUTTONCENTER:
-		wacom->generic_has_leds = true;
-		/* fall through */
 	case WACOM_HID_WD_BUTTONHOME:
 	case WACOM_HID_WD_BUTTONUP:
 	case WACOM_HID_WD_BUTTONDOWN:
@@ -3552,7 +3550,7 @@ int wacom_setup_touch_input_capabilities(struct input_dev *input_dev,
 					     0, 5920, 4, 0);
 		}
 		input_abs_set_res(input_dev, ABS_MT_POSITION_X, 40);
-		input_abs_set_res(input_dev, ABS_MT_POSITION_X, 40);
+		input_abs_set_res(input_dev, ABS_MT_POSITION_Y, 40);
 
 		/* fall through */
 
drivers/hid/wacom_wac.h +1 -0
index feb62fd4dfc3..d2fe7af2c152 100644
@@ -140,6 +140,7 @@
 #define WACOM_HID_WD_OFFSETBOTTOM       (WACOM_HID_UP_WACOMDIGITIZER | 0x0d33)
 #define WACOM_HID_WD_DATAMODE           (WACOM_HID_UP_WACOMDIGITIZER | 0x1002)
 #define WACOM_HID_WD_DIGITIZERINFO      (WACOM_HID_UP_WACOMDIGITIZER | 0x1013)
+#define WACOM_HID_WD_TOUCH_RING_SETTING (WACOM_HID_UP_WACOMDIGITIZER | 0x1032)
 #define WACOM_HID_UP_G9                 0xff090000
 #define WACOM_HID_G9_PEN                (WACOM_HID_UP_G9 | 0x02)
 #define WACOM_HID_G9_TOUCHSCREEN        (WACOM_HID_UP_G9 | 0x11)
drivers/hwtracing/intel_th/msu.c +1 -1
index 36016c09dd96..6ebf6a2edb33 100644
@@ -640,7 +640,7 @@ static int msc_buffer_contig_alloc(struct msc *msc, unsigned long size)
 		goto err_out;
 
 	ret = -ENOMEM;
-	page = alloc_pages(GFP_KERNEL | __GFP_ZERO, order);
+	page = alloc_pages(GFP_KERNEL | __GFP_ZERO | GFP_DMA32, order);
 	if (!page)
 		goto err_free_sgt;
 
drivers/hwtracing/intel_th/pci.c +5 -0
index eb8444faa14e..c001a37b7055 100644
@@ -178,6 +178,11 @@ static const struct pci_device_id intel_th_pci_id_table[] = {
 		PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x02a6),
 		.driver_data = (kernel_ulong_t)&intel_th_2x,
 	},
+	{
+		/* Ice Lake NNPI */
+		PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x45c5),
+		.driver_data = (kernel_ulong_t)&intel_th_2x,
+	},
 	{ 0 },
 };
 
drivers/infiniband/hw/i40iw/i40iw_verbs.c +2 -0
index c1021b4afb41..57bfe4808247 100644
@@ -821,6 +821,8 @@ static int i40iw_query_qp(struct ib_qp *ibqp,
 	struct i40iw_qp *iwqp = to_iwqp(ibqp);
 	struct i40iw_sc_qp *qp = &iwqp->sc_qp;
 
+	attr->qp_state = iwqp->ibqp_state;
+	attr->cur_qp_state = attr->qp_state;
 	attr->qp_access_flags = 0;
 	attr->cap.max_send_wr = qp->qp_uk.sq_size;
 	attr->cap.max_recv_wr = qp->qp_uk.rq_size;
drivers/infiniband/sw/rxe/rxe_resp.c +4 -1
index 74328561bee2..9207682b7a2e 100644
@@ -435,6 +435,7 @@ static enum resp_states check_rkey(struct rxe_qp *qp,
 			qp->resp.va = reth_va(pkt);
 			qp->resp.rkey = reth_rkey(pkt);
 			qp->resp.resid = reth_len(pkt);
+			qp->resp.length = reth_len(pkt);
 		}
 		access = (pkt->mask & RXE_READ_MASK) ? IB_ACCESS_REMOTE_READ
 						     : IB_ACCESS_REMOTE_WRITE;
@@ -860,7 +861,9 @@ static enum resp_states do_complete(struct rxe_qp *qp,
 				pkt->mask & RXE_WRITE_MASK) ?
 					IB_WC_RECV_RDMA_WITH_IMM : IB_WC_RECV;
 		wc->vendor_err = 0;
-		wc->byte_len = wqe->dma.length - wqe->dma.resid;
+		wc->byte_len = (pkt->mask & RXE_IMMDT_MASK &&
+				pkt->mask & RXE_WRITE_MASK) ?
+					qp->resp.length : wqe->dma.length - wqe->dma.resid;
 
 		/* fields after byte_len are different between kernel and user
 		 * space
drivers/infiniband/sw/rxe/rxe_verbs.h +1 -0
index 59f6a24db064..b2b76a316eba 100644
@@ -214,6 +214,7 @@ struct rxe_resp_info {
 	struct rxe_mem		*mr;
 	u32			resid;
 	u32			rkey;
+	u32			length;
 	u64			atomic_orig;
 
 	/* SRQ only */
drivers/infiniband/ulp/ipoib/ipoib_main.c +1 -0
index e6ff16b27acd..1a93d3d58c8a 100644
@@ -1833,6 +1833,7 @@ static int ipoib_get_vf_config(struct net_device *dev, int vf,
 		return err;
 
 	ivf->vf = vf;
+	memcpy(ivf->mac, dev->dev_addr, dev->addr_len);
 
 	return 0;
 }
drivers/input/mouse/alps.c +32 -0
index 9a234da8cac2..21bb1ed97f9f 100644
@@ -24,6 +24,7 @@
 
 #include "psmouse.h"
 #include "alps.h"
+#include "trackpoint.h"
 
 /*
  * Definitions for ALPS version 3 and 4 command mode protocol
@@ -2860,6 +2861,23 @@ static const struct alps_protocol_info *alps_match_table(unsigned char *e7,
 	return NULL;
 }
 
+static bool alps_is_cs19_trackpoint(struct psmouse *psmouse)
+{
+	u8 param[2] = { 0 };
+
+	if (ps2_command(&psmouse->ps2dev,
+			param, MAKE_PS2_CMD(0, 2, TP_READ_ID)))
+		return false;
+
+	/*
+	 * param[0] contains the trackpoint device variant_id while
+	 * param[1] contains the firmware_id. So far all alps
+	 * trackpoint-only devices have their variant_ids equal
+	 * TP_VARIANT_ALPS and their firmware_ids are in 0x20~0x2f range.
+	 */
+	return param[0] == TP_VARIANT_ALPS && ((param[1] & 0xf0) == 0x20);
+}
+
 static int alps_identify(struct psmouse *psmouse, struct alps_data *priv)
 {
 	const struct alps_protocol_info *protocol;
@@ -3160,6 +3178,20 @@ int alps_detect(struct psmouse *psmouse, bool set_properties)
 	if (error)
 		return error;
 
+	/*
+	 * ALPS cs19 is a trackpoint-only device, and uses different
+	 * protocol than DualPoint ones, so we return -EINVAL here and let
+	 * trackpoint.c drive this device. If the trackpoint driver is not
+	 * enabled, the device will fall back to a bare PS/2 mouse.
+	 * If ps2_command() fails here, we depend on the immediately
+	 * followed psmouse_reset() to reset the device to normal state.
+	 */
+	if (alps_is_cs19_trackpoint(psmouse)) {
+		psmouse_dbg(psmouse,
+			    "ALPS CS19 trackpoint-only device detected, ignoring\n");
+		return -EINVAL;
+	}
+
 	/*
 	 * Reset the device to make sure it is fully operational:
 	 * on some laptops, like certain Dell Latitudes, we may
drivers/input/mouse/synaptics.c +1 -0
index 1a6a05c45ee7..7c8d4baf647b 100644
@@ -179,6 +179,7 @@ static const char * const smbus_pnp_ids[] = {
 	"LEN0093", /* T480 */
 	"LEN0096", /* X280 */
 	"LEN0097", /* X280 -> ALPS trackpoint */
+	"LEN009b", /* T580 */
 	"LEN200f", /* T450s */
 	"LEN2054", /* E480 */
 	"LEN2055", /* E580 */
drivers/input/tablet/gtco.c +17 -3
index 4b8b9d7aa75e..35031228a6d0 100644
@@ -78,6 +78,7 @@ Scott Hill [email protected]
 
 /* Max size of a single report */
 #define REPORT_MAX_SIZE       10
+#define MAX_COLLECTION_LEVELS  10
 
 
 /* Bitmask whether pen is in range */
@@ -223,8 +224,7 @@ static void parse_hid_report_descriptor(struct gtco *device, char * report,
 	char  maintype = 'x';
 	char  globtype[12];
 	int   indent = 0;
-	char  indentstr[10] = "";
-
+	char  indentstr[MAX_COLLECTION_LEVELS + 1] = { 0 };
 
 	dev_dbg(ddev, "======>>>>>>PARSE<<<<<<======\n");
 
@@ -350,6 +350,13 @@ static void parse_hid_report_descriptor(struct gtco *device, char * report,
 			case TAG_MAIN_COL_START:
 				maintype = 'S';
 
+				if (indent == MAX_COLLECTION_LEVELS) {
+					dev_err(ddev, "Collection level %d would exceed limit of %d\n",
+						indent + 1,
+						MAX_COLLECTION_LEVELS);
+					break;
+				}
+
 				if (data == 0) {
 					dev_dbg(ddev, "======>>>>>> Physical\n");
 					strcpy(globtype, "Physical");
@@ -369,8 +376,15 @@ static void parse_hid_report_descriptor(struct gtco *device, char * report,
 				break;
 
 			case TAG_MAIN_COL_END:
-				dev_dbg(ddev, "<<<<<<======\n");
 				maintype = 'E';
+
+				if (indent == 0) {
+					dev_err(ddev, "Collection level already at zero\n");
+					break;
+				}
+
+				dev_dbg(ddev, "<<<<<<======\n");
+
 				indent--;
 				for (x = 0; x < indent; x++)
 					indentstr[x] = '-';
drivers/iommu/iommu.c +5 -3
index 3de5c0bcb5cc..1620a6f49989 100644
@@ -205,18 +205,21 @@ static int iommu_insert_resv_region(struct iommu_resv_region *new,
 			pos = pos->next;
 		} else if ((start >= a) && (end <= b)) {
 			if (new->type == type)
-				goto done;
+				return 0;
 			else
 				pos = pos->next;
 		} else {
 			if (new->type == type) {
 				phys_addr_t new_start = min(a, start);
 				phys_addr_t new_end = max(b, end);
+				int ret;
 
 				list_del(&entry->list);
 				entry->start = new_start;
 				entry->length = new_end - new_start + 1;
-				iommu_insert_resv_region(entry, regions);
+				ret = iommu_insert_resv_region(entry, regions);
+				kfree(entry);
+				return ret;
 			} else {
 				pos = pos->next;
 			}
@@ -229,7 +232,6 @@ static int iommu_insert_resv_region(struct iommu_resv_region *new,
 		return -ENOMEM;
 
 	list_add_tail(&region->list, pos);
-done:
 	return 0;
 }
 
drivers/mailbox/mailbox.c +4 -2
index 537f4f6d009b..44b49a2676f0 100644
@@ -391,11 +391,13 @@ struct mbox_chan *mbox_request_channel_byname(struct mbox_client *cl,
 
 	of_property_for_each_string(np, "mbox-names", prop, mbox_name) {
 		if (!strncmp(name, mbox_name, strlen(name)))
-			break;
+			return mbox_request_channel(cl, index);
 		index++;
 	}
 
-	return mbox_request_channel(cl, index);
+	dev_err(cl->dev, "%s() could not locate channel named \"%s\"\n",
+		__func__, name);
+	return ERR_PTR(-EINVAL);
 }
 EXPORT_SYMBOL_GPL(mbox_request_channel_byname);
 
drivers/md/bcache/super.c +1 -1
index 85a5afe01d39..1a270e2262f5 100644
@@ -1402,7 +1402,7 @@ static void cache_set_flush(struct closure *cl)
 	kobject_put(&c->internal);
 	kobject_del(&c->kobj);
 
-	if (c->gc_thread)
+	if (!IS_ERR_OR_NULL(c->gc_thread))
 		kthread_stop(c->gc_thread);
 
 	if (!IS_ERR_OR_NULL(c->root))
drivers/md/dm-bufio.c +1 -3
index 1e17e6421da3..b7d3b62dae7f 100644
@@ -1630,9 +1630,7 @@ dm_bufio_shrink_scan(struct shrinker *shrink, struct shrink_control *sc)
 	unsigned long freed;
 
 	c = container_of(shrink, struct dm_bufio_client, shrinker);
-	if (sc->gfp_mask & __GFP_FS)
-		dm_bufio_lock(c);
-	else if (!dm_bufio_trylock(c))
+	if (!dm_bufio_trylock(c))
 		return SHRINK_STOP;
 
 	freed  = __scan(c, sc->nr_to_scan, sc->gfp_mask);
drivers/md/dm-zoned-metadata.c +0 -24
index 167686189fd2..597098a43aba 100644
@@ -1593,30 +1593,6 @@ struct dm_zone *dmz_get_zone_for_reclaim(struct dmz_metadata *zmd)
 	return zone;
 }
 
-/*
- * Activate a zone (increment its reference count).
- */
-void dmz_activate_zone(struct dm_zone *zone)
-{
-	set_bit(DMZ_ACTIVE, &zone->flags);
-	atomic_inc(&zone->refcount);
-}
-
-/*
- * Deactivate a zone. This decrement the zone reference counter
- * and clears the active state of the zone once the count reaches 0,
- * indicating that all BIOs to the zone have completed. Returns
- * true if the zone was deactivated.
- */
-void dmz_deactivate_zone(struct dm_zone *zone)
-{
-	if (atomic_dec_and_test(&zone->refcount)) {
-		WARN_ON(!test_bit(DMZ_ACTIVE, &zone->flags));
-		clear_bit_unlock(DMZ_ACTIVE, &zone->flags);
-		smp_mb__after_atomic();
-	}
-}
-
 /*
  * Get the zone mapping a chunk, if the chunk is mapped already.
  * If no mapping exist and the operation is WRITE, a zone is
drivers/md/dm-zoned.h +24 -4
index 12419f0bfe78..ed8de49c9a08 100644
@@ -115,7 +115,6 @@ enum {
 	DMZ_BUF,
 
 	/* Zone internal state */
-	DMZ_ACTIVE,
 	DMZ_RECLAIM,
 	DMZ_SEQ_WRITE_ERR,
 };
@@ -128,7 +127,6 @@ enum {
 #define dmz_is_empty(z)		((z)->wp_block == 0)
 #define dmz_is_offline(z)	test_bit(DMZ_OFFLINE, &(z)->flags)
 #define dmz_is_readonly(z)	test_bit(DMZ_READ_ONLY, &(z)->flags)
-#define dmz_is_active(z)	test_bit(DMZ_ACTIVE, &(z)->flags)
 #define dmz_in_reclaim(z)	test_bit(DMZ_RECLAIM, &(z)->flags)
 #define dmz_seq_write_err(z)	test_bit(DMZ_SEQ_WRITE_ERR, &(z)->flags)
 
@@ -188,8 +186,30 @@ void dmz_unmap_zone(struct dmz_metadata *zmd, struct dm_zone *zone);
 unsigned int dmz_nr_rnd_zones(struct dmz_metadata *zmd);
 unsigned int dmz_nr_unmap_rnd_zones(struct dmz_metadata *zmd);
 
-void dmz_activate_zone(struct dm_zone *zone);
-void dmz_deactivate_zone(struct dm_zone *zone);
+/*
+ * Activate a zone (increment its reference count).
+ */
+static inline void dmz_activate_zone(struct dm_zone *zone)
+{
+	atomic_inc(&zone->refcount);
+}
+
+/*
+ * Deactivate a zone. This decrement the zone reference counter
+ * indicating that all BIOs to the zone have completed when the count is 0.
+ */
+static inline void dmz_deactivate_zone(struct dm_zone *zone)
+{
+	atomic_dec(&zone->refcount);
+}
+
+/*
+ * Test if a zone is active, that is, has a refcount > 0.
+ */
+static inline bool dmz_is_active(struct dm_zone *zone)
+{
+	return atomic_read(&zone->refcount);
+}
 
 int dmz_lock_zone_reclaim(struct dm_zone *zone);
 void dmz_unlock_zone_reclaim(struct dm_zone *zone);
drivers/media/dvb-frontends/tua6100.c +11 -11
index 18e6d4c5be21..859fa14b319c 100644
@@ -75,8 +75,8 @@ static int tua6100_set_params(struct dvb_frontend *fe)
 	struct i2c_msg msg1 = { .addr = priv->i2c_address, .flags = 0, .buf = reg1, .len = 4 };
 	struct i2c_msg msg2 = { .addr = priv->i2c_address, .flags = 0, .buf = reg2, .len = 3 };
 
-#define _R 4
-#define _P 32
+#define _R_VAL 4
+#define _P_VAL 32
 #define _ri 4000000
 
 	// setup register 0
@@ -91,14 +91,14 @@ static int tua6100_set_params(struct dvb_frontend *fe)
 	else
 		reg1[1] = 0x0c;
 
-	if (_P == 64)
+	if (_P_VAL == 64)
 		reg1[1] |= 0x40;
 	if (c->frequency >= 1525000)
 		reg1[1] |= 0x80;
 
 	// register 2
-	reg2[1] = (_R >> 8) & 0x03;
-	reg2[2] = _R;
+	reg2[1] = (_R_VAL >> 8) & 0x03;
+	reg2[2] = _R_VAL;
 	if (c->frequency < 1455000)
 		reg2[1] |= 0x1c;
 	else if (c->frequency < 1630000)
@@ -110,18 +110,18 @@ static int tua6100_set_params(struct dvb_frontend *fe)
 	 * The N divisor ratio (note: c->frequency is in kHz, but we
 	 * need it in Hz)
 	 */
-	prediv = (c->frequency * _R) / (_ri / 1000);
-	div = prediv / _P;
+	prediv = (c->frequency * _R_VAL) / (_ri / 1000);
+	div = prediv / _P_VAL;
 	reg1[1] |= (div >> 9) & 0x03;
 	reg1[2] = div >> 1;
 	reg1[3] = (div << 7);
-	priv->frequency = ((div * _P) * (_ri / 1000)) / _R;
+	priv->frequency = ((div * _P_VAL) * (_ri / 1000)) / _R_VAL;
 
 	// Finally, calculate and store the value for A
-	reg1[3] |= (prediv - (div*_P)) & 0x7f;
+	reg1[3] |= (prediv - (div*_P_VAL)) & 0x7f;
 
-#undef _R
-#undef _P
+#undef _R_VAL
+#undef _P_VAL
 #undef _ri
 
 	if (fe->ops.i2c_gate_ctrl)
drivers/media/i2c/Makefile +1 -1
index f104650d6000..0f5c5a3cdca3 100644
@@ -33,7 +33,7 @@ obj-$(CONFIG_VIDEO_ADV748X) += adv748x/
 obj-$(CONFIG_VIDEO_ADV7604) += adv7604.o
 obj-$(CONFIG_VIDEO_ADV7842) += adv7842.o
 obj-$(CONFIG_VIDEO_AD9389B) += ad9389b.o
-obj-$(CONFIG_VIDEO_ADV7511) += adv7511.o
+obj-$(CONFIG_VIDEO_ADV7511) += adv7511-v4l2.o
 obj-$(CONFIG_VIDEO_VPX3220) += vpx3220.o
 obj-$(CONFIG_VIDEO_VS6624)  += vs6624.o
 obj-$(CONFIG_VIDEO_BT819) += bt819.o
drivers/media/i2c/adv7511-v4l2.c new file +2008 -0

667 lines not on this page · raw message

drivers/media/i2c/adv7511.c deleted +0 -2003

2,003 lines not on this page · raw message

drivers/media/media-device.c +9 -1
index 62b2c5d9bdfb..4eb51a618fe1 100644

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

drivers/media/platform/coda/coda-bit.c +7 -2
index 6eee55430d46..d538cd49a3ba 100644

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

drivers/media/platform/coda/coda-common.c +2 -0
index 2e1472fadc2c..5b87c488ee11 100644

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

drivers/media/platform/davinci/vpss.c +5 -0
index f2d27b932999..2ee4cd9e6d80 100644

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

drivers/media/platform/marvell-ccic/mcam-core.c +3 -2
index 7b7250b1cff8..4ecb94860aa4 100644

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

drivers/media/platform/rcar_fdp1.c +8 -0
index 3245bc45f4a0..a889332d5d30 100644

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

drivers/media/platform/s5p-mfc/s5p_mfc_pm.c +5 -0
index eb85cedc5ef3..5e080f32b0e8 100644

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

drivers/media/platform/vimc/vimc-capture.c +4 -1
index a078ad18909a..091921ed09dd 100644

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

drivers/media/radio/wl128x/fmdrv_v4l2.c +3 -0
index fc5a7abc83d2..77778c86e04d 100644

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

drivers/media/rc/ir-spi.c +1 -0
index 29ed0638cb74..cbe585f95715 100644

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

drivers/media/usb/dvb-usb/dvb-usb-init.c +5 -2
index 84308569e7dc..b3413404f91a 100644

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

drivers/media/usb/hdpvr/hdpvr-video.c +11 -6
index 7fb036d6a86e..991f820a4530 100644

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

drivers/media/v4l2-core/v4l2-ctrls.c +4 -5
index 07bd2008ae4b..1ee072e939e4 100644

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

drivers/memstick/core/memstick.c +9 -4
index 1246d69ba187..b1564cacd19e 100644

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

drivers/mfd/arizona-core.c +1 -1
index 8d46e3ad9529..d8e3184bd27c 100644

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

drivers/mfd/hi655x-pmic.c +2 -0
index 96c07fa1802a..6693f74aa6ab 100644

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

drivers/mfd/mfd-core.c +1 -0
index c57e407020f1..5c8ed2150c8b 100644

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

drivers/net/bonding/bond_main.c +23 -14
index 8536a75f32e3..11a0e84d3d7c 100644

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

drivers/net/caif/caif_hsi.c +1 -1
index 438966bf51c2..60c6a60da7c4 100644

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

drivers/net/dsa/mv88e6xxx/chip.c +2 -0
index 086603de1859..0fff1502267a 100644

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

drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +7 -1
index 8498a357d389..64828d1438ab 100644

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

drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c +3 -1
index 65bc1929d1a8..8edac67130ff 100644

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

drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +24 -9
index 41ac9a2bc153..53fa4f88ed4d 100644

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

drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h +3 -0
index b2644ed13d06..d55e63692cf3 100644

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

drivers/net/ethernet/broadcom/genet/bcmgenet.c +26 -31

57 lines not on this page · raw message

drivers/net/ethernet/freescale/fec_main.c +3 -3
index 98cd53d380f7..0ae6532b02e0 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +1 -2
index 654aad6e748b..86523e8993cb 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c +5 -1
index 73a75d7cc551..55228b91d80b 100644

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

drivers/net/ethernet/intel/i40evf/i40e_txrx.c +4 -2
index 7368b0dc3af8..4afdabbe95e8 100644

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

drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c +2 -1
index c3e7a8191128..f7e68083200c 100644

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

drivers/net/ethernet/intel/ixgbe/ixgbe_phy.h +1 -0
index b0cac961df3b..94df1d99be95 100644

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

drivers/net/ethernet/marvell/mvmdio.c +6 -1
index 0495487f7b42..b6ff143c9cff 100644

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

drivers/net/ethernet/marvell/sky2.c +7 -0
index cf6f58889038..7b239af6cc04 100644

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

drivers/net/ethernet/qlogic/qed/qed_dev.c +18 -11
index 410528e7d927..c4e8bf0773fe 100644

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

drivers/net/ethernet/qlogic/qed/qed_rdma.c +1 -1
index 1b6554866138..1e13dea66989 100644

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

drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c +6 -0
index 540d21786a43..08dd6a06ac58 100644

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

drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c +14 -4
index 55ae14a6bb8c..8445af580cb6 100644

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

drivers/net/ethernet/xilinx/xilinx_axienet_main.c +17 -3
index d46dc8cd1670..b481cb174b23 100644

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

drivers/net/gtp.c +29 -7
index f38e32a7ec9c..5de4053774b8 100644

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

drivers/net/macsec.c +3 -3
index 5ab1b8849c30..0c69dfbd28ef 100644

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

drivers/net/phy/phy_device.c +6 -0
index c433be573e0d..ed7e3c70b511 100644

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

drivers/net/phy/sfp.c +5 -1
index 2dcb25aa0452..9cef89fe410d 100644

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

drivers/net/usb/asix_devices.c +3 -3
index d0c0ac0c3519..9b751d4bd327 100644

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

drivers/net/vrf.c +35 -23

58 lines not on this page · raw message

drivers/net/wireless/ath/ath10k/hw.c +1 -1
index a860691d635d..e96534cd3d8b 100644

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

drivers/net/wireless/ath/ath10k/mac.c +4 -0
index cdcfb175ad9b..58a3c42c4aed 100644

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

drivers/net/wireless/ath/ath10k/sdio.c +7 -0
index da9dbf3ddaa5..0a1248ebccf5 100644

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

drivers/net/wireless/ath/ath6kl/wmi.c +9 -1
index bfc20b45b806..d79c2bccf582 100644

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

drivers/net/wireless/ath/ath9k/hw.c +23 -9
index a7f506eb7b36..406b52f114f0 100644

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

drivers/net/wireless/ath/dfs_pattern_detector.c +1 -1
index 4100ffd42a43..78146607f16e 100644

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

drivers/net/wireless/ath/wil6210/txrx.c +1 -0
index 389c718cd257..16750056b8b5 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/tx.c +3 -0
index 62a6e293cf12..f0f2be432d20 100644

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

drivers/net/wireless/intel/iwlwifi/pcie/rx.c +37 -24

61 lines not on this page · raw message

drivers/net/wireless/mediatek/mt7601u/dma.c +34 -20

54 lines not on this page · raw message

drivers/net/wireless/mediatek/mt7601u/tx.c +2 -2
index 3600e911a63e..4d81c45722fb 100644

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

drivers/net/wireless/realtek/rtlwifi/usb.c +3 -2
index 820c42ff5384..2401c8bdb211 100644

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

drivers/nvdimm/dax_devs.c +1 -1
index 1bf2bd318371..0e9e37410c58 100644

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

drivers/nvdimm/pfn.h +1 -0
index dde9853453d3..e901e3a3b04c 100644

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

drivers/nvdimm/pfn_devs.c +15 -3
index b9dad88b8ea3..e2af91a91c22 100644

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

drivers/pci/dwc/pci-dra7xx.c +1 -0
index 06eae132aff7..63052c5e5f82 100644

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

drivers/pci/host/pci-hyperv.c +9 -6
index f591de23f3d3..5a9d94512232 100644

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

drivers/pci/host/pcie-xilinx-nwl.c +5 -6
index dd527ea558d7..981a5195686f 100644

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

drivers/pci/pci-driver.c +7 -6
index ea69b4dbab66..e5a8bf2c9b37 100644

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

drivers/pci/pci-sysfs.c +1 -1
index c3f0473d1afa..ee7dccab771d 100644

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

drivers/pci/pci.c +7 -0
index 1af30c881566..044b208f7f6a 100644

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

drivers/phy/renesas/phy-rcar-gen2.c +2 -0
index 97d4dd6ea924..aa02b19b7e0e 100644

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

drivers/pinctrl/pinctrl-rockchip.c +1 -0
index a9bc1e01f982..5d6cf024ee9c 100644

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

drivers/ras/cec.c +3 -1
index c7205cdcc11a..97cf40a522be 100644

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

drivers/regulator/s2mps11.c +2 -2
index 17a816656b92..8f7c19901339 100644

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

drivers/s390/cio/qdio_main.c +1 -0
index c7afdbded26b..ab8dd81fbc2b 100644

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

drivers/scsi/NCR5380.c +14 -19
index 777b0222d021..8caa51797511 100644

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

drivers/scsi/NCR5380.h +1 -1
index 31096a0b0fdd..8a6d002e6789 100644

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

drivers/scsi/mac_scsi.c +220 -155

375 lines not on this page · raw message

drivers/scsi/megaraid/megaraid_sas_base.c +2 -1
index 7f1ecd264652..73acd3e9ded7 100644

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

drivers/scsi/scsi_lib.c +3 -3
index c89f0e129f58..efb8af57dd9c 100644

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

drivers/staging/media/davinci_vpfe/vpfe_video.c +3 -0
index 155e8c758e4b..346e60d230f3 100644

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

drivers/target/iscsi/iscsi_target_auth.c +8 -8
index 4e680d753941..e2fa3a3bc81d 100644

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

drivers/tty/serial/8250/8250_port.c +2 -1
index ab0796d14ac1..a73d2bc4b685 100644

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

drivers/tty/serial/cpm_uart/cpm_uart_core.c +11 -6
index 8b2b694334ec..8f5a5a16cb3b 100644

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

drivers/tty/serial/digicolor-usart.c +5 -1
index 02ad6953b167..50ec5f1ac77f 100644

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

drivers/tty/serial/max310x.c +31 -20

51 lines not on this page · raw message

drivers/tty/serial/msm_serial.c +4 -0
index 716aa76abdf9..0e0ccc132ab0 100644

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

drivers/tty/serial/serial_core.c +6 -1
index c39246b916af..17e2311f7b00 100644

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

drivers/tty/serial/serial_mctrl_gpio.c +14 -0
index d2da6aa7f27d..42e42e3e7a6e 100644

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

drivers/tty/serial/sh-sci.c +24 -9
index 66c8bbea06c4..333de7d3fe86 100644

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

drivers/usb/core/hub.c +21 -14
index eddecaf1f0b2..b543a4730ef2 100644

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

drivers/usb/gadget/function/f_fs.c +4 -2
index 79900c0b4f3a..cdffbe999500 100644

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

drivers/usb/host/hwa-hc.c +1 -1
index 216069c396a0..aa654b86993d 100644

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

drivers/usb/host/pci-quirks.c +19 -12
index e1faee1f8602..f5f2c83a2c66 100644

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

drivers/vhost/net.c +1 -1
index b40e8ded49c6..4d11152e60c1 100644

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

drivers/xen/balloon.c +13 -3
index f77e499afddd..7d521babc020 100644

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

drivers/xen/events/events_base.c +10 -2
index fe1f16351f94..8d49b91d92cd 100644

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

drivers/xen/evtchn.c +1 -1
index 9729a64ea1a9..055123f48039 100644

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

fs/9p/vfs_addr.c +4 -2
index e1cbdfdb7c68..197069303510 100644

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

fs/btrfs/file.c +5 -0
index 97958ecaeed9..6fbae1357644 100644

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

fs/btrfs/inode.c +23 -1
index ea7b65c025c2..ddc1d1d1a29f 100644

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

fs/btrfs/tree-log.c +37 -3
index 8ac6a64d0422..bfd7c89c8d92 100644

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

fs/coda/file.c +68 -2

70 lines not on this page · raw message

fs/crypto/crypto.c +9 -6
index daf2683f0655..f862ad19c714 100644

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

fs/ecryptfs/crypto.c +8 -4
index 9d1823efff34..bd25ab837011 100644

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

fs/ext4/dir.c +9 -10
index dc676714454a..446b6c375b6f 100644

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

fs/ext4/ext4_jbd2.h +6 -6
index 1437f62d068c..116401578401 100644

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

fs/ext4/file.c +4 -0
index 44966b272216..4ede0af9d6fe 100644

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

fs/ext4/inode.c +21 -3
index 862766a1b080..ea85063e5dc2 100644

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

fs/ext4/ioctl.c +45 -1

46 lines not on this page · raw message

fs/ext4/move_extent.c +2 -1
index cd8d481e0c48..ef60f2e92da6 100644

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

fs/ext4/namei.c +37 -8

45 lines not on this page · raw message

fs/f2fs/segment.c +5 -0
index 70bd15cadb44..18d51c36a5e3 100644

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

fs/fs-writeback.c +7 -1
index 4d561ee08d05..9e8fde348d61 100644

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

fs/jbd2/commit.c +17 -6
index d11401afd52f..0567b17a970c 100644

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

fs/jbd2/journal.c +4 -0
index 593f3e31fb21..d3cce5c86fd9 100644

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

fs/jbd2/transaction.c +28 -21

49 lines not on this page · raw message

fs/nfs/flexfilelayout/flexfilelayoutdev.c +1 -1
index 2de6e87e5ee5..2464b9b80698 100644

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

fs/nfs/inode.c +1 -0
index 134d9f560240..71a399f6805a 100644

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

fs/nfs/nfs4file.c +1 -1
index 626d1382002e..2b3e0f1ca572 100644

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

fs/nfs/nfs4proc.c +26 -15

41 lines not on this page · raw message

fs/nfsd/nfs4state.c +8 -3
index 94128643ec1a..87ee9cbf7dcb 100644

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

fs/nfsd/nfssvc.c +1 -1
index e02bd2783124..4a9e0fb634b6 100644

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

fs/open.c +19 -0
index f4ea0dc88823..29a2cdcbcb17 100644

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

fs/proc/proc_sysctl.c +4 -0
index 555698ddb943..12bac452738d 100644

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

include/drm/drm_debugfs_crc.h +2 -1
index 7d63b1d4adb9..b225eeb30d05 100644

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

include/linux/compiler.h +14 -8
index a704d032713b..f84d332085c3 100644

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

include/linux/cpuhotplug.h +1 -1
index 0c78ad0cc515..0834eb5ea9e6 100644

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

include/linux/cred.h +6 -1
index 631286535d0f..2a0d4674294e 100644

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

include/linux/fs.h +2 -0
index da56c796c5d8..f0fddf4ea828 100644

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

include/linux/jbd2.h +22 -0
index 29290bfb94a8..11b3ab68f6a7 100644

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

include/linux/rcupdate.h +1 -1
index f960c85cd9ec..8d570190e9b4 100644

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

include/net/dst.h +4 -1
index ebfb4328fdb1..2acd670fc86b 100644

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

include/net/ip_vs.h +4 -2
index 5d08c1950e7d..82bc9f0e8a76 100644

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

include/net/tcp.h +2 -1
index 1179ef4f0768..0b477a1e1177 100644

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

include/xen/events.h +2 -1
index c3e6bc643a7b..1650d39decae 100644

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

kernel/bpf/Makefile +1 -0
index af3ab6164ff5..be282c135a66 100644

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

kernel/cred.c +19 -2
index efd04b2ec84c..5ab1f7ec946e 100644

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

kernel/locking/lockdep.c +9 -9
index bf694c709b96..565005a3b8f0 100644

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

kernel/locking/lockdep_proc.c +5 -3
index ad69bbc9bd28..8b2ef15e3552 100644

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

kernel/padata.c +12 -0
index 868f947166d7..87540ce72aea 100644

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

kernel/pid_namespace.c +1 -1
index 4918314893bc..22091c88b3bb 100644

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

kernel/sched/core.c +1 -1
index b3ff73d6a4c2..ff128e281d1c 100644

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

kernel/time/ntp.c +3 -1
index 4bb9b66338be..9288532f73c8 100644

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

kernel/time/timer_list.c +19 -17
index 0ed768b56c60..7e9f149d34ea 100644

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

lib/reed_solomon/decode_rs.c +14 -4
index 0ec3f257ffdf..a5d313381539 100644

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

lib/scatterlist.c +5 -4
index be7b4dd6b68d..355f2e90b72c 100644

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

lib/string.c +1 -1
index 1530643edf00..33befc6ba3fa 100644

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

mm/filemap.c +22 -0
index e2e738cc08b1..938365ad7e99 100644

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

mm/gup.c +8 -4
index babcbd6d99c3..12b9626b1a9e 100644

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

mm/kmemleak.c +1 -1
index 71ba1c7f8892..d779181bed4d 100644

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

mm/mmu_notifier.c +1 -1
index 314285284e6e..70d0efb06374 100644

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

mm/vmscan.c +3 -3
index 290078e8d4b1..0cc3c1eb15f5 100644

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

net/9p/trans_virtio.c +7 -1
index e73fd647065a..f88911cffa1a 100644

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

net/9p/trans_xen.c +7 -1
index 389eb635ec2c..ea9f1773abc8 100644

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

net/batman-adv/translation-table.c +2 -0
index 020a8adc4cce..2c2670b85fa9 100644

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

net/bluetooth/6lowpan.c +10 -4
index 4e2576fc0c59..357475cceec6 100644

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

net/bluetooth/hci_event.c +5 -0
index 363dc85bbc5c..3d2f64a6d623 100644

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

net/bluetooth/l2cap_core.c +14 -1
index 0ee64f67300a..4dc1db85a9c2 100644

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

net/bluetooth/smp.c +13 -0
index dbcc439fc78b..6e9a247b15d7 100644

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

net/bridge/br_multicast.c +18 -14
index e83048cb53ce..5cd83145c7d8 100644

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

net/bridge/br_stp_bpdu.c +1 -2
index 1b75d6bf12bd..37ddcea3fc96 100644

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

net/core/filter.c +2 -1
index 61396648381e..a3646230fbee 100644

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

net/core/neighbour.c +2 -0
index 04b0e399361a..eb3efeabac91 100644

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

net/ipv4/devinet.c +8 -0
index bffa88ecc534..5264510c9983 100644

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

net/ipv4/igmp.c +2 -6
index 94604f9bd0d7..b6f0ee01f2e0 100644

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

net/ipv4/tcp.c +5 -1
index d51571be9eac..541686f3f835 100644

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

net/ipv4/tcp_cong.c +3 -3
index 2f26124fd160..494e3c3a21a1 100644

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

net/key/af_key.c +6 -2
index b095551a5773..ac38b47e9f86 100644

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

net/netfilter/ipset/ip_set_hash_gen.h +1 -1
index dfd268166e42..42d9cd22447e 100644

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

net/netfilter/ipvs/ip_vs_core.c +14 -7
index ee97ce176b9a..2156571455db 100644

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

net/netfilter/ipvs/ip_vs_ctl.c +0 -4
index 6d7608b88f66..4648dccebf59 100644

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

net/netfilter/ipvs/ip_vs_sync.c +72 -62

134 lines not on this page · raw message

net/netfilter/nf_queue.c +5 -1
index 8260b1e73bbd..37efcc1c8887 100644

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

net/netrom/af_netrom.c +3 -1
index fc876b0c3e06..aebc804c10aa 100644

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

net/nfc/nci/data.c +1 -1
index 908f25e3773e..5405d073804c 100644

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

net/openvswitch/actions.c +2 -4
index a54a556fcdb5..5601e2c6ac05 100644

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

net/rxrpc/af_rxrpc.c +2 -2
index 2a32f60652d8..296b9efe6641 100644

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

net/vmw_vsock/hyperv_transport.c +11 -33

44 lines not on this page · raw message

net/xfrm/Kconfig +2 -0
index 286ed25c1a69..2e747ae7dc89 100644

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

net/xfrm/xfrm_user.c +19 -0
index 919b8406028c..150c58dc8a7b 100644

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

scripts/kallsyms.c +3 -0
index 1dd24c5b9b47..b471022c8162 100644

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

scripts/recordmcount.h +2 -1
index b9897e2be404..04151ede8043 100644

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

sound/core/seq/seq_clientmgr.c +10 -1
index 7d2c07c1237c..cc5b4c25d6f1 100644

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

sound/pci/hda/patch_conexant.c +1 -0
index d14516f31679..7bdf10e754f5 100644

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

sound/pci/hda/patch_realtek.c +5 -0
index 20914a33ca5d..6d32c44cd0c8 100644

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

sound/soc/soc-dapm.c +10 -8
index e9f7c6287376..b4c8ba412a5c 100644

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

sound/usb/line6/podhd.c +1 -1
index ee6a68c6e1c1..1513fbaf70c2 100644

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

tools/iio/iio_utils.c +2 -2
index 7a6d61c6c012..55272fef3b50 100644

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

tools/perf/arch/arm/util/cs-etm.c +123 -4

127 lines not on this page · raw message

tools/perf/perf.h +1 -1
index 96f62dd7e3ed..d4ebd0956114 100644

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

tools/perf/tests/mmap-thread-lookup.c +1 -1
index 3c3f3e029e33..2ecb86876f10 100644

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

tools/perf/tests/parse-events.c +27 -0
index f0679613bd18..424b82a7d078 100644

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

tools/perf/util/annotate.c +2 -4
index 398d4cc2f0e4..2a8d2a6723f6 100644

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

tools/perf/util/evsel.c +7 -1
index 0cf6f537f980..3ab81e8e079e 100644

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

tools/perf/util/header.c +1 -1
index f11cead6a151..26437143c940 100644

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

tools/perf/util/session.c +3 -0
index da55081aefc6..c49e8ea1a42c 100644

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

tools/perf/util/stat-shadow.c +3 -2
index 37363869c9a1..eadc9a2aef16 100644

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

tools/power/cpupower/utils/cpufreq-set.c +2 -0
index 1eef0aed6423..08a405593a79 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.