aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-04-21 12:42:58 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-21 12:42:58 -0400
commit1fc149933fd49a5b0e7738dc0853dbfbac4ae0e1 (patch)
treedfe99751c21aaf39e49765379d0b9b32114c757d /arch
parent41d5e08ea86af3359239d5a6f7021cdc61beaa49 (diff)
parentea5505fabd3b59608750bfd3721d0f8bc5c8b0bb (diff)
Merge tag 'char-misc-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc driver updates from Greg KH: "Here's the big char/misc driver patchset for 4.1-rc1. Lots of different driver subsystem updates here, nothing major, full details are in the shortlog. All of this has been in linux-next for a while" * tag 'char-misc-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (133 commits) mei: trace: remove unused TRACE_SYSTEM_STRING DTS: ARM: OMAP3-N900: Add lis3lv02d support Documentation: DT: lis302: update wakeup binding lis3lv02d: DT: add wakeup unit 2 and wakeup threshold lis3lv02d: DT: use s32 to support negative values Drivers: hv: hv_balloon: correctly handle num_pages>INT_MAX case Drivers: hv: hv_balloon: correctly handle val.freeram<num_pages case mei: replace check for connection instead of transitioning mei: use mei_cl_is_connected consistently mei: fix mei_poll operation hv_vmbus: Add gradually increased delay for retries in vmbus_post_msg() Drivers: hv: hv_balloon: survive ballooning request with num_pages=0 Drivers: hv: hv_balloon: eliminate jumps in piecewiese linear floor function Drivers: hv: hv_balloon: do not online pages in offline blocks hv: remove the per-channel workqueue hv: don't schedule new works in vmbus_onoffer()/vmbus_onoffer_rescind() hv: run non-blocking message handlers in the dispatch tasklet coresight: moving to new "hwtracing" directory coresight-tmc: Adding a status interface to sysfs coresight: remove the unnecessary configuration coresight-default-sink ...
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig.debug55
-rw-r--r--arch/arm/boot/dts/hip04.dtsi1
-rw-r--r--arch/arm/boot/dts/omap3-beagle-xm.dts1
-rw-r--r--arch/arm/boot/dts/omap3-beagle.dts1
-rw-r--r--arch/arm/boot/dts/omap3-n900.dts52
-rw-r--r--arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts1
-rw-r--r--arch/arm64/Kconfig.debug2
-rw-r--r--arch/m32r/include/asm/io.h1
-rw-r--r--arch/x86/include/uapi/asm/hyperv.h2
9 files changed, 58 insertions, 58 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 970de7518341..8b0183a9a300 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -1610,59 +1610,6 @@ config DEBUG_SET_MODULE_RONX
1610 against certain classes of kernel exploits. 1610 against certain classes of kernel exploits.
1611 If in doubt, say "N". 1611 If in doubt, say "N".
1612 1612
1613menuconfig CORESIGHT 1613source "drivers/hwtracing/coresight/Kconfig"
1614 bool "CoreSight Tracing Support"
1615 select ARM_AMBA
1616 help
1617 This framework provides a kernel interface for the CoreSight debug
1618 and trace drivers to register themselves with. It's intended to build
1619 a topological view of the CoreSight components based on a DT
1620 specification and configure the right serie of components when a
1621 trace source gets enabled.
1622
1623if CORESIGHT
1624config CORESIGHT_LINKS_AND_SINKS
1625 bool "CoreSight Link and Sink drivers"
1626 help
1627 This enables support for CoreSight link and sink drivers that are
1628 responsible for transporting and collecting the trace data
1629 respectively. Link and sinks are dynamically aggregated with a trace
1630 entity at run time to form a complete trace path.
1631
1632config CORESIGHT_LINK_AND_SINK_TMC
1633 bool "Coresight generic TMC driver"
1634 depends on CORESIGHT_LINKS_AND_SINKS
1635 help
1636 This enables support for the Trace Memory Controller driver. Depending
1637 on its configuration the device can act as a link (embedded trace router
1638 - ETR) or sink (embedded trace FIFO). The driver complies with the
1639 generic implementation of the component without special enhancement or
1640 added features.
1641
1642config CORESIGHT_SINK_TPIU
1643 bool "Coresight generic TPIU driver"
1644 depends on CORESIGHT_LINKS_AND_SINKS
1645 help
1646 This enables support for the Trace Port Interface Unit driver, responsible
1647 for bridging the gap between the on-chip coresight components and a trace
1648 port collection engine, typically connected to an external host for use
1649 case capturing more traces than the on-board coresight memory can handle.
1650
1651config CORESIGHT_SINK_ETBV10
1652 bool "Coresight ETBv1.0 driver"
1653 depends on CORESIGHT_LINKS_AND_SINKS
1654 help
1655 This enables support for the Embedded Trace Buffer version 1.0 driver
1656 that complies with the generic implementation of the component without
1657 special enhancement or added features.
1658 1614
1659config CORESIGHT_SOURCE_ETM3X
1660 bool "CoreSight Embedded Trace Macrocell 3.x driver"
1661 select CORESIGHT_LINKS_AND_SINKS
1662 help
1663 This driver provides support for processor ETM3.x and PTM1.x modules,
1664 which allows tracing the instructions that a processor is executing
1665 This is primarily useful for instruction level tracing. Depending
1666 the ETM version data tracing may also be available.
1667endif
1668endmenu 1615endmenu
diff --git a/arch/arm/boot/dts/hip04.dtsi b/arch/arm/boot/dts/hip04.dtsi
index 238814596a87..44044f275115 100644
--- a/arch/arm/boot/dts/hip04.dtsi
+++ b/arch/arm/boot/dts/hip04.dtsi
@@ -275,7 +275,6 @@
275 compatible = "arm,coresight-etb10", "arm,primecell"; 275 compatible = "arm,coresight-etb10", "arm,primecell";
276 reg = <0 0xe3c42000 0 0x1000>; 276 reg = <0 0xe3c42000 0 0x1000>;
277 277
278 coresight-default-sink;
279 clocks = <&clk_375m>; 278 clocks = <&clk_375m>;
280 clock-names = "apb_pclk"; 279 clock-names = "apb_pclk";
281 port { 280 port {
diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts
index 25f7b0a22114..8cdca51b6984 100644
--- a/arch/arm/boot/dts/omap3-beagle-xm.dts
+++ b/arch/arm/boot/dts/omap3-beagle-xm.dts
@@ -150,7 +150,6 @@
150 compatible = "arm,coresight-etb10", "arm,primecell"; 150 compatible = "arm,coresight-etb10", "arm,primecell";
151 reg = <0x5401b000 0x1000>; 151 reg = <0x5401b000 0x1000>;
152 152
153 coresight-default-sink;
154 clocks = <&emu_src_ck>; 153 clocks = <&emu_src_ck>;
155 clock-names = "apb_pclk"; 154 clock-names = "apb_pclk";
156 port { 155 port {
diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts
index c792391ef090..6d4c46be8c39 100644
--- a/arch/arm/boot/dts/omap3-beagle.dts
+++ b/arch/arm/boot/dts/omap3-beagle.dts
@@ -145,7 +145,6 @@
145 compatible = "arm,coresight-etb10", "arm,primecell"; 145 compatible = "arm,coresight-etb10", "arm,primecell";
146 reg = <0x5401b000 0x1000>; 146 reg = <0x5401b000 0x1000>;
147 147
148 coresight-default-sink;
149 clocks = <&emu_src_ck>; 148 clocks = <&emu_src_ck>;
150 clock-names = "apb_pclk"; 149 clock-names = "apb_pclk";
151 port { 150 port {
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index db80f9d376fa..2cab149b191c 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -609,6 +609,58 @@
609 pinctrl-0 = <&i2c3_pins>; 609 pinctrl-0 = <&i2c3_pins>;
610 610
611 clock-frequency = <400000>; 611 clock-frequency = <400000>;
612
613 lis302dl: lis3lv02d@1d {
614 compatible = "st,lis3lv02d";
615 reg = <0x1d>;
616
617 Vdd-supply = <&vaux1>;
618 Vdd_IO-supply = <&vio>;
619
620 interrupt-parent = <&gpio6>;
621 interrupts = <21 20>; /* 181 and 180 */
622
623 /* click flags */
624 st,click-single-x;
625 st,click-single-y;
626 st,click-single-z;
627
628 /* Limits are 0.5g * value */
629 st,click-threshold-x = <8>;
630 st,click-threshold-y = <8>;
631 st,click-threshold-z = <10>;
632
633 /* Click must be longer than time limit */
634 st,click-time-limit = <9>;
635
636 /* Kind of debounce filter */
637 st,click-latency = <50>;
638
639 /* Interrupt line 2 for click detection */
640 st,irq2-click;
641
642 st,wakeup-x-hi;
643 st,wakeup-y-hi;
644 st,wakeup-threshold = <(800/18)>; /* millig-value / 18 to get HW values */
645
646 st,wakeup2-z-hi;
647 st,wakeup2-threshold = <(900/18)>; /* millig-value / 18 to get HW values */
648
649 st,hipass1-disable;
650 st,hipass2-disable;
651
652 st,axis-x = <1>; /* LIS3_DEV_X */
653 st,axis-y = <(-2)>; /* LIS3_INV_DEV_Y */
654 st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z */
655
656 st,min-limit-x = <(-32)>;
657 st,min-limit-y = <3>;
658 st,min-limit-z = <3>;
659
660 st,max-limit-x = <(-3)>;
661 st,max-limit-y = <32>;
662 st,max-limit-z = <32>;
663 };
612}; 664};
613 665
614&mmc1 { 666&mmc1 {
diff --git a/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts b/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts
index 33920df03640..7a2aeacd62c0 100644
--- a/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts
+++ b/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts
@@ -362,7 +362,6 @@
362 compatible = "arm,coresight-etb10", "arm,primecell"; 362 compatible = "arm,coresight-etb10", "arm,primecell";
363 reg = <0 0x20010000 0 0x1000>; 363 reg = <0 0x20010000 0 0x1000>;
364 364
365 coresight-default-sink;
366 clocks = <&oscclk6a>; 365 clocks = <&oscclk6a>;
367 clock-names = "apb_pclk"; 366 clock-names = "apb_pclk";
368 port { 367 port {
diff --git a/arch/arm64/Kconfig.debug b/arch/arm64/Kconfig.debug
index 4a8741073c90..d6285ef9b5f9 100644
--- a/arch/arm64/Kconfig.debug
+++ b/arch/arm64/Kconfig.debug
@@ -89,4 +89,6 @@ config DEBUG_ALIGN_RODATA
89 89
90 If in doubt, say N 90 If in doubt, say N
91 91
92source "drivers/hwtracing/coresight/Kconfig"
93
92endmenu 94endmenu
diff --git a/arch/m32r/include/asm/io.h b/arch/m32r/include/asm/io.h
index 6e7787f3dac7..9cc00dbd59ce 100644
--- a/arch/m32r/include/asm/io.h
+++ b/arch/m32r/include/asm/io.h
@@ -67,6 +67,7 @@ static inline void __iomem *ioremap(unsigned long offset, unsigned long size)
67 67
68extern void iounmap(volatile void __iomem *addr); 68extern void iounmap(volatile void __iomem *addr);
69#define ioremap_nocache(off,size) ioremap(off,size) 69#define ioremap_nocache(off,size) ioremap(off,size)
70#define ioremap_wc ioremap_nocache
70 71
71/* 72/*
72 * IO bus memory addresses are also 1:1 with the physical address 73 * IO bus memory addresses are also 1:1 with the physical address
diff --git a/arch/x86/include/uapi/asm/hyperv.h b/arch/x86/include/uapi/asm/hyperv.h
index 90c458e66e13..ce6068dbcfbc 100644
--- a/arch/x86/include/uapi/asm/hyperv.h
+++ b/arch/x86/include/uapi/asm/hyperv.h
@@ -225,6 +225,8 @@
225#define HV_STATUS_INVALID_HYPERCALL_CODE 2 225#define HV_STATUS_INVALID_HYPERCALL_CODE 2
226#define HV_STATUS_INVALID_HYPERCALL_INPUT 3 226#define HV_STATUS_INVALID_HYPERCALL_INPUT 3
227#define HV_STATUS_INVALID_ALIGNMENT 4 227#define HV_STATUS_INVALID_ALIGNMENT 4
228#define HV_STATUS_INSUFFICIENT_MEMORY 11
229#define HV_STATUS_INVALID_CONNECTION_ID 18
228#define HV_STATUS_INSUFFICIENT_BUFFERS 19 230#define HV_STATUS_INSUFFICIENT_BUFFERS 19
229 231
230typedef struct _HV_REFERENCE_TSC_PAGE { 232typedef struct _HV_REFERENCE_TSC_PAGE {