Skip to contentSkip to conversation

Linux 4.12.10

DISCUSSION Greg KH 1 participant 2 messages Aug 30, 2017 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 4.12.10 kernel.

All users of the 4.12 kernel series must upgrade.

The updated 4.12.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.12.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

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

 Makefile                                            |    2 
 arch/arc/include/asm/cache.h                        |    2 
 arch/arc/include/asm/mmu.h                          |    2 
 arch/arc/mm/cache.c                                 |   50 ++++-
 arch/arc/mm/tlb.c                                   |   12 +
 arch/arm64/kernel/fpsimd.c                          |    2 
 arch/powerpc/include/asm/mmu_context.h              |   20 +-
 arch/powerpc/include/asm/pgtable-be-types.h         |    1 
 arch/powerpc/include/asm/pgtable-types.h            |    1 
 arch/s390/kvm/sthyi.c                               |    7 
 arch/sparc/kernel/pci_sun4v.c                       |    2 
 arch/x86/include/asm/fpu/internal.h                 |    6 
 arch/x86/include/asm/kvm_host.h                     |    1 
 arch/x86/include/asm/mmu_context.h                  |    4 
 arch/x86/kvm/cpuid.c                                |    2 
 arch/x86/kvm/kvm_cache_regs.h                       |    5 
 arch/x86/kvm/mmu.h                                  |    2 
 arch/x86/kvm/svm.c                                  |    7 
 arch/x86/kvm/vmx.c                                  |   25 --
 arch/x86/kvm/x86.c                                  |   17 +
 drivers/acpi/acpi_apd.c                             |    4 
 drivers/acpi/ec.c                                   |   17 -
 drivers/acpi/internal.h                             |    1 
 drivers/acpi/property.c                             |    2 
 drivers/acpi/scan.c                                 |    1 
 drivers/android/binder.c                            |   19 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c             |    2 
 drivers/gpu/drm/drm_atomic.c                        |   11 -
 drivers/gpu/drm/drm_gem.c                           |    6 
 drivers/gpu/drm/drm_plane.c                         |    1 
 drivers/gpu/drm/i915/gvt/cmd_parser.c               |    2 
 drivers/gpu/drm/i915/intel_bios.c                   |   15 -
 drivers/gpu/drm/sun4i/sun4i_drv.c                   |    8 
 drivers/i2c/busses/i2c-designware-platdrv.c         |   14 +
 drivers/iio/common/hid-sensors/hid-sensor-trigger.c |    8 
 drivers/iio/imu/adis16480.c                         |    2 
 drivers/iio/magnetometer/st_magn_core.c             |    4 
 drivers/infiniband/core/uverbs_cmd.c                |    2 
 drivers/input/mouse/alps.c                          |   41 +++-
 drivers/input/mouse/alps.h                          |    8 
 drivers/input/mouse/elan_i2c_core.c                 |    1 
 drivers/input/mouse/trackpoint.c                    |    3 
 drivers/input/mouse/trackpoint.h                    |    3 
 drivers/iommu/amd_iommu_types.h                     |    4 
 drivers/iommu/intel-iommu.c                         |    4 
 drivers/iommu/iommu-sysfs.c                         |   32 ++-
 drivers/net/bonding/bond_main.c                     |   13 -
 drivers/net/ethernet/mellanox/mlx4/main.c           |    4 
 drivers/net/ethernet/netronome/nfp/nfp_net_common.c |    3 
 drivers/net/tun.c                                   |    3 
 drivers/ntb/ntb_transport.c                         |    4 
 drivers/staging/rtl8188eu/os_dep/usb_intf.c         |    1 
 drivers/virtio/virtio_pci_common.c                  |   10 -
 fs/cifs/dir.c                                       |   18 +
 fs/cifs/smb2pdu.c                                   |    4 
 fs/dax.c                                            |   10 +
 fs/nfsd/nfs4xdr.c                                   |    6 
 include/asm-generic/vmlinux.lds.h                   |   38 ++-
 include/linux/bpf_verifier.h                        |    1 
 include/linux/fs.h                                  |    4 
 include/linux/iommu.h                               |   12 +
 include/linux/ptr_ring.h                            |    9 
 include/linux/skb_array.h                           |    3 
 include/net/bonding.h                               |    5 
 include/net/ip.h                                    |    4 
 include/net/sch_generic.h                           |    5 
 kernel/bpf/verifier.c                               |  191 +++++++++++++++++---
 kernel/events/core.c                                |   39 +---
 kernel/fork.c                                       |    1 
 kernel/time/timer.c                                 |   50 ++++-
 kernel/trace/bpf_trace.c                            |   34 +++
 kernel/trace/ftrace.c                               |    4 
 kernel/trace/ring_buffer.c                          |   14 -
 kernel/trace/ring_buffer_benchmark.c                |    2 
 kernel/trace/trace.c                                |   19 +
 kernel/trace/trace_events_filter.c                  |    4 
 kernel/trace/tracing_map.c                          |   11 -
 mm/madvise.c                                        |    2 
 mm/memblock.c                                       |    2 
 mm/page_alloc.c                                     |   20 +-
 mm/shmem.c                                          |    4 
 net/bluetooth/bnep/core.c                           |   11 -
 net/bluetooth/cmtp/core.c                           |   17 +
 net/bluetooth/hidp/core.c                           |   33 ++-
 net/dccp/proto.c                                    |   19 +
 net/ipv4/fib_semantics.c                            |   12 -
 net/ipv4/igmp.c                                     |   10 -
 net/ipv4/route.c                                    |    2 
 net/ipv4/tcp_input.c                                |    3 
 net/ipv6/ip6_fib.c                                  |   26 +-
 net/irda/af_irda.c                                  |    2 
 net/key/af_key.c                                    |   48 ++---
 net/netfilter/nf_conntrack_expect.c                 |    2 
 net/netfilter/nf_nat_core.c                         |   17 -
 net/netfilter/nfnetlink.c                           |    6 
 net/openvswitch/actions.c                           |    1 
 net/openvswitch/datapath.c                          |    7 
 net/openvswitch/datapath.h                          |    2 
 net/sched/act_ipt.c                                 |    2 
 net/sched/sch_api.c                                 |    3 
 net/sched/sch_sfq.c                                 |    5 
 net/sctp/ipv6.c                                     |    2 
 net/sunrpc/svcsock.c                                |   22 ++
 net/tipc/netlink_compat.c                           |    6 
 sound/core/control.c                                |    2 
 sound/firewire/iso-resources.c                      |    7 
 sound/firewire/motu/motu.c                          |    1 
 sound/pci/hda/patch_conexant.c                      |    1 
 sound/usb/quirks.c                                  |    9 
 tools/testing/selftests/ntb/ntb_test.sh             |    4 
 110 files changed, 863 insertions(+), 358 deletions(-)

Aaron Ma (1):
Input: trackpoint - add new trackpoint firmware ID

Alex Deucher (1):
Revert "drm/amdgpu: fix vblank_time when displays are off"

Alexander Potapenko (1):
sctp: fully initialize the IPv6 address in sctp_v6_to_addr()

Alexey Brodkin (2):
ARCv2: SLC: Make sure busy bit is set properly for region ops
ARCv2: PAE40: Explicitly set MSB counterpart of SLC region ops addresses

Andreas Born (2):
bonding: require speed/duplex only for 802.3ad, alb and tlb
bonding: ratelimit failed speed/duplex update warning

Benjamin Herrenschmidt (1):
powerpc/mm: Ensure cpumask update is ordered

Bharat Potnuri (1):
RDMA/uverbs: Initialize cq_context appropriately

Charles Milette (1):
staging: rtl8188eu: add RNX-N150NUB support

Chen Yu (1):
PM/hibernate: touch NMI watchdog when creating snapshot

Chris Wilson (1):
drm: Release driver tracking before making the object available again

Christoph Hellwig (1):
virtio_pci: fix cpu affinity support

Chuck Lever (1):
nfsd: Limit end of page list when decoding NFSv4 WRITE

Chunyu Hu (1):
tracing: Fix kmemleak in tracing_map_array_free()

Colin Ian King (2):
nfp: fix infinite loop on umapping cleanup
irda: do not leak initialized list.dev to userspace

Dan Carpenter (1):
tracing: Missing error code in tracer_alloc_buffers()

Daniel Borkmann (2):
bpf: fix bpf_trace_printk on 32 bit archs
bpf: fix mixed signed/unsigned derived min/max value bounds

Dave Jiang (1):
ntb: transport shouldn't disable link due to bogus values in SPADs

Dave Martin (1):
arm64: fpsimd: Prevent registers leaking across exec

David Ahern (1):
net: igmp: Use ingress interface rather than vrf device

Dragos Bogdan (1):
iio: imu: adis16480: Fix acceleration scale factor for adis16480

Edward Cree (1):
bpf/verifier: fix min/max handling in BPF_SUB

Eric Biggers (3):
mm/madvise.c: fix freeing of locked page with MADV_FREE
fork: fix incorrect fput of ->exe_file causing use-after-free x86/mm: Fix use-after-free of ldt_struct

Eric Dumazet (8):
af_key: do not use GFP_KERNEL in atomic contexts
dccp: purge write queue in dccp_destroy_sock()
dccp: defer ccid_hc_tx_delete() at dismantle time
ipv4: fix NULL dereference in free_fib_info_rcu()
ptr_ring: use kmalloc_array()
ipv4: better IP_MAX_MTU enforcement
tun: handle register_netdevice() failures properly
tipc: fix use-after-free

Florian Westphal (2):
netfilter: expect: fix crash when putting uninited expectation
netfilter: nat: fix src map lookup

Greg Kroah-Hartman (1):

      Linux 4.12.10

Hanjun Guo (1):
ACPI: APD: Fix HID for Hisilicon Hip07/08

Heiko Carstens (2):
KVM: s390: sthyi: fix sthyi inline assembly
KVM: s390: sthyi: fix specification exception detection

Huy Nguyen (1):
net/mlx4_core: Enable 4K UAR if SRIOV module parameter is not enabled

Jani Nikula (1):
drm/i915/vbt: ignore extraneous child devices for a port

Jeffy Chen (3):
Bluetooth: hidp: fix possible might sleep error in hidp_session_thread
Bluetooth: cmtp: fix possible might sleep error in cmtp_session
Bluetooth: bnep: fix possible might sleep error in bnep_session

Joakim Tjernlund (1):
ALSA: usb-audio: Add delay quirk for H650e/Jabra 550a USB headsets

Joerg Roedel (1):

      iommu: Fix wrong freeing of iommu_device->dev

John Fastabend (1):
bpf, verifier: add additional patterns to evaluate_reg_imm_alu

Jonathan Liu (1):
drm/sun4i: Implement drm_driver lastclose to restore fbdev console

KT Liao (1):
Input: elan_i2c - add ELAN0602 ACPI ID to support Lenovo Yoga310

Kirill A. Shutemov (1):
mm, shmem: fix handling /sys/kernel/mm/transparent_hugepage/shmem_enabled

Konstantin Khlebnikov (3):
net_sched/sfq: update hierarchical backlog when drop packet
net_sched: remove warning from qdisc_hash_add
net_sched: fix order of queue length updates in qdisc_replace()

Linus Torvalds (1):
Clarify (and fix) MAX_LFS_FILESIZE macros

Liping Zhang (1):
openvswitch: fix skb_panic due to the incorrect actions attrlen

Logan Gunthorpe (1):
ntb: ntb_test: ensure the link is up before trying to configure the mws

Lorenzo Bianconi (2):
iio: magnetometer: st_magn: fix status register address for LSM303AGR
iio: magnetometer: st_magn: remove ihl property for LSM303AGR

Lv Zheng (1):
ACPI: EC: Fix regression related to wrong ECDT initialization order

Maarten Lankhorst (2):
drm/atomic: Handle -EDEADLK with out-fences correctly drm/atomic: If the atomic check fails, return its value first

Mark Rutland (1):
perf/core: Fix group {cpu,task} validation

Martijn Coenen (1):

      ANDROID: binder: fix proc->tsk check.

Masaki Ota (1):
Input: ALPS - fix two-finger scroll breakage in right side on ALPS touchpad

Mateusz Jurczyk (1):
netfilter: nfnetlink: Improve input length sanitization in nfnetlink_rcv

Neal Cardwell (1):
tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP

Nicholas Piggin (2):
kbuild: linker script do not match C names unless LD_DEAD_CODE_DATA_ELIMINATION is configured
timers: Fix excessive granularity of new timers after a nohz idle

Nikhil Mahale (1):
drm: Fix framebuffer leak

Paolo Bonzini (3):
KVM: x86: simplify handling of PKRU
KVM, pkeys: do not use PKRU value in vcpu->arch.guest_fpu.state
KVM: x86: block guest protection keys unless the host has them enabled

Pavel Tatashin (1):
mm/memblock.c: reversed logic in memblock_discard()

Riley Andrews (1):
binder: Use wake up hint for synchronous transactions.

Ronnie Sahlberg (1):
cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup()

Ross Zwisler (1):
dax: fix deadlock due to misaligned PMD faults

Sachin Prabhu (1):
cifs: Fix df output for users with quota limits

Sakari Ailus (1):
ACPI: device property: Fix node lookup in acpi_graph_get_child_prop_value()

Srinivas Pandruvada (1):
iio: hid-sensor-trigger: Fix the race with user space powering up sensors

Steven Rostedt (VMware) (4):
tracing: Call clear_boot_tracer() at lateinit_sync
tracing: Fix freeing of filter in create_filter() when set_str is false
ring-buffer: Have ring_buffer_alloc_read_page() return error on offline CPU
ftrace: Check for null ret_stack on profile function graph entry function

Takashi Iwai (2):
ALSA: core: Fix unexpected error at replacing user TLV
ALSA: hda - Add stereo mic quirk for Lenovo G50-70 (17aa:3978)

Takashi Sakamoto (2):
ALSA: firewire: fix NULL pointer dereference when releasing uninitialized data of iso-resource
ALSA: firewire-motu: destroy stream data surely at failure of card initialization

Todd Kjos (2):
Revert "android: binder: Sanity check at binder ioctl"
binder: use group leader instead of open thread

Tushar Dave (1):
sparc64: remove unnecessary log message

Ulf Hansson (1):
i2c: designware: Fix system suspend

Vadim Lomovtsev (1):
net: sunrpc: svcsock: fix NULL-pointer exception

Vineet Gupta (1):
ARCv2: PAE40: set MSB even if !CONFIG_ARC_HAS_PAE40 but PAE exists in SoC

Wei Wang (2):
ipv6: reset fn->rr_ptr when replacing route
ipv6: repair fib6 tree in failure case

Xin Long (1):
net: sched: fix NULL pointer dereference when action calls some targets

fred gao (1):
drm/i915/gvt: Fix the kernel null pointer error

author maintainer
#1 lore raw
Makefile +4 -1
index 283c6236438e..6889ec6a091d 100644
@@ -1,6 +1,6 @@
 VERSION = 4
 PATCHLEVEL = 12
-SUBLEVEL = 0
+SUBLEVEL = 10
 EXTRAVERSION =
 NAME = Fearless Coyote
 
@@ -631,6 +631,9 @@ include arch/$(SRCARCH)/Makefile
 
 KBUILD_CFLAGS	+= $(call cc-option,-fno-delete-null-pointer-checks,)
 KBUILD_CFLAGS	+= $(call cc-disable-warning,frame-address,)
+KBUILD_CFLAGS	+= $(call cc-disable-warning, format-truncation)
+KBUILD_CFLAGS	+= $(call cc-disable-warning, format-overflow)
+KBUILD_CFLAGS	+= $(call cc-disable-warning, int-in-bool-context)
 
 ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
 KBUILD_CFLAGS	+= $(call cc-option,-Oz,-Os)
arch/arc/include/asm/cache.h +2 -0
index 19ebddffb279..02fd1cece6ef 100644
@@ -96,7 +96,9 @@ extern unsigned long perip_base, perip_end;
 #define ARC_REG_SLC_FLUSH	0x904
 #define ARC_REG_SLC_INVALIDATE	0x905
 #define ARC_REG_SLC_RGN_START	0x914
+#define ARC_REG_SLC_RGN_START1	0x915
 #define ARC_REG_SLC_RGN_END	0x916
+#define ARC_REG_SLC_RGN_END1	0x917
 
 /* Bit val in SLC_CONTROL */
 #define SLC_CTRL_DIS		0x001
arch/arc/include/asm/mmu.h +2 -0
index db7319e9b506..efb79fafff1d 100644
@@ -94,6 +94,8 @@ static inline int is_pae40_enabled(void)
 	return IS_ENABLED(CONFIG_ARC_HAS_PAE40);
 }
 
+extern int pae40_exist_but_not_enab(void);
+
 #endif	/* !__ASSEMBLY__ */
 
 #endif
arch/arc/mm/cache.c +42 -8

74 lines not on this page · raw message

arch/arc/mm/tlb.c +11 -1
index d0126fdfe2d8..b181f3ee38aa 100644
@@ -104,6 +104,8 @@
 /* A copy of the ASID from the PID reg is kept in asid_cache */
 DEFINE_PER_CPU(unsigned int, asid_cache) = MM_CTXT_FIRST_CYCLE;
 
+static int __read_mostly pae_exists;
+
 /*
  * Utility Routine to erase a J-TLB entry
  * Caller needs to setup Index Reg (manually or via getIndex)
@@ -784,7 +786,7 @@ void read_decode_mmu_bcr(void)
 		mmu->u_dtlb = mmu4->u_dtlb * 4;
 		mmu->u_itlb = mmu4->u_itlb * 4;
 		mmu->sasid = mmu4->sasid;
-		mmu->pae = mmu4->pae;
+		pae_exists = mmu->pae = mmu4->pae;
 	}
 }
 
@@ -809,6 +811,11 @@ char *arc_mmu_mumbojumbo(int cpu_id, char *buf, int len)
 	return buf;
 }
 
+int pae40_exist_but_not_enab(void)
+{
+	return pae_exists && !is_pae40_enabled();
+}
+
 void arc_mmu_init(void)
 {
 	char str[256];
@@ -859,6 +866,9 @@ void arc_mmu_init(void)
 	/* swapper_pg_dir is the pgd for the kernel, used by vmalloc */
 	write_aux_reg(ARC_REG_SCRATCH_DATA0, swapper_pg_dir);
 #endif
+
+	if (pae40_exist_but_not_enab())
+		write_aux_reg(ARC_REG_TLBPD1HI, 0);
 }
 
 /*
arch/arm/boot/dts/armada-388-gp.dts +2 -2
index 895fa6cfa15a..563901e0ec07 100644
@@ -75,7 +75,7 @@
 					pinctrl-names = "default";
 					pinctrl-0 = <&pca0_pins>;
 					interrupt-parent = <&gpio0>;
-					interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
+					interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
 					gpio-controller;
 					#gpio-cells = <2>;
 					interrupt-controller;
@@ -87,7 +87,7 @@
 					compatible = "nxp,pca9555";
 					pinctrl-names = "default";
 					interrupt-parent = <&gpio0>;
-					interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
+					interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
 					gpio-controller;
 					#gpio-cells = <2>;
 					interrupt-controller;
arch/arm/boot/dts/imx6qdl-nitrogen6_som2.dtsi +2 -2
index 559da17297ef..651299c242ec 100644
@@ -507,7 +507,7 @@
 	pinctrl_pcie: pciegrp {
 		fsl,pins = <
 			/* PCIe reset */
-			MX6QDL_PAD_EIM_BCLK__GPIO6_IO31	0x030b0
+			MX6QDL_PAD_EIM_DA0__GPIO3_IO00	0x030b0
 			MX6QDL_PAD_EIM_DA4__GPIO3_IO04	0x030b0
 		>;
 	};
@@ -668,7 +668,7 @@
 &pcie {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_pcie>;
-	reset-gpio = <&gpio6 31 GPIO_ACTIVE_LOW>;
+	reset-gpio = <&gpio3 0 GPIO_ACTIVE_LOW>;
 	status = "okay";
 };
 
