Linux 4.9.104
Greg KH
maintainerI'm announcing the release of the 4.9.104 kernel.
All users of the 4.9 kernel series must upgrade.
The updated 4.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/device-mapper/thin-provisioning.txt | 8 Documentation/devicetree/bindings/dma/mv-xor-v2.txt | 6 Makefile | 2 arch/alpha/include/asm/xchg.h | 30 arch/arc/Kconfig | 1 arch/arm/boot/dts/bcm283x.dtsi | 4 arch/arm/boot/dts/bcm958625hr.dts | 2 arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 52 arch/arm/boot/dts/r8a7791-porter.dts | 2 arch/arm/boot/dts/socfpga.dtsi | 2 arch/arm/include/asm/vdso.h | 2 arch/arm/kernel/vdso.c | 12 arch/arm/mach-omap1/clock.c | 6 arch/arm/mach-omap2/pm.c | 4 arch/arm/mach-omap2/timer.c | 19 arch/arm/mach-orion5x/Kconfig | 3 arch/arm/mach-orion5x/dns323-setup.c | 53 arch/arm/mach-orion5x/tsx09-common.c | 49 arch/arm/plat-omap/dmtimer.c | 7 arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 arch/arm64/include/asm/spinlock.h | 4 arch/arm64/include/asm/stacktrace.h | 2 arch/arm64/kernel/cpu_errata.c | 4 arch/arm64/kernel/stacktrace.c | 5 arch/arm64/kernel/time.c | 2 arch/ia64/kernel/err_inject.c | 2 arch/m68k/coldfire/device.c | 12 arch/mips/cavium-octeon/octeon-irq.c | 10 arch/mips/include/asm/mach-ath79/ar71xx_regs.h | 2 arch/mips/include/asm/machine.h | 2 arch/mips/kernel/ptrace.c | 22 arch/mips/kernel/ptrace32.c | 4 arch/mips/kvm/mips.c | 2 arch/mips/mm/c-r4k.c | 9 arch/mips/txx9/rbtx4939/setup.c | 4 arch/powerpc/boot/Makefile | 3 arch/powerpc/include/asm/irq_work.h | 1 arch/powerpc/kvm/book3s_hv.c | 12 arch/powerpc/mm/numa.c | 78 arch/powerpc/net/bpf_jit_comp.c | 3 arch/powerpc/perf/core-book3s.c | 25 arch/powerpc/sysdev/mpic.c | 2 arch/s390/kvm/vsie.c | 2 arch/sh/kernel/entry-common.S | 2 arch/sparc/include/asm/atomic_64.h | 6 arch/sparc/include/asm/pgtable_64.h | 2 arch/sparc/mm/tlb.c | 23 arch/x86/events/core.c | 15 arch/x86/events/intel/core.c | 12 arch/x86/events/intel/ds.c | 117 + arch/x86/events/perf_event.h | 2 arch/x86/include/asm/i8259.h | 5 arch/x86/kernel/apic/apic.c | 2 arch/x86/kernel/devicetree.c | 21 arch/x86/kernel/smpboot.c | 1 arch/x86/kernel/tsc.c | 18 arch/x86/kvm/cpuid.c | 7 arch/x86/kvm/lapic.c | 10 arch/x86/kvm/vmx.c | 20 arch/x86/kvm/x86.c | 12 arch/x86/mm/init_64.c | 3 arch/x86/mm/pageattr.c | 6 arch/x86/mm/pgtable.c | 9 arch/x86/power/hibernate_32.c | 2 arch/x86/power/hibernate_64.c | 2 crypto/asymmetric_keys/pkcs7_trust.c | 1 drivers/acpi/acpi_pad.c | 3 drivers/acpi/acpica/evevent.c | 9 drivers/acpi/acpica/nseval.c | 8 drivers/acpi/processor_perflib.c | 2 drivers/acpi/scan.c | 20 drivers/ata/libata-core.c | 6 drivers/ata/libata-scsi.c | 2 drivers/base/regmap/regmap.c | 2 drivers/block/paride/pcd.c | 2 drivers/cdrom/cdrom.c | 3 drivers/cdrom/gdrom.c | 3 drivers/char/hw_random/stm32-rng.c | 9 drivers/char/ipmi/ipmi_powernv.c | 5 drivers/char/ipmi/ipmi_ssif.c | 4 drivers/clocksource/fsl_ftm_timer.c | 2 drivers/cpufreq/cppc_cpufreq.c | 23 drivers/cpufreq/cpufreq.c | 6 drivers/dma/mv_xor_v2.c | 25 drivers/dma/pl330.c | 6 drivers/dma/qcom/bam_dma.c | 27 drivers/dma/sh/rcar-dmac.c | 11 drivers/firewire/ohci.c | 8 drivers/firmware/dmi_scan.c | 22 drivers/gpu/drm/exynos/exynos_drm_g2d.c | 6 drivers/gpu/drm/exynos/regs-fimc.h | 2 drivers/gpu/drm/imx/ipuv3-crtc.c | 5 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 746 +++---- drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h | 802 +++---- drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/gt215.fuc3.h | 1006 +++++----- drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/memx.fuc | 30 drivers/gpu/drm/panel/panel-simple.c | 2 drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 7 drivers/gpu/drm/sun4i/sun4i_dotclock.c | 5 drivers/gpu/drm/virtio/virtgpu_ioctl.c | 17 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h | 25 drivers/hid/hid-roccat-kovaplus.c | 2 drivers/hwmon/nct6775.c | 10 drivers/hwmon/pmbus/adm1275.c | 4 drivers/hwmon/pmbus/max8688.c | 2 drivers/i2c/busses/i2c-mv64xxx.c | 8 drivers/ide/ide-cd.c | 2 drivers/infiniband/core/multicast.c | 26 drivers/infiniband/core/sa_query.c | 7 drivers/infiniband/core/ucma.c | 2 drivers/infiniband/hw/hfi1/chip.c | 4 drivers/infiniband/hw/i40iw/i40iw_verbs.c | 1 drivers/infiniband/hw/mlx4/main.c | 11 drivers/infiniband/hw/mlx5/qp.c | 9 drivers/infiniband/hw/qedr/main.c | 3 drivers/infiniband/hw/qedr/verbs.c | 38 drivers/infiniband/ulp/ipoib/ipoib_main.c | 3 drivers/input/mouse/psmouse-base.c | 34 drivers/iommu/intel-iommu.c | 3 drivers/irqchip/irq-gic-v3-its-pci-msi.c | 2 drivers/irqchip/irq-gic-v3-its-platform-msi.c | 2 drivers/irqchip/irq-gic-v3-its.c | 2 drivers/irqchip/irq-gic-v3.c | 2 drivers/macintosh/rack-meter.c | 4 drivers/md/bcache/alloc.c | 4 drivers/md/bcache/bcache.h | 2 drivers/md/bcache/btree.c | 9 drivers/md/bcache/request.c | 2 drivers/md/bcache/super.c | 23 drivers/md/bcache/sysfs.c | 11 drivers/md/bcache/writeback.c | 27 drivers/md/md.c | 13 drivers/md/raid1.c | 11 drivers/md/raid10.c | 14 drivers/md/raid5.c | 15 drivers/mmc/host/sdhci-iproc.c | 31 drivers/net/ethernet/broadcom/bgmac.c | 3 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 3 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 11 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c | 1 drivers/net/ethernet/cisco/enic/enic_main.c | 10 drivers/net/ethernet/freescale/fman/fman_dtsec.c | 2 drivers/net/ethernet/freescale/gianfar.c | 16 drivers/net/ethernet/ibm/ibmvnic.c | 1 drivers/net/ethernet/intel/e1000e/ich8lan.c | 2 drivers/net/ethernet/intel/e1000e/mac.c | 2 drivers/net/ethernet/intel/e1000e/netdev.c | 4 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c | 14 drivers/net/ethernet/marvell/mvneta.c | 1 drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 2 drivers/net/ethernet/qualcomm/emac/emac-mac.c | 23 drivers/net/ethernet/smsc/smsc911x.c | 4 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c | 6 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 14 drivers/net/ethernet/sun/sunvnet.c | 2 drivers/net/macvlan.c | 2 drivers/net/phy/dp83640.c | 18 drivers/net/usb/qmi_wwan.c | 1 drivers/net/usb/r8152.c | 2 drivers/net/usb/smsc75xx.c | 7 drivers/net/virtio_net.c | 2 drivers/net/wireless/ath/ath10k/mac.c | 10 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 2 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 4 drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 28 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 39 drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 7 drivers/net/wireless/mac80211_hwsim.c | 4 drivers/net/xen-netfront.c | 46 drivers/ntb/ntb_transport.c | 3 drivers/nvme/host/fabrics.c | 4 drivers/nvme/host/pci.c | 5 drivers/nvme/target/core.c | 9 drivers/parisc/lba_pci.c | 20 drivers/pci/pci-driver.c | 17 drivers/pci/quirks.c | 5 drivers/pinctrl/qcom/pinctrl-msm.c | 2 drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 40 drivers/regulator/gpio-regulator.c | 16 drivers/regulator/of_regulator.c | 1 drivers/s390/cio/device_fsm.c | 7 drivers/s390/cio/device_ops.c | 72 drivers/s390/cio/io_sch.h | 1 drivers/scsi/sr.c | 21 drivers/soc/qcom/wcnss_ctrl.c | 2 drivers/spi/spi-bcm-qspi.c | 4 drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c | 2 drivers/video/fbdev/sbuslib.c | 4 drivers/watchdog/f71808e_wdt.c | 3 drivers/watchdog/sbsa_gwdt.c | 3 drivers/watchdog/sp5100_tco.h | 2 drivers/xen/events/events_base.c | 4 drivers/xen/grant-table.c | 4 drivers/xen/swiotlb-xen.c | 2 drivers/xen/xen-acpi-processor.c | 6 drivers/xen/xenbus/xenbus_probe.c | 5 drivers/zorro/zorro.c | 12 fs/affs/namei.c | 10 fs/aio.c | 4 fs/btrfs/ctree.c | 12 fs/btrfs/disk-io.c | 8 fs/btrfs/extent-tree.c | 1 fs/btrfs/file.c | 9 fs/btrfs/inode.c | 16 fs/btrfs/raid56.c | 18 fs/btrfs/send.c | 3 fs/btrfs/tests/qgroup-tests.c | 2 fs/btrfs/tree-log.c | 12 fs/btrfs/volumes.c | 9 fs/ceph/super.c | 16 fs/cifs/cifssmb.c | 4 fs/dcache.c | 32 fs/ecryptfs/inode.c | 3 fs/ext2/namei.c | 6 fs/ext4/namei.c | 6 fs/f2fs/extent_cache.c | 3 fs/f2fs/namei.c | 12 fs/fscache/page.c | 13 fs/gfs2/file.c | 5 fs/gfs2/quota.h | 2 fs/jffs2/dir.c | 12 fs/jffs2/fs.c | 1 fs/jfs/namei.c | 12 fs/nfs/nfs4proc.c | 12 fs/nfs/nfs4state.c | 5 fs/nfs/nfs4sysctl.c | 2 fs/nilfs2/namei.c | 6 fs/ocfs2/acl.c | 6 fs/ocfs2/dlm/dlmdomain.c | 14 fs/ocfs2/dlm/dlmdomain.h | 25 fs/ocfs2/dlm/dlmrecovery.c | 9 fs/ocfs2/journal.c | 23 fs/ocfs2/super.c | 5 fs/ocfs2/xattr.c | 2 fs/orangefs/namei.c | 9 fs/proc/base.c | 29 fs/proc/kcore.c | 4 fs/proc/proc_sysctl.c | 3 fs/reiserfs/namei.c | 12 fs/udf/namei.c | 6 fs/udf/super.c | 5 fs/ufs/namei.c | 6 fs/xfs/xfs_discard.c | 14 include/asm-generic/pgtable.h | 15 include/linux/cpumask.h | 2 include/linux/dcache.h | 1 include/linux/kcore.h | 1 include/linux/kvm_host.h | 3 include/linux/property.h | 10 include/linux/ptr_ring.h | 2 include/linux/suspend.h | 2 include/net/ip.h | 11 include/net/ip_fib.h | 1 include/net/llc_conn.h | 2 include/net/mac80211.h | 2 include/net/regulatory.h | 2 include/net/route.h | 3 include/trace/events/timer.h | 20 include/uapi/drm/virtgpu_drm.h | 1 include/uapi/linux/if_ether.h | 1 ipc/shm.c | 19 kernel/audit.c | 2 kernel/debug/kdb/kdb_main.c | 27 kernel/events/core.c | 24 kernel/locking/qspinlock.c | 8 kernel/power/power.h | 3 kernel/rcu/tree_plugin.h | 14 kernel/relay.c | 2 kernel/sched/rt.c | 2 kernel/signal.c | 4 kernel/sys.c | 1 kernel/workqueue.c | 2 lib/test_bpf.c | 31 mm/fadvise.c | 10 mm/huge_memory.c | 5 mm/kasan/kasan.c | 2 mm/khugepaged.c | 20 mm/kmemleak.c | 12 mm/ksm.c | 28 mm/mempolicy.c | 36 mm/swapfile.c | 4 mm/vmscan.c | 22 net/batman-adv/bat_iv_ogm.c | 2 net/batman-adv/bat_v.c | 2 net/batman-adv/bridge_loop_avoidance.c | 22 net/batman-adv/distributed-arp-table.c | 2 net/batman-adv/fragmentation.c | 3 net/batman-adv/gateway_client.c | 3 net/batman-adv/multicast.c | 8 net/batman-adv/routing.c | 15 net/batman-adv/soft-interface.c | 8 net/bridge/netfilter/ebtables.c | 33 net/core/skbuff.c | 9 net/ipv4/ip_vti.c | 2 net/ipv4/route.c | 26 net/ipv4/tcp_illinois.c | 2 net/ipv4/tcp_nv.c | 2 net/ipv4/xfrm4_policy.c | 1 net/ipv6/ip6_tunnel.c | 12 net/ipv6/netfilter/nf_conntrack_reasm.c | 16 net/ipv6/sit.c | 7 net/llc/llc_c_ac.c | 15 net/llc/llc_conn.c | 32 net/mac80211/rx.c | 2 net/mac80211/spectmgmt.c | 7 net/mac80211/sta_info.c | 3 net/netlabel/netlabel_unlabeled.c | 10 net/nfc/llcp_commands.c | 4 net/nfc/netlink.c | 3 net/openvswitch/conntrack.c | 34 net/qrtr/smd.c | 1 net/rds/ib.c | 3 net/rxrpc/input.c | 15 net/rxrpc/recvmsg.c | 5 net/rxrpc/sendmsg.c | 4 scripts/adjust_autoksyms.sh | 7 scripts/kconfig/expr.c | 2 scripts/kconfig/menu.c | 1 scripts/kconfig/zconf.y | 33 scripts/package/builddeb | 2 security/integrity/digsig.c | 1 security/integrity/ima/ima_crypto.c | 2 security/integrity/ima/ima_main.c | 13 sound/core/timer.c | 4 sound/core/vmaster.c | 5 sound/pci/hda/Kconfig | 1 sound/pci/hda/patch_realtek.c | 5 tools/lib/bpf/libbpf.c | 26 tools/lib/traceevent/event-parse.c | 17 tools/lib/traceevent/parse-filter.c | 10 tools/perf/arch/x86/util/header.c | 2 tools/perf/builtin-stat.c | 9 tools/perf/builtin-top.c | 6 tools/perf/tests/vmlinux-kallsyms.c | 2 tools/perf/util/evsel.c | 8 tools/perf/util/hist.c | 4 tools/perf/util/hist.h | 1 tools/testing/selftests/Makefile | 1 tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc | 46 tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc | 97 tools/testing/selftests/ftrace/test.d/kprobe/probepoint.tc | 43 tools/testing/selftests/memfd/config | 1 tools/testing/selftests/net/psock_fanout.c | 3 tools/testing/selftests/net/reuseport_bpf.c | 21 tools/testing/selftests/powerpc/mm/subpage_prot.c | 14 tools/testing/selftests/pstore/config | 1 tools/thermal/tmon/sysfs.c | 12 tools/thermal/tmon/tmon.c | 1 virt/kvm/kvm_main.c | 7 349 files changed, 3822 insertions(+), 2235 deletions(-)
Aapo Vienamo (1):
ARM: dts: imx7d: cl-som-imx7: fix pinctrl_enet
Aaro Koskinen (1):
drivers: macintosh: rack-meter: really fix bogus memsets
Al Viro (3):
affs_lookup(): close a race with affs_remove_link()
aio: fix io_destroy(2) vs. lookup_ioctx() race do d_instantiate/unlock_new_inode combinations safely
Alex Estrin (1):
IB/ipoib: Fix for potential no-carrier state
Alex Williamson (1):
PCI: Add function 1 DMA alias quirk for Marvell 9128
Alexey Dobriyan (1):
proc: fix /proc/*/map_files lookup
Alexey Kodanev (1):
macvlan: fix use-after-free in macvlan_common_newlink()
Anand Jain (1):
btrfs: fail mount when sb flag is not in BTRFS_SUPER_FLAG_SUPP
Anders Roxell (1):
selftests: memfd: add config fragment for fuse
Andrea Parri (2):
locking/xchg/alpha: Add unconditional memory barrier to cmpxchg() locking/xchg/alpha: Fix xchg() and cmpxchg() memory ordering bugs
Andreas Gruenbacher (1):
gfs2: Fix fallocate chunk size
Andy Shevchenko (1):
device property: Define type of PROPERTY_ENRTY_*() macros
Andy Spencer (1):
gianfar: prevent integer wrapping in the rx handler
Anna-Maria Gleixner (1):
tracing/hrtimer: Fix tracing bugs by taking all clock bases and modes into account
Arjun Vynipadath (2):
cxgb4: Setup FW queues before registering netdev
cxgb4: Fix queue free path of ULD drivers
Arnaldo Carvalho de Melo (1):
perf callchain: Fix attr.sample_max_stack setting
Arnd Bergmann (4):
x86/power: Fix swsusp_arch_resume prototype
cifs: silence compiler warnings showing up with gcc-8.0.0 drm/exynos: g2d: use monotonic timestamps
md: raid5: avoid string overflow warning
Arvind Yadav (2):
xen: xenbus: use put_device() instead of kfree()
workqueue: use put_device() instead of kfree()
Baoquan He (1):
x86/apic: Set up through-local-APIC mode on the boot CPU if 'noapic' specified
Ben Hutchings (1):
ALSA: timer: Fix pause event notification
Benjamin Poirier (1):
e1000e: Fix check_for_link return value with autoneg off
BingJing Chang (1):
md: fix a potential deadlock of raid5/raid10 reshape
Bjorn Andersson (2):
soc: qcom: wcnss_ctrl: Fix increment in NV upload
pinctrl: msm: Use dynamic GPIO numbering
Carlos Maiolino (1):
Force log to disk before reading the AGF during a fstrim
Cathy Zhou (1):
sunvnet: does not support GSO for sctp
Chao Yu (1):
f2fs: fix to check extent cache in f2fs_drop_extent_tree
Charles Keepax (1):
regmap: Correct comparison in regmap_cached
Chen Yu (1):
ACPI: processor_perflib: Do not send _PPC change notification if not ready
Chengguang Xu (1):
ceph: fix dentry leak when failing to init debugfs
Chien Tin Tung (1):
RDMA/ucma: Correct option size check using optlen
Christophe JAILLET (1):
regulator: of: Add a missing 'of_node_put()' in an error handling path of 'of_regulator_match()'
Christophe Jaillet (2):
regulator: gpio: Fix some error handling paths in 'gpio_regulator_probe()'
spi: bcm-qspi: fIX some error handling paths
Chunyu Hu (1):
cpufreq: cppc_cpufreq: Fix cppc_cpufreq_init() failure path
Claudio Imbrenda (1):
mm/ksm: fix interaction with THP
Claudiu Manoil (1):
gianfar: Fix Rx byte accounting for ndev stats
Colin Ian King (2):
KVM: Fix spelling mistake: "cop_unsuable" -> "cop_unusable" clocksource/drivers/fsl_ftm_timer: Fix error return checking
Coly Li (2):
bcache: properly set task state in bch_writeback_thread()
bcache: quit dc->writeback_thread when BCACHE_DEV_DETACHING is set
Cong Wang (1):
llc: properly handle dev_queue_xmit() return value
Corneliu Doban (1):
mmc: sdhci-iproc: fix 32bit writes for TRANSFER_MODE register
Dan Carpenter (3):
HID: roccat: prevent an out of bounds read in kovaplus_profile_activated() IB/mlx5: Fix an error code in __mlx5_ib_modify_qp()
xen/acpi: off by one in read_acpi_id()
Daniel Borkmann (1):
bpf: fix rlimit in reuseport net selftest
Danilo Krummrich (1):
fs/proc/proc_sysctl.c: fix potential page fault while unregistering sysctl table
Dave Airlie (1):
virtio-gpu: fix ioctl and expose the fixed status to userspace.
Dave Hansen (1):
x86/mm: Do not forbid _PAGE_RW before init for __ro_after_init
David Hildenbrand (2):
kasan: fix memory hotplug during boot
KVM: s390: vsie: fix < 8k check for the itdba
David Howells (4):
rxrpc: Work around usercopy check
fscache: Fix hanging wait on page discarded by writeback
rxrpc: Fix Tx ring annotation after initial Tx failure
rxrpc: Don't treat call aborts as conn aborts
David Rientjes (2):
kernel/relay.c: limit kmalloc size to KMALLOC_MAX_SIZE mm, thp: do not cause memcg oom for thp
David S. Miller (2):
ARM: orion5x: Revert commit 4904dbda41c8.
sparc64: Make atomic_xchg() an inline function rather than a macro.
Davidlohr Bueso (4):
Revert "ipc/shm: Fix shmat mmap nil-page protection" ipc/shm: fix shmat() nil address after round-down when remapping ia64/err-inject: Use get_user_pages_fast()
sched/rt: Fix rq->clock_update_flags < RQCF_ACT_SKIP warning
Denis Kirjanov (1):
fsl/fman: avoid sleeping in atomic context while adding an address
Dmitry Torokhov (1):
Input: psmouse - fix Synaptics detection when protocol is disabled
Dong Bo (1):
libata: Fix compile warning with ATA_DEBUG enabled
Ed Swierk (1):
openvswitch: Remove padding from packet before L3+ conntrack processing
Eric Anholt (1):
drm/panel: simple: Fix the bus format for the Ontat panel
Eric Biggers (1):
PKCS#7: fix direct verification of SignerInfo signature
Eric Dumazet (2):
smsc75xx: fix smsc75xx_set_features()
r8152: fix tx packets accounting
Erik Schmauss (1):
ACPICA: Events: add a return on failure from acpi_hw_register_read
Esben Haabendal (1):
dp83640: Ensure against premature access to PHY registers after reset
Felix Fietkau (2):
mac80211: round IEEE80211_TX_STATUS_HEADROOM up to multiple of 4
mac80211: drop frames with unexpected DS bits from fast-rx to slow path
Filipe Manana (2):
Btrfs: send, fix issuing write op when processing hole in no data mode
Btrfs: fix copy_items() return value when logging an inode
Florian Fainelli (2):
ARM: dts: NSP: Fix amount of RAM on BCM958625HR
net: bgmac: Fix endian access in bgmac_dma_tx_ring_free()
Florian Westphal (2):
netfilter: ebtables: convert BUG_ONs to WARN_ONs
netfilter: ebtables: fix erroneous reject of last rule
Frank Asseg (1):
tools/thermal: tmon: fix for segfault
Geert Uytterhoeven (1):
ARM: OMAP1: clock: Fix debugfs_create_*() usage
Giulio Benetti (1):
drm/sun4i: Fix dclk_set_phase
Govindarajulu Varadarajan (1):
enic: enable rq before updating rq descriptors
Greg Kroah-Hartman (1):
Linux 4.9.104
Greg Ungerer (1):
m68k: set dma and coherent masks for platform FEC ethernets
Gregory CLEMENT (2):
dmaengine: mv_xor_v2: Fix clock resource by adding a register clock
i2c: mv64xxx: Apply errata delay only in standard mode
Guanglei Li (1):
RDS: IB: Fix null pointer issue
Guenter Roeck (5):
watchdog: sp5100_tco: Fix watchdog disable bit powerpc/boot: Fix random libfdt related build errors
hwmon: (nct6775) Fix writing pwmX_mode
hwmon: (pmbus/max8688) Accept negative page register values
hwmon: (pmbus/adm1275) Accept negative page register values
Gustavo A. R. Silva (2):
kernel/sys.c: fix potential Spectre v1 issue
tcp_nv: fix potential integer overflow in tcpnv_acked
Hans de Goede (1):
ACPI / scan: Use acpi_bus_get_status() to initialize ACPI_TYPE_DEVICE devs
Hector Martin (1):
firewire-ohci: work around oversized DMA reads on JMicron controllers
Helge Deller (1):
parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode
Hemanth Puranik (1):
net: qcom/emac: Use proper free methods during TX
Huang Ying (1):
mm: fix races between address_space dereference and free in page_evicatable
Igor Pylypiv (1):
watchdog: f71808e_wdt: Fix magic close handling
Ilan Peer (1):
mac80211: Do not disconnect on invalid operating class
Ilia Lin (1):
arm64: dts: qcom: Fix SPI5 config on MSM8996
Ivan Gorinov (2):
x86/devicetree: Initialize device tree before using it x86/devicetree: Fix device IRQ settings in DT
Jack M (1):
IB/mlx4: Include GID type when deleting GIDs from HW table under RoCE
Jack Morgenstein (1):
IB/mlx4: Fix corruption of RoCEv2 IPv4 GIDs
Jake Daryll Obina (1):
jffs2: Fix use-after-free bug in jffs2_iget()'s error handling path
James Hogan (1):
MIPS: generic: Fix machine compatible matching
Jan Chochol (1):
nfs: Do not convert nfs_idmap_cache_timeout to jiffies
Jan Kara (1):
udf: Provide saner default for invalid uid / gid
Jan Kiszka (1):
builddeb: Fix header package regarding dtc source links
Jason Wang (1):
ptr_ring: prevent integer overflow when calculating size
Jay Vosburgh (1):
virtio-net: Fix operstate for virtio when no VIRTIO_NET_F_STATUS
Jayachandran C (1):
watchdog: sbsa: use 32-bit read for WCV
Jean Delvare (1):
firmware: dmi_scan: Fix handling of empty DMI strings
Jeff Mahoney (1):
btrfs: fix lockdep splat in btrfs_alloc_subvolume_writers
Jens Axboe (1):
sr: get/drop reference to device in revalidate and check_events
Jeremy Linton (1):
net: smsc911x: Fix unload crash when link is up
Jesper Dangaard Brouer (1):
tools/libbpf: handle issues with bpf ELF objects containing .eh_frames
Jia Zhang (1):
vfs/proc/kcore, x86/mm/kcore: Fix SMAP fault when dumping vsyscall user page
Jianchao Wang (1):
nvme-pci: Fix nvme queue cleanup if IRQ setup fails
Jim Mattson (1):
kvm: x86: IA32_ARCH_CAPABILITIES is always supported
Jinbum Park (1):
ARM: 8748/1: mm: Define vdso_start, vdso_end as array
Jiri Olsa (2):
perf tests: Use arch__compare_symbol_names to compare symbols perf report: Fix memory corruption in --branch-history mode --branch-history
Joe Jin (1):
xen-swiotlb: fix the check condition for xen_swiotlb_free_coherent
Joe Perches (1):
MIPS: Octeon: Fix logging messages with spurious periods after newlines
Joerg Roedel (1):
x86/pgtable: Don't set huge PUD/PMD on non-leaf entries
Joey Pabalinas (1):
net/tcp/illinois: replace broken algorithm reference link
Johannes Berg (1):
regulatory: add NUL to request alpha2
Johannes Thumshirn (1):
nvme: don't send keep-alives to the discovery controller
Jun Piao (1):
ocfs2/dlm: don't handle migrate lockres if already in shutdown
Kalderon, Michal (4):
RDMA/qedr: Fix kernel panic when running fio over NFSoRDMA RDMA/qedr: Fix iWARP write and send with immediate RDMA/qedr: fix QP's ack timeout configuration RDMA/qedr: Fix rc initialization on CNQ allocation failure
Kamlakant Patel (1):
ipmi_ssif: Fix kernel panic at msg_done_handler
Kan Liang (3):
perf/x86/intel: Properly save/restore the PMU state in the NMI handler perf/x86/intel: Fix large period handling on Broadwell CPUs perf/x86/intel: Fix event update for auto-reload
KarimAllah Ahmed (1):
kvm: Map PFN-type memory regions as writable (if possible)
Karol Herbst (1):
drm/nouveau/pmu/fuc: don't use movw directly anymore
Karthikeyan Periyasamy (1):
ath10k: Fix kernel panic while using worker (ath10k_sta_rc_update_wk)
Kees Cook (1):
NFC: llcp: Limit size of SDP URI
Kirill A. Shutemov (1):
asm-generic: provide generic_pmdp_establish()
Konrad Rzeszutek Wilk (1):
KVM/VMX: Expose SSBD properly to guests
Laurent Pinchart (1):
ARM: dts: porter: Fix HDMI output routing
Lenny Szubowicz (1):
ACPI: acpi_pad: Fix memory leak in power saving threads
Leon Romanovsky (2):
RDMA/mlx5: Avoid memory leak in case of XRCD dealloc failure net/mlx5: Protect from command bit overflow
Linus Lüssing (3):
batman-adv: Fix multicast packet loss with a single WANT_ALL_IPV4/6 flag
batman-adv: fix multicast-via-unicast transmission with AP isolation
batman-adv: fix packet loss for broadcasted DHCP packets to a server
Liu Bo (4):
Btrfs: set plug for fsync
Btrfs: fix scrub to repair raid6 corruption
Btrfs: bail out on error during replay_dir_deletes
Btrfs: fix NULL pointer dereference in log_dir_items
Logan Gunthorpe (1):
ntb_transport: Fix bug with max_mw_size parameter
Lucas Stach (1):
drm/imx: move arming of the vblank event to atomic_flush
Maciej W. Rozycki (2):
MIPS: ptrace: Expose FIR register through FP regset
MIPS: Fix ptrace(2) PTRACE_PEEKUSR and PTRACE_POKEUSR accesses to o32 FGRs
Madhavan Srinivasan (1):
powerpc/perf: Prevent kernel address leak to userspace via BHRB buffer
Marc Zyngier (1):
arm64: Relax ARM_SMCCC_ARCH_WORKAROUND_1 discovery
Mark Lord (1):
powerpc/bpf/jit: Fix 32-bit JIT for seccomp_data access
Mark Salter (1):
irqchip/gic-v3: Change pr_debug message to pr_devel
Martin Blumenstingl (2):
net: stmmac: dwmac-meson8b: fix setting the RGMII TX clock on Meson8b
net: stmmac: dwmac-meson8b: propagate rate changes to the parent clock
Masami Hiramatsu (3):
selftests: ftrace: Add probe event argument syntax testcase
selftests: ftrace: Add a testcase for string type with kprobe_event
selftests: ftrace: Add a testcase for probepoint
Mathias Kresin (1):
MIPS: ath79: Fix AR724X_PLL_REG_PCIE_CONFIG offset
Mathieu Malaterre (1):
powerpc: Add missing prototype for arch_irq_work_raise()
Matt Redfearn (1):
MIPS: TXx9: use IS_BUILTIN() for CONFIG_LEDS_CLASS
Matthias Schiffer (3):
batman-adv: fix packet checksum in receive path
batman-adv: invalidate checksum on fragment reassembly
batman-adv: fix header size check in batadv_dbg_arp()
Maurizio Lombardi (1):
cdrom: do not call check_disk_change() inside cdrom_open()
Max Gurtovoy (1):
nvmet: fix PSDT field check in command format
Mel Gorman (1):
mm: pin address_space before dereferencing it while isolating an LRU page
Michael Bringmann (2):
powerpc/numa: Use ibm,max-associativity-domains to discover possible nodes powerpc/numa: Ensure nodes initialized for hotplug
Michael Chan (1):
bnxt_en: Check valid VNIC ID in bnxt_hwrm_vnic_set_tpa().
Michael Ellerman (4):
selftests/powerpc: Skip the subpage_prot tests if the syscall is unavailable powerpc/mpic: Check if cpu_possible() in mpic_physmask() powerpc/perf: Fix kernel address leak via sampling registers
selftests: Print the test we're running to /dev/kmsg
Michael J. Ruhl (1):
IB/hfi1: Use after free race condition in send context error path
Michael Kelley (1):
cpumask: Make for_each_cpu_wrap() available on UP as well
Michael Schmitz (1):
zorro: Set up z->dev.dma_mask for the DMA API
Naftali Goldstein (1):
iwlwifi: mvm: always init rs with 20mhz bandwidth rates
Naresh Kamboju (1):
selftests: pstore: Adding config fragment CONFIG_PSTORE_RAM=m
NeilBrown (2):
MIPS: c-r4k: Fix data corruption related to cache coherence
NFSv4: always set NFS_LOCK_LOST when a lock is lost.
Ngai-Mint Kwan (1):
fm10k: fix "failed to kill vid" message for VF
Nicolas Pitre (1):
kbuild: make scripts/adjust_autoksyms.sh robust against timestamp races
Niklas Cassel (2):
net: stmmac: ensure that the device has released ownership before reading data
net: stmmac: ensure that the MSS desc is the last desc to set the own bit
Nikolay Borisov (2):
btrfs: Fix out of bounds access in btrfs_search_slot
btrfs: Fix possible softlock on single core machines
Nitin Gupta (1):
sparc64: update pmdp_invalidate() to return old pmd value
Paolo Bonzini (1):
kvm: x86: fix KVM_XEN_HVM_CONFIG ioctl
Parav Pandit (2):
IB/core: Fix possible crash to access NULL netdev IB/core: Honor port_num while resolving GID for IB link layer
Paul Mackerras (1):
KVM: PPC: Book3S HV: Fix VRMA initialization with 2MB or 1GB memory backing
Pawel Dembicki (1):
net: qmi_wwan: add BroadMobi BM806U 2020:2033
Peter Malone (1):
fbdev: Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper().
Peter Xu (1):
iommu/vt-d: Use domain instead of cache fetching
Peter Zijlstra (2):
x86/tsc: Allow TSC calibration without PIT
perf/core: Fix perf_output_read_group()
Petr Vorel (1):
ima: Fallback to the builtin hash algorithm
Philipp Puschmann (1):
arm: dts: socfpga: fix GIC PPI warning
Pierre-Yves Kerbrat (1):
e1000e: allocate ring descriptors with dma_zalloc_coherent
Prashant Bhole (1):
selftests/net: fixes psock_fanout eBPF test case
Pratyush Anand (1):
arm64: fix unwind_frame() for filtered out fn for function graph tracing
Qi Hou (2):
ARM: OMAP2+: timer: fix a kmemleak caused in omap_get_timer_dt
dmaengine: pl330: fix a race condition in case of threaded irqs
Qu Wenruo (1):
btrfs: tests/qgroup: Fix wrong tree backref level
Rafael J. Wysocki (1):
PCI: Restore config space on runtime resume despite being unbound
Ramon Fried (1):
qrtr: add MODULE_ALIAS macro to smd
Randy Dunlap (2):
integrity/security: fix digsig.c build error with header file
kdb: make "mdr" command repeat
Rich Felker (1):
sh: fix debug trap failure to process signals before return to user
Richard Guy Briggs (1):
audit: return on memory error to avoid null pointer dereference
Richard Haines (1):
netlabel: If PF_INET6, check sk_buff ip header version
Roger Pau Monne (1):
xen/pirq: fix error path cleanup when binding MSIs
Ross Lagerwall (2):
xen-netfront: Fix race between device setup and open xen/grant-table: Use put_page instead of free_page
Sabrina Dubroca (1):
ipv4: lock mtu in fnhe when received PMTU < net.ipv4.route.min_pmtu
Samuel Neves (1):
x86/topology: Update the 'cpu cores' field in /proc/cpuinfo correctly across CPU hotplug operations
Sara Sharon (4):
iwlwifi: mvm: fix security bug in PN checking
mac80211: fix a possible leak of station stats
mac80211: fix calling sleeping function in atomic context
iwlwifi: mvm: fix TX of CCMP 256
Sean Christopherson (1):
KVM: VMX: raise internal error for exception during invalid protected mode state
Sebastian Ott (4):
s390/cio: fix ccw_device_start_timeout API s390/cio: fix return code after missing interrupt s390/cio: clear timer when terminating driver I/O
kvm: fix warning for CONFIG_HAVE_KVM_EVENTFD builds
Seunghun Han (1):
ACPICA: acpi: acpica: fix acpi operand cache leak in nseval.c
Shiraz Saleem (1):
i40iw: Zero-out consumer key on allocate stag for FMR
Shunyong Yang (1):
cpufreq: CPPC: Initialize shared perf capabilities of CPUs
Song Liu (1):
perf/cgroup: Fix child event counting bug
Srinath Mannam (1):
mmc: sdhci-iproc: remove hard coded mmc cap 1.8v
Srinivas Kandagatla (1):
dmaengine: qcom: bam_dma: get num-channels and num-ees from dt
Stefan Wahren (2):
brcmfmac: Fix check for ISO3166 code
ARM: dts: bcm283x: Fix probing of bcm2835-i2s
Stefano Brivio (2):
vti4: Don't count header length twice on tunnel setup
vti4: Don't override MTU passed on link creation via IFLA_MTU
Stephane Eranian (1):
perf/x86/intel: Fix linear IP of PEBS real_ip on Haswell and later CPUs
Stephen Boyd (1):
irqchip/gic-v3: Ignore disabled ITS nodes
Steven Rostedt (VMware) (2):
tools lib traceevent: Simplify pointer print logic and fix %pF tools lib traceevent: Fix get_field_str() for dynamic strings
Subash Abhinov Kasiviswanathan (2):
netfilter: ipv6: nf_defrag: Pass on packets to stack per RFC2460
netfilter: ipv6: nf_defrag: Kill frag queue on RFC2460 failure
Sudip Mukherjee (1):
libata: blacklist Micron 500IT SSD with MU01 firmware
Sven Eckelmann (5):
batman-adv: Ignore invalid batadv_iv_gw during netlink send
batman-adv: Ignore invalid batadv_v_gw during netlink send
batman-adv: Fix netlink dumping of BLA claims
batman-adv: Fix netlink dumping of BLA backbones
batman-adv: Fix skbuff rcsum on packet reroute
Takashi Iwai (2):
ALSA: hda - Use IS_REACHABLE() for dependency on input
ALSA: vmaster: Propagate slave error
Takeshi Kihara (1):
pinctrl: sh-pfc: r8a7796: Fix MOD_SEL register pin assignment for SSI pins group
Tang Junhui (4):
bcache: fix for allocator and register thread race
bcache: fix for data collapse after re-attaching an attached device
bcache: return attach error when no cache set exist
bcache: fix kcrashes with fio in RAID5 backend dev
Tejun Heo (2):
libata: Blacklist some Sandisk SSDs for NCQ
rcu: Call touch_nmi_watchdog() while printing stall warnings
Thomas Falcon (1):
ibmvnic: Free RX socket buffer in case of adapter error
Thomas Hellstrom (1):
drm/vmwgfx: Fix 32-bit VMW_PORT_HB_[IN|OUT] macros
Thomas Richter (2):
perf record: Fix failed memory allocation for get_cpuid_str perf stat: Fix core dump when flag T is used
Thomas Vincent-Cross (1):
PCI: Add function 1 DMA alias quirk for Marvell 88SE9220
Tom Abraham (1):
swap: divide-by-zero when zero length swap file on ssd
Tony Lindgren (2):
ARM: OMAP3: Fix prm wake interrupt for resume
ARM: OMAP: Fix dmtimer init for omap1
Toshiaki Makita (2):
net: Fix vlan untag for bridge and vlan_dev with reorder_hdr off
net: Fix untag for vlan packets without ethernet header
Ulf Magnusson (4):
kconfig: Don't leak main menus during parsing
kconfig: Fix automatic menu creation mem leak
kconfig: Fix expr_free() E_NOT leak
ARC: Fix malformed ARC_EMUL_UNALIGNED default
Vinayak Menon (1):
mm/kmemleak.c: wait for scan completion before disabling free
Viresh Kumar (1):
cpufreq: Reorder cpufreq_online() error code path
Vitaly Kuznetsov (1):
KVM: lapic: stop advertising DIRECTED_EOI when in-kernel IOAPIC is in use
Wei Huang (1):
KVM: x86: Update cpuid properly when CR4.OSXAVE or CR4.PKE is changed
Wei Yongjun (1):
ipmi/powernv: Fix error return code in ipmi_powernv_probe()
Will Deacon (4):
arm64: spinlock: Fix theoretical trylock() A-B-A with LSE atomics locking/qspinlock: Ensure node->count is updated before initialising node
fs: dcache: Avoid livelock between d_alloc_parallel and __d_add
fs: dcache: Use READ_ONCE when accessing i_dir_seq
Wolfram Sang (1):
drm/exynos: fix comparison to bitshift when dealing with a mask
Xin Long (2):
ip6_tunnel: fix IFLA_MTU ignored on NEWLINK
sit: fix IFLA_MTU ignored on NEWLINK
Yang Shi (1):
mm: thp: use down_read_trylock() in khugepaged to avoid long block
Yelena Krivosheev (1):
net: mvneta: fix enable of all initialized RXQs
Yisheng Xie (4):
mm/mempolicy: fix the check of nodemask from user mm/mempolicy: add nodes_empty check in SYSC_migrate_pages mm/mempolicy.c: avoid use uninitialized preferred_node perf top: Fix top.call-graph config option reading
Yonghong Song (1):
bpf: fix selftests/bpf test_kmod.sh failure when CONFIG_BPF_JIT_ALWAYS_ON=y
Yoshihiro Shimoda (2):
dmaengine: rcar-dmac: fix max_chunk_size for R-Car Gen3
dmaengine: rcar-dmac: Check the done lists in rcar_dmac_chan_get_residue()
Yufen Yu (2):
md raid10: fix NULL deference in handle_write_completed() md/raid1: fix NULL pointer dereference
[email protected] (1):
hwrng: stm32 - add reset during probe
mulhern (1):
dm thin: fix documentation relative to low water mark threshold
piaojun (3):
ocfs2: return -EROFS to mount.ocfs2 if inode block is invalid ocfs2/acl: use 'ip_xattr_sem' to protect getting extended attribute
ocfs2: return error when we attempt to access a dirty bh in jbd2
shidao.ytt (1):
mm/fadvise: discard partial page if endbyte is also EOF
weiyongjun (A) (1):
mac80211_hwsim: fix possible memory leak in hwsim_new_radio_nl()
zhongjiang (1):
kernel/signal.c: avoid undefined behaviour in kill_something_info
Ørjan Eide (1):
drm/rockchip: Respect page offset for PRIME mmap calls
Greg KH
maintainerDocumentation/device-mapper/thin-provisioning.txt +5 -3
@@ -112,9 +112,11 @@ $low_water_mark is expressed in blocks of size $data_block_size. If free space on the data device drops below this level then a dm event will be triggered which a userspace daemon should catch allowing it to extend the pool device. Only one such event will be sent. -Resuming a device with a new table itself triggers an event so the -userspace daemon can use this to detect a situation where a new table -already exceeds the threshold. + +No special event is triggered if a just resumed device's free space is below +the low water mark. However, resuming a device always triggers an +event; a userspace daemon should verify that free space exceeds the low +water mark when handling this event. A low water mark for the metadata device is maintained in the kernel and will trigger a dm event if free space on the metadata device drops below
Documentation/devicetree/bindings/dma/mv-xor-v2.txt +5 -1
@@ -11,7 +11,11 @@ Required properties: interrupts. Optional properties: -- clocks: Optional reference to the clock used by the XOR engine. +- clocks: Optional reference to the clocks used by the XOR engine. +- clock-names: mandatory if there is a second clock, in this case the + name must be "core" for the first clock and "reg" for the second + one + Example:
Makefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 103 +SUBLEVEL = 104 EXTRAVERSION = NAME = Roaring Lionus
arch/alpha/include/asm/xchg.h +22 -8
@@ -11,6 +11,10 @@* Atomic exchange. * Since it can be used to implement critical sections * it must clobber "memory" (also for interrupts in UP). +* +* The leading and the trailing memory barriers guarantee that these +* operations are fully ordered. +* */ static inline unsigned long
@@ -18,6 +22,7 @@ ____xchg(_u8, volatile char *m, unsigned long val) {unsigned long ret, tmp, addr64; +smp_mb (); __asm__ __volatile__(" andnot %4,7,%3\n" " insbl %1,%4,%1\n"
@@ -42,6 +47,7 @@ ____xchg(_u16, volatile short *m, unsigned long val) {unsigned long ret, tmp, addr64; +smp_mb (); __asm__ __volatile__(" andnot %4,7,%3\n" " inswl %1,%4,%1\n"
@@ -66,6 +72,7 @@ ____xchg(_u32, volatile int *m, unsigned long val) {unsigned long dummy; +smp_mb (); __asm__ __volatile__("1: ldl_l %0,%4\n" " bis $31,%3,%1\n"
@@ -86,6 +93,7 @@ ____xchg(_u64, volatile long *m, unsigned long val) {unsigned long dummy; +smp_mb (); __asm__ __volatile__("1: ldq_l %0,%4\n" " bis $31,%3,%1\n"
@@ -127,10 +135,12 @@ ____xchg(, volatile void *ptr, unsigned long x, int size)* store NEW in MEM. Return the initial value in MEM. Success is * indicated by comparing RETURN with OLD. * -* The memory barrier should be placed in SMP only when we actually -* make the change. If we don't change anything (so if the returned -* prev is equal to old) then we aren't acquiring anything new and -* we don't need any memory barrier as far I can tell. +* The leading and the trailing memory barriers guarantee that these +* operations are fully ordered. +* +* The trailing memory barrier is placed in SMP unconditionally, in +* order to guarantee that dependency ordering is preserved when a +* dependency is headed by an unsuccessful operation. */ static inline unsigned long
@@ -138,6 +148,7 @@ ____cmpxchg(_u8, volatile char *m, unsigned char old, unsigned char new) {unsigned long prev, tmp, cmp, addr64; +smp_mb (); __asm__ __volatile__(" andnot %5,7,%4\n" " insbl %1,%5,%1\n"
@@ -149,8 +160,8 @@ ____cmpxchg(_u8, volatile char *m, unsigned char old, unsigned char new)" or %1,%2,%2\n" " stq_c %2,0(%4)\n" " beq %2,3f\n" - __ASM__MB"2:\n" + __ASM__MB".subsection 2\n" "3: br 1b\n" ".previous"
@@ -165,6 +176,7 @@ ____cmpxchg(_u16, volatile short *m, unsigned short old, unsigned short new) {unsigned long prev, tmp, cmp, addr64; +smp_mb (); __asm__ __volatile__(" andnot %5,7,%4\n" " inswl %1,%5,%1\n"
@@ -176,8 +188,8 @@ ____cmpxchg(_u16, volatile short *m, unsigned short old, unsigned short new)" or %1,%2,%2\n" " stq_c %2,0(%4)\n" " beq %2,3f\n" - __ASM__MB"2:\n" + __ASM__MB".subsection 2\n" "3: br 1b\n" ".previous"
@@ -192,6 +204,7 @@ ____cmpxchg(_u32, volatile int *m, int old, int new) {unsigned long prev, cmp; +smp_mb (); __asm__ __volatile__("1: ldl_l %0,%5\n" " cmpeq %0,%3,%1\n"
@@ -199,8 +212,8 @@ ____cmpxchg(_u32, volatile int *m, int old, int new)" mov %4,%1\n" " stl_c %1,%2\n" " beq %1,3f\n" - __ASM__MB"2:\n" + __ASM__MB".subsection 2\n" "3: br 1b\n" ".previous"
@@ -215,6 +228,7 @@ ____cmpxchg(_u64, volatile long *m, unsigned long old, unsigned long new) {unsigned long prev, cmp; +smp_mb (); __asm__ __volatile__("1: ldq_l %0,%5\n" " cmpeq %0,%3,%1\n"
@@ -222,8 +236,8 @@ ____cmpxchg(_u64, volatile long *m, unsigned long old, unsigned long new)" mov %4,%1\n" " stq_c %1,%2\n" " beq %1,3f\n" - __ASM__MB"2:\n" + __ASM__MB".subsection 2\n" "3: br 1b\n" ".previous"
arch/arc/Kconfig +0 -1
@@ -495,7 +495,6 @@ config ARC_CURR_IN_REG config ARC_EMUL_UNALIGNED bool "Emulate unaligned memory access (userspace only)" - default N select SYSCTL_ARCH_UNALIGN_NO_WARN select SYSCTL_ARCH_UNALIGN_ALLOW depends on ISA_ARCOMPACT
arch/arm/boot/dts/bcm283x.dtsi +2 -2
@@ -146,8 +146,8 @@ i2s: i2s@7e203000 { compatible = "brcm,bcm2835-i2s"; - reg = <0x7e203000 0x20>, - <0x7e101098 0x02>; + reg = <0x7e203000 0x24>; + clocks = <&clocks BCM2835_CLOCK_PCM>; dmas = <&dma 2>, <&dma 3>;
arch/arm/boot/dts/bcm958625hr.dts +1 -1
@@ -49,7 +49,7 @@ memory { device_type = "memory"; - reg = <0x60000000 0x80000000>; + reg = <0x60000000 0x20000000>; }; gpio-restart {
arch/arm/boot/dts/imx7d-cl-som-imx7.dts +26 -26
63 lines not on this page · raw message
arch/arm/boot/dts/r8a7791-porter.dts +1 -1
@@ -428,7 +428,7 @@ "dclkin.0", "dclkin.1"; ports { - port@1 { + port@0 { endpoint { remote-endpoint = <&adv7511_in>; };
arch/arm/boot/dts/socfpga.dtsi +1 -1
@@ -759,7 +759,7 @@ timer@fffec600 { compatible = "arm,cortex-a9-twd-timer"; reg = <0xfffec600 0x100>; - interrupts = <1 13 0xf04>; + interrupts = <1 13 0xf01>; clocks = <&mpu_periph_clk>; };
arch/arm/include/asm/vdso.h +0 -2
@@ -11,8 +11,6 @@ struct mm_struct;void arm_install_vdso (struct mm_struct *mm,unsigned long addr); -extern char vdso_start, vdso_end; -extern unsigned int vdso_total_pages;#else /* CONFIG_VDSO */
arch/arm/kernel/vdso.c +7 -5
@@ -39,6 +39,8 @@static struct page **vdso_text_pagelist; +extern char vdso_start[], vdso_end[]; +/* Total number of pages needed for the data and text portions of the VDSO. */ unsigned int vdso_total_pages__ro_after_init ;
@@ -179,13 +181,13 @@ static int __init vdso_init(void)unsigned int text_pages;int i; -if (memcmp (&vdso_start,"\177ELF" ,4 )) { +if (memcmp (vdso_start,"\177ELF" ,4 )) {pr_err ("VDSO is not a valid ELF object!\n" );return -ENOEXEC ; } - text_pages = (&vdso_end - &vdso_start) >>PAGE_SHIFT ; -pr_debug ("vdso: %i text pages at base %p\n" , text_pages, &vdso_start); + text_pages = (vdso_end - vdso_start) >>PAGE_SHIFT ; +pr_debug ("vdso: %i text pages at base %p\n" , text_pages, vdso_start);/* Allocate the VDSO text pagelist */ vdso_text_pagelist = kcalloc(text_pages, sizeof(struct page *),
@@ -200,7 +202,7 @@ static int __init vdso_init(void)for (i =0 ; i < text_pages; i++) {struct page *page; - page =virt_to_page (&vdso_start + i *PAGE_SIZE ); + page =virt_to_page (vdso_start + i *PAGE_SIZE ); vdso_text_pagelist[i] = page; }
@@ -211,7 +213,7 @@ static int __init vdso_init(void) cntvct_ok =cntvct_functional (); -patch_vdso (&vdso_start); +patch_vdso (vdso_start);return 0 ; }
arch/arm/mach-omap1/clock.c +3 -3
@@ -1031,17 +1031,17 @@ static int clk_debugfs_register_one(struct clk *c)return -ENOMEM ; c->dent = d; - d =debugfs_create_u8 ("usecount" ,S_IRUGO , c->dent, (u8 *)&c->usecount); + d =debugfs_create_u8 ("usecount" ,S_IRUGO , c->dent, &c->usecount);if (!d) { err = -ENOMEM ; goto err_out; } - d =debugfs_create_u32 ("rate" ,S_IRUGO , c->dent, (u32 *)&c->rate); + d =debugfs_create_ulong ("rate" ,S_IRUGO , c->dent, &c->rate);if (!d) { err = -ENOMEM ; goto err_out; } - d =debugfs_create_x32 ("flags" ,S_IRUGO , c->dent, (u32 *)&c->flags); + d =debugfs_create_x8 ("flags" ,S_IRUGO , c->dent, &c->flags);if (!d) { err = -ENOMEM ; goto err_out;
arch/arm/mach-omap2/pm.c +2 -2
@@ -225,7 +225,7 @@ static void omap_pm_end(void)cpu_idle_poll_ctrl (false); } -static void omap_pm_finish (void ) +static void omap_pm_wake (void ) {if (cpu_is_omap34xx ())omap_prcm_irq_complete ();
@@ -235,7 +235,7 @@ static const struct platform_suspend_ops omap_pm_ops = { .begin = omap_pm_begin, .end = omap_pm_end, .enter = omap_pm_enter, - .finish = omap_pm_finish, + .wake = omap_pm_wake, .valid = suspend_valid_only_mem, };
arch/arm/mach-omap2/timer.c +11 -8
@@ -136,12 +136,6 @@ static struct clock_event_device clockevent_gpt = { .tick_resume = omap2_gp_timer_shutdown, }; -static struct property device_disabled = { - .name ="status" , - .length =sizeof ("disabled" ), - .value ="disabled" , -}; -static const struct of_device_id omap_timer_match[]__initconst = { { .compatible ="ti,omap2420-timer" , }, { .compatible ="ti,omap3430-timer" , },
@@ -183,8 +177,17 @@ static struct device_node * __init omap_get_timer_dt(const struct of_device_id * of_get_property(np, "ti,timer-secure", NULL))) continue; -if (!of_device_is_compatible (np,"ti,omap-counter32k" )) -of_add_property (np, &device_disabled); +if (!of_device_is_compatible (np,"ti,omap-counter32k" )) { +struct property *prop; + + prop =kzalloc (sizeof (*prop),GFP_KERNEL ); +if (!prop) +return NULL ; + prop->name ="status" ; + prop->value ="disabled" ; + prop->length =strlen (prop->value); +of_add_property (np, prop); + }return np; }
arch/arm/mach-orion5x/Kconfig +0 -3
@@ -57,7 +57,6 @@ config MACH_KUROBOX_PRO config MACH_DNS323 bool "D-Link DNS-323" - select GENERIC_NET_UTILS select I2C_BOARDINFO if I2C help Say 'Y' here if you want your kernel to support the
@@ -65,7 +64,6 @@ config MACH_DNS323 config MACH_TS209 bool "QNAP TS-109/TS-209" - select GENERIC_NET_UTILS help Say 'Y' here if you want your kernel to support the QNAP TS-109/TS-209 platform.
@@ -107,7 +105,6 @@ config MACH_LINKSTATION_LS_HGL config MACH_TS409 bool "QNAP TS-409" - select GENERIC_NET_UTILS help Say 'Y' here if you want your kernel to support the QNAP TS-409 platform.
arch/arm/mach-orion5x/dns323-setup.c +50 -3
68 lines not on this page · raw message
arch/arm/mach-orion5x/tsx09-common.c +45 -4
69 lines not on this page · raw message
arch/arm/plat-omap/dmtimer.c +2 -5
@@ -890,11 +890,8 @@ static int omap_dm_timer_probe(struct platform_device *pdev) timer->irq = irq->start; timer->pdev = pdev; -/* Skip pm_runtime_enable for OMAP1 */ -if (!(timer->capability &OMAP_TIMER_NEEDS_RESET )) { -pm_runtime_enable (dev); -pm_runtime_irq_safe (dev); - } +pm_runtime_enable (dev); +pm_runtime_irq_safe (dev);if (!timer->reserved) { ret =pm_runtime_get_sync (dev);
arch/arm64/boot/dts/qcom/msm8996.dtsi +2 -2
@@ -326,8 +326,8 @@ blsp2_spi5: spi@075ba000{ compatible = "qcom,spi-qup-v2.2.1"; reg = <0x075ba000 0x600>; - interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&gcc GCC_BLSP2_QUP5_SPI_APPS_CLK>, + interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&gcc GCC_BLSP2_QUP6_SPI_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; clock-names = "core", "iface"; pinctrl-names = "default", "sleep";
arch/arm64/include/asm/spinlock.h +2 -2
@@ -141,8 +141,8 @@ static inline int arch_spin_trylock(arch_spinlock_t *lock)" cbnz %w1, 1f\n" " add %w1, %w0, %3\n" " casa %w0, %w1, %2\n" -" and %w1, %w1, #0xffff\n" -" eor %w1, %w1, %w0, lsr #16\n" +" sub %w1, %w1, %3\n" +" eor %w1, %w1, %w0\n" "1:") : "=&r" (lockval), "=&r" (tmp), "+Q" (*lock) : "I" (1 << TICKET_SHIFT)
arch/arm64/include/asm/stacktrace.h +1 -1
@@ -23,7 +23,7 @@ struct stackframe {unsigned long sp;unsigned long pc;#ifdef CONFIG_FUNCTION_GRAPH_TRACER -unsigned int graph; +int graph;#endif };
arch/arm64/kernel/cpu_errata.c +2 -2
@@ -160,7 +160,7 @@ static int enable_smccc_arch_workaround_1(void *data)case PSCI_CONDUIT_HVC :arm_smccc_1_1_hvc (ARM_SMCCC_ARCH_FEATURES_FUNC_ID ,ARM_SMCCC_ARCH_WORKAROUND_1 , &res); -if (res.a0) +if ((int )res.a0 <0 )return 0 ; cb = call_hvc_arch_workaround_1; smccc_start = __smccc_workaround_1_hvc_start;
@@ -170,7 +170,7 @@ static int enable_smccc_arch_workaround_1(void *data)case PSCI_CONDUIT_SMC :arm_smccc_1_1_smc (ARM_SMCCC_ARCH_FEATURES_FUNC_ID ,ARM_SMCCC_ARCH_WORKAROUND_1 , &res); -if (res.a0) +if ((int )res.a0 <0 )return 0 ; cb = call_smc_arch_workaround_1; smccc_start = __smccc_workaround_1_smc_start;
arch/arm64/kernel/stacktrace.c +5 -0
@@ -72,6 +72,11 @@ int notrace unwind_frame(struct task_struct *tsk, struct stackframe *frame)#ifdef CONFIG_FUNCTION_GRAPH_TRACER if (tsk->ret_stack && (frame->pc == (unsigned long )return_to_handler)) { +if (WARN_ON_ONCE (frame->graph ==-1 )) +return -EINVAL ; +if (frame->graph <-1 ) + frame->graph +=FTRACE_NOTRACE_DEPTH ; +/* * This is a case where function graph tracer has * modified a return address (LR) in a stack frame
arch/arm64/kernel/time.c +1 -1
@@ -53,7 +53,7 @@ unsigned long profile_pc(struct pt_regs *regs) frame.sp = regs->sp; frame.pc = regs->pc;#ifdef CONFIG_FUNCTION_GRAPH_TRACER - frame.graph =-1 ;/* no task info */ + frame.graph = current->curr_ret_stack;#endif do { int ret = unwind_frame(NULL, &frame);
arch/ia64/kernel/err_inject.c +1 -1
@@ -142,7 +142,7 @@ store_virtual_to_phys(struct device *dev, struct device_attribute *attr,u64 virt_addr=simple_strtoull (buf,NULL ,16 );int ret; - ret =get_user_pages (virt_addr,1 ,FOLL_WRITE ,NULL ,NULL ); + ret =get_user_pages_fast (virt_addr,1 ,FOLL_WRITE ,NULL );if (ret<=0 ) {#ifdef ERR_INJ_DEBUG printk ("Virtual address %lx is not existing.\n" ,virt_addr);
arch/m68k/coldfire/device.c +10 -2
@@ -135,7 +135,11 @@ static struct platform_device mcf_fec0 = { .id = 0, .num_resources = ARRAY_SIZE(mcf_fec0_resources), .resource = mcf_fec0_resources, - .dev.platform_data = FEC_PDATA, + .dev = { + .dma_mask = &mcf_fec0.dev.coherent_dma_mask, + .coherent_dma_mask = DMA_BIT_MASK(32), + .platform_data = FEC_PDATA, + } };#ifdef MCFFEC_BASE1
@@ -167,7 +171,11 @@ static struct platform_device mcf_fec1 = { .id = 1, .num_resources = ARRAY_SIZE(mcf_fec1_resources), .resource = mcf_fec1_resources, - .dev.platform_data = FEC_PDATA, + .dev = { + .dma_mask = &mcf_fec1.dev.coherent_dma_mask, + .coherent_dma_mask = DMA_BIT_MASK(32), + .platform_data = FEC_PDATA, + } };#endif /* MCFFEC_BASE1 */ #endif /* CONFIG_FEC */
arch/mips/cavium-octeon/octeon-irq.c +5 -5
@@ -2271,7 +2271,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node, parent_irq =irq_of_parse_and_map (ciu_node,0 );if (!parent_irq) { -pr_err ("ERROR: Couldn't acquire parent_irq for %s\n." , +pr_err ("ERROR: Couldn't acquire parent_irq for %s\n" , ciu_node->name);return -EINVAL ; }
@@ -2283,7 +2283,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node, addr =of_get_address (ciu_node,0 ,NULL ,NULL );if (!addr) { -pr_err ("ERROR: Couldn't acquire reg(0) %s\n." , ciu_node->name); +pr_err ("ERROR: Couldn't acquire reg(0) %s\n" , ciu_node->name);return -EINVAL ; } host_data->raw_reg = (u64)phys_to_virt(
@@ -2291,7 +2291,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node, addr =of_get_address (ciu_node,1 ,NULL ,NULL );if (!addr) { -pr_err ("ERROR: Couldn't acquire reg(1) %s\n." , ciu_node->name); +pr_err ("ERROR: Couldn't acquire reg(1) %s\n" , ciu_node->name);return -EINVAL ; } host_data->en_reg = (u64)phys_to_virt(
@@ -2299,7 +2299,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node, r =of_property_read_u32 (ciu_node,"cavium,max-bits" , &val);if (r) { -pr_err ("ERROR: Couldn't read cavium,max-bits from %s\n." , +pr_err ("ERROR: Couldn't read cavium,max-bits from %s\n" , ciu_node->name);return r; }
@@ -2309,7 +2309,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node, &octeon_irq_domain_cib_ops, host_data);if (!cib_domain) { -pr_err ("ERROR: Couldn't irq_domain_add_linear()\n." ); +pr_err ("ERROR: Couldn't irq_domain_add_linear()\n" );return -ENOMEM ; }
arch/mips/include/asm/mach-ath79/ar71xx_regs.h +1 -1
@@ -167,7 +167,7 @@#define AR71XX_AHB_DIV_MASK 0x7#define AR724X_PLL_REG_CPU_CONFIG 0x00 -#define AR724X_PLL_REG_PCIE_CONFIG 0x18 +#define AR724X_PLL_REG_PCIE_CONFIG 0x10#define AR724X_PLL_FB_SHIFT 0#define AR724X_PLL_FB_MASK 0x3ff
arch/mips/include/asm/machine.h +1 -1
@@ -52,7 +52,7 @@ mips_machine_is_compatible(const struct mips_machine *mach, const void *fdt)if (!mach->matches)return NULL ; -for (match = mach->matches; match->compatible; match++) { +for (match = mach->matches; match->compatible[0 ]; match++) {if (fdt_node_check_compatible (fdt,0 , match->compatible) ==0 )return match; }
arch/mips/kernel/ptrace.c +18 -4
@@ -483,7 +483,7 @@ static int fpr_get_msa(struct task_struct *target,/* * Copy the floating-point context to the supplied NT_PRFPREG buffer. * Choose the appropriate helper for general registers, and then copy -* the FCSR register separately. +* the FCSR and FIR registers separately. */ static int fpr_get(struct task_struct *target, const struct user_regset *regset,
@@ -491,6 +491,7 @@ static int fpr_get(struct task_struct *target, void *kbuf, void __user *ubuf) {const int fcr31_pos =NUM_FPU_REGS *sizeof (elf_fpreg_t); +const int fir_pos = fcr31_pos +sizeof (u32);int err;if (sizeof (target->thread.fpu.fpr[0 ]) ==sizeof (elf_fpreg_t))
@@ -503,6 +504,12 @@ static int fpr_get(struct task_struct *target, err =user_regset_copyout (&pos, &count, &kbuf, &ubuf, &target->thread.fpu.fcr31, fcr31_pos, fcr31_pos +sizeof (u32)); +if (err) +return err; + + err =user_regset_copyout (&pos, &count, &kbuf, &ubuf, + &boot_cpu_data.fpu_id, + fir_pos, fir_pos +sizeof (u32));return err; }
@@ -551,7 +558,8 @@ static int fpr_set_msa(struct task_struct *target,/* * Copy the supplied NT_PRFPREG buffer to the floating-point context. * Choose the appropriate helper for general registers, and then copy -* the FCSR register separately. +* the FCSR register separately. Ignore the incoming FIR register +* contents though, as the register is read-only. * * We optimize for the case where `count % sizeof(elf_fpreg_t) == 0', * which is supposed to have been guaranteed by the kernel before
@@ -565,6 +573,7 @@ static int fpr_set(struct task_struct *target, const void *kbuf, const void __user *ubuf) { const int fcr31_pos = NUM_FPU_REGS * sizeof(elf_fpreg_t); +const int fir_pos = fcr31_pos +sizeof (u32);u32 fcr31;int err;
@@ -592,6 +601,11 @@ static int fpr_set(struct task_struct *target,ptrace_setfcr31 (target, fcr31); } +if (count >0 ) + err =user_regset_copyin_ignore (&pos, &count, &kbuf, &ubuf, + fir_pos, + fir_pos +sizeof (u32)); +return err; }
@@ -813,7 +827,7 @@ long arch_ptrace(struct task_struct *child, long request, fregs =get_fpu_regs (child);#ifdef CONFIG_32BIT -if (test_thread_flag (TIF_32BIT_FPREGS )) { +if (test_tsk_thread_flag (child,TIF_32BIT_FPREGS )) {/* * The odd registers are actually the high * order bits of the values stored in the even
@@ -902,7 +916,7 @@ long arch_ptrace(struct task_struct *child, long request,init_fp_ctx (child);#ifdef CONFIG_32BIT -if (test_thread_flag (TIF_32BIT_FPREGS )) { +if (test_tsk_thread_flag (child,TIF_32BIT_FPREGS )) {/* * The odd registers are actually the high * order bits of the values stored in the even
arch/mips/kernel/ptrace32.c +2 -2
@@ -97,7 +97,7 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,break ; } fregs =get_fpu_regs (child); -if (test_thread_flag (TIF_32BIT_FPREGS )) { +if (test_tsk_thread_flag (child,TIF_32BIT_FPREGS )) {/* * The odd registers are actually the high * order bits of the values stored in the even
@@ -204,7 +204,7 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request, sizeof(child->thread.fpu)); child->thread.fpu.fcr31 =0 ; } -if (test_thread_flag (TIF_32BIT_FPREGS )) { +if (test_tsk_thread_flag (child,TIF_32BIT_FPREGS )) {/* * The odd registers are actually the high * order bits of the values stored in the even
arch/mips/kvm/mips.c +1 -1
@@ -42,7 +42,7 @@ struct kvm_stats_debugfs_item debugfs_entries[] = { { "cache", VCPU_STAT(cache_exits), KVM_STAT_VCPU }, { "signal", VCPU_STAT(signal_exits), KVM_STAT_VCPU }, { "interrupt", VCPU_STAT(int_exits), KVM_STAT_VCPU }, - { "cop_unsuable", VCPU_STAT(cop_unusable_exits), KVM_STAT_VCPU }, + { "cop_unusable", VCPU_STAT(cop_unusable_exits), KVM_STAT_VCPU }, { "tlbmod", VCPU_STAT(tlbmod_exits), KVM_STAT_VCPU }, { "tlbmiss_ld", VCPU_STAT(tlbmiss_ld_exits), KVM_STAT_VCPU }, { "tlbmiss_st", VCPU_STAT(tlbmiss_st_exits), KVM_STAT_VCPU },
arch/mips/mm/c-r4k.c +6 -3
@@ -851,9 +851,12 @@ static void r4k_dma_cache_wback_inv(unsigned long addr, unsigned long size)/* * Either no secondary cache or the available caches don't have the * subset property so we have to flush the primary caches -* explicitly +* explicitly. +* If we would need IPI to perform an INDEX-type operation, then +* we have to use the HIT-type alternative as IPI cannot be used +* here due to interrupts possibly being disabled. */ -if (size >= dcache_size) { +if (!r4k_op_needs_ipi (R4K_INDEX ) && size >= dcache_size) {r4k_blast_dcache (); }else {R4600_HIT_CACHEOP_WAR_IMPL ;
@@ -890,7 +893,7 @@ static void r4k_dma_cache_inv(unsigned long addr, unsigned long size)return ; } -if (size >= dcache_size) { +if (!r4k_op_needs_ipi (R4K_INDEX ) && size >= dcache_size) {r4k_blast_dcache (); }else {R4600_HIT_CACHEOP_WAR_IMPL ;
arch/mips/txx9/rbtx4939/setup.c +2 -2
@@ -186,7 +186,7 @@ static void __init rbtx4939_update_ioc_pen(void)#define RBTX4939_MAX_7SEGLEDS 8 -#if IS_ENABLED(CONFIG_LEDS_CLASS) +#if IS_BUILTIN(CONFIG_LEDS_CLASS) static u8 led_val[RBTX4939_MAX_7SEGLEDS]; struct rbtx4939_led_data { struct led_classdev cdev;
@@ -261,7 +261,7 @@ static inline void rbtx4939_led_setup(void)static void __rbtx4939_7segled_putc (unsigned int pos,unsigned char val) { -#if IS_ENABLED (CONFIG_LEDS_CLASS ) +#if IS_BUILTIN (CONFIG_LEDS_CLASS )unsigned long flags;local_irq_save (flags);/* bit7: reserved for LED class */
arch/powerpc/boot/Makefile +2 -1
@@ -92,7 +92,8 @@ $(addprefix $(obj)/,$(zlib-y)): \ libfdt := fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c libfdtheader := fdt.h libfdt.h libfdt_internal.h -$(addprefix $(obj)/,$(libfdt) libfdt-wrapper.o simpleboot.o epapr.o opal.o): \ +$(addprefix $(obj)/,$(libfdt) libfdt-wrapper.o simpleboot.o epapr.o opal.o \ + treeboot-akebono.o treeboot-currituck.o treeboot-iss4xx.o): \ $(addprefix $(obj)/,$(libfdtheader)) src-wlib-y := string.S crt0.S crtsavres.S stdio.c decompress.c main.c \
arch/powerpc/include/asm/irq_work.h +1 -0
@@ -5,5 +5,6 @@ static inline bool arch_irq_work_has_interrupt(void) {return true; } +extern void arch_irq_work_raise (void );#endif /* _ASM_POWERPC_IRQ_WORK_H */
arch/powerpc/kvm/book3s_hv.c +7 -5
@@ -3107,15 +3107,17 @@ static int kvmppc_hv_setup_htab_rma(struct kvm_vcpu *vcpu) goto up_out; psize =vma_kernel_pagesize (vma); - porder =__ilog2 (psize);up_read (¤t->mm->mmap_sem);/* We can handle 4k, 64k or 16M pages in the VRMA */ - err = -EINVAL ; -if (!(psize ==0x1000 || psize ==0x10000 || - psize ==0x1000000 )) - goto out_srcu; +if (psize >=0x1000000 ) + psize =0x1000000 ; +else if (psize >=0x10000 ) + psize =0x10000 ; +else + psize =0x1000 ; + porder =__ilog2 (psize);/* Update VRMASD field in the LPCR */ senc =slb_pgsize_encoding (psize);
arch/powerpc/mm/numa.c +68 -10
117 lines not on this page · raw message
arch/powerpc/net/bpf_jit_comp.c +3 -0
@@ -329,6 +329,9 @@ static int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4);PPC_LWZ_OFFS (r_A, r_skb, offsetof(struct sk_buff , len));break ; +case BPF_LDX |BPF_W |BPF_ABS :/* A = *((u32 *)(seccomp_data + K)); */ +PPC_LWZ_OFFS (r_A, r_skb,K ); +break ;case BPF_LDX |BPF_W |BPF_LEN :/* X = skb->len; */ PPC_LWZ_OFFS (r_X, r_skb, offsetof(struct sk_buff , len));break ;
arch/powerpc/perf/core-book3s.c +25 -0
@@ -448,6 +448,16 @@ static void power_pmu_bhrb_read(struct cpu_hw_events *cpuhw)/* invalid entry */ continue ; +/* +* BHRB rolling buffer could very much contain the kernel +* addresses at this point. Check the privileges before +* exporting it to userspace (avoid exposure of regions +* where we could have speculative execution) +*/ +if (perf_paranoid_kernel () && !capable (CAP_SYS_ADMIN ) && +is_kernel_addr (addr)) +continue ; +/* Branches are read most recent first (ie. mfbhrb 0 is * the most recent branch). * There are two types of valid entries:
@@ -1188,6 +1198,7 @@ static void power_pmu_disable(struct pmu *pmu)*/ write_mmcr0 (cpuhw, val);mb (); +isync ();/* * Disable instruction sampling if it was enabled
@@ -1196,12 +1207,26 @@ static void power_pmu_disable(struct pmu *pmu)mtspr (SPRN_MMCRA , cpuhw->mmcr[2 ] & ~MMCRA_SAMPLE_ENABLE );mb (); +isync (); } cpuhw->disabled =1 ; cpuhw->n_added =0 ;ebb_switch_out (mmcr0); + +#ifdef CONFIG_PPC64 +/* +* These are readable by userspace, may contain kernel +* addresses and are not switched by context switch, so clear +* them now to avoid leaking anything to userspace in general +* including to another process. +*/ +if (ppmu->flags &PPMU_ARCH_207S ) { +mtspr (SPRN_SDAR ,0 ); +mtspr (SPRN_SIAR ,0 ); + } +#endif }local_irq_restore (flags);
arch/powerpc/sysdev/mpic.c +1 -1
@@ -626,7 +626,7 @@ static inline u32 mpic_physmask(u32 cpumask)int i;u32 mask =0 ; -for (i =0 ; i <min (32 ,NR_CPUS ); ++i, cpumask >>=1 ) +for (i =0 ; i <min (32 ,NR_CPUS ) &&cpu_possible (i); ++i, cpumask >>=1 ) mask |= (cpumask &1 ) <<get_hard_smp_processor_id (i);return mask; }
arch/s390/kvm/vsie.c +1 -1
@@ -549,7 +549,7 @@ static int pin_blocks(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page) gpa = scb_o->itdba & ~0xffUL ;if (gpa && (scb_s->ecb &0x10U )) { -if (!(gpa & ~0x1fffU )) { +if (!(gpa & ~0x1fffUL )) { rc =set_validity_icpt (scb_s,0x0080U ); goto unpin; }
arch/sh/kernel/entry-common.S +1 -1
@@ -255,7 +255,7 @@ debug_trap: mov.l @r8, r8 jsr @r8 nop - bra __restore_all + bra ret_from_exception nop CFI_ENDPROC
arch/sparc/include/asm/atomic_64.h +5 -1
@@ -82,7 +82,11 @@ ATOMIC_OPS(xor)#define atomic64_add_negative (i, v) (atomic64_add_return(i, v) < 0)#define atomic_cmpxchg (v, o, n) (cmpxchg(&((v)->counter), (o), (n))) -#define atomic_xchg (v, new) (xchg(&((v)->counter), new)) + +static inline int atomic_xchg (atomic_t *v,int new) +{ +return xchg (&v->counter, new); +}static inline int __atomic_add_unless (atomic_t *v,int a,int u) {
arch/sparc/include/asm/pgtable_64.h +1 -1
@@ -952,7 +952,7 @@ void update_mmu_cache_pmd(struct vm_area_struct *vma, unsigned long addr, pmd_t *pmd);#define __HAVE_ARCH_PMDP_INVALIDATE -extern void pmdp_invalidate (struct vm_area_struct *vma,unsigned long address, +extern pmd_t pmdp_invalidate (struct vm_area_struct *vma,unsigned long address,pmd_t *pmdp);#define __HAVE_ARCH_PGTABLE_DEPOSIT
arch/sparc/mm/tlb.c +18 -5
@@ -219,17 +219,28 @@ void set_pmd_at(struct mm_struct *mm, unsigned long addr, } } +static inline pmd_t pmdp_establish (struct vm_area_struct *vma, +unsigned long address,pmd_t *pmdp,pmd_t pmd) +{ +pmd_t old; + +do { + old = *pmdp; + }while (cmpxchg64 (&pmdp->pmd, old.pmd, pmd.pmd) != old.pmd); + +return old; +} +/* * This routine is only called when splitting a THP */ -void pmdp_invalidate (struct vm_area_struct *vma,unsigned long address, +pmd_t pmdp_invalidate (struct vm_area_struct *vma,unsigned long address,pmd_t *pmdp) { -pmd_t entry = *pmdp; - -pmd_val (entry) &= ~_PAGE_VALID; +pmd_t old, entry; -set_pmd_at (vma->vm_mm, address, pmdp, entry); + entry =__pmd (pmd_val (*pmdp) & ~_PAGE_VALID); + old =pmdp_establish (vma, address, pmdp, entry);flush_tlb_range (vma, address, address +HPAGE_PMD_SIZE );/*
@@ -240,6 +251,8 @@ void pmdp_invalidate(struct vm_area_struct *vma, unsigned long address,if ((pmd_val (entry) & _PAGE_PMD_HUGE) && !is_huge_zero_page (pmd_page (entry))) (vma->vm_mm)->context.thp_pte_count--; + +return old; } void pgtable_trans_huge_deposit(struct mm_struct *mm, pmd_t *pmdp,
arch/x86/events/core.c +6 -9
@@ -1155,16 +1155,13 @@ int x86_perf_event_set_period(struct perf_event *event)per_cpu (pmc_prev_left[idx],smp_processor_id ()) = left; -if (!(hwc->flags &PERF_X86_EVENT_AUTO_RELOAD ) || -local64_read (&hwc->prev_count) != (u64)-left) { -/* -* The hw event starts counting from this event offset, -* mark it to be able to extra future deltas: -*/ -local64_set (&hwc->prev_count, (u64)-left); +/* +* The hw event starts counting from this event offset, +* mark it to be able to extra future deltas: +*/ +local64_set (&hwc->prev_count, (u64)-left); -wrmsrl (hwc->event_base, (u64)(-left) & x86_pmu.cntval_mask); - } +wrmsrl (hwc->event_base, (u64)(-left) & x86_pmu.cntval_mask);/* * Due to erratum on certan cpu we need
arch/x86/events/intel/core.c +10 -2
@@ -2066,9 +2066,15 @@ static int intel_pmu_handle_irq(struct pt_regs *regs)int bit, loops;u64 status;int handled; +int pmu_enabled; cpuc =this_cpu_ptr (&cpu_hw_events); +/* +* Save the PMU state. +* It needs to be restored when leaving the handler. +*/ + pmu_enabled = cpuc->enabled;/* * No known reason to not always do late ACK, * but just in case do it opt-in.
@@ -2076,6 +2082,7 @@ static int intel_pmu_handle_irq(struct pt_regs *regs)if (!x86_pmu.late_ack)apic_write (APIC_LVTPC ,APIC_DM_NMI );intel_bts_disable_local (); + cpuc->enabled =0 ;__intel_pmu_disable_all (); handled =intel_pmu_drain_bts_buffer (); handled +=intel_bts_interrupt ();
@@ -2173,7 +2180,8 @@ static int intel_pmu_handle_irq(struct pt_regs *regs) done:/* Only restore PMU state when it's active. See x86_pmu_disable(). */ -if (cpuc->enabled) + cpuc->enabled = pmu_enabled; +if (pmu_enabled)__intel_pmu_enable_all (0 , true);intel_bts_enable_local ();
@@ -3019,7 +3027,7 @@ hsw_get_event_constraints(struct cpu_hw_events *cpuc, int idx,* Therefore the effective (average) period matches the requested period, * despite coarser hardware granularity. */ -static unsigned bdw_limit_period (struct perf_event *event,unsigned left) +static u64 bdw_limit_period (struct perf_event *event,u64 left) {if ((event->hw.config &INTEL_ARCH_EVENT_MASK ) == X86_CONFIG(.event=0xc0, .umask=0x01)) {
arch/x86/events/intel/ds.c +105 -12
164 lines not on this page · raw message
arch/x86/events/perf_event.h +1 -1
@@ -548,7 +548,7 @@ struct x86_pmu {struct x86_pmu_quirk *quirks;int perfctr_second_write;bool late_ack; -unsigned (*limit_period)(struct perf_event *event,unsigned l); +u64 (*limit_period)(struct perf_event *event,u64 l);/* * sysfs attrs
arch/x86/include/asm/i8259.h +5 -0
@@ -68,6 +68,11 @@ struct legacy_pic {extern struct legacy_pic *legacy_pic;extern struct legacy_pic null_legacy_pic; +static inline bool has_legacy_pic (void ) +{ +return legacy_pic != &null_legacy_pic; +} +static inline int nr_legacy_irqs (void ) {return legacy_pic->nr_legacy_irqs;
arch/x86/kernel/apic/apic.c +1 -1
@@ -1403,7 +1403,7 @@ void setup_local_APIC(void)* TODO: set up through-local-APIC from through-I/O-APIC? --macro */ value =apic_read (APIC_LVT0 ) &APIC_LVT_MASKED ; -if (!cpu && (pic_mode || !value)) { +if (!cpu && (pic_mode || !value || skip_ioapic_setup)) { value =APIC_DM_EXTINT ;apic_printk (APIC_VERBOSE ,"enabled ExtINT on CPU#%d\n" , cpu); }else {
arch/x86/kernel/devicetree.c +13 -8
@@ -11,6 +11,7 @@#include <linux/of_address.h> #include <linux/of_platform.h> #include <linux/of_irq.h> +#include <linux/libfdt.h> #include <linux/slab.h> #include <linux/pci.h> #include <linux/of_pci.h>
@@ -199,19 +200,22 @@ static struct of_ioapic_type of_ioapic_type[] =static int dt_irqdomain_alloc (struct irq_domain *domain,unsigned int virq,unsigned int nr_irqs,void *arg) { -struct of_phandle_args *irq_data = (void *)arg; +struct irq_fwspec *fwspec = (struct irq_fwspec *)arg;struct of_ioapic_type *it;struct irq_alloc_info tmp; +int type_index; -if (WARN_ON (irq_data->args_count <2 )) +if (WARN_ON (fwspec->param_count <2 ))return -EINVAL ; -if (irq_data->args[1 ] >=ARRAY_SIZE (of_ioapic_type)) + + type_index = fwspec->param[1 ]; +if (type_index >=ARRAY_SIZE (of_ioapic_type))return -EINVAL ; - it = &of_ioapic_type[irq_data->args[1 ]]; + it = &of_ioapic_type[type_index];ioapic_set_alloc_attr (&tmp,NUMA_NO_NODE , it->trigger, it->polarity); tmp.ioapic_id =mpc_ioapic_id (mp_irqdomain_ioapic_idx (domain)); - tmp.ioapic_pin = irq_data->args[0 ]; + tmp.ioapic_pin = fwspec->param[0 ];return mp_irqdomain_alloc (domain, virq, nr_irqs, &tmp); }
@@ -276,14 +280,15 @@ static void __init x86_flattree_get_config(void) map_len =max (PAGE_SIZE - (initial_dtb & ~PAGE_MASK ), (u64 )128 ); - initial_boot_params = dt =early_memremap (initial_dtb, map_len); - size =of_get_flat_dt_size (); + dt =early_memremap (initial_dtb, map_len); + size =fdt_totalsize (dt);if (map_len < size) {early_memunmap (dt, map_len); - initial_boot_params = dt =early_memremap (initial_dtb, size); + dt =early_memremap (initial_dtb, size); map_len = size; } +early_init_dt_verify (dt);unflatten_and_copy_device_tree ();early_memunmap (dt, map_len); }
arch/x86/kernel/smpboot.c +1 -0
@@ -1497,6 +1497,7 @@ static void remove_siblinginfo(int cpu)cpumask_clear (topology_core_cpumask (cpu)); c->phys_proc_id =0 ; c->cpu_core_id =0 ; + c->booted_cores =0 ;cpumask_clear_cpu (cpu, cpu_sibling_setup_mask);recompute_smt_state (); }
arch/x86/kernel/tsc.c +18 -0
@@ -24,6 +24,7 @@#include <asm/geode.h> #include <asm/apic.h> #include <asm/intel-family.h> +#include <asm/i8259.h> unsigned int __read_mostly cpu_khz;/* TSC clocks / usec, not used here */ EXPORT_SYMBOL (cpu_khz);
@@ -456,6 +457,20 @@ static unsigned long pit_calibrate_tsc(u32 latch, unsigned long ms, int loopmin)unsigned long tscmin, tscmax;int pitcnt; +if (!has_legacy_pic ()) { +/* +* Relies on tsc_early_delay_calibrate() to have given us semi +* usable udelay(), wait for the same 50ms we would have with +* the PIT loop below. +*/ +udelay (10 *USEC_PER_MSEC ); +udelay (10 *USEC_PER_MSEC ); +udelay (10 *USEC_PER_MSEC ); +udelay (10 *USEC_PER_MSEC ); +udelay (10 *USEC_PER_MSEC ); +return ULONG_MAX ; + } +/* Set the Gate high, disable speaker */ outb ((inb (0x61 ) & ~0x02 ) |0x01 ,0x61 );
@@ -580,6 +595,9 @@ static unsigned long quick_pit_calibrate(void)u64 tsc, delta;unsigned long d1, d2; +if (!has_legacy_pic ()) +return 0 ; +/* Set the Gate high, disable speaker */ outb ((inb (0x61 ) & ~0x02 ) |0x01 ,0x61 );
arch/x86/kvm/cpuid.c +6 -1
@@ -382,7 +382,7 @@ static inline int __do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,/* cpuid 7.0.edx*/ const u32 kvm_cpuid_7_0_edx_x86_features = -F (SPEC_CTRL ) |F (SSBD ) |F (ARCH_CAPABILITIES ); +F (SPEC_CTRL ) |F (SPEC_CTRL_SSBD ) |F (ARCH_CAPABILITIES );/* all calls to cpuid_count() should be made on the same cpu */ get_cpu ();
@@ -468,6 +468,11 @@ static inline int __do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function, entry->ecx &= ~F (PKU ); entry->edx &= kvm_cpuid_7_0_edx_x86_features;cpuid_mask (&entry->edx,CPUID_7_EDX ); +/* +* We emulate ARCH_CAPABILITIES in software even +* if the host doesn't support it. +*/ + entry->edx |=F (ARCH_CAPABILITIES ); }else { entry->ebx =0 ; entry->ecx =0 ;
arch/x86/kvm/lapic.c +9 -1
@@ -299,8 +299,16 @@ void kvm_apic_set_version(struct kvm_vcpu *vcpu)if (!lapic_in_kernel (vcpu))return ; +/* +* KVM emulates 82093AA datasheet (with in-kernel IOAPIC implementation) +* which doesn't have EOI register; Some buggy OSes (e.g. Windows with +* Hyper-V role) disable EOI broadcast in lapic not checking for IOAPIC +* version first and level-triggered interrupts never get EOIed in +* IOAPIC. +*/ feat =kvm_find_cpuid_entry (apic->vcpu,0x1 ,0 ); -if (feat && (feat->ecx & (1 << (X86_FEATURE_X2APIC &31 )))) +if (feat && (feat->ecx & (1 << (X86_FEATURE_X2APIC &31 ))) && + !ioapic_in_kernel (vcpu->kvm)) v |=APIC_LVR_DIRECTED_EOI ;kvm_lapic_set_reg (apic,APIC_LVR , v); }
arch/x86/kvm/vmx.c +14 -6
@@ -2558,6 +2558,8 @@ static void vmx_queue_exception(struct kvm_vcpu *vcpu, unsigned nr,return ; } +WARN_ON_ONCE (vmx->emulation_required); +if (kvm_exception_is_soft (nr)) {vmcs_write32 (VM_ENTRY_INSTRUCTION_LEN , vmx->vcpu.arch.event_exit_inst_len);
@@ -6430,12 +6432,12 @@ static int handle_invalid_guest_state(struct kvm_vcpu *vcpu) goto out; } -if (err !=EMULATE_DONE ) { - vcpu->run->exit_reason =KVM_EXIT_INTERNAL_ERROR ; - vcpu->run->internal.suberror =KVM_INTERNAL_ERROR_EMULATION ; - vcpu->run->internal.ndata =0 ; -return 0 ; - } +if (err !=EMULATE_DONE ) + goto emulation_error; + +if (vmx->emulation_required && !vmx->rmode.vm86_active && + vcpu->arch.exception.pending) + goto emulation_error;if (vcpu->arch.halt_request) { vcpu->arch.halt_request =0 ;
@@ -6451,6 +6453,12 @@ static int handle_invalid_guest_state(struct kvm_vcpu *vcpu) out:return ret; + +emulation_error: + vcpu->run->exit_reason =KVM_EXIT_INTERNAL_ERROR ; + vcpu->run->internal.suberror =KVM_INTERNAL_ERROR_EMULATION ; + vcpu->run->internal.ndata =0 ; +return 0 ; }static int __grow_ple_window (int val)
arch/x86/kvm/x86.c +8 -4
@@ -4131,13 +4131,14 @@ long kvm_arch_vm_ioctl(struct file *filp,mutex_unlock (&kvm->lock);break ;case KVM_XEN_HVM_CONFIG : { +struct kvm_xen_hvm_config xhc; r = -EFAULT ; -if (copy_from_user (&kvm->arch.xen_hvm_config, argp, -sizeof (struct kvm_xen_hvm_config ))) +if (copy_from_user (&xhc, argp,sizeof (xhc))) goto out; r = -EINVAL ; -if (kvm->arch.xen_hvm_config.flags) +if (xhc.flags) goto out; +memcpy (&kvm->arch.xen_hvm_config, &xhc,sizeof (xhc)); r =0 ;break ; }
@@ -7258,6 +7259,7 @@ int kvm_arch_vcpu_ioctl_set_sregs(struct kvm_vcpu *vcpu, {struct msr_data apic_base_msr;int mmu_reset_needed =0 ; +int cpuid_update_needed =0 ;int pending_vec, max_bits, idx;struct desc_ptr dt;
@@ -7289,8 +7291,10 @@ int kvm_arch_vcpu_ioctl_set_sregs(struct kvm_vcpu *vcpu, vcpu->arch.cr0 = sregs->cr0; mmu_reset_needed |=kvm_read_cr4 (vcpu) != sregs->cr4; + cpuid_update_needed |= ((kvm_read_cr4 (vcpu) ^ sregs->cr4) & + (X86_CR4_OSXSAVE |X86_CR4_PKE )); kvm_x86_ops->set_cr4 (vcpu, sregs->cr4); -if (sregs->cr4 & (X86_CR4_OSXSAVE |X86_CR4_PKE )) +if (cpuid_update_needed)kvm_update_cpuid (vcpu); idx =srcu_read_lock (&vcpu->kvm->srcu);
arch/x86/mm/init_64.c +1 -2
@@ -1014,8 +1014,7 @@ void __init mem_init(void) after_bootmem =1 ;/* Register memory areas for /proc/kcore */ -kclist_add (&kcore_vsyscall, (void *)VSYSCALL_ADDR , -PAGE_SIZE ,KCORE_OTHER ); +kclist_add (&kcore_vsyscall, (void *)VSYSCALL_ADDR ,PAGE_SIZE ,KCORE_USER );mem_init_print_info (NULL ); }
arch/x86/mm/pageattr.c +4 -2
@@ -279,9 +279,11 @@ static inline pgprot_t static_protections(pgprot_t prot, unsigned long address,/* * The .rodata section needs to be read-only. Using the pfn -* catches all aliases. +* catches all aliases. This also includes __ro_after_init, +* so do not enforce until kernel_set_to_readonly is true. */ -if (within (pfn,__pa_symbol (__start_rodata) >>PAGE_SHIFT , +if (kernel_set_to_readonly && +within (pfn,__pa_symbol (__start_rodata) >>PAGE_SHIFT ,__pa_symbol (__end_rodata) >>PAGE_SHIFT ))pgprot_val (forbidden) |= _PAGE_RW;
arch/x86/mm/pgtable.c +9 -0
@@ -1,5 +1,6 @@#include <linux/mm.h> #include <linux/gfp.h> +#include <linux/hugetlb.h> #include <asm/pgalloc.h> #include <asm/pgtable.h> #include <asm/tlb.h>
@@ -577,6 +578,10 @@ int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot) (mtrr != MTRR_TYPE_WRBACK))return 0 ; +/* Bail out if we are we on a populated non-leaf entry: */ +if (pud_present (*pud) && !pud_huge (*pud)) +return 0 ; + prot =pgprot_4k_2_large (prot); set_pte((pte_t *)pud, pfn_pte(
@@ -605,6 +610,10 @@ int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot)return 0 ; } +/* Bail out if we are we on a populated non-leaf entry: */ +if (pmd_present (*pmd) && !pmd_huge (*pmd)) +return 0 ; + prot =pgprot_4k_2_large (prot); set_pte((pte_t *)pmd, pfn_pte(
arch/x86/power/hibernate_32.c +1 -1
@@ -142,7 +142,7 @@ static inline void resume_init_first_level_page_table(pgd_t *pg_dir)#endif } -int swsusp_arch_resume (void ) +asmlinkage int swsusp_arch_resume(void) {int error;
arch/x86/power/hibernate_64.c +1 -1
@@ -149,7 +149,7 @@ static int relocate_restore_code(void)return 0 ; } -int swsusp_arch_resume (void ) +asmlinkage int swsusp_arch_resume(void) {int error;
crypto/asymmetric_keys/pkcs7_trust.c +1 -0
@@ -106,6 +106,7 @@ static int pkcs7_validate_trust_one(struct pkcs7_message *pkcs7,pr_devel ("sinfo %u: Direct signer is key %x\n" , sinfo->index,key_serial (key)); x509 =NULL ; + sig = sinfo->sig; goto matched; }if (PTR_ERR (key) != -ENOKEY )
drivers/acpi/acpi_pad.c +3 -0
@@ -109,6 +109,7 @@ static void round_robin_cpu(unsigned int tsk_index)cpumask_andnot (tmp, cpu_online_mask, pad_busy_cpus);if (cpumask_empty (tmp)) {mutex_unlock (&round_robin_lock); +free_cpumask_var (tmp);return ; }for_each_cpu (cpu, tmp) {
@@ -126,6 +127,8 @@ static void round_robin_cpu(unsigned int tsk_index)mutex_unlock (&round_robin_lock);set_cpus_allowed_ptr (current,cpumask_of (preferred_cpu)); + +free_cpumask_var (tmp); }static void exit_round_robin (unsigned int tsk_index)
drivers/acpi/acpica/evevent.c +7 -2
@@ -204,6 +204,7 @@ u32 acpi_ev_fixed_event_detect(void)u32 fixed_status;u32 fixed_enable;u32 i; +acpi_status status;ACPI_FUNCTION_NAME (ev_fixed_event_detect);
@@ -211,8 +212,12 @@ u32 acpi_ev_fixed_event_detect(void)* Read the fixed feature status and enable registers, as all the cases * depend on their values. Ignore errors here. */ - (void )acpi_hw_register_read (ACPI_REGISTER_PM1_STATUS , &fixed_status); - (void )acpi_hw_register_read (ACPI_REGISTER_PM1_ENABLE , &fixed_enable); + status =acpi_hw_register_read (ACPI_REGISTER_PM1_STATUS , &fixed_status); + status |= +acpi_hw_register_read (ACPI_REGISTER_PM1_ENABLE , &fixed_enable); +if (ACPI_FAILURE (status)) { +return (int_status); + } ACPI_DEBUG_PRINT((ACPI_DB_INTERRUPTS, "Fixed Event Block: Enable %08X Status %08X\n",
drivers/acpi/acpica/nseval.c +8 -0
@@ -308,6 +308,14 @@ acpi_status acpi_ns_evaluate(struct acpi_evaluate_info *info)/* Map AE_CTRL_RETURN_VALUE to AE_OK, we are done with it */ status =AE_OK ; + }else if (ACPI_FAILURE (status)) { + +/* If return_object exists, delete it */ + +if (info->return_object) { +acpi_ut_remove_reference (info->return_object); + info->return_object =NULL ; + } } ACPI_DEBUG_PRINT((ACPI_DB_NAMES,
drivers/acpi/processor_perflib.c +1 -1
@@ -161,7 +161,7 @@ int acpi_processor_ppc_has_changed(struct acpi_processor *pr, int event_flag) {int ret; -if (ignore_ppc) { +if (ignore_ppc || !pr->performance) {/* * Only when it is notification event, the _OST object * will be evaluated. Otherwise it is skipped.
drivers/acpi/scan.c +17 -3
@@ -1422,6 +1422,8 @@ void acpi_init_device_object(struct acpi_device *device, acpi_handle handle,device_initialize (&device->dev);dev_set_uevent_suppress (&device->dev, true);acpi_init_coherency (device); +/* Assume there are unmet deps until acpi_device_dep_initialize() runs */ + device->dep_unmet =1 ; }void acpi_device_add_finalize (struct acpi_device *device)
@@ -1445,6 +1447,14 @@ static int acpi_add_single_object(struct acpi_device **child, }acpi_init_device_object (device, handle, type, sta); +/* +* For ACPI_BUS_TYPE_DEVICE getting the status is delayed till here so +* that we can call acpi_bus_get_status() and use its quirk handling. +* Note this must be done before the get power-/wakeup_dev-flags calls. +*/ +if (type ==ACPI_BUS_TYPE_DEVICE ) +acpi_bus_get_status (device); +acpi_bus_get_power_flags (device);acpi_bus_get_wakeup_device_flags (device);
@@ -1517,9 +1527,11 @@ static int acpi_bus_type_and_status(acpi_handle handle, int *type,return -ENODEV ; *type =ACPI_BUS_TYPE_DEVICE ; - status =acpi_bus_get_status_handle (handle, sta); -if (ACPI_FAILURE (status)) - *sta =0 ; +/* +* acpi_add_single_object updates this once we've an acpi_device +* so that acpi_bus_get_status' quirk handling can be used. +*/ + *sta =0 ;break ;case ACPI_TYPE_PROCESSOR : *type =ACPI_BUS_TYPE_PROCESSOR ;
@@ -1621,6 +1633,8 @@ static void acpi_device_dep_initialize(struct acpi_device *adev)acpi_status status;int i; + adev->dep_unmet =0 ; +if (!acpi_has_method (adev->handle,"_DEP" ))return ;
drivers/ata/libata-core.c +6 -0
@@ -4366,6 +4366,10 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {/* https://bugzilla.kernel.org/show_bug.cgi?id=15573 */ { "C300-CTFDDAC128MAG", "0001", ATA_HORKAGE_NONCQ, }, + /* Some Sandisk SSDs lock up hard with NCQ enabled. Reported on + SD7SN6S256G and SD8SN8U256G */ + { "SanDisk SD[78]SN*G", NULL, ATA_HORKAGE_NONCQ, }, + /* devices which puke on READ_NATIVE_MAX */ { "HDS724040KLSA80", "KFAOA20N", ATA_HORKAGE_BROKEN_HPA, }, { "WDC WD3200JD-00KLB0", "WD-WCAMR1130137", ATA_HORKAGE_BROKEN_HPA },
@@ -4426,6 +4430,8 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { { "SanDisk SD7UB3Q*G1001", NULL, ATA_HORKAGE_NOLPM, }, /* devices that don't properly handle queued TRIM commands */ + { "Micron_M500IT_*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM | + ATA_HORKAGE_ZERO_AFTER_TRIM, }, { "Micron_M500_*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | ATA_HORKAGE_ZERO_AFTER_TRIM, }, { "Crucial_CT*M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |
drivers/ata/libata-scsi.c +1 -1
@@ -4156,7 +4156,7 @@ static inline void ata_scsi_dump_cdb(struct ata_port *ap,#ifdef ATA_DEBUG struct scsi_device *scsidev = cmd->device; -DPRINTK ("CDB (%u:%d,%d,%d) %9ph\n" , +DPRINTK ("CDB (%u:%d,%d,%lld) %9ph\n" , ap->print_id, scsidev->channel, scsidev->id, scsidev->lun, cmd->cmnd);
drivers/base/regmap/regmap.c +1 -1
@@ -98,7 +98,7 @@ bool regmap_cached(struct regmap *map, unsigned int reg)int ret;unsigned int val; -if (map->cache ==REGCACHE_NONE ) +if (map->cache_type ==REGCACHE_NONE )return false;if (!map->cache_ops)
drivers/block/paride/pcd.c +2 -0
@@ -230,6 +230,8 @@ static int pcd_block_open(struct block_device *bdev, fmode_t mode)struct pcd_unit *cd = bdev->bd_disk->private_data;int ret; +check_disk_change (bdev); +mutex_lock (&pcd_mutex); ret =cdrom_open (&cd->info, bdev, mode);mutex_unlock (&pcd_mutex);
drivers/cdrom/cdrom.c +0 -3
@@ -1154,9 +1154,6 @@ int cdrom_open(struct cdrom_device_info *cdi, struct block_device *bdev,cd_dbg (CD_OPEN ,"entering cdrom_open\n" ); -/* open is event synchronization point, check events first */ -check_disk_change (bdev); -/* if this was a O_NONBLOCK open and we should honor the flags, * do a quick open without drive/disc integrity checks. */ cdi->use_count++;
drivers/cdrom/gdrom.c +3 -0
@@ -497,6 +497,9 @@ static struct cdrom_device_ops gdrom_ops = {static int gdrom_bdops_open (struct block_device *bdev,fmode_t mode) {int ret; + +check_disk_change (bdev); +mutex_lock (&gdrom_mutex); ret =cdrom_open (gd.cd_info, bdev, mode);mutex_unlock (&gdrom_mutex);
drivers/char/hw_random/stm32-rng.c +9 -0
@@ -21,6 +21,7 @@#include <linux/of_address.h> #include <linux/of_platform.h> #include <linux/pm_runtime.h> +#include <linux/reset.h> #include <linux/slab.h> #define RNG_CR 0x00
@@ -46,6 +47,7 @@ struct stm32_rng_private {struct hwrng rng;void __iomem *base;struct clk *clk; +struct reset_control *rst; };static int stm32_rng_read (struct hwrng *rng,void *data,size_t max,bool wait)
@@ -140,6 +142,13 @@ static int stm32_rng_probe(struct platform_device *ofdev)if (IS_ERR (priv->clk))return PTR_ERR (priv->clk); + priv->rst =devm_reset_control_get (&ofdev->dev,NULL ); +if (!IS_ERR (priv->rst)) { +reset_control_assert (priv->rst); +udelay (2 ); +reset_control_deassert (priv->rst); + } +dev_set_drvdata (dev, priv); priv->rng.name = dev_driver_string(dev),
drivers/char/ipmi/ipmi_powernv.c +3 -2
@@ -251,8 +251,9 @@ static int ipmi_powernv_probe(struct platform_device *pdev) ipmi->irq =opal_event_request (prop); } -if (request_irq (ipmi->irq, ipmi_opal_event,IRQ_TYPE_LEVEL_HIGH , -"opal-ipmi" , ipmi)) { + rc =request_irq (ipmi->irq, ipmi_opal_event,IRQ_TYPE_LEVEL_HIGH , +"opal-ipmi" , ipmi); +if (rc) {dev_warn (dev,"Unable to request irq\n" ); goto err_dispose; }
drivers/char/ipmi/ipmi_ssif.c +2 -2
@@ -761,7 +761,7 @@ static void msg_done_handler(struct ssif_info *ssif_info, int result, ssif_info->ssif_state =SSIF_NORMAL ;ipmi_ssif_unlock_cond (ssif_info, flags);pr_warn (PFX "Error getting flags: %d %d, %x\n" , - result, len, data[2 ]); + result, len, (len >=3 ) ? data[2 ] :0 ); }else if (data[0 ] != (IPMI_NETFN_APP_REQUEST |1 ) <<2 || data[1 ] !=IPMI_GET_MSG_FLAGS_CMD ) {/*
@@ -783,7 +783,7 @@ static void msg_done_handler(struct ssif_info *ssif_info, int result,if ((result <0 ) || (len <3 ) || (data[2 ] !=0 )) {/* Error clearing flags */ pr_warn (PFX "Error clearing flags: %d %d, %x\n" , - result, len, data[2 ]); + result, len, (len >=3 ) ? data[2 ] :0 ); }else if (data[0 ] != (IPMI_NETFN_APP_REQUEST |1 ) <<2 || data[1 ] !=IPMI_CLEAR_MSG_FLAGS_CMD ) { pr_warn(PFX "Invalid response clearing flags: %x %x\n",
drivers/clocksource/fsl_ftm_timer.c +1 -1
@@ -281,7 +281,7 @@ static int __init __ftm_clk_init(struct device_node *np, char *cnt_name,static unsigned long __init ftm_clk_init (struct device_node *np) { -unsigned long freq; +long freq; freq =__ftm_clk_init (np,"ftm-evt-counter-en" ,"ftm-evt" );if (freq <=0 )
drivers/cpufreq/cppc_cpufreq.c +19 -4
@@ -151,9 +151,19 @@ static int cppc_cpufreq_cpu_init(struct cpufreq_policy *policy) policy->cpuinfo.transition_latency =cppc_get_transition_latency (cpu_num); policy->shared_type = cpu->shared_type; -if (policy->shared_type ==CPUFREQ_SHARED_TYPE_ANY ) +if (policy->shared_type ==CPUFREQ_SHARED_TYPE_ANY ) { +int i; +cpumask_copy (policy->cpus, cpu->shared_cpu_map); -else if (policy->shared_type ==CPUFREQ_SHARED_TYPE_ALL ) { + +for_each_cpu (i, policy->cpus) { +if (unlikely (i == policy->cpu)) +continue ; + +memcpy (&all_cpu_data[i]->perf_caps, &cpu->perf_caps, +sizeof (cpu->perf_caps)); + } + }else if (policy->shared_type ==CPUFREQ_SHARED_TYPE_ALL ) {/* Support only SW_ANY for now. */ pr_debug ("Unsupported CPU co-ord type\n" );return -EFAULT ;
@@ -218,8 +228,13 @@ static int __init cppc_cpufreq_init(void)return ret; out: -for_each_possible_cpu (i) -kfree (all_cpu_data[i]); +for_each_possible_cpu (i) { + cpu = all_cpu_data[i]; +if (!cpu) +break ; +free_cpumask_var (cpu->shared_cpu_map); +kfree (cpu); + }kfree (all_cpu_data);return -ENODEV ;
drivers/cpufreq/cpufreq.c +3 -3
@@ -1288,14 +1288,14 @@ static int cpufreq_online(unsigned int cpu)return 0 ; out_exit_policy: +for_each_cpu (j, policy->real_cpus) +remove_cpu_dev_symlink (policy,get_cpu_device (j)); +up_write (&policy->rwsem);if (cpufreq_driver->exit) cpufreq_driver->exit (policy); -for_each_cpu (j, policy->real_cpus) -remove_cpu_dev_symlink (policy,get_cpu_device (j)); - out_free_policy:cpufreq_policy_free (policy, !new_policy);return ret;
drivers/dma/mv_xor_v2.c +20 -5
@@ -152,6 +152,7 @@ struct mv_xor_v2_device {void __iomem *dma_base;void __iomem *glob_base;struct clk *clk; +struct clk *reg_clk;struct tasklet_struct irq_tasklet;struct list_head free_sw_desc;struct dma_device dmadev;
@@ -697,13 +698,26 @@ static int mv_xor_v2_probe(struct platform_device *pdev)if (ret)return ret; + xor_dev->reg_clk =devm_clk_get (&pdev->dev,"reg" ); +if (PTR_ERR (xor_dev->reg_clk) != -ENOENT ) { +if (!IS_ERR (xor_dev->reg_clk)) { + ret =clk_prepare_enable (xor_dev->reg_clk); +if (ret) +return ret; + }else { +return PTR_ERR (xor_dev->reg_clk); + } + } + xor_dev->clk =devm_clk_get (&pdev->dev,NULL ); -if (IS_ERR (xor_dev->clk) &&PTR_ERR (xor_dev->clk) == -EPROBE_DEFER ) -return -EPROBE_DEFER ; +if (IS_ERR (xor_dev->clk) &&PTR_ERR (xor_dev->clk) == -EPROBE_DEFER ) { + ret =EPROBE_DEFER ; + goto disable_reg_clk; + }if (!IS_ERR (xor_dev->clk)) { ret =clk_prepare_enable (xor_dev->clk);if (ret) -return ret; + goto disable_reg_clk; } ret = platform_msi_domain_alloc_irqs(&pdev->dev, 1,
@@ -812,8 +826,9 @@ static int mv_xor_v2_probe(struct platform_device *pdev) free_msi_irqs:platform_msi_domain_free_irqs (&pdev->dev); disable_clk: -if (!IS_ERR (xor_dev->clk)) -clk_disable_unprepare (xor_dev->clk); +clk_disable_unprepare (xor_dev->clk); +disable_reg_clk: +clk_disable_unprepare (xor_dev->reg_clk);return ret; }
drivers/dma/pl330.c +4 -2
@@ -1570,7 +1570,7 @@ static void pl330_dotask(unsigned long data)/* Returns 1 if state was updated, 0 otherwise */ static int pl330_update (struct pl330_dmac *pl330) { -struct dma_pl330_desc *descdone, *tmp; +struct dma_pl330_desc *descdone;unsigned long flags;void __iomem *regs;u32 val;
@@ -1648,7 +1648,9 @@ static int pl330_update(struct pl330_dmac *pl330) }/* Now that we are in no hurry, do the callbacks */ -list_for_each_entry_safe (descdone, tmp, &pl330->req_done, rqd) { +while (!list_empty (&pl330->req_done)) { + descdone =list_first_entry (&pl330->req_done, + struct dma_pl330_desc, rqd);list_del (&descdone->rqd);spin_unlock_irqrestore (&pl330->lock, flags);dma_pl330_rqcb (descdone,PL330_ERR_NONE );
drivers/dma/qcom/bam_dma.c +22 -5
@@ -387,6 +387,7 @@ struct bam_device {struct device_dma_parameters dma_parms;struct bam_chan *channels;u32 num_channels; +u32 num_ees;/* execution environment ID, from DT */ u32 ee;
@@ -1076,15 +1077,19 @@ static int bam_init(struct bam_device *bdev)u32 val;/* read revision and configuration information */ - val =readl_relaxed (bam_addr (bdev,0 ,BAM_REVISION )) >>NUM_EES_SHIFT ; - val &=NUM_EES_MASK ; +if (!bdev->num_ees) { + val =readl_relaxed (bam_addr (bdev,0 ,BAM_REVISION )); + bdev->num_ees = (val >>NUM_EES_SHIFT ) &NUM_EES_MASK ; + }/* check that configured EE is within range */ -if (bdev->ee >= val) +if (bdev->ee >= bdev->num_ees)return -EINVAL ; - val =readl_relaxed (bam_addr (bdev,0 ,BAM_NUM_PIPES )); - bdev->num_channels = val &BAM_NUM_PIPES_MASK ; +if (!bdev->num_channels) { + val =readl_relaxed (bam_addr (bdev,0 ,BAM_NUM_PIPES )); + bdev->num_channels = val &BAM_NUM_PIPES_MASK ; + }if (bdev->controlled_remotely)return 0 ;
@@ -1179,6 +1184,18 @@ static int bam_dma_probe(struct platform_device *pdev) bdev->controlled_remotely =of_property_read_bool (pdev->dev.of_node,"qcom,controlled-remotely" ); +if (bdev->controlled_remotely) { + ret =of_property_read_u32 (pdev->dev.of_node,"num-channels" , + &bdev->num_channels); +if (ret) +dev_err (bdev->dev,"num-channels unspecified in dt\n" ); + + ret =of_property_read_u32 (pdev->dev.of_node,"qcom,num-ees" , + &bdev->num_ees); +if (ret) +dev_err (bdev->dev,"num-ees unspecified in dt\n" ); + } + bdev->bamclk =devm_clk_get (bdev->dev,"bam_clk" );if (IS_ERR (bdev->bamclk))return PTR_ERR (bdev->bamclk);
drivers/dma/sh/rcar-dmac.c +10 -1
@@ -870,7 +870,7 @@ rcar_dmac_chan_prep_sg(struct rcar_dmac_chan *chan, struct scatterlist *sgl,rcar_dmac_chan_configure_desc (chan, desc); - max_chunk_size = (RCAR_DMATCR_MASK +1 ) << desc->xfer_shift; + max_chunk_size =RCAR_DMATCR_MASK << desc->xfer_shift;/* * Allocate and fill the transfer chunk descriptors. We own the only
@@ -1246,8 +1246,17 @@ static unsigned int rcar_dmac_chan_get_residue(struct rcar_dmac_chan *chan,* If the cookie doesn't correspond to the currently running transfer * then the descriptor hasn't been processed yet, and the residue is * equal to the full descriptor size. +* Also, a client driver is possible to call this function before +* rcar_dmac_isr_channel_thread() runs. In this case, the "desc.running" +* will be the next descriptor, and the done list will appear. So, if +* the argument cookie matches the done list's cookie, we can assume +* the residue is zero. */ if (cookie != desc->async_tx.cookie) { +list_for_each_entry (desc, &chan->desc.done, node) { +if (cookie == desc->async_tx.cookie) +return 0 ; + }list_for_each_entry (desc, &chan->desc.pending, node) {if (cookie == desc->async_tx.cookie)return desc->size;
drivers/firewire/ohci.c +7 -1
@@ -1130,7 +1130,13 @@ static int context_add_buffer(struct context *ctx)return -ENOMEM ; offset = (void *)&desc->buffer - (void *)desc; - desc->buffer_size =PAGE_SIZE - offset; +/* +* Some controllers, like JMicron ones, always issue 0x20-byte DMA reads +* for descriptors, even 0x10-byte ones. This can cause page faults when +* an IOMMU is in use and the oversized read crosses a page boundary. +* Work around this by always leaving at least 0x10 bytes of padding. +*/ + desc->buffer_size =PAGE_SIZE - offset -0x10 ; desc->buffer_bus = bus_addr + offset; desc->used =0 ;
drivers/firmware/dmi_scan.c +9 -13
@@ -18,7 +18,7 @@ EXPORT_SYMBOL_GPL(dmi_kobj);* of and an antecedent to, SMBIOS, which stands for System * Management BIOS. See further: http://www.dmtf.org/standards */ -static const char dmi_empty_string[] =" " ; +static const char dmi_empty_string[] ="" ;static u32 dmi_ver__initdata ;static u32 dmi_len;
@@ -44,25 +44,21 @@ static int dmi_memdev_nr;static const char *__init dmi_string_nosave (const struct dmi_header *dm,u8 s) {const u8 *bp = ((u8 *) dm) + dm->length; +const u8 *nsp;if (s) { - s--; -while (s >0 && *bp) { +while (--s >0 && *bp) bp +=strlen (bp) +1 ; - s--; - } - -if (*bp !=0 ) { -size_t len =strlen (bp)+1 ; -size_t cmp_len = len >8 ?8 : len; -if (!memcmp (bp, dmi_empty_string, cmp_len)) -return dmi_empty_string; +/* Strings containing only spaces are considered empty */ + nsp = bp; +while (*nsp ==' ' ) + nsp++; +if (*nsp !='\0' )return bp; - } } -return "" ; +return dmi_empty_string; }static const char *__init dmi_string (const struct dmi_header *dm,u8 s)
drivers/gpu/drm/exynos/exynos_drm_g2d.c +3 -3
@@ -926,7 +926,7 @@ static void g2d_finish_event(struct g2d_data *g2d, u32 cmdlist_no)struct drm_device *drm_dev = g2d->subdrv.drm_dev;struct g2d_runqueue_node *runqueue_node = g2d->runqueue_node;struct drm_exynos_pending_g2d_event *e; -struct timeval now; +struct timespec64 now;if (list_empty (&runqueue_node->event_list))return ;
@@ -934,9 +934,9 @@ static void g2d_finish_event(struct g2d_data *g2d, u32 cmdlist_no) e =list_first_entry (&runqueue_node->event_list, struct drm_exynos_pending_g2d_event, base.link); -do_gettimeofday (&now); +ktime_get_ts64 (&now); e->event.tv_sec = now.tv_sec; - e->event.tv_usec = now.tv_usec; + e->event.tv_usec = now.tv_nsec /NSEC_PER_USEC ; e->event.cmdlist_no = cmdlist_no;drm_send_event (drm_dev, &e->base);
drivers/gpu/drm/exynos/regs-fimc.h +1 -1
@@ -569,7 +569,7 @@#define EXYNOS_CIIMGEFF_FIN_EMBOSSING (4 << 26)#define EXYNOS_CIIMGEFF_FIN_SILHOUETTE (5 << 26)#define EXYNOS_CIIMGEFF_FIN_MASK (7 << 26) -#define EXYNOS_CIIMGEFF_PAT_CBCR_MASK ((0xff < 13) | (0xff < 0)) +#define EXYNOS_CIIMGEFF_PAT_CBCR_MASK ((0xff << 13) | (0xff << 0))/* Real input DMA size register */ #define EXYNOS_CIREAL_ISIZE_AUTOLOAD_ENABLE (1 << 31)
drivers/gpu/drm/imx/ipuv3-crtc.c +5 -0
@@ -189,7 +189,11 @@ static void ipu_crtc_atomic_begin(struct drm_crtc *crtc, struct drm_crtc_state *old_crtc_state) {drm_crtc_vblank_on (crtc); +} +static void ipu_crtc_atomic_flush (struct drm_crtc *crtc, +struct drm_crtc_state *old_crtc_state) +{spin_lock_irq (&crtc->dev->event_lock);if (crtc->state->event) {WARN_ON (drm_crtc_vblank_get (crtc));
@@ -257,6 +261,7 @@ static const struct drm_crtc_helper_funcs ipu_helper_funcs = { .mode_set_nofb = ipu_crtc_mode_set_nofb, .atomic_check = ipu_crtc_atomic_check, .atomic_begin = ipu_crtc_atomic_begin, + .atomic_flush = ipu_crtc_atomic_flush, .atomic_disable = ipu_crtc_atomic_disable, .enable = ipu_crtc_enable, };
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h +373 -373
836 lines not on this page · raw message
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h +401 -401
802 lines not on this page · raw message
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/gt215.fuc3.h +503 -503
1,006 lines not on this page · raw message
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/memx.fuc +15 -15
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/rockchip/rockchip_drm_gem.c +6 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/virtio/virtgpu_ioctl.c +11 -6
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/i40iw/i40iw_verbs.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/infiniband/ulp/ipoib/ipoib_main.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/irqchip/irq-gic-v3-its-pci-msi.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/irqchip/irq-gic-v3-its-platform-msi.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnxt/bnxt.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +8 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cisco/enic/enic_main.c +7 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/fman/fman_dtsec.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/gianfar.c +10 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000e/ich8lan.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000e/mac.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000e/netdev.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c +12 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/cmd.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/emac/emac-mac.c +14 -9
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +13 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/rs.c +20 -8
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c +20 -19
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/tx.c +5 -2
Lines of this file are not shown. View the raw message.
drivers/net/xen-netfront.c +24 -22
46 lines not on this page · raw message
drivers/s390/cio/device_ops.c +32 -40
72 lines not on this page · raw message
drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c +2 -0
Lines of this file are not shown. View the raw message.
net/batman-adv/bridge_loop_avoidance.c +14 -8
Lines of this file are not shown. View the raw message.
net/ipv6/netfilter/nf_conntrack_reasm.c +11 -5
Lines of this file are not shown. View the raw message.
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc new file +46 -0
46 lines not on this page · raw message
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc new file +97 -0
97 lines not on this page · raw message
tools/testing/selftests/ftrace/test.d/kprobe/probepoint.tc new file +43 -0
43 lines not on this page · raw message
tools/testing/selftests/memfd/config new file +1 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/psock_fanout.c +2 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/reuseport_bpf.c +20 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/powerpc/mm/subpage_prot.c +14 -0
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.