Linux 4.19.87
Greg KH
maintainerI'm announcing the release of the 4.19.87 kernel.
All users of the 4.19 kernel series must upgrade.
The updated 4.19.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/admin-guide/hw-vuln/mds.rst | 7 Documentation/admin-guide/hw-vuln/tsx_async_abort.rst | 5 Documentation/admin-guide/kernel-parameters.txt | 11 Documentation/devicetree/bindings/spi/spi-uniphier.txt | 14 Makefile | 2 arch/arc/kernel/perf_event.c | 4 arch/arm/boot/dts/imx6sx-sdb.dtsi | 7 arch/arm/mm/mmu.c | 3 arch/arm64/Makefile | 2 arch/arm64/include/asm/string.h | 14 arch/arm64/kernel/arm64ksyms.c | 7 arch/arm64/lib/memchr.S | 2 arch/arm64/lib/memcmp.S | 2 arch/arm64/lib/strchr.S | 2 arch/arm64/lib/strcmp.S | 2 arch/arm64/lib/strlen.S | 2 arch/arm64/lib/strncmp.S | 2 arch/arm64/lib/strnlen.S | 2 arch/arm64/lib/strrchr.S | 2 arch/m68k/kernel/uboot.c | 2 arch/nds32/include/asm/bitfield.h | 4 arch/powerpc/boot/Makefile | 4 arch/powerpc/boot/opal.c | 8 arch/powerpc/include/asm/asm-prototypes.h | 3 arch/powerpc/include/asm/security_features.h | 3 arch/powerpc/kernel/eeh_driver.c | 4 arch/powerpc/kernel/eeh_pe.c | 2 arch/powerpc/kernel/entry_64.S | 6 arch/powerpc/kernel/process.c | 3 arch/powerpc/kernel/security.c | 74 ++ arch/powerpc/kvm/book3s_hv_rmhandlers.S | 28 + arch/powerpc/mm/pgtable-radix.c | 8 arch/powerpc/mm/tlb-radix.c | 1 arch/powerpc/platforms/powernv/memtrace.c | 2 arch/powerpc/platforms/ps3/os-area.c | 2 arch/powerpc/platforms/pseries/hotplug-memory.c | 2 arch/powerpc/platforms/pseries/lpar.c | 54 ++ arch/powerpc/xmon/Makefile | 6 arch/riscv/mm/ioremap.c | 2 arch/s390/kernel/perf_cpum_sf.c | 6 arch/sparc/include/asm/cmpxchg_64.h | 7 arch/sparc/include/asm/parport.h | 2 arch/um/drivers/line.c | 4 arch/x86/include/asm/ptrace.h | 42 + arch/x86/kernel/cpu/bugs.c | 30 + arch/x86/kernel/cpu/intel_rdt.c | 7 arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 12 arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 10 arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 38 + arch/x86/kvm/mmu.c | 8 arch/x86/kvm/vmx.c | 22 arch/x86/tools/gen-insn-attr-x86.awk | 4 block/blk-core.c | 3 block/blk-merge.c | 46 + block/blk-sysfs.c | 2 crypto/testmgr.c | 6 drivers/acpi/acpi_memhotplug.c | 2 drivers/acpi/scan.c | 1 drivers/atm/zatm.c | 42 - drivers/base/memory.c | 22 drivers/base/power/domain.c | 6 drivers/block/amiflop.c | 84 +-- drivers/block/nbd.c | 6 drivers/block/skd_main.c | 4 drivers/bluetooth/hci_bcsp.c | 3 drivers/cdrom/cdrom.c | 27 - drivers/char/virtio_console.c | 28 - drivers/clk/at91/clk-audio-pll.c | 2 drivers/clk/mmp/clk-of-mmp2.c | 4 drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 7 drivers/clk/tegra/clk-tegra20.c | 36 + drivers/clk/tegra/clk-tegra210.c | 6 drivers/cpufreq/cpufreq.c | 6 drivers/crypto/ccree/cc_hw_queue_defs.h | 6 drivers/devfreq/devfreq.c | 2 drivers/edac/thunderx_edac.c | 4 drivers/firmware/google/gsmi.c | 5 drivers/gpio/gpio-max77620.c | 6 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 23 drivers/gpu/drm/i915/i915_gem_userptr.c | 22 drivers/gpu/drm/i915/i915_pmu.c | 4 drivers/i2c/busses/i2c-uniphier-f.c | 72 ++ drivers/infiniband/hw/bnxt_re/bnxt_re.h | 2 drivers/infiniband/hw/bnxt_re/main.c | 44 + drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 13 drivers/isdn/mISDN/tei.c | 7 drivers/macintosh/windfarm_smu_sat.c | 25 - drivers/md/dm-raid.c | 2 drivers/md/raid10.c | 2 drivers/media/i2c/ov13858.c | 6 drivers/media/platform/vivid/vivid-kthread-cap.c | 8 drivers/media/platform/vivid/vivid-kthread-out.c | 8 drivers/media/platform/vivid/vivid-sdr-cap.c | 8 drivers/media/platform/vivid/vivid-vid-cap.c | 3 drivers/media/platform/vivid/vivid-vid-out.c | 3 drivers/media/rc/imon.c | 3 drivers/media/usb/b2c2/flexcop-usb.c | 3 drivers/media/usb/dvb-usb/cxusb.c | 3 drivers/media/usb/usbvision/usbvision-video.c | 21 drivers/media/usb/uvc/uvc_driver.c | 28 - drivers/mfd/arizona-core.c | 8 drivers/mfd/intel_soc_pmic_bxtwc.c | 41 + drivers/mfd/max8997.c | 8 drivers/mfd/mc13xxx-core.c | 3 drivers/misc/mic/scif/scif_fence.c | 2 drivers/mmc/host/mtk-sd.c | 15 drivers/net/dsa/bcm_sf2.c | 4 drivers/net/dsa/mv88e6xxx/chip.c | 4 drivers/net/dsa/mv88e6xxx/port.c | 25 - drivers/net/dsa/mv88e6xxx/port.h | 1 drivers/net/ethernet/amazon/Kconfig | 2 drivers/net/ethernet/broadcom/genet/bcmgenet.c | 2 drivers/net/ethernet/cadence/macb_main.c | 2 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 24 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 12 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 2 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c | 4 drivers/net/ethernet/intel/fm10k/fm10k_iov.c | 48 + drivers/net/ethernet/intel/igb/igb_ptp.c | 8 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 9 drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 9 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c | 2 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 10 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h | 1 drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c | 2 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 19 drivers/net/ethernet/netronome/nfp/bpf/main.h | 7 drivers/net/ethernet/netronome/nfp/bpf/offload.c | 18 drivers/net/ethernet/netronome/nfp/bpf/verifier.c | 58 ++ drivers/net/ethernet/qlogic/qed/qed.h | 2 drivers/net/ethernet/qlogic/qed/qed_main.c | 22 drivers/net/ethernet/qlogic/qed/qed_mcp.c | 27 - drivers/net/ethernet/qlogic/qed/qed_mcp.h | 5 drivers/net/ethernet/qlogic/qed/qed_vf.c | 2 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c | 2 drivers/net/ethernet/sfc/ptp.c | 3 drivers/net/ethernet/socionext/netsec.c | 19 drivers/net/ethernet/ti/cpsw.c | 1 drivers/net/macsec.c | 20 drivers/net/ntb_netdev.c | 2 drivers/net/phy/dp83867.c | 37 + drivers/net/vrf.c | 19 drivers/net/wireless/ath/ath10k/mac.c | 14 drivers/net/wireless/ath/ath10k/pci.c | 23 drivers/net/wireless/ath/ath10k/snoc.c | 2 drivers/net/wireless/ath/ath10k/usb.c | 8 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 2 drivers/net/wireless/ath/wil6210/debugfs.c | 15 drivers/net/wireless/ath/wil6210/main.c | 11 drivers/net/wireless/ath/wil6210/txrx_edma.c | 23 drivers/net/wireless/ath/wil6210/wil6210.h | 1 drivers/net/wireless/ath/wil6210/wmi.c | 9 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c | 30 + drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h | 1 drivers/net/wireless/cisco/airo.c | 2 drivers/net/wireless/marvell/mwifiex/cfg80211.c | 13 drivers/net/wireless/marvell/mwifiex/ioctl.h | 1 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c | 11 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c | 7 drivers/net/wireless/mediatek/mt76/tx.c | 3 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 1 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c | 2 drivers/net/wireless/ti/wlcore/vendor_cmd.c | 2 drivers/nfc/port100.c | 2 drivers/ntb/hw/intel/ntb_hw_gen1.c | 2 drivers/nvme/host/core.c | 2 drivers/nvme/host/pci.c | 8 drivers/nvme/target/fcloop.c | 1 drivers/nvme/target/io-cmd-file.c | 3 drivers/of/unittest.c | 58 +- drivers/pci/controller/dwc/pci-keystone.c | 3 drivers/pci/controller/pcie-cadence-ep.c | 2 drivers/pci/controller/pcie-mediatek.c | 143 ++--- drivers/pci/controller/vmd.c | 2 drivers/pinctrl/bcm/pinctrl-bcm2835.c | 6 drivers/pinctrl/cirrus/pinctrl-madera-core.c | 2 drivers/pinctrl/pinctrl-lpc18xx.c | 10 drivers/pinctrl/pinctrl-zynq.c | 9 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 21 drivers/pinctrl/sunxi/pinctrl-sunxi.c | 11 drivers/platform/x86/intel_cht_int33fe.c | 24 drivers/pwm/pwm-lpss.c | 12 drivers/rtc/rtc-s35390a.c | 2 drivers/scsi/bfa/bfa_defs_svc.h | 2 drivers/scsi/bfa/bfad_im.h | 2 drivers/scsi/dc395x.c | 12 drivers/scsi/hisi_sas/hisi_sas_main.c | 56 +- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 2 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 2 drivers/scsi/ips.c | 1 drivers/scsi/isci/host.c | 8 drivers/scsi/isci/host.h | 2 drivers/scsi/isci/request.c | 4 drivers/scsi/isci/task.c | 4 drivers/scsi/iscsi_tcp.c | 3 drivers/scsi/lpfc/lpfc.h | 1 drivers/scsi/lpfc/lpfc_els.c | 95 +++ drivers/scsi/lpfc/lpfc_hbadisc.c | 29 + drivers/scsi/lpfc/lpfc_init.c | 2 drivers/scsi/lpfc/lpfc_nportdisc.c | 5 drivers/scsi/lpfc/lpfc_sli.c | 11 drivers/scsi/lpfc/lpfc_sli4.h | 1 drivers/scsi/megaraid/megaraid_sas_base.c | 9 drivers/scsi/mpt3sas/mpt3sas_base.c | 2 drivers/scsi/mpt3sas/mpt3sas_config.c | 4 drivers/scsi/mpt3sas/mpt3sas_scsih.c | 36 + drivers/scsi/zorro_esp.c | 8 drivers/soc/bcm/brcmstb/pm/pm-arm.c | 2 drivers/spi/spi-omap2-mcspi.c | 26 - drivers/spi/spi-sh-msiof.c | 4 drivers/staging/comedi/drivers/usbduxfast.c | 21 drivers/thermal/armada_thermal.c | 4 drivers/thermal/rcar_thermal.c | 6 drivers/tty/pty.c | 14 drivers/tty/synclink_gt.c | 16 drivers/usb/misc/appledisplay.c | 15 drivers/usb/misc/chaoskey.c | 24 drivers/usb/serial/cp210x.c | 1 drivers/usb/serial/mos7720.c | 4 drivers/usb/serial/mos7840.c | 16 drivers/usb/serial/option.c | 7 drivers/usb/typec/tcpm.c | 9 drivers/usb/usbip/Kconfig | 1 drivers/usb/usbip/stub_rx.c | 50 +- drivers/vhost/vsock.c | 66 +- drivers/virtio/virtio_ring.c | 2 drivers/w1/slaves/w1_ds2438.c | 66 ++ drivers/xen/balloon.c | 3 fs/btrfs/ctree.c | 4 fs/btrfs/ioctl.c | 2 fs/btrfs/super.c | 6 fs/ceph/file.c | 45 - fs/ceph/inode.c | 1 fs/cifs/smb2pdu.c | 6 fs/dlm/member.c | 5 fs/dlm/user.c | 2 fs/f2fs/data.c | 8 fs/f2fs/dir.c | 1 fs/f2fs/f2fs.h | 2 fs/f2fs/namei.c | 2 fs/f2fs/segment.c | 4 fs/f2fs/super.c | 5 fs/gfs2/rgrp.c | 13 fs/hfs/brec.c | 1 fs/hfs/btree.c | 41 + fs/hfs/btree.h | 1 fs/hfs/catalog.c | 16 fs/hfs/extent.c | 10 fs/hfs/inode.c | 2 fs/hfsplus/attributes.c | 10 fs/hfsplus/brec.c | 1 fs/hfsplus/btree.c | 44 + fs/hfsplus/catalog.c | 24 fs/hfsplus/extents.c | 8 fs/hfsplus/hfsplus_fs.h | 2 fs/hfsplus/inode.c | 1 fs/ocfs2/buffer_head_io.c | 77 ++- fs/ocfs2/dlm/dlmdebug.c | 2 fs/ocfs2/dlmglue.c | 2 fs/ocfs2/file.c | 4 fs/ocfs2/journal.c | 51 +- fs/ocfs2/move_extents.c | 17 fs/ocfs2/stackglue.c | 6 fs/ocfs2/stackglue.h | 3 fs/ocfs2/xattr.c | 56 +- fs/read_write.c | 33 + fs/xfs/xfs_buf.c | 45 + fs/xfs/xfs_trans_ail.c | 28 - include/linux/bitmap.h | 9 include/linux/futex.h | 8 include/linux/inetdevice.h | 4 include/linux/kvm_host.h | 1 include/linux/memory_hotplug.h | 1 include/linux/mfd/intel_soc_pmic.h | 1 include/linux/mfd/max8997.h | 1 include/linux/mfd/mc13xxx.h | 1 kernel/Makefile | 3 kernel/auditsc.c | 2 kernel/bpf/btf.c | 55 +- kernel/bpf/devmap.c | 3 kernel/dma/swiotlb.c | 33 - kernel/futex.c | 247 +++++++++- kernel/futex_compat.c | 202 -------- kernel/irq/matrix.c | 2 kernel/panic.c | 2 kernel/printk/printk.c | 12 kernel/sched/fair.c | 13 kernel/sched/topology.c | 2 lib/bitmap.c | 10 mm/gup_benchmark.c | 3 mm/ksm.c | 14 mm/memcontrol.c | 2 mm/memory_hotplug.c | 76 ++- mm/migrate.c | 25 - mm/page-writeback.c | 33 - mm/page_io.c | 7 net/core/dev.c | 2 net/core/rtnetlink.c | 23 net/core/sock.c | 1 net/ipv4/igmp.c | 53 +- net/ipv4/ip_sockglue.c | 6 net/ipv6/tcp_ipv6.c | 3 net/openvswitch/conntrack.c | 3 net/sched/act_pedit.c | 12 net/sched/act_tunnel_key.c | 4 net/sctp/socket.c | 38 - net/sunrpc/auth_gss/gss_krb5_seal.c | 1 net/sunrpc/xprtsock.c | 34 - net/unix/af_unix.c | 2 net/vmw_vsock/virtio_transport_common.c | 15 net/wireless/ap.c | 2 net/wireless/core.h | 2 net/wireless/sme.c | 8 sound/firewire/isight.c | 10 sound/i2c/cs8427.c | 2 sound/soc/tegra/tegra_sgtl5000.c | 17 sound/usb/mixer.c | 3 tools/bpf/bpftool/bash-completion/bpftool | 2 tools/bpf/bpftool/common.c | 15 tools/bpf/bpftool/main.h | 2 tools/gpio/Build | 1 tools/gpio/Makefile | 10 tools/objtool/arch/x86/tools/gen-insn-attr-x86.awk | 4 tools/power/acpi/tools/acpidump/apmain.c | 2 tools/power/x86/turbostat/turbostat.c | 93 ++- tools/testing/selftests/bpf/test_libbpf.sh | 2 tools/testing/selftests/bpf/trace_helpers.c | 1 tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc | 3 tools/testing/selftests/kvm/dirty_log_test.c | 4 tools/testing/selftests/powerpc/cache_shape/Makefile | 9 tools/testing/selftests/powerpc/ptrace/Makefile | 13 tools/testing/selftests/powerpc/signal/Makefile | 11 tools/testing/selftests/powerpc/switch_endian/Makefile | 1 tools/testing/selftests/proc/fd-001-lookup.c | 2 tools/testing/selftests/proc/fd-003-kthread.c | 2 tools/testing/selftests/vm/gup_benchmark.c | 1 tools/testing/selftests/watchdog/watchdog-test.c | 16 tools/usb/usbip/libsrc/usbip_host_common.c | 8 virt/kvm/kvm_main.c | 26 - 339 files changed, 3081 insertions(+), 1602 deletions(-)
Adrian Bunk (1):
mwifiex: Fix NL80211_TX_POWER_LIMITED
Ahmad Masri (1):
wil6210: fix debugfs memory access alignment
Al Viro (2):
pty: fix compat ioctls
synclink_gt(): fix compat_ioctl()
Alan Douglas (1):
PCI: cadence: Write MSI data with 32bits
Alan Stern (1):
media: usbvision: Fix races among open, close, and disconnect
Aleksander Morgado (2):
USB: serial: option: add support for DW5821e with eSIM support
USB: serial: option: add support for Foxconn T77W968 LTE modules
Alexander Kapshuk (1):
x86/insn: Fix awk regexp warnings
Alexander Popov (1):
media: vivid: Fix wrong locking that causes race conditions on streaming stop
Alexandre Belloni (1):
clk: at91: audio-pll: fix audio pmc type
Alexey Brodkin (1):
ARC: perf: Accommodate big-endian CPU
Ali MJ Al-Nasrawy (2):
brcmsmac: AP mode: update beacon when TIM changes
brcmsmac: never log "tid x is not agg'able" by default
Andrea Arcangeli (1):
mm: thp: fix MADV_DONTNEED vs migrate_misplaced_transhuge_page race condition
Andrea Parri (1):
selftests: kvm: Fix -Wformat warnings
Andreas Gruenbacher (1):
gfs2: Fix marking bitmaps non-full
Andrei Vagin (1):
sock_diag: fix autoloading of the raw_diag module
Andrey Ryabinin (2):
mm/ksm.c: don't WARN if page is still mapped in remove_stable_node()
arm64: lib: use C string functions with KASAN enabled
Andy Shevchenko (1):
mfd: intel_soc_pmic_bxtwc: Chain power button IRQs as well
Angelo Dureghello (1):
m68k: fix command-line parsing when passed from u-boot
Anton Ivanov (1):
um: Make line/tty semantics use true write IRQ
Aravinda Prasad (1):
powerpc/pseries: Export raw per-CPU VPA data via debugfs
Arnd Bergmann (3):
openvswitch: fix linking without CONFIG_NF_CONNTRACK_LABELS
btrfs: avoid link error with CONFIG_NO_AUTO_INLINE
y2038: futex: Move compat implementation into futex.c
Badhri Jagan Sridharan (1):
usb: typec: tcpm: charge current handling for sink during hard reset
Bart Van Assche (2):
nvmet: avoid integer overflow in the discard code
nvmet-fcloop: suppress a compiler warning
Benjamin Herrenschmidt (1):
macintosh/windfarm_smu_sat: Fix debug output
Bernd Porr (1):
staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error
Borislav Petkov (1):
kernel/panic.c: do not append newline to the stack protector panic string
Brian Foster (1):
xfs: clear ail delwri queued bufs on unmount of shutdown fs
Brian Masney (1):
pinctrl: qcom: spmi-gpio: fix gpio-hog related boot issues
Brian Norris (1):
ath10k: snoc: fix unbalanced clock error handling
Carl Huang (1):
ath10k: allocate small size dma memory in ath10k_pci_diag_write_mem
Changwei Ge (2):
ocfs2: don't use iocb when EIOCBQUEUED returns
ocfs2: don't put and assigning null to bh allocated outside
Chao Yu (2):
f2fs: fix to spread clear_cold_data()
f2fs: spread f2fs_set_inode_flags()
Chaotian Jing (2):
mmc: mediatek: fill the actual clock for mmc debugfs
mmc: mediatek: fix cannot receive new request when msdc_cmd_is_ready fail
Chester Lin (1):
ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary
Chiranjeevi Rapolu (1):
media: ov13858: Check for possible null pointer
Chris Wilson (2):
drm/i915/pmu: "Frequency" is reported as accumulated cycles drm/i915/userptr: Try to acquire the page lock around set_page_dirty()
Christoph Hellwig (3):
scsi: dc395x: fix dma API usage in srb_done
scsi: dc395x: fix DMA API usage in sg_update_list
swiotlb: do not panic on mapping failures
Christophe JAILLET (2):
pinctrl: sunxi: Fix a memory leak in 'sunxi_pinctrl_build_state()'
wlcore: Fix the return value in case of error in 'wlcore_vendor_cmd_smart_config_start()'
Christopher M. Riedl (1):
powerpc/64s: support nospectre_v2 cmdline option
Colin Ian King (3):
usbip: tools: fix atoi() on non-null terminated string fs/hfs/extent.c: fix array out of bounds read of array extent
ACPICA: Use %d for signed int print formatting instead of %u
Dan Carpenter (7):
net: rtnetlink: prevent underflows in do_setvfinfo()
powerpc: Fix signedness bug in update_flash_db() EDAC, thunderx: Fix memory leak in thunderx_l2c_threaded_isr()
thermal: armada: fix a test in probe()
qlcnic: fix a return in qlcnic_dcb_get_capability() mm/gup_benchmark.c: prevent integer overflow in ioctl
wireless: airo: potential buffer overflow in sprintf()
Darrick J. Wong (1):
vfs: avoid problematic remapping requests into partial EOF block
Dave Chinner (2):
xfs: fix use-after-free race in xfs_buf_rele mm/page-writeback.c: fix range_cyclic writeback vs writepages deadlock
Dave Jiang (1):
ntb: intel: fix return value for ndev_vec_mask()
David Ahern (1):
ipv6: Fix handling of LLA with VRF and sockets bound to VRF
David Hildenbrand (4):
mm/memory_hotplug: make add_memory() take the device_hotplug_lock mm/memory_hotplug: fix online/offline_pages called w.o. mem_hotplug_lock powerpc/powernv: hold device_hotplug_lock when calling device_online() mm/memory_hotplug: don't access uninitialized memmaps in shrink_zone_span()
David S. Miller (2):
sparc: Fix parport build warnings.
sparc64: Rework xchg() definition to avoid warnings.
Davide Caratti (1):
net/sched: act_pedit: fix WARN() in the traffic path
Denis Efremov (1):
ath9k_hw: fix uninitialized variable data
Devesh Sharma (1):
RDMA/bnxt_re: Fix qp async event reporting
Dmitry Osipenko (1):
clk: tegra20: Turn EMC clock gate into divider
Duncan Laurie (1):
gsmi: Fix bug in append_to_eventlog sysfs handler
Eran Ben Elisha (1):
net/mlxfw: Verify FSM error code translation doesn't exceed array size
Eric Dumazet (1):
net: do not abort bulk send on BQL status
Ernesto A. Fernández (8):
hfsplus: fix BUG on bnode parent update
hfs: fix BUG on bnode parent update
hfsplus: prevent btree data loss on ENOSPC
hfs: prevent btree data loss on ENOSPC
hfsplus: fix return value of hfsplus_get_block()
hfs: fix return value of hfs_get_block()
hfsplus: update timestamps on truncate()
hfs: update timestamp on truncate()
Evan Quan (1):
drm/amd/powerplay: issue no PPSMC_MSG_GetCurrPkgPwr on unsupported ASICs
Ezequiel Garcia (1):
PM / devfreq: Fix kernel oops on governor module load
Fabio Estevam (1):
mfd: mc13xxx-core: Fix PMIC shutdown when reading ADC values
Felipe Rechia (1):
powerpc/process: Fix flush_all_to_thread for SPE
Felix Fietkau (1):
mt76: do not store aggregation sequence number for null-data frames
Finn Thain (1):
scsi: zorro_esp: Limit DMA transfers to 65535 bytes
Florian Fainelli (2):
soc: bcm: brcmstb: Fix re-entry point with a THUMB2_KERNEL
net: dsa: bcm_sf2: Turn on PHY to allow successful registration
Frank Rowand (2):
of: unittest: allow base devicetree to have symbol metadata
of: unittest: initialize args before calling of_*parse_*()
Gang He (1):
ocfs2: remove ocfs2_is_o2cb_active()
Garry McNulty (1):
fs/cifs: fix uninitialised variable warnings
Geert Uytterhoeven (1):
thermal: rcar_thermal: Prevent hardware access during system suspend
Greg Kroah-Hartman (2):
usb-serial: cp201x: support Mark-10 digital force gauge Linux 4.19.87
Guozhonghua (1):
ocfs2: without quota support, avoid calling quota recovery
Gustavo A. R. Silva (4):
pinctrl: madera: Fix uninitialized variable bug in madera_mux_set_mux
scsi: ips: fix missing break in switch
scsi: hisi_sas: Fix NULL pointer dereference
rtl8xxxu: Fix missing break in switch
Halil Pasic (1):
virtio_ring: fix return code on DMA mapping fails
Hangbin Liu (1):
ipv4/igmp: fix v1/v2 switchback timeout based on rfc3376, 8.12
Hans de Goede (2):
pwm: lpss: Only set update bit if we are actually changing the settings ACPI / scan: Create platform device for INT33FE ACPI nodes
Heinz Mauelshagen (1):
dm raid: avoid bitmap with raid4/5/6 journal device
Hewenliang (1):
usbip: tools: fix fd leakage in the function of read_attr_usbip_status
Honghui Zhang (2):
PCI: mediatek: Fix class type for MT7622 to PCI_CLASS_BRIDGE_PCI
PCI: mediatek: Fixup MSI enablement logic by enabling MSI before clocks
Huazhong Tan (4):
net: hns3: bugfix for buffer not free problem during resetting
net: hns3: bugfix for reporting unknown vector0 interrupt repeatly problem
net: hns3: bugfix for is_valid_csq_clean_head()
net: hns3: bugfix for hclge_mdio_write and hclge_mdio_read
Hui Peng (1):
ath10k: Fix a NULL-ptr-deref bug in ath10k_usb_alloc_urb_from_pipe
Icenowy Zheng (1):
clk: sunxi-ng: enable so-said LDOs for A64 SoC's pll-mipi clock
Igor Konopko (1):
nvme-pci: fix surprise removal
Ivan Khoronzhuk (1):
net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode
J. Bruce Fields (1):
sunrpc: safely reallow resvport min/max inversion
Jacob Keller (1):
fm10k: ensure completer aborts are marked as non-fatal after a resume
Jakub Kicinski (1):
nfp: bpf: protect against mis-initializing atomic counters
James Smart (3):
scsi: lpfc: fcoe: Fix link down issue after 1000+ link bounces
scsi: lpfc: Fix odd recovery in duplicate FLOGIs in point-to-point
scsi: lpfc: Correct loss of fc4 type on remote port address change
Jens Axboe (2):
skd: fixup usage of legacy IO API
cdrom: don't attempt to fiddle with cdo->capability
Jerry Hoemann (1):
selftests: watchdog: Fix error message.
Jia-Ju Bai (1):
fs/ocfs2/dlm/dlmdebug.c: fix a sleep-in-atomic-context bug in dlm_print_one_mle()
Jianchao Wang (1):
block: fix the DISCARD request merge
Jithu Joseph (1):
x86/intel_rdt: Prevent pseudo-locking from using stale pointers
Joel Stanley (5):
powerpc/boot: Fix opal console in boot wrapper powerpc/boot: Disable vector instructions powerpc/xmon: Relax frame size for clang selftests/powerpc/ptrace: Fix out-of-tree build selftests/powerpc/signal: Fix out-of-tree build
Johan Hovold (2):
USB: serial: mos7720: fix remote wakeup
USB: serial: mos7840: fix remote wakeup
Johannes Berg (1):
cfg80211: call disconnect_wk when AP stops
John Pittman (1):
md/raid10: prevent access of uninitialized resync_pages offset
Jon Derrick (1):
PCI: vmd: Detach resources after stopping root bus
Jon Mason (1):
ntb_netdev: fix sleep time mismatch
Joseph Lo (1):
clk: tegra: Fixes for MBIST work around
Joseph Qi (1):
Revert "fs: ocfs2: fix possible null-pointer dereferences in ocfs2_xa_prepare_entry()"
Julien Folly (1):
w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).
Kai Shen (1):
cpufreq: Add NULL checks to show() and store() methods of cpufreq
Keiji Hayashibara (1):
spi: uniphier: fix incorrect property items
Keith Busch (3):
nvme-pci: fix hot removal during error handling tools/testing/selftests/vm/gup_benchmark.c: fix 'write' flag usage
nvme-pci: fix conflicting p2p resource adds
Kishon Vijay Abraham I (1):
PCI: keystone: Use quirk to limit MRRS for K2G
Kyeongdon Kim (1):
net: fix warning in af_unix
Larry Chen (1):
ocfs2: fix clusters leak in ocfs2_defrag_extent()
Laura Abbott (1):
tools: gpio: Correctly add make dependencies for gpio_utils
Laurent Pinchart (1):
media: uvcvideo: Fix error path in control parsing failure
Laurent Vivier (1):
virtio_console: allocate inbufs in add_port() only if it is needed
Len Brown (1):
tools/power turbosat: fix AMD APIC-id output
Leonard Crestez (1):
ARM: dts: imx6sx-sdb: Fix enet phy regulator
Lior David (1):
wil6210: fix locking in wmi_call
Lorenzo Bianconi (1):
mt76x0: phy: fix restore phase in mt76x0_phy_recalibrate_after_assoc
Lubomir Rintel (1):
clk: mmp2: fix the clock id for sdh2_clk and sdh3_clk
Luigi Rizzo (1):
net/mlx4_en: fix mlx4 ethtool -N insertion
Luis Henriques (1):
ceph: only allow punch hole mode in fallocate
Luo Jiaxing (1):
scsi: hisi_sas: Feed back linkrate(max/min) when re-attached
Maor Gottlieb (1):
net/mlx5: Fix auto group size calculation
Marcel Ziswiler (1):
ASoC: tegra_sgtl5000: fix device_node refcounting
Marek Behún (1):
net: dsa: mv88e6xxx: Fix 88E6141/6341 2500mbps SERDES speed
Marek Szyprowski (1):
mfd: max8997: Enale irq-wakeup unconditionally
Martin Habets (1):
sfc: Only cancel the PPS workqueue if it exists
Martin Lau (1):
bpf, btf: fix a missing check bug in btf_parse
Masahiro Yamada (4):
i2c: uniphier-f: make driver robust against concurrency
i2c: uniphier-f: fix occasional timeout error
i2c: uniphier-f: fix race condition when IRQ is cleared
i2c: uniphier-f: fix timeout error after reading 8 bytes
Masahisa Kojima (1):
net: socionext: Stop PHY before resetting netsec
Masami Hiramatsu (1):
selftests/ftrace: Fix to test kprobe $comm arg only if available
Mattias Jacobsson (1):
USB: misc: appledisplay: fix backlight update_status return code
Max Uvarov (2):
net: phy: dp83867: fix speed 10 in sgmii mode
net: phy: dp83867: increase SGMII autoneg timer duration
Maya Erez (2):
wil6210: fix L2 RX status handling
wil6210: fix RGF_CAF_ICR address for Talyn-MB
Michael Ellerman (7):
powerpc/mm/radix: Fix off-by-one in split mapping logic powerpc/mm/radix: Fix overuse of small pages in splitting logic powerpc/mm/radix: Fix small page at boundary when splitting selftests/powerpc/switch_endian: Fix out-of-tree build selftests/powerpc/cache_shape: Fix out-of-tree build powerpc/book3s64: Fix link stack flush on context switch
KVM: PPC: Book3S HV: Flush link stack on guest exit to host kernel
Michael Kelley (1):
irq/matrix: Fix memory overallocation
Michael Schupikov (1):
crypto: testmgr - fix sizeof() on COMP_BUF_SIZE
Mike Manning (1):
vrf: mark skb for multicast or link-local as enslaved to VRF
Ming Lei (1):
block: call rq_qos_exit() after queue is frozen
Miroslav Lichvar (1):
igb: shorten maximum PHC timecounter update interval
Nathan Chancellor (11):
scsi: isci: Use proper enumerated type in atapi_d2h_reg_frame_handler
scsi: isci: Change sci_controller_start_task's return type to sci_status
scsi: bfa: Avoid implicit enum conversion in bfad_im_post_vendor_event
scsi: iscsi_tcp: Explicitly cast param in iscsi_sw_tcp_host_get_param
crypto: ccree - avoid implicit enum conversion
atm: zatm: Fix empty body Clang warnings
rtc: s35390a: Change buf's type to u8 in s35390a_init
mISDN: Fix type of switch control variable in ctrl_teimanager
pinctrl: bcm2835: Use define directive for BCM2835_PINCONF_PARAM_PULL
pinctrl: lpc18xx: Use define directive for PIN_CONFIG_GPIO_PIN_INT
pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD
Navid Emamdoost (1):
nbd: prevent memory leak
Netanel Belgazal (1):
net: ena: Fix Kconfig dependency on X86
Nicholas Piggin (1):
powerpc/64s/radix: Fix radix__flush_tlb_collapsed_pmd double flushing pmd
Nickhu (1):
nds32: Fix bug in bitfield.h
Nikolay Borisov (1):
btrfs: handle error of get_old_root
Oliver Neukum (5):
nfc: port100: handle command failure cleanly
media: b2c2-flexcop-usb: add sanity checking
USBIP: add config dependency for SGL_ALLOC
USB: chaoskey: fix error case of a timeout
appledisplay: fix error handling in the scheduled work
Omar Sandoval (1):
amiflop: clean up on errors during setup
Pavel Löbl (1):
USB: serial: mos7840: add USB ID to support Moxa UPort 2210
Peng Hao (2):
selftests/bpf: fix file resource leak in load_kallsyms
selftests: fix warning: "_GNU_SOURCE" redefined
Peter Zijlstra (1):
sched/topology: Fix off by one bug
Petr Machata (1):
mlxsw: spectrum_router: Fix determining underlay for a GRE tunnel
Philipp Klocke (1):
ALSA: i2c/cs8427: Fix int to char conversion
Quentin Monnet (3):
selftests/bpf: fix return value comparison for tests in test_libbpf.sh
tools: bpftool: fix completion for "bpftool map update"
tools: bpftool: pass an argument to silence open_obj_pinned()
Rahul Verma (1):
qed: Align local and global PTT to propagate through the APIs.
Rakesh Pillai (1):
ath10k: set probe request oui during driver start
Rasmus Villemoes (3):
linux/bitmap.h: handle constant zero-size bitmaps correctly linux/bitmap.h: fix type of nbits in bitmap_shift_right() lib/bitmap.c: fix remaining space computation in bitmap_print_to_pagebuf
Richard Guy Briggs (1):
audit: print empty EXECVE args
Roi Dayan (1):
net/mlx5e: Fix set vf link state error flow
Roman Gushchin (1):
mm: handle no memcg case in memcg_kmem_charge() properly
Sabrina Dubroca (2):
macsec: update operstate when lower device changes
macsec: let the administrator set UP state even if lowerdev is down
Sam Bobroff (2):
powerpc/eeh: Fix null deref for devices removed during EEH powerpc/eeh: Fix use of EEH_PE_KEEP on wrong field
Sapthagiri Baratam (1):
mfd: arizona: Correct calling of runtime_put_sync
Sean Christopherson (3):
KVM: nVMX: reset cache/shadows when switching loaded VMCS
KVM: nVMX: move check_vmentry_postreqs() call to nested_vmx_enter_non_root_mode()
KVM: MMU: Do not treat ZONE_DEVICE pages as being reserved
Sean Young (1):
media: imon: invalid dereference in imon_touch_event
Selvin Xavier (2):
RDMA/bnxt_re: Avoid NULL check after accessing the pointer RDMA/bnxt_re: Avoid resource leak in case the NQ registration fails
Sergei Shtylyov (2):
spi: sh-msiof: fix deferred probing
thermal: rcar_thermal: fix duplicate IRQ request
Sergey Senozhatsky (2):
printk: lock/unlock console only for new logbuf entries
printk: fix integer overflow in setup_log_buf()
Shaokun Zhang (1):
rtlwifi: rtl8192de: Fix misleading REG_MCUFWDL information
Shivasharan S (2):
scsi: megaraid_sas: Fix msleep granularity
scsi: megaraid_sas: Fix goto labels in error handling
Shuah Khan (Samsung OSG) (1):
selftests: watchdog: fix message when /dev/watchdog open fails
Sriram R (1):
cfg80211: Prevent regulatory restore during STA disconnect in concurrent interfaces
Stefano Garzarella (1):
vhost/vsock: split packets to send using multiple buffers
Steven Rostedt (VMware) (1):
kprobes, x86/ptrace.h: Make regs_get_kernel_stack_nth() not fault on bad stack
Su Yue (1):
btrfs: defrag: use btrfs_mod_outstanding_extents in cluster_pages_for_defrag
Suganath Prabu (3):
scsi: mpt3sas: Fix Sync cache command failure during driver unload
scsi: mpt3sas: Don't modify EEDPTagMode field setting on SAS3.5 HBA devices
scsi: mpt3sas: Fix driver modifying persistent data in Manufacturing page11
Sun Ke (1):
nbd:fix memory leak in nbd_get_socket()
Suwan Kim (1):
usbip: Fix uninitialized symbol 'nents' in stub_recv_cmd_submit()
Taehee Yoo (2):
bpf: devmap: fix wrong interface selection in notifier_call
net: bpfilter: fix iptables failure if bpfilter_umh is disabled
Takashi Iwai (1):
ALSA: usb-audio: Fix NULL dereference at parsing BADD
Takashi Sakamoto (1):
ALSA: isight: fix leak of reference to firewire unit in error path of .probe callback
Tariq Toukan (1):
net/mlx4_en: Fix wrong limitation for number of TX rings
Thierry Reding (1):
gpio: max77620: Fixup debounce delays
Thomas Richter (1):
s390/perf: Return error when debug_register fails
Tomas Bortoli (1):
Bluetooth: Fix invalid-free in bcsp_close()
Tristram Ha (1):
net: ethernet: cadence: fix socket buffer corruption problem
Trond Myklebust (1):
SUNRPC: Fix a compile warning for cmpxchg64()
Tycho Andersen (2):
dlm: fix invalid free
dlm: don't leak kernel pointer to userspace
Ulf Hansson (1):
PM / Domains: Deal with multiple states but no governor in genpd
Uros Bizjak (1):
KVM/x86: Fix invvpid and invept register operand size in 64-bit mode
Valentin Schneider (1):
sched/fair: Don't increase sd->balance_interval on newidle balance
Vandana BN (1):
media: vivid: Set vid_cap_streaming and vid_out_streaming to true
Victor Kamensky (1):
arm64: makefile fix build of .i file in external module case
Vignesh R (2):
spi: omap2-mcspi: Set FIFO DMA trigger level to word length
spi: omap2-mcspi: Fix DMA and FIFO event trigger size mismatch
Vinayak Menon (1):
mm/page_io.c: do not free shared swap slots
Vincent Chen (1):
RISC-V: Avoid corrupting the upper 32-bit of phys_addr_t in ioremap
Vito Caputo (1):
media: cxusb: detect cxusb_ctrl_msg error in query
Waiman Long (2):
x86/speculation: Fix incorrect MDS/TAA mitigation status x86/speculation: Fix redundant MDS mitigation message
Wenwen Wang (1):
misc: mic: fix a DMA pool free failure
Xiang Chen (2):
scsi: hisi_sas: Fix the race between IO completion and timeout for SMP/internal IO
scsi: hisi_sas: Free slot later in slot_complete_vx_hw()
Xin Long (2):
net: sched: ensure opts_len <= IP_TUNNEL_OPTS_MAX in act_tunnel_key
sctp: use sk_wmem_queued to check for writable space
Yan, Zheng (1):
ceph: fix dentry leak in ceph_readdir_prepopulate
Yang Tao (1):
futex: Prevent robust futex exit race
YueHaibing (1):
net: bcmgenet: return correct value 'ret' from bcmgenet_power_down
zhong jiang (1):
mm/memory_hotplug: Do not unlock when fails to take the device_hotplug_lock
Greg KH
maintainerDocumentation/admin-guide/hw-vuln/mds.rst +5 -2
@@ -265,8 +265,11 @@ time with the option "mds=". The valid arguments for this option are: ============ ============================================================= -Not specifying this option is equivalent to "mds=full". - +Not specifying this option is equivalent to "mds=full". For processors +that are affected by both TAA (TSX Asynchronous Abort) and MDS, +specifying just "mds=off" without an accompanying "tsx_async_abort=off" +will have no effect as the same mitigation is used for both +vulnerabilities. Mitigation selection guide --------------------------
Documentation/admin-guide/hw-vuln/tsx_async_abort.rst +4 -1
@@ -174,7 +174,10 @@ the option "tsx_async_abort=". The valid arguments for this option are: CPU is not vulnerable to cross-thread TAA attacks. ============ ============================================================= -Not specifying this option is equivalent to "tsx_async_abort=full". +Not specifying this option is equivalent to "tsx_async_abort=full". For +processors that are affected by both TAA and MDS, specifying just +"tsx_async_abort=off" without an accompanying "mds=off" will have no +effect as the same mitigation is used for both vulnerabilities. The kernel command line also allows to control the TSX feature using the parameter "tsx=" on CPUs which support TSX control. MSR_IA32_TSX_CTRL is used
Documentation/admin-guide/kernel-parameters.txt +11 -0
@@ -2359,6 +2359,12 @@ SMT on vulnerable CPUs off - Unconditionally disable MDS mitigation + On TAA-affected machines, mds=off can be prevented by + an active TAA mitigation as both vulnerabilities are + mitigated with the same mechanism so in order to disable + this mitigation, you need to specify tsx_async_abort=off + too. + Not specifying this option is equivalent to mds=full.
@@ -4773,6 +4779,11 @@ vulnerable to cross-thread TAA attacks. off - Unconditionally disable TAA mitigation + On MDS-affected machines, tsx_async_abort=off can be + prevented by an active MDS mitigation as both vulnerabilities + are mitigated with the same mechanism so in order to disable + this mitigation, you need to specify mds=off too. + Not specifying this option is equivalent to tsx_async_abort=full. On CPUs which are MDS affected and deploy MDS mitigation, TAA mitigation is not
Documentation/devicetree/bindings/spi/spi-uniphier.txt +8 -6
@@ -5,18 +5,20 @@ UniPhier SoCs have SCSSI which supports SPI single channel. Required properties: - compatible: should be "socionext,uniphier-scssi" - reg: address and length of the spi master registers - - #address-cells: must be <1>, see spi-bus.txt - - #size-cells: must be <0>, see spi-bus.txt - - clocks: A phandle to the clock for the device. - - resets: A phandle to the reset control for the device. + - interrupts: a single interrupt specifier + - pinctrl-names: should be "default" + - pinctrl-0: pin control state for the default mode + - clocks: a phandle to the clock for the device + - resets: a phandle to the reset control for the device Example: spi0: spi@54006000 { compatible = "socionext,uniphier-scssi"; reg = <0x54006000 0x100>; - #address-cells = <1>; - #size-cells = <0>; + interrupts = <0 39 4>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spi0>; clocks = <&peri_clk 11>; resets = <&peri_rst 11>; };
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 86 +SUBLEVEL = 87 EXTRAVERSION = NAME = "People's Front"
arch/arc/kernel/perf_event.c +2 -2
@@ -490,8 +490,8 @@ static int arc_pmu_device_probe(struct platform_device *pdev)/* loop thru all available h/w condition indexes */ for (j =0 ; j < cc_bcr.c; j++) {write_aux_reg (ARC_REG_CC_INDEX , j); - cc_name.indiv.word0 =read_aux_reg (ARC_REG_CC_NAME0 ); - cc_name.indiv.word1 =read_aux_reg (ARC_REG_CC_NAME1 ); + cc_name.indiv.word0 =le32_to_cpu (read_aux_reg (ARC_REG_CC_NAME0 )); + cc_name.indiv.word1 =le32_to_cpu (read_aux_reg (ARC_REG_CC_NAME1 ));/* See if it has been mapped to a perf event_id */ for (i =0 ; i <ARRAY_SIZE (arc_pmu_ev_hw_map); i++) {
arch/arm/boot/dts/imx6sx-sdb.dtsi +6 -1
@@ -115,7 +115,9 @@ regulator-name = "enet_3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; + gpio = <&gpio2 6 GPIO_ACTIVE_LOW>; + regulator-boot-on; + regulator-always-on; }; reg_pcie_gpio: regulator-pcie-gpio {
@@ -178,6 +180,7 @@ phy-supply = <®_enet_3v3>; phy-mode = "rgmii"; phy-handle = <ðphy1>; + phy-reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>; status = "okay"; mdio {
@@ -371,6 +374,8 @@ MX6SX_PAD_RGMII1_RD3__ENET1_RX_DATA_3 0x3081 MX6SX_PAD_RGMII1_RX_CTL__ENET1_RX_EN 0x3081 MX6SX_PAD_ENET2_RX_CLK__ENET2_REF_CLK_25M 0x91 + /* phy reset */ + MX6SX_PAD_ENET2_CRS__GPIO2_IO_7 0x10b0 >; };
arch/arm/mm/mmu.c +3 -0
@@ -1195,6 +1195,9 @@ void __init adjust_lowmem_bounds(void)phys_addr_t block_start = reg->base;phys_addr_t block_end = reg->base + reg->size; +if (memblock_is_nomap (reg)) +continue ; +if (reg->base < vmalloc_limit) {if (block_end > lowmem_limit)/*
arch/arm64/Makefile +2 -0
@@ -148,6 +148,7 @@ archclean: $(Q)$(MAKE) $(clean)=$(boot) $(Q)$(MAKE) $(clean)=$(boot)/dts +ifeq ($(KBUILD_EXTMOD),) # We need to generate vdso-offsets.h before compiling certain files in kernel/. # In order to do that, we should use the archprepare target, but we can't since # asm-offsets.h is included in some files used to generate vdso-offsets.h, and
@@ -157,6 +158,7 @@ archclean: prepare: vdso_prepare vdso_prepare: prepare0 $(Q)$(MAKE) $(build)=arch/arm64/kernel/vdso include/generated/vdso-offsets.h +endif define archhelp echo '* Image.gz - Compressed kernel image (arch/$(ARCH)/boot/Image.gz)'
arch/arm64/include/asm/string.h +8 -6
@@ -16,6 +16,7 @@#ifndef __ASM_STRING_H#define __ASM_STRING_H +#ifndef CONFIG_KASAN #define __HAVE_ARCH_STRRCHRextern char *strrchr (const char *,int c);
@@ -34,6 +35,13 @@ extern __kernel_size_t strlen(const char *);#define __HAVE_ARCH_STRNLENextern __kernel_size_t strnlen (const char *,__kernel_size_t ); +#define __HAVE_ARCH_MEMCMP +extern int memcmp (const void *,const void *,size_t ); + +#define __HAVE_ARCH_MEMCHR +extern void *memchr (const void *,int ,__kernel_size_t ); +#endif +#define __HAVE_ARCH_MEMCPYextern void *memcpy (void *,const void *,__kernel_size_t );extern void *__memcpy (void *,const void *,__kernel_size_t );
@@ -42,16 +50,10 @@ extern void *__memcpy(void *, const void *, __kernel_size_t);extern void *memmove (void *,const void *,__kernel_size_t );extern void *__memmove (void *,const void *,__kernel_size_t ); -#define __HAVE_ARCH_MEMCHR -extern void *memchr (const void *,int ,__kernel_size_t ); -#define __HAVE_ARCH_MEMSETextern void *memset (void *,int ,__kernel_size_t );extern void *__memset (void *,int ,__kernel_size_t ); -#define __HAVE_ARCH_MEMCMP -extern int memcmp (const void *,const void *,size_t ); -#ifdef CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE #define __HAVE_ARCH_MEMCPY_FLUSHCACHEvoid memcpy_flushcache (void *dst,const void *src,size_t cnt);
arch/arm64/kernel/arm64ksyms.c +5 -2
@@ -44,20 +44,23 @@ EXPORT_SYMBOL(__arch_copy_in_user);EXPORT_SYMBOL (memstart_addr);/* string / mem functions */ +#ifndef CONFIG_KASAN EXPORT_SYMBOL (strchr);EXPORT_SYMBOL (strrchr);EXPORT_SYMBOL (strcmp);EXPORT_SYMBOL (strncmp);EXPORT_SYMBOL (strlen);EXPORT_SYMBOL (strnlen); +EXPORT_SYMBOL (memcmp); +EXPORT_SYMBOL (memchr); +#endif +EXPORT_SYMBOL (memset);EXPORT_SYMBOL (memcpy);EXPORT_SYMBOL (memmove);EXPORT_SYMBOL (__memset);EXPORT_SYMBOL (__memcpy);EXPORT_SYMBOL (__memmove); -EXPORT_SYMBOL (memchr); -EXPORT_SYMBOL (memcmp);/* atomic bitops */ EXPORT_SYMBOL (set_bit);
arch/arm64/lib/memchr.S +1 -1
@@ -30,7 +30,7 @@ * Returns: * x0 - address of first occurrence of 'c' or 0 */ -ENTRY(memchr) +WEAK(memchr) and w1, w1, #0xff 1: subs x2, x2, #1 b.mi 2f
arch/arm64/lib/memcmp.S +1 -1
@@ -58,7 +58,7 @@ pos .req x11 limit_wd .req x12 mask .req x13 -ENTRY(memcmp) +WEAK(memcmp) cbz limit, .Lret0 eor tmp1, src1, src2 tst tmp1, #7
arch/arm64/lib/strchr.S +1 -1
@@ -29,7 +29,7 @@ * Returns: * x0 - address of first occurrence of 'c' or 0 */ -ENTRY(strchr) +WEAK(strchr) and w1, w1, #0xff 1: ldrb w2, [x0], #1 cmp w2, w1
arch/arm64/lib/strcmp.S +1 -1
@@ -60,7 +60,7 @@ tmp3 .req x9 zeroones .req x10 pos .req x11 -ENTRY(strcmp) +WEAK(strcmp) eor tmp1, src1, src2 mov zeroones, #REP8_01 tst tmp1, #7
arch/arm64/lib/strlen.S +1 -1
@@ -56,7 +56,7 @@ pos .req x12 #define REP8_7f 0x7f7f7f7f7f7f7f7f #define REP8_80 0x8080808080808080 -ENTRY(strlen) +WEAK(strlen) mov zeroones, #REP8_01 bic src, srcin, #15 ands tmp1, srcin, #15
arch/arm64/lib/strncmp.S +1 -1
@@ -64,7 +64,7 @@ limit_wd .req x13 mask .req x14 endloop .req x15 -ENTRY(strncmp) +WEAK(strncmp) cbz limit, .Lret0 eor tmp1, src1, src2 mov zeroones, #REP8_01
arch/arm64/lib/strnlen.S +1 -1
@@ -59,7 +59,7 @@ limit_wd .req x14 #define REP8_7f 0x7f7f7f7f7f7f7f7f #define REP8_80 0x8080808080808080 -ENTRY(strnlen) +WEAK(strnlen) cbz limit, .Lhit_limit mov zeroones, #REP8_01 bic src, srcin, #15
arch/arm64/lib/strrchr.S +1 -1
@@ -29,7 +29,7 @@ * Returns: * x0 - address of last occurrence of 'c' or 0 */ -ENTRY(strrchr) +WEAK(strrchr) mov x3, #0 and w1, w1, #0xff 1: ldrb w2, [x0], #1
arch/m68k/kernel/uboot.c +1 -1
@@ -102,5 +102,5 @@ __init void process_uboot_commandline(char *commandp, int size) }parse_uboot_commandline (commandp, len); - commandp[size -1 ] =0 ; + commandp[len -1 ] =0 ; }
arch/nds32/include/asm/bitfield.h +2 -2
@@ -692,8 +692,8 @@#define PFM_CTL_offKU1 13/* Enable user mode event counting for PFMC1 */ #define PFM_CTL_offKU2 14/* Enable user mode event counting for PFMC2 */ #define PFM_CTL_offSEL0 15/* The event selection for PFMC0 */ -#define PFM_CTL_offSEL1 21/* The event selection for PFMC1 */ -#define PFM_CTL_offSEL2 27/* The event selection for PFMC2 */ +#define PFM_CTL_offSEL1 16/* The event selection for PFMC1 */ +#define PFM_CTL_offSEL2 22/* The event selection for PFMC2 */ /* bit 28:31 reserved */ #define PFM_CTL_mskEN0 ( 0x01 << PFM_CTL_offEN0 )
arch/powerpc/boot/Makefile +2 -2
@@ -32,8 +32,8 @@ else endif BOOTCFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ - -fno-strict-aliasing -Os -msoft-float -pipe \ - -fomit-frame-pointer -fno-builtin -fPIC -nostdinc \ + -fno-strict-aliasing -Os -msoft-float -mno-altivec -mno-vsx \ + -pipe -fomit-frame-pointer -fno-builtin -fPIC -nostdinc \ -D$(compress-y) ifdef CONFIG_PPC64_BOOT_WRAPPER
arch/powerpc/boot/opal.c +0 -8
@@ -13,8 +13,6 @@#include <libfdt.h> #include "../include/asm/opal-api.h" -#ifdef CONFIG_PPC64_BOOT_WRAPPER -/* Global OPAL struct used by opal-call.S */ struct opal {u64 base;
@@ -101,9 +99,3 @@ int opal_console_init(void *devp, struct serial_console_data *scdp)return 0 ; } -#else -int opal_console_init (void *devp,struct serial_console_data *scdp) -{ -return -1 ; -} -#endif /* __powerpc64__ */
arch/powerpc/include/asm/asm-prototypes.h +3 -0
@@ -146,8 +146,11 @@ void _kvmppc_save_tm_pr(struct kvm_vcpu *vcpu, u64 guest_msr);/* Patch sites */ extern s32 patch__call_flush_count_cache;extern s32 patch__flush_count_cache_return; +extern s32 patch__flush_link_stack_return; +extern s32 patch__call_kvm_flush_link_stack;extern s32 patch__memset_nocache, patch__memcpy_nocache;extern long flush_count_cache; +extern long kvm_flush_link_stack;#endif /* _ASM_POWERPC_ASM_PROTOTYPES_H */
arch/powerpc/include/asm/security_features.h +3 -0
@@ -81,6 +81,9 @@ static inline bool security_ftr_enabled(unsigned long feature)// Software required to flush count cache on context switch #define SEC_FTR_FLUSH_COUNT_CACHE 0x0000000000000400ull +// Software required to flush link stack on context switch +#define SEC_FTR_FLUSH_LINK_STACK 0x0000000000001000ull +// Features enabled by default #define SEC_FTR_DEFAULT \
arch/powerpc/kernel/eeh_driver.c +4 -0
@@ -281,6 +281,10 @@ static void eeh_pe_report_edev(struct eeh_dev *edev, eeh_report_fn fn,struct pci_driver *driver;enum pci_ers_result new_result; +if (!edev->pdev) { +eeh_edev_info (edev,"no device" ); +return ; + }device_lock (&edev->pdev->dev);if (eeh_edev_actionable (edev)) { driver =eeh_pcid_get (edev->pdev);
arch/powerpc/kernel/eeh_pe.c +1 -1
@@ -379,7 +379,7 @@ int eeh_add_to_parent_pe(struct eeh_dev *edev)while (parent) {if (!(parent->type &EEH_PE_INVALID ))break ; - parent->type &= ~(EEH_PE_INVALID |EEH_PE_KEEP ); + parent->type &= ~EEH_PE_INVALID ; parent = parent->parent; }
arch/powerpc/kernel/entry_64.S +6 -0
@@ -533,6 +533,7 @@ flush_count_cache: /* Save LR into r9 */ mflr r9 + // Flush the link stack .rept 64 bl .+4 .endr
@@ -542,6 +543,11 @@ flush_count_cache: .balign 32 /* Restore LR */ 1: mtlr r9 + + // If we're just flushing the link stack, return here +3: nop + patch_site 3b patch__flush_link_stack_return + li r9,0x7fff mtctr r9
arch/powerpc/kernel/process.c +1 -2
@@ -575,12 +575,11 @@ void flush_all_to_thread(struct task_struct *tsk)if (tsk->thread.regs) {preempt_disable ();BUG_ON (tsk != current); -save_all (tsk); -#ifdef CONFIG_SPE if (tsk->thread.regs->msr &MSR_SPE ) tsk->thread.spefscr =mfspr (SPRN_SPEFSCR );#endif +save_all (tsk);preempt_enable (); }
arch/powerpc/kernel/security.c +68 -6
128 lines not on this page · raw message
arch/powerpc/kvm/book3s_hv_rmhandlers.S +28 -0
@@ -18,6 +18,7 @@ */ #include <asm/ppc_asm.h> +#include <asm/code-patching-asm.h> #include <asm/kvm_asm.h> #include <asm/reg.h> #include <asm/mmu.h>
@@ -1559,6 +1560,10 @@ mc_cont: 1: #endif /* CONFIG_KVM_XICS */ + /* Possibly flush the link stack here. */ +1: nop + patch_site 1b patch__call_kvm_flush_link_stack + /* For hash guest, read the guest SLB and save it away */ ld r5, VCPU_KVM(r9) lbz r0, KVM_RADIX(r5)
@@ -2107,6 +2112,29 @@ END_FTR_SECTION_IFSET(CPU_FTR_ARCH_300) mtlr r0 blr +.balign 32 +.global kvm_flush_link_stack +kvm_flush_link_stack: + /* Save LR into r0 */ + mflr r0 + + /* Flush the link stack. On Power8 it's up to 32 entries in size. */ + .rept 32 + bl .+4 + .endr + + /* And on Power9 it's up to 64. */ +BEGIN_FTR_SECTION + .rept 32 + bl .+4 + .endr +END_FTR_SECTION_IFSET(CPU_FTR_ARCH_300) + + /* Restore LR */ + mtlr r0 + blr + + #ifdef CONFIG_PPC_TRANSACTIONAL_MEM /* * Softpatch interrupt for transactional memory emulation cases
arch/powerpc/mm/pgtable-radix.c +4 -4
@@ -294,15 +294,15 @@ static int __meminit create_physical_mapping(unsigned long start, }if (split_text_mapping && (mapping_size ==PUD_SIZE ) && - (addr <=__pa_symbol (__init_begin)) && - (addr + mapping_size) >=__pa_symbol (_stext)) { + (addr <__pa_symbol (__init_begin)) && + (addr + mapping_size) >__pa_symbol (__init_begin)) { max_mapping_size =PMD_SIZE ; goto retry; }if (split_text_mapping && (mapping_size ==PMD_SIZE ) && - (addr <=__pa_symbol (__init_begin)) && - (addr + mapping_size) >=__pa_symbol (_stext)) { + (addr <__pa_symbol (__init_begin)) && + (addr + mapping_size) >__pa_symbol (__init_begin)) { mapping_size =PAGE_SIZE ; psize = mmu_virtual_psize; }
arch/powerpc/mm/tlb-radix.c +0 -1
@@ -1072,7 +1072,6 @@ void radix__flush_tlb_collapsed_pmd(struct mm_struct *mm, unsigned long addr) goto local; }_tlbie_va_range (addr, end, pid,PAGE_SIZE , mmu_virtual_psize, true); - goto local; }else { local:_tlbiel_va_range (addr, end, pid,PAGE_SIZE , mmu_virtual_psize, true);
arch/powerpc/platforms/powernv/memtrace.c +2 -0
@@ -244,9 +244,11 @@ static int memtrace_online(void)* we need to online the memory ourselves. */ if (!memhp_auto_online) { +lock_device_hotplug ();walk_memory_range (PFN_DOWN (ent->start),PFN_UP (ent->start + ent->size -1 ),NULL , online_mem_block); +unlock_device_hotplug (); }/*
arch/powerpc/platforms/ps3/os-area.c +1 -1
@@ -664,7 +664,7 @@ static int update_flash_db(void)db_set_64 (db, &os_area_db_id_rtc_diff, saved_params.rtc_diff); count =os_area_flash_write (db,sizeof (struct os_area_db ), pos); -if (count <sizeof (struct os_area_db )) { +if (count <0 || count <sizeof (struct os_area_db )) {pr_debug ("%s: os_area_flash_write failed %zd\n" , __func__, count); error = count <0 ? count : -EIO ;
arch/powerpc/platforms/pseries/hotplug-memory.c +1 -1
@@ -676,7 +676,7 @@ static int dlpar_add_lmb(struct drmem_lmb *lmb) nid =memory_add_physaddr_to_nid (lmb->base_addr);/* Add the memory */ - rc =add_memory (nid, lmb->base_addr, block_sz); + rc =__add_memory (nid, lmb->base_addr, block_sz);if (rc) {invalidate_lmb_associativity_index (lmb);return rc;
arch/powerpc/platforms/pseries/lpar.c +54 -0
63 lines not on this page · raw message
arch/powerpc/xmon/Makefile +6 -0
@@ -13,6 +13,12 @@ UBSAN_SANITIZE := n ORIG_CFLAGS := $(KBUILD_CFLAGS) KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS)) +ifdef CONFIG_CC_IS_CLANG +# clang stores addresses on the stack causing the frame size to blow +# out. See https://github.com/ClangBuiltLinux/linux/issues/252 +KBUILD_CFLAGS += -Wframe-larger-than=4096 +endif + ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) obj-y += xmon.o nonstdio.o spr_access.o
arch/riscv/mm/ioremap.c +1 -1
@@ -42,7 +42,7 @@ static void __iomem *__ioremap_caller(phys_addr_t addr, size_t size,/* Page-align mappings */ offset = addr & (~PAGE_MASK ); - addr &=PAGE_MASK ; + addr -= offset; size =PAGE_ALIGN (size + offset); area =get_vm_area_caller (size,VM_IOREMAP , caller);
arch/s390/kernel/perf_cpum_sf.c +5 -1
@@ -2045,14 +2045,17 @@ static int __init init_cpum_sampling_pmu(void) } sfdbg =debug_register (KMSG_COMPONENT ,2 ,1 ,80 ); -if (!sfdbg) +if (!sfdbg) {pr_err ("Registering for s390dbf failed\n" ); +return -ENOMEM ; + }debug_register_view (sfdbg, &debug_sprintf_view); err =register_external_irq (EXT_IRQ_MEASURE_ALERT , cpumf_measurement_alert);if (err) {pr_cpumsf_err (RS_INIT_FAILURE_ALRT ); +debug_unregister (sfdbg); goto out; }
@@ -2061,6 +2064,7 @@ static int __init init_cpum_sampling_pmu(void)pr_cpumsf_err (RS_INIT_FAILURE_PERF );unregister_external_irq (EXT_IRQ_MEASURE_ALERT , cpumf_measurement_alert); +debug_unregister (sfdbg); goto out; }
arch/sparc/include/asm/cmpxchg_64.h +6 -1
@@ -52,7 +52,12 @@ static inline unsigned long xchg64(__volatile__ unsigned long *m, unsigned longreturn val; } -#define xchg (ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) +#define xchg (ptr,x) \ +({ __typeof__(*(ptr)) __ret; \ + __ret = (__typeof__(*(ptr))) \ + __xchg((unsigned long)(x), (ptr), sizeof(*(ptr))); \ + __ret; \ +})void __xchg_called_with_bad_pointer (void );
arch/sparc/include/asm/parport.h +2 -0
@@ -21,6 +21,7 @@*/ #define HAS_DMA +#ifdef CONFIG_PARPORT_PC_FIFO static DEFINE_SPINLOCK (dma_spin_lock);#define claim_dma_lock () \
@@ -31,6 +32,7 @@ static DEFINE_SPINLOCK(dma_spin_lock);#define release_dma_lock (__flags) \ spin_unlock_irqrestore(&dma_spin_lock, __flags); +#endif static struct sparc_ebus_info { struct ebus_dma_info info;
arch/um/drivers/line.c +2 -2
@@ -261,7 +261,7 @@ static irqreturn_t line_write_interrupt(int irq, void *data)if (err ==0 ) {spin_unlock (&line->lock);return IRQ_NONE ; - }else if (err <0 ) { + }else if ((err <0 ) && (err != -EAGAIN )) { line->head = line->buffer; line->tail = line->buffer; }
@@ -284,7 +284,7 @@ int line_setup_irq(int fd, int input, int output, struct line *line, void *data)if (err)return err;if (output) - err =um_request_irq (driver->write_irq, fd,IRQ_NONE , + err =um_request_irq (driver->write_irq, fd,IRQ_WRITE , line_write_interrupt,IRQF_SHARED , driver->write_irq_name, data);return err;
arch/x86/include/asm/ptrace.h +35 -7
59 lines not on this page · raw message
arch/x86/kernel/cpu/bugs.c +28 -2
@@ -39,6 +39,7 @@ static void __init spectre_v2_select_mitigation(void);static void __init ssb_select_mitigation (void );static void __init l1tf_select_mitigation (void );static void __init mds_select_mitigation (void ); +static void __init mds_print_mitigation (void );static void __init taa_select_mitigation (void );/* The base value of the SPEC_CTRL MSR that always has to be preserved. */
@@ -108,6 +109,12 @@ void __init check_bugs(void)mds_select_mitigation ();taa_select_mitigation (); +/* +* As MDS and TAA mitigations are inter-related, print MDS +* mitigation until after TAA mitigation selection is done. +*/ +mds_print_mitigation (); +arch_smt_update ();#ifdef CONFIG_X86_32
@@ -245,6 +252,12 @@ static void __init mds_select_mitigation(void) (mds_nosmt || cpu_mitigations_auto_nosmt()))cpu_smt_disable (false); } +} + +static void __init mds_print_mitigation (void ) +{ +if (!boot_cpu_has_bug (X86_BUG_MDS ) ||cpu_mitigations_off ()) +return ;pr_info ("%s\n" , mds_strings[mds_mitigation]); }
@@ -304,8 +317,12 @@ static void __init taa_select_mitigation(void)return ; } -/* TAA mitigation is turned off on the cmdline (tsx_async_abort=off) */ -if (taa_mitigation ==TAA_MITIGATION_OFF ) +/* +* TAA mitigation via VERW is turned off if both +* tsx_async_abort=off and mds=off are specified. +*/ +if (taa_mitigation ==TAA_MITIGATION_OFF && + mds_mitigation ==MDS_MITIGATION_OFF ) goto out;if (boot_cpu_has (X86_FEATURE_MD_CLEAR ))
@@ -339,6 +356,15 @@ static void __init taa_select_mitigation(void)if (taa_nosmt ||cpu_mitigations_auto_nosmt ())cpu_smt_disable (false); +/* +* Update MDS mitigation, if necessary, as the mds_user_clear is +* now enabled for TAA mitigation. +*/ +if (mds_mitigation ==MDS_MITIGATION_OFF && +boot_cpu_has_bug (X86_BUG_MDS )) { + mds_mitigation =MDS_MITIGATION_FULL ; +mds_select_mitigation (); + } out:pr_info ("%s\n" , taa_strings[taa_mitigation]); }
arch/x86/kernel/cpu/intel_rdt.c +7 -0
@@ -610,6 +610,13 @@ static void domain_remove_cpu(int cpu, struct rdt_resource *r)cancel_delayed_work (&d->cqm_limbo); } +/* +* rdt_domain "d" is going to be freed below, so clear +* its pointer from pseudo_lock_region struct. +*/ +if (d->plr) + d->plr->d =NULL ; +kfree (d->ctrl_val);kfree (d->mbps_val);kfree (d->rmid_busy_llc);
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c +10 -2
@@ -408,8 +408,16 @@ int rdtgroup_schemata_show(struct kernfs_open_file *of,for_each_alloc_enabled_rdt_resource (r)seq_printf (s,"%s:uninitialized\n" , r->name); }else if (rdtgrp->mode ==RDT_MODE_PSEUDO_LOCKED ) { -seq_printf (s,"%s:%d=%x\n" , rdtgrp->plr->r->name, - rdtgrp->plr->d->id, rdtgrp->plr->cbm); +if (!rdtgrp->plr->d) { +rdt_last_cmd_clear (); +rdt_last_cmd_puts ("Cache domain offline\n" ); + ret = -ENODEV ; + }else { +seq_printf (s,"%s:%d=%x\n" , + rdtgrp->plr->r->name, + rdtgrp->plr->d->id, + rdtgrp->plr->cbm); + } }else { closid = rdtgrp->closid;for_each_alloc_enabled_rdt_resource (r) {
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c +10 -0
@@ -1116,6 +1116,11 @@ static int pseudo_lock_measure_cycles(struct rdtgroup *rdtgrp, int sel) goto out; } +if (!plr->d) { + ret = -ENODEV ; + goto out; + } + plr->thread_done =0 ; cpu =cpumask_first (&plr->d->cpu_mask);if (!cpu_online (cpu)) {
@@ -1429,6 +1434,11 @@ static int pseudo_lock_dev_mmap(struct file *filp, struct vm_area_struct *vma) plr = rdtgrp->plr; +if (!plr->d) { +mutex_unlock (&rdtgroup_mutex); +return -ENODEV ; + } +/* * Task is required to run with affinity to the cpus associated * with the pseudo-locked region. If this is not the case the task
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c +28 -10
@@ -268,17 +268,27 @@ static int rdtgroup_cpus_show(struct kernfs_open_file *of, struct seq_file *s, void *v) { struct rdtgroup *rdtgrp; +struct cpumask *mask;int ret =0 ; rdtgrp =rdtgroup_kn_lock_live (of->kn);if (rdtgrp) { -if (rdtgrp->mode ==RDT_MODE_PSEUDO_LOCKED ) -seq_printf (s,is_cpu_list (of) ?"%*pbl\n" :"%*pb\n" , -cpumask_pr_args (&rdtgrp->plr->d->cpu_mask)); -else +if (rdtgrp->mode ==RDT_MODE_PSEUDO_LOCKED ) { +if (!rdtgrp->plr->d) { +rdt_last_cmd_clear (); +rdt_last_cmd_puts ("Cache domain offline\n" ); + ret = -ENODEV ; + }else { + mask = &rdtgrp->plr->d->cpu_mask; +seq_printf (s,is_cpu_list (of) ? +"%*pbl\n" :"%*pb\n" , +cpumask_pr_args (mask)); + } + }else {seq_printf (s,is_cpu_list (of) ?"%*pbl\n" :"%*pb\n" ,cpumask_pr_args (&rdtgrp->cpu_mask)); + } }else { ret = -ENOENT ; }
@@ -1286,6 +1296,7 @@ static int rdtgroup_size_show(struct kernfs_open_file *of,struct rdt_resource *r;struct rdt_domain *d;unsigned int size; +int ret =0 ;bool sep;u32 ctrl;
@@ -1296,11 +1307,18 @@ static int rdtgroup_size_show(struct kernfs_open_file *of, }if (rdtgrp->mode ==RDT_MODE_PSEUDO_LOCKED ) { -seq_printf (s,"%*s:" , max_name_width, rdtgrp->plr->r->name); - size =rdtgroup_cbm_to_size (rdtgrp->plr->r, - rdtgrp->plr->d, - rdtgrp->plr->cbm); -seq_printf (s,"%d=%u\n" , rdtgrp->plr->d->id, size); +if (!rdtgrp->plr->d) { +rdt_last_cmd_clear (); +rdt_last_cmd_puts ("Cache domain offline\n" ); + ret = -ENODEV ; + }else { +seq_printf (s,"%*s:" , max_name_width, + rdtgrp->plr->r->name); + size =rdtgroup_cbm_to_size (rdtgrp->plr->r, + rdtgrp->plr->d, + rdtgrp->plr->cbm); +seq_printf (s,"%d=%u\n" , rdtgrp->plr->d->id, size); + } goto out; }
@@ -1330,7 +1348,7 @@ static int rdtgroup_size_show(struct kernfs_open_file *of, out:rdtgroup_kn_unlock (of->kn); -return 0 ; +return ret; }/* rdtgroup information files for one cache resource. */
arch/x86/kvm/mmu.c +4 -4
@@ -3261,7 +3261,7 @@ static void transparent_hugepage_adjust(struct kvm_vcpu *vcpu,* here. */ if (!is_error_noslot_pfn (pfn) && !kvm_is_reserved_pfn (pfn) && - level ==PT_PAGE_TABLE_LEVEL && + !kvm_is_zone_device_pfn (pfn) && level ==PT_PAGE_TABLE_LEVEL &&PageTransCompoundMap (pfn_to_page (pfn)) && !mmu_gfn_lpage_is_disallowed (vcpu, gfn,PT_DIRECTORY_LEVEL )) {unsigned long mask;
@@ -5709,9 +5709,9 @@ static bool kvm_mmu_zap_collapsible_spte(struct kvm *kvm,* the guest, and the guest page table is using 4K page size * mapping if the indirect sp has level = 1. */ -if (sp->role.direct && - !kvm_is_reserved_pfn (pfn) && -PageTransCompoundMap (pfn_to_page (pfn))) { +if (sp->role.direct && !kvm_is_reserved_pfn (pfn) && + !kvm_is_zone_device_pfn (pfn) && +PageTransCompoundMap (pfn_to_page (pfn))) {drop_spte (kvm, sptep); need_tlb_flush =1 ; goto restart;
arch/x86/kvm/vmx.c +9 -13
@@ -2079,7 +2079,7 @@ static int __find_msr_index(struct vcpu_vmx *vmx, u32 msr)return -1 ; } -static inline void __invvpid (int ext,u16 vpid,gva_t gva) +static inline void __invvpid (unsigned long ext,u16 vpid,gva_t gva) {struct {u64 vpid :16 ;
@@ -2094,7 +2094,7 @@ static inline void __invvpid(int ext, u16 vpid, gva_t gva)BUG_ON (error); } -static inline void __invept (int ext,u64 eptp,gpa_t gpa) +static inline void __invept (unsigned long ext,u64 eptp,gpa_t gpa) {struct {u64 eptp, gpa;
@@ -11013,6 +11013,10 @@ static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs) vmx->loaded_vmcs = vmcs;vmx_vcpu_load (vcpu, cpu);put_cpu (); + +vm_entry_controls_reset_shadow (vmx); +vm_exit_controls_reset_shadow (vmx); +vmx_segment_cache_clear (vmx); }/*
@@ -12690,6 +12694,9 @@ static int enter_vmx_non_root_mode(struct kvm_vcpu *vcpu, u32 *exit_qual)if (likely (!evaluate_pending_interrupts) &&kvm_vcpu_apicv_active (vcpu)) evaluate_pending_interrupts |=vmx_has_apicv_interrupt (vcpu); +if (from_vmentry &&check_vmentry_postreqs (vcpu, vmcs12, exit_qual)) +return EXIT_REASON_INVALID_STATE ; +enter_guest_mode (vcpu);if (!(vmcs12->vm_entry_controls &VM_ENTRY_LOAD_DEBUG_CONTROLS ))
@@ -12699,7 +12706,6 @@ static int enter_vmx_non_root_mode(struct kvm_vcpu *vcpu, u32 *exit_qual) vmx->nested.vmcs01_guest_bndcfgs =vmcs_read64 (GUEST_BNDCFGS );vmx_switch_vmcs (vcpu, &vmx->nested.vmcs02); -vmx_segment_cache_clear (vmx);if (vmcs12->cpu_based_vm_exec_control &CPU_BASED_USE_TSC_OFFSETING ) vcpu->arch.tsc_offset += vmcs12->tsc_offset;
@@ -12833,13 +12839,6 @@ static int nested_vmx_run(struct kvm_vcpu *vcpu, bool launch)*/ skip_emulated_instruction (vcpu); - ret =check_vmentry_postreqs (vcpu, vmcs12, &exit_qual); -if (ret) { -nested_vmx_entry_failure (vcpu, vmcs12, -EXIT_REASON_INVALID_STATE , exit_qual); -return 1 ; - } -/* * We're finally done with prerequisite checking, and can start with * the nested entry.
@@ -13530,9 +13529,6 @@ static void nested_vmx_vmexit(struct kvm_vcpu *vcpu, u32 exit_reason, }vmx_switch_vmcs (vcpu, &vmx->vmcs01); -vm_entry_controls_reset_shadow (vmx); -vm_exit_controls_reset_shadow (vmx); -vmx_segment_cache_clear (vmx);/* Update any VMCS fields that might have changed while L2 ran */ vmcs_write32 (VM_EXIT_MSR_LOAD_COUNT , vmx->msr_autoload.host.nr);
arch/x86/tools/gen-insn-attr-x86.awk +2 -2
@@ -69,7 +69,7 @@ BEGIN { lprefix1_expr = "\\((66|!F3)\\)" lprefix2_expr = "\\(F3\\)" - lprefix3_expr = "\\((F2|!F3|66\\&F2)\\)" + lprefix3_expr = "\\((F2|!F3|66&F2)\\)" lprefix_expr = "\\((66|F2|F3)\\)" max_lprefix = 4
@@ -257,7 +257,7 @@ function convert_operands(count,opnd, i,j,imm,mod) return add_flags(imm, mod) } -/^[0-9a-f]+\:/ { +/^[0-9a-f]+:/ { if (NR == 1) next # get index
block/blk-core.c +3 -0
@@ -784,6 +784,9 @@ void blk_cleanup_queue(struct request_queue *q)* prevent that q->request_fn() gets invoked after draining finished. */ blk_freeze_queue (q); + +rq_qos_exit (q); +spin_lock_irq (lock);queue_flag_set (QUEUE_FLAG_DEAD , q);spin_unlock_irq (lock);
block/blk-merge.c +36 -10
73 lines not on this page · raw message
block/blk-sysfs.c +0 -2
@@ -997,8 +997,6 @@ void blk_unregister_queue(struct gendisk *disk)kobject_del (&q->kobj);blk_trace_remove_sysfs (disk_to_dev (disk)); -rq_qos_exit (q); -mutex_lock (&q->sysfs_lock);if (q->request_fn || (q->mq_ops && q->elevator))elv_unregister_queue (q);
crypto/testmgr.c +3 -3
@@ -1400,8 +1400,8 @@ static int test_comp(struct crypto_comp *tfm,int ilen;unsigned int dlen =COMP_BUF_SIZE ; -memset (output,0 ,sizeof (COMP_BUF_SIZE )); -memset (decomp_output,0 ,sizeof (COMP_BUF_SIZE )); +memset (output,0 ,COMP_BUF_SIZE ); +memset (decomp_output,0 ,COMP_BUF_SIZE ); ilen = ctemplate[i].inlen; ret = crypto_comp_compress(tfm, ctemplate[i].input,
@@ -1445,7 +1445,7 @@ static int test_comp(struct crypto_comp *tfm,int ilen;unsigned int dlen =COMP_BUF_SIZE ; -memset (decomp_output,0 ,sizeof (COMP_BUF_SIZE )); +memset (decomp_output,0 ,COMP_BUF_SIZE ); ilen = dtemplate[i].inlen; ret = crypto_comp_decompress(tfm, dtemplate[i].input,
drivers/acpi/acpi_memhotplug.c +1 -1
@@ -228,7 +228,7 @@ static int acpi_memory_enable_device(struct acpi_memory_device *mem_device)if (node <0 ) node =memory_add_physaddr_to_nid (info->start_addr); - result =add_memory (node, info->start_addr, info->length); + result =__add_memory (node, info->start_addr, info->length);/* * If the memory block has been used by the kernel, add_memory()
drivers/acpi/scan.c +1 -0
@@ -1550,6 +1550,7 @@ static bool acpi_device_enumeration_by_parent(struct acpi_device *device)*/ static const struct acpi_device_id i2c_multi_instantiate_ids[] = { {"BSG1160" , }, + {"INT33FE" , }, {} };
drivers/atm/zatm.c +21 -21
127 lines not on this page · raw message
drivers/base/memory.c +8 -14
@@ -228,7 +228,6 @@ static bool pages_correctly_probed(unsigned long start_pfn)/* * MEMORY_HOTPLUG depends on SPARSEMEM in mm/Kconfig, so it is * OK to have direct references to sparsemem variables in here. -* Must already be protected by mem_hotplug_begin(). */ static int memory_block_action (unsigned long phys_index,unsigned long action,int online_type)
@@ -294,7 +293,6 @@ static int memory_subsys_online(struct device *dev)if (mem->online_type <0 ) mem->online_type =MMOP_ONLINE_KEEP ; -/* Already under protection of mem_hotplug_begin() */ ret =memory_block_change_state (mem,MEM_ONLINE ,MEM_OFFLINE );/* clear online_type */
@@ -341,19 +339,11 @@ store_mem_state(struct device *dev, goto err; } -/* -* Memory hotplug needs to hold mem_hotplug_begin() for probe to find -* the correct memory block to online before doing device_online(dev), -* which will take dev->mutex. Take the lock early to prevent an -* inversion, memory_subsys_online() callbacks will be implemented by -* assuming it's already protected. -*/ -mem_hotplug_begin (); -switch (online_type) {case MMOP_ONLINE_KERNEL :case MMOP_ONLINE_MOVABLE :case MMOP_ONLINE_KEEP : +/* mem->online_type is protected by device_hotplug_lock */ mem->online_type = online_type; ret =device_online (&mem->dev);break ;
@@ -364,7 +354,6 @@ store_mem_state(struct device *dev, ret = -EINVAL ;/* should never happen */ } -mem_hotplug_done (); err:unlock_device_hotplug ();
@@ -519,15 +508,20 @@ memory_probe_store(struct device *dev, struct device_attribute *attr,if (phys_addr & ((pages_per_block <<PAGE_SHIFT ) -1 ))return -EINVAL ; + ret =lock_device_hotplug_sysfs (); +if (ret) +return ret; + nid =memory_add_physaddr_to_nid (phys_addr); - ret =add_memory (nid, phys_addr, -MIN_MEMORY_BLOCK_SIZE * sections_per_block); + ret =__add_memory (nid, phys_addr, +MIN_MEMORY_BLOCK_SIZE * sections_per_block);if (ret) goto out; ret = count; out: +unlock_device_hotplug ();return ret; }
drivers/base/power/domain.c +6 -0
@@ -467,6 +467,10 @@ static int genpd_power_off(struct generic_pm_domain *genpd, bool one_dev_on,return -EAGAIN ; } +/* Default to shallowest state. */ +if (!genpd->gov) + genpd->state_idx =0 ; +if (genpd->power_off) {int ret;
@@ -1686,6 +1690,8 @@ int pm_genpd_init(struct generic_pm_domain *genpd, ret =genpd_set_default_power_state (genpd);if (ret)return ret; + }else if (!gov) { +pr_warn ("%s : no governor for states\n" , genpd->name); }device_initialize (&genpd->dev);
drivers/block/amiflop.c +40 -44
119 lines not on this page · raw message
drivers/block/nbd.c +4 -2
@@ -945,6 +945,7 @@ static struct socket *nbd_get_socket(struct nbd_device *nbd, unsigned long fd,if (sock->ops->shutdown == sock_no_shutdown) {dev_err (disk_to_dev (nbd->disk),"Unsupported socket: shutdown callout must be supported.\n" ); *err = -EINVAL ; +sockfd_put (sock);return NULL ; }
@@ -983,14 +984,15 @@ static int nbd_add_socket(struct nbd_device *nbd, unsigned long arg,sockfd_put (sock);return -ENOMEM ; } + + config->socks = socks; + nsock =kzalloc (sizeof (struct nbd_sock ),GFP_KERNEL );if (!nsock) {sockfd_put (sock);return -ENOMEM ; } - config->socks = socks; - nsock->fallback_index =-1 ; nsock->dead = false;mutex_init (&nsock->tx_lock);
drivers/block/skd_main.c +2 -2
@@ -1416,7 +1416,7 @@ static void skd_resolve_req_exception(struct skd_device *skdev,case SKD_CHECK_STATUS_BUSY_IMMINENT :skd_log_skreq (skdev, skreq,"retry(busy)" ); -blk_requeue_request (skdev->queue, req); +blk_mq_requeue_request (req, true);dev_info (&skdev->pdev->dev,"drive BUSY imminent\n" ); skdev->state =SKD_DRVR_STATE_BUSY_IMMINENT ; skdev->timer_countdown =SKD_TIMER_MINUTES (20 );
@@ -1426,7 +1426,7 @@ static void skd_resolve_req_exception(struct skd_device *skdev,case SKD_CHECK_STATUS_REQUEUE_REQUEST :if ((unsigned long ) ++req->special <SKD_MAX_RETRIES ) {skd_log_skreq (skdev, skreq,"retry" ); -blk_requeue_request (skdev->queue, req); +blk_mq_requeue_request (req, true);break ; }/* fall through */
drivers/bluetooth/hci_bcsp.c +3 -0
@@ -606,6 +606,7 @@ static int bcsp_recv(struct hci_uart *hu, const void *data, int count)if (*ptr ==0xc0 ) {BT_ERR ("Short BCSP packet" );kfree_skb (bcsp->rx_skb); + bcsp->rx_skb =NULL ; bcsp->rx_state =BCSP_W4_PKT_START ; bcsp->rx_count =0 ; }else
@@ -621,6 +622,7 @@ static int bcsp_recv(struct hci_uart *hu, const void *data, int count) bcsp->rx_skb->data[2])) != bcsp->rx_skb->data[3]) {BT_ERR ("Error in BCSP hdr checksum" );kfree_skb (bcsp->rx_skb); + bcsp->rx_skb =NULL ; bcsp->rx_state =BCSP_W4_PKT_DELIMITER ; bcsp->rx_count =0 ;continue ;
@@ -645,6 +647,7 @@ static int bcsp_recv(struct hci_uart *hu, const void *data, int count) bscp_get_crc(bcsp));kfree_skb (bcsp->rx_skb); + bcsp->rx_skb =NULL ; bcsp->rx_state =BCSP_W4_PKT_DELIMITER ; bcsp->rx_count =0 ;continue ;
drivers/cdrom/cdrom.c +13 -14
@@ -411,10 +411,10 @@ static int cdrom_get_disc_info(struct cdrom_device_info *cdi,* hack to have the capability flags defined const, while we can still * change it here without gcc complaining at every line. */ -#define ENSURE (call, bits) \ -do { \ - if (cdo->call == NULL) \ - *change_capability &= ~(bits); \ +#define ENSURE (cdo, call, bits) \ +do { \ + if (cdo->call == NULL) \ + WARN_ON_ONCE((cdo)->capability & (bits)); \ } while (0)/*
@@ -590,7 +590,6 @@ int register_cdrom(struct cdrom_device_info *cdi) {static char banner_printed;const struct cdrom_device_ops *cdo = cdi->ops; -int *change_capability = (int *)&cdo->capability;/* hack */ cd_dbg (CD_OPEN ,"entering register_cdrom\n" );
@@ -602,16 +601,16 @@ int register_cdrom(struct cdrom_device_info *cdi)cdrom_sysctl_register (); } -ENSURE (drive_status,CDC_DRIVE_STATUS ); +ENSURE (cdo, drive_status,CDC_DRIVE_STATUS );if (cdo->check_events ==NULL && cdo->media_changed ==NULL ) - *change_capability = ~(CDC_MEDIA_CHANGED |CDC_SELECT_DISC ); -ENSURE (tray_move,CDC_CLOSE_TRAY |CDC_OPEN_TRAY ); -ENSURE (lock_door,CDC_LOCK ); -ENSURE (select_speed,CDC_SELECT_SPEED ); -ENSURE (get_last_session,CDC_MULTI_SESSION ); -ENSURE (get_mcn,CDC_MCN ); -ENSURE (reset,CDC_RESET ); -ENSURE (generic_packet,CDC_GENERIC_PACKET ); +WARN_ON_ONCE (cdo->capability & (CDC_MEDIA_CHANGED |CDC_SELECT_DISC )); +ENSURE (cdo, tray_move,CDC_CLOSE_TRAY |CDC_OPEN_TRAY ); +ENSURE (cdo, lock_door,CDC_LOCK ); +ENSURE (cdo, select_speed,CDC_SELECT_SPEED ); +ENSURE (cdo, get_last_session,CDC_MULTI_SESSION ); +ENSURE (cdo, get_mcn,CDC_MCN ); +ENSURE (cdo, reset,CDC_RESET ); +ENSURE (cdo, generic_packet,CDC_GENERIC_PACKET ); cdi->mc_flags =0 ; cdi->options =CDO_USE_FFLAGS ;
drivers/char/virtio_console.c +13 -15
@@ -1349,24 +1349,24 @@ static void set_console_size(struct port *port, u16 rows, u16 cols) port->cons.ws.ws_col = cols; } -static unsigned int fill_queue (struct virtqueue *vq,spinlock_t *lock) +static int fill_queue (struct virtqueue *vq,spinlock_t *lock) {struct port_buffer *buf; -unsigned int nr_added_bufs; +int nr_added_bufs;int ret; nr_added_bufs =0 ; do { buf = alloc_buf(vq->vdev, PAGE_SIZE, 0); if (!buf) - break; + return -ENOMEM; spin_lock_irq(lock); ret = add_inbuf(vq, buf); if (ret < 0) { spin_unlock_irq(lock); free_buf(buf, true); - break; + return ret; } nr_added_bufs++; spin_unlock_irq(lock);
@@ -1386,7 +1386,6 @@ static int add_port(struct ports_device *portdev, u32 id)char debugfs_name[16 ];struct port *port;dev_t devt; -unsigned int nr_added_bufs;int err; port =kmalloc (sizeof (*port),GFP_KERNEL );
@@ -1445,11 +1444,13 @@ static int add_port(struct ports_device *portdev, u32 id)spin_lock_init (&port->outvq_lock);init_waitqueue_head (&port->waitqueue); -/* Fill the in_vq with buffers so the host can send us data. */ - nr_added_bufs =fill_queue (port->in_vq, &port->inbuf_lock); -if (!nr_added_bufs) { +/* We can safely ignore ENOSPC because it means +* the queue already has buffers. Buffers are removed +* only by virtcons_remove(), not by unplug_port() +*/ + err =fill_queue (port->in_vq, &port->inbuf_lock); +if (err <0 && err != -ENOSPC ) {dev_err (port->dev,"Error allocating inbufs\n" ); - err = -ENOMEM ; goto free_device; }
@@ -2083,14 +2084,11 @@ static int virtcons_probe(struct virtio_device *vdev)INIT_WORK (&portdev->control_work, &control_work_handler);if (multiport) { -unsigned int nr_added_bufs; -spin_lock_init (&portdev->c_ivq_lock);spin_lock_init (&portdev->c_ovq_lock); - nr_added_bufs =fill_queue (portdev->c_ivq, - &portdev->c_ivq_lock); -if (!nr_added_bufs) { + err =fill_queue (portdev->c_ivq, &portdev->c_ivq_lock); +if (err <0 ) {dev_err (&vdev->dev,"Error allocating buffers for control queue\n" );/*
@@ -2101,7 +2099,7 @@ static int virtcons_probe(struct virtio_device *vdev) VIRTIO_CONSOLE_DEVICE_READY, 0);/* Device was functional: we need full cleanup. */ virtcons_remove (vdev); -return -ENOMEM ; +return err; } }else {/*
drivers/clk/at91/clk-audio-pll.c +1 -1
@@ -509,7 +509,7 @@ static void __init of_sama5d2_clk_audio_pll_pad_setup(struct device_node *np)static void __init of_sama5d2_clk_audio_pll_pmc_setup (struct device_node *np) { -struct clk_audio_pad *apmc_ck; +struct clk_audio_pmc *apmc_ck;struct clk_init_data init = {}; apmc_ck =kzalloc (sizeof (*apmc_ck),GFP_KERNEL );
drivers/clk/mmp/clk-of-mmp2.c +2 -2
@@ -227,8 +227,8 @@ static struct mmp_param_gate_clk apmu_gate_clks[] = {/* The gate clocks has mux parent. */ {MMP2_CLK_SDH0, "sdh0_clk", "sdh_mix_clk", CLK_SET_RATE_PARENT, APMU_SDH0, 0x1b, 0x1b, 0x0, 0, &sdh_lock}, {MMP2_CLK_SDH1, "sdh1_clk", "sdh_mix_clk", CLK_SET_RATE_PARENT, APMU_SDH1, 0x1b, 0x1b, 0x0, 0, &sdh_lock}, - {MMP2_CLK_SDH1, "sdh2_clk", "sdh_mix_clk", CLK_SET_RATE_PARENT, APMU_SDH2, 0x1b, 0x1b, 0x0, 0, &sdh_lock}, - {MMP2_CLK_SDH1, "sdh3_clk", "sdh_mix_clk", CLK_SET_RATE_PARENT, APMU_SDH3, 0x1b, 0x1b, 0x0, 0, &sdh_lock}, + {MMP2_CLK_SDH2, "sdh2_clk", "sdh_mix_clk", CLK_SET_RATE_PARENT, APMU_SDH2, 0x1b, 0x1b, 0x0, 0, &sdh_lock}, + {MMP2_CLK_SDH3, "sdh3_clk", "sdh_mix_clk", CLK_SET_RATE_PARENT, APMU_SDH3, 0x1b, 0x1b, 0x0, 0, &sdh_lock}, {MMP2_CLK_DISP0, "disp0_clk", "disp0_div", CLK_SET_RATE_PARENT, APMU_DISP0, 0x1b, 0x1b, 0x0, 0, &disp0_lock}, {MMP2_CLK_DISP0_SPHY, "disp0_sphy_clk", "disp0_sphy_div", CLK_SET_RATE_PARENT, APMU_DISP0, 0x1024, 0x1024, 0x0, 0, &disp0_lock}, {MMP2_CLK_DISP1, "disp1_clk", "disp1_div", CLK_SET_RATE_PARENT, APMU_DISP1, 0x1b, 0x1b, 0x0, 0, &disp1_lock},
drivers/clk/sunxi-ng/ccu-sun50i-a64.c +6 -1
@@ -158,7 +158,12 @@ static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_gpu_clk, "pll-gpu",#define SUN50I_A64_PLL_MIPI_REG 0x040static struct ccu_nkm pll_mipi_clk = { - .enable =BIT (31 ), +/* +* The bit 23 and 22 are called "LDO{1,2}_EN" on the SoC's +* user manual, and by experiments the PLL doesn't work without +* these bits toggled. +*/ + .enable =BIT (31 ) |BIT (23 ) |BIT (22 ), .lock =BIT (28 ), .n =_SUNXI_CCU_MULT (8 ,4 ), .k =_SUNXI_CCU_MULT_MIN (4 ,2 ,2 ),
drivers/clk/tegra/clk-tegra20.c +26 -10
@@ -578,7 +578,6 @@ static struct tegra_clk tegra20_clks[tegra_clk_max] __initdata = { [tegra_clk_afi] = { .dt_id = TEGRA20_CLK_AFI, .present = true }, [tegra_clk_fuse] = { .dt_id = TEGRA20_CLK_FUSE, .present = true }, [tegra_clk_kfuse] = { .dt_id = TEGRA20_CLK_KFUSE, .present = true }, - [tegra_clk_emc] = { .dt_id = TEGRA20_CLK_EMC, .present = true }, };static unsigned long tegra20_clk_measure_input_freq (void )
@@ -799,6 +798,31 @@ static struct tegra_periph_init_data tegra_periph_nodiv_clk_list[] = { TEGRA_INIT_DATA_NODIV("disp2", mux_pllpdc_clkm, CLK_SOURCE_DISP2, 30, 2, 26, 0, TEGRA20_CLK_DISP2), }; +static void __init tegra20_emc_clk_init (void ) +{ +struct clk *clk; + + clk =clk_register_mux (NULL ,"emc_mux" , mux_pllmcp_clkm, +ARRAY_SIZE (mux_pllmcp_clkm), +CLK_SET_RATE_NO_REPARENT , + clk_base +CLK_SOURCE_EMC , +30 ,2 ,0 , &emc_lock); + + clk =tegra_clk_register_mc ("mc" ,"emc_mux" , clk_base +CLK_SOURCE_EMC , + &emc_lock); + clks[TEGRA20_CLK_MC ] = clk; + +/* +* Note that 'emc_mux' source and 'emc' rate shouldn't be changed at +* the same time due to a HW bug, this won't happen because we're +* defining 'emc_mux' and 'emc' as distinct clocks. +*/ + clk =tegra_clk_register_divider ("emc" ,"emc_mux" , + clk_base +CLK_SOURCE_EMC ,CLK_IS_CRITICAL , +TEGRA_DIVIDER_INT ,0 ,8 ,1 , &emc_lock); + clks[TEGRA20_CLK_EMC ] = clk; +} +static void __init tegra20_periph_clk_init (void ) {struct tegra_periph_init_data *data;
@@ -812,15 +836,7 @@ static void __init tegra20_periph_clk_init(void) clks[TEGRA20_CLK_AC97 ] = clk;/* emc */ - clk =clk_register_mux (NULL ,"emc_mux" , mux_pllmcp_clkm, -ARRAY_SIZE (mux_pllmcp_clkm), -CLK_SET_RATE_NO_REPARENT , - clk_base +CLK_SOURCE_EMC , -30 ,2 ,0 , &emc_lock); - - clk =tegra_clk_register_mc ("mc" ,"emc_mux" , clk_base +CLK_SOURCE_EMC , - &emc_lock); - clks[TEGRA20_CLK_MC ] = clk; +tegra20_emc_clk_init ();/* dsi */ clk = tegra_clk_register_periph_gate("dsi", "pll_d", 0, clk_base, 0,
drivers/clk/tegra/clk-tegra210.c +3 -3
@@ -2603,7 +2603,7 @@ static struct tegra210_domain_mbist_war tegra210_pg_mbist_war[] = { [TEGRA_POWERGATE_MPE] = { .handle_lvl2_ovr = tegra210_generic_mbist_war, .lvl2_offset = LVL2_CLK_GATE_OVRE, - .lvl2_mask = BIT(2), + .lvl2_mask = BIT(29), }, [TEGRA_POWERGATE_SOR] = { .handle_lvl2_ovr = tegra210_generic_mbist_war,
@@ -2654,14 +2654,14 @@ static struct tegra210_domain_mbist_war tegra210_pg_mbist_war[] = { .num_clks = ARRAY_SIZE(nvdec_slcg_clkids), .clk_init_data = nvdec_slcg_clkids, .handle_lvl2_ovr = tegra210_generic_mbist_war, - .lvl2_offset = LVL2_CLK_GATE_OVRC, + .lvl2_offset = LVL2_CLK_GATE_OVRE, .lvl2_mask = BIT(9) | BIT(31), }, [TEGRA_POWERGATE_NVJPG] = { .num_clks = ARRAY_SIZE(nvjpg_slcg_clkids), .clk_init_data = nvjpg_slcg_clkids, .handle_lvl2_ovr = tegra210_generic_mbist_war, - .lvl2_offset = LVL2_CLK_GATE_OVRC, + .lvl2_offset = LVL2_CLK_GATE_OVRE, .lvl2_mask = BIT(9) | BIT(31), }, [TEGRA_POWERGATE_AUD] = {
drivers/cpufreq/cpufreq.c +6 -0
@@ -909,6 +909,9 @@ static ssize_t show(struct kobject *kobj, struct attribute *attr, char *buf)struct freq_attr *fattr =to_attr (attr);ssize_t ret; +if (!fattr->show) +return -EIO ; +down_read (&policy->rwsem); ret = fattr->show (policy, buf);up_read (&policy->rwsem);
@@ -923,6 +926,9 @@ static ssize_t store(struct kobject *kobj, struct attribute *attr,struct freq_attr *fattr =to_attr (attr);ssize_t ret = -EINVAL ; +if (!fattr->store) +return -EIO ; +/* * cpus_read_trylock() is used here to work around a circular lock * dependency problem with respect to the cpufreq_register_driver().
drivers/crypto/ccree/cc_hw_queue_defs.h +2 -4
@@ -449,8 +449,7 @@ static inline void set_flow_mode(struct cc_hw_desc *pdesc,* @pdesc: pointer HW descriptor struct * @mode: Any one of the modes defined in [CC7x-DESC] */ -static inline void set_cipher_mode (struct cc_hw_desc *pdesc, -enum drv_cipher_mode mode) +static inline void set_cipher_mode (struct cc_hw_desc *pdesc,int mode) { pdesc->word[4 ] |=FIELD_PREP (WORD4_CIPHER_MODE , mode); }
@@ -461,8 +460,7 @@ static inline void set_cipher_mode(struct cc_hw_desc *pdesc,* @pdesc: pointer HW descriptor struct * @mode: Any one of the modes defined in [CC7x-DESC] */ -static inline void set_cipher_config0 (struct cc_hw_desc *pdesc, -enum drv_crypto_direction mode) +static inline void set_cipher_config0 (struct cc_hw_desc *pdesc,int mode) { pdesc->word[4 ] |=FIELD_PREP (WORD4_CIPHER_CONF0 , mode); }
drivers/devfreq/devfreq.c +1 -1
@@ -257,7 +257,7 @@ static struct devfreq_governor *try_then_request_governor(const char *name)/* Restore previous state before return */ mutex_lock (&devfreq_list_lock);if (err) -return ERR_PTR (err); +return (err <0 ) ?ERR_PTR (err) :ERR_PTR (-EINVAL ); governor =find_devfreq_governor (name); }
drivers/edac/thunderx_edac.c +2 -2
@@ -1884,7 +1884,7 @@ static irqreturn_t thunderx_l2c_threaded_isr(int irq, void *irq_id)default :dev_err (&l2c->pdev->dev,"Unsupported device: %04x\n" , l2c->pdev->device); -return IRQ_NONE ; + goto err_free; } while (CIRC_CNT(l2c->ring_head, l2c->ring_tail,
@@ -1906,7 +1906,7 @@ static irqreturn_t thunderx_l2c_threaded_isr(int irq, void *irq_id) l2c->ring_tail++; } -return IRQ_HANDLED ; + ret =IRQ_HANDLED ; err_free:kfree (other);
drivers/firmware/google/gsmi.c +2 -3
@@ -480,11 +480,10 @@ static ssize_t eventlog_write(struct file *filp, struct kobject *kobj,if (count <sizeof (u32))return -EINVAL ; param.type = *(u32 *)buf; - count -=sizeof (u32); buf +=sizeof (u32);/* The remaining buffer is the data payload */ -if (count > gsmi_dev.data_buf->length) +if ((count -sizeof (u32)) > gsmi_dev.data_buf->length)return -EINVAL ; param.data_len = count -sizeof (u32);
@@ -504,7 +503,7 @@ static ssize_t eventlog_write(struct file *filp, struct kobject *kobj,spin_unlock_irqrestore (&gsmi_dev.lock, flags); -return rc; +return (rc ==0 ) ? count : rc; }
drivers/gpio/gpio-max77620.c +3 -3
@@ -163,13 +163,13 @@ static int max77620_gpio_set_debounce(struct max77620_gpio *mgpio,case 0 : val = MAX77620_CNFG_GPIO_DBNC_None;break ; - case 1000 ... 8000: + case 1 ... 8000: val = MAX77620_CNFG_GPIO_DBNC_8ms;break ; - case 9000 ... 16000: + case 8001 ... 16000: val = MAX77620_CNFG_GPIO_DBNC_16ms;break ; - case 17000 ... 32000: + case 16001 ... 32000: val = MAX77620_CNFG_GPIO_DBNC_32ms;break ;default :
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +18 -5
@@ -3472,18 +3472,31 @@ static int smu7_get_pp_table_entry(struct pp_hwmgr *hwmgr,static int smu7_get_gpu_power (struct pp_hwmgr *hwmgr,u32 *query) { +struct amdgpu_device *adev = hwmgr->adev;int i;u32 tmp =0 ;if (!query)return -EINVAL ; -smum_send_msg_to_smc_with_parameter (hwmgr, PPSMC_MSG_GetCurrPkgPwr,0 ); - tmp =cgs_read_register (hwmgr->device, mmSMC_MSG_ARG_0); - *query = tmp; +/* +* PPSMC_MSG_GetCurrPkgPwr is not supported on: +* - Hawaii +* - Bonaire +* - Fiji +* - Tonga +*/ +if ((adev->asic_type !=CHIP_HAWAII ) && + (adev->asic_type !=CHIP_BONAIRE ) && + (adev->asic_type !=CHIP_FIJI ) && + (adev->asic_type !=CHIP_TONGA )) { +smum_send_msg_to_smc_with_parameter (hwmgr, PPSMC_MSG_GetCurrPkgPwr,0 ); + tmp =cgs_read_register (hwmgr->device, mmSMC_MSG_ARG_0); + *query = tmp; -if (tmp !=0 ) -return 0 ; +if (tmp !=0 ) +return 0 ; + }smum_send_msg_to_smc (hwmgr, PPSMC_MSG_PmStatusLogStart); cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC,
drivers/gpu/drm/i915/i915_gem_userptr.c +21 -1
@@ -691,8 +691,28 @@ i915_gem_userptr_put_pages(struct drm_i915_gem_object *obj,i915_gem_gtt_finish_pages (obj, pages);for_each_sgt_page (page, sgt_iter, pages) { -if (obj->mm.dirty) +if (obj->mm.dirty &&trylock_page (page)) { +/* +* As this may not be anonymous memory (e.g. shmem) +* but exist on a real mapping, we have to lock +* the page in order to dirty it -- holding +* the page reference is not sufficient to +* prevent the inode from being truncated. +* Play safe and take the lock. +* +* However...! +* +* The mmu-notifier can be invalidated for a +* migrate_page, that is alreadying holding the lock +* on the page. Such a try_to_unmap() will result +* in us calling put_pages() and so recursively try +* to lock the page. We avoid that deadlock with +* a trylock_page() and in exchange we risk missing +* some page dirtying. +*/ set_page_dirty (page); +unlock_page (page); + }mark_page_accessed (page);put_page (page);
drivers/gpu/drm/i915/i915_pmu.c +2 -2
@@ -827,8 +827,8 @@ create_event_attributes(struct drm_i915_private *i915)const char *name;const char *unit; } events[] = { -__event (I915_PMU_ACTUAL_FREQUENCY ,"actual-frequency" ,"MHz" ), -__event (I915_PMU_REQUESTED_FREQUENCY ,"requested-frequency" ,"MHz" ), +__event (I915_PMU_ACTUAL_FREQUENCY ,"actual-frequency" ,"M" ), +__event (I915_PMU_REQUESTED_FREQUENCY ,"requested-frequency" ,"M" ),__event (I915_PMU_INTERRUPTS ,"interrupts" ,NULL ), __event(I915_PMU_RC6_RESIDENCY, "rc6-residency", "ns"), };
drivers/i2c/busses/i2c-uniphier-f.c +58 -14
169 lines not on this page · raw message
drivers/infiniband/hw/bnxt_re/bnxt_re.h +2 -0
@@ -120,6 +120,8 @@ struct bnxt_re_dev {#define BNXT_RE_FLAG_HAVE_L2_REF 3#define BNXT_RE_FLAG_RCFW_CHANNEL_EN 4#define BNXT_RE_FLAG_QOS_WORK_REG 5 +#define BNXT_RE_FLAG_RESOURCES_ALLOCATED 7 +#define BNXT_RE_FLAG_RESOURCES_INITIALIZED 8#define BNXT_RE_FLAG_ISSUE_ROCE_STATS 29struct net_device *netdev;unsigned int version, major, minor;
drivers/infiniband/hw/bnxt_re/main.c +31 -13
115 lines not on this page · raw message
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c +6 -7
@@ -614,13 +614,8 @@ void bnxt_qplib_disable_rcfw_channel(struct bnxt_qplib_rcfw *rcfw)bnxt_qplib_rcfw_stop_irq (rcfw, true); -if (rcfw->cmdq_bar_reg_iomem) -iounmap (rcfw->cmdq_bar_reg_iomem); - rcfw->cmdq_bar_reg_iomem =NULL ; - -if (rcfw->creq_bar_reg_iomem) -iounmap (rcfw->creq_bar_reg_iomem); - rcfw->creq_bar_reg_iomem =NULL ; +iounmap (rcfw->cmdq_bar_reg_iomem); +iounmap (rcfw->creq_bar_reg_iomem); indx =find_first_bit (rcfw->cmdq_bitmap, rcfw->bmap_size);if (indx != rcfw->bmap_size)
@@ -629,6 +624,8 @@ void bnxt_qplib_disable_rcfw_channel(struct bnxt_qplib_rcfw *rcfw)kfree (rcfw->cmdq_bitmap); rcfw->bmap_size =0 ; + rcfw->cmdq_bar_reg_iomem =NULL ; + rcfw->creq_bar_reg_iomem =NULL ; rcfw->aeq_handler =NULL ; rcfw->vector =0 ; }
@@ -714,6 +711,8 @@ int bnxt_qplib_enable_rcfw_channel(struct pci_dev *pdev,dev_err (&rcfw->pdev->dev,"QPLIB: CREQ BAR region %d mapping failed" , rcfw->creq_bar_reg); +iounmap (rcfw->cmdq_bar_reg_iomem); + rcfw->cmdq_bar_reg_iomem =NULL ;return -ENOMEM ; } rcfw->creq_qp_event_processed =0 ;
drivers/isdn/mISDN/tei.c +3 -4
@@ -1180,8 +1180,7 @@ static int ctrl_teimanager(struct manager *mgr, void *arg) {/* currently we only have one option */ - int *val = (int *)arg; -int ret =0 ; +unsigned int *val = (unsigned int *)arg;switch (val[0 ]) {case IMCLEAR_L2 :
@@ -1197,9 +1196,9 @@ ctrl_teimanager(struct manager *mgr, void *arg)test_and_clear_bit (OPTION_L1_HOLD , &mgr->options);break ;default : - ret = -EINVAL ; +return -EINVAL ; } -return ret; +return 0 ; }/* This function does create a L2 for fixed TEI in NT Mode */
drivers/macintosh/windfarm_smu_sat.c +7 -18
@@ -22,14 +22,6 @@#define VERSION "1.0" -#define DEBUG - -#ifdef DEBUG -#define DBG(args...) printk(args) -#else -#define DBG(args...) do { } while(0) -#endif -/* If the cache is older than 800ms we'll refetch it */ #define MAX_AGE msecs_to_jiffies(800)
@@ -106,13 +98,10 @@ struct smu_sdbp_header *smu_sat_get_sdb_partition(unsigned int sat_id, int id, buf[i+2 ] = data[3 ]; buf[i+3 ] = data[2 ]; } -#ifdef DEBUG -DBG (KERN_DEBUG "sat %d partition %x:" , sat_id, id); -for (i =0 ; i < len; ++i) -DBG (" %x" , buf[i]); -DBG ("\n" ); -#endif +printk (KERN_DEBUG "sat %d partition %x:" , sat_id, id); +print_hex_dump (KERN_DEBUG ," " ,DUMP_PREFIX_OFFSET , +16 ,1 , buf, len, false);if (size) *size = len;return (struct smu_sdbp_header *) buf;
@@ -132,13 +121,13 @@ static int wf_sat_read_cache(struct wf_sat *sat)if (err <0 )return err; sat->last_read = jiffies; +#ifdef LOTSA_DEBUG {int i; -DBG (KERN_DEBUG "wf_sat_get: data is" ); -for (i =0 ; i <16 ; ++i) -DBG (" %.2x" , sat->cache[i]); -DBG ("\n" ); +printk (KERN_DEBUG "wf_sat_get: data is" ); +print_hex_dump (KERN_DEBUG ," " ,DUMP_PREFIX_OFFSET , +16 ,1 , sat->cache,16 , false); }#endif return 0 ;
drivers/md/dm-raid.c +1 -1
@@ -2475,7 +2475,7 @@ static int super_validate(struct raid_set *rs, struct md_rdev *rdev) }/* Enable bitmap creation for RAID levels != 0 */ - mddev->bitmap_info.offset =rt_is_raid0 (rs->raid_type) ?0 :to_sector (4096 ); + mddev->bitmap_info.offset = (rt_is_raid0 (rs->raid_type) || rs->journal_dev.dev) ?0 :to_sector (4096 ); mddev->bitmap_info.default_offset = mddev->bitmap_info.offset;if (!test_and_clear_bit (FirstUse, &rdev->flags)) {
drivers/md/raid10.c +1 -1
@@ -229,7 +229,7 @@ static void * r10buf_pool_alloc(gfp_t gfp_flags, void *data) out_free_pages:while (--j >=0 ) -resync_free_pages (&rps[j *2 ]); +resync_free_pages (&rps[j]); j =0 ; out_free_bio:
drivers/media/i2c/ov13858.c +4 -2
@@ -1612,7 +1612,8 @@ static int ov13858_init_controls(struct ov13858 *ov13858)OV13858_NUM_OF_LINK_FREQS -1 ,0 , link_freq_menu_items); - ov13858->link_freq->flags |=V4L2_CTRL_FLAG_READ_ONLY ; +if (ov13858->link_freq) + ov13858->link_freq->flags |=V4L2_CTRL_FLAG_READ_ONLY ; pixel_rate_max =link_freq_to_pixel_rate (link_freq_menu_items[0 ]); pixel_rate_min =link_freq_to_pixel_rate (link_freq_menu_items[1 ]);
@@ -1635,7 +1636,8 @@ static int ov13858_init_controls(struct ov13858 *ov13858) ov13858->hblank =v4l2_ctrl_new_std ( ctrl_hdlr, &ov13858_ctrl_ops,V4L2_CID_HBLANK , hblank, hblank,1 , hblank); - ov13858->hblank->flags |=V4L2_CTRL_FLAG_READ_ONLY ; +if (ov13858->hblank) + ov13858->hblank->flags |=V4L2_CTRL_FLAG_READ_ONLY ; exposure_max = mode->vts_def -8 ; ov13858->exposure = v4l2_ctrl_new_std(
drivers/media/platform/vivid/vivid-kthread-cap.c +5 -3
@@ -765,7 +765,11 @@ static int vivid_thread_vid_cap(void *data)if (kthread_should_stop ())break ; -mutex_lock (&dev->mutex); +if (!mutex_trylock (&dev->mutex)) { +schedule_timeout_uninterruptible (1 ); +continue ; + } + cur_jiffies = jiffies;if (dev->cap_seq_resync) { dev->jiffies_vid_cap = cur_jiffies;
@@ -918,8 +922,6 @@ void vivid_stop_generating_vid_cap(struct vivid_dev *dev, bool *pstreaming)/* shutdown control thread */ vivid_grab_controls (dev, false); -mutex_unlock (&dev->mutex);kthread_stop (dev->kthread_vid_cap); dev->kthread_vid_cap =NULL ; -mutex_lock (&dev->mutex); }
drivers/media/platform/vivid/vivid-kthread-out.c +5 -3
@@ -135,7 +135,11 @@ static int vivid_thread_vid_out(void *data)if (kthread_should_stop ())break ; -mutex_lock (&dev->mutex); +if (!mutex_trylock (&dev->mutex)) { +schedule_timeout_uninterruptible (1 ); +continue ; + } + cur_jiffies = jiffies;if (dev->out_seq_resync) { dev->jiffies_vid_out = cur_jiffies;
@@ -289,8 +293,6 @@ void vivid_stop_generating_vid_out(struct vivid_dev *dev, bool *pstreaming)/* shutdown control thread */ vivid_grab_controls (dev, false); -mutex_unlock (&dev->mutex);kthread_stop (dev->kthread_vid_out); dev->kthread_vid_out =NULL ; -mutex_lock (&dev->mutex); }
drivers/media/platform/vivid/vivid-sdr-cap.c +5 -3
@@ -137,7 +137,11 @@ static int vivid_thread_sdr_cap(void *data)if (kthread_should_stop ())break ; -mutex_lock (&dev->mutex); +if (!mutex_trylock (&dev->mutex)) { +schedule_timeout_uninterruptible (1 ); +continue ; + } + cur_jiffies = jiffies;if (dev->sdr_cap_seq_resync) { dev->jiffies_sdr_cap = cur_jiffies;
@@ -297,10 +301,8 @@ static void sdr_cap_stop_streaming(struct vb2_queue *vq) }/* shutdown control thread */ -mutex_unlock (&dev->mutex);kthread_stop (dev->kthread_sdr_cap); dev->kthread_sdr_cap =NULL ; -mutex_lock (&dev->mutex); }const struct vb2_ops vivid_sdr_cap_qops = {
drivers/media/platform/vivid/vivid-vid-cap.c +0 -3
@@ -222,9 +222,6 @@ static int vid_cap_start_streaming(struct vb2_queue *vq, unsigned count)if (vb2_is_streaming (&dev->vb_vid_out_q)) dev->can_loop_video =vivid_vid_can_loop (dev); -if (dev->kthread_vid_cap) -return 0 ; - dev->vid_cap_seq_count =0 ;dprintk (dev,1 ,"%s\n" , __func__);for (i =0 ; i <VIDEO_MAX_FRAME ; i++)
drivers/media/platform/vivid/vivid-vid-out.c +0 -3
@@ -146,9 +146,6 @@ static int vid_out_start_streaming(struct vb2_queue *vq, unsigned count)if (vb2_is_streaming (&dev->vb_vid_cap_q)) dev->can_loop_video =vivid_vid_can_loop (dev); -if (dev->kthread_vid_out) -return 0 ; - dev->vid_out_seq_count =0 ;dprintk (dev,1 ,"%s\n" , __func__);if (dev->start_streaming_error) {
drivers/media/rc/imon.c +1 -2
@@ -1607,8 +1607,7 @@ static void imon_incoming_packet(struct imon_context *ictx,spin_unlock_irqrestore (&ictx->kc_lock, flags);/* send touchscreen events through input subsystem if touchpad data */ -if (ictx->display_type ==IMON_DISPLAY_TYPE_VGA && len ==8 && - buf[7 ] ==0x86 ) { +if (ictx->touch && len ==8 && buf[7 ] ==0x86 ) {imon_touch_event (ictx, buf);return ;
drivers/media/usb/b2c2/flexcop-usb.c +3 -0
@@ -537,6 +537,9 @@ static int flexcop_usb_probe(struct usb_interface *intf,struct flexcop_device *fc =NULL ;int ret; +if (intf->cur_altsetting->desc.bNumEndpoints <1 ) +return -ENODEV ; +if ((fc =flexcop_device_kmalloc (sizeof (struct flexcop_usb ))) ==NULL ) {err ("out of memory\n" );return -ENOMEM ;
drivers/media/usb/dvb-usb/cxusb.c +2 -1
@@ -457,7 +457,8 @@ static int cxusb_rc_query(struct dvb_usb_device *d) {u8 ircode[4 ]; -cxusb_ctrl_msg (d,CMD_GET_IR_CODE ,NULL ,0 , ircode,4 ); +if (cxusb_ctrl_msg (d,CMD_GET_IR_CODE ,NULL ,0 , ircode,4 ) <0 ) +return 0 ;if (ircode[2 ] || ircode[3 ]) rc_keydown(d->rc_dev, RC_PROTO_NEC,
drivers/media/usb/usbvision/usbvision-video.c +18 -3
@@ -327,6 +327,10 @@ static int usbvision_v4l2_open(struct file *file)if (mutex_lock_interruptible (&usbvision->v4l2_lock))return -ERESTARTSYS ; +if (usbvision->remove_pending) { + err_code = -ENODEV ; + goto unlock; + }if (usbvision->user) { err_code = -EBUSY ; }else {
@@ -390,6 +394,7 @@ static int usbvision_v4l2_open(struct file *file)static int usbvision_v4l2_close (struct file *file) {struct usb_usbvision *usbvision =video_drvdata (file); +int r;PDEBUG (DBG_IO ,"close" );
@@ -404,9 +409,10 @@ static int usbvision_v4l2_close(struct file *file)usbvision_scratch_free (usbvision); usbvision->user--; + r = usbvision->remove_pending;mutex_unlock (&usbvision->v4l2_lock); -if (usbvision->remove_pending) { +if (r) {printk (KERN_INFO "%s: Final disconnect\n" , __func__);usbvision_release (usbvision);return 0 ;
@@ -1090,6 +1096,11 @@ static int usbvision_radio_open(struct file *file)if (mutex_lock_interruptible (&usbvision->v4l2_lock))return -ERESTARTSYS ; + +if (usbvision->remove_pending) { + err_code = -ENODEV ; + goto out; + } err_code =v4l2_fh_open (file);if (err_code) goto out;
@@ -1122,6 +1133,7 @@ static int usbvision_radio_open(struct file *file)static int usbvision_radio_close (struct file *file) {struct usb_usbvision *usbvision =video_drvdata (file); +int r;PDEBUG (DBG_IO ,"" );
@@ -1134,9 +1146,10 @@ static int usbvision_radio_close(struct file *file)usbvision_audio_off (usbvision); usbvision->radio =0 ; usbvision->user--; + r = usbvision->remove_pending;mutex_unlock (&usbvision->v4l2_lock); -if (usbvision->remove_pending) { +if (r) {printk (KERN_INFO "%s: Final disconnect\n" , __func__);v4l2_fh_release (file);usbvision_release (usbvision);
@@ -1562,6 +1575,7 @@ static int usbvision_probe(struct usb_interface *intf,static void usbvision_disconnect (struct usb_interface *intf) {struct usb_usbvision *usbvision =to_usbvision (usb_get_intfdata (intf)); +int u;PDEBUG (DBG_PROBE ,"" );
@@ -1578,13 +1592,14 @@ static void usbvision_disconnect(struct usb_interface *intf)v4l2_device_disconnect (&usbvision->v4l2_dev);usbvision_i2c_unregister (usbvision); usbvision->remove_pending =1 ;/* Now all ISO data will be ignored */ + u = usbvision->user;usb_put_dev (usbvision->dev); usbvision->dev =NULL ;/* USB device is no more */ mutex_unlock (&usbvision->v4l2_lock); -if (usbvision->user) { +if (u) {printk (KERN_INFO "%s: In use, disconnect pending\n" , __func__);wake_up_interruptible (&usbvision->wait_frame);
drivers/media/usb/uvc/uvc_driver.c +15 -13
@@ -2124,6 +2124,20 @@ static int uvc_probe(struct usb_interface *intf, sizeof(dev->name) - len); } +/* Initialize the media device. */ +#ifdef CONFIG_MEDIA_CONTROLLER + dev->mdev.dev = &intf->dev; +strscpy (dev->mdev.model, dev->name,sizeof (dev->mdev.model)); +if (udev->serial) +strscpy (dev->mdev.serial, udev->serial, +sizeof (dev->mdev.serial)); +usb_make_path (udev, dev->mdev.bus_info,sizeof (dev->mdev.bus_info)); + dev->mdev.hw_revision =le16_to_cpu (udev->descriptor.bcdDevice); +media_device_init (&dev->mdev); + + dev->vdev.mdev = &dev->mdev; +#endif +/* Parse the Video Class control descriptor. */ if (uvc_parse_control (dev) <0 ) { uvc_trace(UVC_TRACE_PROBE, "Unable to parse UVC "
@@ -2144,19 +2158,7 @@ static int uvc_probe(struct usb_interface *intf, "linux-uvc-devel mailing list.\n"); } -/* Initialize the media device and register the V4L2 device. */ -#ifdef CONFIG_MEDIA_CONTROLLER - dev->mdev.dev = &intf->dev; -strlcpy (dev->mdev.model, dev->name,sizeof (dev->mdev.model)); -if (udev->serial) -strlcpy (dev->mdev.serial, udev->serial, -sizeof (dev->mdev.serial)); -strcpy (dev->mdev.bus_info, udev->devpath); - dev->mdev.hw_revision =le16_to_cpu (udev->descriptor.bcdDevice); -media_device_init (&dev->mdev); - - dev->vdev.mdev = &dev->mdev; -#endif +/* Register the V4L2 device. */ if (v4l2_device_register (&intf->dev, &dev->vdev) <0 ) goto error;
drivers/mfd/arizona-core.c +4 -4
@@ -52,8 +52,10 @@ int arizona_clk32k_enable(struct arizona *arizona)if (ret !=0 ) goto err_ref; ret =clk_prepare_enable (arizona->mclk[ARIZONA_MCLK1 ]); -if (ret !=0 ) - goto err_pm; +if (ret !=0 ) { +pm_runtime_put_sync (arizona->dev); + goto err_ref; + }break ;case ARIZONA_32KZ_MCLK2 : ret =clk_prepare_enable (arizona->mclk[ARIZONA_MCLK2 ]);
@@ -67,8 +69,6 @@ int arizona_clk32k_enable(struct arizona *arizona) ARIZONA_CLK_32K_ENA); } -err_pm: -pm_runtime_put_sync (arizona->dev); err_ref:if (ret !=0 ) arizona->clk32k_ref--;
drivers/mfd/intel_soc_pmic_bxtwc.c +31 -10
94 lines not on this page · raw message
drivers/mfd/max8997.c +1 -7
@@ -153,12 +153,6 @@ static struct max8997_platform_data *max8997_i2c_parse_dt_pdata( pd->ono =irq_of_parse_and_map (dev->of_node,1 ); -/* -* ToDo: the 'wakeup' member in the platform data is more of a linux -* specfic information. Hence, there is no binding for that yet and -* not parsed here. -*/ -return pd; }
@@ -246,7 +240,7 @@ static int max8997_i2c_probe(struct i2c_client *i2c,*/ /* MAX8997 has a power button input. */ -device_init_wakeup (max8997->dev, pdata->wakeup); +device_init_wakeup (max8997->dev, true);return ret;
drivers/mfd/mc13xxx-core.c +2 -1
@@ -278,7 +278,8 @@ int mc13xxx_adc_do_conversion(struct mc13xxx *mc13xxx, unsigned int mode,if (ret) goto out; - adc0 =MC13XXX_ADC0_ADINC1 |MC13XXX_ADC0_ADINC2 ; + adc0 =MC13XXX_ADC0_ADINC1 |MC13XXX_ADC0_ADINC2 | +MC13XXX_ADC0_CHRGRAWDIV ; adc1 =MC13XXX_ADC1_ADEN |MC13XXX_ADC1_ADTRIGIGN |MC13XXX_ADC1_ASC ;/*
drivers/misc/mic/scif/scif_fence.c +1 -1
@@ -272,7 +272,7 @@ static int _scif_prog_signal(scif_epd_t epd, dma_addr_t dst, u64 val) dma_fail:if (!x100)dma_pool_free (ep->remote_dev->signal_pool, status, - status->src_dma_addr); + src - offsetof(struct scif_status , val)); alloc_fail:return err; }
drivers/mmc/host/mtk-sd.c +8 -7
@@ -390,7 +390,6 @@ struct msdc_host {struct clk *src_clk_cg;/* msdc source clock control gate */ u32 mclk;/* mmc subsystem clock frequency */ u32 src_clk_freq;/* source clock frequency */ -u32 sclk;/* SD/MS bus clock frequency */ unsigned char timing;bool vqmmc_enabled;u32 latch_ck;
@@ -635,10 +634,10 @@ static void msdc_set_timeout(struct msdc_host *host, u32 ns, u32 clks) host->timeout_ns = ns; host->timeout_clks = clks; -if (host->sclk ==0 ) { +if (host->mmc->actual_clock ==0 ) { timeout =0 ; }else { - clk_ns =1000000000UL / host->sclk; + clk_ns =1000000000UL / host->mmc->actual_clock; timeout = (ns + clk_ns -1 ) / clk_ns + clks;/* in 1048576 sclk cycle unit */ timeout = (timeout + (0x1 <<20 ) -1 ) >>20 ;
@@ -683,6 +682,7 @@ static void msdc_set_mclk(struct msdc_host *host, unsigned char timing, u32 hz)if (!hz) {dev_dbg (host->dev,"set mclk to 0\n" ); host->mclk =0 ; + host->mmc->actual_clock =0 ;sdr_clr_bits (host->base +MSDC_CFG ,MSDC_CFG_CKPDN );return ; }
@@ -761,7 +761,7 @@ static void msdc_set_mclk(struct msdc_host *host, unsigned char timing, u32 hz)while (!(readl (host->base +MSDC_CFG ) &MSDC_CFG_CKSTB ))cpu_relax ();sdr_set_bits (host->base +MSDC_CFG ,MSDC_CFG_CKPDN ); - host->sclk = sclk; + host->mmc->actual_clock = sclk; host->mclk = hz; host->timing = timing;/* need because clk changed. */
@@ -772,7 +772,7 @@ static void msdc_set_mclk(struct msdc_host *host, unsigned char timing, u32 hz)* mmc_select_hs400() will drop to 50Mhz and High speed mode, * tune result of hs200/200Mhz is not suitable for 50Mhz */ -if (host->sclk <=52000000 ) { +if (host->mmc->actual_clock <=52000000 ) {writel (host->def_tune_para.iocon, host->base +MSDC_IOCON );writel (host->def_tune_para.pad_tune, host->base + tune_reg); }else {
@@ -787,7 +787,8 @@ static void msdc_set_mclk(struct msdc_host *host, unsigned char timing, u32 hz)sdr_set_field (host->base + tune_reg,MSDC_PAD_TUNE_CMDRRDLY , host->hs400_cmd_int_delay); -dev_dbg (host->dev,"sclk: %d, timing: %d\n" , host->sclk, timing); +dev_dbg (host->dev,"sclk: %d, timing: %d\n" , host->mmc->actual_clock, + timing); } static inline u32 msdc_cmd_find_resp(struct msdc_host *host,
@@ -1055,6 +1056,7 @@ static void msdc_start_command(struct msdc_host *host,WARN_ON (host->cmd); host->cmd = cmd; +mod_delayed_work (system_wq, &host->req_timeout,DAT_TIMEOUT );if (!msdc_cmd_is_ready (host, mrq, cmd))return ;
@@ -1066,7 +1068,6 @@ static void msdc_start_command(struct msdc_host *host, cmd->error =0 ; rawcmd =msdc_cmd_prepare_raw_cmd (host, mrq, cmd); -mod_delayed_work (system_wq, &host->req_timeout,DAT_TIMEOUT );sdr_set_bits (host->base +MSDC_INTEN , cmd_ints_mask);writel (cmd->arg, host->base +SDC_ARG );
drivers/net/dsa/bcm_sf2.c +4 -0
@@ -1099,12 +1099,16 @@ static int bcm_sf2_sw_probe(struct platform_device *pdev)return ret; } +bcm_sf2_gphy_enable_set (priv->dev->ds, true); + ret =bcm_sf2_mdio_register (ds);if (ret) {pr_err ("failed to register MDIO bus\n" );return ret; } +bcm_sf2_gphy_enable_set (priv->dev->ds, false); + ret =bcm_sf2_cfp_rst (priv);if (ret) {pr_err ("failed to reset CFP\n" );
drivers/net/dsa/mv88e6xxx/chip.c +2 -2
@@ -3028,7 +3028,7 @@ static const struct mv88e6xxx_ops mv88e6141_ops = { .port_set_link = mv88e6xxx_port_set_link, .port_set_duplex = mv88e6xxx_port_set_duplex, .port_set_rgmii_delay = mv88e6390_port_set_rgmii_delay, - .port_set_speed = mv88e6390_port_set_speed, + .port_set_speed = mv88e6341_port_set_speed, .port_tag_remap = mv88e6095_port_tag_remap, .port_set_frame_mode = mv88e6351_port_set_frame_mode, .port_set_egress_floods = mv88e6352_port_set_egress_floods,
@@ -3649,7 +3649,7 @@ static const struct mv88e6xxx_ops mv88e6341_ops = { .port_set_link = mv88e6xxx_port_set_link, .port_set_duplex = mv88e6xxx_port_set_duplex, .port_set_rgmii_delay = mv88e6390_port_set_rgmii_delay, - .port_set_speed = mv88e6390_port_set_speed, + .port_set_speed = mv88e6341_port_set_speed, .port_tag_remap = mv88e6095_port_tag_remap, .port_set_frame_mode = mv88e6351_port_set_frame_mode, .port_set_egress_floods = mv88e6352_port_set_egress_floods,
drivers/net/dsa/mv88e6xxx/port.c +23 -2
@@ -228,8 +228,11 @@ static int mv88e6xxx_port_set_speed(struct mv88e6xxx_chip *chip, int port, ctrl =MV88E6XXX_PORT_MAC_CTL_SPEED_1000 ;break ;case 2500 : - ctrl =MV88E6390_PORT_MAC_CTL_SPEED_10000 | -MV88E6390_PORT_MAC_CTL_ALTSPEED ; +if (alt_bit) + ctrl =MV88E6390_PORT_MAC_CTL_SPEED_10000 | +MV88E6390_PORT_MAC_CTL_ALTSPEED ; +else + ctrl =MV88E6390_PORT_MAC_CTL_SPEED_10000 ;break ;case 10000 :/* all bits set, fall through... */
@@ -291,6 +294,24 @@ int mv88e6185_port_set_speed(struct mv88e6xxx_chip *chip, int port, int speed)return mv88e6xxx_port_set_speed (chip, port, speed, false, false); } +/* Support 10, 100, 200, 1000, 2500 Mbps (e.g. 88E6341) */ +int mv88e6341_port_set_speed (struct mv88e6xxx_chip *chip,int port,int speed) +{ +if (speed ==SPEED_MAX ) + speed = port <5 ?1000 :2500 ; + +if (speed >2500 ) +return -EOPNOTSUPP ; + +if (speed ==200 && port !=0 ) +return -EOPNOTSUPP ; + +if (speed ==2500 && port <5 ) +return -EOPNOTSUPP ; + +return mv88e6xxx_port_set_speed (chip, port, speed, !port, true); +} +/* Support 10, 100, 200, 1000 Mbps (e.g. 88E6352 family) */ int mv88e6352_port_set_speed (struct mv88e6xxx_chip *chip,int port,int speed) {
drivers/net/dsa/mv88e6xxx/port.h +1 -0
@@ -280,6 +280,7 @@ int mv88e6xxx_port_set_duplex(struct mv88e6xxx_chip *chip, int port, int dup);int mv88e6065_port_set_speed (struct mv88e6xxx_chip *chip,int port,int speed);int mv88e6185_port_set_speed (struct mv88e6xxx_chip *chip,int port,int speed); +int mv88e6341_port_set_speed (struct mv88e6xxx_chip *chip,int port,int speed);int mv88e6352_port_set_speed (struct mv88e6xxx_chip *chip,int port,int speed);int mv88e6390_port_set_speed (struct mv88e6xxx_chip *chip,int port,int speed);int mv88e6390x_port_set_speed (struct mv88e6xxx_chip *chip,int port,int speed);
drivers/net/ethernet/amazon/Kconfig +1 -1
@@ -17,7 +17,7 @@ if NET_VENDOR_AMAZON config ENA_ETHERNET tristate "Elastic Network Adapter (ENA) support" - depends on (PCI_MSI && X86) + depends on PCI_MSI && !CPU_BIG_ENDIAN ---help--- This driver supports Elastic Network Adapter (ENA)"
drivers/net/ethernet/broadcom/genet/bcmgenet.c +1 -1
@@ -1169,7 +1169,7 @@ static int bcmgenet_power_down(struct bcmgenet_priv *priv,break ; } -return 0 ; +return ret; } static void bcmgenet_power_up(struct bcmgenet_priv *priv,
drivers/net/ethernet/cadence/macb_main.c +1 -1
@@ -1721,7 +1721,7 @@ static int macb_pad_and_fcs(struct sk_buff **skb, struct net_device *ndev) padlen =0 ;/* No room for FCS, need to reallocate skb. */ else - padlen =ETH_FCS_LEN - tailroom; + padlen =ETH_FCS_LEN ; }else {/* Add room for FCS. */ padlen +=ETH_FCS_LEN ;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +21 -3
@@ -2547,7 +2547,7 @@ static int hns3_get_vector_ring_chain(struct hns3_enet_tqp_vector *tqp_vector, chain =devm_kzalloc (&pdev->dev,sizeof (*chain),GFP_KERNEL );if (!chain) -return -ENOMEM ; + goto err_free_chain; cur_chain->next = chain; chain->tqp_index = tx_ring->tqp->tqp_index;
@@ -2577,7 +2577,7 @@ static int hns3_get_vector_ring_chain(struct hns3_enet_tqp_vector *tqp_vector,while (rx_ring) { chain =devm_kzalloc (&pdev->dev,sizeof (*chain),GFP_KERNEL );if (!chain) -return -ENOMEM ; + goto err_free_chain; cur_chain->next = chain; chain->tqp_index = rx_ring->tqp->tqp_index;
@@ -2592,6 +2592,16 @@ static int hns3_get_vector_ring_chain(struct hns3_enet_tqp_vector *tqp_vector, }return 0 ; + +err_free_chain: + cur_chain = head->next; +while (cur_chain) { + chain = cur_chain->next; +devm_kfree (&pdev->dev, chain); + cur_chain = chain;
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/fm10k/fm10k_iov.c +28 -20
48 lines not on this page · raw message
drivers/net/ethernet/intel/igb/igb_ptp.c +7 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c +5 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx4/en_netdev.c +9 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c +6 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c +1 -18
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/netronome/nfp/bpf/main.h +6 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/netronome/nfp/bpf/offload.c +17 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/netronome/nfp/bpf/verifier.c +53 -5
58 lines not on this page · raw message
drivers/net/ethernet/qlogic/qed/qed_main.c +18 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qlogic/qed/qed_mcp.c +12 -15
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qlogic/qed/qed_mcp.h +3 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qlogic/qed/qed_vf.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/socionext/netsec.c +15 -4
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath10k/pci.c +11 -12
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/wil6210/debugfs.c +10 -5
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/wil6210/main.c +9 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/wil6210/txrx_edma.c +12 -11
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/wil6210/wil6210.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c +28 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/cfg80211.c +11 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/ioctl.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/sta_ioctl.c +7 -4
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c +3 -4
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/tx.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ti/wlcore/vendor_cmd.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/of/unittest.c +48 -10
58 lines not on this page · raw message
drivers/pci/controller/dwc/pci-keystone.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/pci/controller/pcie-cadence-ep.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pci/controller/pcie-mediatek.c +72 -71
143 lines not on this page · raw message
drivers/pinctrl/cirrus/pinctrl-madera-core.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +17 -4
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel_cht_int33fe.c +9 -15
Lines of this file are not shown. View the raw message.
drivers/scsi/hisi_sas/hisi_sas_main.c +48 -8
56 lines not on this page · raw message
drivers/scsi/lpfc/lpfc_els.c +79 -16
95 lines not on this page · raw message
drivers/scsi/megaraid/megaraid_sas_base.c +4 -5
Lines of this file are not shown. View the raw message.
drivers/staging/comedi/drivers/usbduxfast.c +14 -7
Lines of this file are not shown. View the raw message.
drivers/usb/usbip/stub_rx.c +32 -18
50 lines not on this page · raw message
drivers/vhost/vsock.c +48 -18
66 lines not on this page · raw message
drivers/w1/slaves/w1_ds2438.c +52 -14
66 lines not on this page · raw message
fs/ceph/file.c +9 -36
45 lines not on this page · raw message
fs/hfs/btree.c +25 -16
41 lines not on this page · raw message
fs/hfsplus/btree.c +28 -16
44 lines not on this page · raw message
fs/ocfs2/buffer_head_io.c +59 -18
77 lines not on this page · raw message
fs/ocfs2/journal.c +34 -17
51 lines not on this page · raw message
fs/ocfs2/xattr.c +33 -23
56 lines not on this page · raw message
fs/xfs/xfs_buf.c +44 -1
45 lines not on this page · raw message
kernel/bpf/btf.c +25 -30
55 lines not on this page · raw message
kernel/futex.c +240 -7
247 lines not on this page · raw message
kernel/futex_compat.c deleted +0 -202
202 lines not on this page · raw message
mm/memory_hotplug.c +52 -24
76 lines not on this page · raw message
net/ipv4/igmp.c +36 -17
53 lines not on this page · raw message
net/vmw_vsock/virtio_transport_common.c +12 -3
Lines of this file are not shown. View the raw message.
tools/bpf/bpftool/bash-completion/bpftool +1 -1
Lines of this file are not shown. View the raw message.
tools/objtool/arch/x86/tools/gen-insn-attr-x86.awk +2 -2
Lines of this file are not shown. View the raw message.
tools/power/acpi/tools/acpidump/apmain.c +1 -1
Lines of this file are not shown. View the raw message.
tools/power/x86/turbostat/turbostat.c +60 -33
93 lines not on this page · raw message
tools/testing/selftests/bpf/test_libbpf.sh +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/trace_helpers.c +1 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc +3 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/kvm/dirty_log_test.c +2 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/powerpc/cache_shape/Makefile +2 -7
Lines of this file are not shown. View the raw message.
tools/testing/selftests/powerpc/ptrace/Makefile +4 -9
Lines of this file are not shown. View the raw message.
tools/testing/selftests/powerpc/signal/Makefile +3 -8
Lines of this file are not shown. View the raw message.
tools/testing/selftests/powerpc/switch_endian/Makefile +1 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/proc/fd-001-lookup.c +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/proc/fd-003-kthread.c +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/vm/gup_benchmark.c +1 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/watchdog/watchdog-test.c +11 -5
Lines of this file are not shown. View the raw message.
tools/usb/usbip/libsrc/usbip_host_common.c +4 -4
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.