arch/arm/boot/dts/tango4-vantage-1172.dts +1 -1
index 86d8df98802f..13bcc460bcb2 100644
@@ -22,7 +22,7 @@
 };
 
 &eth0 {
-	phy-connection-type = "rgmii";
+	phy-connection-type = "rgmii-id";
 	phy-handle = <&eth0_phy>;
 	#address-cells = <1>;
 	#size-cells = <0>;
arch/arm/include/asm/bug.h +1 -1
index 4e6e88a6b2f4..2244a94ed9c9 100644
@@ -37,7 +37,7 @@ do {								\
 		".pushsection .rodata.str, \"aMS\", %progbits, 1\n" \
 		"2:\t.asciz " #__file "\n" 			\
 		".popsection\n" 				\
-		".pushsection __bug_table,\"a\"\n"		\
+		".pushsection __bug_table,\"aw\"\n"		\
 		".align 2\n"					\
 		"3:\t.word 1b, 2b\n"				\
 		"\t.hword " #__line ", 0\n"			\
arch/arm/include/asm/elf.h +2 -6
index d2315ffd8f12..f13ae153fb24 100644
@@ -112,12 +112,8 @@ int dump_task_regs(struct task_struct *t, elf_gregset_t *elfregs);
 #define CORE_DUMP_USE_REGSET
 #define ELF_EXEC_PAGESIZE	4096
 
-/* This is the location that an ET_DYN program is loaded if exec'ed.  Typical
-   use of this is to invoke "./ld.so someprog" to test out a new version of
-   the loader.  We need to make sure that it is out of the way of the program
-   that it will "exec", and that there is sufficient room for the brk.  */
-
-#define ELF_ET_DYN_BASE	(TASK_SIZE / 3 * 2)
+/* This is the base location for PIE (ET_DYN with INTERP) loads. */
+#define ELF_ET_DYN_BASE		0x400000UL
 
 /* When the program starts, a1 contains a pointer to a function to be 
    registered with atexit, as per the SVR4 ABI.  A value of 0 means we 
arch/arm/mach-mvebu/platsmp.c +1 -1
index e62273aacb43..4ffbbd217e82 100644
@@ -211,7 +211,7 @@ static int mv98dx3236_resume_set_cpu_boot_addr(int hw_cpu, void *boot_addr)
 		return PTR_ERR(base);
 
 	writel(0, base + MV98DX3236_CPU_RESUME_CTRL_REG);
-	writel(virt_to_phys(boot_addr), base + MV98DX3236_CPU_RESUME_ADDR_REG);
+	writel(__pa_symbol(boot_addr), base + MV98DX3236_CPU_RESUME_ADDR_REG);
 
 	iounmap(base);
 
arch/arm64/boot/dts/marvell/armada-37xx.dtsi +5 -9
index 4d495ec39202..b69e4a4ecdd8 100644
@@ -75,14 +75,10 @@
 
 	timer {
 		compatible = "arm,armv8-timer";
-		interrupts = <GIC_PPI 13
-			(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>,
-			     <GIC_PPI 14
-			(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>,
-			     <GIC_PPI 11
-			(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>,
-			     <GIC_PPI 10
-			(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
+		interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
 	soc {
@@ -223,7 +219,7 @@
 				reg = <0x18800 0x100>, <0x18C00 0x20>;
 				gpiosb: gpio {
 					#gpio-cells = <2>;
-					gpio-ranges = <&pinctrl_sb 0 0 29>;
+					gpio-ranges = <&pinctrl_sb 0 0 30>;
 					gpio-controller;
 					interrupts =
 					<GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
arch/arm64/include/asm/bug.h +1 -1
index 366448eb0fb7..a02a57186f56 100644
@@ -36,7 +36,7 @@
 #ifdef CONFIG_GENERIC_BUG
 
 #define __BUG_ENTRY(flags) 				\
-		".pushsection __bug_table,\"a\"\n\t"	\
+		".pushsection __bug_table,\"aw\"\n\t"	\
 		".align 2\n\t"				\
 	"0:	.long 1f - 0b\n\t"			\
 _BUGVERBOSE_LOCATION(__FILE__, __LINE__)		\
arch/arm64/include/asm/elf.h +12 -6
index 5d1700425efe..3288c2b36731 100644
@@ -113,12 +113,11 @@
 #define ELF_EXEC_PAGESIZE	PAGE_SIZE
 
 /*
- * This is the location that an ET_DYN program is loaded if exec'ed.  Typical
- * use of this is to invoke "./ld.so someprog" to test out a new version of
- * the loader.  We need to make sure that it is out of the way of the program
- * that it will "exec", and that there is sufficient room for the brk.
+ * This is the base location for PIE (ET_DYN with INTERP) loads. On
+ * 64-bit, this is above 4GB to leave the entire 32-bit address
+ * space open for things that want to use the area for 32-bit pointers.
  */
-#define ELF_ET_DYN_BASE	(2 * TASK_SIZE_64 / 3)
+#define ELF_ET_DYN_BASE		(2 * TASK_SIZE_64 / 3)
 
 #ifndef __ASSEMBLY__
 
@@ -142,6 +141,7 @@ typedef struct user_fpsimd_state elf_fpregset_t;
 ({									\
 	clear_bit(TIF_32BIT, &current->mm->context.flags);		\
 	clear_thread_flag(TIF_32BIT);					\
+	current->personality &= ~READ_IMPLIES_EXEC;			\
 })
 
 /* update AT_VECTOR_SIZE_ARCH if the number of NEW_AUX_ENT entries changes */
@@ -173,7 +173,8 @@ extern int arch_setup_additional_pages(struct linux_binprm *bprm,
 
 #ifdef CONFIG_COMPAT
 
-#define COMPAT_ELF_ET_DYN_BASE		(2 * TASK_SIZE_32 / 3)
+/* PIE load location for compat arm. Must match ARM ELF_ET_DYN_BASE. */
+#define COMPAT_ELF_ET_DYN_BASE		0x000400000UL
 
 /* AArch32 registers. */
 #define COMPAT_ELF_NGREG		18
@@ -187,6 +188,11 @@ typedef compat_elf_greg_t		compat_elf_gregset_t[COMPAT_ELF_NGREG];
 					 ((x)->e_flags & EF_ARM_EABI_MASK))
 
 #define compat_start_thread		compat_start_thread
+/*
+ * Unlike the native SET_PERSONALITY macro, the compat version inherits
+ * READ_IMPLIES_EXEC across a fork() since this is the behaviour on
+ * arch/arm/.
+ */
 #define COMPAT_SET_PERSONALITY(ex)					\
 ({									\
 	set_bit(TIF_32BIT, &current->mm->context.flags);		\
arch/arm64/kernel/fpsimd.c +2 -0
index 06da8ea16bbe..c7b4995868e1 100644
@@ -161,9 +161,11 @@ void fpsimd_flush_thread(void)
 {
 	if (!system_supports_fpsimd())
 		return;
+	preempt_disable();
 	memset(&current->thread.fpsimd_state, 0, sizeof(struct fpsimd_state));
 	fpsimd_flush_task_state(current);
 	set_thread_flag(TIF_FOREIGN_FPSTATE);
+	preempt_enable();
 }
 
 /*
arch/blackfin/include/asm/bug.h +2 -2
index 8d9b1eba89c4..76b2e82ee730 100644
@@ -21,7 +21,7 @@
 #define _BUG_OR_WARN(flags)						\
 	asm volatile(							\
 		"1:	.hword	%0\n"					\
-		"	.section __bug_table,\"a\",@progbits\n"		\
+		"	.section __bug_table,\"aw\",@progbits\n"	\
 		"2:	.long	1b\n"					\
 		"	.long	%1\n"					\
 		"	.short	%2\n"					\
@@ -38,7 +38,7 @@
 #define _BUG_OR_WARN(flags)						\
 	asm volatile(							\
 		"1:	.hword	%0\n"					\
-		"	.section __bug_table,\"a\",@progbits\n"		\
+		"	.section __bug_table,\"aw\",@progbits\n"	\
 		"2:	.long	1b\n"					\
 		"	.short	%1\n"					\
 		"	.org	2b + %2\n"				\
arch/mips/dec/int-handler.S +6 -28
index 1910223a9c02..cea2bb1621e6 100644
@@ -147,23 +147,12 @@
 		 * Find irq with highest priority
 		 */
 		# open coded PTR_LA t1, cpu_mask_nr_tbl
-#if (_MIPS_SZPTR == 32)
+#if defined(CONFIG_32BIT) || defined(KBUILD_64BIT_SYM32)
 		# open coded la t1, cpu_mask_nr_tbl
 		lui	t1, %hi(cpu_mask_nr_tbl)
 		addiu	t1, %lo(cpu_mask_nr_tbl)
-
-#endif
-#if (_MIPS_SZPTR == 64)
-		# open coded dla t1, cpu_mask_nr_tbl
-		.set	push
-		.set	noat
-		lui	t1, %highest(cpu_mask_nr_tbl)
-		lui	AT, %hi(cpu_mask_nr_tbl)
-		daddiu	t1, t1, %higher(cpu_mask_nr_tbl)
-		daddiu	AT, AT, %lo(cpu_mask_nr_tbl)
-		dsll	t1, 32
-		daddu	t1, t1, AT
-		.set	pop
+#else
+#error GCC `-msym32' option required for 64-bit DECstation builds
 #endif
 1:		lw	t2,(t1)
 		nop
@@ -214,23 +203,12 @@
 		 * Find irq with highest priority
 		 */
 		# open coded PTR_LA t1,asic_mask_nr_tbl
-#if (_MIPS_SZPTR == 32)
+#if defined(CONFIG_32BIT) || defined(KBUILD_64BIT_SYM32)
 		# open coded la t1, asic_mask_nr_tbl
 		lui	t1, %hi(asic_mask_nr_tbl)
 		addiu	t1, %lo(asic_mask_nr_tbl)
-
-#endif
-#if (_MIPS_SZPTR == 64)
-		# open coded dla t1, asic_mask_nr_tbl
-		.set	push
-		.set	noat
-		lui	t1, %highest(asic_mask_nr_tbl)
-		lui	AT, %hi(asic_mask_nr_tbl)
-		daddiu	t1, t1, %higher(asic_mask_nr_tbl)
-		daddiu	AT, AT, %lo(asic_mask_nr_tbl)
-		dsll	t1, 32
-		daddu	t1, t1, AT
-		.set	pop
+#else
+#error GCC `-msym32' option required for 64-bit DECstation builds
 #endif
 2:		lw	t2,(t1)
 		nop
arch/mips/include/asm/branch.h +1 -4
index de781cf54bc7..da80878f2c0d 100644
@@ -74,10 +74,7 @@ static inline int compute_return_epc(struct pt_regs *regs)
 			return __microMIPS_compute_return_epc(regs);
 		if (cpu_has_mips16)
 			return __MIPS16e_compute_return_epc(regs);
-		return regs->cp0_epc;
-	}
-
-	if (!delay_slot(regs)) {
+	} else if (!delay_slot(regs)) {
 		regs->cp0_epc += 4;
 		return 0;
 	}
arch/mips/include/asm/cache.h +2 -0
index fc67947ed658..8b14c2706aa5 100644
@@ -9,6 +9,8 @@
 #ifndef _ASM_CACHE_H
 #define _ASM_CACHE_H
 
+#include <kmalloc.h>
+
 #define L1_CACHE_SHIFT		CONFIG_MIPS_L1_CACHE_SHIFT
 #define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)
 
arch/mips/include/asm/mach-ralink/ralink_regs.h +2 -0
index 9df1a53bcb36..b4e7dfa214eb 100644
@@ -13,6 +13,8 @@
 #ifndef _RALINK_REGS_H_
 #define _RALINK_REGS_H_
 
+#include <linux/io.h>
+
 enum ralink_soc_type {
 	RALINK_UNKNOWN = 0,
 	RT2880_SOC,
arch/mips/include/asm/octeon/cvmx-l2c-defs.h +36 -1
index d045973ddb33..3ea84acf1814 100644
@@ -33,6 +33,10 @@
 #define CVMX_L2C_DBG (CVMX_ADD_IO_SEG(0x0001180080000030ull))
 #define CVMX_L2C_CFG (CVMX_ADD_IO_SEG(0x0001180080000000ull))
 #define CVMX_L2C_CTL (CVMX_ADD_IO_SEG(0x0001180080800000ull))
+#define CVMX_L2C_ERR_TDTX(block_id)					       \
+	(CVMX_ADD_IO_SEG(0x0001180080A007E0ull) + ((block_id) & 3) * 0x40000ull)
+#define CVMX_L2C_ERR_TTGX(block_id)					       \
+	(CVMX_ADD_IO_SEG(0x0001180080A007E8ull) + ((block_id) & 3) * 0x40000ull)
 #define CVMX_L2C_LCKBASE (CVMX_ADD_IO_SEG(0x0001180080000058ull))
 #define CVMX_L2C_LCKOFF (CVMX_ADD_IO_SEG(0x0001180080000060ull))
 #define CVMX_L2C_PFCTL (CVMX_ADD_IO_SEG(0x0001180080000090ull))
@@ -66,9 +70,40 @@
 		((offset) & 1) * 8)
 #define CVMX_L2C_WPAR_PPX(offset) (CVMX_ADD_IO_SEG(0x0001180080840000ull)    + \
 		((offset) & 31) * 8)
-#define CVMX_L2D_FUS3 (CVMX_ADD_IO_SEG(0x00011800800007B8ull))
 
 
+union cvmx_l2c_err_tdtx {
+	uint64_t u64;
+	struct cvmx_l2c_err_tdtx_s {
+		__BITFIELD_FIELD(uint64_t dbe:1,
+		__BITFIELD_FIELD(uint64_t sbe:1,
+		__BITFIELD_FIELD(uint64_t vdbe:1,
+		__BITFIELD_FIELD(uint64_t vsbe:1,
+		__BITFIELD_FIELD(uint64_t syn:10,
+		__BITFIELD_FIELD(uint64_t reserved_22_49:28,
+		__BITFIELD_FIELD(uint64_t wayidx:18,
+		__BITFIELD_FIELD(uint64_t reserved_2_3:2,
+		__BITFIELD_FIELD(uint64_t type:2,
+		;)))))))))
+	} s;
+};
+
+union cvmx_l2c_err_ttgx {
+	uint64_t u64;
+	struct cvmx_l2c_err_ttgx_s {
+		__BITFIELD_FIELD(uint64_t dbe:1,
+		__BITFIELD_FIELD(uint64_t sbe:1,
+		__BITFIELD_FIELD(uint64_t noway:1,
+		__BITFIELD_FIELD(uint64_t reserved_56_60:5,
+		__BITFIELD_FIELD(uint64_t syn:6,
+		__BITFIELD_FIELD(uint64_t reserved_22_49:28,
+		__BITFIELD_FIELD(uint64_t wayidx:15,
+		__BITFIELD_FIELD(uint64_t reserved_2_6:5,
+		__BITFIELD_FIELD(uint64_t type:2,
+		;)))))))))
+	} s;
+};
+
 union cvmx_l2c_cfg {
 	uint64_t u64;
 	struct cvmx_l2c_cfg_s {
arch/mips/include/asm/octeon/cvmx-l2d-defs.h new file +60 -0

60 lines not on this page · raw message

arch/mips/include/asm/octeon/cvmx.h +1 -0
index 9742202f2a32..e638735cc3ac 100644
@@ -62,6 +62,7 @@ enum cvmx_mips_space {
 #include <asm/octeon/cvmx-iob-defs.h>
 #include <asm/octeon/cvmx-ipd-defs.h>
 #include <asm/octeon/cvmx-l2c-defs.h>
+#include <asm/octeon/cvmx-l2d-defs.h>
 #include <asm/octeon/cvmx-l2t-defs.h>
 #include <asm/octeon/cvmx-led-defs.h>
 #include <asm/octeon/cvmx-mio-defs.h>
arch/mips/kernel/branch.c +32 -39

170 lines not on this page · raw message

arch/mips/kernel/proc.c +1 -1
index 4eff2aed7360..4c01ee5b88c9 100644
@@ -83,7 +83,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
 	}
 
 	seq_printf(m, "isa\t\t\t:"); 
-	if (cpu_has_mips_r1)
+	if (cpu_has_mips_1)
 		seq_printf(m, " mips1");
 	if (cpu_has_mips_2)
 		seq_printf(m, "%s", " mips2");
arch/mips/kernel/ptrace.c +1 -1
index 6931fe722a0b..8c99ff1d8c3c 100644
@@ -895,7 +895,7 @@ asmlinkage void syscall_trace_leave(struct pt_regs *regs)
 	audit_syscall_exit(regs);
 
 	if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT)))
-		trace_sys_exit(regs, regs->regs[2]);
+		trace_sys_exit(regs, regs_return_value(regs));
 
 	if (test_thread_flag(TIF_SYSCALL_TRACE))
 		tracehook_report_syscall_exit(regs, 0);
arch/mips/kernel/scall32-o32.S +1 -1
index 80ed68b2c95e..27c2f90eeb21 100644
@@ -371,7 +371,7 @@ EXPORT(sys_call_table)
 	PTR	sys_writev
 	PTR	sys_cacheflush
 	PTR	sys_cachectl
-	PTR	sys_sysmips
+	PTR	__sys_sysmips
 	PTR	sys_ni_syscall			/* 4150 */
 	PTR	sys_getsid
 	PTR	sys_fdatasync
arch/mips/kernel/scall64-64.S +1 -1
index 49765b44aa9b..65d5aeeb9bdb 100644
@@ -311,7 +311,7 @@ EXPORT(sys_call_table)
 	PTR	sys_sched_getaffinity
 	PTR	sys_cacheflush
 	PTR	sys_cachectl
-	PTR	sys_sysmips
+	PTR	__sys_sysmips
 	PTR	sys_io_setup			/* 5200 */
 	PTR	sys_io_destroy
 	PTR	sys_io_getevents
arch/mips/kernel/scall64-n32.S +1 -1
index 90bad2d1b2d3..cbf190ef9e8a 100644
@@ -302,7 +302,7 @@ EXPORT(sysn32_call_table)
 	PTR	compat_sys_sched_getaffinity
 	PTR	sys_cacheflush
 	PTR	sys_cachectl
-	PTR	sys_sysmips
+	PTR	__sys_sysmips
 	PTR	compat_sys_io_setup			/* 6200 */
 	PTR	sys_io_destroy
 	PTR	compat_sys_io_getevents
arch/mips/kernel/scall64-o32.S +1 -1
index 2dd70bd104e1..c30bc520885f 100644
@@ -371,7 +371,7 @@ EXPORT(sys32_call_table)
 	PTR	compat_sys_writev
 	PTR	sys_cacheflush
 	PTR	sys_cachectl
-	PTR	sys_sysmips
+	PTR	__sys_sysmips
 	PTR	sys_ni_syscall			/* 4150 */
 	PTR	sys_getsid
 	PTR	sys_fdatasync
arch/mips/kernel/syscall.c +12 -3
index 1dfa7f5796c7..863f958c126c 100644
@@ -29,6 +29,7 @@
 #include <linux/sched/task_stack.h>
 
 #include <asm/asm.h>
+#include <asm/asm-eva.h>
 #include <asm/branch.h>
 #include <asm/cachectl.h>
 #include <asm/cacheflush.h>
@@ -131,10 +132,12 @@ static inline int mips_atomic_set(unsigned long addr, unsigned long new)
 		__asm__ __volatile__ (
 		"	.set	"MIPS_ISA_ARCH_LEVEL"			\n"
 		"	li	%[err], 0				\n"
-		"1:	ll	%[old], (%[addr])			\n"
+		"1:							\n"
+		user_ll("%[old]", "(%[addr])")
 		"	move	%[tmp], %[new]				\n"
-		"2:	sc	%[tmp], (%[addr])			\n"
-		"	bnez	%[tmp], 4f				\n"
+		"2:							\n"
+		user_sc("%[tmp]", "(%[addr])")
+		"	beqz	%[tmp], 4f				\n"
 		"3:							\n"
 		"	.insn						\n"
 		"	.subsection 2					\n"
@@ -192,6 +195,12 @@ static inline int mips_atomic_set(unsigned long addr, unsigned long new)
 	unreachable();
 }
 
+/*
+ * mips_atomic_set() normally returns directly via syscall_exit potentially
+ * clobbering static registers, so be sure to preserve them.
+ */
+save_static_function(sys_sysmips);
+
 SYSCALL_DEFINE3(sysmips, long, cmd, long, arg1, long, arg2)
 {
 	switch (cmd) {
arch/mips/math-emu/cp1emu.c +38 -0
index f12fde10c8ad..261915265942 100644
@@ -2524,6 +2524,35 @@ static int fpu_emu(struct pt_regs *xcp, struct mips_fpu_struct *ctx,
 	return 0;
 }
 
+/*
+ * Emulate FPU instructions.
+ *
+ * If we use FPU hardware, then we have been typically called to handle
+ * an unimplemented operation, such as where an operand is a NaN or
+ * denormalized.  In that case exit the emulation loop after a single
+ * iteration so as to let hardware execute any subsequent instructions.
+ *
+ * If we have no FPU hardware or it has been disabled, then continue
+ * emulating floating-point instructions until one of these conditions
+ * has occurred:
+ *
+ * - a non-FPU instruction has been encountered,
+ *
+ * - an attempt to emulate has ended with a signal,
+ *
+ * - the ISA mode has been switched.
+ *
+ * We need to terminate the emulation loop if we got switched to the
+ * MIPS16 mode, whether supported or not, so that we do not attempt
+ * to emulate a MIPS16 instruction as a regular MIPS FPU instruction.
+ * Similarly if we got switched to the microMIPS mode and only the
+ * regular MIPS mode is supported, so that we do not attempt to emulate
+ * a microMIPS instruction as a regular MIPS FPU instruction.  Or if
+ * we got switched to the regular MIPS mode and only the microMIPS mode
+ * is supported, so that we do not attempt to emulate a regular MIPS
+ * instruction that should cause an Address Error exception instead.
+ * For simplicity we always terminate upon an ISA mode switch.
+ */
 int fpu_emulator_cop1Handler(struct pt_regs *xcp, struct mips_fpu_struct *ctx,
 	int has_fpu, void *__user *fault_addr)
 {
@@ -2609,6 +2638,15 @@ int fpu_emulator_cop1Handler(struct pt_regs *xcp, struct mips_fpu_struct *ctx,
 			break;
 		if (sig)
 			break;
+		/*
+		 * We have to check for the ISA bit explicitly here,
+		 * because `get_isa16_mode' may return 0 if support
+		 * for code compression has been globally disabled,
+		 * or otherwise we may produce the wrong signal or
+		 * even proceed successfully where we must not.
+		 */
+		if ((xcp->cp0_epc ^ prevepc) & 0x1)
+			break;
 
 		cond_resched();
 	} while (xcp->cp0_epc > prevepc);
arch/mn10300/include/asm/bug.h +1 -1
index aa6a38886391..811414fb002d 100644
@@ -21,7 +21,7 @@ do {								\
 	asm volatile(						\
 		"	syscall 15			\n"	\
 		"0:					\n"	\
-		"	.section __bug_table,\"a\"	\n"	\
+		"	.section __bug_table,\"aw\"	\n"	\
 		"	.long 0b,%0,%1			\n"	\
 		"	.previous			\n"	\
 		:						\
arch/parisc/include/asm/bug.h +3 -3
index d2742273a685..07ea467f22fc 100644
@@ -27,7 +27,7 @@
 	do {								\
 		asm volatile("\n"					\
 			     "1:\t" PARISC_BUG_BREAK_ASM "\n"		\
-			     "\t.pushsection __bug_table,\"a\"\n"	\
+			     "\t.pushsection __bug_table,\"aw\"\n"	\
 			     "2:\t" ASM_WORD_INSN "1b, %c0\n"		\
 			     "\t.short %c1, %c2\n"			\
 			     "\t.org 2b+%c3\n"				\
@@ -50,7 +50,7 @@
 	do {								\
 		asm volatile("\n"					\
 			     "1:\t" PARISC_BUG_BREAK_ASM "\n"		\
-			     "\t.pushsection __bug_table,\"a\"\n"	\
+			     "\t.pushsection __bug_table,\"aw\"\n"	\
 			     "2:\t" ASM_WORD_INSN "1b, %c0\n"		\
 			     "\t.short %c1, %c2\n"			\
 			     "\t.org 2b+%c3\n"				\
@@ -64,7 +64,7 @@
 	do {								\
 		asm volatile("\n"					\
 			     "1:\t" PARISC_BUG_BREAK_ASM "\n"		\
-			     "\t.pushsection __bug_table,\"a\"\n"	\
+			     "\t.pushsection __bug_table,\"aw\"\n"	\
 			     "2:\t" ASM_WORD_INSN "1b\n"		\
 			     "\t.short %c0\n"				\
 			     "\t.org 2b+%c1\n"				\
arch/parisc/include/asm/dma-mapping.h +7 -4
index 5404c6a726b2..9a2a8956a695 100644
@@ -20,6 +20,8 @@
 ** flush/purge and allocate "regular" cacheable pages for everything.
 */
 
+#define DMA_ERROR_CODE	(~(dma_addr_t)0)
+
 #ifdef CONFIG_PA11
 extern const struct dma_map_ops pcxl_dma_ops;
 extern const struct dma_map_ops pcx_dma_ops;
@@ -54,12 +56,13 @@ parisc_walk_tree(struct device *dev)
 			break;
 		}
 	}
-	BUG_ON(!dev->platform_data);
 	return dev->platform_data;
 }
-		
-#define GET_IOC(dev) (HBA_DATA(parisc_walk_tree(dev))->iommu)
-	
+
+#define GET_IOC(dev) ({					\
+	void *__pdata = parisc_walk_tree(dev);		\
+	__pdata ? HBA_DATA(__pdata)->iommu : NULL;	\
+})
 
 #ifdef CONFIG_IOMMU_CCIO
 struct parisc_device;
arch/parisc/include/asm/mmu_context.h +13 -2
index 59be25764433..a81226257878 100644
@@ -49,15 +49,26 @@ static inline void load_context(mm_context_t context)
 	mtctl(__space_to_prot(context), 8);
 }
 
-static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk)
+static inline void switch_mm_irqs_off(struct mm_struct *prev,
+		struct mm_struct *next, struct task_struct *tsk)
 {
-
 	if (prev != next) {
 		mtctl(__pa(next->pgd), 25);
 		load_context(next->context);
 	}
 }
 
+static inline void switch_mm(struct mm_struct *prev,
+		struct mm_struct *next, struct task_struct *tsk)
+{
+	unsigned long flags;
+
+	local_irq_save(flags);
+	switch_mm_irqs_off(prev, next, tsk);
+	local_irq_restore(flags);
+}
+#define switch_mm_irqs_off switch_mm_irqs_off
+
 #define deactivate_mm(tsk,mm)	do { } while (0)
 
 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next)
arch/parisc/include/asm/thread_info.h +1 -1
index 88fe0aad4390..bc208136bbb2 100644
@@ -34,7 +34,7 @@ struct thread_info {
 
 /* thread information allocation */
 
-#define THREAD_SIZE_ORDER	2 /* PA-RISC requires at least 16k stack */
+#define THREAD_SIZE_ORDER	3 /* PA-RISC requires at least 32k stack */
 /* Be sure to hunt all references to this down when you change the size of
  * the kernel stack */
 #define THREAD_SIZE             (PAGE_SIZE << THREAD_SIZE_ORDER)
arch/parisc/kernel/cache.c +16 -23
index c32a09095216..19c0c141bc3f 100644
@@ -453,8 +453,8 @@ void copy_user_page(void *vto, void *vfrom, unsigned long vaddr,
 	  before it can be accessed through the kernel mapping. */
 	preempt_disable();
 	flush_dcache_page_asm(__pa(vfrom), vaddr);
-	preempt_enable();
 	copy_page_asm(vto, vfrom);
+	preempt_enable();
 }
 EXPORT_SYMBOL(copy_user_page);
 
@@ -539,6 +539,10 @@ void flush_cache_mm(struct mm_struct *mm)
 	struct vm_area_struct *vma;
 	pgd_t *pgd;
 
+	/* Flush the TLB to avoid speculation if coherency is required. */
+	if (parisc_requires_coherency())
+		flush_tlb_all();
+
 	/* Flushing the whole cache on each cpu takes forever on
 	   rp3440, etc.  So, avoid it if the mm isn't too big.  */
 	if (mm_total_size(mm) >= parisc_cache_flush_threshold) {
@@ -577,33 +581,21 @@ void flush_cache_mm(struct mm_struct *mm)
 void flush_cache_range(struct vm_area_struct *vma,
 		unsigned long start, unsigned long end)
 {
-	unsigned long addr;
-	pgd_t *pgd;
-
 	BUG_ON(!vma->vm_mm->context);
 
-	if ((end - start) >= parisc_cache_flush_threshold) {
-		flush_cache_all();
-		return;
-	}
+	/* Flush the TLB to avoid speculation if coherency is required. */
+	if (parisc_requires_coherency())
+		flush_tlb_range(vma, start, end);
 
-	if (vma->vm_mm->context == mfsp(3)) {
-		flush_user_dcache_range_asm(start, end);
-		if (vma->vm_flags & VM_EXEC)
-			flush_user_icache_range_asm(start, end);
+	if ((end - start) >= parisc_cache_flush_threshold
+	    || vma->vm_mm->context != mfsp(3)) {
+		flush_cache_all();
 		return;
 	}
 
-	pgd = vma->vm_mm->pgd;
-	for (addr = start & PAGE_MASK; addr < end; addr += PAGE_SIZE) {
-		unsigned long pfn;
-		pte_t *ptep = get_ptep(pgd, addr);
-		if (!ptep)
-			continue;
-		pfn = pte_pfn(*ptep);
-		if (pfn_valid(pfn))
-			__flush_cache_page(vma, addr, PFN_PHYS(pfn));
-	}
+	flush_user_dcache_range_asm(start, end);
+	if (vma->vm_flags & VM_EXEC)
+		flush_user_icache_range_asm(start, end);
 }
 
 void
@@ -612,7 +604,8 @@ flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long
 	BUG_ON(!vma->vm_mm->context);
 
 	if (pfn_valid(pfn)) {
-		flush_tlb_page(vma, vmaddr);
+		if (parisc_requires_coherency())
+			flush_tlb_page(vma, vmaddr);
 		__flush_cache_page(vma, vmaddr, PFN_PHYS(pfn));
 	}
 }
arch/parisc/kernel/irq.c +1 -1
index ba5e1c7b1f17..ef9a4eea662f 100644
@@ -380,7 +380,7 @@ static inline int eirr_to_irq(unsigned long eirr)
 /*
  * IRQ STACK - used for irq handler
  */
-#define IRQ_STACK_SIZE      (4096 << 2) /* 16k irq stack size */
+#define IRQ_STACK_SIZE      (4096 << 3) /* 32k irq stack size */
 
 union irq_stack_union {
 	unsigned long stack[IRQ_STACK_SIZE/sizeof(unsigned long)];
arch/parisc/kernel/process.c +2 -0
index b64d7d21646e..a45a67d526f8 100644
@@ -53,6 +53,7 @@
 #include <linux/uaccess.h>
 #include <linux/rcupdate.h>
 #include <linux/random.h>
+#include <linux/nmi.h>
 
 #include <asm/io.h>
 #include <asm/asm-offsets.h>
@@ -145,6 +146,7 @@ void machine_power_off(void)
 
 	/* prevent soft lockup/stalled CPU messages for endless loop. */
 	rcu_sysrq_start();
+	lockup_detector_suspend();
 	for (;;);
 }
 
arch/parisc/kernel/syscall_table.S +1 -1
index 44aeaa9c039f..6308749359e4 100644
@@ -361,7 +361,7 @@
 	ENTRY_SAME(ni_syscall)	/* 263: reserved for vserver */
 	ENTRY_SAME(add_key)
 	ENTRY_SAME(request_key)		/* 265 */
-	ENTRY_SAME(keyctl)
+	ENTRY_COMP(keyctl)
 	ENTRY_SAME(ioprio_set)
 	ENTRY_SAME(ioprio_get)
 	ENTRY_SAME(inotify_init)
arch/parisc/mm/fault.c +1 -1
index 32ec22146141..9fd95fec9717 100644
@@ -367,7 +367,7 @@ void do_page_fault(struct pt_regs *regs, unsigned long code,
 		case 15:	/* Data TLB miss fault/Data page fault */
 			/* send SIGSEGV when outside of vma */
 			if (!vma ||
-			    address < vma->vm_start || address > vma->vm_end) {
+			    address < vma->vm_start || address >= vma->vm_end) {
 				si.si_signo = SIGSEGV;
 				si.si_code = SEGV_MAPERR;
 				break;
arch/powerpc/include/asm/atomic.h +2 -2
index 2b90335194a7..a2cc8010cd72 100644
@@ -560,7 +560,7 @@ static __inline__ int atomic64_add_unless(atomic64_t *v, long a, long u)
  * Atomically increments @v by 1, so long as @v is non-zero.
  * Returns non-zero if @v was non-zero, and zero otherwise.
  */
-static __inline__ long atomic64_inc_not_zero(atomic64_t *v)
+static __inline__ int atomic64_inc_not_zero(atomic64_t *v)
 {
 	long t1, t2;
 
@@ -579,7 +579,7 @@ static __inline__ long atomic64_inc_not_zero(atomic64_t *v)
 	: "r" (&v->counter)
 	: "cc", "xer", "memory");
 
-	return t1;
+	return t1 != 0;
 }
 
 #endif /* __powerpc64__ */
arch/powerpc/include/asm/bug.h +4 -4
index 0151af6c2a50..87fcc1948817 100644
@@ -18,7 +18,7 @@
 #include <asm/asm-offsets.h>
 #ifdef CONFIG_DEBUG_BUGVERBOSE
 .macro EMIT_BUG_ENTRY addr,file,line,flags
-	 .section __bug_table,"a"
+	 .section __bug_table,"aw"
 5001:	 PPC_LONG \addr, 5002f
 	 .short \line, \flags
 	 .org 5001b+BUG_ENTRY_SIZE
@@ -29,7 +29,7 @@
 .endm
 #else
 .macro EMIT_BUG_ENTRY addr,file,line,flags
-	 .section __bug_table,"a"
+	 .section __bug_table,"aw"
 5001:	 PPC_LONG \addr
 	 .short \flags
 	 .org 5001b+BUG_ENTRY_SIZE
@@ -42,14 +42,14 @@
    sizeof(struct bug_entry), respectively */
 #ifdef CONFIG_DEBUG_BUGVERBOSE
 #define _EMIT_BUG_ENTRY				\
-	".section __bug_table,\"a\"\n"		\
+	".section __bug_table,\"aw\"\n"		\
 	"2:\t" PPC_LONG "1b, %0\n"		\
 	"\t.short %1, %2\n"			\
 	".org 2b+%3\n"				\
 	".previous\n"
 #else
 #define _EMIT_BUG_ENTRY				\
-	".section __bug_table,\"a\"\n"		\
+	".section __bug_table,\"aw\"\n"		\
 	"2:\t" PPC_LONG "1b\n"			\
 	"\t.short %2\n"				\
 	".org 2b+%3\n"				\
arch/powerpc/include/asm/elf.h +7 -6
index 09bde6e34f5d..548d9a411a0d 100644
@@ -23,12 +23,13 @@
 #define CORE_DUMP_USE_REGSET
 #define ELF_EXEC_PAGESIZE	PAGE_SIZE
 
-/* This is the location that an ET_DYN program is loaded if exec'ed.  Typical
-   use of this is to invoke "./ld.so someprog" to test out a new version of
-   the loader.  We need to make sure that it is out of the way of the program
-   that it will "exec", and that there is sufficient room for the brk.  */
-
-#define ELF_ET_DYN_BASE	0x20000000
+/*
+ * This is the base location for PIE (ET_DYN with INTERP) loads. On
+ * 64-bit, this is raised to 4GB to leave the entire 32-bit address
+ * space open for things that want to use the area for 32-bit pointers.
+ */
+#define ELF_ET_DYN_BASE		(is_32bit_task() ? 0x000400000UL : \
+						   0x100000000UL)
 
 #define ELF_CORE_EFLAGS (is_elf2_task() ? 2 : 0)
 
arch/powerpc/include/asm/mmu_context.h +19 -1
index da7e9432fa8f..db80b301c080 100644
@@ -80,9 +80,27 @@ static inline void switch_mm_irqs_off(struct mm_struct *prev,
 				      struct task_struct *tsk)
 {
 	/* Mark this context has been used on the new CPU */
-	if (!cpumask_test_cpu(smp_processor_id(), mm_cpumask(next)))
+	if (!cpumask_test_cpu(smp_processor_id(), mm_cpumask(next))) {
 		cpumask_set_cpu(smp_processor_id(), mm_cpumask(next));
 
+		/*
+		 * This full barrier orders the store to the cpumask above vs
+		 * a subsequent operation which allows this CPU to begin loading
+		 * translations for next.
+		 *
+		 * When using the radix MMU that operation is the load of the
+		 * MMU context id, which is then moved to SPRN_PID.
+		 *
+		 * For the hash MMU it is either the first load from slb_cache
+		 * in switch_slb(), and/or the store of paca->mm_ctx_id in
+		 * copy_mm_to_paca().
+		 *
+		 * On the read side the barrier is in pte_xchg(), which orders
+		 * the store to the PTE vs the load of mm_cpumask.
+		 */
+		smp_mb();
+	}
+
 	/* 32-bit keeps track of the current PGDIR in the thread struct */
 #ifdef CONFIG_PPC32
 	tsk->thread.pgdir = next->pgd;
arch/powerpc/include/asm/pgtable-be-types.h +1 -0
index 9c0f5db5cf46..67e7e3d990f4 100644
@@ -87,6 +87,7 @@ static inline bool pte_xchg(pte_t *ptep, pte_t old, pte_t new)
 	unsigned long *p = (unsigned long *)ptep;
 	__be64 prev;
 
+	/* See comment in switch_mm_irqs_off() */
 	prev = (__force __be64)__cmpxchg_u64(p, (__force unsigned long)pte_raw(old),
 					     (__force unsigned long)pte_raw(new));
 
arch/powerpc/include/asm/pgtable-types.h +1 -0
index 8bd3b13fe2fb..369a164b545c 100644
@@ -62,6 +62,7 @@ static inline bool pte_xchg(pte_t *ptep, pte_t old, pte_t new)
 {
 	unsigned long *p = (unsigned long *)ptep;
 
+	/* See comment in switch_mm_irqs_off() */
 	return pte_val(old) == __cmpxchg_u64(p, pte_val(old), pte_val(new));
 }
 #endif
arch/powerpc/include/asm/reg.h +1 -1
index 7e50e47375d6..a3b6575c7842 100644
@@ -1303,7 +1303,7 @@ static inline void msr_check_and_clear(unsigned long bits)
 				"	.llong 0\n"			\
 				".previous"				\
 			: "=r" (rval) \
-			: "i" (CPU_FTR_CELL_TB_BUG), "i" (SPRN_TBRL)); \
+			: "i" (CPU_FTR_CELL_TB_BUG), "i" (SPRN_TBRL) : "cr0"); \
 			rval;})
 #else
 #define mftb()		({unsigned long rval;	\
arch/powerpc/kernel/irq.c +14 -1
index 5c291df30fe3..40d8b552d15a 100644
@@ -145,6 +145,19 @@ notrace unsigned int __check_irq_replay(void)
 
 	/* Clear bit 0 which we wouldn't clear otherwise */
 	local_paca->irq_happened &= ~PACA_IRQ_HARD_DIS;
+	if (happened & PACA_IRQ_HARD_DIS) {
+		/*
+		 * We may have missed a decrementer interrupt if hard disabled.
+		 * Check the decrementer register in case we had a rollover
+		 * while hard disabled.
+		 */
+		if (!(happened & PACA_IRQ_DEC)) {
+			if (decrementer_check_overflow()) {
+				local_paca->irq_happened |= PACA_IRQ_DEC;
+				happened |= PACA_IRQ_DEC;
+			}
+		}
+	}
 
 	/*
 	 * Force the delivery of pending soft-disabled interrupts on PS3.
@@ -170,7 +183,7 @@ notrace unsigned int __check_irq_replay(void)
 	 * in case we also had a rollover while hard disabled
 	 */
 	local_paca->irq_happened &= ~PACA_IRQ_DEC;
-	if ((happened & PACA_IRQ_DEC) || decrementer_check_overflow())
+	if (happened & PACA_IRQ_DEC)
 		return 0x900;
 
 	/* Finally check if an external interrupt happened */
arch/powerpc/kernel/misc_64.S +12 -0
index c119044cad0d..8ac0bd2bddb0 100644
@@ -614,6 +614,18 @@ _GLOBAL(kexec_sequence)
 	li	r0,0
 	std	r0,16(r1)
 
+BEGIN_FTR_SECTION
+	/*
+	 * This is the best time to turn AMR/IAMR off.
+	 * key 0 is used in radix for supervisor<->user
+	 * protection, but on hash key 0 is reserved
+	 * ideally we want to enter with a clean state.
+	 * NOTE, we rely on r0 being 0 from above.
+	 */
+	mtspr	SPRN_IAMR,r0
+	mtspr	SPRN_AMOR,r0
+END_FTR_SECTION_IFSET(CPU_FTR_ARCH_300)
+
 	/* save regs for local vars on new stack.
 	 * yes, we won't go back, but ...
 	 */
arch/powerpc/kernel/process.c +3 -2
index 2ad725ef4368..318738f3aa05 100644
@@ -362,7 +362,8 @@ void enable_kernel_vsx(void)
 
 	cpumsr = msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX);
 
-	if (current->thread.regs && (current->thread.regs->msr & MSR_VSX)) {
+	if (current->thread.regs &&
+	    (current->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP))) {
 		check_if_tm_restore_required(current);
 		/*
 		 * If a thread has already been reclaimed then the
@@ -386,7 +387,7 @@ void flush_vsx_to_thread(struct task_struct *tsk)
 {
 	if (tsk->thread.regs) {
 		preempt_disable();
-		if (tsk->thread.regs->msr & MSR_VSX) {
+		if (tsk->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP)) {
 			BUG_ON(tsk != current);
 			giveup_vsx(tsk);
 		}
arch/powerpc/kernel/ptrace.c +10 -3
index 925a4ef90559..660ed39e9c9a 100644
@@ -127,12 +127,19 @@ static void flush_tmregs_to_thread(struct task_struct *tsk)
 	 * If task is not current, it will have been flushed already to
 	 * it's thread_struct during __switch_to().
 	 *
-	 * A reclaim flushes ALL the state.
+	 * A reclaim flushes ALL the state or if not in TM save TM SPRs
+	 * in the appropriate thread structures from live.
 	 */
 
-	if (tsk == current && MSR_TM_SUSPENDED(mfmsr()))
-		tm_reclaim_current(TM_CAUSE_SIGNAL);
+	if (tsk != current)
+		return;
 
+	if (MSR_TM_SUSPENDED(mfmsr())) {
+		tm_reclaim_current(TM_CAUSE_SIGNAL);
+	} else {
+		tm_enable();
+		tm_save_sprs(&(tsk->thread));
+	}
 }
 #else
 static inline void flush_tmregs_to_thread(struct task_struct *tsk) { }
arch/powerpc/kernel/setup-common.c +4 -0
index 857129acf960..94a948207cd2 100644
@@ -335,6 +335,10 @@ static int show_cpuinfo(struct seq_file *m, void *v)
 				maj = ((pvr >> 8) & 0xFF) - 1;
 				min = pvr & 0xFF;
 				break;
+			case 0x004e: /* POWER9 bits 12-15 give chip type */
+				maj = (pvr >> 8) & 0x0F;
+				min = pvr & 0xFF;
+				break;
 			default:
 				maj = (pvr >> 8) & 0xFF;
 				min = pvr & 0xFF;
arch/powerpc/kvm/book3s_64_mmu_hv.c +3 -1
index 710e491206ed..1c10e26cebbb 100644
@@ -164,8 +164,10 @@ long kvmppc_alloc_reset_hpt(struct kvm *kvm, int order)
 		goto out;
 	}
 
-	if (kvm->arch.hpt.virt)
+	if (kvm->arch.hpt.virt) {
 		kvmppc_free_hpt(&kvm->arch.hpt);
+		kvmppc_rmap_reset(kvm);
+	}
 
 	err = kvmppc_allocate_hpt(&info, order);
 	if (err < 0)
arch/powerpc/kvm/book3s_hv.c +2 -0
index 8d1a365b8edc..1d3602f7ec22 100644
@@ -2938,6 +2938,8 @@ static int kvmppc_vcpu_run_hv(struct kvm_run *run, struct kvm_vcpu *vcpu)
 			run->fail_entry.hardware_entry_failure_reason = 0;
 			return -EINVAL;
 		}
