Skip to content

Commit d6989d4

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2 parents 0364a88 + b1f2beb commit d6989d4

File tree

289 files changed

+2982
-1761
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+2982
-1761
lines changed

Documentation/devicetree/bindings/mmc/sdhci-st.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Required properties:
1010
subsystem (mmcss) inside the FlashSS (available in STiH407 SoC
1111
family).
1212

13-
- clock-names: Should be "mmc".
13+
- clock-names: Should be "mmc" and "icn". (NB: The latter is not compulsory)
1414
See: Documentation/devicetree/bindings/resource-names.txt
1515
- clocks: Phandle to the clock.
1616
See: Documentation/devicetree/bindings/clock/clock-bindings.txt

Documentation/media/uapi/cec/cec-ioc-adap-g-log-addrs.rst

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ logical address types are already defined will return with error ``EBUSY``.
144144

145145
- ``flags``
146146

147-
- Flags. No flags are defined yet, so set this to 0.
147+
- Flags. See :ref:`cec-log-addrs-flags` for a list of available flags.
148148

149149
- .. row 7
150150

@@ -201,6 +201,25 @@ logical address types are already defined will return with error ``EBUSY``.
201201
give the CEC framework more information about the device type, even
202202
though the framework won't use it directly in the CEC message.
203203

204+
.. _cec-log-addrs-flags:
205+
206+
.. flat-table:: Flags for struct cec_log_addrs
207+
:header-rows: 0
208+
:stub-columns: 0
209+
:widths: 3 1 4
210+
211+
212+
- .. _`CEC-LOG-ADDRS-FL-ALLOW-UNREG-FALLBACK`:
213+
214+
- ``CEC_LOG_ADDRS_FL_ALLOW_UNREG_FALLBACK``
215+
216+
- 1
217+
218+
- By default if no logical address of the requested type can be claimed, then
219+
it will go back to the unconfigured state. If this flag is set, then it will
220+
fallback to the Unregistered logical address. Note that if the Unregistered
221+
logical address was explicitly requested, then this flag has no effect.
222+
204223
.. _cec-versions:
205224

206225
.. flat-table:: CEC Versions

Documentation/media/uapi/cec/cec-ioc-dqevent.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,19 @@ it is guaranteed that the state did change in between the two events.
6464

6565
- ``phys_addr``
6666

67-
- The current physical address.
67+
- The current physical address. This is ``CEC_PHYS_ADDR_INVALID`` if no
68+
valid physical address is set.
6869

6970
- .. row 2
7071

7172
- __u16
7273

7374
- ``log_addr_mask``
7475

75-
- The current set of claimed logical addresses.
76+
- The current set of claimed logical addresses. This is 0 if no logical
77+
addresses are claimed or if ``phys_addr`` is ``CEC_PHYS_ADDR_INVALID``.
78+
If bit 15 is set (``1 << CEC_LOG_ADDR_UNREGISTERED``) then this device
79+
has the unregistered logical address. In that case all other bits are 0.
7680

7781

7882

MAINTAINERS

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,6 +1634,7 @@ N: rockchip
16341634
ARM/SAMSUNG EXYNOS ARM ARCHITECTURES
16351635
M: Kukjin Kim <[email protected]>
16361636
M: Krzysztof Kozlowski <[email protected]>
1637+
R: Javier Martinez Canillas <[email protected]>
16371638
L: [email protected] (moderated for non-subscribers)
16381639
L: [email protected] (moderated for non-subscribers)
16391640
S: Maintained
@@ -2509,7 +2510,7 @@ S: Supported
25092510
F: kernel/bpf/
25102511

25112512
BROADCOM B44 10/100 ETHERNET DRIVER
2512-
M: Gary Zambrano <zambrano@broadcom.com>
2513+
M: Michael Chan <michael.chan@broadcom.com>
25132514
25142515
S: Supported
25152516
F: drivers/net/ethernet/broadcom/b44.*
@@ -6111,7 +6112,7 @@ S: Supported
61116112
F: drivers/cpufreq/intel_pstate.c
61126113

61136114
INTEL FRAMEBUFFER DRIVER (excluding 810 and 815)
6114-
M: Maik Broemme <mbroemme@plusserver.de>
6115+
M: Maik Broemme <mbroemme@libmpq.org>
61156116
61166117
S: Maintained
61176118
F: Documentation/fb/intelfb.txt
@@ -8169,6 +8170,15 @@ S: Maintained
81698170
W: https://fedorahosted.org/dropwatch/
81708171
F: net/core/drop_monitor.c
81718172

