Linux 4.14.172
Greg KH
maintainerI'm announcing the release of the 4.14.172 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
------------
MAINTAINERS | 2 Makefile | 2 arch/arm/Kconfig | 9 arch/arm/Makefile | 6 arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 6 arch/arm/boot/dts/r8a7779.dtsi | 8 arch/arm/include/asm/unified.h | 77 arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 arch/arm64/include/asm/alternative.h | 32 arch/arm64/kernel/cpufeature.c | 52 arch/arm64/kernel/fpsimd.c | 15 arch/arm64/kernel/process.c | 7 arch/arm64/kernel/ptrace.c | 21 arch/microblaze/kernel/cpu/cache.c | 3 arch/mips/loongson64/loongson-3/platform.c | 3 arch/powerpc/kernel/eeh_driver.c | 6 arch/powerpc/kernel/pci_dn.c | 15 arch/powerpc/platforms/powernv/pci-ioda.c | 19 arch/powerpc/platforms/powernv/pci.c | 4 arch/s390/include/asm/page.h | 2 arch/s390/include/asm/timex.h | 2 arch/s390/kernel/mcount.S | 15 arch/s390/kvm/interrupt.c | 6 arch/sh/include/cpu-sh2a/cpu/sh7269.h | 11 arch/sparc/kernel/vmlinux.lds.S | 6 arch/x86/entry/vdso/vdso32-setup.c | 1 arch/x86/events/amd/core.c | 1 arch/x86/events/intel/ds.c | 2 arch/x86/include/asm/kvm_host.h | 2 arch/x86/kernel/cpu/mcheck/mce_amd.c | 50 arch/x86/kernel/sysfb_simplefb.c | 2 arch/x86/kvm/cpuid.c | 7 arch/x86/kvm/emulate.c | 22 arch/x86/kvm/irq_comm.c | 2 arch/x86/kvm/lapic.c | 9 arch/x86/kvm/svm.c | 7 arch/x86/kvm/vmx.c | 118 arch/x86/kvm/vmx/vmx.c | 8033 ---------------- arch/x86/lib/x86-opcode-map.txt | 2 arch/x86/mm/pageattr.c | 8 arch/x86/platform/efi/efi.c | 41 arch/x86/platform/efi/efi_64.c | 9 drivers/acpi/acpica/dsfield.c | 2 drivers/acpi/acpica/dswload.c | 21 drivers/ata/ahci.c | 7 drivers/ata/libata-core.c | 21 drivers/atm/fore200e.c | 25 drivers/base/dd.c | 5 drivers/base/platform.c | 12 drivers/block/brd.c | 22 drivers/block/floppy.c | 7 drivers/block/nbd.c | 10 drivers/char/random.c | 5 drivers/clk/qcom/clk-rcg2.c | 3 drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 28 drivers/clocksource/bcm2835_timer.c | 5 drivers/devfreq/Kconfig | 3 drivers/devfreq/event/Kconfig | 2 drivers/dma/dmaengine.c | 4 drivers/gpio/gpio-grgpio.c | 10 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 19 drivers/gpu/drm/amd/amdgpu/soc15.c | 7 drivers/gpu/drm/drm_debugfs_crc.c | 4 drivers/gpu/drm/gma500/framebuffer.c | 8 drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 8 drivers/gpu/drm/nouveau/nouveau_fence.c | 2 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c | 2 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c | 21 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c | 5 drivers/gpu/drm/radeon/radeon_display.c | 2 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c | 4 drivers/hwmon/pmbus/ltc2978.c | 4 drivers/ide/cmd64x.c | 3 drivers/ide/serverworks.c | 6 drivers/infiniband/core/security.c | 24 drivers/infiniband/hw/hfi1/chip.c | 10 drivers/infiniband/hw/hfi1/chip.h | 1 drivers/infiniband/hw/hfi1/driver.c | 1 drivers/infiniband/hw/hfi1/file_ops.c | 52 drivers/infiniband/hw/hfi1/hfi.h | 7 drivers/infiniband/hw/hfi1/user_exp_rcv.c | 3 drivers/infiniband/hw/hfi1/user_sdma.c | 17 drivers/infiniband/sw/rxe/rxe_verbs.h | 2 drivers/infiniband/ulp/isert/ib_isert.c | 12 drivers/input/mouse/synaptics.c | 4 drivers/input/touchscreen/edt-ft5x06.c | 7 drivers/iommu/arm-smmu-v3.c | 3 drivers/iommu/qcom_iommu.c | 28 drivers/irqchip/irq-gic-v3-its.c | 2 drivers/irqchip/irq-gic-v3.c | 9 drivers/irqchip/irq-mbigen.c | 1 drivers/leds/leds-pca963x.c | 8 drivers/md/bcache/bset.h | 3 drivers/media/i2c/mt9v032.c | 10 drivers/media/platform/sti/bdisp/bdisp-hw.c | 6 drivers/net/ethernet/cisco/enic/enic_main.c | 2 drivers/net/ethernet/freescale/gianfar.c | 10 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c | 3 drivers/net/wan/fsl_ucc_hdlc.c | 5 drivers/net/wan/ixp4xx_hss.c | 4 drivers/net/wireless/broadcom/b43legacy/main.c | 5 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 1 drivers/net/wireless/intel/ipw2x00/ipw2100.c | 7 drivers/net/wireless/intel/ipw2x00/ipw2200.c | 5 drivers/net/wireless/intel/iwlegacy/3945-mac.c | 5 drivers/net/wireless/intel/iwlegacy/4965-mac.c | 5 drivers/net/wireless/intel/iwlegacy/common.c | 2 drivers/net/wireless/intel/iwlwifi/mvm/tt.c | 4 drivers/net/wireless/intersil/hostap/hostap_ap.c | 2 drivers/net/wireless/intersil/orinoco/orinoco_usb.c | 3 drivers/net/wireless/realtek/rtlwifi/pci.c | 10 drivers/nfc/port100.c | 2 drivers/pci/iov.c | 1 drivers/pinctrl/intel/pinctrl-baytrail.c | 8 drivers/pinctrl/sh-pfc/pfc-sh7264.c | 9 drivers/pinctrl/sh-pfc/pfc-sh7269.c | 39 drivers/pwm/pwm-omap-dmtimer.c | 7 drivers/pwm/pwm-pca9685.c | 4 drivers/regulator/rk808-regulator.c | 2 drivers/remoteproc/remoteproc_core.c | 2 drivers/scsi/aic7xxx/aic7xxx_core.c | 2 drivers/scsi/iscsi_tcp.c | 4 drivers/scsi/qla2xxx/qla_os.c | 4 drivers/scsi/scsi_transport_iscsi.c | 26 drivers/scsi/ufs/ufshcd.c | 24 drivers/scsi/ufs/ufshcd.h | 2 drivers/soc/tegra/fuse/tegra-apbmisc.c | 2 drivers/staging/android/ashmem.c | 28 drivers/staging/greybus/audio_manager.c | 2 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 4 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 5 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 4 drivers/staging/vt6656/dpc.c | 2 drivers/target/iscsi/iscsi_target.c | 16 drivers/thunderbolt/switch.c | 7 drivers/tty/serdev/serdev-ttyport.c | 6 drivers/tty/serial/8250/8250_aspeed_vuart.c | 1 drivers/tty/serial/8250/8250_core.c | 5 drivers/tty/serial/8250/8250_port.c | 4 drivers/tty/serial/atmel_serial.c | 3 drivers/tty/serial/imx.c | 171 drivers/tty/synclink_gt.c | 18 drivers/tty/synclinkmp.c | 24 drivers/tty/tty_port.c | 5 drivers/tty/vt/selection.c | 9 drivers/tty/vt/vt_ioctl.c | 75 drivers/uio/uio_dmem_genirq.c | 6 drivers/usb/core/hub.c | 20 drivers/usb/core/hub.h | 1 drivers/usb/core/quirks.c | 3 drivers/usb/dwc2/gadget.c | 3 drivers/usb/gadget/composite.c | 8 drivers/usb/gadget/udc/gr_udc.c | 16 drivers/usb/host/xhci-mem.c | 12 drivers/usb/host/xhci-pci.c | 10 drivers/usb/host/xhci-ring.c | 60 drivers/usb/misc/iowarrior.c | 31 drivers/usb/musb/omap2430.c | 2 drivers/usb/storage/uas.c | 23 drivers/video/fbdev/pxa168fb.c | 6 drivers/virtio/virtio_balloon.c | 2 drivers/vme/bridges/vme_fake.c | 30 drivers/xen/preempt.c | 4 fs/btrfs/check-integrity.c | 3 fs/btrfs/disk-io.c | 2 fs/btrfs/extent_map.c | 11 fs/btrfs/file-item.c | 3 fs/btrfs/inode.c | 16 fs/btrfs/ordered-data.c | 7 fs/btrfs/super.c | 2 fs/btrfs/volumes.c | 2 fs/ceph/mds_client.c | 3 fs/ceph/super.c | 5 fs/cifs/connect.c | 6 fs/ecryptfs/crypto.c | 6 fs/ecryptfs/keystore.c | 2 fs/ecryptfs/messaging.c | 1 fs/ext4/dir.c | 14 fs/ext4/ext4.h | 14 fs/ext4/file.c | 10 fs/ext4/inode.c | 24 fs/ext4/migrate.c | 27 fs/ext4/mmp.c | 12 fs/ext4/namei.c | 8 fs/ext4/super.c | 38 fs/f2fs/sysfs.c | 12 fs/jbd2/checkpoint.c | 2 fs/jbd2/commit.c | 50 fs/jbd2/journal.c | 24 fs/jbd2/transaction.c | 10 fs/ocfs2/journal.h | 8 fs/orangefs/orangefs-debugfs.c | 1 fs/reiserfs/stree.c | 3 fs/reiserfs/super.c | 2 fs/udf/super.c | 22 include/linux/dmaengine.h | 2 include/linux/intel-svm.h | 2 include/linux/libata.h | 1 include/linux/list_nulls.h | 8 include/linux/rculist_nulls.h | 8 include/linux/tty.h | 2 include/media/v4l2-device.h | 12 include/scsi/iscsi_proto.h | 1 include/sound/rawmidi.h | 6 ipc/sem.c | 6 kernel/cpu.c | 13 kernel/irq/internals.h | 2 kernel/irq/manage.c | 18 kernel/irq/proc.c | 22 kernel/padata.c | 45 kernel/trace/ftrace.c | 5 kernel/trace/trace_events_trigger.c | 5 kernel/trace/trace_stat.c | 31 kernel/watchdog.c | 10 lib/scatterlist.c | 2 lib/stackdepot.c | 8 mm/vmscan.c | 9 net/dsa/tag_qca.c | 2 net/netfilter/xt_hashlimit.c | 10 net/sched/cls_flower.c | 1 net/sched/cls_matchall.c | 1 net/smc/smc_diag.c | 5 scripts/kconfig/confdata.c | 2 security/selinux/avc.c | 2 sound/core/control.c | 5 sound/core/seq/seq_clientmgr.c | 4 sound/core/seq/seq_queue.c | 29 sound/core/seq/seq_timer.c | 13 sound/core/seq/seq_timer.h | 3 sound/hda/hdmi_chmap.c | 2 sound/pci/hda/hda_codec.c | 2 sound/pci/hda/hda_eld.c | 2 sound/pci/hda/hda_sysfs.c | 4 sound/pci/hda/patch_conexant.c | 1 sound/pci/hda/patch_hdmi.c | 7 sound/sh/aica.c | 4 sound/sh/sh_dac_audio.c | 3 sound/soc/atmel/Kconfig | 2 sound/soc/sunxi/sun8i-codec.c | 3 sound/usb/quirks.c | 1 sound/usb/usx2y/usX2Yhwdep.c | 2 tools/lib/api/fs/fs.c | 4 tools/objtool/arch/x86/lib/x86-opcode-map.txt | 2 tools/testing/selftests/size/get_size.c | 24 tools/usb/usbip/src/usbip_network.c | 40 tools/usb/usbip/src/usbip_network.h | 12 246 files changed, 1766 insertions(+), 8977 deletions(-)
Aditya Pakki (3):
fore200e: Fix incorrect checks of NULL pointer dereference
orinoco: avoid assertion in case of NULL pointer
ecryptfs: replace BUG_ON with error handling code
Al Viro (1):
VT_RESIZEX: get rid of field-by-field copyin
Alan Stern (1):
USB: hub: Don't record a connect-change event during reset-resume
Alex Deucher (1):
drm/amdgpu/soc15: fix xclk for raven
Alexander Potapenko (1):
lib/stackdepot.c: fix global out-of-bounds in stack_slabs
Allen Pais (1):
scsi: qla2xxx: fix a potential NULL pointer dereference
Anand Jain (1):
btrfs: device stats, log when stats are zeroed
Andreas Dilger (1):
ext4: don't assume that mmp_nodename/bdevname have NUL
Andrei Otcheretianski (1):
iwlwifi: mvm: Fix thermal zone registration
Andrey Smirnov (1):
ARM: dts: imx6: rdu2: Disable WP for USDHC2 and USDHC3
Andrey Zhizhikin (1):
tools lib api fs: Fix gcc9 stringop-truncation compilation error
Andy Shevchenko (1):
serial: 8250: Check UPF_IRQ_SHARED in advance
Ard Biesheuvel (3):
efi/x86: Map the entire EFI vendor string before copying it efi/x86: Don't panic or BUG() on non-critical error conditions x86/mm: Fix NX bit clearing issue in kernel_map_pages_in_pgd
Arnd Bergmann (2):
wan: ixp4xx_hss: fix compile-testing on 64-bit
vme: bridges: reduce stack usage
Arvind Sankar (2):
ALSA: usb-audio: Apply sample rate quirk for Audioengine D1 x86/sysfb: Fix check for bad VRAM size
Bart Van Assche (2):
scsi: Revert "RDMA/isert: Fix a recently introduced regression related to logout"
scsi: Revert "target: iscsi: Wait for all commands to finish before freeing a session"
Ben Skeggs (2):
drm/nouveau/gr/gk20a,gm200-: add terminators to method lists read from fw drm/nouveau/disp/nv50-: prevent oops when no channel method map provided
Benjamin Tissoires (1):
Input: synaptics - remove the LEN0049 dmi id from topbuttonpad list
Bibby Hsieh (1):
drm/mediatek: handle events when enabling/disabling crtc
Borislav Petkov (1):
x86/mce/amd: Publish the bank pointer only after setup has succeeded
Brandon Maier (1):
remoteproc: Initialize rproc_class before use
Can Guo (1):
scsi: ufs: Complete pending requests in host reset and restore path
Chanwoo Choi (1):
PM / devfreq: rk3399_dmc: Add COMPILE_TEST and HAVE_ARM_SMCCC dependency
Chao Yu (1):
f2fs: fix memleak of kobject
Chen Zhou (1):
ASoC: atmel: fix build error with CONFIG_SND_ATMEL_SOC_DMA=m
Christian Borntraeger (1):
KVM: s390: ENOTSUPP -> EOPNOTSUPP fixups
Christophe JAILLET (1):
pxa168fb: Fix the function used to release some memory in an error handling path
Colin Ian King (4):
clocksource/drivers/bcm2835_timer: Fix memory leak of timer driver core: platform: fix u32 greater or equal to zero comparison
iwlegacy: ensure loop counter addr does not wrap and cause an infinite loop
staging: rtl8723bs: fix copy of overlapping memory
Coly Li (1):
bcache: explicity type cast in bset_bkey_last()
Cong Wang (1):
netfilter: xt_hashlimit: limit the max size of hashtable
Dan Carpenter (5):
brcmfmac: Fix use after free in brcmf_sdio_readframes() drm/nouveau/secboot/gm20b: initialize pointer in gm20b_secboot_new()
cmd64x: potential buffer overflow in cmd64x_program_timings()
ide: serverworks: potential overflow in svwks_set_pio_mode()
staging: greybus: use after free in gb_audio_manager_remove_all()
Daniel Vetter (1):
radeon: insert 10ms sleep in dce5_crtc_load_lut
David S. Miller (1):
sparc: Add .exit.data section.
David Sterba (3):
btrfs: print message when tree-log replay starts
btrfs: log message when rw remount is attempted with unclean tree-log
btrfs: safely advance counter when looking up bio csums
Davide Caratti (2):
net/sched: matchall: add missing validation of TCA_MATCHALL_FLAGS net/sched: flower: add missing validation of TCA_FLOWER_FLAGS
Dingchen Zhang (1):
drm: remove the newline for CRC source name.
Dmitry Osipenko (1):
soc/tegra: fuse: Correct straps' address for older Tegra124 device trees
Douglas Anderson (1):
clk: qcom: rcg2: Don't crash if our parent can't be found; return an error
EJ Hsu (1):
usb: uas: fix a plug & unplug racing
Eric Biggers (2):
ext4: rename s_journal_flag_rwsem to s_writepages_rwsem
ext4: fix race between writepages and enabling EXT4_EXTENTS_FL
Eric Dumazet (2):
net/smc: fix leak of kernel memory to user space
vt: vt_ioctl: fix race in VT_RESIZEX
Erik Kaneda (1):
ACPICA: Disassembler: create buffer fields in ACPI_PARSE_LOAD_PASS1
Eugen Hristev (1):
media: i2c: mt9v032: fix enum mbus codes and frame sizes
Filipe Manana (2):
Btrfs: fix race between using extent maps and merging them
Btrfs: fix btrfs_wait_ordered_range() so that it waits for all ordered extents
Firo Yang (1):
enic: prevent waking up stopped tx queues over watchdog reset
Fugang Duan (1):
tty: serial: imx: setup the correct sg entry for tx dma
Gaurav Agrawal (1):
Input: synaptics - enable SMBus on ThinkPad L470
Gavin Shan (1):
mm/vmscan.c: don't round up scan size for online memory cgroup
Geert Uytterhoeven (4):
pinctrl: sh-pfc: sh7264: Fix CAN function GPIOs
ARM: dts: r8a7779: Add device node for ARM global timer
pinctrl: sh-pfc: sh7269: Fix CAN function GPIOs
driver core: Print device when resources present in really_probe()
Greg Kroah-Hartman (4):
USB: misc: iowarrior: add support for 2 OEMed devices
USB: misc: iowarrior: add support for the 28 and 28L devices
USB: misc: iowarrior: add support for the 100 device Linux 4.14.172
Hans de Goede (1):
pinctrl: baytrail: Do not clear IRQ flags on direct-irq enabled pins
Hardik Gajjar (1):
USB: hub: Fix the broken detection of USB3 device in SMSC hub
Herbert Xu (1):
padata: Remove broken queue flushing
Icenowy Zheng (1):
clk: sunxi-ng: add mux and pll notifiers for A64 CPU clock
Ido Schimmel (1):
mlxsw: spectrum_dpipe: Add missing error path
Ioanna Alifieraki (1):
Revert "ipc,sem: remove uneeded sem_undo_list lock usage in exit_sem()"
Jack Pham (1):
usb: gadget: composite: Fix bMaxPower for SuperSpeedPlus
Jaegeuk Kim (1):
f2fs: free sysfs kobject
Jaihind Yadav (1):
selinux: ensure we cleanup the internal AVC counters on error in avc_update()
Jan Kara (4):
ext4: fix checksum errors with indexed dirs
reiserfs: Fix spurious unlock in reiserfs_fill_super() error handling
udf: Fix free space reporting for metadata and virtual partitions
ext4: fix mount failure with quota configured as module
Jani Nikula (1):
MAINTAINERS: Update drm/i915 bug filing URL
Jia-Ju Bai (4):
gpio: gpio-grgpio: fix possible sleep-in-atomic-context bugs in grgpio_irq_map/unmap()
media: sti: bdisp: fix a possible sleep-in-atomic-context bug in bdisp_device_run()
uio: fix a sleep-in-atomic-context bug in uio_dmem_genirq_irqcontrol()
usb: gadget: udc: fix possible sleep-in-atomic-context bugs in gr_probe()
Jiewei Ke (1):
RDMA/rxe: Fix error type of mmap_offset
Jiri Slaby (1):
vt: selection, handle pending signals in paste_selection
Joerg Roedel (1):
iommu/vt-d: Fix compile warning from intel-svm.h
Johan Hovold (1):
serdev: ttyport: restore client ops on deregistration
Johannes Thumshirn (1):
btrfs: fix possible NULL-pointer dereference in integrity checks
John Garry (1):
irqchip/mbigen: Set driver .suppress_bind_attrs to avoid remove problems
John Keeping (1):
usb: dwc2: Fix IN FIFO allocation
Josef Bacik (2):
btrfs: fix bytes_may_use underflow in prealloc error condtition
btrfs: do not check delayed items are empty for single transaction cleanup
Kai Li (1):
jbd2: clear JBD2_ABORT flag before journal_reset to update log tail info when load journal
Kai Vehmanen (1):
ALSA: hda/hdmi - add retry logic to parse_intel_hdmi()
Kan Liang (1):
perf/x86/intel: Fix inaccurate period in context switch for auto-reload
Kim Phillips (1):
perf/x86/amd: Add missing L2 misses event spec to AMD Family 17h's event map
Larry Finger (4):
staging: rtl8188eu: Fix potential security hole
staging: rtl8188eu: Fix potential overuse of kernel memory
staging: rtl8723bs: Fix potential security hole
staging: rtl8723bs: Fix potential overuse of kernel memory
Leon Romanovsky (1):
RDMA/core: Fix protection fault in get_pkey_idx_qp_list
Linus Torvalds (1):
floppy: check FDC index for errors before assigning it
Logan Gunthorpe (1):
dmaengine: Store module owner in dma_device struct
Luis Henriques (1):
tracing: Fix tracing_stat return values in error handling paths
Lyude Paul (1):
Input: synaptics - switch T470s to RMI4 by default
Malcolm Priestley (1):
staging: vt6656: fix sign of rx_dbm to bb_pre_ed_rssi.
Manu Gautam (1):
arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core
Mao Wenan (1):
NFC: port100: Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu().
Marc Zyngier (1):
irqchip/gic-v3: Only provision redistributors that are enabled in ACPI
Masahiro Yamada (1):
kconfig: fix broken dependency in randconfig-generated .config
Masami Hiramatsu (1):
x86/decoder: Add TEST opcode to Group3-2
Mathias Nyman (3):
xhci: Force Maximum Packet size for Full-speed bulk devices to valid range.
xhci: fix runtime pm enabling for quirky Intel hosts
xhci: apply XHCI_PME_STUCK_QUIRK to Intel Comet Lake platforms
Miaohe Lin (2):
KVM: x86: don't notify userspace IOAPIC on edge-triggered interrupt EOI
KVM: apic: avoid calculating pending eoi from an uninitialized val
Michael S. Tsirkin (1):
virtio_balloon: prevent pfn array overflow
Mika Westerberg (1):
thunderbolt: Prevent crash if non-active NVMem file is read
Mike Jones (1):
hwmon: (pmbus/ltc2978) Fix PMBus polling of MFR_COMMON definitions.
Mike Marciniszyn (2):
IB/hfi1: Close window for pq and request coliding IB/hfi1: Add software counter for ctxt0 seq drop
Miquel Raynal (1):
regulator: rk808: Lower log level on optional GPIOs being not available
Nathan Chancellor (9):
s390/time: Fix clk type in get_tod_clock
media: v4l2-device.h: Explicitly compare grp{id,mask} to zero in v4l2_device macros
ALSA: usx2y: Adjust indentation in snd_usX2Y_hwdep_dsp_status
scsi: aic7xxx: Adjust indentation in ahc_find_syncrate
tty: synclinkmp: Adjust indentation in several functions
tty: synclink_gt: Adjust indentation in several functions
hostap: Adjust indentation in prism2_hostapd_add_sta lib/scatterlist.c: adjust indentation in __sg_alloc_table
s390/mm: Explicitly compare PAGE_DEFAULT_KEY against zero in storage_key_init_range
Navid Emamdoost (2):
PCI/IOV: Fix memory leak in pci_iov_add_virtfn() drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add
Nick Black (1):
scsi: iscsi: Don't destroy session if there are outstanding connections
Nicolas Ferre (1):
tty/serial: atmel: manage shutdown in case of RS485 or ISO7816 mode
Nicolas Pitre (1):
ARM: 8723/2: always assume the "unified" syntax for assembly code
Oliver O'Halloran (2):
powerpc/powernv/iov: Ensure the pdn for VFs always contains a valid PE number powerpc/sriov: Remove VF eeh_dev state when disabling SR-IOV
Oliver Upton (2):
KVM: nVMX: Refactor IO bitmap checks into helper function
KVM: nVMX: Check IO instruction VM-exit conditions
Paolo Bonzini (2):
KVM: x86: emulate RDPID
KVM: nVMX: Don't emulate instructions in guest mode
Paul E. McKenney (1):
rcu: Use WRITE_ONCE() for assignments to ->pprev for hlist_nulls
Paul Kocialkowski (1):
drm/gma500: Fixup fbdev stolen size usage evaluation
Per Forlin (1):
net: dsa: tag_qca: Make sure there is headroom for tag
Peter Chen (1):
usb: host: xhci: update event ring dequeue pointer on purpose
Peter Große (1):
ALSA: hda - Add docking station support for Lenovo Thinkpad T420s
Peter Zijlstra (1):
cpu/hotplug, stop_machine: Fix stop_machine vs hotplug order
Philipp Zabel (1):
Input: edt-ft5x06 - work around first register access error
Phong Tran (4):
b43legacy: Fix -Wcast-function-type
ipw2x00: Fix -Wcast-function-type
iwlegacy: Fix -Wcast-function-type
rtlwifi: rtl_pci: Fix -Wcast-function-type
Prabhakar Kushwaha (1):
ata: ahci: Add shutdown to freeze hardware resources of ahci
Qian Cai (1):
ext4: fix a data race in EXT4_I(inode)->i_disksize
Rasmus Villemoes (1):
net/wan/fsl_ucc_hdlc: reject muram offsets above 64K
Richard Dodd (1):
USB: Fix novation SourceControl XL after suspend
Ritesh Harjani (1):
ext4: fix ext4_dax_read/write inode locking sequence for IOCB_NOWAIT
Robin Murphy (1):
iommu/qcom: Fix bogus detach logic
Ronnie Sahlberg (1):
cifs: fix NULL dereference in match_prepath
Sami Tolvanen (1):
arm64: fix alternatives with LLVM's integrated assembler
Samuel Holland (1):
ASoC: sun8i-codec: Fix setting DAI data format
Sasha Levin (2):
Revert "KVM: nVMX: Use correct root level for nested EPT shadow page tables" Revert "KVM: VMX: Add non-canonical check on writes to RTIT address MSRs"
Sean Christopherson (2):
KVM: nVMX: Use correct root level for nested EPT shadow page tables
KVM: nVMX: Use correct root level for nested EPT shadow page tables
Sergey Senozhatsky (1):
char/random: silence a lockdep splat with printk()
Shijie Luo (1):
ext4: add cond_resched() to __ext4_find_entry()
Shuah Khan (1):
usbip: Fix unsafe unaligned pointer usage
Shubhrajyoti Datta (1):
microblaze: Prevent the overflow of the start
Siddhesh Poyarekar (1):
kselftest: Minimise dependency of get_size on C library interfaces
Simon Schwartz (1):
driver core: platform: Prevent resouce overflow from causing infinite loops
Steven Rostedt (VMware) (1):
tracing: Fix very unlikely race of registering two stat tracers
Sun Ke (1):
nbd: add a flush_workqueue in nbd_start_device
Suren Baghdasaryan (1):
staging: android: ashmem: Disallow ashmem memory from being remapped
Suzuki K Poulose (3):
arm64: cpufeature: Set the FP/SIMD compat HWCAP bits properly
arm64: ptrace: nofpsimd: Fail FP/SIMD regset operations
arm64: nofpsimd: Handle TIF_FOREIGN_FPSTATE flag cleanly
Takashi Iwai (6):
ALSA: hda: Use scnprintf() for printing texts for sysfs/procfs
ALSA: sh: Fix unused variable warnings
ALSA: sh: Fix compile warning wrt const
ALSA: rawmidi: Avoid bit fields for state flags
ALSA: seq: Avoid concurrent access to queue flags
ALSA: seq: Fix concurrent access to queue current tick/time
Takashi Sakamoto (1):
ALSA: ctl: allow TLV read operation for callback type of element in locked case
Theodore Ts'o (2):
ext4: fix support for inode sizes > 1024 bytes
ext4: improve explanation of a mount failure caused by a misconfigured kernel
Thomas Gleixner (4):
watchdog/softlockup: Enforce that timestamp is valid on boot x86/mce/amd: Fix kobject lifetime
genirq/proc: Reject invalid affinity masks (again)
xen: Enable interrupts when calling _cond_resched()
Tiezhu Yang (1):
MIPS: Loongson: Fix potential NULL dereference in loongson3_platform_init()
Tony Lindgren (1):
usb: musb: omap2430: Get rid of musb .set_vbus for omap2430 glue
Uwe Kleine-König (3):
serial: imx: ensure that RX irqs are off if RX is off
serial: imx: Only handle irqs that are actually enabled
pwm: omap-dmtimer: Remove PWM chip in .remove before making it unfunctional
Valdis Kletnieks (1):
x86/vdso: Provide missing include file
Vasily Averin (3):
ftrace: fpid_next() should increase position index trigger_next should increase position index help_next should increase position index
Vasily Gorbik (1):
s390/ftrace: generate traced function stack frame
Vincenzo Frascino (1):
ARM: 8951/1: Fix Kexec compilation issue.
Vitaly Kuznetsov (1):
KVM: nVMX: handle nested posted interrupts when apicv is disabled for L1
Vladimir Oltean (1):
gianfar: Fix TX timestamping with a stacked DSA driver
Wenwen Wang (2):
ecryptfs: fix a memory leak bug in parse_tag_1_packet()
ecryptfs: fix a memory leak bug in ecryptfs_init_messaging()
Will Deacon (2):
arm64: ssbs: Fix context-switch when SSBS is present on all CPUs iommu/arm-smmu-v3: Use WRITE_ONCE() when changing validity of an STE
Xiubo Li (1):
ceph: check availability of mds cluster on mount after wait timeout
YueHaibing (1):
drm/nouveau: Fix copy-paste error in nouveau_fence_wait_uevent_handler
Yunfeng Ye (1):
reiserfs: prevent NULL pointer dereference in reiserfs_insert_item()
Zahari Petkov (1):
leds: pca963x: Fix open-drain initialization
Zenghui Yu (1):
irqchip/gic-v3-its: Reference to its_invall_cmd descriptor when building INVALL
Zhiqiang Liu (1):
brd: check and limit max_part par
wangyan (1):
ocfs2: fix a NULL pointer dereference when call ocfs2_update_inode_fsync_trans()
yu kuai (2):
drm/amdgpu: remove 4 set but not used variable in amdgpu_atombios_get_connector_info_from_object_table
pwm: Remove set but not set variable 'pwm'
zhangyi (F) (5):
jbd2: move the clearing of b_modified flag to the journal_unmap_buffer()
jbd2: do not clear the BH_Mapped flag when forgetting a metadata buffer ext4, jbd2: ensure panic when aborting with zero errno
jbd2: switch to use jbd2_journal_abort() when failed to submit the commit record
jbd2: make sure ESHUTDOWN to be recorded in the journal superblock
Greg KH
maintainerMAINTAINERS +1 -1
@@ -6877,7 +6877,7 @@ M: Joonas Lahtinen <[email protected]> M: Rodrigo Vivi <[email protected]> L: [email protected] W: https://01.org/linuxgraphics/ -B: https://01.org/linuxgraphics/documentation/how-report-bugs +B: https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs C: irc://chat.freenode.net/intel-gfx Q: http://patchwork.freedesktop.org/project/intel-gfx/ T: git git://anongit.freedesktop.org/drm-intel
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 171 +SUBLEVEL = 172 EXTRAVERSION = NAME = Petit Gorille
arch/arm/Kconfig +2 -7
@@ -1533,12 +1533,10 @@ config THUMB2_KERNEL bool "Compile the kernel in Thumb-2 mode" if !CPU_THUMBONLY depends on (CPU_V7 || CPU_V7M) && !CPU_V6 && !CPU_V6K default y if CPU_THUMBONLY - select ARM_ASM_UNIFIED select ARM_UNWIND help By enabling this option, the kernel will be compiled in - Thumb-2 mode. A compiler/assembler that understand the unified - ARM-Thumb syntax is needed. + Thumb-2 mode. If unsure, say N.
@@ -1573,9 +1571,6 @@ config THUMB2_AVOID_R_ARM_THM_JUMP11 Unless you are sure your tools don't have this problem, say Y. -config ARM_ASM_UNIFIED - bool - config ARM_PATCH_IDIV bool "Runtime patch udiv/sdiv instructions into __aeabi_{u}idiv()" depends on CPU_32v7 && !XIP_KERNEL
@@ -2010,7 +2005,7 @@ config XIP_PHYS_ADDR config KEXEC bool "Kexec system call (EXPERIMENTAL)" depends on (!SMP || PM_SLEEP_SMP) - depends on !CPU_V7M + depends on MMU select KEXEC_CORE help kexec is a system call that implements the ability to shutdown your
arch/arm/Makefile +4 -2
@@ -115,9 +115,11 @@ ifeq ($(CONFIG_ARM_UNWIND),y) CFLAGS_ABI +=-funwind-tables endif +# Accept old syntax despite ".syntax unified" +AFLAGS_NOWARN :=$(call as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W) + ifeq ($(CONFIG_THUMB2_KERNEL),y) AFLAGS_AUTOIT :=$(call as-option,-Wa$(comma)-mimplicit-it=always,-Wa$(comma)-mauto-it) -AFLAGS_NOWARN :=$(call as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W) CFLAGS_ISA :=-mthumb $(AFLAGS_AUTOIT) $(AFLAGS_NOWARN) AFLAGS_ISA :=$(CFLAGS_ISA) -Wa$(comma)-mthumb # Work around buggy relocation from gas if requested:
@@ -125,7 +127,7 @@ ifeq ($(CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11),y) CFLAGS_MODULE +=-fno-optimize-sibling-calls endif else -CFLAGS_ISA :=$(call cc-option,-marm,) +CFLAGS_ISA :=$(call cc-option,-marm,) $(AFLAGS_NOWARN) AFLAGS_ISA :=$(CFLAGS_ISA) endif
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +2 -4
@@ -587,7 +587,7 @@ pinctrl-0 = <&pinctrl_usdhc2>; bus-width = <4>; cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; - wp-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>; + disable-wp; vmmc-supply = <®_3p3v_sd>; vqmmc-supply = <®_3p3v>; status = "okay";
@@ -598,7 +598,7 @@ pinctrl-0 = <&pinctrl_usdhc3>; bus-width = <4>; cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; - wp-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; + disable-wp; vmmc-supply = <®_3p3v_sd>; vqmmc-supply = <®_3p3v>; status = "okay";
@@ -1001,7 +1001,6 @@ MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059 - MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x40010040 MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x40010040 >; };
@@ -1014,7 +1013,6 @@ MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 - MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x40010040 MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x40010040 >;
arch/arm/boot/dts/r8a7779.dtsi +8 -0
@@ -67,6 +67,14 @@ <0xf0000100 0x100>; }; + timer@f0000200 { + compatible = "arm,cortex-a9-global-timer"; + reg = <0xf0000200 0x100>; + interrupts = <GIC_PPI 11 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; + clocks = <&cpg_clocks R8A7779_CLK_ZS>; + }; + timer@f0000600 { compatible = "arm,cortex-a9-twd-timer"; reg = <0xf0000600 0x20>;
arch/arm/include/asm/unified.h +3 -74
88 lines not on this page · raw message
arch/arm64/boot/dts/qcom/msm8996.dtsi +4 -0
@@ -788,6 +788,8 @@ interrupts = <0 138 0>; phys = <&hsusb_phy2>; phy-names = "usb2-phy"; + snps,dis_u2_susphy_quirk; + snps,dis_enblslpm_quirk; }; };
@@ -817,6 +819,8 @@ interrupts = <0 131 0>; phys = <&hsusb_phy1>, <&ssusb_phy_0>; phy-names = "usb2-phy", "usb3-phy"; + snps,dis_u2_susphy_quirk; + snps,dis_enblslpm_quirk; }; }; };
arch/arm64/include/asm/alternative.h +21 -11
@@ -30,13 +30,16 @@ typedef void (*alternative_cb_t)(struct alt_instr *alt,void __init apply_alternatives_all (void );void apply_alternatives (void *start,size_t length); -#define ALTINSTR_ENTRY (feature,cb) \ +#define ALTINSTR_ENTRY (feature) \ " .word 661b - .\n"/* label */ \ - " .if " __stringify(cb) " == 0\n" \" .word 663f - .\n" /* new instruction */ \ -" .else\n" \ + " .hword " __stringify(feature) "\n" /* feature bit */ \ +" .byte 662b-661b\n" /* source len */ \ + " .byte 664f-663f\n" /* replacement len */ + +#define ALTINSTR_ENTRY_CB (feature, cb) \ + " .word 661b - .\n"/* label */ \ " .word " __stringify(cb) "- .\n" /* callback */ \ -" .endif\n" \ " .hword " __stringify(feature) "\n" /* feature bit */ \" .byte 662b-661b\n" /* source len */ \" .byte 664f-663f\n" /* replacement len */
@@ -57,15 +60,14 @@ void apply_alternatives(void *start, size_t length);* * Alternatives with callbacks do not generate replacement instructions. */ -#define __ALTERNATIVE_CFG (oldinstr, newinstr, feature, cfg_enabled, cb) \ +#define __ALTERNATIVE_CFG (oldinstr, newinstr, feature, cfg_enabled) \ ".if "__stringify(cfg_enabled)" == 1\n" \ "661:\n\t" \ oldinstr "\n" \ "662:\n" \ ".pushsection .altinstructions,\"a\"\n" \ - ALTINSTR_ENTRY(feature,cb) \ + ALTINSTR_ENTRY(feature) \ ".popsection\n" \ - " .if " __stringify(cb) " == 0\n" \ ".pushsection .altinstr_replacement, \"a\"\n" \ "663:\n\t" \ newinstr "\n" \
@@ -73,17 +75,25 @@ void apply_alternatives(void *start, size_t length);".popsection\n\t" \".org . - (664b-663b) + (662b-661b)\n\t" \".org . - (662b-661b) + (664b-663b)\n" \ -".else\n\t" \ + ".endif\n" + +#define __ALTERNATIVE_CFG_CB (oldinstr, feature, cfg_enabled, cb) \ + ".if "__stringify(cfg_enabled)" == 1\n" \ + "661:\n\t" \ + oldinstr "\n" \ + "662:\n" \ + ".pushsection .altinstructions,\"a\"\n" \ + ALTINSTR_ENTRY_CB(feature, cb) \ + ".popsection\n" \ "663:\n\t" \ "664:\n\t" \ -".endif\n" \ ".endif\n"#define _ALTERNATIVE_CFG (oldinstr, newinstr, feature, cfg, ...) \ - __ALTERNATIVE_CFG(oldinstr, newinstr, feature, IS_ENABLED(cfg), 0) + __ALTERNATIVE_CFG(oldinstr, newinstr, feature, IS_ENABLED(cfg))#define ALTERNATIVE_CB (oldinstr, cb) \ - __ALTERNATIVE_CFG(oldinstr, "NOT_AN_INSTRUCTION", ARM64_CB_PATCH, 1, cb) + __ALTERNATIVE_CFG_CB(oldinstr, ARM64_CB_PATCH, 1, cb)#else #include <asm/assembler.h>
arch/arm64/kernel/cpufeature.c +45 -7
79 lines not on this page · raw message
arch/arm64/kernel/fpsimd.c +13 -2
@@ -206,8 +206,19 @@ void fpsimd_preserve_current_state(void)*/ void fpsimd_restore_current_state (void ) { -if (!system_supports_fpsimd ()) +/* +* For the tasks that were created before we detected the absence of +* FP/SIMD, the TIF_FOREIGN_FPSTATE could be set via fpsimd_thread_switch(), +* e.g, init. This could be then inherited by the children processes. +* If we later detect that the system doesn't support FP/SIMD, +* we must clear the flag for all the tasks to indicate that the +* FPSTATE is clean (as we can't have one) to avoid looping for ever in +* do_notify_resume(). +*/ +if (!system_supports_fpsimd ()) { +clear_thread_flag (TIF_FOREIGN_FPSTATE );return ; + }local_bh_disable ();
@@ -229,7 +240,7 @@ void fpsimd_restore_current_state(void)*/ void fpsimd_update_current_state (struct fpsimd_state *state) { -if (!system_supports_fpsimd ()) +if (WARN_ON (!system_supports_fpsimd ()))return ;local_bh_disable ();
arch/arm64/kernel/process.c +7 -0
@@ -354,6 +354,13 @@ static void ssbs_thread_switch(struct task_struct *next)if (unlikely (next->flags &PF_KTHREAD ))return ; +/* +* If all CPUs implement the SSBS extension, then we just need to +* context-switch the PSTATE field. +*/ +if (cpu_have_feature (cpu_feature (SSBS ))) +return ; +/* If the mitigation is enabled, then we leave SSBS clear. */ if ((arm64_get_ssbd_state () ==ARM64_SSBD_FORCE_ENABLE ) ||test_tsk_thread_flag (next,TIF_SSBD ))
arch/arm64/kernel/ptrace.c +21 -0
@@ -624,6 +624,13 @@ static int gpr_set(struct task_struct *target, const struct user_regset *regset,return 0 ; } +static int fpr_active (struct task_struct *target,const struct user_regset *regset) +{ +if (!system_supports_fpsimd ()) +return -ENODEV ; +return regset->n; +} +/* * TODO: update fp accessors for lazy context switching (sync/flush hwstate) */
@@ -634,6 +641,9 @@ static int fpr_get(struct task_struct *target, const struct user_regset *regset,struct user_fpsimd_state *uregs; uregs = &target->thread.fpsimd_state.user_fpsimd; +if (!system_supports_fpsimd ()) +return -EINVAL ; +if (target == current)fpsimd_preserve_current_state ();
@@ -648,6 +658,9 @@ static int fpr_set(struct task_struct *target, const struct user_regset *regset,struct user_fpsimd_state newstate = target->thread.fpsimd_state.user_fpsimd; +if (!system_supports_fpsimd ()) +return -EINVAL ; + ret =user_regset_copyin (&pos, &count, &kbuf, &ubuf, &newstate,0 ,-1 );if (ret)return ret;
@@ -740,6 +753,7 @@ static const struct user_regset aarch64_regsets[] = {*/ .size = sizeof(u32), .align = sizeof(u32), + .active = fpr_active, .get = fpr_get, .set = fpr_set },
@@ -914,6 +928,9 @@ static int compat_vfp_get(struct task_struct *target,compat_ulong_t fpscr;int ret, vregs_end_pos; +if (!system_supports_fpsimd ()) +return -EINVAL ; + uregs = &target->thread.fpsimd_state.user_fpsimd;if (target == current)
@@ -947,6 +964,9 @@ static int compat_vfp_set(struct task_struct *target,compat_ulong_t fpscr;int ret, vregs_end_pos; +if (!system_supports_fpsimd ()) +return -EINVAL ; + uregs = &target->thread.fpsimd_state.user_fpsimd; vregs_end_pos =VFP_STATE_SIZE -sizeof (compat_ulong_t);
@@ -1004,6 +1024,7 @@ static const struct user_regset aarch32_regsets[] = { .n = VFP_STATE_SIZE / sizeof(compat_ulong_t), .size = sizeof(compat_ulong_t), .align = sizeof(compat_ulong_t), + .active = fpr_active, .get = compat_vfp_get, .set = compat_vfp_set },
arch/microblaze/kernel/cpu/cache.c +2 -1
@@ -92,7 +92,8 @@ static inline void __disable_dcache_nomsr(void)#define CACHE_LOOP_LIMITS (start, end, cache_line_length, cache_size) \ do { \ int align = ~(cache_line_length - 1); \ - end = min(start + cache_size, end); \ + if (start < UINT_MAX - cache_size) \ + end = min(start + cache_size, end); \ start &= align; \ } while (0)
arch/mips/loongson64/loongson-3/platform.c +3 -0
@@ -31,6 +31,9 @@ static int __init loongson3_platform_init(void)continue ; pdev =kzalloc (sizeof (struct platform_device ),GFP_KERNEL ); +if (!pdev) +return -ENOMEM ; + pdev->name = loongson_sysconf.sensors[i].name; pdev->id = loongson_sysconf.sensors[i].id; pdev->dev.platform_data = &loongson_sysconf.sensors[i];
arch/powerpc/kernel/eeh_driver.c +0 -6
@@ -520,12 +520,6 @@ static void *eeh_rmv_device(void *data, void *userdata)pci_iov_remove_virtfn (edev->physfn, pdn->vf_index,0 ); edev->pdev =NULL ; - -/* -* We have to set the VF PE number to invalid one, which is -* required to plug the VF successfully. -*/ - pdn->pe_number =IODA_INVALID_PE ;#endif if (rmv_data)list_add (&edev->rmv_list, &rmv_data->edev_list);
arch/powerpc/kernel/pci_dn.c +14 -1
@@ -261,9 +261,22 @@ void remove_dev_pci_data(struct pci_dev *pdev)continue ;#ifdef CONFIG_EEH -/* Release EEH device for the VF */ +/* +* Release EEH state for this VF. The PCI core +* has already torn down the pci_dev for this VF, but +* we're responsible to removing the eeh_dev since it +* has the same lifetime as the pci_dn that spawned it. +*/ edev =pdn_to_eeh_dev (pdn);if (edev) { +/* +* We allocate pci_dn's for the totalvfs count, +* but only only the vfs that were activated +* have a configured PE. +*/ +if (edev->pe) +eeh_rmv_from_parent_pe (edev); + pdn->edev =NULL ;kfree (edev); }
arch/powerpc/platforms/powernv/pci-ioda.c +15 -4
@@ -1523,6 +1523,10 @@ static void pnv_ioda_setup_vf_PE(struct pci_dev *pdev, u16 num_vfs)/* Reserve PE for each VF */ for (vf_index =0 ; vf_index < num_vfs; vf_index++) { +int vf_devfn =pci_iov_virtfn_devfn (pdev, vf_index); +int vf_bus =pci_iov_virtfn_bus (pdev, vf_index); +struct pci_dn *vf_pdn; +if (pdn->m64_single_mode) pe_num = pdn->pe_num_map[vf_index];else
@@ -1535,13 +1539,11 @@ static void pnv_ioda_setup_vf_PE(struct pci_dev *pdev, u16 num_vfs) pe->pbus =NULL ; pe->parent_dev = pdev; pe->mve_number =-1 ; - pe->rid = (pci_iov_virtfn_bus (pdev, vf_index) <<8 ) | -pci_iov_virtfn_devfn (pdev, vf_index); + pe->rid = (vf_bus <<8 ) | vf_devfn;pe_info (pe,"VF %04d:%02d:%02d.%d associated with PE#%x\n" , hose->global_number, pdev->bus->number, -PCI_SLOT (pci_iov_virtfn_devfn (pdev, vf_index)), -PCI_FUNC (pci_iov_virtfn_devfn (pdev, vf_index)), pe_num); +PCI_SLOT (vf_devfn),PCI_FUNC (vf_devfn), pe_num);if (pnv_ioda_configure_pe (phb, pe)) {/* XXX What do we do here ? */
@@ -1555,6 +1557,15 @@ static void pnv_ioda_setup_vf_PE(struct pci_dev *pdev, u16 num_vfs)list_add_tail (&pe->list, &phb->ioda.pe_list);mutex_unlock (&phb->ioda.pe_list_mutex); +/* associate this pe to it's pdn */ +list_for_each_entry (vf_pdn, &pdn->parent->child_list, list) { +if (vf_pdn->busno == vf_bus && + vf_pdn->devfn == vf_devfn) { + vf_pdn->pe_number = pe_num; +break ; + } + } +pnv_pci_ioda2_setup_dma_pe (phb, pe); } }
arch/powerpc/platforms/powernv/pci.c +0 -4
@@ -978,16 +978,12 @@ void pnv_pci_dma_dev_setup(struct pci_dev *pdev)struct pnv_phb *phb = hose->private_data;#ifdef CONFIG_PCI_IOV struct pnv_ioda_pe *pe; -struct pci_dn *pdn;/* Fix the VF pdn PE number */ if (pdev->is_virtfn) { - pdn =pci_get_pdn (pdev); -WARN_ON (pdn->pe_number !=IODA_INVALID_PE );list_for_each_entry (pe, &phb->ioda.pe_list, list) {if (pe->rid == ((pdev->bus->number <<8 ) | (pdev->devfn &0xff ))) { - pdn->pe_number = pe->pe_number; pe->pdev = pdev;break ; }
arch/s390/include/asm/page.h +1 -1
@@ -42,7 +42,7 @@ void __storage_key_init_range(unsigned long start, unsigned long end);static inline void storage_key_init_range (unsigned long start,unsigned long end) { -if (PAGE_DEFAULT_KEY ) +if (PAGE_DEFAULT_KEY !=0 )__storage_key_init_range (start, end); }
arch/s390/include/asm/timex.h +1 -1
@@ -155,7 +155,7 @@ static inline void get_tod_clock_ext(char *clk)static inline unsigned long long get_tod_clock (void ) { -unsigned char clk[STORE_CLOCK_EXT_SIZE ]; +char clk[STORE_CLOCK_EXT_SIZE ];get_tod_clock_ext (clk);return *((unsigned long long *)&clk[1 ]);
arch/s390/kernel/mcount.S +14 -1
@@ -25,6 +25,12 @@ ENTRY(ftrace_stub) #define STACK_PTREGS (STACK_FRAME_OVERHEAD) #define STACK_PTREGS_GPRS (STACK_PTREGS + __PT_GPRS) #define STACK_PTREGS_PSW (STACK_PTREGS + __PT_PSW) +#ifdef __PACK_STACK +/* allocate just enough for r14, r15 and backchain */ +#define TRACED_FUNC_FRAME_SIZE 24 +#else +#define TRACED_FUNC_FRAME_SIZE STACK_FRAME_OVERHEAD +#endif ENTRY(_mcount) BR_EX %r14
@@ -38,9 +44,16 @@ ENTRY(ftrace_caller) #ifndef CC_USING_HOTPATCH aghi %r0,MCOUNT_RETURN_FIXUP #endif - aghi %r15,-STACK_FRAME_SIZE + # allocate stack frame for ftrace_caller to contain traced function + aghi %r15,-TRACED_FUNC_FRAME_SIZE stg %r1,__SF_BACKCHAIN(%r15) + stg %r0,(__SF_GPRS+8*8)(%r15) + stg %r15,(__SF_GPRS+9*8)(%r15) + # allocate pt_regs and stack frame for ftrace_trace_function + aghi %r15,-STACK_FRAME_SIZE stg %r1,(STACK_PTREGS_GPRS+15*8)(%r15) + aghi %r1,-TRACED_FUNC_FRAME_SIZE + stg %r1,__SF_BACKCHAIN(%r15) stg %r0,(STACK_PTREGS_PSW+8)(%r15) stmg %r2,%r14,(STACK_PTREGS_GPRS+2*8)(%r15) #ifdef CONFIG_HAVE_MARCH_Z196_FEATURES
arch/s390/kvm/interrupt.c +3 -3
@@ -1913,7 +1913,7 @@ static int flic_ais_mode_get_all(struct kvm *kvm, struct kvm_device_attr *attr)return -EINVAL ;if (!test_kvm_facility (kvm,72 )) -return -ENOTSUPP ; +return -EOPNOTSUPP ;mutex_lock (&fi->ais_lock); ais.simm = fi->simm;
@@ -2214,7 +2214,7 @@ static int modify_ais_mode(struct kvm *kvm, struct kvm_device_attr *attr)int ret =0 ;if (!test_kvm_facility (kvm,72 )) -return -ENOTSUPP ; +return -EOPNOTSUPP ;if (copy_from_user (&req, (void __user *)attr->addr,sizeof (req)))return -EFAULT ;
@@ -2294,7 +2294,7 @@ static int flic_ais_mode_set_all(struct kvm *kvm, struct kvm_device_attr *attr)struct kvm_s390_ais_all ais;if (!test_kvm_facility (kvm,72 )) -return -ENOTSUPP ; +return -EOPNOTSUPP ;if (copy_from_user (&ais, (void __user *)attr->addr,sizeof (ais)))return -EFAULT ;
arch/sh/include/cpu-sh2a/cpu/sh7269.h +9 -2
@@ -78,8 +78,15 @@ enum {GPIO_FN_WDTOVF ,/* CAN */ -GPIO_FN_CTX1 ,GPIO_FN_CRX1 ,GPIO_FN_CTX0 ,GPIO_FN_CTX0_CTX1 , -GPIO_FN_CRX0 ,GPIO_FN_CRX0_CRX1 ,GPIO_FN_CRX0_CRX1_CRX2 , +GPIO_FN_CTX2 ,GPIO_FN_CRX2 , +GPIO_FN_CTX1 ,GPIO_FN_CRX1 , +GPIO_FN_CTX0 ,GPIO_FN_CRX0 , +GPIO_FN_CTX0_CTX1 ,GPIO_FN_CRX0_CRX1 , +GPIO_FN_CTX0_CTX1_CTX2 ,GPIO_FN_CRX0_CRX1_CRX2 , +GPIO_FN_CTX2_PJ21 ,GPIO_FN_CRX2_PJ20 , +GPIO_FN_CTX1_PJ23 ,GPIO_FN_CRX1_PJ22 , +GPIO_FN_CTX0_CTX1_PJ23 ,GPIO_FN_CRX0_CRX1_PJ22 , +GPIO_FN_CTX0_CTX1_CTX2_PJ21 ,GPIO_FN_CRX0_CRX1_CRX2_PJ20 ,/* DMAC */ GPIO_FN_TEND0, GPIO_FN_DACK0, GPIO_FN_DREQ0,
arch/sparc/kernel/vmlinux.lds.S +4 -2
@@ -167,12 +167,14 @@ SECTIONS } PERCPU_SECTION(SMP_CACHE_BYTES) -#ifdef CONFIG_JUMP_LABEL . = ALIGN(PAGE_SIZE); .exit.text : { EXIT_TEXT } -#endif + + .exit.data : { + EXIT_DATA + } . = ALIGN(PAGE_SIZE); __init_end = .;
arch/x86/entry/vdso/vdso32-setup.c +1 -0
@@ -11,6 +11,7 @@#include <linux/smp.h> #include <linux/kernel.h> #include <linux/mm_types.h> +#include <linux/elf.h> #include <asm/processor.h> #include <asm/vdso.h>
arch/x86/events/amd/core.c +1 -0
@@ -245,6 +245,7 @@ static const u64 amd_f17h_perfmon_event_map[PERF_COUNT_HW_MAX] = [PERF_COUNT_HW_CPU_CYCLES] = 0x0076, [PERF_COUNT_HW_INSTRUCTIONS] = 0x00c0, [PERF_COUNT_HW_CACHE_REFERENCES] = 0xff60, + [PERF_COUNT_HW_CACHE_MISSES] = 0x0964, [PERF_COUNT_HW_BRANCH_INSTRUCTIONS] = 0x00c2, [PERF_COUNT_HW_BRANCH_MISSES] = 0x00c3, [PERF_COUNT_HW_STALLED_CYCLES_FRONTEND] = 0x0287,
arch/x86/events/intel/ds.c +2 -0
@@ -1368,6 +1368,8 @@ intel_pmu_save_and_restart_reload(struct perf_event *event, int count) old = ((s64)(prev_raw_count << shift) >> shift);local64_add (new - old + count * period, &event->count); +local64_set (&hwc->period_left, -new); +perf_event_update_userpage (event);return 0 ;
arch/x86/include/asm/kvm_host.h +1 -1
@@ -1006,7 +1006,7 @@ struct kvm_x86_ops {void (*load_eoi_exitmap)(struct kvm_vcpu *vcpu,u64 *eoi_exit_bitmap);void (*set_virtual_apic_mode)(struct kvm_vcpu *vcpu);void (*set_apic_access_page_addr)(struct kvm_vcpu *vcpu,hpa_t hpa); -void (*deliver_posted_interrupt)(struct kvm_vcpu *vcpu,int vector); +int (*deliver_posted_interrupt)(struct kvm_vcpu *vcpu,int vector);int (*sync_pir_to_irr)(struct kvm_vcpu *vcpu);int (*set_tss_addr)(struct kvm *kvm,unsigned int addr);int (*get_tdp_level)(struct kvm_vcpu *vcpu);
arch/x86/kernel/cpu/mcheck/mce_amd.c +27 -23
105 lines not on this page · raw message
arch/x86/kernel/sysfb_simplefb.c +1 -1
@@ -94,11 +94,11 @@ __init int create_simplefb(const struct screen_info *si,if (si->orig_video_isVGA ==VIDEO_TYPE_VLFB ) size <<=16 ; length = mode->height * mode->stride; - length =PAGE_ALIGN (length);if (length > size) {printk (KERN_WARNING "sysfb: VRAM smaller than advertised\n" );return -EINVAL ; } + length =PAGE_ALIGN (length);/* setup IORESOURCE_MEM as framebuffer memory */ memset (&res,0 ,sizeof (res));
arch/x86/kvm/cpuid.c +6 -1
@@ -291,13 +291,18 @@ static int __do_cpuid_ent_emulated(struct kvm_cpuid_entry2 *entry, {switch (func) {case 0 : - entry->eax =1 ;/* only one leaf currently */ + entry->eax =7 ; ++*nent;break ;case 1 : entry->ecx =F (MOVBE ); ++*nent;break ; +case 7 : + entry->flags |=KVM_CPUID_FLAG_SIGNIFCANT_INDEX ; +if (index ==0 ) + entry->ecx =F (RDPID ); + ++*nent;default :break ; }
arch/x86/kvm/emulate.c +21 -1
@@ -3539,6 +3539,16 @@ static int em_cwd(struct x86_emulate_ctxt *ctxt)return X86EMUL_CONTINUE ; } +static int em_rdpid (struct x86_emulate_ctxt *ctxt) +{ +u64 tsc_aux =0 ; + +if (ctxt->ops->get_msr (ctxt,MSR_TSC_AUX , &tsc_aux)) +return emulate_gp (ctxt,0 ); + ctxt->dst.val = tsc_aux; +return X86EMUL_CONTINUE ; +} +static int em_rdtsc (struct x86_emulate_ctxt *ctxt) {u64 tsc =0 ;
@@ -4431,10 +4441,20 @@ static const struct opcode group8[] = { F(DstMem | SrcImmByte | Lock | PageTable, em_btc), }; +/* +* The "memory" destination is actually always a register, since we come +* from the register case of group9. +*/ +static const struct gprefix pfx_0f_c7_7 = { +N ,N ,N ,II (DstMem | ModRM | Op3264 | EmulateOnUD, em_rdpid, rdtscp), +}; + +static const struct group_dual group9 = { {N ,I (DstMem64 | Lock | PageTable, em_cmpxchg8b),N ,N ,N ,N ,N ,N , }, { -N ,N ,N ,N ,N ,N ,N ,N , +N ,N ,N ,N ,N ,N ,N , +GP (0 , &pfx_0f_c7_7), } };static const struct opcode group11[] = {
arch/x86/kvm/irq_comm.c +1 -1
@@ -427,7 +427,7 @@ void kvm_scan_ioapic_routes(struct kvm_vcpu *vcpu,kvm_set_msi_irq (vcpu->kvm, entry, &irq); -if (irq.level &&kvm_apic_match_dest (vcpu,NULL ,0 , +if (irq.trig_mode &&kvm_apic_match_dest (vcpu,NULL ,0 , irq.dest_id, irq.dest_mode))__set_bit (irq.vector, ioapic_handled_vectors); }
arch/x86/kvm/lapic.c +4 -5
@@ -566,9 +566,11 @@ static inline bool pv_eoi_enabled(struct kvm_vcpu *vcpu)static bool pv_eoi_get_pending (struct kvm_vcpu *vcpu) {u8 val; -if (pv_eoi_get_user (vcpu, &val) <0 ) +if (pv_eoi_get_user (vcpu, &val) <0 ) {apic_debug ("Can't read EOI MSR value: 0x%llx\n" , (unsigned long long )vcpu->arch.pv_eoi.msr_val); +return false; + }return val &0x1 ; }
@@ -993,11 +995,8 @@ static int __apic_accept_irq(struct kvm_lapic *apic, int delivery_mode,apic_clear_vector (vector, apic->regs +APIC_TMR ); } -if (vcpu->arch.apicv_active) - kvm_x86_ops->deliver_posted_interrupt (vcpu, vector); -else { +if (kvm_x86_ops->deliver_posted_interrupt (vcpu, vector)) {kvm_lapic_set_irr (vector, apic); -kvm_make_request (KVM_REQ_EVENT , vcpu);kvm_vcpu_kick (vcpu); }
arch/x86/kvm/svm.c +6 -1
@@ -4631,8 +4631,11 @@ static void svm_load_eoi_exitmap(struct kvm_vcpu *vcpu, u64 *eoi_exit_bitmap)return ; } -static void svm_deliver_avic_intr (struct kvm_vcpu *vcpu,int vec) +static int svm_deliver_avic_intr (struct kvm_vcpu *vcpu,int vec) { +if (!vcpu->arch.apicv_active) +return -1 ; +kvm_lapic_set_irr (vec, vcpu->arch.apic);smp_mb__after_atomic ();
@@ -4641,6 +4644,8 @@ static void svm_deliver_avic_intr(struct kvm_vcpu *vcpu, int vec) kvm_cpu_get_apicid(vcpu->cpu)); elsekvm_vcpu_wake_up (vcpu ); + +return 0 ; }static bool svm_dy_apicv_has_pending_interrupt (struct kvm_vcpu *vcpu)
arch/x86/kvm/vmx.c +100 -18
170 lines not on this page · raw message
arch/x86/kvm/vmx/vmx.c deleted +0 -8033
1,901 lines not on this page · raw message
arch/x86/platform/efi/efi.c +21 -20
41 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c +2 -17
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/mediatek/mtk_drm_crtc.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/nouveau_fence.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c +11 -10
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c +2 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/radeon/radeon_display.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hfi1/file_ops.c +32 -20
52 lines not on this page · raw message
drivers/infiniband/hw/hfi1/user_exp_rcv.c +0 -3
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hfi1/user_sdma.c +12 -5
Lines of this file are not shown. View the raw message.
drivers/infiniband/ulp/isert/ib_isert.c +12 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/sti/bdisp/bdisp-hw.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cisco/enic/enic_main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/gianfar.c +7 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/b43legacy/main.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/ipw2x00/ipw2100.c +4 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/ipw2x00/ipw2200.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlegacy/3945-mac.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlegacy/4965-mac.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlegacy/common.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/tt.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intersil/hostap/hostap_ap.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intersil/orinoco/orinoco_usb.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtlwifi/pci.c +6 -4
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-baytrail.c +7 -1
Lines of this file are not shown. View the raw message.
drivers/staging/greybus/audio_manager.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c +2 -3
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/os_dep/ioctl_linux.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/tty/serial/8250/8250_aspeed_vuart.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/tty/serial/imx.c +118 -53
171 lines not on this page · raw message
drivers/tty/vt/vt_ioctl.c +33 -42
75 lines not on this page · raw message
drivers/usb/host/xhci-ring.c +43 -17
60 lines not on this page · raw message
fs/jbd2/commit.c +27 -23
50 lines not on this page · raw message
kernel/padata.c +12 -33
45 lines not on this page · raw message
tools/objtool/arch/x86/lib/x86-opcode-map.txt +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/size/get_size.c +18 -6
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.