+		/* Enable TM so we can read the TM SPRs */
+		mtmsr(mfmsr() | MSR_TM);
 		current->thread.tm_tfhar = mfspr(SPRN_TFHAR);
 		current->thread.tm_tfiar = mfspr(SPRN_TFIAR);
 		current->thread.tm_texasr = mfspr(SPRN_TEXASR);
arch/powerpc/kvm/book3s_xive.c +2 -2
index ffe1da95033a..08b200a0bbce 100644
@@ -1257,8 +1257,8 @@ static void xive_pre_save_scan(struct kvmppc_xive *xive)
 		if (!xc)
 			continue;
 		for (j = 0; j < KVMPPC_XIVE_Q_COUNT; j++) {
-			if (xc->queues[i].qpage)
-				xive_pre_save_queue(xive, &xc->queues[i]);
+			if (xc->queues[j].qpage)
+				xive_pre_save_queue(xive, &xc->queues[j]);
 		}
 	}
 
arch/powerpc/lib/sstep.c +17 -2
index 33117f8a0882..ee33327686ae 100644
@@ -683,8 +683,10 @@ int analyse_instr(struct instruction_op *op, struct pt_regs *regs,
 	case 19:
 		switch ((instr >> 1) & 0x3ff) {
 		case 0:		/* mcrf */
-			rd = (instr >> 21) & 0x1c;
-			ra = (instr >> 16) & 0x1c;
+			rd = 7 - ((instr >> 23) & 0x7);
+			ra = 7 - ((instr >> 18) & 0x7);
+			rd *= 4;
+			ra *= 4;
 			val = (regs->ccr >> ra) & 0xf;
 			regs->ccr = (regs->ccr & ~(0xfUL << rd)) | (val << rd);
 			goto instr_done;
@@ -964,6 +966,19 @@ int analyse_instr(struct instruction_op *op, struct pt_regs *regs,
 #endif
 
 		case 19:	/* mfcr */
+			if ((instr >> 20) & 1) {
+				imm = 0xf0000000UL;
+				for (sh = 0; sh < 8; ++sh) {
+					if (instr & (0x80000 >> sh)) {
+						regs->gpr[rd] = regs->ccr & imm;
+						break;
+					}
+					imm >>= 4;
+				}
+
+				goto instr_done;
+			}
+
 			regs->gpr[rd] = regs->ccr;
 			regs->gpr[rd] &= 0xffffffffUL;
 			goto instr_done;
arch/powerpc/mm/mmu_context_book3s64.c +9 -3
index a3edf813d455..51303f8af015 100644
@@ -223,9 +223,15 @@ void destroy_context(struct mm_struct *mm)
 	mm->context.cop_lockp = NULL;
 #endif /* CONFIG_PPC_ICSWX */
 
-	if (radix_enabled())
-		process_tb[mm->context.id].prtb1 = 0;
-	else
+	if (radix_enabled()) {
+		/*
+		 * Radix doesn't have a valid bit in the process table
+		 * entries. However we know that at least P9 implementation
+		 * will avoid caching an entry with an invalid RTS field,
+		 * and 0 is invalid. So this will do.
+		 */
+		process_tb[mm->context.id].prtb0 = 0;
+	} else
 		subpage_prot_free(mm);
 	destroy_pagetable_page(mm);
 	__destroy_context(mm->context.id);
arch/powerpc/mm/pgtable-radix.c +12 -3
index c28165d8970b..af3b552b5f8d 100644
@@ -19,6 +19,7 @@
 #include <asm/mmu.h>
 #include <asm/firmware.h>
 #include <asm/powernv.h>
+#include <asm/sections.h>
 
 #include <trace/events/thp.h>
 
@@ -121,7 +122,8 @@ static inline void __meminit print_mapping(unsigned long start,
 static int __meminit create_physical_mapping(unsigned long start,
 					     unsigned long end)
 {
-	unsigned long addr, mapping_size = 0;
+	unsigned long vaddr, addr, mapping_size = 0;
+	pgprot_t prot;
 
 	start = _ALIGN_UP(start, PAGE_SIZE);
 	for (addr = start; addr < end; addr += mapping_size) {
@@ -145,8 +147,15 @@ static int __meminit create_physical_mapping(unsigned long start,
 			start = addr;
 		}
 
-		rc = radix__map_kernel_page((unsigned long)__va(addr), addr,
-					    PAGE_KERNEL_X, mapping_size);
+		vaddr = (unsigned long)__va(addr);
+
+		if (overlaps_kernel_text(vaddr, vaddr + mapping_size) ||
+		    overlaps_interrupt_vector_text(vaddr, vaddr + mapping_size))
+			prot = PAGE_KERNEL_X;
+		else
+			prot = PAGE_KERNEL;
+
+		rc = radix__map_kernel_page(vaddr, addr, prot, mapping_size);
 		if (rc)
 			return rc;
 	}
arch/powerpc/perf/isa207-common.c +4 -2
index 8125160be7bc..3f3aa9a7063a 100644
@@ -90,13 +90,15 @@ static void mmcra_sdar_mode(u64 event, unsigned long *mmcra)
 	 *	MMCRA[SDAR_MODE] will be set to 0b01
 	 * For rest
 	 *	MMCRA[SDAR_MODE] will be set from event code.
+	 *      If sdar_mode from event is zero, default to 0b01. Hardware
+	 *      requires that we set a non-zero value.
 	 */
 	if (cpu_has_feature(CPU_FTR_ARCH_300)) {
 		if (is_event_marked(event) || (*mmcra & MMCRA_SAMPLE_ENABLE))
 			*mmcra &= MMCRA_SDAR_MODE_NO_UPDATES;
-		else if (!cpu_has_feature(CPU_FTR_POWER9_DD1))
+		else if (!cpu_has_feature(CPU_FTR_POWER9_DD1) && p9_SDAR_MODE(event))
 			*mmcra |=  p9_SDAR_MODE(event) << MMCRA_SDAR_MODE_SHIFT;
-		else if (cpu_has_feature(CPU_FTR_POWER9_DD1))
+		else
 			*mmcra |= MMCRA_SDAR_MODE_TLB;
 	} else
 		*mmcra |= MMCRA_SDAR_MODE_TLB;
arch/powerpc/platforms/powernv/idle.c +2 -0
index 445f30a2c5ef..0c21747ed7e0 100644
@@ -261,6 +261,7 @@ static u64 pnv_deepest_stop_psscr_val;
 static u64 pnv_deepest_stop_psscr_mask;
 static bool deepest_stop_found;
 
+#ifdef CONFIG_HOTPLUG_CPU
 /*
  * pnv_cpu_offline: A function that puts the CPU into the deepest
  * available platform idle state on a CPU-Offline.
@@ -293,6 +294,7 @@ unsigned long pnv_cpu_offline(unsigned int cpu)
 
 	return srr1;
 }
+#endif
 
 /*
  * Power ISA 3.0 idle initialization.
arch/powerpc/platforms/pseries/lpar.c +10 -1
index 6541d0b03e4c..495ba4e7336d 100644
@@ -301,7 +301,7 @@ static long pSeries_lpar_hpte_updatepp(unsigned long slot,
 				       int ssize, unsigned long inv_flags)
 {
 	unsigned long lpar_rc;
-	unsigned long flags = (newpp & 7) | H_AVPN;
+	unsigned long flags;
 	unsigned long want_v;
 
 	want_v = hpte_encode_avpn(vpn, psize, ssize);
@@ -309,6 +309,11 @@ static long pSeries_lpar_hpte_updatepp(unsigned long slot,
 	pr_devel("    update: avpnv=%016lx, hash=%016lx, f=%lx, psize: %d ...",
 		 want_v, slot, flags, psize);
 
+	flags = (newpp & 7) | H_AVPN;
+	if (mmu_has_feature(MMU_FTR_KERNEL_RO))
+		/* Move pp0 into bit 8 (IBM 55) */
+		flags |= (newpp & HPTE_R_PP0) >> 55;
+
 	lpar_rc = plpar_pte_protect(flags, slot, want_v);
 
 	if (lpar_rc == H_NOT_FOUND) {
@@ -380,6 +385,10 @@ static void pSeries_lpar_hpte_updateboltedpp(unsigned long newpp,
 	BUG_ON(slot == -1);
 
 	flags = newpp & 7;
+	if (mmu_has_feature(MMU_FTR_KERNEL_RO))
+		/* Move pp0 into bit 8 (IBM 55) */
+		flags |= (newpp & HPTE_R_PP0) >> 55;
+
 	lpar_rc = plpar_pte_protect(flags, slot, 0);
 
 	BUG_ON(lpar_rc != H_SUCCESS);
arch/powerpc/platforms/pseries/reconfig.c +0 -1
index e5bf1e84047f..011ef2180fe6 100644
@@ -82,7 +82,6 @@ static int pSeries_reconfig_remove_node(struct device_node *np)
 
 	of_detach_node(np);
 	of_node_put(parent);
-	of_node_put(np); /* Must decrement the refcount */
 	return 0;
 }
 
arch/s390/include/asm/bug.h +2 -2
index 1bbd9dbfe4e0..ce9cc123988b 100644
@@ -14,7 +14,7 @@
 		".section .rodata.str,\"aMS\",@progbits,1\n"	\
 		"2:	.asciz	\""__FILE__"\"\n"		\
 		".previous\n"					\
-		".section __bug_table,\"a\"\n"			\
+		".section __bug_table,\"aw\"\n"			\
 		"3:	.long	1b-3b,2b-3b\n"			\
 		"	.short	%0,%1\n"			\
 		"	.org	3b+%2\n"			\
@@ -30,7 +30,7 @@
 	asm volatile(					\
 		"0:	j	0b+2\n"			\
 		"1:\n"					\
-		".section __bug_table,\"a\"\n"		\
+		".section __bug_table,\"aw\"\n"		\
 		"2:	.long	1b-2b\n"		\
 		"	.short	%0\n"			\
 		"	.org	2b+%1\n"		\
arch/s390/include/asm/elf.h +7 -8
index e8f623041769..7c58d599f91b 100644
@@ -161,14 +161,13 @@ extern unsigned int vdso_enabled;
 #define CORE_DUMP_USE_REGSET
 #define ELF_EXEC_PAGESIZE	4096
 
-/* This is the location that an ET_DYN program is loaded if exec'ed.  Typical
-   use of this is to invoke "./ld.so someprog" to test out a new version of
-   the loader.  We need to make sure that it is out of the way of the program
-   that it will "exec", and that there is sufficient room for the brk. 64-bit
-   tasks are aligned to 4GB. */
-#define ELF_ET_DYN_BASE (is_compat_task() ? \
-				(STACK_TOP / 3 * 2) : \
-				(STACK_TOP / 3 * 2) & ~((1UL << 32) - 1))
+/*
+ * This is the base location for PIE (ET_DYN with INTERP) loads. On
+ * 64-bit, this is raised to 4GB to leave the entire 32-bit address
+ * space open for things that want to use the area for 32-bit pointers.
+ */
+#define ELF_ET_DYN_BASE		(is_compat_task() ? 0x000400000UL : \
+						    0x100000000UL)
 
 /* This yields a mask that user programs can use to figure out what
    instruction set this CPU supports. */
arch/s390/include/asm/syscall.h +6 -0
index 6ba0bf928909..6bc941be6921 100644
@@ -64,6 +64,12 @@ static inline void syscall_get_arguments(struct task_struct *task,
 {
 	unsigned long mask = -1UL;
 
+	/*
+	 * No arguments for this syscall, there's nothing to do.
+	 */
+	if (!n)
+		return;
+
 	BUG_ON(i + n > 6);
 #ifdef CONFIG_COMPAT
 	if (test_tsk_thread_flag(task, TIF_31BIT))
arch/s390/kvm/sthyi.c +5 -2
index 926b5244263e..a2e5c24f47a7 100644
@@ -394,7 +394,7 @@ static int sthyi(u64 vaddr)
 		"srl     %[cc],28\n"
 		: [cc] "=d" (cc)
 		: [code] "d" (code), [addr] "a" (addr)
-		: "memory", "cc");
+		: "3", "memory", "cc");
 	return cc;
 }
 
@@ -425,7 +425,7 @@ int handle_sthyi(struct kvm_vcpu *vcpu)
 	VCPU_EVENT(vcpu, 3, "STHYI: fc: %llu addr: 0x%016llx", code, addr);
 	trace_kvm_s390_handle_sthyi(vcpu, code, addr);
 
-	if (reg1 == reg2 || reg1 & 1 || reg2 & 1 || addr & ~PAGE_MASK)
+	if (reg1 == reg2 || reg1 & 1 || reg2 & 1)
 		return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION);
 
 	if (code & 0xffff) {
@@ -433,6 +433,9 @@ int handle_sthyi(struct kvm_vcpu *vcpu)
 		goto out;
 	}
 
+	if (addr & ~PAGE_MASK)
+		return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION);
+
 	/*
 	 * If the page has not yet been faulted in, we want to do that
 	 * now and not after all the expensive calculations.
arch/s390/net/bpf_jit_comp.c +2 -1
index 6e97a2e3fd8d..8cea684f1f53 100644
@@ -1253,7 +1253,8 @@ static int bpf_jit_prog(struct bpf_jit *jit, struct bpf_prog *fp)
 		insn_count = bpf_jit_insn(jit, fp, i);
 		if (insn_count < 0)
 			return -1;
-		jit->addrs[i + 1] = jit->prg; /* Next instruction address */
+		/* Next instruction address */
+		jit->addrs[i + insn_count] = jit->prg;
 	}
 	bpf_jit_epilogue(jit);
 
arch/sh/include/asm/bug.h +2 -2
index 1b77f068be2b..986c8781d89f 100644
@@ -24,14 +24,14 @@
  */
 #ifdef CONFIG_DEBUG_BUGVERBOSE
 #define _EMIT_BUG_ENTRY				\
-	"\t.pushsection __bug_table,\"a\"\n"	\
+	"\t.pushsection __bug_table,\"aw\"\n"	\
 	"2:\t.long 1b, %O1\n"			\
 	"\t.short %O2, %O3\n"			\
 	"\t.org 2b+%O4\n"			\
 	"\t.popsection\n"
 #else
 #define _EMIT_BUG_ENTRY				\
-	"\t.pushsection __bug_table,\"a\"\n"	\
+	"\t.pushsection __bug_table,\"aw\"\n"	\
 	"2:\t.long 1b\n"			\
 	"\t.short %O3\n"			\
 	"\t.org 2b+%O4\n"			\
arch/sparc/include/asm/asm-prototypes.h new file +24 -0
new file mode 100644
index 000000000000..d381e11c5dbb
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
+ */
+
+#include <asm/xor.h>
+#include <asm/checksum.h>
+#include <asm/trap_block.h>
+#include <asm/uaccess.h>
+#include <asm/atomic.h>
+#include <asm/ftrace.h>
+#include <asm/cacheflush.h>
+#include <asm/oplib.h>
+#include <linux/atomic.h>
+
+void *__memscan_zero(void *, size_t);
+void *__memscan_generic(void *, int, size_t);
+void *__bzero(void *, size_t);
+void VISenter(void); /* Dummy prototype to supress warning */
+#undef memcpy
+#undef memset
+void *memcpy(void *dest, const void *src, size_t n);
+void *memset(void *s, int c, size_t n);
+typedef int TItype __attribute__((mode(TI)));
+TItype __multi3(TItype a, TItype b);
arch/sparc/include/asm/mmu_context_64.h +9 -5
index 2cddcda4f85f..87841d687f8d 100644
@@ -27,9 +27,11 @@ void destroy_context(struct mm_struct *mm);
 void __tsb_context_switch(unsigned long pgd_pa,
 			  struct tsb_config *tsb_base,
 			  struct tsb_config *tsb_huge,
-			  unsigned long tsb_descr_pa);
+			  unsigned long tsb_descr_pa,
+			  unsigned long secondary_ctx);
 