8173+
NETWORKING [DSA]
8174+
M: Andrew Lunn <[email protected]>
8175+
M: Vivien Didelot <[email protected]>
8176+
M: Florian Fainelli <[email protected]>
8177+
S: Maintained
8178+
F: net/dsa/
8179+
F: include/net/dsa.h
8180+
F: drivers/net/dsa/
8181+
81728182
NETWORKING [GENERAL]
81738183
M: "David S. Miller" <[email protected]>
81748184
@@ -12585,7 +12595,7 @@ F: include/linux/if_*vlan.h
1258512595
F: net/8021q/
1258612596

1258712597
VLYNQ BUS
12588-
M: Florian Fainelli <[email protected]>
12598+
M: Florian Fainelli <[email protected]>
1258912599
L: [email protected] (subscribers-only)
1259012600
S: Maintained
1259112601
F: drivers/vlynq/vlynq.c

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 4
22
PATCHLEVEL = 8
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc6
4+
EXTRAVERSION = -rc7
55
NAME = Psychotic Stoned Sheep
66

77
# *DOCUMENTATION*

arch/alpha/include/asm/uaccess.h

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -371,14 +371,6 @@ __copy_tofrom_user_nocheck(void *to, const void *from, long len)
371371
return __cu_len;
372372
}
373373

