diff options
author | Praneeth Bajjuri | 2020-12-29 14:40:06 -0600 |
---|---|---|
committer | Praneeth Bajjuri | 2020-12-29 14:40:06 -0600 |
commit | 544ce1b50e5a65eef487e598a37164ea2bc8b9a9 (patch) | |
tree | acbdf033e5a8d29c7563bd8e957244785309eb38 | |
parent | 2b23500341f9d5ffa388cd1d69418a1e6ca70afc (diff) | |
parent | 89616f108fbcb8e4be9feda38502945853ac7b14 (diff) | |
download | kernel-android-feature-ti-linux-4.14.y.tar.gz kernel-android-feature-ti-linux-4.14.y.tar.xz kernel-android-feature-ti-linux-4.14.y.zip |
Merge branch 'android-4.14-stable' of https://android.googlesource.com/kernel/common into android-feature-ti-linux-4.14.yandroid-feature-ti-linux-4.14.y
* 'android-4.14-stable' of https://android.googlesource.com/kernel/common: (2040 commits)
Linux 4.14.213
PCI: Fix pci_slot_release() NULL pointer dereference
libnvdimm/namespace: Fix reaping of invalidated block-window-namespace labels
xenbus/xenbus_backend: Disallow pending watch messages
xen/xenbus: Count pending messages for each watch
xen/xenbus/xen_bus_type: Support will_handle watch callback
xen/xenbus: Add 'will_handle' callback support in xenbus_watch_path()
xen/xenbus: Allow watches discard events before queueing
xen-blkback: set ring->xenblkd to NULL after kthread_stop()
clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9
md/cluster: fix deadlock when node is doing resync job
iio:imu:bmi160: Fix too large a buffer.
iio:pressure:mpl3115: Force alignment of buffer
iio:light:rpr0521: Fix timestamp alignment and prevent data leak.
iio: adc: rockchip_saradc: fix missing clk_disable_unprepare() on error in rockchip_saradc_resume
iio: buffer: Fix demux update
mtd: parser: cmdline: Fix parsing of part-names with colons
soc: qcom: smp2p: Safely acquire spinlock without IRQs
spi: st-ssc4: Fix unbalanced pm_runtime_disable() in probe error path
spi: sc18is602: Don't leak SPI master in probe error path
...
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
1759 files changed, 21720 insertions, 11149 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index 64e65450f483..e21e2ca3e4f9 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio | |||
@@ -1524,7 +1524,8 @@ What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_voc_raw | |||
1524 | KernelVersion: 4.3 | 1524 | KernelVersion: 4.3 |
1525 | Contact: linux-iio@vger.kernel.org | 1525 | Contact: linux-iio@vger.kernel.org |
1526 | Description: | 1526 | Description: |
1527 | Raw (unscaled no offset etc.) percentage reading of a substance. | 1527 | Raw (unscaled no offset etc.) reading of a substance. Units |
1528 | after application of scale and offset are percents. | ||
1528 | 1529 | ||
1529 | What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw | 1530 | What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw |
1530 | What: /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw | 1531 | What: /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw |
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 2558a828dfd9..bcfccb8b3ad5 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt | |||
@@ -552,7 +552,7 @@ | |||
552 | loops can be debugged more effectively on production | 552 | loops can be debugged more effectively on production |
553 | systems. | 553 | systems. |
554 | 554 | ||
555 | clearcpuid=BITNUM [X86] | 555 | clearcpuid=BITNUM[,BITNUM...] [X86] |
556 | Disable CPUID feature X for the kernel. See | 556 | Disable CPUID feature X for the kernel. See |
557 | arch/x86/include/asm/cpufeatures.h for the valid bit | 557 | arch/x86/include/asm/cpufeatures.h for the valid bit |
558 | numbers. Note the Linux specific bits are not necessarily | 558 | numbers. Note the Linux specific bits are not necessarily |
@@ -2455,6 +2455,8 @@ | |||
2455 | mds=off [X86] | 2455 | mds=off [X86] |
2456 | tsx_async_abort=off [X86] | 2456 | tsx_async_abort=off [X86] |
2457 | kvm.nx_huge_pages=off [X86] | 2457 | kvm.nx_huge_pages=off [X86] |
2458 | no_entry_flush [PPC] | ||
2459 | no_uaccess_flush [PPC] | ||
2458 | 2460 | ||
2459 | Exceptions: | 2461 | Exceptions: |
2460 | This does not have any effect on | 2462 | This does not have any effect on |
@@ -2758,6 +2760,8 @@ | |||
2758 | 2760 | ||
2759 | noefi Disable EFI runtime services support. | 2761 | noefi Disable EFI runtime services support. |
2760 | 2762 | ||
2763 | no_entry_flush [PPC] Don't flush the L1-D cache when entering the kernel. | ||
2764 | |||
2761 | noexec [IA-64] | 2765 | noexec [IA-64] |
2762 | 2766 | ||
2763 | noexec [X86] | 2767 | noexec [X86] |
@@ -2807,6 +2811,9 @@ | |||
2807 | nospec_store_bypass_disable | 2811 | nospec_store_bypass_disable |
2808 | [HW] Disable all mitigations for the Speculative Store Bypass vulnerability | 2812 | [HW] Disable all mitigations for the Speculative Store Bypass vulnerability |
2809 | 2813 | ||
2814 | no_uaccess_flush | ||
2815 | [PPC] Don't flush the L1-D cache after accessing user data. | ||
2816 | |||
2810 | noxsave [BUGS=X86] Disables x86 extended register state save | 2817 | noxsave [BUGS=X86] Disables x86 extended register state save |
2811 | and restore using xsave. The kernel will fallback to | 2818 | and restore using xsave. The kernel will fallback to |
2812 | enabling legacy floating-point and sse state. | 2819 | enabling legacy floating-point and sse state. |
@@ -4756,6 +4763,7 @@ | |||
4756 | device); | 4763 | device); |
4757 | j = NO_REPORT_LUNS (don't use report luns | 4764 | j = NO_REPORT_LUNS (don't use report luns |
4758 | command, uas only); | 4765 | command, uas only); |
4766 | k = NO_SAME (do not use WRITE_SAME, uas only) | ||
4759 | l = NOT_LOCKABLE (don't try to lock and | 4767 | l = NOT_LOCKABLE (don't try to lock and |
4760 | unlock ejectable media, not on uas); | 4768 | unlock ejectable media, not on uas); |
4761 | m = MAX_SECTORS_64 (don't transfer more | 4769 | m = MAX_SECTORS_64 (don't transfer more |
@@ -5035,6 +5043,14 @@ | |||
5035 | Disables the PV optimizations forcing the HVM guest to | 5043 | Disables the PV optimizations forcing the HVM guest to |
5036 | run as generic HVM guest with no PV drivers. | 5044 | run as generic HVM guest with no PV drivers. |
5037 | 5045 | ||
5046 | xen.event_eoi_delay= [XEN] | ||
5047 | How long to delay EOI handling in case of event | ||
5048 | storms (jiffies). Default is 10. | ||
5049 | |||
5050 | xen.event_loop_timeout= [XEN] | ||
5051 | After which time (jiffies) the event handling loop | ||
5052 | should start to delay EOI handling. Default is 2. | ||
5053 | |||
5038 | xirc2ps_cs= [NET,PCMCIA] | 5054 | xirc2ps_cs= [NET,PCMCIA] |
5039 | Format: | 5055 | Format: |
5040 | <irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]] | 5056 | <irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]] |
diff --git a/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt b/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt index c82794002595..89647d714387 100644 --- a/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt +++ b/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt | |||
@@ -21,7 +21,7 @@ controller state. The mux controller state is described in | |||
21 | 21 | ||
22 | Example: | 22 | Example: |
23 | mux: mux-controller { | 23 | mux: mux-controller { |
24 | compatible = "mux-gpio"; | 24 | compatible = "gpio-mux"; |
25 | #mux-control-cells = <0>; | 25 | #mux-control-cells = <0>; |
26 | 26 | ||
27 | mux-gpios = <&pioA 0 GPIO_ACTIVE_HIGH>, | 27 | mux-gpios = <&pioA 0 GPIO_ACTIVE_HIGH>, |
diff --git a/Documentation/devicetree/bindings/net/nfc/nxp-nci.txt b/Documentation/devicetree/bindings/net/nfc/nxp-nci.txt index 92486733df71..8ebc5200032a 100644 --- a/Documentation/devicetree/bindings/net/nfc/nxp-nci.txt +++ b/Documentation/devicetree/bindings/net/nfc/nxp-nci.txt | |||
@@ -26,7 +26,7 @@ Example (for ARM-based BeagleBone with NPC100 NFC controller on I2C2): | |||
26 | clock-frequency = <100000>; | 26 | clock-frequency = <100000>; |
27 | 27 | ||
28 | interrupt-parent = <&gpio1>; | 28 | interrupt-parent = <&gpio1>; |
29 | interrupts = <29 GPIO_ACTIVE_HIGH>; | 29 | interrupts = <29 IRQ_TYPE_LEVEL_HIGH>; |
30 | 30 | ||
31 | enable-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>; | 31 | enable-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>; |
32 | firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>; | 32 | firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>; |
diff --git a/Documentation/devicetree/bindings/net/nfc/pn544.txt b/Documentation/devicetree/bindings/net/nfc/pn544.txt index 538a86f7b2b0..982d4dd4eba3 100644 --- a/Documentation/devicetree/bindings/net/nfc/pn544.txt +++ b/Documentation/devicetree/bindings/net/nfc/pn544.txt | |||
@@ -26,7 +26,7 @@ Example (for ARM-based BeagleBone with PN544 on I2C2): | |||
26 | clock-frequency = <400000>; | 26 | clock-frequency = <400000>; |
27 | 27 | ||
28 | interrupt-parent = <&gpio1>; | 28 | interrupt-parent = <&gpio1>; |
29 | interrupts = <17 GPIO_ACTIVE_HIGH>; | 29 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; |
30 | 30 | ||
31 | enable-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; | 31 | enable-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; |
32 | firmware-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; | 32 | firmware-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; |
diff --git a/Documentation/devicetree/bindings/sound/wm8994.txt b/Documentation/devicetree/bindings/sound/wm8994.txt index 68c4e8d96bed..b309de00cd83 100644 --- a/Documentation/devicetree/bindings/sound/wm8994.txt +++ b/Documentation/devicetree/bindings/sound/wm8994.txt | |||
@@ -14,9 +14,15 @@ Required properties: | |||
14 | - #gpio-cells : Must be 2. The first cell is the pin number and the | 14 | - #gpio-cells : Must be 2. The first cell is the pin number and the |
15 | second cell is used to specify optional parameters (currently unused). | 15 | second cell is used to specify optional parameters (currently unused). |
16 | 16 | ||
17 | - AVDD2-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply, CPVDD-supply, | 17 | - power supplies for the device, as covered in |
18 | SPKVDD1-supply, SPKVDD2-supply : power supplies for the device, as covered | 18 | Documentation/devicetree/bindings/regulator/regulator.txt, depending |
19 | in Documentation/devicetree/bindings/regulator/regulator.txt | 19 | on compatible: |
20 | - for wlf,wm1811 and wlf,wm8958: | ||
21 | AVDD1-supply, AVDD2-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply, | ||
22 | DCVDD-supply, CPVDD-supply, SPKVDD1-supply, SPKVDD2-supply | ||
23 | - for wlf,wm8994: | ||
24 | AVDD1-supply, AVDD2-supply, DBVDD-supply, DCVDD-supply, CPVDD-supply, | ||
25 | SPKVDD1-supply, SPKVDD2-supply | ||
20 | 26 | ||
21 | Optional properties: | 27 | Optional properties: |
22 | 28 | ||
@@ -68,11 +74,11 @@ codec: wm8994@1a { | |||
68 | 74 | ||
69 | lineout1-se; | 75 | lineout1-se; |
70 | 76 | ||
77 | AVDD1-supply = <®ulator>; | ||
71 | AVDD2-supply = <®ulator>; | 78 | AVDD2-supply = <®ulator>; |
72 | CPVDD-supply = <®ulator>; | 79 | CPVDD-supply = <®ulator>; |
73 | DBVDD1-supply = <®ulator>; | 80 | DBVDD-supply = <®ulator>; |
74 | DBVDD2-supply = <®ulator>; | 81 | DCVDD-supply = <®ulator>; |
75 | DBVDD3-supply = <®ulator>; | ||
76 | SPKVDD1-supply = <®ulator>; | 82 | SPKVDD1-supply = <®ulator>; |
77 | SPKVDD2-supply = <®ulator>; | 83 | SPKVDD2-supply = <®ulator>; |
78 | }; | 84 | }; |
diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt index 44e8bab159ad..baee73134d03 100644 --- a/Documentation/devicetree/bindings/usb/dwc3.txt +++ b/Documentation/devicetree/bindings/usb/dwc3.txt | |||
@@ -47,6 +47,8 @@ Optional properties: | |||
47 | from P0 to P1/P2/P3 without delay. | 47 | from P0 to P1/P2/P3 without delay. |
48 | - snps,dis-tx-ipgap-linecheck-quirk: when set, disable u2mac linestate check | 48 | - snps,dis-tx-ipgap-linecheck-quirk: when set, disable u2mac linestate check |
49 | during HS transmit. | 49 | during HS transmit. |
50 | - snps,parkmode-disable-ss-quirk: when set, all SuperSpeed bus instances in | ||
51 | park mode are disabled. | ||
50 | - snps,dis_metastability_quirk: when set, disable metastability workaround. | 52 | - snps,dis_metastability_quirk: when set, disable metastability workaround. |
51 | CAUTION: use only if you are absolutely sure of it. | 53 | CAUTION: use only if you are absolutely sure of it. |
52 | - snps,is-utmi-l1-suspend: true when DWC3 asserts output signal | 54 | - snps,is-utmi-l1-suspend: true when DWC3 asserts output signal |
diff --git a/Documentation/driver-api/libata.rst b/Documentation/driver-api/libata.rst index 4adc056f7635..01ae89efa2bd 100644 --- a/Documentation/driver-api/libata.rst +++ b/Documentation/driver-api/libata.rst | |||
@@ -251,7 +251,7 @@ High-level taskfile hooks | |||
251 | 251 | ||
252 | :: | 252 | :: |
253 | 253 | ||
254 | void (*qc_prep) (struct ata_queued_cmd *qc); | 254 | enum ata_completion_errors (*qc_prep) (struct ata_queued_cmd *qc); |
255 | int (*qc_issue) (struct ata_queued_cmd *qc); | 255 | int (*qc_issue) (struct ata_queued_cmd *qc); |
256 | 256 | ||
257 | 257 | ||
diff --git a/Documentation/filesystems/affs.txt b/Documentation/filesystems/affs.txt index 71b63c2b9841..a8f1a58e3692 100644 --- a/Documentation/filesystems/affs.txt +++ b/Documentation/filesystems/affs.txt | |||
@@ -93,13 +93,15 @@ The Amiga protection flags RWEDRWEDHSPARWED are handled as follows: | |||
93 | 93 | ||
94 | - R maps to r for user, group and others. On directories, R implies x. | 94 | - R maps to r for user, group and others. On directories, R implies x. |
95 | 95 | ||
96 | - If both W and D are allowed, w will be set. | 96 | - W maps to w. |
97 | 97 | ||
98 | - E maps to x. | 98 | - E maps to x. |
99 | 99 | ||
100 | - H and P are always retained and ignored under Linux. | 100 | - D is ignored. |
101 | 101 | ||
102 | - A is always reset when a file is written to. | 102 | - H, S and P are always retained and ignored under Linux. |
103 | |||
104 | - A is cleared when a file is written to. | ||
103 | 105 | ||
104 | User id and group id will be used unless set[gu]id are given as mount | 106 | User id and group id will be used unless set[gu]id are given as mount |
105 | options. Since most of the Amiga file systems are single user systems | 107 | options. Since most of the Amiga file systems are single user systems |
@@ -111,11 +113,13 @@ Linux -> Amiga: | |||
111 | 113 | ||
112 | The Linux rwxrwxrwx file mode is handled as follows: | 114 | The Linux rwxrwxrwx file mode is handled as follows: |
113 | 115 | ||
114 | - r permission will set R for user, group and others. | 116 | - r permission will allow R for user, group and others. |
117 | |||
118 | - w permission will allow W for user, group and others. | ||
115 | 119 | ||
116 | - w permission will set W and D for user, group and others. | 120 | - x permission of the user will allow E for plain files. |
117 | 121 | ||
118 | - x permission of the user will set E for plain files. | 122 | - D will be allowed for user, group and others. |
119 | 123 | ||
120 | - All other flags (suid, sgid, ...) are ignored and will | 124 | - All other flags (suid, sgid, ...) are ignored and will |
121 | not be retained. | 125 | not be retained. |
diff --git a/Documentation/media/uapi/v4l/colorspaces-defs.rst b/Documentation/media/uapi/v4l/colorspaces-defs.rst index f24615544792..16e46bec8093 100644 --- a/Documentation/media/uapi/v4l/colorspaces-defs.rst +++ b/Documentation/media/uapi/v4l/colorspaces-defs.rst | |||
@@ -29,8 +29,7 @@ whole range, 0-255, dividing the angular value by 1.41. The enum | |||
29 | :c:type:`v4l2_hsv_encoding` specifies which encoding is used. | 29 | :c:type:`v4l2_hsv_encoding` specifies which encoding is used. |
30 | 30 | ||
31 | .. note:: The default R'G'B' quantization is full range for all | 31 | .. note:: The default R'G'B' quantization is full range for all |
32 | colorspaces except for BT.2020 which uses limited range R'G'B' | 32 | colorspaces. HSV formats are always full range. |
33 | quantization. | ||
34 | 33 | ||
35 | .. tabularcolumns:: |p{6.0cm}|p{11.5cm}| | 34 | .. tabularcolumns:: |p{6.0cm}|p{11.5cm}| |
36 | 35 | ||
@@ -162,8 +161,8 @@ whole range, 0-255, dividing the angular value by 1.41. The enum | |||
162 | - Details | 161 | - Details |
163 | * - ``V4L2_QUANTIZATION_DEFAULT`` | 162 | * - ``V4L2_QUANTIZATION_DEFAULT`` |
164 | - Use the default quantization encoding as defined by the | 163 | - Use the default quantization encoding as defined by the |
165 | colorspace. This is always full range for R'G'B' (except for the | 164 | colorspace. This is always full range for R'G'B' and HSV. |
166 | BT.2020 colorspace) and HSV. It is usually limited range for Y'CbCr. | 165 | It is usually limited range for Y'CbCr. |
167 | * - ``V4L2_QUANTIZATION_FULL_RANGE`` | 166 | * - ``V4L2_QUANTIZATION_FULL_RANGE`` |
168 | - Use the full range quantization encoding. I.e. the range [0…1] is | 167 | - Use the full range quantization encoding. I.e. the range [0…1] is |
169 | mapped to [0…255] (with possible clipping to [1…254] to avoid the | 168 | mapped to [0…255] (with possible clipping to [1…254] to avoid the |
@@ -173,4 +172,4 @@ whole range, 0-255, dividing the angular value by 1.41. The enum | |||
173 | * - ``V4L2_QUANTIZATION_LIM_RANGE`` | 172 | * - ``V4L2_QUANTIZATION_LIM_RANGE`` |
174 | - Use the limited range quantization encoding. I.e. the range [0…1] | 173 | - Use the limited range quantization encoding. I.e. the range [0…1] |
175 | is mapped to [16…235]. Cb and Cr are mapped from [-0.5…0.5] to | 174 | is mapped to [16…235]. Cb and Cr are mapped from [-0.5…0.5] to |
176 | [16…240]. | 175 | [16…240]. Limited Range cannot be used with HSV. |
diff --git a/Documentation/media/uapi/v4l/colorspaces-details.rst b/Documentation/media/uapi/v4l/colorspaces-details.rst index 09fabf4cd412..ca7176cae8dd 100644 --- a/Documentation/media/uapi/v4l/colorspaces-details.rst +++ b/Documentation/media/uapi/v4l/colorspaces-details.rst | |||
@@ -370,9 +370,8 @@ Colorspace BT.2020 (V4L2_COLORSPACE_BT2020) | |||
370 | The :ref:`itu2020` standard defines the colorspace used by Ultra-high | 370 | The :ref:`itu2020` standard defines the colorspace used by Ultra-high |
371 | definition television (UHDTV). The default transfer function is | 371 | definition television (UHDTV). The default transfer function is |
372 | ``V4L2_XFER_FUNC_709``. The default Y'CbCr encoding is | 372 | ``V4L2_XFER_FUNC_709``. The default Y'CbCr encoding is |
373 | ``V4L2_YCBCR_ENC_BT2020``. The default R'G'B' quantization is limited | 373 | ``V4L2_YCBCR_ENC_BT2020``. The default Y'CbCr quantization is limited range. |
374 | range (!), and so is the default Y'CbCr quantization. The chromaticities | 374 | The chromaticities of the primary colors and the white reference are: |
375 | of the primary colors and the white reference are: | ||
376 | 375 | ||
377 | 376 | ||
378 | 377 | ||
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index 4606682423cf..b648c006b7d2 100644 --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt | |||
@@ -915,12 +915,14 @@ icmp_ratelimit - INTEGER | |||
915 | icmp_msgs_per_sec - INTEGER | 915 | icmp_msgs_per_sec - INTEGER |
916 | Limit maximal number of ICMP packets sent per second from this host. | 916 | Limit maximal number of ICMP packets sent per second from this host. |
917 | Only messages whose type matches icmp_ratemask (see below) are | 917 | Only messages whose type matches icmp_ratemask (see below) are |
918 | controlled by this limit. | 918 | controlled by this limit. For security reasons, the precise count |
919 | of messages per second is randomized. | ||
919 | Default: 1000 | 920 | Default: 1000 |
920 | 921 | ||
921 | icmp_msgs_burst - INTEGER | 922 | icmp_msgs_burst - INTEGER |
922 | icmp_msgs_per_sec controls number of ICMP packets sent per second, | 923 | icmp_msgs_per_sec controls number of ICMP packets sent per second, |
923 | while icmp_msgs_burst controls the burst size of these packets. | 924 | while icmp_msgs_burst controls the burst size of these packets. |
925 | For security reasons, the precise burst size is randomized. | ||
924 | Default: 50 | 926 | Default: 50 |
925 | 927 | ||
926 | icmp_ratemask - INTEGER | 928 | icmp_ratemask - INTEGER |
@@ -1,7 +1,7 @@ | |||
1 | # SPDX-License-Identifier: GPL-2.0 | 1 | # SPDX-License-Identifier: GPL-2.0 |
2 | VERSION = 4 | 2 | VERSION = 4 |
3 | PATCHLEVEL = 14 | 3 | PATCHLEVEL = 14 |
4 | SUBLEVEL = 187 | 4 | SUBLEVEL = 213 |
5 | EXTRAVERSION = | 5 | EXTRAVERSION = |
6 | NAME = Petit Gorille | 6 | NAME = Petit Gorille |
7 | 7 | ||
@@ -487,7 +487,7 @@ ifeq ($(shell $(srctree)/scripts/clang-android.sh $(CC) $(CLANG_FLAGS)), y) | |||
487 | $(error "Clang with Android --target detected. Did you specify CLANG_TRIPLE?") | 487 | $(error "Clang with Android --target detected. Did you specify CLANG_TRIPLE?") |
488 | endif | 488 | endif |
489 | GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)elfedit)) | 489 | GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)elfedit)) |
490 | CLANG_FLAGS += --prefix=$(GCC_TOOLCHAIN_DIR) | 490 | CLANG_FLAGS += --prefix=$(GCC_TOOLCHAIN_DIR)$(notdir $(CROSS_COMPILE)) |
491 | GCC_TOOLCHAIN := $(realpath $(GCC_TOOLCHAIN_DIR)/..) | 491 | GCC_TOOLCHAIN := $(realpath $(GCC_TOOLCHAIN_DIR)/..) |
492 | endif | 492 | endif |
493 | ifneq ($(GCC_TOOLCHAIN),) | 493 | ifneq ($(GCC_TOOLCHAIN),) |
@@ -769,12 +769,20 @@ ifndef CONFIG_FUNCTION_TRACER | |||
769 | KBUILD_CFLAGS += -fomit-frame-pointer | 769 | KBUILD_CFLAGS += -fomit-frame-pointer |
770 | endif | 770 | endif |
771 | endif | 771 | endif |
772 | 772 | # Initialize all stack variables with a 0xAA pattern. | |
773 | # Initialize all stack variables with a pattern, if desired. | 773 | ifdef CONFIG_INIT_STACK_ALL_PATTERN |
774 | ifdef CONFIG_INIT_STACK_ALL | ||
775 | KBUILD_CFLAGS += -ftrivial-auto-var-init=pattern | 774 | KBUILD_CFLAGS += -ftrivial-auto-var-init=pattern |
776 | endif | 775 | endif |
777 | 776 | ||
777 | # Initialize all stack variables with a zero value. | ||
778 | ifdef CONFIG_INIT_STACK_ALL_ZERO | ||
779 | # Future support for zero initialization is still being debated, see | ||
780 | # https://bugs.llvm.org/show_bug.cgi?id=45497. These flags are subject to being | ||
781 | # renamed or dropped. | ||
782 | KBUILD_CFLAGS += -ftrivial-auto-var-init=zero | ||
783 | KBUILD_CFLAGS += -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang | ||
784 | endif | ||
785 | |||
778 | KBUILD_CFLAGS += $(call cc-option, -fno-var-tracking-assignments) | 786 | KBUILD_CFLAGS += $(call cc-option, -fno-var-tracking-assignments) |
779 | 787 | ||
780 | ifdef CONFIG_DEBUG_INFO | 788 | ifdef CONFIG_DEBUG_INFO |
@@ -1229,7 +1237,7 @@ endif | |||
1229 | endif | 1237 | endif |
1230 | 1238 | ||
1231 | # Disable clang-specific config options when using a different compiler | 1239 | # Disable clang-specific config options when using a different compiler |
1232 | clang-specific-configs := LTO_CLANG CFI_CLANG SHADOW_CALL_STACK INIT_STACK_ALL | 1240 | clang-specific-configs := LTO_CLANG CFI_CLANG SHADOW_CALL_STACK INIT_STACK_ALL_ZERO |
1233 | 1241 | ||
1234 | PHONY += check-clang-specific-options | 1242 | PHONY += check-clang-specific-options |
1235 | check-clang-specific-options: $(KCONFIG_CONFIG) FORCE | 1243 | check-clang-specific-options: $(KCONFIG_CONFIG) FORCE |
diff --git a/arch/Kconfig b/arch/Kconfig index defcb5a00417..1ff4d1584abf 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -339,6 +339,13 @@ config HAVE_RCU_TABLE_FREE | |||
339 | config HAVE_RCU_TABLE_INVALIDATE | 339 | config HAVE_RCU_TABLE_INVALIDATE |
340 | bool | 340 | bool |
341 | 341 | ||
342 | config ARCH_WANT_IRQS_OFF_ACTIVATE_MM | ||
343 | bool | ||
344 | help | ||
345 | Temporary select until all architectures can be converted to have | ||
346 | irqs disabled over activate_mm. Architectures that do IPI based TLB | ||
347 | shootdowns should enable this. | ||
348 | |||
342 | config ARCH_HAVE_NMI_SAFE_CMPXCHG | 349 | config ARCH_HAVE_NMI_SAFE_CMPXCHG |
343 | bool | 350 | bool |
344 | 351 | ||
diff --git a/arch/alpha/include/asm/io.h b/arch/alpha/include/asm/io.h index d123ff90f7a8..9995bed6e92e 100644 --- a/arch/alpha/include/asm/io.h +++ b/arch/alpha/include/asm/io.h | |||
@@ -493,10 +493,10 @@ extern inline void writeq(u64 b, volatile void __iomem *addr) | |||
493 | } | 493 | } |
494 | #endif | 494 | #endif |
495 | 495 | ||
496 | #define ioread16be(p) be16_to_cpu(ioread16(p)) | 496 | #define ioread16be(p) swab16(ioread16(p)) |
497 | #define ioread32be(p) be32_to_cpu(ioread32(p)) | 497 | #define ioread32be(p) swab32(ioread32(p)) |
498 | #define iowrite16be(v,p) iowrite16(cpu_to_be16(v), (p)) | 498 | #define iowrite16be(v,p) iowrite16(swab16(v), (p)) |
499 | #define iowrite32be(v,p) iowrite32(cpu_to_be32(v), (p)) | 499 | #define iowrite32be(v,p) iowrite32(swab32(v), (p)) |
500 | 500 | ||
501 | #define inb_p inb | 501 | #define inb_p inb |
502 | #define inw_p inw | 502 | #define inw_p inw |
diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts index 57d81c6aa379..75aa3a8f9fdc 100644 --- a/arch/arc/boot/dts/hsdk.dts +++ b/arch/arc/boot/dts/hsdk.dts | |||
@@ -79,6 +79,8 @@ | |||
79 | 79 | ||
80 | arcpct: pct { | 80 | arcpct: pct { |
81 | compatible = "snps,archs-pct"; | 81 | compatible = "snps,archs-pct"; |
82 | interrupt-parent = <&cpu_intc>; | ||
83 | interrupts = <20>; | ||
82 | }; | 84 | }; |
83 | 85 | ||
84 | /* TIMER0 with interrupt for clockevent */ | 86 | /* TIMER0 with interrupt for clockevent */ |
@@ -161,7 +163,7 @@ | |||
161 | reg = <0x8000 0x2000>; | 163 | reg = <0x8000 0x2000>; |
162 | interrupts = <10>; | 164 | interrupts = <10>; |
163 | interrupt-names = "macirq"; | 165 | interrupt-names = "macirq"; |
164 | phy-mode = "rgmii"; | 166 | phy-mode = "rgmii-id"; |
165 | snps,pbl = <32>; | 167 | snps,pbl = <32>; |
166 | snps,multicast-filter-bins = <256>; | 168 | snps,multicast-filter-bins = <256>; |
167 | clocks = <&gmacclk>; | 169 | clocks = <&gmacclk>; |
@@ -177,7 +179,7 @@ | |||
177 | #address-cells = <1>; | 179 | #address-cells = <1>; |
178 | #size-cells = <0>; | 180 | #size-cells = <0>; |
179 | compatible = "snps,dwmac-mdio"; | 181 | compatible = "snps,dwmac-mdio"; |
180 | phy0: ethernet-phy@0 { | 182 | phy0: ethernet-phy@0 { /* Micrel KSZ9031 */ |
181 | reg = <0>; | 183 | reg = <0>; |
182 | ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; | 184 | ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; |
183 | ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; | 185 | ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; |
diff --git a/arch/arc/include/asm/elf.h b/arch/arc/include/asm/elf.h index aa2d6da9d187..12c74e826530 100644 --- a/arch/arc/include/asm/elf.h +++ b/arch/arc/include/asm/elf.h | |||
@@ -26,7 +26,7 @@ | |||
26 | #define R_ARC_32_PCREL 0x31 | 26 | #define R_ARC_32_PCREL 0x31 |
27 | 27 | ||
28 | /*to set parameters in the core dumps */ | 28 | /*to set parameters in the core dumps */ |
29 | #define ELF_ARCH EM_ARCOMPACT | 29 | #define ELF_ARCH EM_ARC_INUSE |
30 | #define ELF_CLASS ELFCLASS32 | 30 | #define ELF_CLASS ELFCLASS32 |
31 | 31 | ||
32 | #ifdef CONFIG_CPU_BIG_ENDIAN | 32 | #ifdef CONFIG_CPU_BIG_ENDIAN |
diff --git a/arch/arc/kernel/stacktrace.c b/arch/arc/kernel/stacktrace.c index 74315f302971..35d418cde03b 100644 --- a/arch/arc/kernel/stacktrace.c +++ b/arch/arc/kernel/stacktrace.c | |||
@@ -41,15 +41,15 @@ | |||
41 | 41 | ||
42 | #ifdef CONFIG_ARC_DW2_UNWIND | 42 | #ifdef CONFIG_ARC_DW2_UNWIND |
43 | 43 | ||
44 | static void seed_unwind_frame_info(struct task_struct *tsk, | 44 | static int |
45 | struct pt_regs *regs, | 45 | seed_unwind_frame_info(struct task_struct *tsk, struct pt_regs *regs, |
46 | struct unwind_frame_info *frame_info) | 46 | struct unwind_frame_info *frame_info) |
47 | { | 47 | { |
48 | /* | 48 | /* |
49 | * synchronous unwinding (e.g. dump_stack) | 49 | * synchronous unwinding (e.g. dump_stack) |
50 | * - uses current values of SP and friends | 50 | * - uses current values of SP and friends |
51 | */ | 51 | */ |
52 | if (tsk == NULL && regs == NULL) { | 52 | if (regs == NULL && (tsk == NULL || tsk == current)) { |
53 | unsigned long fp, sp, blink, ret; | 53 | unsigned long fp, sp, blink, ret; |
54 | frame_info->task = current; | 54 | frame_info->task = current; |
55 | 55 | ||
@@ -68,11 +68,15 @@ static void seed_unwind_frame_info(struct task_struct *tsk, | |||
68 | frame_info->call_frame = 0; | 68 | frame_info->call_frame = 0; |
69 | } else if (regs == NULL) { | 69 | } else if (regs == NULL) { |
70 | /* | 70 | /* |
71 | * Asynchronous unwinding of sleeping task | 71 | * Asynchronous unwinding of a likely sleeping task |
72 | * - Gets SP etc from task's pt_regs (saved bottom of kernel | 72 | * - first ensure it is actually sleeping |
73 | * mode stack of task) | 73 | * - if so, it will be in __switch_to, kernel mode SP of task |
74 | * is safe-kept and BLINK at a well known location in there | ||
74 | */ | 75 | */ |
75 | 76 | ||
77 | if (tsk->state == TASK_RUNNING) | ||
78 | return -1; | ||
79 | |||
76 | frame_info->task = tsk; | 80 | frame_info->task = tsk; |
77 | 81 | ||
78 | frame_info->regs.r27 = TSK_K_FP(tsk); | 82 | frame_info->regs.r27 = TSK_K_FP(tsk); |
@@ -106,6 +110,8 @@ static void seed_unwind_frame_info(struct task_struct *tsk, | |||
106 | frame_info->regs.r63 = regs->ret; | 110 | frame_info->regs.r63 = regs->ret; |
107 | frame_info->call_frame = 0; | 111 | frame_info->call_frame = 0; |
108 | } | 112 | } |
113 | |||
114 | return 0; | ||
109 | } | 115 | } |
110 | 116 | ||
111 | #endif | 117 | #endif |
@@ -115,11 +121,12 @@ arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs, | |||
115 | int (*consumer_fn) (unsigned int, void *), void *arg) | 121 | int (*consumer_fn) (unsigned int, void *), void *arg) |
116 | { | 122 | { |
117 | #ifdef CONFIG_ARC_DW2_UNWIND | 123 | #ifdef CONFIG_ARC_DW2_UNWIND |
118 | int ret = 0; | 124 | int ret = 0, cnt = 0; |
119 | unsigned int address; | 125 | unsigned int address; |
120 | struct unwind_frame_info frame_info; | 126 | struct unwind_frame_info frame_info; |
121 | 127 | ||
122 | seed_unwind_frame_info(tsk, regs, &frame_info); | 128 | if (seed_unwind_frame_info(tsk, regs, &frame_info)) |
129 | return 0; | ||
123 | 130 | ||
124 | while (1) { | 131 | while (1) { |
125 | address = UNW_PC(&frame_info); | 132 | address = UNW_PC(&frame_info); |
@@ -135,6 +142,11 @@ arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs, | |||
135 | break; | 142 | break; |
136 | 143 | ||
137 | frame_info.regs.r63 = frame_info.regs.r31; | 144 | frame_info.regs.r63 = frame_info.regs.r31; |
145 | |||
146 | if (cnt++ > 128) { | ||
147 | printk("unwinder looping too long, aborting !\n"); | ||
148 | return 0; | ||
149 | } | ||
138 | } | 150 | } |
139 | 151 | ||
140 | return address; /* return the last address it saw */ | 152 | return address; /* return the last address it saw */ |
diff --git a/arch/arc/plat-eznps/include/plat/ctop.h b/arch/arc/plat-eznps/include/plat/ctop.h index 4f6a1673b3a6..ddfca2c3357a 100644 --- a/arch/arc/plat-eznps/include/plat/ctop.h +++ b/arch/arc/plat-eznps/include/plat/ctop.h | |||
@@ -43,7 +43,6 @@ | |||
43 | #define CTOP_AUX_DPC (CTOP_AUX_BASE + 0x02C) | 43 | #define CTOP_AUX_DPC (CTOP_AUX_BASE + 0x02C) |
44 | #define CTOP_AUX_LPC (CTOP_AUX_BASE + 0x030) | 44 | #define CTOP_AUX_LPC (CTOP_AUX_BASE + 0x030) |
45 | #define CTOP_AUX_EFLAGS (CTOP_AUX_BASE + 0x080) | 45 | #define CTOP_AUX_EFLAGS (CTOP_AUX_BASE + 0x080) |
46 | #define CTOP_AUX_IACK (CTOP_AUX_BASE + 0x088) | ||
47 | #define CTOP_AUX_GPA1 (CTOP_AUX_BASE + 0x08C) | 46 | #define CTOP_AUX_GPA1 (CTOP_AUX_BASE + 0x08C) |
48 | #define CTOP_AUX_UDMC (CTOP_AUX_BASE + 0x300) | 47 | #define CTOP_AUX_UDMC (CTOP_AUX_BASE + 0x300) |
49 | 48 | ||
diff --git a/arch/arc/plat-hsdk/Kconfig b/arch/arc/plat-hsdk/Kconfig index 8fb1600b29b7..e5f65a044c7b 100644 --- a/arch/arc/plat-hsdk/Kconfig +++ b/arch/arc/plat-hsdk/Kconfig | |||
@@ -11,4 +11,5 @@ menuconfig ARC_SOC_HSDK | |||
11 | select ARC_HAS_ACCL_REGS | 11 | select ARC_HAS_ACCL_REGS |
12 | select ARC_IRQ_NO_AUTOSAVE | 12 | select ARC_IRQ_NO_AUTOSAVE |
13 | select CLK_HSDK | 13 | select CLK_HSDK |
14 | select RESET_CONTROLLER | ||
14 | select RESET_HSDK | 15 | select RESET_HSDK |
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a8ba03171f5f..3bd09c797b63 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -602,7 +602,9 @@ config ARCH_S3C24XX | |||
602 | select HAVE_S3C_RTC if RTC_CLASS | 602 | select HAVE_S3C_RTC if RTC_CLASS |
603 | select MULTI_IRQ_HANDLER | 603 | select MULTI_IRQ_HANDLER |
604 | select NEED_MACH_IO_H | 604 | select NEED_MACH_IO_H |
605 | select S3C2410_WATCHDOG | ||
605 | select SAMSUNG_ATAGS | 606 | select SAMSUNG_ATAGS |
607 | select WATCHDOG | ||
606 | help | 608 | help |
607 | Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443 | 609 | Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443 |
608 | and S3C2450 SoCs based systems, such as the Simtec Electronics BAST | 610 | and S3C2450 SoCs based systems, such as the Simtec Electronics BAST |
diff --git a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi index bdd4c7a45fbf..8d1356311e3f 100644 --- a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi +++ b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi | |||
@@ -303,11 +303,6 @@ | |||
303 | reg = <0x11000 0x100>; | 303 | reg = <0x11000 0x100>; |
304 | }; | 304 | }; |
305 | 305 | ||
306 | &i2c1 { | ||
307 | compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c"; | ||
308 | reg = <0x11100 0x100>; | ||
309 | }; | ||
310 | |||
311 | &mpic { | 306 | &mpic { |
312 | reg = <0x20a00 0x2d0>, <0x21070 0x58>; | 307 | reg = <0x20a00 0x2d0>, <0x21070 0x58>; |
313 | }; | 308 | }; |
diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts index 3af088d2cba7..ce059f9eaa7d 100644 --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts | |||
@@ -231,6 +231,11 @@ | |||
231 | atmel,pins = | 231 | atmel,pins = |
232 | <AT91_PIOE 9 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PE9, conflicts with A9 */ | 232 | <AT91_PIOE 9 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PE9, conflicts with A9 */ |
233 | }; | 233 | }; |
234 | pinctrl_usb_default: usb_default { | ||
235 | atmel,pins = | ||
236 | <AT91_PIOE 3 AT91_PERIPH_GPIO AT91_PINCTRL_NONE | ||
237 | AT91_PIOE 4 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; | ||
238 | }; | ||
234 | }; | 239 | }; |
235 | }; | 240 | }; |
236 | }; | 241 | }; |
@@ -248,6 +253,8 @@ | |||
248 | &pioE 3 GPIO_ACTIVE_LOW | 253 | &pioE 3 GPIO_ACTIVE_LOW |
249 | &pioE 4 GPIO_ACTIVE_LOW | 254 | &pioE 4 GPIO_ACTIVE_LOW |
250 | >; | 255 | >; |
256 | pinctrl-names = "default"; | ||
257 | pinctrl-0 = <&pinctrl_usb_default>; | ||
251 | status = "okay"; | 258 | status = "okay"; |
252 | }; | 259 | }; |
253 | 260 | ||
diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts index 10f2fb9e0ea6..c271ca960cae 100644 --- a/arch/arm/boot/dts/at91-sama5d4_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts | |||
@@ -158,6 +158,11 @@ | |||
158 | atmel,pins = | 158 | atmel,pins = |
159 | <AT91_PIOE 31 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; | 159 | <AT91_PIOE 31 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; |
160 | }; | 160 | }; |
161 | pinctrl_usb_default: usb_default { | ||
162 | atmel,pins = | ||
163 | <AT91_PIOE 11 AT91_PERIPH_GPIO AT91_PINCTRL_NONE | ||
164 | AT91_PIOE 14 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; | ||
165 | }; | ||
161 | pinctrl_key_gpio: key_gpio_0 { | 166 | pinctrl_key_gpio: key_gpio_0 { |
162 | atmel,pins = | 167 | atmel,pins = |
163 | <AT91_PIOE 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; | 168 | <AT91_PIOE 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; |
@@ -183,6 +188,8 @@ | |||
183 | &pioE 11 GPIO_ACTIVE_HIGH | 188 | &pioE 11 GPIO_ACTIVE_HIGH |
184 | &pioE 14 GPIO_ACTIVE_HIGH | 189 | &pioE 14 GPIO_ACTIVE_HIGH |
185 | >; | 190 | >; |
191 | pinctrl-names = "default"; | ||
192 | pinctrl-0 = <&pinctrl_usb_default>; | ||
186 | status = "okay"; | 193 | status = "okay"; |
187 | }; | 194 | }; |
188 | 195 | ||
diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi index 7768342a6638..64273f943992 100644 --- a/arch/arm/boot/dts/at91sam9rl.dtsi +++ b/arch/arm/boot/dts/at91sam9rl.dtsi | |||
@@ -274,23 +274,26 @@ | |||
274 | atmel,adc-use-res = "highres"; | 274 | atmel,adc-use-res = "highres"; |
275 | 275 | ||
276 | trigger0 { | 276 | trigger0 { |
277 | trigger-name = "timer-counter-0"; | 277 | trigger-name = "external-rising"; |
278 | trigger-value = <0x1>; | 278 | trigger-value = <0x1>; |
279 | trigger-external; | ||
279 | }; | 280 | }; |
281 | |||
280 | trigger1 { | 282 | trigger1 { |
281 | trigger-name = "timer-counter-1"; | 283 | trigger-name = "external-falling"; |
282 | trigger-value = <0x3>; | 284 | trigger-value = <0x2>; |
285 | trigger-external; | ||
283 | }; | 286 | }; |
284 | 287 | ||
285 | trigger2 { | 288 | trigger2 { |
286 | trigger-name = "timer-counter-2"; | 289 | trigger-name = "external-any"; |
287 | trigger-value = <0x5>; | 290 | trigger-value = <0x3>; |
291 | trigger-external; | ||
288 | }; | 292 | }; |
289 | 293 | ||
290 | trigger3 { | 294 | trigger3 { |
291 | trigger-name = "external"; | 295 | trigger-name = "continuous"; |
292 | trigger-value = <0x13>; | 296 | trigger-value = <0x6>; |
293 | trigger-external; | ||
294 | }; | 297 | }; |
295 | }; | 298 | }; |
296 | 299 | ||
diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index 501877e87a5b..dffa8b9bd536 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi | |||
@@ -426,7 +426,7 @@ | |||
426 | }; | 426 | }; |
427 | 427 | ||
428 | spi@18029200 { | 428 | spi@18029200 { |
429 | compatible = "brcm,spi-bcm-qspi", "brcm,spi-nsp-qspi"; | 429 | compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi"; |
430 | reg = <0x18029200 0x184>, | 430 | reg = <0x18029200 0x184>, |
431 | <0x18029000 0x124>, | 431 | <0x18029000 0x124>, |
432 | <0x1811b408 0x004>, | 432 | <0x1811b408 0x004>, |
diff --git a/arch/arm/boot/dts/exynos5410-odroidxu.dts b/arch/arm/boot/dts/exynos5410-odroidxu.dts index c4de1353e5df..ba135b255b68 100644 --- a/arch/arm/boot/dts/exynos5410-odroidxu.dts +++ b/arch/arm/boot/dts/exynos5410-odroidxu.dts | |||
@@ -327,6 +327,8 @@ | |||
327 | regulator-name = "vddq_lcd"; | 327 | regulator-name = "vddq_lcd"; |
328 | regulator-min-microvolt = <1800000>; | 328 | regulator-min-microvolt = <1800000>; |
329 | regulator-max-microvolt = <1800000>; | 329 | regulator-max-microvolt = <1800000>; |
330 | /* Supplies also GPK and GPJ */ | ||
331 | regulator-always-on; | ||
330 | }; | 332 | }; |
331 | 333 | ||
332 | ldo8_reg: LDO8 { | 334 | ldo8_reg: LDO8 { |
@@ -629,11 +631,11 @@ | |||
629 | }; | 631 | }; |
630 | 632 | ||
631 | &usbdrd_dwc3_0 { | 633 | &usbdrd_dwc3_0 { |
632 | dr_mode = "host"; | 634 | dr_mode = "peripheral"; |
633 | }; | 635 | }; |
634 | 636 | ||
635 | &usbdrd_dwc3_1 { | 637 | &usbdrd_dwc3_1 { |
636 | dr_mode = "peripheral"; | 638 | dr_mode = "host"; |
637 | }; | 639 | }; |
638 | 640 | ||
639 | &usbdrd3_0 { | 641 | &usbdrd3_0 { |
diff --git a/arch/arm/boot/dts/exynos5410-pinctrl.dtsi b/arch/arm/boot/dts/exynos5410-pinctrl.dtsi index ff46a1c27182..c11fd125d8ae 100644 --- a/arch/arm/boot/dts/exynos5410-pinctrl.dtsi +++ b/arch/arm/boot/dts/exynos5410-pinctrl.dtsi | |||
@@ -563,6 +563,34 @@ | |||
563 | interrupt-controller; | 563 | interrupt-controller; |
564 | #interrupt-cells = <2>; | 564 | #interrupt-cells = <2>; |
565 | }; | 565 | }; |
566 | |||
567 | usb3_1_oc: usb3-1-oc { | ||
568 | samsung,pins = "gpk2-4", "gpk2-5"; | ||
569 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; | ||
570 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; | ||
571 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | ||
572 | }; | ||
573 | |||
574 | usb3_1_vbusctrl: usb3-1-vbusctrl { | ||
575 | samsung,pins = "gpk2-6", "gpk2-7"; | ||
576 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; | ||
577 | samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; | ||
578 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | ||
579 | }; | ||
580 | |||
581 | usb3_0_oc: usb3-0-oc { | ||
582 | samsung,pins = "gpk3-0", "gpk3-1"; | ||
583 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; | ||
584 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; | ||
585 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | ||
586 | }; | ||
587 | |||
588 | usb3_0_vbusctrl: usb3-0-vbusctrl { | ||
589 | samsung,pins = "gpk3-2", "gpk3-3"; | ||
590 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; | ||
591 | samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; | ||
592 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | ||
593 | }; | ||
566 | }; | 594 | }; |
567 | 595 | ||
568 | &pinctrl_2 { | 596 | &pinctrl_2 { |
diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi index 7628bbb02324..4e1aced47eb0 100644 --- a/arch/arm/boot/dts/exynos5410.dtsi +++ b/arch/arm/boot/dts/exynos5410.dtsi | |||
@@ -381,6 +381,8 @@ | |||
381 | &usbdrd3_0 { | 381 | &usbdrd3_0 { |
382 | clocks = <&clock CLK_USBD300>; | 382 | clocks = <&clock CLK_USBD300>; |
383 | clock-names = "usbdrd30"; | 383 | clock-names = "usbdrd30"; |
384 | pinctrl-names = "default"; | ||
385 | pinctrl-0 = <&usb3_0_oc>, <&usb3_0_vbusctrl>; | ||
384 | }; | 386 | }; |
385 | 387 | ||
386 | &usbdrd_phy0 { | 388 | &usbdrd_phy0 { |
@@ -392,6 +394,8 @@ | |||
392 | &usbdrd3_1 { | 394 | &usbdrd3_1 { |
393 | clocks = <&clock CLK_USBD301>; | 395 | clocks = <&clock CLK_USBD301>; |
394 | clock-names = "usbdrd30"; | 396 | clock-names = "usbdrd30"; |
397 | pinctrl-names = "default"; | ||
398 | pinctrl-0 = <&usb3_1_oc>, <&usb3_1_vbusctrl>; | ||
395 | }; | 399 | }; |
396 | 400 | ||
397 | &usbdrd_dwc3_1 { | 401 | &usbdrd_dwc3_1 { |
diff --git a/arch/arm/boot/dts/imx50-evk.dts b/arch/arm/boot/dts/imx50-evk.dts index 98b5faa06e27..07b8870dfff1 100644 --- a/arch/arm/boot/dts/imx50-evk.dts +++ b/arch/arm/boot/dts/imx50-evk.dts | |||
@@ -65,7 +65,7 @@ | |||
65 | MX50_PAD_CSPI_MISO__CSPI_MISO 0x00 | 65 | MX50_PAD_CSPI_MISO__CSPI_MISO 0x00 |
66 | MX50_PAD_CSPI_MOSI__CSPI_MOSI 0x00 | 66 | MX50_PAD_CSPI_MOSI__CSPI_MOSI 0x00 |
67 | MX50_PAD_CSPI_SS0__GPIO4_11 0xc4 | 67 | MX50_PAD_CSPI_SS0__GPIO4_11 0xc4 |
68 | MX50_PAD_ECSPI1_MOSI__CSPI_SS1 0xf4 | 68 | MX50_PAD_ECSPI1_MOSI__GPIO4_13 0x84 |
69 | >; | 69 | >; |
70 | }; | 70 | }; |
71 | 71 | ||
diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi index c96c91d83678..fc4ae2e423bd 100644 --- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi +++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi | |||
@@ -94,7 +94,7 @@ | |||
94 | &fec { | 94 | &fec { |
95 | pinctrl-names = "default"; | 95 | pinctrl-names = "default"; |
96 | pinctrl-0 = <&pinctrl_enet>; | 96 | pinctrl-0 = <&pinctrl_enet>; |
97 | phy-mode = "rgmii"; | 97 | phy-mode = "rgmii-id"; |
98 | status = "okay"; | 98 | status = "okay"; |
99 | }; | 99 | }; |
100 | 100 | ||
diff --git a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi index bcced922b280..b4779b0ece96 100644 --- a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi +++ b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi | |||
@@ -16,8 +16,10 @@ | |||
16 | #interrupt-cells = <2>; | 16 | #interrupt-cells = <2>; |
17 | #address-cells = <1>; | 17 | #address-cells = <1>; |
18 | #size-cells = <0>; | 18 | #size-cells = <0>; |
19 | spi-max-frequency = <3000000>; | 19 | spi-max-frequency = <9600000>; |
20 | spi-cs-high; | 20 | spi-cs-high; |
21 | spi-cpol; | ||
22 | spi-cpha; | ||
21 | 23 | ||
22 | cpcap_adc: adc { | 24 | cpcap_adc: adc { |
23 | compatible = "motorola,mapphone-cpcap-adc"; | 25 | compatible = "motorola,mapphone-cpcap-adc"; |
diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts index e96c0ca97972..a50e3c884efa 100644 --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | |||
@@ -183,6 +183,7 @@ | |||
183 | fixed-link { | 183 | fixed-link { |
184 | speed = <1000>; | 184 | speed = <1000>; |
185 | full-duplex; | 185 | full-duplex; |
186 | pause; | ||
186 | }; | 187 | }; |
187 | }; | 188 | }; |
188 | }; | 189 | }; |
diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi index 51a48741d4c0..2557ce026add 100644 --- a/arch/arm/boot/dts/owl-s500.dtsi +++ b/arch/arm/boot/dts/owl-s500.dtsi | |||
@@ -82,21 +82,21 @@ | |||
82 | global_timer: timer@b0020200 { | 82 | global_timer: timer@b0020200 { |
83 | compatible = "arm,cortex-a9-global-timer"; | 83 | compatible = "arm,cortex-a9-global-timer"; |
84 | reg = <0xb0020200 0x100>; | 84 | reg = <0xb0020200 0x100>; |
85 | interrupts = <GIC_PPI 0 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; | 85 | interrupts = <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; |
86 | status = "disabled"; | 86 | status = "disabled"; |
87 | }; | 87 | }; |
88 | 88 | ||
89 | twd_timer: timer@b0020600 { | 89 | twd_timer: timer@b0020600 { |
90 | compatible = "arm,cortex-a9-twd-timer"; | 90 | compatible = "arm,cortex-a9-twd-timer"; |
91 | reg = <0xb0020600 0x20>; | 91 | reg = <0xb0020600 0x20>; |
92 | interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; | 92 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; |
93 | status = "disabled"; | 93 | status = "disabled"; |
94 | }; | 94 | }; |
95 | 95 | ||
96 | twd_wdt: wdt@b0020620 { | 96 | twd_wdt: wdt@b0020620 { |
97 | compatible = "arm,cortex-a9-twd-wdt"; | 97 | compatible = "arm,cortex-a9-twd-wdt"; |
98 | reg = <0xb0020620 0xe0>; | 98 | reg = <0xb0020620 0xe0>; |
99 | interrupts = <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; | 99 | interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; |
100 | status = "disabled"; | 100 | status = "disabled"; |
101 | }; | 101 | }; |
102 | 102 | ||
diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index b290a5abb901..a215218237a6 100644 --- a/arch/arm/boot/dts/s5pv210.dtsi +++ b/arch/arm/boot/dts/s5pv210.dtsi | |||
@@ -101,19 +101,16 @@ | |||
101 | }; | 101 | }; |
102 | 102 | ||
103 | clocks: clock-controller@e0100000 { | 103 | clocks: clock-controller@e0100000 { |
104 | compatible = "samsung,s5pv210-clock", "simple-bus"; | 104 | compatible = "samsung,s5pv210-clock"; |
105 | reg = <0xe0100000 0x10000>; | 105 | reg = <0xe0100000 0x10000>; |
106 | clock-names = "xxti", "xusbxti"; | 106 | clock-names = "xxti", "xusbxti"; |
107 | clocks = <&xxti>, <&xusbxti>; | 107 | clocks = <&xxti>, <&xusbxti>; |
108 | #clock-cells = <1>; | 108 | #clock-cells = <1>; |
109 | #address-cells = <1>; | 109 | }; |
110 | #size-cells = <1>; | ||
111 | ranges; | ||
112 | 110 | ||
113 | pmu_syscon: syscon@e0108000 { | 111 | pmu_syscon: syscon@e0108000 { |
114 | compatible = "samsung-s5pv210-pmu", "syscon"; | 112 | compatible = "samsung-s5pv210-pmu", "syscon"; |
115 | reg = <0xe0108000 0x8000>; | 113 | reg = <0xe0108000 0x8000>; |
116 | }; | ||
117 | }; | 114 | }; |
118 | 115 | ||
119 | pinctrl0: pinctrl@e0200000 { | 116 | pinctrl0: pinctrl@e0200000 { |
@@ -129,35 +126,28 @@ | |||
129 | }; | 126 | }; |
130 | }; | 127 | }; |
131 | 128 | ||
132 | amba { | 129 | pdma0: dma@e0900000 { |
133 | #address-cells = <1>; | 130 | compatible = "arm,pl330", "arm,primecell"; |
134 | #size-cells = <1>; | 131 | reg = <0xe0900000 0x1000>; |
135 | compatible = "simple-bus"; | 132 | interrupt-parent = <&vic0>; |
136 | ranges; | 133 | interrupts = <19>; |
137 | 134 | clocks = <&clocks CLK_PDMA0>; | |
138 | pdma0: dma@e0900000 { | 135 | clock-names = "apb_pclk"; |
139 | compatible = "arm,pl330", "arm,primecell"; | 136 | #dma-cells = <1>; |
140 | reg = <0xe0900000 0x1000>; | 137 | #dma-channels = <8>; |
141 | interrupt-parent = <&vic0>; | 138 | #dma-requests = <32>; |
142 | interrupts = <19>; | 139 | }; |
143 | clocks = <&clocks CLK_PDMA0>; | ||
144 | clock-names = "apb_pclk"; | ||
145 | #dma-cells = <1>; | ||
146 | #dma-channels = <8>; | ||
147 | #dma-requests = <32>; | ||
148 | }; | ||
149 | 140 | ||
150 | pdma1: dma@e0a00000 { | 141 | pdma1: dma@e0a00000 { |
151 | compatible = "arm,pl330", "arm,primecell"; | 142 | compatible = "arm,pl330", "arm,primecell"; |
152 | reg = <0xe0a00000 0x1000>; | 143 | reg = <0xe0a00000 0x1000>; |
153 | interrupt-parent = <&vic0>; | 144 | interrupt-parent = <&vic0>; |
154 | interrupts = <20>; | 145 | interrupts = <20>; |
155 | clocks = <&clocks CLK_PDMA1>; | 146 | clocks = <&clocks CLK_PDMA1>; |
156 | clock-names = "apb_pclk"; | 147 | clock-names = "apb_pclk"; |
157 | #dma-cells = <1>; | 148 | #dma-cells = <1>; |
158 | #dma-channels = <8>; | 149 | #dma-channels = <8>; |
159 | #dma-requests = <32>; | 150 | #dma-requests = <32>; |
160 | }; | ||
161 | }; | 151 | }; |
162 | 152 | ||
163 | spi0: spi@e1300000 { | 153 | spi0: spi@e1300000 { |
@@ -230,43 +220,36 @@ | |||
230 | status = "disabled"; | 220 | status = "disabled"; |
231 | }; | 221 | }; |
232 | 222 | ||
233 | audio-subsystem { | 223 | clk_audss: clock-controller@eee10000 { |
234 | compatible = "samsung,s5pv210-audss", "simple-bus"; | 224 | compatible = "samsung,s5pv210-audss-clock"; |
235 | #address-cells = <1>; | 225 | reg = <0xeee10000 0x1000>; |
236 | #size-cells = <1>; | 226 | clock-names = "hclk", "xxti", |
237 | ranges; | 227 | "fout_epll", |
238 | 228 | "sclk_audio0"; | |
239 | clk_audss: clock-controller@eee10000 { | 229 | clocks = <&clocks DOUT_HCLKP>, <&xxti>, |
240 | compatible = "samsung,s5pv210-audss-clock"; | 230 | <&clocks FOUT_EPLL>, |
241 | reg = <0xeee10000 0x1000>; | 231 | <&clocks SCLK_AUDIO0>; |
242 | clock-names = "hclk", "xxti", | 232 | #clock-cells = <1>; |
243 | "fout_epll", | 233 | }; |
244 | "sclk_audio0"; | ||
245 | clocks = <&clocks DOUT_HCLKP>, <&xxti>, | ||
246 | <&clocks FOUT_EPLL>, | ||
247 | <&clocks SCLK_AUDIO0>; | ||
248 | #clock-cells = <1>; | ||
249 | }; | ||
250 | 234 | ||
251 | i2s0: i2s@eee30000 { | 235 | i2s0: i2s@eee30000 { |
252 | compatible = "samsung,s5pv210-i2s"; | 236 | compatible = "samsung,s5pv210-i2s"; |
253 | reg = <0xeee30000 0x1000>; | 237 | reg = <0xeee30000 0x1000>; |
254 | interrupt-parent = <&vic2>; | 238 | interrupt-parent = <&vic2>; |
255 | interrupts = <16>; | 239 | interrupts = <16>; |
256 | dma-names = "rx", "tx", "tx-sec"; | 240 | dma-names = "rx", "tx", "tx-sec"; |
257 | dmas = <&pdma1 9>, <&pdma1 10>, <&pdma1 11>; | 241 | dmas = <&pdma1 9>, <&pdma1 10>, <&pdma1 11>; |
258 | clock-names = "iis", | 242 | clock-names = "iis", |
259 | "i2s_opclk0", | 243 | "i2s_opclk0", |
260 | "i2s_opclk1"; | 244 | "i2s_opclk1"; |
261 | clocks = <&clk_audss CLK_I2S>, | 245 | clocks = <&clk_audss CLK_I2S>, |
262 | <&clk_audss CLK_I2S>, | 246 | <&clk_audss CLK_I2S>, |
263 | <&clk_audss CLK_DOUT_AUD_BUS>; | 247 | <&clk_audss CLK_DOUT_AUD_BUS>; |