-static inline void tsb_context_switch(struct mm_struct *mm)
+static inline void tsb_context_switch_ctx(struct mm_struct *mm,
+					  unsigned long ctx)
 {
 	__tsb_context_switch(__pa(mm->pgd),
 			     &mm->context.tsb_block[MM_TSB_BASE],
@@ -40,9 +42,12 @@ static inline void tsb_context_switch(struct mm_struct *mm)
 #else
 			     NULL
 #endif
-			     , __pa(&mm->context.tsb_descr[MM_TSB_BASE]));
+			     , __pa(&mm->context.tsb_descr[MM_TSB_BASE]),
+			     ctx);
 }
 
+#define tsb_context_switch(X) tsb_context_switch_ctx(X, 0)
+
 void tsb_grow(struct mm_struct *mm,
 	      unsigned long tsb_index,
 	      unsigned long mm_rss);
@@ -112,8 +117,7 @@ static inline void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, str
 	 * cpu0 to update it's TSB because at that point the cpu_vm_mask
 	 * only had cpu1 set in it.
 	 */
-	load_secondary_context(mm);
-	tsb_context_switch(mm);
+	tsb_context_switch_ctx(mm, CTX_HWBITS(mm->context));
 
 	/* Any time a processor runs a context on an address space
 	 * for the first time, we must flush that context out of the
arch/sparc/include/asm/trap_block.h +1 -0
index ec9c04de3664..ff05992dae7a 100644
@@ -54,6 +54,7 @@ extern struct trap_per_cpu trap_block[NR_CPUS];
 void init_cur_cpu_trap(struct thread_info *);
 void setup_tba(void);
 extern int ncpus_probed;
+extern u64 cpu_mondo_counter[NR_CPUS];
 
 unsigned long real_hard_smp_processor_id(void);
 
arch/sparc/kernel/pci_sun4v.c +0 -2
index 68bec7c97cb8..af6ac9c5d32e 100644
@@ -1241,8 +1241,6 @@ static int pci_sun4v_probe(struct platform_device *op)
 			 * ATU group, but ATU hcalls won't be available.
 			 */
 			hv_atu = false;
-			pr_err(PFX "Could not register hvapi ATU err=%d\n",
-			       err);
 		} else {
 			pr_info(PFX "Registered hvapi ATU major[%lu] minor[%lu]\n",
 				vatu_major, vatu_minor);
arch/sparc/kernel/smp_64.c +115 -70

231 lines not on this page · raw message

arch/sparc/kernel/sun4v_ivec.S +15 -0
index 559bc5e9c199..34631995859a 100644
@@ -26,6 +26,21 @@ sun4v_cpu_mondo:
 	ldxa	[%g0] ASI_SCRATCHPAD, %g4
 	sub	%g4, TRAP_PER_CPU_FAULT_INFO, %g4
 
+	/* Get smp_processor_id() into %g3 */
+	sethi	%hi(trap_block), %g5
+	or	%g5, %lo(trap_block), %g5
+	sub	%g4, %g5, %g3
+	srlx	%g3, TRAP_BLOCK_SZ_SHIFT, %g3
+
+	/* Increment cpu_mondo_counter[smp_processor_id()] */
+	sethi	%hi(cpu_mondo_counter), %g5
+	or	%g5, %lo(cpu_mondo_counter), %g5
+	sllx	%g3, 3, %g3
+	add	%g5, %g3, %g5
+	ldx	[%g5], %g3
+	add	%g3, 1, %g3
+	stx	%g3, [%g5]
+
 	/* Get CPU mondo queue base phys address into %g7.  */
 	ldx	[%g4 + TRAP_PER_CPU_CPU_MONDO_PA], %g7
 
arch/sparc/kernel/traps_64.c +1 -0
index 196ee5eb4d48..ad31af1dd726 100644
@@ -2733,6 +2733,7 @@ void do_getpsr(struct pt_regs *regs)
 	}
 }
 
+u64 cpu_mondo_counter[NR_CPUS] = {0};
 struct trap_per_cpu trap_block[NR_CPUS];
 EXPORT_SYMBOL(trap_block);
 
arch/sparc/kernel/tsb.S +12 -0
index 07c0df924960..db872dbfafe9 100644
@@ -360,6 +360,7 @@ tsb_flush:
 	 * %o1:	TSB base config pointer
 	 * %o2:	TSB huge config pointer, or NULL if none
 	 * %o3:	Hypervisor TSB descriptor physical address
+	 * %o4: Secondary context to load, if non-zero
 	 *
 	 * We have to run this whole thing with interrupts
 	 * disabled so that the current cpu doesn't change
@@ -372,6 +373,17 @@ __tsb_context_switch:
 	rdpr	%pstate, %g1
 	wrpr	%g1, PSTATE_IE, %pstate
 
+	brz,pn	%o4, 1f
+	 mov	SECONDARY_CONTEXT, %o5
+
+661:	stxa	%o4, [%o5] ASI_DMMU
+	.section .sun4v_1insn_patch, "ax"
+	.word	661b
+	stxa	%o4, [%o5] ASI_MMU
+	.previous
+	flush	%g6
+
+1:
 	TRAP_LOAD_TRAP_BLOCK(%g2, %g3)
 
 	stx	%o0, [%g2 + TRAP_PER_CPU_PGD_PADDR]
arch/sparc/lib/U3memcpy.S +2 -2
index 54f98706b03b..5a8cb37f0a3b 100644
@@ -145,13 +145,13 @@ ENDPROC(U3_retl_o2_plus_GS_plus_0x08)
 ENTRY(U3_retl_o2_and_7_plus_GS)
 	and	%o2, 7, %o2
 	retl
-	 add	%o2, GLOBAL_SPARE, %o2
+	 add	%o2, GLOBAL_SPARE, %o0
 ENDPROC(U3_retl_o2_and_7_plus_GS)
 ENTRY(U3_retl_o2_and_7_plus_GS_plus_8)
 	add	GLOBAL_SPARE, 8, GLOBAL_SPARE
 	and	%o2, 7, %o2
 	retl
-	 add	%o2, GLOBAL_SPARE, %o2
+	 add	%o2, GLOBAL_SPARE, %o0
 ENDPROC(U3_retl_o2_and_7_plus_GS_plus_8)
 #endif
 
arch/sparc/lib/atomic_64.S +26 -18

64 lines not on this page · raw message

arch/sparc/lib/checksum_64.S +1 -0
index f6732174fe6b..6cfa521f444d 100644
@@ -38,6 +38,7 @@ csum_partial_fix_alignment:
 
 	.align		32
 	.globl		csum_partial
+	.type		csum_partial,#function
 	EXPORT_SYMBOL(csum_partial)
 csum_partial:		/* %o0=buff, %o1=len, %o2=sum */
 	prefetch	[%o0 + 0x000], #n_reads
arch/sparc/lib/csum_copy.S +1 -0
index 0ecbafc30fd0..b1051e77c49a 100644
@@ -65,6 +65,7 @@
 	 add		%o5, %o4, %o4
 
 	.globl		FUNC_NAME