374-
extern inline long
375-
__copy_tofrom_user(void *to, const void *from, long len, const void __user *validate)
376-
{
377-
if (__access_ok((unsigned long)validate, len, get_fs()))
378-
len = __copy_tofrom_user_nocheck(to, from, len);
379-
return len;
380-
}
381-
382374
#define __copy_to_user(to, from, n) \
383375
({ \
384376
__chk_user_ptr(to); \
@@ -393,17 +385,22 @@ __copy_tofrom_user(void *to, const void *from, long len, const void __user *vali
393385
#define __copy_to_user_inatomic __copy_to_user
394386
#define __copy_from_user_inatomic __copy_from_user
395387

396-
397388
extern inline long
398389
copy_to_user(void __user *to, const void *from, long n)
399390
{
400-
return __copy_tofrom_user((__force void *)to, from, n, to);
391+
if (likely(__access_ok((unsigned long)to, n, get_fs())))
392+
n = __copy_tofrom_user_nocheck((__force void *)to, from, n);
393+
return n;
401394
}
402395

403396
extern inline long
404397
copy_from_user(void *to, const void __user *from, long n)
405398
{
406-
return __copy_tofrom_user(to, (__force void *)from, n, from);
399+
if (likely(__access_ok((unsigned long)from, n, get_fs())))
400+
n = __copy_tofrom_user_nocheck(to, (__force void *)from, n);
401+
else
402+
memset(to, 0, n);
403+
return n;
407404
}
408405

409406
extern void __do_clear_user(void);

arch/arc/include/asm/uaccess.h

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@
8383
"2: ;nop\n" \
8484
" .section .fixup, \"ax\"\n" \
8585
" .align 4\n" \
86-
"3: mov %0, %3\n" \
86+
"3: # return -EFAULT\n" \
87+
" mov %0, %3\n" \
88+
" # zero out dst ptr\n" \
89+
" mov %1, 0\n" \
8790
" j 2b\n" \
8891
" .previous\n" \
8992
" .section __ex_table, \"a\"\n" \
@@ -101,7 +104,11 @@
101104
"2: ;nop\n" \
102105
" .section .fixup, \"ax\"\n" \
103106
" .align 4\n" \
104-
"3: mov %0, %3\n" \
107+
"3: # return -EFAULT\n" \
108+
" mov %0, %3\n" \
109+
" # zero out dst ptr\n" \
110+
" mov %1, 0\n" \
111+
" mov %R1, 0\n" \
105112
" j 2b\n" \
106113
" .previous\n" \
107114
" .section __ex_table, \"a\"\n" \

arch/arm/boot/dts/bcm2835-rpi.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
/ {
44
memory {
5+
device_type = "memory";
56
reg = <0 0x10000000>;
67
};
78

arch/arm/boot/dts/bcm283x.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#include <dt-bindings/clock/bcm2835.h>
33
#include <dt-bindings/clock/bcm2835-aux.h>
44
#include <dt-bindings/gpio/gpio.h>
5-
#include "skeleton.dtsi"
65

76
/* This include file covers the common peripherals and configuration between
87
* bcm2835 and bcm2836 implementations, leaving the CPU configuration to
@@ -13,6 +12,8 @@
1312
compatible = "brcm,bcm2835";
1413
model = "BCM2835";
1514
interrupt-parent = <&intc>;
15+
#address-cells = <1>;
16+
#size-cells = <1>;
1617

1718
chosen {
1819
bootargs = "earlyprintk console=ttyAMA0";

arch/arm/boot/dts/stih407-family.dtsi

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -550,8 +550,9 @@
550550
interrupt-names = "mmcirq";
551551
pinctrl-names = "default";
552552
pinctrl-0 = <&pinctrl_mmc0>;
553-
clock-names = "mmc";
554-
clocks = <&clk_s_c0_flexgen CLK_MMC_0>;
553+
clock-names = "mmc", "icn";
554+
clocks = <&clk_s_c0_flexgen CLK_MMC_0>,
555+
<&clk_s_c0_flexgen CLK_RX_ICN_HVA>;
555556
bus-width = <8>;
556557
non-removable;
557558
};
@@ -565,8 +566,9 @@
565566
interrupt-names = "mmcirq";
566567
pinctrl-names = "default";
567568
pinctrl-0 = <&pinctrl_sd1>;
568-
clock-names = "mmc";
569-
clocks = <&clk_s_c0_flexgen CLK_MMC_1>;
569+
clock-names = "mmc", "icn";
570+
clocks = <&clk_s_c0_flexgen CLK_MMC_1>,
571+
<&clk_s_c0_flexgen CLK_RX_ICN_HVA>;
570572
resets = <&softreset STIH407_MMC1_SOFTRESET>;
571573
bus-width = <4>;
572574
};

arch/arm/boot/dts/stih410.dtsi

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
compatible = "st,st-ohci-300x";
4242
reg = <0x9a03c00 0x100>;
4343
interrupts = <GIC_SPI 180 IRQ_TYPE_NONE>;
44-
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>;
44+
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
45+
<&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
4546
resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
4647
<&softreset STIH407_USB2_PORT0_SOFTRESET>;
4748
reset-names = "power", "softreset";
@@ -57,7 +58,8 @@
5758
interrupts = <GIC_SPI 151 IRQ_TYPE_NONE>;
5859
pinctrl-names = "default";
5960
pinctrl-0 = <&pinctrl_usb0>;
60-
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>;
61+
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
62+
<&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
6163
resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
6264
<&softreset STIH407_USB2_PORT0_SOFTRESET>;
6365
reset-names = "power", "softreset";
@@ -71,7 +73,8 @@
7173
compatible = "st,st-ohci-300x";
7274
reg = <0x9a83c00 0x100>;
7375
interrupts = <GIC_SPI 181 IRQ_TYPE_NONE>;
74-
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>;
76+
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
77+
<&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
7578
resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
7679
<&softreset STIH407_USB2_PORT1_SOFTRESET>;
7780
reset-names = "power", "softreset";
@@ -87,7 +90,8 @@
8790
interrupts = <GIC_SPI 153 IRQ_TYPE_NONE>;
8891
pinctrl-names = "default";
8992
pinctrl-0 = <&pinctrl_usb1>;
90-
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>;
93+
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
94+
<&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
9195
resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
9296
<&softreset STIH407_USB2_PORT1_SOFTRESET>;
9397
reset-names = "power", "softreset";

arch/arm/common/locomo.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ static struct locomo_dev_info locomo_devices[] = {
140140

141141
static void locomo_handler(struct irq_desc *desc)
142142
{
143-
struct locomo *lchip = irq_desc_get_chip_data(desc);
143+
struct locomo *lchip = irq_desc_get_handler_data(desc);
144144
int req, i;
145145

146146
/* Acknowledge the parent IRQ */
@@ -200,8 +200,7 @@ static void locomo_setup_irq(struct locomo *lchip)
200200
* Install handler for IRQ_LOCOMO_HW.
201201
*/
202202
irq_set_irq_type(lchip->irq, IRQ_TYPE_EDGE_FALLING);
203-
irq_set_chip_data(lchip->irq, lchip);
204-
irq_set_chained_handler(lchip->irq, locomo_handler);
203+
irq_set_chained_handler_and_data(lchip->irq, locomo_handler, lchip);
205204

206205
/* Install handlers for IRQ_LOCOMO_* */
207206
for ( ; irq <= lchip->irq_base + 3; irq++) {

0 commit comments

Comments
 (0)