Linux 4.4.21
Greg KH
maintainerI'm announcing the release of the 4.4.21 kernel.
All users of the 4.4 kernel series must upgrade.
The updated 4.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/filesystems/proc.txt | 9 Makefile | 2 arch/arm64/Kconfig | 20 + arch/arm64/include/asm/arch_gicv3.h | 1 arch/arm64/include/asm/cpufeature.h | 3 arch/arm64/include/asm/kvm_arm.h | 2 arch/arm64/kernel/cpu_errata.c | 9 arch/arm64/kvm/hyp-init.S | 13 arch/arm64/mm/proc.S | 12 arch/metag/include/asm/atomic_lnkget.h | 2 arch/powerpc/include/asm/icswx.h | 1 arch/powerpc/kernel/tm.S | 61 ++- arch/s390/crypto/prng.c | 2 arch/s390/include/asm/pci_dma.h | 2 arch/s390/pci/pci.c | 3 arch/s390/pci/pci_dma.c | 19 arch/x86/kernel/apic/apic.c | 3 arch/x86/kernel/cpu/mshyperv.c | 12 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 56 ++ block/blk-core.c | 4 block/blk-merge.c | 22 + block/blk-mq.c | 6 drivers/bluetooth/btusb.c | 11 drivers/char/hw_random/exynos-rng.c | 9 drivers/clk/clk-xgene.c | 3 drivers/cpufreq/cpufreq_userspace.c | 43 +- drivers/crypto/caam/caamalg.c | 77 +-- drivers/crypto/nx/nx-842-powernv.c | 12 drivers/crypto/vmx/aes_cbc.c | 2 drivers/crypto/vmx/aes_ctr.c | 2 drivers/crypto/vmx/ppc-xlate.pl | 20 + drivers/gpu/drm/amd/amdgpu/atombios_dp.c | 96 +--- drivers/gpu/drm/amd/amdgpu/cz_dpm.c | 4 drivers/gpu/drm/drm_atomic_helper.c | 4 drivers/gpu/drm/drm_crtc.c | 3 drivers/gpu/drm/drm_gem.c | 29 - drivers/gpu/drm/i915/i915_drv.h | 3 drivers/gpu/drm/i915/i915_reg.h | 15 drivers/gpu/drm/i915/intel_bios.c | 39 + drivers/gpu/drm/i915/intel_display.c | 40 +- drivers/gpu/drm/i915/intel_dp.c | 26 - drivers/gpu/drm/i915/intel_drv.h | 2 drivers/gpu/drm/i915/intel_hdmi.c | 3 drivers/gpu/drm/msm/msm_gem_submit.c | 27 + drivers/gpu/drm/radeon/atombios_dp.c | 108 +---- drivers/gpu/drm/radeon/radeon_dp_mst.c | 4 drivers/gpu/drm/radeon/radeon_mode.h | 6 drivers/gpu/drm/radeon/radeon_ttm.c | 4 drivers/hid/hid-core.c | 3 drivers/hv/channel.c | 27 - drivers/hv/channel_mgmt.c | 61 ++- drivers/hv/hv.c | 10 drivers/hv/hv_fcopy.c | 37 - drivers/hv/hv_kvp.c | 31 - drivers/hv/hv_snapshot.c | 34 - drivers/hv/hv_utils_transport.c | 9 drivers/hv/hyperv_vmbus.h | 11 drivers/hv/vmbus_drv.c | 35 - drivers/idle/intel_idle.c | 25 + drivers/infiniband/ulp/ipoib/ipoib_ib.c | 2 drivers/input/joystick/xpad.c | 322 +++++++++++----- drivers/irqchip/irq-gic-v3-its.c | 49 ++ drivers/lightnvm/gennvm.c | 3 drivers/lightnvm/rrpc.c | 24 - drivers/md/bcache/super.c | 2 drivers/media/dvb-frontends/Kconfig | 2 drivers/media/usb/uvc/uvc_driver.c | 20 + drivers/media/usb/uvc/uvcvideo.h | 12 drivers/misc/cxl/Makefile | 2 drivers/misc/cxl/api.c | 6 drivers/misc/cxl/context.c | 15 drivers/misc/cxl/cxl.h | 15 drivers/misc/cxl/fault.c | 129 ++++-- drivers/misc/cxl/file.c | 25 - drivers/misc/cxl/pci.c | 1 drivers/mmc/host/sdhci.c | 35 - drivers/mmc/host/sdhci.h | 21 - drivers/net/ethernet/cavium/liquidio/lio_main.c | 2 drivers/net/ethernet/cavium/thunder/nic.h | 9 drivers/net/ethernet/cavium/thunder/nic_main.c | 6 drivers/net/ethernet/cavium/thunder/nic_reg.h | 2 drivers/net/ethernet/cavium/thunder/nicvf_main.c | 12 drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 8 drivers/net/ethernet/cavium/thunder/nicvf_queues.h | 3 drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 91 +++- drivers/net/ethernet/cavium/thunder/thunder_bgx.h | 2 drivers/net/ethernet/intel/e1000/e1000.h | 7 drivers/net/ethernet/intel/e1000/e1000_main.c | 5 drivers/net/ethernet/intel/e1000e/netdev.c | 6 drivers/net/ethernet/intel/fm10k/fm10k.h | 2 drivers/net/ethernet/intel/fm10k/fm10k_main.c | 8 drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 65 ++- drivers/net/ethernet/intel/fm10k/fm10k_type.h | 1 drivers/net/ethernet/intel/fm10k/fm10k_vf.c | 16 drivers/net/ethernet/intel/i40e/i40e.h | 2 drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 14 drivers/net/ethernet/intel/i40e/i40e_main.c | 126 ++++-- drivers/net/ethernet/intel/i40e/i40e_txrx.c | 73 ++- drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 23 - drivers/net/ethernet/intel/i40evf/i40e_txrx.c | 182 +++++---- drivers/net/ethernet/intel/i40evf/i40e_txrx.h | 2 drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c | 40 -- drivers/net/ethernet/intel/i40evf/i40evf_main.c | 6 drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c | 32 + drivers/net/ethernet/intel/igb/e1000_82575.c | 1 drivers/net/ethernet/intel/igb/e1000_i210.c | 27 + drivers/net/ethernet/intel/igb/e1000_i210.h | 1 drivers/net/ethernet/intel/igb/e1000_regs.h | 1 drivers/net/ethernet/intel/igb/igb.h | 2 drivers/net/ethernet/intel/igb/igb_main.c | 17 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 3 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c | 12 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 12 drivers/nvme/host/pci.c | 2 drivers/pwm/pwm-fsl-ftm.c | 58 +- drivers/pwm/pwm-lpc32xx.c | 55 +- drivers/regulator/anatop-regulator.c | 2 drivers/s390/char/sclp_ctl.c | 12 drivers/s390/cio/chp.c | 21 - drivers/s390/cio/chp.h | 2 drivers/s390/cio/chsc.c | 43 +- drivers/s390/net/qeth_l2_main.c | 1 drivers/s390/net/qeth_l3_main.c | 1 drivers/scsi/arcmsr/arcmsr_hba.c | 26 - drivers/scsi/constants.c | 5 drivers/scsi/cxlflash/common.h | 2 drivers/scsi/cxlflash/main.c | 69 +++ drivers/scsi/cxlflash/main.h | 4 drivers/scsi/cxlflash/superpipe.c | 19 drivers/scsi/cxlflash/vlun.c | 2 drivers/scsi/lpfc/lpfc_crtn.h | 1 drivers/scsi/lpfc/lpfc_els.c | 373 ++++++++----------- drivers/scsi/lpfc/lpfc_hbadisc.c | 20 - drivers/scsi/lpfc/lpfc_init.c | 9 drivers/scsi/lpfc/lpfc_mbox.c | 10 drivers/scsi/lpfc/lpfc_nportdisc.c | 134 ++++-- drivers/scsi/lpfc/lpfc_scsi.c | 4 drivers/scsi/lpfc/lpfc_sli.c | 23 - drivers/scsi/megaraid/megaraid_sas.h | 2 drivers/scsi/megaraid/megaraid_sas_base.c | 268 ++++--------- drivers/scsi/megaraid/megaraid_sas_fusion.c | 1 drivers/scsi/mpt3sas/mpt3sas_base.c | 24 - drivers/scsi/mpt3sas/mpt3sas_base.h | 5 drivers/scsi/mpt3sas/mpt3sas_ctl.c | 2 drivers/scsi/mpt3sas/mpt3sas_scsih.c | 12 drivers/scsi/qla2xxx/qla_target.c | 2 drivers/staging/lustre/lustre/llite/llite_internal.h | 2 drivers/vhost/scsi.c | 6 fs/btrfs/file.c | 37 - fs/ecryptfs/file.c | 71 ++- fs/ext4/inode.c | 40 +- fs/ext4/namei.c | 9 fs/ext4/super.c | 36 + fs/ext4/xattr.c | 66 +-- fs/namei.c | 4 fs/overlayfs/copy_up.c | 2 fs/overlayfs/inode.c | 19 fs/overlayfs/overlayfs.h | 1 fs/overlayfs/super.c | 19 fs/proc/task_mmu.c | 66 +-- fs/proc/task_nommu.c | 49 +- fs/ubifs/tnc_commit.c | 2 fs/xfs/libxfs/xfs_sb.c | 3 include/drm/i915_pciids.h | 6 include/linux/blkdev.h | 2 include/linux/capability.h | 5 include/linux/fs.h | 29 + include/linux/lightnvm.h | 5 include/linux/mm.h | 3 include/linux/perf_event.h | 1 include/linux/time.h | 26 + include/uapi/linux/hyperv.h | 1 include/uapi/linux/videodev2.h | 3 include/uapi/scsi/cxlflash_ioctl.h | 10 kernel/capability.c | 46 +- kernel/cred.c | 2 kernel/events/uprobes.c | 5 kernel/fork.c | 4 kernel/sched/fair.c | 30 + kernel/time/clocksource.c | 52 ++ kernel/time/hrtimer.c | 7 kernel/time/ntp.c | 20 - kernel/time/timekeeping.c | 7 kernel/time/timekeeping_debug.c | 9 lib/asn1_decoder.c | 16 lib/mpi/mpicoder.c | 21 - mm/util.c | 27 - net/ipv4/udp.c | 6 net/ipv6/udp.c | 6 net/netfilter/x_tables.c | 6 net/rds/recv.c | 2 net/sysctl_net.c | 2 net/tipc/netlink_compat.c | 3 net/tipc/subscr.c | 3 sound/core/rawmidi.c | 4 sound/core/timer.c | 20 - sound/firewire/fireworks/fireworks.h | 1 sound/firewire/fireworks/fireworks_hwdep.c | 71 ++- sound/firewire/fireworks/fireworks_proc.c | 4 sound/firewire/fireworks/fireworks_transaction.c | 5 sound/firewire/tascam/tascam-hwdep.c | 33 - sound/pci/hda/hda_intel.c | 4 sound/pci/hda/patch_hdmi.c | 5 sound/pci/hda/patch_realtek.c | 15 sound/soc/atmel/atmel_ssc_dai.c | 5 sound/usb/quirks.c | 1 tools/hv/hv_fcopy_daemon.c | 20 - 207 files changed, 3033 insertions(+), 1811 deletions(-)
Adrian Hunter (2):
mmc: sdhci: 64-bit DMA actually has 4-byte alignment
mmc: sdhci: Do not BUG on invalid vdd
Al Viro (3):
ecryptfs: fix handling of directory opening
lustre: remove unused declaration
wrappers for ->i_mutex access
Alex Deucher (3):
drm/amdgpu: fix dp link rate selection (v2) drm/radeon: fix dp link rate selection (v2) drm/amdgpu/cz: enable/disable vce dpm even if vce pg is disabled
Alexander Duyck (4):
ixgbe: Fix handling of NAPI budget when multiple queues are enabled per vector
fm10k: Fix handling of NAPI budget when multiple queues are enabled per vector
fm10k: Cleanup MSI-X interrupts in case of failure
fm10k: Cleanup exception handling for mailbox interrupt
Andrew Pinski (1):
arm64: Add workaround for Cavium erratum 27456
Andrey Smetanin (1):
drivers/hv: cleanup synic msrs if vmbus connect failed
Anjali Singhai Jain (4):
i40e: Workaround fix for mss < 256 issue
i40e/i40evf: Fix RS bit update in Tx path and disable force WB workaround
i40e: Fix Rx hash reported to the stack by our driver i40e/i40evf: Fix RSS rx-flow-hash configuration through ethtool
Anton Blanchard (1):
crypto: vmx - Fix ABI detection
Aviv Greenberg (1):
UVC: Add support for R200 depth camera
Balbir Singh (1):
cgroup: reduce read locked section of cgroup_threadgroup_rwsem during fork
Bart Van Assche (1):
block: Fix race triggered by blk_set_queue_dying()
Benjamin Coddington (1):
vhost/scsi: fix reuse of &vq->iov[out] in response
Benjamin Tissoires (1):
HID: core: prevent out-of-bound readings
Brian Norris (1):
cxl: fix build for GCC 4.6.x
Carol L Soto (1):
IB/IPoIB: Do not set skb truesize since using one linearskb
Chao Yu (1):
lightnvm: fix incorrect nr_free_blocks stat
Ching Huang (2):
arcmsr: fixed getting wrong configuration data
arcmsr: fixes not release allocated resource
Chris Wilson (2):
drm: Balance error path for GEM handle allocation drm/i915: Only ignore eDP ports that are connected
Christian König (1):
drm/radeon: fix radeon_move_blit on 32bit systems
Christoph Hellwig (1):
block: fix blk_rq_get_max_sectors for driver private requests
Christoph Huber (1):
ASoC: atmel_ssc_dai: Don't unconditionally reset SSC on stream startup
Colin Ian King (1):
net: cavium: liquidio: fix check for in progress flag
Daeho Jeong (1):
ext4: avoid modifying checksum fields directly during checksum verification
Dan Carpenter (1):
cxlflash: a couple off by one bugs
Daniel Vetter (1):
drm: Reject page_flip for !DRIVER_MODESET
Dasaratharaman Chandramouli (1):
intel_idle: Support for Intel Xeon Phi Processor x200 Product Family
Dave Airlie (1):
drm/radeon/mst: fix regression in lane/link handling.
Dave Chinner (1):
xfs: fix superblock inprogress check
David Howells (1):
KEYS: Fix ASN.1 indefinite length object parsing
Dexuan Cui (2):
Drivers: hv: vmbus: serialize process_chn_event() and vmbus_close_internal()
Drivers: hv: vmbus: fix rescind-offer handling for device without a driver
Dmitriy Vyukov (1):
e1000: fix data race between tx_ring->next_to_clean
Dmitry Fleytman (1):
e1000e: fix division by zero on jumbo MTUs
Eric Dumazet (1):
udp: properly support MSG_PEEK with truncated buffers
Florian Westphal (2):
netfilter: x_tables: check for size overflow
netfilter: x_tables: check for size overflow
Gabriel Krisman Bertazi (1):
nvme: Call pci_disable_device on the error path.
Gal Pressman (2):
net/mlx5e: Don't try to modify CQ moderation if it is not supported net/mlx5e: Don't modify CQ before it was created
Ganapatrao Kulkarni (1):
irqchip/gicv3-its: numa: Enable workaround for Cavium thunderx erratum 23144
Gavin Guo (1):
sched/numa: Fix use-after-free bug in the task_numa_compare
Gerald Schaefer (1):
s390/pci_dma: fix DMA table corruption with > 4 TB main memory
Greg Kroah-Hartman (1):
Linux 4.4.21
Harald Freudenberger (1):
s390/crypto: provide correct file mode at device register.
Haren Myneni (1):
crypto: nx-842 - Mask XERS0 bit in return value
Horia Geantă (1):
crypto: caam - fix IV loading for authenc (giv)decryption
Imre Deak (1):
drm/i915/bxt: update list of PCIIDs
Jacob Keller (5):
fm10k: do not assume VF always has 1 queue
fm10k: Correct MTU for jumbo frames
fm10k: reset max_queues on init_hw_vf failure
fm10k: always check init_hw for errors
fm10k: reinitialize queuing scheme after calling init_hw
Jake Oshins (1):
drivers:hv: Lock access to hyperv_mmio resource tree
James Hogan (1):
metag: Fix atomic_*_return inline asm constraints
James Smart (9):
lpfc: Fix FCF Infinite loop in lpfc_sli4_fcf_rr_next_index_get.
lpfc: Fix the FLOGI discovery logic to comply with T11 standards
lpfc: Fix RegLogin failed error seen on Lancer FC during port bounce
lpfc: Fix driver crash when module parameter lpfc_fcp_io_channel set to 16
lpfc: Fix crash in fcp command completion path.
lpfc: Fix RDP Speed reporting.
lpfc: Fix mbox reuse in PLOGI completion
lpfc: Fix external loopback failure.
lpfc: Fix DMA faults observed upon plugging loopback connector
Jan Beulich (1):
igb: fix NULL derefs due to skipped SR-IOV enabling
Jan Kara (4):
ext4: fix xattr shifting when expanding inodes
ext4: fix xattr shifting when expanding inodes part 2
ext4: properly align shifted xattrs when expanding inodes
ext4: avoid deadlock when expanding inode size
Jarod Wilson (1):
igb: don't unmap NULL hw_addr
Javier Gonzalez (1):
lightnvm: add check after mempool allocation
Jesse Brandeburg (1):
i40e: fix: do not sleep in netdev_ops
Johannes Weiner (1):
proc: revert /proc/<pid>/maps [stack:TID] annotation
John Stultz (4):
time: Verify time values in adjtimex ADJ_SETOFFSET to avoid overflow
ntp: Fix ADJ_SETOFFSET being used w/ ADJ_NANO
timekeeping: Cap array access in timekeeping_debug
timekeeping: Avoid taking lock in NMI path with CONFIG_DEBUG_TIMEKEEPING
K. Y. Srinivasan (1):
Drivers: hv: util: Increase the timeout for util services
Kai-Heng Feng (1):
ALSA: hda - Enable subwoofer on Dell Inspiron 7559
Kangjie Lu (2):
tipc: fix an infoleak in tipc_nl_compat_link_dump
rds: fix an infoleak in rds_inc_info_copy
Keith Busch (1):
blk-mq: End unstarted requests on dying queue
Ken Lin (1):
ALSA: usb-audio: Add sample rate inquiry quirk for B850V3 CP2114
Kent Overstreet (1):
bcache: RESERVE_PRIO is too small by one when prio_buckets() is a power of two.
Kiran Patil (1):
i40e: Fix memory leaks, sideband filter programming
Krzysztof Kozlowski (1):
hwrng: exynos - Disable runtime PM on probe failure
Leonidas Da Silva Barbosa (1):
crypto: vmx - IV size failing on skcipher API
Libin Yang (1):
ALSA: hda - add codec support for Kabylake display audio codec
Loc Ho (1):
clk: xgene: Fix divider with non-zero shift value
Maarten Lankhorst (1):
drm/atomic: Do not unset crtc when an encoder is stolen
Manoj Kumar (4):
cxlflash: Fix to resolve cmd leak after host reset
cxlflash: Resolve oops in wait_port_offline
cxlflash: Enable device id for future IBM CXL adapter
cxlflash: Fix to escalate LINK_RESET also on port 1
Manoj N. Kumar (3):
cxlflash: Fix to avoid unnecessary scan with internal LUNs
cxlflash: Fix to resolve dead-lock during EEH recovery
cxlflash: Move to exponential back-off when cmd_room is not available
Marc Zyngier (1):
hrtimer: Catch illegal clockids
Martin Schwidefsky (1):
s390/sclp_ctl: fix potential information leak with /dev/sclp
Maruthi Srinivas Bayyavarapu (1):
ALSA: hda: add AMD Polaris-10/11 AZ PCI IDs with proper driver caps
Matias Bjørling (1):
lightnvm: fix missing grown bad block type
Matthew R. Ochs (1):
cxlflash: Fix to avoid virtual LUN failover failure
Matthias Schwarzott (1):
tda10071: Fix dependency to REGMAP_I2C
Michael Neuling (1):
powerpc/tm: Avoid SLB faults in treclaim/trecheckpoint when RI=0
Michał Winiarski (1):
drm/i915/skl: Add missing SKL ids
Mika Båtsman (1):
regulator: anatop: allow regulator to be in bypass mode
Miklos Szeredi (4):
ovl: don't copy up opaqueness
ovl: remove posix_acl_default from workdir
ovl: listxattr: use strnlen()
ovl: fix workdir creation
Ming Lei (1):
block: make sure a big bio is split into at most 256 bvecs
Mitch Williams (4):
i40evf: handle many MAC filters correctly
i40e: properly delete VF MAC filters
i40e: don't add zero MAC filter
i40evf: check rings before freeing resources
Nicolai Stange (1):
lib/mpi: mpi_write_sgl(): fix skipping of leading zero limbs
Olaf Hering (4):
Drivers: hv: utils: run polling callback always in interrupt context
tools: hv: report ENOSPC errors in hv_fcopy_daemon
Drivers: hv: util: catch allocation errors
Drivers: hv: vss: run only on supported host versions
Oleg Nesterov (1):
uprobes: Fix the memcg accounting
Parthasarathy Bhuvaragan (1):
tipc: fix nullptr crash during subscription cancel
Paulo Flabiano Smorigo (1):
crypto: vmx - comply with ABIs that specify vrsave as reserved.
Pavel Rojtberg (2):
Input: xpad - correctly handle concurrent LED and FF requests
Input: xpad - move pending clear to the correct location
Richard Alpe (1):
tipc: fix nl compat regression for link statistics
Rob Clark (1):
drm/msm: fix use of copy_from_user() while holding spinlock
Sai Gurrappadi (1):
cpufreq: Fix GOV_LIMITS handling for the userspace governor
Sebastian Ott (3):
s390/cio: fix measurement characteristics memleak s390/cio: ensure consistent measurement state s390/cio: update measurement characteristics
Seth Forshee (2):
fs: Check for invalid i_uid in may_follow_link()
cred: Reject inodes with invalid ids in set_create_file_as()
Shannon Nelson (1):
i40e: clean whole mac filter list
Shrirang Bagul (1):
ALSA: hda - Add headset mic quirk for Dell Inspiron 5468
Stefan Agner (1):
pwm: fsl-ftm: Fix clock enable/disable when using PM
Suganath prabu Subramani (1):
mpt3sas: Fix for Asynchronous completion of timedout IO and task abort of timedout IO.
Sumit Saxena (2):
megaraid_sas: Do not allow PCI access during OCR
megaraid_sas: Fix SMAP issue
Sunil Goutham (4):
net: thunderx: Fix for Qset error due to CQ full
net: thunderx: Fix for multiqset not configured upon interface toggle
net: thunderx: Fix receive packet stats
net: thunderx: Fix link status reporting
Swapnil Nagle (1):
qla2xxx: Use ATIO type to send correct tmr response
Takashi Iwai (1):
ALSA: rawmidi: Fix possible deadlock with virmidi registration
Takashi Sakamoto (2):
ALSA: firewire-tascam: accessing to user space outside spinlock
ALSA: fireworks: accessing to user space outside spinlock
Tedd Ho-Jeong An (1):
Bluetooth: Add support for Intel Bluetooth device 8265 [8087:0a2b]
Theodore Ts'o (1):
ext4: validate that metadata blocks do not overlap superblock
Tirumalesh Chalamarla (2):
irqchip/gic-v3: Make sure read from ICC_IAR1_EL1 is visible on redestributor
arm64: KVM: Configure TCR_EL2.PS at runtime
Todd Fujinaka (1):
igb: use the correct i210 register for EEMNGCTL
Tomas Henzl (2):
megaraid_sas: Add an i/o barrier
mpt3sas: A correction in unmap_resources
Tyler Hicks (2):
kernel: Add noaudit variant of ns_capable()
net: Use ns_capable_noaudit() when determining net sysctl permissions
Tyrel Datwyler (1):
scsi: fix upper bounds check of sense key in scsi_sense_key_string()
Uma Krishnan (1):
cxl: Enable PCI device ID for future IBM CXL adapter
Ursula Braun (1):
qeth: initialize net_device with carrier off
Vaibhav Jain (2):
cxl: Fix possible idr warning when contexts are released
cxl: Fix DSI misses when the context owning task exits
Vegard Nossum (3):
ALSA: timer: fix NULL pointer dereference in read()/ioctl() race
ALSA: timer: fix division by zero after SNDRV_TIMER_IOCTL_CONTINUE
ALSA: timer: fix NULL pointer dereference on memory allocation failure
Vikas Shivappa (2):
perf/x86/cqm: Fix CQM handling of grouping events into a cache_group perf/x86/cqm: Fix CQM memory leak and notifier leak
Ville Syrjälä (2):
drm/i915: Fix hpd live status bits for g4x
drm/i915: Check VBT for port presence in addition to the strap on VLV/CHV
Vincent Stehlé (1):
ubifs: Fix assertion in layout_in_gaps()
Vitaly Kuznetsov (5):
Drivers: hv: vmbus: avoid infinite loop in init_vp_index()
Drivers: hv: vmbus: avoid scheduling in interrupt context in vmbus_initiate_unload()
Drivers: hv: vmbus: don't manipulate with clocksources on crash
clocksource: Allow unregistering the watchdog
x86/hyperv: Avoid reporting bogus NMI status for Gen2 instances
Vladimir Zapolskiy (2):
pwm: lpc32xx: correct number of PWM channels from 2 to 1
pwm: lpc32xx: fix and simplify duty cycle and period calculations
Wanpeng Li (1):
x86/apic: Do not init irq remapping if ioapic is disabled
Wenwei Tao (3):
lightnvm: fix bio submission issue
lightnvm: unlock rq and free ppa_list on submission fail
lightnvm: fix locking and mempool in rrpc_lun_gc
Zhao Lei (1):
btrfs: Continue write in case of can_not_nocow
Greg KH
maintainerDocumentation/filesystems/proc.txt +3 -6
@@ -346,7 +346,7 @@ address perms offset dev inode pathname a7cb1000-a7cb2000 ---p 00000000 00:00 0 a7cb2000-a7eb2000 rw-p 00000000 00:00 0 a7eb2000-a7eb3000 ---p 00000000 00:00 0 -a7eb3000-a7ed5000 rw-p 00000000 00:00 0 [stack:1001] +a7eb3000-a7ed5000 rw-p 00000000 00:00 0 a7ed5000-a8008000 r-xp 00000000 03:00 4222 /lib/libc.so.6 a8008000-a800a000 r--p 00133000 03:00 4222 /lib/libc.so.6 a800a000-a800b000 rw-p 00135000 03:00 4222 /lib/libc.so.6
@@ -378,7 +378,6 @@ is not associated with a file: [heap] = the heap of the program [stack] = the stack of the main process - [stack:1001] = the stack of the thread with tid 1001 [vdso] = the "virtual dynamic shared object", the kernel system call handler
@@ -386,10 +385,8 @@ is not associated with a file: The /proc/PID/task/TID/maps is a view of the virtual memory from the viewpoint of the individual tasks of a process. In this file you will see a mapping marked -as [stack] if that task sees it as a stack. This is a key difference from the -content of /proc/PID/maps, where you will see all mappings that are being used -as stack by all of those tasks. Hence, for the example above, the task-level -map, i.e. /proc/PID/task/TID/maps for thread 1001 will look like this: +as [stack] if that task sees it as a stack. Hence, for the example above, the +task-level map, i.e. /proc/PID/task/TID/maps for thread 1001 will look like this: 08048000-08049000 r-xp 00000000 03:00 8312 /opt/test 08049000-0804a000 rw-p 00001000 03:00 8312 /opt/test
Makefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 20 +SUBLEVEL = 21 EXTRAVERSION = NAME = Blurry Fish Butt
arch/arm64/Kconfig +20 -0
@@ -391,6 +391,15 @@ config CAVIUM_ERRATUM_22375 If unsure, say Y. +config CAVIUM_ERRATUM_23144 + bool "Cavium erratum 23144: ITS SYNC hang on dual socket system" + depends on NUMA + default y + help + ITS SYNC command hang for cross node io and collections/cpu mapping. + + If unsure, say Y. + config CAVIUM_ERRATUM_23154 bool "Cavium erratum 23154: Access to ICC_IAR1_EL1 is not sync'ed" default y
@@ -401,6 +410,17 @@ config CAVIUM_ERRATUM_23154 If unsure, say Y. +config CAVIUM_ERRATUM_27456 + bool "Cavium erratum 27456: Broadcast TLBI instructions may cause icache corruption" + default y + help + On ThunderX T88 pass 1.x through 2.1 parts, broadcast TLBI + instructions may cause the icache to become corrupted if it + contains data for a non-current ASID. The fix is to + invalidate the icache when changing the mm context. + + If unsure, say Y. + endmenu
arch/arm64/include/asm/arch_gicv3.h +1 -0
@@ -103,6 +103,7 @@ static inline u64 gic_read_iar_common(void)u64 irqstat; asm volatile("mrs_s %0, " __stringify(ICC_IAR1_EL1) : "=r" (irqstat)); +dsb (sy);return irqstat; }
arch/arm64/include/asm/cpufeature.h +2 -1
@@ -30,8 +30,9 @@#define ARM64_HAS_LSE_ATOMICS 5#define ARM64_WORKAROUND_CAVIUM_23154 6#define ARM64_WORKAROUND_834220 7 +#define ARM64_WORKAROUND_CAVIUM_27456 8 -#define ARM64_NCAPS 8 +#define ARM64_NCAPS 9#ifndef __ASSEMBLY__
arch/arm64/include/asm/kvm_arm.h +0 -2
@@ -107,8 +107,6 @@#define TCR_EL2_MASK (TCR_EL2_TG0 | TCR_EL2_SH0 | \ TCR_EL2_ORGN0 | TCR_EL2_IRGN0 | TCR_EL2_T0SZ) -#define TCR_EL2_FLAGS (TCR_EL2_RES1 | TCR_EL2_PS_40B) -/* VTCR_EL2 Registers bits */ #define VTCR_EL2_RES1 (1 << 31)#define VTCR_EL2_PS_MASK (7 << 16)
arch/arm64/kernel/cpu_errata.c +9 -0
@@ -100,6 +100,15 @@ const struct arm64_cpu_capabilities arm64_errata[] = { MIDR_RANGE(MIDR_THUNDERX, 0x00, 0x01), },#endif +#ifdef CONFIG_CAVIUM_ERRATUM_27456 + { +/* Cavium ThunderX, T88 pass 1.x - 2.1 */ + .desc = "Cavium erratum 27456", + .capability = ARM64_WORKAROUND_CAVIUM_27456, + MIDR_RANGE(MIDR_THUNDERX, 0x00, + (1 << MIDR_VARIANT_SHIFT) | 1), + }, +#endif { } };
arch/arm64/kvm/hyp-init.S +8 -5
@@ -64,7 +64,7 @@ __do_hyp_init: mrs x4, tcr_el1 ldr x5, =TCR_EL2_MASK and x4, x4, x5 - ldr x5, =TCR_EL2_FLAGS + mov x5, #TCR_EL2_RES1 orr x4, x4, x5 #ifndef CONFIG_ARM64_VA_BITS_48
@@ -85,15 +85,18 @@ __do_hyp_init: ldr_l x5, idmap_t0sz bfi x4, x5, TCR_T0SZ_OFFSET, TCR_TxSZ_WIDTH #endif - msr tcr_el2, x4 - - ldr x4, =VTCR_EL2_FLAGS /* * Read the PARange bits from ID_AA64MMFR0_EL1 and set the PS bits in - * VTCR_EL2. + * TCR_EL2 and VTCR_EL2. */ mrs x5, ID_AA64MMFR0_EL1 bfi x4, x5, #16, #3 + + msr tcr_el2, x4 + + ldr x4, =VTCR_EL2_FLAGS + bfi x4, x5, #16, #3 + msr vtcr_el2, x4 mrs x4, mair_el1
arch/arm64/mm/proc.S +12 -0
@@ -25,6 +25,8 @@ #include <asm/hwcap.h> #include <asm/pgtable-hwdef.h> #include <asm/pgtable.h> +#include <asm/cpufeature.h> +#include <asm/alternative.h> #include "proc-macros.S"
@@ -137,7 +139,17 @@ ENTRY(cpu_do_switch_mm) bfi x0, x1, #48, #16 // set the ASID msr ttbr0_el1, x0 // set TTBR0 isb +alternative_if_not ARM64_WORKAROUND_CAVIUM_27456 ret + nop + nop + nop +alternative_else + ic iallu + dsb nsh + isb + ret +alternative_endif ENDPROC(cpu_do_switch_mm) .section ".text.init", #alloc, #execinstr
arch/metag/include/asm/atomic_lnkget.h +1 -1
@@ -61,7 +61,7 @@ static inline int atomic_##op##_return(int i, atomic_t *v) \" CMPT %0, #HI(0x02000000)\n" \" BNZ 1b\n" \ : "=&d" (temp), "=&da" (result) \ -: " da" (&v->counter), " bd" (i) \ +: " da" (&v->counter), " br" (i) \ : "cc"); \ \ smp_mb(); \
arch/powerpc/include/asm/icswx.h +1 -0
@@ -164,6 +164,7 @@ struct coprocessor_request_block {#define ICSWX_INITIATED (0x8)#define ICSWX_BUSY (0x4)#define ICSWX_REJECTED (0x2) +#define ICSWX_XERS0 (0x1)/* undefined or set from XERSO. */ static inline int icswx (__be32 ccw,struct coprocessor_request_block *crb) {
arch/powerpc/kernel/tm.S +44 -17
95 lines not on this page · raw message
arch/s390/crypto/prng.c +2 -0
@@ -669,11 +669,13 @@ static const struct file_operations prng_tdes_fops = {static struct miscdevice prng_sha512_dev = { .name ="prandom" , .minor =MISC_DYNAMIC_MINOR , + .mode =0644 , .fops = &prng_sha512_fops, };static struct miscdevice prng_tdes_dev = { .name ="prandom" , .minor =MISC_DYNAMIC_MINOR , + .mode =0644 , .fops = &prng_tdes_fops, };
arch/s390/include/asm/pci_dma.h +2 -0
@@ -23,6 +23,8 @@ enum zpci_ioat_dtype {#define ZPCI_IOTA_FS_2G 2#define ZPCI_KEY (PAGE_DEFAULT_KEY << 5) +#define ZPCI_TABLE_SIZE_RT (1UL << 42) +#define ZPCI_IOTA_STO_FLAG (ZPCI_IOTA_IOT_ENABLED | ZPCI_KEY | ZPCI_IOTA_DT_ST)#define ZPCI_IOTA_RTTO_FLAG (ZPCI_IOTA_IOT_ENABLED | ZPCI_KEY | ZPCI_IOTA_DT_RT)#define ZPCI_IOTA_RSTO_FLAG (ZPCI_IOTA_IOT_ENABLED | ZPCI_KEY | ZPCI_IOTA_DT_RS)
arch/s390/pci/pci.c +1 -2
@@ -701,8 +701,7 @@ static int zpci_restore(struct device *dev) goto out;zpci_map_resources (pdev); -zpci_register_ioat (zdev,0 , zdev->start_dma +PAGE_OFFSET , - zdev->start_dma + zdev->iommu_size -1 , +zpci_register_ioat (zdev,0 , zdev->start_dma, zdev->end_dma, (u64 ) zdev->dma_table); out:
arch/s390/pci/pci_dma.c +14 -5
@@ -458,7 +458,19 @@ int zpci_dma_init_device(struct zpci_dev *zdev) goto out_clean; } - zdev->iommu_size = (unsigned long ) high_memory -PAGE_OFFSET ; +/* +* Restrict the iommu bitmap size to the minimum of the following: +* - main memory size +* - 3-level pagetable address limit minus start_dma offset +* - DMA address range allowed by the hardware (clp query pci fn) +* +* Also set zdev->end_dma to the actual end address of the usable +* range, instead of the theoretical maximum as reported by hardware. +*/ + zdev->iommu_size =min3 ((u64 ) high_memory, +ZPCI_TABLE_SIZE_RT - zdev->start_dma, + zdev->end_dma - zdev->start_dma +1 ); + zdev->end_dma = zdev->start_dma + zdev->iommu_size -1 ; zdev->iommu_pages = zdev->iommu_size >>PAGE_SHIFT ; zdev->iommu_bitmap =vzalloc (zdev->iommu_pages /8 );if (!zdev->iommu_bitmap) {
@@ -466,10 +478,7 @@ int zpci_dma_init_device(struct zpci_dev *zdev) goto out_reg; } - rc =zpci_register_ioat (zdev, -0 , - zdev->start_dma +PAGE_OFFSET , - zdev->start_dma + zdev->iommu_size -1 , + rc =zpci_register_ioat (zdev,0 , zdev->start_dma, zdev->end_dma, (u64 ) zdev->dma_table);if (rc) goto out_reg;
arch/x86/kernel/apic/apic.c +3 -0
@@ -1587,6 +1587,9 @@ void __init enable_IR_x2apic(void)unsigned long flags;int ret, ir_stat; +if (skip_ioapic_setup) +return ; + ir_stat =irq_remapping_prepare ();if (ir_stat <0 && !x2apic_supported ())return ;
arch/x86/kernel/cpu/mshyperv.c +12 -0
@@ -152,6 +152,11 @@ static struct clocksource hyperv_cs = { .flags = CLOCK_SOURCE_IS_CONTINUOUS, }; +static unsigned char hv_get_nmi_reason (void ) +{ +return 0 ; +} +static void __init ms_hyperv_init_platform (void ) {/*
@@ -191,6 +196,13 @@ static void __init ms_hyperv_init_platform(void) machine_ops.crash_shutdown = hv_machine_crash_shutdown;#endif mark_tsc_unstable ("running on Hyper-V" ); + +/* +* Generation 2 instances don't support reading the NMI status from +* 0x61 port. +*/ +if (efi_enabled (EFI_BOOT )) + x86_platform.get_nmi_reason = hv_get_nmi_reason; }const __refconst struct hypervisor_x86 x86_hyper_ms_hyperv = {
arch/x86/kernel/cpu/perf_event_intel_cqm.c +42 -14
118 lines not on this page · raw message
block/blk-core.c +3 -1
@@ -515,7 +515,9 @@ EXPORT_SYMBOL_GPL(blk_queue_bypass_end);void blk_set_queue_dying (struct request_queue *q) { -queue_flag_set_unlocked (QUEUE_FLAG_DYING , q); +spin_lock_irq (q->queue_lock); +queue_flag_set (QUEUE_FLAG_DYING , q); +spin_unlock_irq (q->queue_lock);if (q->mq_ops)blk_mq_wake_waiters (q);
block/blk-merge.c +22 -0
@@ -92,9 +92,31 @@ static struct bio *blk_bio_segment_split(struct request_queue *q,bool do_split = true;struct bio *new =NULL ;const unsigned max_sectors =get_max_io_size (q, bio); +unsigned bvecs =0 ;bio_for_each_segment (bv, bio, iter) {/* +* With arbitrary bio size, the incoming bio may be very +* big. We have to split the bio into small bios so that +* each holds at most BIO_MAX_PAGES bvecs because +* bio_clone() can fail to allocate big bvecs. +* +* It should have been better to apply the limit per +* request queue in which bio_clone() is involved, +* instead of globally. The biggest blocker is the +* bio_clone() in bio bounce. +* +* If bio is splitted by this reason, we should have +* allowed to continue bios merging, but don't do +* that now for making the change simple. +* +* TODO: deal with bio bounce's bio_clone() gracefully +* and convert the global limit into per-queue limit. +*/ +if (bvecs++ >=BIO_MAX_PAGES ) + goto split; + +/* * If the queue doesn't support SG gaps and adding this * offset would create a gap, disallow it. */
block/blk-mq.c +4 -2
@@ -601,8 +601,10 @@ static void blk_mq_check_expired(struct blk_mq_hw_ctx *hctx,* If a request wasn't started before the queue was * marked dying, kill it here or it'll go unnoticed. */ -if (unlikely (blk_queue_dying (rq->q))) -blk_mq_complete_request (rq, -EIO ); +if (unlikely (blk_queue_dying (rq->q))) { + rq->errors = -EIO ; +blk_mq_end_request (rq, rq->errors); + }return ; }if (rq->cmd_flags &REQ_NO_TIMEOUT )
drivers/bluetooth/btusb.c +6 -5
@@ -2056,12 +2056,13 @@ static int btusb_setup_intel_new(struct hci_dev *hdev)return -EINVAL ; } -/* At the moment only the hardware variant iBT 3.0 (LnP/SfP) is -* supported by this firmware loading method. This check has been -* put in place to ensure correct forward compatibility options -* when newer hardware variants come along. +/* At the moment the iBT 3.0 hardware variants 0x0b (LnP/SfP) +* and 0x0c (WsP) are supported by this firmware loading method. +* +* This check has been put in place to ensure correct forward +* compatibility options when newer hardware variants come along. */ -if (ver->hw_variant !=0x0b ) { +if (ver->hw_variant !=0x0b && ver->hw_variant !=0x0c ) {BT_ERR ("%s: Unsupported Intel hardware variant (%u)" , hdev->name, ver->hw_variant);kfree_skb (skb);
drivers/char/hw_random/exynos-rng.c +8 -1
@@ -118,6 +118,7 @@ static int exynos_rng_probe(struct platform_device *pdev) {struct exynos_rng *exynos_rng;struct resource *res; +int ret; exynos_rng =devm_kzalloc (&pdev->dev,sizeof (struct exynos_rng ),GFP_KERNEL );
@@ -145,7 +146,13 @@ static int exynos_rng_probe(struct platform_device *pdev)pm_runtime_use_autosuspend (&pdev->dev);pm_runtime_enable (&pdev->dev); -return devm_hwrng_register (&pdev->dev, &exynos_rng->rng); + ret =devm_hwrng_register (&pdev->dev, &exynos_rng->rng); +if (ret) { +pm_runtime_dont_use_autosuspend (&pdev->dev); +pm_runtime_disable (&pdev->dev); + } + +return ret; }#ifdef CONFIG_PM
drivers/clk/clk-xgene.c +2 -1
@@ -351,7 +351,8 @@ static int xgene_clk_set_rate(struct clk_hw *hw, unsigned long rate,/* Set new divider */ data =xgene_clk_read (pclk->param.divider_reg + pclk->param.reg_divider_offset); - data &= ~((1 << pclk->param.reg_divider_width) -1 ); + data &= ~((1 << pclk->param.reg_divider_width) -1 ) + << pclk->param.reg_divider_shift; data |= divider;xgene_clk_write (data, pclk->param.divider_reg + pclk->param.reg_divider_offset);
drivers/cpufreq/cpufreq_userspace.c +38 -5
95 lines not on this page · raw message
drivers/crypto/caam/caamalg.c +37 -40
245 lines not on this page · raw message
drivers/crypto/nx/nx-842-powernv.c +8 -4
@@ -442,6 +442,14 @@ static int nx842_powernv_function(const unsigned char *in, unsigned int inlen, (unsigned int )ccw, (unsigned int)be32_to_cpu(crb->ccw)); +/* +* NX842 coprocessor sets 3rd bit in CR register with XER[S0]. +* XER[S0] is the integer summary overflow bit which is nothing +* to do NX. Since this bit can be set with other return values, +* mask this bit. +*/ + ret &= ~ICSWX_XERS0 ; +switch (ret) {case ICSWX_INITIATED : ret =wait_for_csb (wmem, csb);
@@ -454,10 +462,6 @@ static int nx842_powernv_function(const unsigned char *in, unsigned int inlen,pr_err_ratelimited ("ICSWX rejected\n" ); ret = -EPROTO ;break ; -default : -pr_err_ratelimited ("Invalid ICSWX return code %x\n" , ret); - ret = -EPROTO ; -break ; }if (!ret)
drivers/crypto/vmx/aes_cbc.c +1 -1
@@ -191,7 +191,7 @@ struct crypto_alg p8_aes_cbc_alg = { .cra_init = p8_aes_cbc_init, .cra_exit = p8_aes_cbc_exit, .cra_blkcipher = { - .ivsize = 0, + .ivsize = AES_BLOCK_SIZE, .min_keysize = AES_MIN_KEY_SIZE, .max_keysize = AES_MAX_KEY_SIZE, .setkey = p8_aes_cbc_setkey,
drivers/crypto/vmx/aes_ctr.c +1 -1
@@ -175,7 +175,7 @@ struct crypto_alg p8_aes_ctr_alg = { .cra_init = p8_aes_ctr_init, .cra_exit = p8_aes_ctr_exit, .cra_blkcipher = { - .ivsize = 0, + .ivsize = AES_BLOCK_SIZE, .min_keysize = AES_MIN_KEY_SIZE, .max_keysize = AES_MAX_KEY_SIZE, .setkey = p8_aes_ctr_setkey,
drivers/crypto/vmx/ppc-xlate.pl +20 -0
@@ -139,6 +139,26 @@ my $vmr = sub { " vor $vx,$vy,$vy"; }; +# Some ABIs specify vrsave, special-purpose register #256, as reserved +# for system use. +my $no_vrsave = ($flavour =~ /linux-ppc64le/); +my $mtspr = sub { + my ($f,$idx,$ra) = @_; + if ($idx == 256 && $no_vrsave) { + " or $ra,$ra,$ra"; + } else { + " mtspr $idx,$ra"; + } +}; +my $mfspr = sub { + my ($f,$rd,$idx) = @_; + if ($idx == 256 && $no_vrsave) { + " li $rd,-1"; + } else { + " mfspr $rd,$idx"; + } +}; + # PowerISA 2.06 stuff sub vsxmem_op { my ($f, $vrt, $ra, $rb, $op) = @_;
drivers/gpu/drm/amd/amdgpu/atombios_dp.c +36 -60
137 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/cz_dpm.c +1 -3
@@ -1955,10 +1955,8 @@ static void cz_dpm_powergate_vce(struct amdgpu_device *adev, bool gate) } }else {/*pi->caps_vce_pg*/ cz_update_vce_dpm (adev); -cz_enable_vce_dpm (adev, true); +cz_enable_vce_dpm (adev, !gate); } - -return ; }const struct amd_ip_funcs cz_dpm_ip_funcs = {
drivers/gpu/drm/drm_atomic_helper.c +0 -4
@@ -108,7 +108,6 @@ steal_encoder(struct drm_atomic_state *state,struct drm_crtc_state *crtc_state;struct drm_connector *connector;struct drm_connector_state *connector_state; -int ret;/* * We can only steal an encoder coming from a connector, which means we
@@ -139,9 +138,6 @@ steal_encoder(struct drm_atomic_state *state,if (IS_ERR (connector_state))return PTR_ERR (connector_state); - ret =drm_atomic_set_crtc_for_connector (connector_state,NULL ); -if (ret) -return ret; connector_state->best_encoder =NULL ; }
drivers/gpu/drm/drm_crtc.c +3 -0
@@ -5231,6 +5231,9 @@ int drm_mode_page_flip_ioctl(struct drm_device *dev,unsigned long flags;int ret = -EINVAL ; +if (!drm_core_check_feature (dev,DRIVER_MODESET )) +return -EINVAL ; +if (page_flip->flags & ~DRM_MODE_PAGE_FLIP_FLAGS || page_flip->reserved !=0 )return -EINVAL ;
drivers/gpu/drm/drm_gem.c +17 -12
@@ -338,27 +338,32 @@ drm_gem_handle_create_tail(struct drm_file *file_priv,spin_unlock (&file_priv->table_lock);idr_preload_end ();mutex_unlock (&dev->object_name_lock); -if (ret <0 ) { -drm_gem_object_handle_unreference_unlocked (obj); -return ret; - } +if (ret <0 ) + goto err_unref; + *handlep = ret; ret =drm_vma_node_allow (&obj->vma_node, file_priv->filp); -if (ret) { -drm_gem_handle_delete (file_priv, *handlep); -return ret; - } +if (ret) + goto err_remove;if (dev->driver->gem_open_object) { ret = dev->driver->gem_open_object (obj, file_priv); -if (ret) { -drm_gem_handle_delete (file_priv, *handlep); -return ret; - } +if (ret) + goto err_revoke; }return 0 ; + +err_revoke: +drm_vma_node_revoke (&obj->vma_node, file_priv->filp); +err_remove: +spin_lock (&file_priv->table_lock); +idr_remove (&file_priv->object_idr, *handlep); +spin_unlock (&file_priv->table_lock); +err_unref: +drm_gem_object_handle_unreference_unlocked (obj); +return ret; }/**
drivers/gpu/drm/i915/i915_drv.h +3 -0
@@ -3313,6 +3313,9 @@ static inline bool intel_gmbus_is_forced_bit(struct i2c_adapter *adapter) }extern void intel_i2c_reset (struct drm_device *dev); +/* intel_bios.c */ +bool intel_bios_is_port_present (struct drm_i915_private *dev_priv,enum port port); +/* intel_opregion.c */ #ifdef CONFIG_ACPI extern int intel_opregion_setup (struct drm_device *dev);
drivers/gpu/drm/i915/i915_reg.h +8 -7
@@ -3240,19 +3240,20 @@ enum skl_disp_power_wells {#define PORT_HOTPLUG_STAT (dev_priv->info.display_mmio_offset + 0x61114)/* -* HDMI/DP bits are gen4+ +* HDMI/DP bits are g4x+ * * WARNING: Bspec for hpd status bits on gen4 seems to be completely confused. * Please check the detailed lore in the commit message for for experimental * evidence. */ -#define PORTD_HOTPLUG_LIVE_STATUS_G4X (1 << 29) +/* Bspec says GM45 should match G4X/VLV/CHV, but reality disagrees */ +#define PORTD_HOTPLUG_LIVE_STATUS_GM45 (1 << 29) +#define PORTC_HOTPLUG_LIVE_STATUS_GM45 (1 << 28) +#define PORTB_HOTPLUG_LIVE_STATUS_GM45 (1 << 27) +/* G4X/VLV/CHV DP/HDMI bits again match Bspec */ +#define PORTD_HOTPLUG_LIVE_STATUS_G4X (1 << 27)#define PORTC_HOTPLUG_LIVE_STATUS_G4X (1 << 28) -#define PORTB_HOTPLUG_LIVE_STATUS_G4X (1 << 27) -/* VLV DP/HDMI bits again match Bspec */ -#define PORTD_HOTPLUG_LIVE_STATUS_VLV (1 << 27) -#define PORTC_HOTPLUG_LIVE_STATUS_VLV (1 << 28) -#define PORTB_HOTPLUG_LIVE_STATUS_VLV (1 << 29) +#define PORTB_HOTPLUG_LIVE_STATUS_G4X (1 << 29)#define PORTD_HOTPLUG_INT_STATUS (3 << 21)#define PORTD_HOTPLUG_INT_LONG_PULSE (2 << 21)#define PORTD_HOTPLUG_INT_SHORT_PULSE (1 << 21)
drivers/gpu/drm/i915/intel_bios.c +39 -0
@@ -1351,3 +1351,42 @@ intel_parse_bios(struct drm_device *dev)return 0 ; } + +/** +* intel_bios_is_port_present - is the specified digital port present +* @dev_priv: i915 device instance +* @port: port to check +* +* Return true if the device in %port is present. +*/ +bool intel_bios_is_port_present (struct drm_i915_private *dev_priv,enum port port) +{ +static const struct { +u16 dp, hdmi; + } port_mapping[] = { + [PORT_B ] = {DVO_PORT_DPB ,DVO_PORT_HDMIB , }, + [PORT_C ] = {DVO_PORT_DPC ,DVO_PORT_HDMIC , }, + [PORT_D ] = {DVO_PORT_DPD ,DVO_PORT_HDMID , }, + [PORT_E ] = {DVO_PORT_DPE ,DVO_PORT_HDMIE , }, + }; +int i; + +/* FIXME maybe deal with port A as well? */ +if (WARN_ON (port ==PORT_A ) || port >=ARRAY_SIZE (port_mapping)) +return false; + +if (!dev_priv->vbt.child_dev_num) +return false; + +for (i =0 ; i < dev_priv->vbt.child_dev_num; i++) { +const union child_device_config *p_child = + &dev_priv->vbt.child_dev[i]; +if ((p_child->common.dvo_port == port_mapping[port].dp || + p_child->common.dvo_port == port_mapping[port].hdmi) && + (p_child->common.device_type & (DEVICE_TYPE_TMDS_DVI_SIGNALING | +DEVICE_TYPE_DISPLAYPORT_OUTPUT ))) +return true; + } + +return false; +}
drivers/gpu/drm/i915/intel_display.c +26 -14
@@ -14160,6 +14160,8 @@ static void intel_setup_outputs(struct drm_device *dev)if (I915_READ (PCH_DP_D ) &DP_DETECTED )intel_dp_init (dev,PCH_DP_D ,PORT_D ); }else if (IS_VALLEYVIEW (dev)) { +bool has_edp, has_port; +/* * The DP_DETECTED bit is the latched state of the DDC * SDA pin at boot. However since eDP doesn't require DDC
@@ -14168,27 +14170,37 @@ static void intel_setup_outputs(struct drm_device *dev)* Thus we can't rely on the DP_DETECTED bit alone to detect * eDP ports. Consult the VBT as well as DP_DETECTED to * detect eDP ports. +* +* Sadly the straps seem to be missing sometimes even for HDMI +* ports (eg. on Voyo V3 - CHT x7-Z8700), so check both strap +* and VBT for the presence of the port. Additionally we can't +* trust the port type the VBT declares as we've seen at least +* HDMI ports that the VBT claim are DP or eDP. */ -if (I915_READ (VLV_HDMIB ) &SDVO_DETECTED && - !intel_dp_is_edp (dev,PORT_B )) + has_edp =intel_dp_is_edp (dev,PORT_B ); + has_port =intel_bios_is_port_present (dev_priv,PORT_B ); +if (I915_READ (VLV_DP_B ) &DP_DETECTED || has_port) + has_edp &=intel_dp_init (dev,VLV_DP_B ,PORT_B ); +if ((I915_READ (VLV_HDMIB ) &SDVO_DETECTED || has_port) && !has_edp)intel_hdmi_init (dev,VLV_HDMIB ,PORT_B ); -if (I915_READ (VLV_DP_B ) &DP_DETECTED || -intel_dp_is_edp (dev,PORT_B )) -intel_dp_init (dev,VLV_DP_B ,PORT_B ); -if (I915_READ (VLV_HDMIC ) &SDVO_DETECTED && - !intel_dp_is_edp (dev,PORT_C )) + has_edp =intel_dp_is_edp (dev,PORT_C ); + has_port =intel_bios_is_port_present (dev_priv,PORT_C ); +if (I915_READ (VLV_DP_C ) &DP_DETECTED || has_port) + has_edp &=intel_dp_init (dev,VLV_DP_C ,PORT_C ); +if ((I915_READ (VLV_HDMIC ) &SDVO_DETECTED || has_port) && !has_edp)intel_hdmi_init (dev,VLV_HDMIC ,PORT_C ); -if (I915_READ (VLV_DP_C ) &DP_DETECTED || -intel_dp_is_edp (dev,PORT_C )) -intel_dp_init (dev,VLV_DP_C ,PORT_C );if (IS_CHERRYVIEW (dev)) { -/* eDP not supported on port D, so don't check VBT */ -if (I915_READ (CHV_HDMID ) &SDVO_DETECTED ) -intel_hdmi_init (dev,CHV_HDMID ,PORT_D ); -if (I915_READ (CHV_DP_D ) &DP_DETECTED ) +/* +* eDP not supported on port D, +* so no need to worry about it +*/ + has_port =intel_bios_is_port_present (dev_priv,PORT_D ); +if (I915_READ (CHV_DP_D ) &DP_DETECTED || has_port)intel_dp_init (dev,CHV_DP_D ,PORT_D ); +if (I915_READ (CHV_HDMID ) &SDVO_DETECTED || has_port) +intel_hdmi_init (dev,CHV_HDMID ,PORT_D ); }intel_dsi_init (dev);
drivers/gpu/drm/i915/intel_dp.c +13 -13
@@ -4592,20 +4592,20 @@ static bool g4x_digital_port_connected(struct drm_i915_private *dev_priv,return I915_READ (PORT_HOTPLUG_STAT ) & bit; } -static bool vlv_digital_port_connected (struct drm_i915_private *dev_priv, -struct intel_digital_port *port) +static bool gm45_digital_port_connected (struct drm_i915_private *dev_priv, +struct intel_digital_port *port) {u32 bit;switch (port->port) {case PORT_B : - bit =PORTB_HOTPLUG_LIVE_STATUS_VLV ; + bit =PORTB_HOTPLUG_LIVE_STATUS_GM45 ;break ;case PORT_C : - bit =PORTC_HOTPLUG_LIVE_STATUS_VLV ; + bit =PORTC_HOTPLUG_LIVE_STATUS_GM45 ;break ;case PORT_D : - bit =PORTD_HOTPLUG_LIVE_STATUS_VLV ; + bit =PORTD_HOTPLUG_LIVE_STATUS_GM45 ;break ;default :MISSING_CASE (port->port);
@@ -4657,8 +4657,8 @@ bool intel_digital_port_connected(struct drm_i915_private *dev_priv,return cpt_digital_port_connected (dev_priv, port); else if (IS_BROXTON(dev_priv)) return bxt_digital_port_connected(dev_priv, port); - else if (IS_VALLEYVIEW(dev_priv)) - return vlv_digital_port_connected(dev_priv, port); + else if (IS_GM45(dev_priv)) + return gm45_digital_port_connected(dev_priv, port); else return g4x_digital_port_connected(dev_priv, port); }
@@ -6113,8 +6113,9 @@ intel_dp_init_connector(struct intel_digital_port *intel_dig_port,return true; } -void -intel_dp_init (struct drm_device *dev,int output_reg,enum port port) +bool intel_dp_init (struct drm_device *dev, +int output_reg, +enum port port) {struct drm_i915_private *dev_priv = dev->dev_private;struct intel_digital_port *intel_dig_port;
@@ -6124,7 +6125,7 @@ intel_dp_init(struct drm_device *dev, int output_reg, enum port port) intel_dig_port =kzalloc (sizeof (*intel_dig_port),GFP_KERNEL );if (!intel_dig_port) -return ; +return false; intel_connector =intel_connector_alloc ();if (!intel_connector)
@@ -6179,15 +6180,14 @@ intel_dp_init(struct drm_device *dev, int output_reg, enum port port)if (!intel_dp_init_connector (intel_dig_port, intel_connector)) goto err_init_connector; -return ; +return true; err_init_connector:drm_encoder_cleanup (encoder);kfree (intel_connector); err_connector_alloc:kfree (intel_dig_port); - -return ; +return false; }void intel_dp_mst_suspend (struct drm_device *dev)
drivers/gpu/drm/i915/intel_drv.h +1 -1
@@ -1195,7 +1195,7 @@ void intel_csr_ucode_fini(struct drm_device *dev);void assert_csr_loaded (struct drm_i915_private *dev_priv);/* intel_dp.c */ -void intel_dp_init (struct drm_device *dev,int output_reg,enum port port); +bool intel_dp_init (struct drm_device *dev,int output_reg,enum port port);bool intel_dp_init_connector (struct intel_digital_port *intel_dig_port,struct intel_connector *intel_connector); void intel_dp_set_link_params(struct intel_dp *intel_dp,
drivers/gpu/drm/i915/intel_hdmi.c +3 -0
@@ -2030,6 +2030,9 @@ void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port,enum port port = intel_dig_port->port;uint8_t alternate_ddc_pin; +DRM_DEBUG_KMS ("Adding HDMI connector on port %c\n" , +port_name (port)); +drm_connector_init (dev, connector, &intel_hdmi_connector_funcs,DRM_MODE_CONNECTOR_HDMIA );drm_connector_helper_add (connector, &intel_hdmi_connector_helper_funcs);
drivers/gpu/drm/msm/msm_gem_submit.c +22 -5
@@ -55,6 +55,14 @@ static struct msm_gem_submit *submit_create(struct drm_device *dev,return submit; } +static inline unsigned long __must_check +copy_from_user_inatomic (void *to,const void __user *from,unsigned long n) +{ +if (access_ok (VERIFY_READ , from, n)) +return __copy_from_user_inatomic (to, from, n); +return -EFAULT ; +} +static int submit_lookup_objects (struct msm_gem_submit *submit,struct drm_msm_gem_submit *args,struct drm_file *file) {
@@ -62,6 +70,7 @@ static int submit_lookup_objects(struct msm_gem_submit *submit,int ret =0 ;spin_lock (&file->table_lock); +pagefault_disable ();for (i =0 ; i < args->nr_bos; i++) {struct drm_msm_gem_submit_bo submit_bo;
@@ -70,10 +79,15 @@ static int submit_lookup_objects(struct msm_gem_submit *submit,void __user *userptr =to_user_ptr (args->bos + (i *sizeof (submit_bo))); - ret =copy_from_user (&submit_bo, userptr,sizeof (submit_bo)); -if (ret) { - ret = -EFAULT ; - goto out_unlock; + ret =copy_from_user_inatomic (&submit_bo, userptr,sizeof (submit_bo)); +if (unlikely (ret)) { +pagefault_enable (); +spin_unlock (&file->table_lock); + ret =copy_from_user (&submit_bo, userptr,sizeof (submit_bo)); +if (ret) + goto out; +spin_lock (&file->table_lock); +pagefault_disable (); }if (submit_bo.flags & ~MSM_SUBMIT_BO_FLAGS ) {
@@ -113,9 +127,12 @@ static int submit_lookup_objects(struct msm_gem_submit *submit, } out_unlock: - submit->nr_bos = i; +pagefault_enable ();spin_unlock (&file->table_lock); +out: + submit->nr_bos = i; +return ret; }
drivers/gpu/drm/radeon/atombios_dp.c +36 -72
144 lines not on this page · raw message
drivers/gpu/drm/radeon/radeon_dp_mst.c +1 -3
@@ -525,11 +525,9 @@ static bool radeon_mst_mode_fixup(struct drm_encoder *encoder,drm_mode_set_crtcinfo (adjusted_mode,0 ); {struct radeon_connector_atom_dig *dig_connector; - dig_connector = mst_enc->connector->con_priv; dig_connector->dp_lane_count =drm_dp_max_lane_count (dig_connector->dpcd); - dig_connector->dp_clock =radeon_dp_get_max_link_rate (&mst_enc->connector->base, - dig_connector->dpcd); + dig_connector->dp_clock =drm_dp_max_link_rate (dig_connector->dpcd);DRM_DEBUG_KMS ("dig clock %p %d %d\n" , dig_connector, dig_connector->dp_lane_count, dig_connector->dp_clock); }
drivers/gpu/drm/radeon/radeon_mode.h +4 -2
@@ -757,8 +757,10 @@ extern u8 radeon_dp_getsinktype(struct radeon_connector *radeon_connector);extern bool radeon_dp_getdpcd (struct radeon_connector *radeon_connector);extern int radeon_dp_get_panel_mode (struct drm_encoder *encoder,struct drm_connector *connector); -int radeon_dp_get_max_link_rate (struct drm_connector *connector, -const u8 *dpcd); +extern int radeon_dp_get_dp_link_config (struct drm_connector *connector, +const u8 *dpcd, +unsigned pix_clock, +unsigned *dp_lanes,unsigned *dp_rate);extern void radeon_dp_set_rx_power_state (struct drm_connector *connector,u8 power_state);extern void radeon_dp_aux_init (struct radeon_connector *radeon_connector);
drivers/gpu/drm/radeon/radeon_ttm.c +2 -2
@@ -263,8 +263,8 @@ static int radeon_move_blit(struct ttm_buffer_object *bo, rdev =radeon_get_rdev (bo->bdev); ridx =radeon_copy_ring_index (rdev); - old_start = old_mem->start <<PAGE_SHIFT ; - new_start = new_mem->start <<PAGE_SHIFT ; + old_start = (u64 )old_mem->start <<PAGE_SHIFT ; + new_start = (u64 )new_mem->start <<PAGE_SHIFT ;switch (old_mem->mem_type) {case TTM_PL_VRAM :
drivers/hid/hid-core.c +3 -0
@@ -1251,6 +1251,7 @@ static void hid_input_field(struct hid_device *hid, struct hid_field *field,/* Ignore report if ErrorRollOver */ if (!(field->flags &HID_MAIN_ITEM_VARIABLE ) && value[n] >= min && value[n] <= max && + value[n] - min < field->maxusage && field->usage[value[n] - min].hid ==HID_UP_KEYBOARD +1 ) goto exit; }
@@ -1263,11 +1264,13 @@ static void hid_input_field(struct hid_device *hid, struct hid_field *field, }if (field->value[n] >= min && field->value[n] <= max + && field->value[n] - min < field->maxusage && field->usage[field->value[n] - min].hid &&search (value, field->value[n], count))hid_process_event (hid, field, &field->usage[field->value[n] - min],0 , interrupt);if (value[n] >= min && value[n] <= max + && value[n] - min < field->maxusage && field->usage[value[n] - min].hid &&search (field->value, value[n], count))hid_process_event (hid, field, &field->usage[value[n] - min],1 , interrupt);
drivers/hv/channel.c +19 -8
@@ -28,6 +28,7 @@#include <linux/module.h> #include <linux/hyperv.h> #include <linux/uio.h> +#include <linux/interrupt.h> #include "hyperv_vmbus.h"
@@ -496,8 +497,21 @@ static void reset_channel_cb(void *arg)static int vmbus_close_internal (struct vmbus_channel *channel) {struct vmbus_channel_close_channel *msg; +struct tasklet_struct *tasklet;int ret; +/* +* process_chn_event(), running in the tasklet, can race +* with vmbus_close_internal() in the case of SMP guest, e.g., when +* the former is accessing channel->inbound.ring_buffer, the latter +* could be freeing the ring_buffer pages. +* +* To resolve the race, we can serialize them by disabling the +* tasklet when the latter is running here. +*/ + tasklet = hv_context.event_dpc[channel->target_cpu]; +tasklet_disable (tasklet); + channel->state =CHANNEL_OPEN_STATE ; channel->sc_creation_callback =NULL ;/* Stop callback and cancel the timer asap */
@@ -525,7 +539,7 @@ static int vmbus_close_internal(struct vmbus_channel *channel)* If we failed to post the close msg, * it is perhaps better to leak memory. */ -return ret; + goto out; }/* Tear down the gpadl for the channel's ring buffer */
@@ -538,7 +552,7 @@ static int vmbus_close_internal(struct vmbus_channel *channel)* If we failed to teardown gpadl, * it is perhaps better to leak memory. */ -return ret; + goto out; } }
@@ -549,12 +563,9 @@ static int vmbus_close_internal(struct vmbus_channel *channel)free_pages ((unsigned long )channel->ringbuffer_pages,get_order (channel->ringbuffer_pagecount *PAGE_SIZE )); -/* -* If the channel has been rescinded; process device removal. -*/ -if (channel->rescind) -hv_process_channel_removal (channel, - channel->offermsg.child_relid); +out: +tasklet_enable (tasklet); +return ret; }
drivers/hv/channel_mgmt.c +57 -4
97 lines not on this page · raw message
drivers/hv/hv.c +8 -2
@@ -293,8 +293,14 @@ void hv_cleanup(void)* Cleanup the TSC page based CS. */ if (ms_hyperv.features &HV_X64_MSR_REFERENCE_TSC_AVAILABLE ) { -clocksource_change_rating (&hyperv_cs_tsc,10 ); -clocksource_unregister (&hyperv_cs_tsc); +/* +* Crash can happen in an interrupt context and unregistering +* a clocksource is impossible and redundant in this case. +*/ +if (!oops_in_progress) { +clocksource_change_rating (&hyperv_cs_tsc,10 ); +clocksource_unregister (&hyperv_cs_tsc); + } hypercall_msr.as_uint64 =0 ;wrmsrl (HV_X64_MSR_REFERENCE_TSC , hypercall_msr.as_uint64);
drivers/hv/hv_fcopy.c +14 -23
@@ -51,7 +51,6 @@ static struct {struct hv_fcopy_hdr *fcopy_msg;/* current message */ struct vmbus_channel *recv_channel;/* chn we got the request */ u64 recv_req_id;/* request ID. */ -void *fcopy_context;/* for the channel callback */ } fcopy_transaction;static void fcopy_respond_to_host (int error);
@@ -67,6 +66,13 @@ static struct hvutil_transport *hvt;*/ static int dm_reg_value; +static void fcopy_poll_wrapper (void *channel) +{ +/* Transaction is finished, reset the state here to avoid races. */ + fcopy_transaction.state =HVUTIL_READY ; +hv_fcopy_onchannelcallback (channel); +} +static void fcopy_timeout_func (struct work_struct *dummy) {/*
@@ -74,13 +80,7 @@ static void fcopy_timeout_func(struct work_struct *dummy)* process the pending transaction. */ fcopy_respond_to_host (HV_E_FAIL ); - -/* Transaction is finished, reset the state. */ -if (fcopy_transaction.state >HVUTIL_READY ) - fcopy_transaction.state =HVUTIL_READY ; - -hv_poll_channel (fcopy_transaction.fcopy_context, - hv_fcopy_onchannelcallback); +hv_poll_channel (fcopy_transaction.recv_channel, fcopy_poll_wrapper); }static int fcopy_handle_handshake (u32 version)
@@ -108,9 +108,7 @@ static int fcopy_handle_handshake(u32 version)return -EINVAL ; }pr_debug ("FCP: userspace daemon ver. %d registered\n" , version); - fcopy_transaction.state =HVUTIL_READY ; -hv_poll_channel (fcopy_transaction.fcopy_context, - hv_fcopy_onchannelcallback); +hv_poll_channel (fcopy_transaction.recv_channel, fcopy_poll_wrapper);return 0 ; }
@@ -227,15 +225,8 @@ void hv_fcopy_onchannelcallback(void *context)int util_fw_version;int fcopy_srv_version; -if (fcopy_transaction.state >HVUTIL_READY ) { -/* -* We will defer processing this callback once -* the current transaction is complete. -*/ - fcopy_transaction.fcopy_context = context; +if (fcopy_transaction.state >HVUTIL_READY )return ; - } - fcopy_transaction.fcopy_context =NULL ;vmbus_recvpacket (channel, recv_buffer,PAGE_SIZE *2 , &recvlen, &requestid);
@@ -275,7 +266,8 @@ void hv_fcopy_onchannelcallback(void *context)* Send the information to the user-level daemon. */ schedule_work (&fcopy_send_work); -schedule_delayed_work (&fcopy_timeout_work,5 *HZ ); +schedule_delayed_work (&fcopy_timeout_work, +HV_UTIL_TIMEOUT *HZ );return ; } icmsghdr->icflags =ICMSGHDRFLAG_TRANSACTION |ICMSGHDRFLAG_RESPONSE ;
@@ -304,9 +296,8 @@ static int fcopy_on_msg(void *msg, int len)if (cancel_delayed_work_sync (&fcopy_timeout_work)) { fcopy_transaction.state =HVUTIL_USERSPACE_RECV ;fcopy_respond_to_host (*val); - fcopy_transaction.state =HVUTIL_READY ; -hv_poll_channel (fcopy_transaction.fcopy_context, - hv_fcopy_onchannelcallback); +hv_poll_channel (fcopy_transaction.recv_channel, + fcopy_poll_wrapper); }return 0 ;
drivers/hv/hv_kvp.c +12 -19
@@ -66,7 +66,6 @@ static struct {struct hv_kvp_msg *kvp_msg;/* current message */ struct vmbus_channel *recv_channel;/* chn we got the request */ u64 recv_req_id;/* request ID. */ -void *kvp_context;/* for the channel callback */ } kvp_transaction;/*
@@ -94,6 +93,13 @@ static struct hvutil_transport *hvt;*/ #define HV_DRV_VERSION "3.1" +static void kvp_poll_wrapper (void *channel) +{ +/* Transaction is finished, reset the state here to avoid races. */ + kvp_transaction.state =HVUTIL_READY ; +hv_kvp_onchannelcallback (channel); +} +static void kvp_register (int reg_value) {
@@ -121,12 +127,7 @@ static void kvp_timeout_func(struct work_struct *dummy)*/ kvp_respond_to_host (NULL ,HV_E_FAIL ); -/* Transaction is finished, reset the state. */ -if (kvp_transaction.state >HVUTIL_READY ) - kvp_transaction.state =HVUTIL_READY ; - -hv_poll_channel (kvp_transaction.kvp_context, - hv_kvp_onchannelcallback); +hv_poll_channel (kvp_transaction.recv_channel, kvp_poll_wrapper); }static int kvp_handle_handshake (struct hv_kvp_msg *msg)
@@ -218,9 +219,7 @@ static int kvp_on_msg(void *msg, int len)*/ if (cancel_delayed_work_sync (&kvp_timeout_work)) {kvp_respond_to_host (message, error); - kvp_transaction.state =HVUTIL_READY ; -hv_poll_channel (kvp_transaction.kvp_context, - hv_kvp_onchannelcallback); +hv_poll_channel (kvp_transaction.recv_channel, kvp_poll_wrapper); }return 0 ;
@@ -596,15 +595,8 @@ void hv_kvp_onchannelcallback(void *context)int util_fw_version;int kvp_srv_version; -if (kvp_transaction.state >HVUTIL_READY ) { -/* -* We will defer processing this callback once -* the current transaction is complete. -*/ - kvp_transaction.kvp_context = context; +if (kvp_transaction.state >HVUTIL_READY )return ; - } - kvp_transaction.kvp_context =NULL ;vmbus_recvpacket (channel, recv_buffer,PAGE_SIZE *4 , &recvlen, &requestid);
@@ -668,7 +660,8 @@ void hv_kvp_onchannelcallback(void *context)* user-mode not responding. */ schedule_work (&kvp_sendkey_work); -schedule_delayed_work (&kvp_timeout_work,5 *HZ ); +schedule_delayed_work (&kvp_timeout_work, +HV_UTIL_TIMEOUT *HZ );return ;
drivers/hv/hv_snapshot.c +16 -18
@@ -53,7 +53,6 @@ static struct {struct vmbus_channel *recv_channel;/* chn we got the request */ u64 recv_req_id;/* request ID. */ struct hv_vss_msg *msg;/* current message */ -void *vss_context;/* for the channel callback */ } vss_transaction;
@@ -74,6 +73,13 @@ static void vss_timeout_func(struct work_struct *dummy); static DECLARE_DELAYED_WORK(vss_timeout_work, vss_timeout_func); static DECLARE_WORK(vss_send_op_work, vss_send_op); +static void vss_poll_wrapper (void *channel) +{ +/* Transaction is finished, reset the state here to avoid races. */ + vss_transaction.state =HVUTIL_READY ; +hv_vss_onchannelcallback (channel); +} +/* * Callback when data is received from user mode. */
@@ -86,12 +92,7 @@ static void vss_timeout_func(struct work_struct *dummy)pr_warn ("VSS: timeout waiting for daemon to reply\n" );vss_respond_to_host (HV_E_FAIL ); -/* Transaction is finished, reset the state. */ -if (vss_transaction.state >HVUTIL_READY ) - vss_transaction.state =HVUTIL_READY ; - -hv_poll_channel (vss_transaction.vss_context, - hv_vss_onchannelcallback); +hv_poll_channel (vss_transaction.recv_channel, vss_poll_wrapper); }static int vss_handle_handshake (struct hv_vss_msg *vss_msg)
@@ -138,9 +139,8 @@ static int vss_on_msg(void *msg, int len)if (cancel_delayed_work_sync (&vss_timeout_work)) {vss_respond_to_host (vss_msg->error);/* Transaction is finished, reset the state. */ - vss_transaction.state =HVUTIL_READY ; -hv_poll_channel (vss_transaction.vss_context, - hv_vss_onchannelcallback); +hv_poll_channel (vss_transaction.recv_channel, + vss_poll_wrapper); } }else {/* This is a spurious call! */
@@ -238,15 +238,8 @@ void hv_vss_onchannelcallback(void *context)struct icmsg_hdr *icmsghdrp;struct icmsg_negotiate *negop =NULL ; -if (vss_transaction.state >HVUTIL_READY ) { -/* -* We will defer processing this callback once -* the current transaction is complete. -*/ - vss_transaction.vss_context = context; +if (vss_transaction.state >HVUTIL_READY )return ; - } - vss_transaction.vss_context =NULL ;vmbus_recvpacket (channel, recv_buffer,PAGE_SIZE *2 , &recvlen, &requestid);
@@ -338,6 +331,11 @@ static void vss_on_reset(void)int hv_vss_init (struct hv_util_service *srv) { +if (vmbus_proto_version <VERSION_WIN8_1 ) { +pr_warn ("Integration service 'Backup (volume snapshot)'" +" not supported on this host version.\n" ); +return -ENOTSUPP ; + } recv_buffer = srv->recv_buffer;/*
drivers/hv/hv_utils_transport.c +6 -3
@@ -204,9 +204,12 @@ int hvutil_transport_send(struct hvutil_transport *hvt, void *msg, int len) goto out_unlock; } hvt->outmsg =kzalloc (len,GFP_KERNEL ); -memcpy (hvt->outmsg, msg, len); - hvt->outmsg_len = len; -wake_up_interruptible (&hvt->outmsg_q); +if (hvt->outmsg) { +memcpy (hvt->outmsg, msg, len); + hvt->outmsg_len = len; +wake_up_interruptible (&hvt->outmsg_q); + }else + ret = -ENOMEM ; out_unlock:mutex_unlock (&hvt->outmsg_lock);return ret;
drivers/hv/hyperv_vmbus.h +6 -5
@@ -31,6 +31,11 @@#include <linux/hyperv.h> /* +* Timeout for services such as KVP and fcopy. +*/ +#define HV_UTIL_TIMEOUT 30 + +/* * The below CPUID leaves are present if VersionAndFeatures.HypervisorPresent * is set by CPUID(HVCPUID_VERSION_FEATURES). */
@@ -759,11 +764,7 @@ static inline void hv_poll_channel(struct vmbus_channel *channel,if (!channel)return ; -if (channel->target_cpu !=smp_processor_id ()) -smp_call_function_single (channel->target_cpu, - cb, channel, true); -else -cb (channel); +smp_call_function_single (channel->target_cpu, cb, channel, true); }enum hvutil_device_state {
drivers/hv/vmbus_drv.c +18 -17
@@ -105,6 +105,7 @@ static struct notifier_block hyperv_panic_block = { };struct resource *hyperv_mmio; +DEFINE_SEMAPHORE (hyperv_mmio_lock);static int vmbus_exists (void ) {
@@ -603,23 +604,11 @@ static int vmbus_remove(struct device *child_device) {struct hv_driver *drv;struct hv_device *dev =device_to_hv_device (child_device); -u32 relid = dev->channel->offermsg.child_relid;if (child_device->driver) { drv =drv_to_hv_drv (child_device->driver);if (drv->remove) drv->remove (dev); -else { -hv_process_channel_removal (dev->channel, relid); -pr_err ("remove not set for driver %s\n" , -dev_name (child_device)); - } - }else { -/* -* We don't have a driver for this device; deal with the -* rescind message by removing the channel. -*/ -hv_process_channel_removal (dev->channel, relid); }return 0 ;
@@ -654,7 +643,10 @@ static void vmbus_shutdown(struct device *child_device)static void vmbus_device_release (struct device *device) {struct hv_device *hv_dev =device_to_hv_device (device); +struct vmbus_channel *channel = hv_dev->channel; +hv_process_channel_removal (channel, + channel->offermsg.child_relid);kfree (hv_dev); }
@@ -870,7 +862,7 @@ static int vmbus_bus_init(int irq)on_each_cpu (hv_synic_init,NULL ,1 ); ret =vmbus_connect ();if (ret) - goto err_alloc; + goto err_connect;if (vmbus_proto_version >VERSION_WIN7 )cpu_hotplug_disable ();
@@ -888,6 +880,8 @@ static int vmbus_bus_init(int irq)return 0 ; +err_connect: +on_each_cpu (hv_synic_cleanup,NULL ,1 ); err_alloc:hv_synic_free ();hv_remove_vmbus_irq ();
@@ -1147,7 +1141,10 @@ int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj,resource_size_t range_min, range_max, start, local_min, local_max;const char *dev_n =dev_name (&device_obj->device);u32 fb_end = screen_info.lfb_base + (screen_info.lfb_size <<1 ); -int i; +int i, retval; + + retval = -ENXIO ; +down (&hyperv_mmio_lock);for (iter = hyperv_mmio; iter; iter = iter->sibling) {if ((iter->start >= max) || (iter->end <= min))
@@ -1184,13 +1181,17 @@ int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj,for (; start + size -1 <= local_max; start += align) { *new =request_mem_region_exclusive (start, size, dev_n); -if (*new) -return 0 ; +if (*new) { + retval =0 ; + goto exit; + } } } } -return -ENXIO ; +exit: +up (&hyperv_mmio_lock); +return retval; }EXPORT_SYMBOL_GPL (vmbus_allocate_mmio);
drivers/idle/intel_idle.c +25 -0
@@ -716,6 +716,26 @@ static struct cpuidle_state avn_cstates[] = { { .enter = NULL } }; +static struct cpuidle_state knl_cstates[] = { + { + .name ="C1-KNL" , + .desc ="MWAIT 0x00" , + .flags =MWAIT2flg (0x00 ), + .exit_latency =1 , + .target_residency =2 , + .enter = &intel_idle, + .enter_freeze = intel_idle_freeze }, + { + .name ="C6-KNL" , + .desc ="MWAIT 0x10" , + .flags =MWAIT2flg (0x10 ) |CPUIDLE_FLAG_TLB_FLUSHED , + .exit_latency =120 , + .target_residency =500 , + .enter = &intel_idle, + .enter_freeze = intel_idle_freeze }, + { + .enter =NULL } +};/** * intel_idle
@@ -890,6 +910,10 @@ static const struct idle_cpu idle_cpu_avn = { .disable_promotion_to_c1e = true, }; +static const struct idle_cpu idle_cpu_knl = { + .state_table = knl_cstates, +}; +#define ICPU (model, cpu) \ { X86_VENDOR_INTEL, 6, model, X86_FEATURE_MWAIT, (unsigned long)&cpu }
@@ -921,6 +945,7 @@ static const struct x86_cpu_id intel_idle_ids[] __initconst = {ICPU (0x56 , idle_cpu_bdw),ICPU (0x4e , idle_cpu_skl),ICPU (0x5e , idle_cpu_skl), +ICPU (0x57 , idle_cpu_knl), {} };MODULE_DEVICE_TABLE (x86cpu, intel_idle_ids);
drivers/infiniband/ulp/ipoib/ipoib_ib.c +0 -2
@@ -245,8 +245,6 @@ static void ipoib_ib_handle_rx_wc(struct net_device *dev, struct ib_wc *wc)skb_reset_mac_header (skb);skb_pull (skb,IPOIB_ENCAP_LEN ); - skb->truesize =SKB_TRUESIZE (skb->len); - ++dev->stats.rx_packets; dev->stats.rx_bytes += skb->len;
drivers/input/joystick/xpad.c +223 -99
435 lines not on this page · raw message
drivers/irqchip/irq-gic-v3-its.c +47 -2
103 lines not on this page · raw message
drivers/lightnvm/gennvm.c +2 -1
@@ -89,6 +89,7 @@ static int gennvm_block_bb(struct ppa_addr ppa, int nr_blocks, u8 *blks,list_move_tail (&blk->list, &lun->bb_list); lun->vlun.nr_bad_blocks++; + lun->vlun.nr_free_blocks--; }return 0 ;
@@ -345,7 +346,7 @@ static void gennvm_generic_to_addr_mode(struct nvm_dev *dev, struct nvm_rq *rqd)static int gennvm_submit_io (struct nvm_dev *dev,struct nvm_rq *rqd) {if (!dev->ops->submit_io) -return 0 ; +return -ENODEV ;/* Convert address space */ gennvm_generic_to_addr_mode (dev, rqd);
drivers/lightnvm/rrpc.c +17 -7
@@ -287,6 +287,8 @@ static int rrpc_move_valid_pages(struct rrpc *rrpc, struct rrpc_block *rblk) } page =mempool_alloc (rrpc->page_pool,GFP_NOIO ); +if (!page) +return -ENOMEM ;while ((slot =find_first_zero_bit (rblk->invalid_pages, nr_pgs_per_blk)) < nr_pgs_per_blk) {
@@ -427,7 +429,7 @@ static void rrpc_lun_gc(struct work_struct *work)if (nr_blocks_need < rrpc->nr_luns) nr_blocks_need = rrpc->nr_luns; -spin_lock (&lun->lock); +spin_lock (&rlun->lock);while (nr_blocks_need > lun->nr_free_blocks && !list_empty (&rlun->prio_list)) {struct rrpc_block *rblock =block_prio_find_max (rlun);
@@ -436,16 +438,16 @@ static void rrpc_lun_gc(struct work_struct *work)if (!rblock->nr_invalid_pages)break ; + gcb =mempool_alloc (rrpc->gcb_pool,GFP_ATOMIC ); +if (!gcb) +break ; +list_del_init (&rblock->prio);BUG_ON (!block_is_full (rrpc, rblock));pr_debug ("rrpc: selected block '%lu' for GC\n" , block->id); - gcb =mempool_alloc (rrpc->gcb_pool,GFP_ATOMIC ); -if (!gcb) -break ; - gcb->rrpc = rrpc; gcb->rblk = rblock;INIT_WORK (&gcb->ws_gc, rrpc_block_gc);
@@ -454,7 +456,7 @@ static void rrpc_lun_gc(struct work_struct *work) nr_blocks_need--; } -spin_unlock (&lun->lock); +spin_unlock (&rlun->lock);/* TODO: Hint that request queue can be started again */ }
@@ -650,11 +652,12 @@ static int rrpc_end_io(struct nvm_rq *rqd, int error)if (bio_data_dir (rqd->bio) ==WRITE )rrpc_end_io_write (rrpc, rrqd, laddr, npages); +bio_put (rqd->bio); +if (rrqd->flags &NVM_IOTYPE_GC )return 0 ;rrpc_unlock_rq (rrpc, rqd); -bio_put (rqd->bio);if (npages >1 )nvm_dev_dma_free (rrpc->dev, rqd->ppa_list, rqd->dma_ppa_list);
@@ -841,6 +844,13 @@ static int rrpc_submit_io(struct rrpc *rrpc, struct bio *bio, err =nvm_submit_io (rrpc->dev, rqd);if (err) {pr_err ("rrpc: I/O submission failed: %d\n" , err); +bio_put (bio); +if (!(flags &NVM_IOTYPE_GC )) { +rrpc_unlock_rq (rrpc, rqd); +if (rqd->nr_pages >1 ) +nvm_dev_dma_free (rrpc->dev, + rqd->ppa_list, rqd->dma_ppa_list); + }return NVM_IO_ERR ; }
drivers/md/bcache/super.c +1 -1
@@ -1818,7 +1818,7 @@ static int cache_alloc(struct cache_sb *sb, struct cache *ca) free =roundup_pow_of_two (ca->sb.nbuckets) >>10 ; if (!init_fifo(&ca->free[RESERVE_BTREE], 8, GFP_KERNEL) || - !init_fifo(&ca->free[RESERVE_PRIO], prio_buckets(ca), GFP_KERNEL) || + !init_fifo_exact(&ca->free[RESERVE_PRIO], prio_buckets(ca), GFP_KERNEL) || !init_fifo(&ca->free[RESERVE_MOVINGGC], free, GFP_KERNEL) || !init_fifo(&ca->free[RESERVE_NONE], free, GFP_KERNEL) || !init_fifo(&ca->free_inc, free << 2, GFP_KERNEL) ||
drivers/media/dvb-frontends/Kconfig +1 -1
@@ -264,7 +264,7 @@ config DVB_MB86A16 config DVB_TDA10071 tristate "NXP TDA10071" depends on DVB_CORE && I2C - select REGMAP + select REGMAP_I2C default m if !MEDIA_SUBDRV_AUTOSELECT help Say Y when you want to support this frontend.
drivers/media/usb/uvc/uvc_driver.c +20 -0
@@ -148,6 +148,26 @@ static struct uvc_format_desc uvc_fmts[] = { .guid = UVC_GUID_FORMAT_H264, .fcc = V4L2_PIX_FMT_H264, }, + { + .name = "Greyscale 8 L/R (Y8I)", + .guid = UVC_GUID_FORMAT_Y8I, + .fcc = V4L2_PIX_FMT_Y8I, + }, + { + .name = "Greyscale 12 L/R (Y12I)", + .guid = UVC_GUID_FORMAT_Y12I, + .fcc = V4L2_PIX_FMT_Y12I, + }, + { + .name = "Depth data 16-bit (Z16)", + .guid = UVC_GUID_FORMAT_Z16, + .fcc = V4L2_PIX_FMT_Z16, + }, + { + .name = "Bayer 10-bit (SRGGB10P)", + .guid = UVC_GUID_FORMAT_RW10, + .fcc = V4L2_PIX_FMT_SRGGB10P, + }, }; /* ------------------------------------------------------------------------
drivers/media/usb/uvc/uvcvideo.h +12 -0
@@ -119,6 +119,18 @@#define UVC_GUID_FORMAT_H264 \ { 'H', '2', '6', '4', 0x00, 0x00, 0x10, 0x00, \ 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71} +#define UVC_GUID_FORMAT_Y8I \ + { 'Y', '8', 'I', ' ', 0x00, 0x00, 0x10, 0x00, \ + 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71} +#define UVC_GUID_FORMAT_Y12I \ + { 'Y', '1', '2', 'I', 0x00, 0x00, 0x10, 0x00, \ + 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71} +#define UVC_GUID_FORMAT_Z16 \ + { 'Z', '1', '6', ' ', 0x00, 0x00, 0x10, 0x00, \ + 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71} +#define UVC_GUID_FORMAT_RW10 \ + { 'R', 'W', '1', '0', 0x00, 0x00, 0x10, 0x00, \ + 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}/* ------------------------------------------------------------------------ * Driver specific constants.
drivers/misc/cxl/Makefile +1 -1
@@ -1,4 +1,4 @@ -ccflags-y := -Werror -Wno-unused-const-variable +ccflags-y := -Werror $(call cc-disable-warning, unused-const-variable) cxl-y += main.o file.o irq.o fault.o native.o cxl-y += context.o sysfs.o debugfs.o pci.o trace.o
drivers/misc/cxl/api.c +1 -5
@@ -25,7 +25,6 @@ struct cxl_context *cxl_dev_context_init(struct pci_dev *dev) afu =cxl_pci_to_afu (dev); -get_device (&afu->dev); ctx =cxl_context_alloc ();if (IS_ERR (ctx)) { rc =PTR_ERR (ctx);
@@ -61,7 +60,6 @@ err_mapping: err_ctx:kfree (ctx); err_dev: -put_device (&afu->dev);return ERR_PTR (rc); }EXPORT_SYMBOL_GPL (cxl_dev_context_init);
@@ -87,8 +85,6 @@ int cxl_release_context(struct cxl_context *ctx)if (ctx->status >=STARTED )return -EBUSY ; -put_device (&ctx->afu->dev); -cxl_context_free (ctx);return 0 ;
@@ -176,7 +172,7 @@ int cxl_start_context(struct cxl_context *ctx, u64 wed,if (task) { ctx->pid =get_task_pid (task,PIDTYPE_PID ); -get_pid (ctx->pid); + ctx->glpid =get_task_pid (task->group_leader,PIDTYPE_PID ); kernel = false; }
drivers/misc/cxl/context.c +14 -1
@@ -42,7 +42,7 @@ int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master,spin_lock_init (&ctx->sste_lock); ctx->afu = afu; ctx->master = master; - ctx->pid =NULL ;/* Set in start work ioctl */ + ctx->pid = ctx->glpid =NULL ;/* Set in start work ioctl */ mutex_init (&ctx->mapping_lock); ctx->mapping = mapping;
@@ -97,6 +97,12 @@ int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master, ctx->pe = i; ctx->elem = &ctx->afu->spa[i]; ctx->pe_inserted = false; + +/* +* take a ref on the afu so that it stays alive at-least till +* this context is reclaimed inside reclaim_ctx. +*/ +cxl_afu_get (afu);return 0 ; }
@@ -211,7 +217,11 @@ int __detach_context(struct cxl_context *ctx)WARN_ON (cxl_detach_process (ctx) &&cxl_adapter_link_ok (ctx->afu->adapter));flush_work (&ctx->fault_work);/* Only needed for dedicated process */ + +/* release the reference to the group leader and mm handling pid */ put_pid (ctx->pid); +put_pid (ctx->glpid); +cxl_ctx_put ();return 0 ; }
@@ -278,6 +288,9 @@ static void reclaim_ctx(struct rcu_head *rcu)if (ctx->irq_bitmap)
Lines of this file are not shown. View the raw message.
drivers/misc/cxl/fault.c +95 -34
129 lines not on this page · raw message
drivers/net/ethernet/cavium/liquidio/lio_main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cavium/thunder/nic.h +9 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cavium/thunder/nic_main.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cavium/thunder/nic_reg.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cavium/thunder/nicvf_main.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cavium/thunder/nicvf_queues.c +2 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cavium/thunder/nicvf_queues.h +1 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cavium/thunder/thunder_bgx.c +60 -31
91 lines not on this page · raw message
drivers/net/ethernet/cavium/thunder/thunder_bgx.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000/e1000.h +5 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000/e1000_main.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000e/netdev.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/fm10k/fm10k.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/fm10k/fm10k_main.c +7 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/fm10k/fm10k_pci.c +58 -7
65 lines not on this page · raw message
drivers/net/ethernet/intel/fm10k/fm10k_type.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/fm10k/fm10k_vf.c +14 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_ethtool.c +4 -10
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_main.c +94 -32
126 lines not on this page · raw message
drivers/net/ethernet/intel/i40e/i40e_txrx.c +43 -30
73 lines not on this page · raw message
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +15 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40evf/i40e_txrx.c +109 -73
182 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_txrx.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c +8 -32
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40evf/i40evf_main.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c +24 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igb/e1000_82575.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igb/e1000_i210.c +27 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igb/e1000_i210.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igb/e1000_regs.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igb/igb_main.c +13 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c +12 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_main.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/pwm/pwm-fsl-ftm.c +25 -33
58 lines not on this page · raw message
drivers/pwm/pwm-lpc32xx.c +20 -35
55 lines not on this page · raw message
drivers/s390/cio/chsc.c +24 -19
43 lines not on this page · raw message
drivers/scsi/cxlflash/main.c +59 -10
69 lines not on this page · raw message
drivers/scsi/lpfc/lpfc_els.c +172 -201
373 lines not on this page · raw message
drivers/scsi/lpfc/lpfc_nportdisc.c +87 -47
134 lines not on this page · raw message
drivers/scsi/megaraid/megaraid_sas_base.c +87 -181
268 lines not on this page · raw message
drivers/scsi/megaraid/megaraid_sas_fusion.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/staging/lustre/lustre/llite/llite_internal.h +0 -2
Lines of this file are not shown. View the raw message.
fs/ecryptfs/file.c +55 -16
71 lines not on this page · raw message
fs/ext4/xattr.c +38 -28
66 lines not on this page · raw message
fs/proc/task_mmu.c +23 -43
66 lines not on this page · raw message
fs/proc/task_nommu.c +20 -29
49 lines not on this page · raw message
kernel/capability.c +36 -10
46 lines not on this page · raw message
kernel/time/clocksource.c +42 -10
52 lines not on this page · raw message
sound/firewire/fireworks/fireworks_hwdep.c +52 -19
71 lines not on this page · raw message
sound/firewire/fireworks/fireworks_proc.c +2 -2
Lines of this file are not shown. View the raw message.
sound/firewire/fireworks/fireworks_transaction.c +2 -3
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.