+	.type		FUNC_NAME,#function
 	EXPORT_SYMBOL(FUNC_NAME)
 FUNC_NAME:		/* %o0=src, %o1=dst, %o2=len, %o3=sum */
 	LOAD(prefetch, %o0 + 0x000, #n_reads)
arch/sparc/lib/memscan_64.S +2 -0
index daa96f4b03e6..5efee1f4be36 100644
@@ -14,6 +14,8 @@
 	.text
 	.align	32
 	.globl		__memscan_zero, __memscan_generic
+	.type		__memscan_zero,#function
+	.type		__memscan_generic,#function
 	.globl		memscan
 	EXPORT_SYMBOL(__memscan_zero)
 	EXPORT_SYMBOL(__memscan_generic)
arch/sparc/lib/memset.S +1 -0
index bb539b42b088..e23338dbfc43 100644
@@ -63,6 +63,7 @@
 __bzero_begin:
 
 	.globl	__bzero
+	.type	__bzero,#function
 	.globl	memset
 	EXPORT_SYMBOL(__bzero)
 	EXPORT_SYMBOL(memset)
arch/sparc/mm/gup.c +2 -2
index cd0e32bbcb1d..f80cfc64c55b 100644
@@ -78,8 +78,8 @@ static int gup_huge_pmd(pmd_t *pmdp, pmd_t pmd, unsigned long addr,
 		return 0;
 
 	refs = 0;
-	head = pmd_page(pmd);
-	page = head + ((addr & ~PMD_MASK) >> PAGE_SHIFT);
+	page = pmd_page(pmd) + ((addr & ~PMD_MASK) >> PAGE_SHIFT);
+	head = compound_head(page);
 	do {
 		VM_BUG_ON(compound_head(page) != head);
 		pages[*nr] = page;
arch/sparc/mm/init_64.c +24 -1
index 3c40ebd50f92..fed73f14aa49 100644
@@ -325,6 +325,29 @@ static void __update_mmu_tsb_insert(struct mm_struct *mm, unsigned long tsb_inde
 }
 
 #ifdef CONFIG_HUGETLB_PAGE
+static void __init add_huge_page_size(unsigned long size)
+{
+	unsigned int order;
+
+	if (size_to_hstate(size))
+		return;
+
+	order = ilog2(size) - PAGE_SHIFT;
+	hugetlb_add_hstate(order);
+}
+
+static int __init hugetlbpage_init(void)
+{
+	add_huge_page_size(1UL << HPAGE_64K_SHIFT);
+	add_huge_page_size(1UL << HPAGE_SHIFT);
+	add_huge_page_size(1UL << HPAGE_256MB_SHIFT);
+	add_huge_page_size(1UL << HPAGE_2GB_SHIFT);
+
+	return 0;
+}
+
+arch_initcall(hugetlbpage_init);
+
 static int __init setup_hugepagesz(char *string)
 {
 	unsigned long long hugepage_size;
@@ -364,7 +387,7 @@ static int __init setup_hugepagesz(char *string)
 		goto out;
 	}
 
-	hugetlb_add_hstate(hugepage_shift - PAGE_SHIFT);
+	add_huge_page_size(hugepage_size);
 	rc = 1;
 
 out:
arch/sparc/power/hibernate.c +1 -2
index 17bd2e167e07..df707a8ad311 100644
@@ -35,6 +35,5 @@ void restore_processor_state(void)
 {
 	struct mm_struct *mm = current->active_mm;
 
-	load_secondary_context(mm);
-	tsb_context_switch(mm);
+	tsb_context_switch_ctx(mm, CTX_HWBITS(mm->context));
 }
arch/x86/Kconfig +1 -0
index 0efb4c9497bc..ae1d55548f5a 100644
@@ -94,6 +94,7 @@ config X86
 	select GENERIC_STRNCPY_FROM_USER
 	select GENERIC_STRNLEN_USER
 	select GENERIC_TIME_VSYSCALL
+	select HARDLOCKUP_CHECK_TIMESTAMP	if X86_64
 	select HAVE_ACPI_APEI			if ACPI
 	select HAVE_ACPI_APEI_NMI		if ACPI
 	select HAVE_ALIGNED_STRUCT_PAGE		if SLUB
arch/x86/crypto/sha1_avx2_x86_64_asm.S +36 -31

149 lines not on this page · raw message

arch/x86/entry/entry_64.S +2 -0
index 4a4c0834f965..22f2281b942b 100644
@@ -1209,6 +1209,8 @@ ENTRY(nmi)
 	 * other IST entries.
 	 */
 
+	ASM_CLAC
+
 	/* Use %rdx as our temp variable throughout */
 	pushq	%rdx
 
arch/x86/events/core.c +7 -9
index 580b60f5ac83..c138835c5547 100644
@@ -2105,7 +2105,7 @@ static void refresh_pce(void *ignored)
 		load_mm_cr4(current->active_mm);
 }
 
-static void x86_pmu_event_mapped(struct perf_event *event)
+static void x86_pmu_event_mapped(struct perf_event *event, struct mm_struct *mm)
 {
 	if (!(event->hw.flags & PERF_X86_EVENT_RDPMC_ALLOWED))
 		return;
@@ -2120,22 +2120,20 @@ static void x86_pmu_event_mapped(struct perf_event *event)
 	 * For now, this can't happen because all callers hold mmap_sem
 	 * for write.  If this changes, we'll need a different solution.
 	 */
-	lockdep_assert_held_exclusive(&current->mm->mmap_sem);
+	lockdep_assert_held_exclusive(&mm->mmap_sem);
 
-	if (atomic_inc_return(&current->mm->context.perf_rdpmc_allowed) == 1)
-		on_each_cpu_mask(mm_cpumask(current->mm), refresh_pce, NULL, 1);
+	if (atomic_inc_return(&mm->context.perf_rdpmc_allowed) == 1)
+		on_each_cpu_mask(mm_cpumask(mm), refresh_pce, NULL, 1);
 }
 
-static void x86_pmu_event_unmapped(struct perf_event *event)
+static void x86_pmu_event_unmapped(struct perf_event *event, struct mm_struct *mm)
 {
-	if (!current->mm)
-		return;
 
 	if (!(event->hw.flags & PERF_X86_EVENT_RDPMC_ALLOWED))
 		return;
 
-	if (atomic_dec_and_test(&current->mm->context.perf_rdpmc_allowed))
-		on_each_cpu_mask(mm_cpumask(current->mm), refresh_pce, NULL, 1);
+	if (atomic_dec_and_test(&mm->context.perf_rdpmc_allowed))
+		on_each_cpu_mask(mm_cpumask(mm), refresh_pce, NULL, 1);
 }
 
 static int x86_pmu_event_idx(struct perf_event *event)
arch/x86/include/asm/bug.h +2 -2
index 39e702d90cdb..aa6b2023d8f8 100644
@@ -35,7 +35,7 @@
 #define _BUG_FLAGS(ins, flags)						\
 do {									\
 	asm volatile("1:\t" ins "\n"					\
-		     ".pushsection __bug_table,\"a\"\n"			\
+		     ".pushsection __bug_table,\"aw\"\n"		\
 		     "2:\t" __BUG_REL(1b) "\t# bug_entry::bug_addr\n"	\
 		     "\t"  __BUG_REL(%c0) "\t# bug_entry::file\n"	\
 		     "\t.word %c1"        "\t# bug_entry::line\n"	\
@@ -52,7 +52,7 @@ do {									\
 #define _BUG_FLAGS(ins, flags)						\
 do {									\
 	asm volatile("1:\t" ins "\n"					\
-		     ".pushsection __bug_table,\"a\"\n"			\
+		     ".pushsection __bug_table,\"aw\"\n"		\
 		     "2:\t" __BUG_REL(1b) "\t# bug_entry::bug_addr\n"	\
 		     "\t.word %c0"        "\t# bug_entry::flags\n"	\
 		     "\t.org 2b+%c1\n"					\
arch/x86/include/asm/elf.h +7 -6
index e8ab9a46bc68..9aeb91935ce0 100644
@@ -245,12 +245,13 @@ extern int force_personality32;
 #define CORE_DUMP_USE_REGSET
 #define ELF_EXEC_PAGESIZE	4096
 
-/* This is the location that an ET_DYN program is loaded if exec'ed.  Typical
-   use of this is to invoke "./ld.so someprog" to test out a new version of
-   the loader.  We need to make sure that it is out of the way of the program
-   that it will "exec", and that there is sufficient room for the brk.  */
-
-#define ELF_ET_DYN_BASE		(TASK_SIZE / 3 * 2)
+/*
+ * This is the base location for PIE (ET_DYN with INTERP) loads. On
+ * 64-bit, this is above 4GB to leave the entire 32-bit address
+ * space open for things that want to use the area for 32-bit pointers.
+ */
+#define ELF_ET_DYN_BASE		(mmap_is_ia32() ? 0x000400000UL : \
+						  (TASK_SIZE / 3 * 2))
 
 /* This yields a mask that user programs can use to figure out what
    instruction set this CPU supports.  This could be done in user space,
arch/x86/include/asm/fpu/internal.h +3 -3
index 255645f60ca2..554cdb205d17 100644
@@ -450,10 +450,10 @@ static inline int copy_fpregs_to_fpstate(struct fpu *fpu)
 	return 0;
 }
 
-static inline void __copy_kernel_to_fpregs(union fpregs_state *fpstate)
+static inline void __copy_kernel_to_fpregs(union fpregs_state *fpstate, u64 mask)
 {
 	if (use_xsave()) {
-		copy_kernel_to_xregs(&fpstate->xsave, -1);
+		copy_kernel_to_xregs(&fpstate->xsave, mask);
 	} else {
 		if (use_fxsr())
 			copy_kernel_to_fxregs(&fpstate->fxsave);
@@ -477,7 +477,7 @@ static inline void copy_kernel_to_fpregs(union fpregs_state *fpstate)
 			: : [addr] "m" (fpstate));
 	}
 
-	__copy_kernel_to_fpregs(fpstate);
+	__copy_kernel_to_fpregs(fpstate, -1);
 }
 
 extern int copy_fpstate_to_sigframe(void __user *buf, void __user *fp, int size);
arch/x86/include/asm/kvm_host.h +1 -0
index 695605eb1dfb..ed8fdf86acfb 100644
@@ -486,6 +486,7 @@ struct kvm_vcpu_arch {
 	unsigned long cr4;
 	unsigned long cr4_guest_owned_bits;
 	unsigned long cr8;
+	u32 pkru;
 	u32 hflags;
 	u64 efer;
 	u64 apic_base;
arch/x86/include/asm/mmu_context.h +1 -3
index 68b329d77b3a..8463a136f711 100644
@@ -116,9 +116,7 @@ static inline int init_new_context(struct task_struct *tsk,
 		mm->context.execute_only_pkey = -1;
 	}
 	#endif
-	init_new_context_ldt(tsk, mm);
-
-	return 0;
+	return init_new_context_ldt(tsk, mm);
 }
 static inline void destroy_context(struct mm_struct *mm)
 {
arch/x86/include/asm/msr-index.h +2 -0
index 673f9ac50f6d..dbf266b0d14a 100644
@@ -420,6 +420,8 @@
 #define MSR_IA32_TSC_ADJUST             0x0000003b
 #define MSR_IA32_BNDCFGS		0x00000d90
 
+#define MSR_IA32_BNDCFGS_RSVD		0x00000ffc
+
 #define MSR_IA32_XSS			0x00000da0
 
 #define FEATURE_CONTROL_LOCKED				(1<<0)
arch/x86/include/asm/pat.h +1 -0
index 0b1ff4c1c14e..fffb2794dd89 100644
@@ -7,6 +7,7 @@
 bool pat_enabled(void);
 void pat_disable(const char *reason);
 extern void pat_init(void);
+extern void init_cache_modes(void);
 
 extern int reserve_memtype(u64 start, u64 end,
 		enum page_cache_mode req_pcm, enum page_cache_mode *ret_pcm);
arch/x86/include/asm/xen/hypercall.h +8 -1
index f6d20f6cca12..32b74a8fa6b7 100644
@@ -43,6 +43,7 @@
 
 #include <asm/page.h>
 #include <asm/pgtable.h>
+#include <asm/smap.h>
 
 #include <xen/interface/xen.h>
 #include <xen/interface/sched.h>
@@ -214,10 +215,12 @@ privcmd_call(unsigned call,
 	__HYPERCALL_DECLS;
 	__HYPERCALL_5ARG(a1, a2, a3, a4, a5);
 
+	stac();
 	asm volatile("call *%[call]"
 		     : __HYPERCALL_5PARAM
 		     : [call] "a" (&hypercall_page[call])
 		     : __HYPERCALL_CLOBBER5);
+	clac();
 
 	return (long)__res;
 }
@@ -476,7 +479,11 @@ static inline int
 HYPERVISOR_dm_op(
 	domid_t dom, unsigned int nr_bufs, void *bufs)
 {
-	return _hypercall3(int, dm_op, dom, nr_bufs, bufs);
+	int ret;
+	stac();
+	ret = _hypercall3(int, dm_op, dom, nr_bufs, bufs);
+	clac();
+	return ret;
 }
 
 static inline void
arch/x86/kernel/acpi/boot.c +8 -0
index 6bb680671088..7491e73d9253 100644
@@ -346,6 +346,14 @@ static void __init mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger,
 	int pin;
 	struct mpc_intsrc mp_irq;
 
+	/*
+	 * Check bus_irq boundary.
+	 */
+	if (bus_irq >= NR_IRQS_LEGACY) {
+		pr_warn("Invalid bus_irq %u for legacy override\n", bus_irq);
+		return;
+	}
+
 	/*
 	 * Convert 'gsi' to 'ioapic.pin'.
 	 */
arch/x86/kernel/apic/io_apic.c +1 -1
index 347bb9f65737..6d779095ed01 100644
@@ -2115,7 +2115,7 @@ static inline void __init check_timer(void)
 			int idx;
 			idx = find_irq_entry(apic1, pin1, mp_INT);
 			if (idx != -1 && irq_trigger(idx))
-				unmask_ioapic_irq(irq_get_chip_data(0));
+				unmask_ioapic_irq(irq_get_irq_data(0));
 		}
 		irq_domain_deactivate_irq(irq_data);
 		irq_domain_activate_irq(irq_data);
arch/x86/kernel/kvm.c +4 -2
index 43e10d6fdbed..44adcde7a0ca 100644
@@ -151,6 +151,8 @@ void kvm_async_pf_task_wait(u32 token)
 		if (hlist_unhashed(&n.link))
 			break;
 
+		rcu_irq_exit();
+
 		if (!n.halted) {
 			local_irq_enable();
 			schedule();
@@ -159,11 +161,11 @@ void kvm_async_pf_task_wait(u32 token)
 			/*
 			 * We cannot reschedule. So halt.
 			 */
-			rcu_irq_exit();
 			native_safe_halt();
 			local_irq_disable();
-			rcu_irq_enter();
 		}
+
+		rcu_irq_enter();
 	}
 	if (!n.halted)
 		finish_swait(&n.wq, &wait);
arch/x86/kernel/setup.c +7 -0
index f81823695014..36646f19d40b 100644
@@ -1075,6 +1075,13 @@ void __init setup_arch(char **cmdline_p)
 
 	max_possible_pfn = max_pfn;
 
+	/*
+	 * This call is required when the CPU does not support PAT. If
+	 * mtrr_bp_init() invoked it already via pat_init() the call has no
+	 * effect.
+	 */
+	init_cache_modes();
+
 	/*
 	 * Define random base addresses for memory sections after max_pfn is
 	 * defined and before each memory section base is used.
arch/x86/kvm/cpuid.c +1 -1
index 59ca2eea522c..19adbb418443 100644
@@ -469,7 +469,7 @@ static inline int __do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
 			entry->ecx &= kvm_cpuid_7_0_ecx_x86_features;
 			cpuid_mask(&entry->ecx, CPUID_7_ECX);
 			/* PKU is not yet implemented for shadow paging. */
-			if (!tdp_enabled)
+			if (!tdp_enabled || !boot_cpu_has(X86_FEATURE_OSPKE))
 				entry->ecx &= ~F(PKU);
 			entry->edx &= kvm_cpuid_7_0_edx_x86_features;
 			entry->edx &= get_scattered_cpuid_leaf(7, 0, CPUID_EDX);
arch/x86/kvm/cpuid.h +8 -0
index a6fd40aade7c..da6728383052 100644
@@ -144,6 +144,14 @@ static inline bool guest_cpuid_has_rtm(struct kvm_vcpu *vcpu)
 	return best && (best->ebx & bit(X86_FEATURE_RTM));
 }
 
+static inline bool guest_cpuid_has_mpx(struct kvm_vcpu *vcpu)
+{
+	struct kvm_cpuid_entry2 *best;
+
+	best = kvm_find_cpuid_entry(vcpu, 7, 0);
+	return best && (best->ebx & bit(X86_FEATURE_MPX));
+}
+
 static inline bool guest_cpuid_has_rdtscp(struct kvm_vcpu *vcpu)
 {
 	struct kvm_cpuid_entry2 *best;
arch/x86/kvm/kvm_cache_regs.h +0 -5
index 762cdf2595f9..e1e89ee4af75 100644
@@ -84,11 +84,6 @@ static inline u64 kvm_read_edx_eax(struct kvm_vcpu *vcpu)
 		| ((u64)(kvm_register_read(vcpu, VCPU_REGS_RDX) & -1u) << 32);
 }
 
-static inline u32 kvm_read_pkru(struct kvm_vcpu *vcpu)
-{
-	return kvm_x86_ops->get_pkru(vcpu);
-}
-
 static inline void enter_guest_mode(struct kvm_vcpu *vcpu)
 {
 	vcpu->arch.hflags |= HF_GUEST_MASK;
arch/x86/kvm/mmu.h +1 -1
index 330bf3a811fb..b0d36a229d2e 100644
@@ -182,7 +182,7 @@ static inline u8 permission_fault(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu,
 		* index of the protection domain, so pte_pkey * 2 is
 		* is the index of the first bit for the domain.
 		*/
-		pkru_bits = (kvm_read_pkru(vcpu) >> (pte_pkey * 2)) & 3;
+		pkru_bits = (vcpu->arch.pkru >> (pte_pkey * 2)) & 3;
 
 		/* clear present bit, replace PFEC.RSVD with ACC_USER_MASK. */
 		offset = (pfec & ~1) +
arch/x86/kvm/svm.c +0 -7
index ba9891ac5c56..58dbca7f2106 100644
@@ -1725,11 +1725,6 @@ static void svm_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags)
 	to_svm(vcpu)->vmcb->save.rflags = rflags;
 }
 
-static u32 svm_get_pkru(struct kvm_vcpu *vcpu)
-{
-	return 0;
-}
-
 static void svm_cache_reg(struct kvm_vcpu *vcpu, enum kvm_reg reg)
 {
 	switch (reg) {
@@ -5313,8 +5308,6 @@ static struct kvm_x86_ops svm_x86_ops __ro_after_init = {
 	.get_rflags = svm_get_rflags,
 	.set_rflags = svm_set_rflags,
 
-	.get_pkru = svm_get_pkru,
-
 	.tlb_flush = svm_flush_tlb,
 
 	.run = svm_vcpu_run,
arch/x86/kvm/vmx.c +15 -20
index ca5d2b93385c..2461e1a53f8c 100644
@@ -636,8 +636,6 @@ struct vcpu_vmx {
 
 	u64 current_tsc_ratio;
 
-	bool guest_pkru_valid;
-	u32 guest_pkru;
 	u32 host_pkru;
 
 	/*
@@ -2368,11 +2366,6 @@ static void vmx_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags)
 	vmcs_writel(GUEST_RFLAGS, rflags);
 }
 
-static u32 vmx_get_pkru(struct kvm_vcpu *vcpu)
-{
-	return to_vmx(vcpu)->guest_pkru;
-}
-
 static u32 vmx_get_interrupt_shadow(struct kvm_vcpu *vcpu)
 {
 	u32 interruptibility = vmcs_read32(GUEST_INTERRUPTIBILITY_INFO);
@@ -3195,7 +3188,8 @@ static int vmx_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info)
 		msr_info->data = vmcs_readl(GUEST_SYSENTER_ESP);
 		break;
 	case MSR_IA32_BNDCFGS:
-		if (!kvm_mpx_supported())
+		if (!kvm_mpx_supported() ||
+		    (!msr_info->host_initiated && !guest_cpuid_has_mpx(vcpu)))
 			return 1;
 		msr_info->data = vmcs_read64(GUEST_BNDCFGS);
 		break;
@@ -3277,7 +3271,11 @@ static int vmx_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info)
 		vmcs_writel(GUEST_SYSENTER_ESP, data);
 		break;
 	case MSR_IA32_BNDCFGS:
-		if (!kvm_mpx_supported())
+		if (!kvm_mpx_supported() ||
+		    (!msr_info->host_initiated && !guest_cpuid_has_mpx(vcpu)))
+			return 1;
+		if (is_noncanonical_address(data & PAGE_MASK) ||
+		    (data & MSR_IA32_BNDCFGS_RSVD))
 			return 1;
 		vmcs_write64(GUEST_BNDCFGS, data);
 		break;
@@ -6547,7 +6545,6 @@ static __init int hardware_setup(void)
 	vmx_disable_intercept_for_msr(MSR_IA32_SYSENTER_CS, false);
 	vmx_disable_intercept_for_msr(MSR_IA32_SYSENTER_ESP, false);
 	vmx_disable_intercept_for_msr(MSR_IA32_SYSENTER_EIP, false);
-	vmx_disable_intercept_for_msr(MSR_IA32_BNDCFGS, true);
 
 	memcpy(vmx_msr_bitmap_legacy_x2apic_apicv,
 			vmx_msr_bitmap_legacy, PAGE_SIZE);
@@ -8856,8 +8853,10 @@ static void __noclone vmx_vcpu_run(struct kvm_vcpu *vcpu)
 	if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP)
 		vmx_set_interrupt_shadow(vcpu, 0);
 
-	if (vmx->guest_pkru_valid)
-		__write_pkru(vmx->guest_pkru);
+	if (static_cpu_has(X86_FEATURE_PKU) &&
+	    kvm_read_cr4_bits(vcpu, X86_CR4_PKE) &&
+	    vcpu->arch.pkru != vmx->host_pkru)
+		__write_pkru(vcpu->arch.pkru);
 
 	atomic_switch_perf_msrs(vmx);
 	debugctlmsr = get_debugctlmsr();
@@ -9005,13 +9004,11 @@ static void __noclone vmx_vcpu_run(struct kvm_vcpu *vcpu)
 	 * back on host, so it is safe to read guest PKRU from current
 	 * XSAVE.
 	 */
-	if (boot_cpu_has(X86_FEATURE_OSPKE)) {
-		vmx->guest_pkru = __read_pkru();
-		if (vmx->guest_pkru != vmx->host_pkru) {
-			vmx->guest_pkru_valid = true;
+	if (static_cpu_has(X86_FEATURE_PKU) &&
+	    kvm_read_cr4_bits(vcpu, X86_CR4_PKE)) {
+		vcpu->arch.pkru = __read_pkru();
+		if (vcpu->arch.pkru != vmx->host_pkru)
 			__write_pkru(vmx->host_pkru);
-		} else
-			vmx->guest_pkru_valid = false;
 	}
 
 	/*
@@ -11503,8 +11500,6 @@ static struct kvm_x86_ops vmx_x86_ops __ro_after_init = {
 	.get_rflags = vmx_get_rflags,
 	.set_rflags = vmx_set_rflags,
 
-	.get_pkru = vmx_get_pkru,
-
 	.tlb_flush = vmx_flush_tlb,
 
 	.run = vmx_vcpu_run,
arch/x86/kvm/x86.c +14 -3
index 0e846f0cb83b..786e47fc6092 100644
@@ -3236,7 +3236,12 @@ static void fill_xsave(u8 *dest, struct kvm_vcpu *vcpu)
 			u32 size, offset, ecx, edx;
 			cpuid_count(XSTATE_CPUID, index,
 				    &size, &offset, &ecx, &edx);
-			memcpy(dest + offset, src, size);
+			if (feature == XFEATURE_MASK_PKRU)
+				memcpy(dest + offset, &vcpu->arch.pkru,
+				       sizeof(vcpu->arch.pkru));
+			else
+				memcpy(dest + offset, src, size);
+
 		}
 
 		valid -= feature;
@@ -3274,7 +3279,11 @@ static void load_xsave(struct kvm_vcpu *vcpu, u8 *src)
 			u32 size, offset, ecx, edx;
 			cpuid_count(XSTATE_CPUID, index,
 				    &size, &offset, &ecx, &edx);
-			memcpy(dest, src + offset, size);
+			if (feature == XFEATURE_MASK_PKRU)
+				memcpy(&vcpu->arch.pkru, src + offset,
+				       sizeof(vcpu->arch.pkru));
+			else
+				memcpy(dest, src + offset, size);
 		}
 
 		valid -= feature;
@@ -7616,7 +7625,9 @@ void kvm_load_guest_fpu(struct kvm_vcpu *vcpu)
 	 */
 	vcpu->guest_fpu_loaded = 1;
 	__kernel_fpu_begin();
-	__copy_kernel_to_fpregs(&vcpu->arch.guest_fpu.state);
+	/* PKRU is separately restored in kvm_x86_ops->run.  */
+	__copy_kernel_to_fpregs(&vcpu->arch.guest_fpu.state,
+				~XFEATURE_MASK_PKRU);
 	trace_kvm_fpu(1);
 }
 
arch/x86/lib/copy_user_64.S +5 -2
index c5959576c315..020f75cc8cf6 100644
@@ -37,7 +37,7 @@ ENTRY(copy_user_generic_unrolled)
 	movl %edx,%ecx
 	andl $63,%edx
 	shrl $6,%ecx
-	jz 17f
+	jz .L_copy_short_string
 1:	movq (%rsi),%r8
 2:	movq 1*8(%rsi),%r9
 3:	movq 2*8(%rsi),%r10
@@ -58,7 +58,8 @@ ENTRY(copy_user_generic_unrolled)
 	leaq 64(%rdi),%rdi
 	decl %ecx
 	jnz 1b
-17:	movl %edx,%ecx
+.L_copy_short_string:
+	movl %edx,%ecx
 	andl $7,%edx
 	shrl $3,%ecx
 	jz 20f
@@ -174,6 +175,8 @@ EXPORT_SYMBOL(copy_user_generic_string)
  */
 ENTRY(copy_user_enhanced_fast_string)
 	ASM_STAC
+	cmpl $64,%edx
+	jb .L_copy_short_string	/* less then 64 bytes, avoid the costly 'rep' */
 	movl %edx,%ecx
 1:	rep
 	movsb
arch/x86/mm/mmap.c +3 -4
index 19ad095b41df..81db3e92dc76 100644
@@ -50,8 +50,7 @@ unsigned long tasksize_64bit(void)
 static unsigned long stack_maxrandom_size(unsigned long task_size)
 {
 	unsigned long max = 0;
-	if ((current->flags & PF_RANDOMIZE) &&
-		!(current->personality & ADDR_NO_RANDOMIZE)) {
+	if (current->flags & PF_RANDOMIZE) {
 		max = (-1UL) & __STACK_RND_MASK(task_size == tasksize_32bit());
 		max <<= PAGE_SHIFT;
 	}
@@ -82,13 +81,13 @@ static int mmap_is_legacy(void)
 
 static unsigned long arch_rnd(unsigned int rndbits)
 {
+	if (!(current->flags & PF_RANDOMIZE))
+		return 0;
 	return (get_random_long() & ((1UL << rndbits) - 1)) << PAGE_SHIFT;
 }
 
 unsigned long arch_mmap_rnd(void)
 {
-	if (!(current->flags & PF_RANDOMIZE))
-		return 0;
 	return arch_rnd(mmap_is_ia32() ? mmap32_rnd_bits : mmap64_rnd_bits);
 }
 
arch/x86/mm/pat.c +12 -16
index 9b78685b66e6..45979502f64b 100644
@@ -37,14 +37,14 @@
 #undef pr_fmt
 #define pr_fmt(fmt) "" fmt
 
-static bool boot_cpu_done;
-
-static int __read_mostly __pat_enabled = IS_ENABLED(CONFIG_X86_PAT);
-static void init_cache_modes(void);
+static bool __read_mostly boot_cpu_done;
+static bool __read_mostly pat_disabled = !IS_ENABLED(CONFIG_X86_PAT);
+static bool __read_mostly pat_initialized;
+static bool __read_mostly init_cm_done;
 
 void pat_disable(const char *reason)
 {
-	if (!__pat_enabled)
+	if (pat_disabled)
 		return;
 
 	if (boot_cpu_done) {
@@ -52,10 +52,8 @@ void pat_disable(const char *reason)
 		return;
 	}
 
-	__pat_enabled = 0;
+	pat_disabled = true;
 	pr_info("x86/PAT: %s\n", reason);
-
-	init_cache_modes();
 }
 
 static int __init nopat(char *str)
@@ -67,7 +65,7 @@ early_param("nopat", nopat);
 
 bool pat_enabled(void)
 {
-	return !!__pat_enabled;
+	return pat_initialized;
 }
 EXPORT_SYMBOL_GPL(pat_enabled);
 
@@ -205,6 +203,8 @@ static void __init_cache_modes(u64 pat)
 		update_cache_mode_entry(i, cache);
 	}
 	pr_info("x86/PAT: Configuration [0-7]: %s\n", pat_msg);
+
+	init_cm_done = true;
 }
 
 #define PAT(x, y)	((u64)PAT_ ## y << ((x)*8))
@@ -225,6 +225,7 @@ static void pat_bsp_init(u64 pat)
 	}
 
 	wrmsrl(MSR_IA32_CR_PAT, pat);
+	pat_initialized = true;
 
 	__init_cache_modes(pat);
 }
@@ -242,10 +243,9 @@ static void pat_ap_init(u64 pat)
 	wrmsrl(MSR_IA32_CR_PAT, pat);
 }
 
-static void init_cache_modes(void)
+void init_cache_modes(void)
 {
 	u64 pat = 0;
-	static int init_cm_done;
 
 	if (init_cm_done)
 		return;
@@ -287,8 +287,6 @@ static void init_cache_modes(void)
 	}
 
 	__init_cache_modes(pat);
-
-	init_cm_done = 1;
 }
 
 /**
@@ -306,10 +304,8 @@ void pat_init(void)
 	u64 pat;
 	struct cpuinfo_x86 *c = &boot_cpu_data;
 
-	if (!pat_enabled()) {
-		init_cache_modes();
+	if (pat_disabled)
 		return;
-	}
 
 	if ((c->x86_vendor == X86_VENDOR_INTEL) &&
 	    (((c->x86 == 0x6) && (c->x86_model <= 0xd)) ||
arch/x86/pci/fixup.c +32 -0
index 6d52b94f4bb9..20fa7c84109d 100644
@@ -571,3 +571,35 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x2fc0, pci_invalid_bar);
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x6f60, pci_invalid_bar);
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x6fa0, pci_invalid_bar);
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x6fc0, pci_invalid_bar);
+
+/*
+ * Apple MacBook Pro: Avoid [mem 0x7fa00000-0x7fbfffff]
+ *
+ * Using the [mem 0x7fa00000-0x7fbfffff] region, e.g., by assigning it to
+ * the 00:1c.0 Root Port, causes a conflict with [io 0x1804], which is used
+ * for soft poweroff and suspend-to-RAM.
+ *
+ * As far as we know, this is related to the address space, not to the Root
+ * Port itself.  Attaching the quirk to the Root Port is a convenience, but
+ * it could probably also be a standalone DMI quirk.
+ *
+ * https://bugzilla.kernel.org/show_bug.cgi?id=103211
+ */
+static void quirk_apple_mbp_poweroff(struct pci_dev *pdev)
+{
+	struct device *dev = &pdev->dev;
+	struct resource *res;
+
+	if ((!dmi_match(DMI_PRODUCT_NAME, "MacBookPro11,4") &&
+	     !dmi_match(DMI_PRODUCT_NAME, "MacBookPro11,5")) ||
+	    pdev->bus->number != 0 || pdev->devfn != PCI_DEVFN(0x1c, 0))
+		return;
+
+	res = request_mem_region(0x7fa00000, 0x200000,
+				 "MacBook Pro poweroff workaround");
+	if (res)
+		dev_info(dev, "claimed %s %pR\n", res->name, res);
+	else
+		dev_info(dev, "can't work around MacBook Pro poweroff issue\n");
+}
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x8c10, quirk_apple_mbp_poweroff);
arch/x86/xen/smp_pv.c +2 -1
index aae32535f4ec..3e71246da5fe 100644
@@ -19,6 +19,7 @@
 #include <linux/irq_work.h>
 #include <linux/tick.h>
 #include <linux/nmi.h>
+#include <linux/cpuhotplug.h>
 
 #include <asm/paravirt.h>
 #include <asm/desc.h>
@@ -417,7 +418,7 @@ static void xen_pv_play_dead(void) /* used only with HOTPLUG_CPU */
 	 */
 	tick_nohz_idle_enter();
 
-	cpu_startup_entry(CPUHP_AP_ONLINE_IDLE);
+	cpuhp_online_idle(CPUHP_AP_ONLINE_IDLE);
 }
 
 #else /* !CONFIG_HOTPLUG_CPU */
arch/xtensa/kernel/xtensa_ksyms.c +0 -2
index d159e9b9c018..672391003e40 100644
@@ -94,13 +94,11 @@ unsigned long __sync_fetch_and_or_4(unsigned long *p, unsigned long v)
 }
 EXPORT_SYMBOL(__sync_fetch_and_or_4);
 
-#ifdef CONFIG_NET
 /*
  * Networking support
  */
 EXPORT_SYMBOL(csum_partial);
 EXPORT_SYMBOL(csum_partial_copy_generic);
-#endif /* CONFIG_NET */
 
 /*
  * Architecture-specific symbols
arch/xtensa/mm/cache.c +8 -8
index 1a804a2f9a5b..3c75c4e597da 100644
@@ -103,6 +103,7 @@ void clear_user_highpage(struct page *page, unsigned long vaddr)
 	clear_page_alias(kvaddr, paddr);
 	preempt_enable();
 }
+EXPORT_SYMBOL(clear_user_highpage);
 
 void copy_user_highpage(struct page *dst, struct page *src,
 			unsigned long vaddr, struct vm_area_struct *vma)
@@ -119,10 +120,7 @@ void copy_user_highpage(struct page *dst, struct page *src,
 	copy_page_alias(dst_vaddr, src_vaddr, dst_paddr, src_paddr);
 	preempt_enable();
 }
-
-#endif /* DCACHE_WAY_SIZE > PAGE_SIZE */
-
-#if (DCACHE_WAY_SIZE > PAGE_SIZE) && XCHAL_DCACHE_IS_WRITEBACK
+EXPORT_SYMBOL(copy_user_highpage);
 
 /*
  * Any time the kernel writes to a user page cache page, or it is about to
@@ -176,7 +174,7 @@ void flush_dcache_page(struct page *page)
 
 	/* There shouldn't be an entry in the cache for this page anymore. */
 }
-
+EXPORT_SYMBOL(flush_dcache_page);
 
 /*
  * For now, flush the whole cache. FIXME??
@@ -188,6 +186,7 @@ void local_flush_cache_range(struct vm_area_struct *vma,
 	__flush_invalidate_dcache_all();
 	__invalidate_icache_all();
 }
+EXPORT_SYMBOL(local_flush_cache_range);
 
 /* 
  * Remove any entry in the cache for this page. 
@@ -207,8 +206,9 @@ void local_flush_cache_page(struct vm_area_struct *vma, unsigned long address,
 	__flush_invalidate_dcache_page_alias(virt, phys);
 	__invalidate_icache_page_alias(virt, phys);
 }
+EXPORT_SYMBOL(local_flush_cache_page);
 
-#endif
+#endif /* DCACHE_WAY_SIZE > PAGE_SIZE */
 
 void
 update_mmu_cache(struct vm_area_struct * vma, unsigned long addr, pte_t *ptep)
@@ -225,7 +225,7 @@ update_mmu_cache(struct vm_area_struct * vma, unsigned long addr, pte_t *ptep)
 
 	flush_tlb_page(vma, addr);
 
-#if (DCACHE_WAY_SIZE > PAGE_SIZE) && XCHAL_DCACHE_IS_WRITEBACK
+#if (DCACHE_WAY_SIZE > PAGE_SIZE)
 
 	if (!PageReserved(page) && test_bit(PG_arch_1, &page->flags)) {
 		unsigned long phys = page_to_phys(page);
@@ -256,7 +256,7 @@ update_mmu_cache(struct vm_area_struct * vma, unsigned long addr, pte_t *ptep)
  * flush_dcache_page() on the page.
  */
 
-#if (DCACHE_WAY_SIZE > PAGE_SIZE) && XCHAL_DCACHE_IS_WRITEBACK
+#if (DCACHE_WAY_SIZE > PAGE_SIZE)
 
 void copy_to_user_page(struct vm_area_struct *vma, struct page *page,
 		unsigned long vaddr, void *dst, const void *src,
block/blk-core.c +4 -0
index a7421b772d0e..56a7fac71439 100644
@@ -3307,6 +3307,10 @@ EXPORT_SYMBOL(blk_finish_plug);
  */
 void blk_pm_runtime_init(struct request_queue *q, struct device *dev)
 {
+	/* not support for RQF_PM and ->rpm_status in blk-mq yet */
+	if (q->mq_ops)
+		return;
+
 	q->dev = dev;
 	q->rpm_status = RPM_ACTIVE;
 	pm_runtime_set_autosuspend_delay(q->dev, -1);
block/blk-mq-cpumap.c +2 -3
index 8e61e8640e17..5eaecd40f701 100644
@@ -35,7 +35,6 @@ int blk_mq_map_queues(struct blk_mq_tag_set *set)
 {
 	unsigned int *map = set->mq_map;
 	unsigned int nr_queues = set->nr_hw_queues;
-	const struct cpumask *online_mask = cpu_online_mask;
 	unsigned int i, nr_cpus, nr_uniq_cpus, queue, first_sibling;
 	cpumask_var_t cpus;
 
@@ -44,7 +43,7 @@ int blk_mq_map_queues(struct blk_mq_tag_set *set)
 
 	cpumask_clear(cpus);
 	nr_cpus = nr_uniq_cpus = 0;
-	for_each_cpu(i, online_mask) {
+	for_each_present_cpu(i) {
 		nr_cpus++;
 		first_sibling = get_first_sibling(i);
 		if (!cpumask_test_cpu(first_sibling, cpus))
@@ -54,7 +53,7 @@ int blk_mq_map_queues(struct blk_mq_tag_set *set)
 
 	queue = 0;
 	for_each_possible_cpu(i) {
-		if (!cpumask_test_cpu(i, online_mask)) {
+		if (!cpumask_test_cpu(i, cpu_present_mask)) {
 			map[i] = 0;
 			continue;
 		}
block/blk-mq-pci.c +7 -1
index 0c3354cf3552..76944e3271bf 100644
@@ -36,12 +36,18 @@ int blk_mq_pci_map_queues(struct blk_mq_tag_set *set, struct pci_dev *pdev)
 	for (queue = 0; queue < set->nr_hw_queues; queue++) {
 		mask = pci_irq_get_affinity(pdev, queue);
 		if (!mask)
-			return -EINVAL;
+			goto fallback;
 
 		for_each_cpu(cpu, mask)
 			set->mq_map[cpu] = queue;
 	}
 
 	return 0;
+
+fallback:
+	WARN_ON_ONCE(set->nr_hw_queues > 1);
+	for_each_possible_cpu(cpu)
+		set->mq_map[cpu] = 0;
+	return 0;
 }
 EXPORT_SYMBOL_GPL(blk_mq_pci_map_queues);
block/blk-mq.c +13 -111

117 lines not on this page · raw message

block/blk-mq.h +0 -5
index cc67b48e3551..558df56544d2 100644

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

crypto/authencesn.c +5 -0
index 6f8f6b86bfe2..0cf5fefdb859 100644

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

crypto/drbg.c +1 -0
index cdb27ac4b226..633a88e93ab0 100644

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

crypto/rsa-pkcs1pad.c +1 -1
index 8baab4307f7b..7830d304dff6 100644

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

drivers/acpi/acpi_apd.c +2 -2
index fc6c416f8724..d5999eb41c00 100644

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

drivers/acpi/acpi_lpss.c +14 -0
index 10347e3d73ad..5bd58bd4ab05 100644

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

drivers/acpi/ec.c +8 -30
index c24235d8fb52..d8b2779b0140 100644

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

drivers/acpi/internal.h +0 -1
index 66229ffa909b..7e66f3c72b81 100644

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

drivers/acpi/nfit/core.c +9 -1
index 656acb5d7166..f3c3e9d4563c 100644

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

drivers/acpi/property.c +1 -1
index 9364398204e9..6822ac9f106b 100644

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

drivers/acpi/scan.c +0 -1
index d53162997f32..359d16c30002 100644

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

drivers/android/binder.c +9 -10
index aae4d8d4be36..831cdd7d197d 100644

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

drivers/ata/libata-scsi.c +4 -2
index 49ba9834c715..12d59968020f 100644

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

drivers/base/core.c +5 -1
index bbecaf9293be..d3228cb7d12f 100644

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

drivers/base/firmware_class.c +34 -15

49 lines not on this page · raw message

drivers/base/platform.c +9 -2
index a102152301c8..97332d094fe2 100644

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

drivers/base/power/domain.c +10 -10
index da49a8383dc3..d417ad1e639c 100644

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

drivers/base/power/sysfs.c +2 -0
index 33b4b902741a..2df45ec8d935 100644

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

drivers/base/power/wakeup.c +18 -14
index c313b600d356..994bbf8b1476 100644

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

drivers/block/xen-blkfront.c +3 -3
index 39459631667c..b49547c5f2c2 100644

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

drivers/char/ipmi/ipmi_msghandler.c +5 -0
index 9f699951b75a..49a7e9685e77 100644

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

drivers/char/ipmi/ipmi_ssif.c +5 -0
index 0b22a9be5029..12d15212f0b2 100644

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

drivers/char/ipmi/ipmi_watchdog.c +4 -3
index d165af8abe36..4161d9961a24 100644

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

drivers/char/tpm/tpm-chip.c +34 -0
index 322b8a51ffc6..67ec9d3d04f5 100644

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

drivers/char/tpm/tpm-sysfs.c +5 -1
index 55405dbe43fa..c6fa9bef11cf 100644

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

drivers/clk/sunxi-ng/ccu-sun5i.c +1 -1
index 5372bf8be5e6..31d7ffda9aab 100644

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

drivers/cpufreq/intel_pstate.c +19 -2
index eb1158532de3..0d82f3302df6 100644

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

drivers/crypto/Kconfig +1 -1
index fb1e60f5002e..778fc1bcccee 100644

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

drivers/crypto/atmel-sha.c +3 -1
index a9482023d7d3..dad4e5bad827 100644

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

drivers/crypto/bcm/spu2.c +1 -0
index ef04c9748317..bf7ac621c591 100644

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

drivers/crypto/caam/caamalg.c +19 -4
index 398807d1b77e..d4a716326f67 100644

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

drivers/crypto/caam/caamhash.c +1 -1
index da4f94eab3da..718a03293ab6 100644

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

drivers/crypto/caam/key_gen.c +1 -1
index 1bb2816a9b4d..c425d4adaf2a 100644

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

drivers/crypto/ixp4xx_crypto.c +3 -3
index 771dd26c7076..6719e346b790 100644

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

drivers/crypto/talitos.c +6 -1
index 0bba6a19d36a..79791c690858 100644

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

drivers/dax/device-dax.h +1 -1
index fdcd9769ffde..688b051750bd 100644

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

drivers/dax/device.c +16 -8
index 006e657dfcb9..a54188e7c04a 100644

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

drivers/dax/pmem.c +7 -5
index 9f2a0b4fd801..8d8c852ba8f2 100644

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

drivers/firmware/efi/efi.c +2 -1
index b372aad3b449..045d6d311bde 100644

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

drivers/gpio/gpiolib.c +4 -5
index a42a1eea5714..2e96b3d46e0c 100644

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

drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +4 -0
index c6dba1eaefbd..f4a4efec8737 100644

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

drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c +2 -1
index f5ae871aa11c..9c9d39018bd6 100644

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

drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +7 -8
index ac5e92e5d59d..99f575070943 100644

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

drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c +6 -7
index ed814e6d0207..28c1112e520c 100644

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

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +3 -0
index 5db0230e45c6..e06c8a718310 100644

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

drivers/gpu/drm/amd/amdgpu/clearstate_gfx9.h +21 -20

41 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c +2 -1
index a125f9d44577..da2fe803e22f 100644

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

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +2 -69

71 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/si.c +2 -0
index c0b1aabf282f..7dbb7cf47986 100644

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

drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c +6 -0
index 7aa5ca815a3a..0b74da3dca8b 100644

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

drivers/gpu/drm/bridge/tc358767.c +1 -1
index 5c26488e7a2d..0529e500c534 100644

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

drivers/gpu/drm/drm_atomic.c +8 -3
index f32506a7c1d6..422404dbfabb 100644

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

drivers/gpu/drm/drm_dp_mst_topology.c +33 -8

41 lines not on this page · raw message

drivers/gpu/drm/drm_framebuffer.c +1 -0
index fc8ef42203ec..b3ef4f1c2630 100644

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

drivers/gpu/drm/drm_gem.c +3 -3
index b1e28c944637..08e6e981104f 100644

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

drivers/gpu/drm/drm_plane.c +1 -0
index 5dc8c4350602..e40c12fabbde 100644

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

drivers/gpu/drm/etnaviv/etnaviv_drv.c +1 -0
index 5255278dde56..91e17aeee1da 100644

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

drivers/gpu/drm/etnaviv/etnaviv_drv.h +1 -0
index e41f38667c1c..058389f93b69 100644

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

drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c +7 -0
index 62b47972a52e..abed6f781281 100644

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

drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c +2 -2
index 1013765274da..0ceed22187df 100644

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

drivers/gpu/drm/i915/gvt/cmd_parser.c +1 -1
index 41b2c3aaa04a..37258b7d1bce 100644

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

drivers/gpu/drm/i915/gvt/kvmgt.c +9 -5
index 1ae0b4083ce1..fd0c85f9ef3c 100644

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

drivers/gpu/drm/i915/i915_debugfs.c +1 -1
index 4bd1467c17b1..0341061fbb34 100644

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

drivers/gpu/drm/i915/i915_drv.c +5 -3
index 48428672fc6e..6ac8d37e7ab8 100644

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

drivers/gpu/drm/i915/i915_gem_render_state.c +4 -0
index 7032c542a9b1..4dd4c2159a92 100644

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

drivers/gpu/drm/i915/i915_perf.c +6 -6
index 060b171480d5..aac84dda532c 100644

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

drivers/gpu/drm/i915/intel_bios.c +9 -6
index 639d45c1dd2e..7ea7fd1e8856 100644

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

drivers/gpu/drm/i915/intel_cdclk.c +20 -0
index f29a226e24d8..6808f82ffb5d 100644

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

drivers/gpu/drm/i915/intel_color.c +1 -0
index 306c6b06b330..17c4ae7e4e7c 100644

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

drivers/gpu/drm/i915/intel_display.c +7 -7
index 9106ea32b048..881df8843e66 100644

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

drivers/gpu/drm/i915/intel_fbdev.c +6 -5
index 332254a8eebe..e09f3690e299 100644

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

drivers/gpu/drm/imx/parallel-display.c +1 -1
index 636031a30e17..8aca20209cb8 100644

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

drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h +1 -1
index 1e1de6bfe85a..5893be9788d3 100644

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

drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c +1 -1
index c794b2c2d21e..6d8f21290aa2 100644

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

drivers/gpu/drm/radeon/atombios_encoders.c +11 -2
index fa4f8f008e4d..e67ed383e11b 100644

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

drivers/gpu/drm/radeon/ci_dpm.c +6 -0
index ea36dc4dd5d2..24810492d2c1 100644

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

drivers/gpu/drm/sun4i/sun4i_drv.c +8 -0
index 8ddd72cd5873..05601ab27d7c 100644

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

drivers/gpu/drm/ttm/ttm_bo.c +3 -1
index a6d7fcb99c0b..22b57020790d 100644

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

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +1 -1
index c7b53d987f06..fefb9d995d2c 100644

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

drivers/gpu/drm/vmwgfx/vmwgfx_kms.c +9 -0
index 1d2db5d912b0..f8a977f86ec7 100644

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

drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c +2 -2
index 50be1f034f9e..5284e8d2f7ba 100644

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

drivers/hid/hid-multitouch.c +4 -12
index 24d5b6deb571..be5bea15ce52 100644

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

drivers/hv/channel.c +2 -0
index 736ac76d2a6a..3cea1216754e 100644

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

drivers/hv/hv.c +6 -1
index 12e7baecb84e..f8c761fb71ad 100644

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

drivers/i2c/busses/i2c-designware-platdrv.c +15 -2
index d1263b82d646..eea71c4e969d 100644

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

drivers/iio/accel/bmc150-accel-core.c +1 -8
index 6b5d3be283c4..807299dd45eb 100644

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

drivers/iio/accel/st_accel_core.c +32 -0
index 784670e2736b..2ee3ae11eb2a 100644

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

drivers/iio/adc/aspeed_adc.c +26 -0
index 62670cbfa2bb..87fd6e0ce5ee 100644

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

drivers/iio/adc/axp288_adc.c +31 -1
index 64799ad7ebad..7fd24949c0c1 100644

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

drivers/iio/adc/vf610_adc.c +1 -1
index 01fc76f7d660..c168e0db329a 100644

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

drivers/iio/common/hid-sensors/hid-sensor-trigger.c +4 -4
index 0b5dea050239..6dda332f252a 100644

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

drivers/iio/common/st_sensors/st_sensors_core.c +29 -0
index 79c8c7cd70d5..6e6a1ecc99dd 100644

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

drivers/iio/imu/adis16480.c +1 -1
index 8cf84d3488b2..12898424d838 100644

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

drivers/iio/light/tsl2563.c +1 -1
index e7d4ea75e007..7599693f7fe9 100644

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

drivers/iio/magnetometer/st_magn_core.c +1 -3
index 8e1b0861fbe4..c38563699984 100644

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

drivers/iio/pressure/st_pressure_core.c +1 -1
index fd0edca0e656..99448012b47f 100644

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

drivers/infiniband/core/addr.c +5 -1
index ece6926fa2e6..5da2ac7cf61a 100644

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

drivers/infiniband/core/cma.c +2 -0
index 31bb82d8ecd7..d65a09317719 100644

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

drivers/infiniband/core/uverbs_cmd.c +10 -1
index 70b7fb156414..5ea2d80800f9 100644

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

drivers/infiniband/hw/mlx5/mr.c +1 -1
index 366433f71b58..08512d4c8e89 100644

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

drivers/infiniband/ulp/iser/iscsi_iser.c +11 -0
index 5a887efb4bdf..37b33d708c2d 100644

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

drivers/infiniband/ulp/isert/ib_isert.c +1 -1
index fcbed35e95a8..0e662656ef42 100644

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

drivers/input/mouse/alps.c +31 -10

41 lines not on this page · raw message

drivers/input/mouse/alps.h +8 -0
index ed2d6879fa52..c80a7c76cb76 100644

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

drivers/input/mouse/elan_i2c_core.c +5 -0
index d5ab9ddef3e3..4f3d3543b2fb 100644

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

drivers/input/mouse/trackpoint.c +2 -1
index 922ea02edcc3..fb3810d35c44 100644

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

drivers/input/mouse/trackpoint.h +2 -1
index 5617ed3a7d7a..88055755f82e 100644

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

drivers/input/serio/i8042.c +9 -3
index c52da651269b..824f4c1c1f31 100644

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

drivers/iommu/amd_iommu.c +1 -0
index 0f1219fa8561..28fbc81c6e9e 100644

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

drivers/iommu/amd_iommu_types.h +3 -1
index 4de8f4160bb8..09f9dd166827 100644

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

drivers/iommu/arm-smmu.c +16 -0
index 7ec30b08b3bd..7ecd1a0b8419 100644

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

drivers/iommu/intel-iommu.c +3 -1
index fc2765ccdb57..76791fded8a4 100644

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

drivers/iommu/iommu-sysfs.c +20 -12
index c58351ed61c1..36d1a7ce7fc4 100644

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

drivers/irqchip/irq-atmel-aic-common.c +2 -3
index 28b26c80f4cf..056507099725 100644

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

drivers/irqchip/irq-gic-v3.c +3 -0
index c132f29322cc..dbffb7ab6203 100644

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

drivers/isdn/i4l/isdn_common.c +1 -0
index 9b856e1890d1..e4c43a17b333 100644

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

drivers/isdn/i4l/isdn_net.c +2 -3
index c151c6daa67e..f63a110b7bcb 100644

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

drivers/md/dm-integrity.c +11 -4
index 93b181088168..b68e21c25a17 100644

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

drivers/md/dm-raid.c +10 -3
index b4b75dad816a..2e10c2f13a34 100644

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

drivers/md/faulty.c +3 -2
index b0536cfd8e17..06a64d5d8c6c 100644

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

drivers/md/linear.c +4 -3
index df6f2c98eca7..5f1eb9189542 100644

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

drivers/md/md.c +21 -6
index 87edc342ccb3..caca5d689cdc 100644

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

drivers/md/md.h +2 -3
index 0fa1de42c42b..33611a91b1d9 100644

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

drivers/md/multipath.c +4 -4
index e95d521d93e9..c8d985ba008d 100644

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

drivers/md/raid0.c +4 -3
index d6c0bc76e837..94d9ae9b0fd0 100644

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

drivers/md/raid1.c +27 -29

56 lines not on this page · raw message

drivers/md/raid10.c +9 -7
index 797ed60abd5e..bfc6db236348 100644

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

drivers/md/raid5.c +16 -12
index ec0f951ae19f..e92dd2dc4b5a 100644

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

drivers/media/pci/cx88/cx88-cards.c +8 -1
index 73cc7a67a8bc..6df21b29ea17 100644

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

drivers/media/pci/cx88/cx88-video.c +1 -1
index c7d4e87ccb64..3c529dd4f333 100644

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

drivers/media/pci/saa7164/saa7164-bus.c +1 -12
index b2ff82fa7116..ecfeac5cdbed 100644

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

drivers/media/platform/davinci/vpfe_capture.c +2 -20
index e3fe3e0635aa..1831bf5ccca5 100644

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

drivers/media/platform/s5p-jpeg/jpeg-core.c +4 -4
index 52dc7941db65..1da2c94e1dca 100644

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

drivers/media/rc/imon.c +1 -1
index 3489010601b5..bd76534a2749 100644

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

drivers/media/rc/ir-lirc-codec.c +1 -1
index de85f1d7ce43..c01b655571a2 100644

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

drivers/media/rc/ir-spi.c +6 -3
index c8863f36686a..f39cf8cb639f 100644

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

drivers/media/rc/rc-main.c +10 -10
index 6ec73357fa47..802e559cc30e 100644

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

drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c +2 -2
index ffb49c28b15a..0eb33e043079 100644

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

drivers/media/usb/dvb-usb-v2/mxl111sf.c +19 -13
index abf69d8fa469..b0d5904a4ea6 100644

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

drivers/media/usb/dvb-usb-v2/mxl111sf.h +7 -1
index 846260e0eec0..3e6f5880bd1e 100644

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

drivers/media/usb/pulse8-cec/pulse8-cec.c +1 -1
index 1dfc2de1fe77..4767f4341ba9 100644

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

drivers/misc/enclosure.c +10 -4
index d3fe3ea902d4..eb29113e0bac 100644

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

drivers/mmc/core/host.c +35 -37

72 lines not on this page · raw message

drivers/mmc/core/mmc.c +1 -1
index 2c87dede5841..f451094acb8d 100644

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

drivers/mmc/host/dw_mmc.c +12 -12
index e45129f48174..efde0f20dd24 100644

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

drivers/mmc/host/sdhci-of-at91.c +34 -1
index 7611fd679f1a..1485530c3592 100644

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

drivers/mmc/host/sunxi-mmc.c +6 -2
index d6fa2214aaae..0fb4e4c119e1 100644

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

drivers/mmc/host/tmio_mmc_pio.c +9 -10
index a2d92f10501b..a3d20e39e5b5 100644

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

drivers/mtd/nand/atmel/pmecc.c +6 -15
index 55a8ee5306ea..8c210a5776bc 100644

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

drivers/mtd/nand/nand_base.c +10 -2
index b1dd12729f19..6f9771e82476 100644

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

drivers/mtd/nand/nand_timings.c +3 -3
index f06312df3669..7e36d7d13c26 100644

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

drivers/mtd/nand/tango_nand.c +1 -1
index 49b286c6c10f..022e3d494741 100644

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

drivers/net/bonding/bond_main.c +11 -6
index 8ab6bdbe1682..510a580e0348 100644

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

drivers/net/dsa/b53/b53_common.c +1 -0
index fa0eece21eef..d9cc94a7d44e 100644

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

drivers/net/dsa/mv88e6xxx/chip.c +1 -0
index d034d8cd7d22..32864a47c4c1 100644

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

drivers/net/ethernet/aurora/nb8800.c +4 -5
index 5711fbbd6ae3..878cffd37e1f 100644

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

drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c +1 -1
index 962dcbcef8b5..0dcda0b9b0cc 100644

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

drivers/net/ethernet/cavium/liquidio/cn66xx_device.c +1 -1
index bdec051107a6..d62a5096768e 100644

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

drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +11 -5
index 53309f659951..0ac1a5500fc3 100644

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

drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c +25 -17

42 lines not on this page · raw message

drivers/net/ethernet/intel/igb/e1000_82575.c +1 -0
index ee443985581f..4a50870e0fa7 100644

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

drivers/net/ethernet/mellanox/mlx4/en_rx.c +18 -11
index 77abd1813047..802f0e8bff3a 100644

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

drivers/net/ethernet/mellanox/mlx4/main.c +2 -2
index 83aab1e4c8c8..9f214f9fb48c 100644

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

drivers/net/ethernet/mellanox/mlx5/core/cmd.c +21 -4
index 10d282841f5b..ac0a460c006a 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en.h +9 -1
index 944fc1742464..3b39dbd97e57 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en_clock.c +159 -63

222 lines not on this page · raw message

drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c +2 -0
index 8fa23f6a1f67..2eb54d36e16e 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c +2 -2
index 85bf4a389295..986387de13ee 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en_main.c +0 -3
index 277f4de30375..072aa8a13a0a 100644

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

drivers/net/ethernet/mellanox/mlx5/core/eq.c +1 -1
index 33eae5ad2fb0..58a9f5c96d10 100644

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

drivers/net/ethernet/mellanox/mlx5/core/health.c +14 -1
index f27f84ffbc85..8a8b5f0e497c 100644

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

drivers/net/ethernet/mellanox/mlx5/core/ipoib.c +11 -5
index cc1858752e70..6d90e9e3bfd1 100644

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

drivers/net/ethernet/mellanox/mlx5/core/lag.c +10 -15
index b5d5519542e8..0ca4623bda6b 100644

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

drivers/net/ethernet/mellanox/mlx5/core/main.c +2 -2
index 13be264587f1..524c16f72e83 100644

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

drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h +5 -0
index fbc6e9e9e305..1874aa96c1a1 100644

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

drivers/net/ethernet/netronome/nfp/nfp_net_common.c +1 -2
index 82bd6b0935f1..fd4a785431ac 100644

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

drivers/net/ethernet/sfc/ef10.c +3 -5
index 78f9e43420e0..f2da073f4b2b 100644

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

drivers/net/geneve.c +32 -16

48 lines not on this page · raw message

drivers/net/irda/mcs7780.c +13 -3
index 6f6ed75b63c9..765de3bedb88 100644

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

drivers/net/phy/phy.c +3 -0
index eebb0e1c70ff..b30d9ceee8bc 100644

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

drivers/net/ppp/ppp_generic.c +29 -15

44 lines not on this page · raw message

drivers/net/tap.c +9 -9
index 4d4173d25dd0..d88ae3c2edbf 100644

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

drivers/net/tun.c +3 -0
index 9ee7d4275640..5bd954d12541 100644

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

drivers/net/usb/qmi_wwan.c +6 -1
index 32a22f4e8356..473f91322368 100644

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

drivers/net/virtio_net.c +3 -3
index 143d8a95a60d..acb754eb1ccb 100644

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

drivers/net/vrf.c +6 -5
index 022c0b5f9844..c7ee8e3cd38d 100644

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

drivers/net/vxlan.c +20 -10
index 5fa798a5c9a6..c4e540126258 100644

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

drivers/net/wireless/ath/ath9k/ar9003_phy.c +0 -2
index ae3043559b6d..fe5102ca5010 100644

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

drivers/net/wireless/ath/ath9k/rng.c +3 -1
index 568b1c6c2b2b..73f46fb3e83a 100644

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

drivers/net/wireless/ath/ath9k/tx99.c +9 -4
index 16aca9e28b77..1fa7f844b5da 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c +3 -4
index 9b970dc2b922..844c1e68ec03 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +7 -1
index 617199c0e5a0..210f2dc58b74 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +0 -5
index 5653d6dd38f6..d44f59ef4f72 100644

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

drivers/net/wireless/intel/iwlwifi/dvm/tx.c +1 -1
index 4b97371c3b42..838946d17b59 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +25 -7
index a67aa1f5a51c..db5ad222e5ea 100644

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

drivers/net/wireless/marvell/mwifiex/cfg80211.c +35 -36

71 lines not on this page · raw message

drivers/net/wireless/ti/wlcore/spi.c +3 -3
index f949ad2bd898..fa3547e06424 100644

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

drivers/nfc/nfcmrvl/fw_dnld.c +5 -2
index c38bdd6a5a82..a47af81e0fc3 100644

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

drivers/nfc/nfcmrvl/main.c +20 -15
index 51c8240a1672..a446590a71ca 100644

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

drivers/nfc/nfcmrvl/uart.c +4 -4
index 83a99e38e7bd..6c0c301611c4 100644

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

drivers/ntb/ntb_transport.c +1 -3
index 10e5bf460139..f27d1344d198 100644

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

drivers/nvdimm/btt.c +6 -3
index 983718b8fd9b..3cd58143d468 100644

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

drivers/nvdimm/claim.c +1 -2
index 7ceb5fa4f2a1..4baa4ce825ab 100644

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

drivers/nvdimm/core.c +4 -3
index 2dee908e4bae..932c3994ac52 100644

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

drivers/nvme/host/rdma.c +10 -10
index 24397d306d53..cab0cd8b7273 100644

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

drivers/nvmem/core.c +8 -5
index 8c830a80a648..6cf916d9db6d 100644

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

drivers/parisc/ccio-dma.c +12 -0
index e32ca2ef9e54..56c93f096de9 100644

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

drivers/parisc/dino.c +5 -2
index 1133b5cc88ca..ed92c1254cff 100644

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

drivers/parisc/lba_pci.c +4 -2
index 2ec2aef4d211..bc286cbbbc9b 100644

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

drivers/parisc/sba_iommu.c +14 -0
index 33385e574433..87ad5fd6a7a2 100644

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

drivers/pci/host/pcie-rockchip.c +9 -4
index 0e020b6e0943..4590eb95d5d8 100644

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

drivers/pci/host/vmd.c +1 -1
index e27ad2a3bd33..642a182893ce 100644

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

drivers/pci/msi.c +2 -12
index ba44fdfda66b..9e1569107cd6 100644

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

drivers/pci/pci-driver.c +1 -0
index 192e7b681b96..b399fa31e0a2 100644

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

drivers/pci/pci.c +103 -62

165 lines not on this page · raw message

drivers/pinctrl/intel/pinctrl-cherryview.c +7 -0
index 20f1b4493994..04e929fd0ffe 100644

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

drivers/pinctrl/intel/pinctrl-merrifield.c +3 -3
index 4d4ef42a39b5..86c4b3fab7b0 100644

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

drivers/pinctrl/meson/pinctrl-meson-gxbb.c +1 -0
index 9b00be15d258..df942272ba54 100644

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

drivers/pinctrl/meson/pinctrl-meson-gxl.c +1 -0
index 998210eacf37..3046fd732155 100644

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

drivers/pinctrl/mvebu/pinctrl-armada-37xx.c +1 -1
index 5c96f5558310..6aaeb0e9360e 100644

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

drivers/pinctrl/samsung/pinctrl-exynos.c +0 -4
index 7b0e6cc35e04..2ea8b1505138 100644

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

drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c +1 -0
index fb30b86a97ee..5fbbdbf349b8 100644

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

drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c +192 -172

364 lines not on this page · raw message

drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c +194 -189

383 lines not on this page · raw message

drivers/scsi/Kconfig +2 -0
index 3c52867dfe28..d145e0d90227 100644

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

drivers/scsi/qla2xxx/qla_init.c +5 -2
index 0391fc317003..f6130e8b1ca1 100644

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

drivers/scsi/scsi_lib.c +29 -18

47 lines not on this page · raw message

drivers/scsi/scsi_scan.c +3 -2
index 6f7128f49c30..27a6d3c6cb7c 100644

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

drivers/scsi/scsi_sysfs.c +6 -2
index 82dfe07b1d47..3a6f557ec128 100644

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

drivers/scsi/sg.c +1 -24
index 82c33a6edbea..aa6f1debeaa7 100644

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

drivers/scsi/virtio_scsi.c +13 -0
index f8dbfeee6c63..b2d80d449244 100644

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

drivers/spi/spi-atmel.c +23 -1
index 1eb83c9613d5..78c885d80c96 100644

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

drivers/spmi/spmi.c +12 -0
index 2b9b0941d9eb..6d23226e5f69 100644

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

drivers/staging/android/uapi/ion.h +0 -18
index b76db1b2e197..a291b1225515 100644

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

drivers/staging/comedi/comedi_fops.c +4 -0
index f191c2a75732..11d809780ee0 100644

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

drivers/staging/comedi/drivers/ni_mio_common.c +1 -2
index b2e382888981..2f7bfc1c59e5 100644

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

drivers/staging/iio/resolver/ad2s1210.c +1 -1
index a6a8393d6664..3e00df74b18c 100644

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

drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c +15 -4
index 0db662d6abdd..4fb55e4d7483 100644

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

drivers/staging/rtl8188eu/os_dep/usb_intf.c +2 -0
index 963235fd7292..56cd4e5e51b2 100644

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

drivers/staging/sm750fb/sm750.c +24 -0
index 386d4adcd91d..fa557e89f340 100644

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

drivers/staging/vt6656/main_usb.c +3 -0
index 028f54b453d0..b7afef056659 100644

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

drivers/target/iscsi/iscsi_target.c +2 -0
index 3fdca2cdd8da..db843e3f355a 100644

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

drivers/target/iscsi/iscsi_target_configfs.c +2 -0
index 535a8e06a401..0dd4c45f7575 100644

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

drivers/target/iscsi/iscsi_target_login.c +5 -2
index 92b96b51d506..e491cf75e92d 100644

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

drivers/target/iscsi/iscsi_target_nego.c +4 -2
index 6f88b31242b0..8b957b8072b9 100644

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

drivers/target/iscsi/iscsi_target_parameters.c +28 -13

41 lines not on this page · raw message

drivers/target/iscsi/iscsi_target_parameters.h +1 -1
index 9962ccf0ccd7..c47b73f57528 100644

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

drivers/target/iscsi/iscsi_target_tpg.c +19 -0
index 2e7e08dbda48..89813a162c34 100644

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

drivers/target/iscsi/iscsi_target_tpg.h +1 -0
index ceba29851167..59fd3cabe89d 100644

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

drivers/target/target_core_tpg.c +2 -2
index 310d9e55c6eb..2d9ad10de3b3 100644

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

drivers/target/target_core_transport.c +11 -2
index f1b3a46bdcaf..884780d2ec69 100644

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

drivers/target/target_core_user.c +7 -9
index beb5f098f32d..05804227234d 100644

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

drivers/thermal/cpu_cooling.c +3 -1
index 69d0f430b2d1..be29489dd247 100644

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

drivers/thermal/max77620_thermal.c +8 -2
index e9a1fe342760..71d35f3c9215 100644

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

drivers/tty/serial/imx.c +5 -21
index bbefddd92bfe..92606b1e55bd 100644

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

drivers/tty/serial/sh-sci.c +8 -4
index 71707e8e6e3f..9f1bc67e66ae 100644

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

drivers/tty/serial/st-asc.c +1 -0
index f5335be344f6..6b0ca65027d0 100644

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

drivers/tty/vt/vt.c +3 -3
index 9c9945284bcf..bacc48b0b4b8 100644

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

drivers/usb/class/cdc-acm.c +3 -0
index 5357d83bbda2..5e056064259c 100644

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

drivers/usb/core/hcd.c +3 -1
index 5dea98358c05..cc4121605c53 100644

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

drivers/usb/core/hub.c +6 -4
index b8bb20d7acdb..0881a3e8131c 100644

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

drivers/usb/core/quirks.c +8 -0
index 96b21b0dac1e..574da2b4529c 100644

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

drivers/usb/core/usb-acpi.c +23 -3
index 2776cfe64c09..ef9cf4a21afe 100644

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

drivers/usb/core/usb.c +2 -0
index 28b053cacc90..62e1906bb2f3 100644

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

drivers/usb/dwc3/dwc3-st.c +1 -1
index dfbf464eb88c..505676fd3ba4 100644

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

drivers/usb/dwc3/gadget.c +3 -6
index aea9a5b948b4..58d20e3decb5 100644

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

drivers/usb/gadget/udc/renesas_usb3.c +16 -5
index cd4c88529721..9f3addfca744 100644

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

drivers/usb/host/pci-quirks.c +86 -5

91 lines not on this page · raw message

drivers/usb/host/pci-quirks.h +3 -0
index 0222195bd5b0..5582cbafecd4 100644

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

drivers/usb/host/xhci-hub.c +8 -0
index 0dde49c35dd2..00ad677d8ec7 100644

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

drivers/usb/host/xhci-pci.c +25 -0
index 1bcf971141c0..cefa223f9f08 100644

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

drivers/usb/host/xhci-ring.c +7 -4
index 03f63f50afb6..bbb1536ce86b 100644

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

drivers/usb/host/xhci.c +9 -1
index 30f47d92a610..dd29dda6479b 100644

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

drivers/usb/host/xhci.h +2 -0
index 73a28a986d5e..cca87fdbec2c 100644

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

drivers/usb/musb/musb_host.c +1 -0
index dbe617a735d8..8bb57f76829d 100644

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

drivers/usb/renesas_usbhs/common.c +3 -1
index 623c51300393..f0ce304c5aaf 100644

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

drivers/usb/renesas_usbhs/mod_gadget.c +24 -7
index 5bc7a6138855..93fba9033b00 100644

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

drivers/usb/renesas_usbhs/rcar3.c +7 -2
index d544b331c9f2..02b67abfc2a1 100644

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

drivers/usb/serial/cp210x.c +2 -0
index 0c55e7f64269..2d945c9f975c 100644

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

drivers/usb/serial/option.c +6 -0
index 3bf61acfc26b..fe123153b1a5 100644

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

drivers/usb/serial/pl2303.c +2 -0
index c9ebefd8f35f..a585b477415d 100644

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

drivers/usb/serial/pl2303.h +1 -0
index 09d9be88209e..3b5a15d1dc0d 100644

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

drivers/usb/serial/qcserial.c +1 -0
index fd509ed6cf70..652b4334b26d 100644

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

drivers/usb/storage/isd200.c +4 -1
index fba4005dd737..6a7720e66595 100644

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

drivers/usb/storage/unusual_uas.h +2 -2
index cbea9f329e71..cde115359793 100644

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

drivers/usb/storage/usb.c +12 -6
index 06615934fed1..0dceb9fa3a06 100644

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

drivers/usb/usbip/stub_main.c +4 -0
index 44ab43fc4fcc..af10f7b131a4 100644

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

drivers/usb/usbip/stub_tx.c +4 -0
index 6b1e8c3f0e4b..be50cef645d8 100644

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

drivers/vfio/vfio.c +45 -39

84 lines not on this page · raw message

drivers/virtio/virtio_pci_common.c +7 -3
index 007a4f366086..1c4797e53f68 100644

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

drivers/xen/biomerge.c +1 -2
index 4da69dbf7dca..1bdd02a6d6ac 100644

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

drivers/xen/xen-scsiback.c +9 -24
index d6950e0802b7..980f32817305 100644

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

drivers/xen/xenbus/xenbus_comms.c +10 -11
index 856ada5d39c9..5b081a01779d 100644

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

fs/binfmt_elf.c +52 -10

62 lines not on this page · raw message

fs/btrfs/acl.c +7 -6
index 247b8dfaf6e5..8d8370ddb6b2 100644

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

fs/btrfs/disk-io.c +6 -6
index 5f678dcb20e6..db58d06c4e75 100644

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

fs/btrfs/extent-tree.c +0 -4
index 33d979e9ea2a..83eecd33ad96 100644

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

fs/btrfs/extent_io.c +15 -19
index d3619e010005..0c7b61f72478 100644

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

fs/btrfs/file.c +4 -1
index da1096eb1a40..5da85b080368 100644

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

fs/btrfs/inode.c +4 -4
index ef3c98c527c1..a760b8d8e39c 100644

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

fs/btrfs/send.c +4 -3
index fc496a6f842a..17557b952846 100644

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

fs/ceph/dir.c +5 -0
index e071d23f6148..ef7240ace576 100644

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

fs/cifs/cifsglob.h +2 -0
index bcc7d9acad64..fb482515a64b 100644

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

fs/cifs/cifssmb.c +7 -0
index fbb0d4cbda41..72a53bd19865 100644

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

fs/cifs/connect.c +7 -0
index 9365c0cf77ad..c59d77f64f74 100644

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

fs/cifs/dir.c +12 -6
index 56366e984076..569d3fb736be 100644

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

fs/cifs/smb2ops.c +23 -0
index 7e48561abd29..67f9b1445043 100644

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

fs/cifs/smb2pdu.c +2 -2
index e4afdaae743f..c398f393f2b3 100644

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

fs/dax.c +10 -0
index 9187f3b07f3e..f3ac7674b5cb 100644

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

fs/dcache.c +30 -2
index a9f995f6859e..736754c5ab63 100644

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

fs/debugfs/inode.c +5 -5
index e892ae7d89f8..acd3be2cc691 100644

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

fs/exec.c +6 -5
index 904199086490..62175cbcc801 100644

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

fs/ext2/acl.c +22 -14
index 79dafa71effd..069c0dceda01 100644

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

fs/ext4/acl.c +17 -8
index 3ec0e46de95f..22a8d532cca6 100644

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

fs/ext4/file.c +3 -0
index 02ce7e7bbdf5..407fc5aa32a7 100644

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

fs/ext4/resize.c +2 -1
index c3ed9021b781..035cd3f4785e 100644

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

fs/ext4/sysfs.c +1 -1
index d74dc5f81a04..48c7a7d55ed3 100644

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

fs/f2fs/acl.c +1 -1
index 8f487692c21f..8ac67d547826 100644

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

fs/f2fs/checkpoint.c +6 -5
index ea9c317b5916..06f7854d4e52 100644

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

fs/f2fs/f2fs.h +12 -6
index fd2e651bad6d..99271b76e05d 100644

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

fs/f2fs/file.c +1 -0
index 61af721329fa..666edc49e852 100644

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

fs/f2fs/gc.c +5 -4
index 026522107ca3..3af905ce6c27 100644

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

fs/f2fs/inode.c +1 -1
index 518f49643092..e53c784ab11e 100644

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

fs/f2fs/segment.c +26 -11
index 96845854e7ee..fca7577d31d1 100644

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

fs/f2fs/super.c +16 -0
index 83355ec4a92c..397b1e816b36 100644

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

fs/fs-writeback.c +4 -4
index 63ee2940775c..309364aab2a5 100644

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

fs/fuse/file.c +1 -1
index 3ee4fdc3da9e..76eac2a554c4 100644

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

fs/gfs2/glock.c +9 -2
index 959a19ced4d5..dd58a2a95bb6 100644

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

fs/gfs2/incore.h +1 -0
index b7cf65d13561..7550975c39ab 100644

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

fs/hfsplus/posix_acl.c +18 -12
index 9b92058a1240..6bb5d7c42888 100644

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

fs/jfs/acl.c +8 -7
index 7bc186f4ed4d..1be45c8d460d 100644

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

fs/mount.h +1 -0
index bf1fda6eed8f..de45d9e76748 100644

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

fs/namei.c +4 -4
index 6571a5f5112e..281c1f7fa983 100644

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

fs/namespace.c +1 -0
index 5a4438445bf7..f70914a859a4 100644

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

fs/nfs/Kconfig +1 -0
index 69d02cf8cf37..5f93cfacb3d1 100644

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

fs/nfs/dir.c +8 -4
index 2ac00bf4ecf1..5f0d08b2e1e5 100644

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

fs/nfs/file.c +1 -1
index 5713eb32a45e..d264363559db 100644

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

fs/nfs/filelayout/filelayout.c +2 -1
index 1cf85d65b748..3e486cd01caf 100644

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

fs/nfs/flexfilelayout/flexfilelayoutdev.c +1 -0
index 6df7a0cf5660..f32c58bbe556 100644

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

fs/nfs/inode.c +2 -2
index 1de93ba78dc9..8c465d3c7e05 100644

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

fs/nfs/nfs4proc.c +5 -8
index dbfa18900e25..074169a54162 100644

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

fs/nfs/nfs4xdr.c +1 -1
index 3aebfdc82b30..b0cbee2b2422 100644

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

fs/nfs/pagelist.c +1 -0
index ad92b401326c..7ddba5022948 100644

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

fs/nfsd/nfs4xdr.c +2 -4
index 26780d53a6f9..ed8d6b73d12a 100644

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

fs/notify/fsnotify.c +6 -2
index 01a9f0f007d4..0c4583b61717 100644

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

fs/ocfs2/acl.c +12 -12
index dc22ba8c710f..e50a387959bf 100644

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

fs/overlayfs/dir.c +18 -4
index a63a71656e9b..bacb1809e941 100644

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

fs/overlayfs/super.c +1 -0
index 4882ffb37bae..04d0c7ed645e 100644

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

fs/pnode.c +163 -49

212 lines not on this page · raw message

fs/proc/internal.h +1 -1
index c5ae09b6c726..18694598bebf 100644

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

fs/proc/proc_sysctl.c +30 -13

43 lines not on this page · raw message

fs/pstore/platform.c +7 -2
index d468eec9b8a6..4c5cd9368460 100644

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

fs/reiserfs/xattr_acl.c +7 -5
index 3d2256a425ee..d92a1dc6ee70 100644

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

fs/ubifs/dir.c +1 -0
index 566079d9b402..c67f6a3a606c 100644

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

fs/ubifs/journal.c +7 -5
index 294519b98874..df1aff716fab 100644

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

fs/ubifs/tnc.c +2 -0
index 709aa098dd46..96374a39ffba 100644

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

fs/ubifs/ubifs.h +1 -0
index 298b4d89eee9..f9db88c775c7 100644

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

fs/ubifs/xattr.c +22 -0
index 6c9e62c2ef55..98f11257d66c 100644

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

fs/udf/file.c +7 -2
index f5eb2d5b3bac..e06d2c15749a 100644

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

fs/udf/inode.c +2 -2
index 98c510e17203..18fdb9d90812 100644

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

fs/userfaultfd.c +5 -0
index 1d622f276e3a..26f9591b04b1 100644

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

fs/xfs/xfs_acl.c +3 -3
index b468e041f207..7034e17535de 100644

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

fs/xfs/xfs_acl.h +1 -0
index 286fa89217f5..04327318ef67 100644

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

fs/xfs/xfs_iops.c +2 -2
index ebfc13350f9a..077e2b2ac773 100644

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

fs/xfs/xfs_log_cil.c +1 -0
index 82f1cbcc4de1..1f53dc23aebe 100644

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

fs/xfs/xfs_mount.c +2 -2
index 2eaf81859166..7147d4a8d207 100644

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

include/asm-generic/vmlinux.lds.h +26 -12
index 314a0b9219c6..a06342f11259 100644

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

include/linux/backing-dev.h +3 -23
index 557d84063934..e9c967b86054 100644

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

include/linux/blk-cgroup.h +3 -3
index 01b62e7bac74..7104bea8dab1 100644

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

include/linux/bpf_verifier.h +1 -0
index d5093b52b485..88f4289e7eee 100644

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

include/linux/compiler-clang.h +0 -8
index d614c5ea1b5e..de179993e039 100644

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

include/linux/compiler-gcc.h +11 -7
index 0efef9cf014f..71fe0994cf1a 100644

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

include/linux/cpuhotplug.h +0 -1
index 0f2a80377520..30b86efea2bc 100644

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

include/linux/cpumask.h +17 -0
index 2404ad238c0b..a21b1fb9a968 100644

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

include/linux/cpuset.h +17 -2
index 119a3f9604b0..898cfe2eeb42 100644

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

include/linux/dcache.h +6 -0
index d2e38dc6172c..025727bf6797 100644

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

include/linux/device.h +2 -0
index 9ef518af5515..f240baac2001 100644

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

include/linux/fs.h +2 -2
index 803e5a9b2654..d6d525039496 100644

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

include/linux/fsnotify.h +0 -31
index b43d3f5bd9ea..b78aa7ac77ce 100644

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

include/linux/iio/common/st_sensors.h +7 -0
index 497f2b3a5a62..97f1b465d04f 100644

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

include/linux/init_task.h +3 -3
index e049526bc188..a2f6707e9fc0 100644

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

include/linux/interrupt.h +2 -2
index a6fba4804672..0991f973f8ca 100644

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

include/linux/iommu.h +11 -1
index 2cb54adc4a33..176f7569d874 100644

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

include/linux/list_lru.h +1 -0
index cb0ba9f2a9a2..fa7fd03cb5f9 100644

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

include/linux/memblock.h +4 -2
index 8098695e5d8d..2526c501622f 100644

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

include/linux/mlx5/driver.h +1 -0
index 93273d9ea4d1..ba260330ce5e 100644

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

include/linux/mlx5/mlx5_ifc.h +7 -3
index edafedb7b509..e21a0b3d6454 100644

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

include/linux/mm_types.h +4 -0
index 45cdb27791a3..ab8f7e11c160 100644

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

include/linux/mman.h +1 -1
index 634c4c51fe3a..c8367041fafd 100644

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

include/linux/mtd/nand.h +3 -3
index 8f67b1581683..a3ebb64b1cf4 100644

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

include/linux/nfs_xdr.h +1 -1
index b28c83475ee8..7882a07d973e 100644

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

include/linux/nmi.h +8 -0
index aa3cd0878270..a8d4fc3356d2 100644

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

include/linux/pci.h +1 -0
index 8039f9f0ca05..16be18678ca1 100644

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

include/linux/percpu_counter.h +4 -3
index 84a109449610..ec065387f443 100644

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

include/linux/perf_event.h +2 -2
index 24a635887f28..fc32347473a9 100644

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

include/linux/pid.h +3 -1
index 4d179316e431..719582744a2e 100644

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

include/linux/platform_data/st_sensors_pdata.h +2 -0
index 79b0e4cdb814..f8274b0c6888 100644

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

include/linux/ptr_ring.h +5 -4
index 6b2e0dd88569..feff771e8ea0 100644

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

include/linux/sched.h +46 -34

80 lines not on this page · raw message

include/linux/skb_array.h +2 -1
index f4dfade428f0..be8b902b5845 100644

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

include/linux/sysctl.h +1 -1
index 80d07816def0..1c04a26bfd2f 100644

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

include/linux/usb/hcd.h +2 -2
index 50398b69ca44..a1f03ebfde47 100644

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

include/linux/vfio.h +2 -0
index edf9b2cad277..9b34d0af5d27 100644

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

include/linux/vtime.h +1 -8
index 0681fe25abeb..18b405e3cd93 100644

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

include/linux/workqueue.h +3 -1
index c102ef65cb64..db6dc9dc0482 100644

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

include/net/bonding.h +5 -0
index b00508d22e0a..b2e68657a216 100644

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

include/net/inet_frag.h +2 -2
index 5894730ec82a..5932e6de8fc0 100644

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

include/net/ip.h +2 -2
index 821cedcc8e73..0cf7f5a65fe6 100644

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

include/net/ip6_route.h +8 -0
index f5e625f53367..4341731f39a5 100644

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

include/net/sch_generic.h +4 -1
index 22e52093bfda..db5b6b6346b3 100644

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

include/net/sctp/sctp.h +4 -0
index 069582ee5d7f..06db0c3ec384 100644

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

include/net/udp.h +1 -0
index 3391dbd73959..1933442cf1a6 100644

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

include/net/vxlan.h +9 -1
index 49a59202f85e..da7d6b89df77 100644

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

include/scsi/scsi_cmnd.h +1 -0
index b379f93a2c48..16351de31243 100644

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

include/scsi/scsi_device.h +1 -0
index 05641aebd181..148e6511ee0c 100644

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

include/sound/soc.h +0 -6
index 5170fd81e1fd..375893d8d4a5 100644

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

include/target/iscsi/iscsi_target_core.h +10 -0
index 5f17fb770477..ed766dcb9cb7 100644

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

include/uapi/linux/sched/types.h +8 -8
index 307acbc82d80..34b81aa1a2f7 100644

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

ipc/mqueue.c +3 -1
index e8d41ff57241..a6ced9e07e1c 100644

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

kernel/audit_watch.c +7 -5
index 62d686d96581..ed748ee40029 100644

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

kernel/bpf/verifier.c +171 -20

191 lines not on this page · raw message

kernel/cgroup/cgroup-internal.h +3 -0
index 00f4d6bf048f..7a01568e5e22 100644

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

kernel/cgroup/cgroup.c +37 -29

66 lines not on this page · raw message

kernel/cgroup/cpuset.c +1 -0
index ae643412948a..8f26927f16a1 100644

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

kernel/cpu.c +20 -18
index cb5103413bd8..cea4d7f1885a 100644

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

kernel/events/core.c +29 -44

73 lines not on this page · raw message

kernel/extable.c +1 -1
index 2676d7f8baf6..4efaf26d7def 100644

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

kernel/fork.c +9 -14
index e53770d2bf95..9a2b4b4f13b4 100644

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

kernel/futex.c +3 -2
index 357348a6cf6b..bb8b5a9fcdd5 100644

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

kernel/irq/affinity.c +12 -1
index e2d356dd7581..9b71406d2eec 100644

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

kernel/irq/chip.c +8 -2
index c94da688ee9b..cdf94ce959d8 100644

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

kernel/irq/ipi.c +2 -2
index 1a9abc1c8ea0..259a22aa9934 100644

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

kernel/locking/rwsem-spinlock.c +2 -2
index c65f7989f850..20819df98125 100644

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

kernel/pid.c +4 -7
index fd1cde1e4576..eeb892e728f8 100644

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

kernel/rcu/tree_plugin.h +2 -0
index c9a48657512a..c7a343da4c37 100644

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

kernel/sched/cputime.c +97 -61

158 lines not on this page · raw message

kernel/sched/fair.c +127 -237

364 lines not on this page · raw message

kernel/sched/features.h +1 -0
index 11192e0cb122..ce7b4b6ac733 100644

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

kernel/sched/topology.c +20 -4
index 1b0b4fb12837..f463b6b7b378 100644

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

kernel/time/alarmtimer.c +1 -1
index ee2f4202d82a..11e70a38497c 100644

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

kernel/time/timer.c +42 -10

52 lines not on this page · raw message

kernel/trace/bpf_trace.c +30 -4
index 460a031c77e5..d521b301dee9 100644

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

kernel/trace/ftrace.c +5 -1
index b308be30dfb9..a2bbce575e88 100644

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

kernel/trace/ring_buffer.c +9 -5
index 4ae268e687fe..912f62df0279 100644

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

kernel/trace/ring_buffer_benchmark.c +1 -1
index 9fbcaf567886..68ee79afe31c 100644

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

kernel/trace/trace.c +14 -6
index 091e801145c9..749a82c6a832 100644

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

kernel/trace/trace_events_filter.c +4 -0
index 59a411ff60c7..181e139a8057 100644

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

kernel/trace/tracing_map.c +7 -4
index 0a689bbb78ef..305039b122fa 100644

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

kernel/watchdog.c +1 -0
index 03e0b69bb5bf..b8e938c7273f 100644

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

kernel/watchdog_hld.c +59 -0

59 lines not on this page · raw message

kernel/workqueue.c +19 -4
index c74bf39ef764..6effbcb7a3d6 100644

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

lib/Kconfig.debug +7 -0
index e4587ebe52c7..1f1cb51005de 100644

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

lib/cpumask.c +32 -0
index 81dedaab36cc..4731a0895760 100644

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

lib/flex_proportions.c +3 -3
index a71cf1bdd4c9..2cc1f94e03a1 100644

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

lib/percpu_counter.c +9 -2
index 9c21000df0b5..3bf4a9984f4c 100644

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

mm/cma_debug.c +1 -1
index 595b757bef72..c03ccbc405a0 100644

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

mm/huge_memory.c +1 -1
index 88c6167f194d..f4d5f9d0f9b7 100644

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

mm/hugetlb.c +3 -6
index 3eedb187e549..cc289933f462 100644

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

mm/internal.h +4 -1
index 0e4f558412fb..9c8a2bfb975c 100644

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

mm/list_lru.c +6 -8
index 234676e31edd..7a40fa2be858 100644

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

mm/madvise.c +2 -1
index 25b78ee4fc2c..fc6bfbe19a16 100644

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

mm/memblock.c +17 -21
index 7b8a5db76a2f..43d0919e29f3 100644

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

mm/memory.c +12 -1
index bb11c474857e..9e50ffcf9639 100644

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

mm/mempolicy.c +0 -5
index 37d0b334bfe9..e0157546e6b5 100644

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

mm/migrate.c +3 -8
index 89a0a1707f4c..2586d5ab9b99 100644

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

mm/mmap.c +1 -1
index a5e3dcd75e79..cc2fc8ae42a9 100644

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

mm/mprotect.c +1 -0
index 8edd0d576254..f42749e6bf4e 100644

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

mm/mremap.c +6 -2
index cd8a1b199ef9..3f23715d3c69 100644

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

mm/nobootmem.c +0 -16
index 487dad610731..ab998125f04d 100644

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

mm/page-writeback.c +5 -5
index 143c1c25d680..b7451891959a 100644

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

mm/page_alloc.c +23 -3
index 2302f250d6b1..f553b3a6eca8 100644

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

mm/rmap.c +36 -0
index d405f0e0ee96..9835d19fe143 100644

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

mm/shmem.c +12 -4
index e67d6ba4e98e..0474c7a73cfa 100644

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

mm/slub.c +2 -1
index 8addc535bcdc..a0f3c56611c6 100644

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

mm/vmalloc.c +8 -5
index ecc97f74ab18..104eb720ba43 100644

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

net/bluetooth/bnep/core.c +5 -6
index fbf251fef70f..4d6b94d7ce5f 100644

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

net/bluetooth/cmtp/core.c +10 -7
index 9e59b6654126..1152ce34dad4 100644

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

net/bluetooth/hidp/core.c +22 -11
index 0bec4588c3c8..1fc076420d1e 100644

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

net/bluetooth/smp.c +20 -19
index 14585edc9439..a0ef89772c36 100644

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

net/bridge/br_mdb.c +2 -1
index b0845480a3ae..c1030f852b3c 100644

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

net/core/dev.c +2 -2
index 416137c64bf8..528edc68a64a 100644

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

net/core/dev_ioctl.c +3 -0
index 27fad31784a8..18f9cb9aa87d 100644

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

net/core/rtnetlink.c +3 -1
index 467a2f4510a7..52bfeb60c886 100644

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

net/dccp/feat.c +5 -2
index 1704948e6a12..f227f002c73d 100644

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

net/dccp/ipv4.c +1 -0
index f75482bdee9a..97368f229876 100644

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

net/dccp/ipv6.c +1 -0
index 992621172220..cf3e40df4765 100644

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

net/dccp/proto.c +13 -6
index 9fe25bf63296..b68168fcc06a 100644

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

net/ipv4/af_inet.c +7 -0
index 58925b6597de..ab8ebd440423 100644

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

net/ipv4/fib_frontend.c +5 -4
index 83e3ed258467..3acc8261477c 100644

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

net/ipv4/fib_semantics.c +8 -6
index ad9ad4aab5da..ac9a8fbbacfd 100644

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

net/ipv4/igmp.c +9 -7
index ec9a396fa466..abdbe79ee175 100644

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

net/ipv4/ip_output.c +5 -3
index 532b36e9ce2a..e5948c0c9759 100644

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

net/ipv4/route.c +1 -1
index 6883b3d4ba8f..22ba873546c3 100644

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

net/ipv4/syncookies.c +1 -0
index 0257d965f111..4a97fe20f59e 100644

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

net/ipv4/tcp_bbr.c +38 -11

49 lines not on this page · raw message

net/ipv4/tcp_input.c +3 -4
index 174d4376baa5..fbaac4423a99 100644

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

net/ipv4/tcp_output.c +3 -0
index 4858e190f6ac..8963b8c5fb41 100644

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

net/ipv4/tcp_timer.c +2 -1
index 14672543cf0b..0733ea7e17cd 100644

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

net/ipv4/udp.c +3 -2
index 1d6219bf2d6b..c991b97cbb28 100644

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

net/ipv4/udp_offload.c +1 -1
index 781250151d40..0932c85b42af 100644

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

net/ipv6/addrconf.c +9 -9
index 1d2dbace42ff..39a44c0598f7 100644

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

net/ipv6/ip6_fib.c +16 -15
index e6b78ba0e636..cd8dd8c4e819 100644

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

net/ipv6/ip6_output.c +4 -7
index 1699acb2fa2c..365d5108a326 100644

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

net/ipv6/output_core.c +6 -2
index e9065b8d3af8..abb2c307fbe8 100644

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

net/ipv6/route.c +4 -15
index 322bd62e688b..aeb7097acc0a 100644

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

net/ipv6/syncookies.c +1 -0
index 5abc3692b901..ca7895454cec 100644

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

net/ipv6/udp.c +18 -9
index 75703fda23e7..592270c310f4 100644

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

net/ipv6/udp_offload.c +1 -1
index a2267f80febb..e7d378c032cb 100644

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

net/irda/af_irda.c +1 -1
index 8d77ad5cadaf..4cadc29f547c 100644

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

net/key/af_key.c +26 -22

48 lines not on this page · raw message

net/netfilter/nf_conntrack_expect.c +1 -1
index e03d16ed550d..899c2c36da13 100644

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

net/netfilter/nf_nat_core.c +9 -8
index 6c72922d20ca..b93a46ef812d 100644

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

net/netfilter/nfnetlink.c +3 -3
index 80f5ecf2c3d7..ff1f4ce6fba4 100644

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

net/nfc/core.c +18 -13
index 122bb81da918..5cf33df888c3 100644

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

net/nfc/llcp_sock.c +5 -4
index 2ffb18e73df6..fb7afcaa3004 100644

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

net/nfc/nci/core.c +1 -2
index 61fff422424f..85a3d9ed4c29 100644

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

net/nfc/netlink.c +3 -1
index 6b0850e63e09..b251fb936a27 100644

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

net/openvswitch/actions.c +1 -0
index e4610676299b..a54a556fcdb5 100644

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

net/openvswitch/conntrack.c +5 -2
index 08679ebb3068..b3bf66bbf4dc 100644

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

net/openvswitch/datapath.c +4 -3
index 7b17da9a94a0..57ce10b6cf6b 100644

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

net/openvswitch/datapath.h +2 -0
index da931bdef8a7..98a28f78aff2 100644

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

net/packet/af_packet.c +10 -5
index e3eeed19cc7a..aa2d4000bafc 100644

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

net/rds/tcp_listen.c +1 -1
index 507678853e6c..9a1798d6ae94 100644

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

net/sched/act_ipt.c +13 -11
index 36f0ced9e60c..541707802a23 100644

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

net/sched/sch_api.c +0 -3
index cfdbfa18a95e..fdbbdfd8e9a8 100644

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

net/sched/sch_sfq.c +4 -1
index 332d94be6e1c..22451a9eb89d 100644

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

net/sctp/ipv6.c +2 -0
index f5b45b8b8b16..0de5f5f8ddbc 100644

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

net/sctp/sm_make_chunk.c +2 -2
index 92e332e17391..961a6f81ae64 100644

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

net/sunrpc/auth_gss/gss_krb5_crypto.c +2 -1
index fb39284ec174..12649c9fedab 100644

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

net/sunrpc/svcsock.c +20 -2
index 2b720fa35c4f..e18500151236 100644

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

net/sunrpc/xprtsock.c +2 -0
index d5b54c020dec..4f154d388748 100644

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

net/tipc/netlink_compat.c +4 -2
index 9bfe886ab330..750949dfc1d7 100644

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

net/wireless/nl80211.c +7 -3
index c3bc9da30cff..571aed1e6f36 100644

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

scripts/checkpatch.pl +3 -3
index 4b9569fa931b..33e50614a5d9 100755

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

scripts/dtc/dtx_diff +1 -1
index ec47f95991a3..586cccea46ce 100755

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

security/keys/compat_dh.c +2 -0
index a6a659b6bcb6..aa6b34cafe5f 100644

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

security/keys/dh.c +5 -0
index 4755d4b4f945..d1ea9f325f94 100644

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

sound/core/control.c +1 -1
index c109b82eef4b..7b43b0f74b84 100644

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

sound/core/seq/seq_clientmgr.c +4 -9
index f3b1d7f50b81..67c4c68ce041 100644

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

sound/core/seq/seq_queue.c +9 -5
index 450c5187eecb..79e0c5604ef8 100644

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

sound/core/seq/seq_queue.h +1 -1
index 30c8111477f6..719093489a2c 100644

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

sound/firewire/iso-resources.c +6 -1
index f0e4d502d604..066b5df666f4 100644

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

sound/firewire/motu/motu.c +1 -0
index bf779cfeef0d..59a270406353 100644

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

sound/pci/fm801.c +2 -2
index c47287d79306..a178e0d03088 100644

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

sound/pci/hda/patch_conexant.c +2 -0
index 63bc894ddf5e..a81aacf684b2 100644

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

sound/pci/hda/patch_hdmi.c +27 -0
index 90e4ff87445e..c87ff8e5d1d5 100644

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

sound/pci/hda/patch_realtek.c +15 -0
index cbeebc0a9711..606d5333ff98 100644

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

sound/soc/atmel/tse850-pcm5142.c +2 -2
index a72c7d642026..3a1393283156 100644

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

sound/soc/soc-compress.c +4 -2
index bfd71b873ca2..206f36bf43e8 100644

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

sound/soc/soc-core.c +0 -25
index 754e3ef8d7ae..d05acc8eed1f 100644

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

sound/soc/soc-pcm.c +13 -23
index efc5831f205d..8ff7cd3b8c1f 100644

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

sound/soc/ux500/mop500.c +4 -0
index b50f68a439ce..ba9fc099cf67 100644

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

sound/soc/zte/zx-i2s.c +6 -4
index a865f37c2a56..580902fd9030 100644

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

sound/usb/mixer.c +2 -0
index 082736c539bc..e630813c5008 100644

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

sound/usb/mixer.h +1 -0
index 3417ef347e40..2b4b067646ab 100644

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

sound/usb/mixer_quirks.c +6 -0
index 4fa0053a40af..7fbc90f5c6de 100644

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

sound/usb/quirks.c +11 -3
index d7b0b0a3a2db..5d2a63248b1d 100644

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

sound/x86/intel_hdmi_audio.c +5 -0
index b11d3920b9a5..48d846da14c1 100644

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

tools/lib/lockdep/uinclude/linux/lockdep.h +1 -1
index c808c7d02d21..d30214221920 100644

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

tools/perf/ui/browser.c +1 -1
index a4d3762cd825..83874b0e266c 100644

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

tools/perf/util/intel-pt-decoder/intel-pt-decoder.c +60 -18

78 lines not on this page · raw message

tools/testing/nvdimm/test/nfit.c +1 -1
index c2187178fb13..548b6d4ee1be 100644

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

tools/testing/selftests/capabilities/test_execve.c +2 -5
index 10a21a958aaf..763f37fecfb8 100644

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

tools/testing/selftests/ntb/ntb_test.sh +4 -0
index 13f5198ba0ee..b3c48fc6ea4b 100755

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

virt/kvm/arm/arm.c +1 -3
index 3417e184c8e1..a43012587fcc 100644

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

virt/kvm/arm/mmu.c +4 -0
index e2e5effba2a9..db1c7b25a44c 100644

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

virt/kvm/vfio.c +25 -15
index 37d9118fd84b..d99850c462a1 100644

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

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.