kernel: bump 5.10 to 5.10.80
Deleted (upstreamed): ath79/patches-5.10/921-serial-core-add-support-for-boot-console-with-arbitr.patch [1] bcm53xx/patches-5.10/033-v5.15-0012-ARM-dts-BCM5301X-Fix-memory-nodes-names.patch [2] lantiq/patches-5.10/0016-mtd-rawnand-xway-Keep-the-driver-compatible-with-on-.patch [3] lantiq/patches-5.10/0110-MIPS-lantiq-dma-add-small-delay-after-reset.patch [4] lantiq/patches-5.10/0111-MIPS-lantiq-dma-reset-correct-number-of-channel.patch [5] lantiq/patches-5.10/0112-MIPS-lantiq-dma-fix-burst-length-for-DEU.patch [6] Manually rebased: ipq806x/patches-5.10/0065-arm-override-compiler-flags.patch [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=47462c5e600fbaffd755cd13dedd80d04e41ff83 [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=2fde76df1885a6bec04317e457121326070450eb [3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=9b366f5221d8aa64b22f35be137a5749326444ce [4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=5af57ce8a6155fe3e4270d28d171abf8903bebc0 [5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=b92a5df2c7adc79a57481445f67de0c1c716581f [6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=6b72caabc47011d03f44064452b2c65e8ed18326 Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
This commit is contained in:
		 Rui Salvaterra
					Rui Salvaterra
				
			
				
					committed by
					
						 Daniel Golle
						Daniel Golle
					
				
			
			
				
	
			
			
			 Daniel Golle
						Daniel Golle
					
				
			
						parent
						
							d745835ae1
						
					
				
				
					commit
					3ae5da5adc
				
			| @@ -7,10 +7,10 @@ ifdef CONFIG_TESTING_KERNEL | |||||||
| endif | endif | ||||||
|  |  | ||||||
| LINUX_VERSION-5.4 = .158 | LINUX_VERSION-5.4 = .158 | ||||||
| LINUX_VERSION-5.10 = .79 | LINUX_VERSION-5.10 = .80 | ||||||
|  |  | ||||||
| LINUX_KERNEL_HASH-5.4.158 = 6e018fecdc8fc24553756e582d83b82d65b10a6b03ef36262a24911f839b8d59 | LINUX_KERNEL_HASH-5.4.158 = 6e018fecdc8fc24553756e582d83b82d65b10a6b03ef36262a24911f839b8d59 | ||||||
| LINUX_KERNEL_HASH-5.10.79 = e49955e16a2ee26d0b3ca1521912daba5ab8f7a6b2c9e5f538bb0ae7b837a8ad | LINUX_KERNEL_HASH-5.10.80 = 477ce8f7624263e4346c0fc25ffc334af06bcac4d6bebdd5a7fe4681557fdb39 | ||||||
|  |  | ||||||
| remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1)))) | remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1)))) | ||||||
| sanitize_uri=$(call qstrip,$(subst @,_,$(subst :,_,$(subst .,_,$(subst -,_,$(subst /,_,$(1))))))) | sanitize_uri=$(call qstrip,$(subst @,_,$(subst :,_,$(subst .,_,$(subst -,_,$(subst /,_,$(1))))))) | ||||||
|   | |||||||
| @@ -13,7 +13,7 @@ produce a noisy warning. | |||||||
|  |  | ||||||
| --- a/drivers/usb/host/xhci-pci.c | --- a/drivers/usb/host/xhci-pci.c | ||||||
| +++ b/drivers/usb/host/xhci-pci.c | +++ b/drivers/usb/host/xhci-pci.c | ||||||
| @@ -267,6 +267,7 @@ static void xhci_pci_quirks(struct devic | @@ -274,6 +274,7 @@ static void xhci_pci_quirks(struct devic | ||||||
|  	    pdev->device == 0x0015) { |  	    pdev->device == 0x0015) { | ||||||
|  		xhci->quirks |= XHCI_RESET_ON_RESUME; |  		xhci->quirks |= XHCI_RESET_ON_RESUME; | ||||||
|  		xhci->quirks |= XHCI_ZERO_64B_REGS; |  		xhci->quirks |= XHCI_ZERO_64B_REGS; | ||||||
|   | |||||||
| @@ -754,7 +754,7 @@ | |||||||
|  	ptr = ip6hoff + sizeof(struct ipv6hdr); |  	ptr = ip6hoff + sizeof(struct ipv6hdr); | ||||||
| --- a/include/net/neighbour.h | --- a/include/net/neighbour.h | ||||||
| +++ b/include/net/neighbour.h | +++ b/include/net/neighbour.h | ||||||
| @@ -274,8 +274,10 @@ static inline bool neigh_key_eq128(const | @@ -275,8 +275,10 @@ static inline bool neigh_key_eq128(const | ||||||
|  	const u32 *n32 = (const u32 *)n->primary_key; |  	const u32 *n32 = (const u32 *)n->primary_key; | ||||||
|  	const u32 *p32 = pkey; |  	const u32 *p32 = pkey; | ||||||
|   |   | ||||||
|   | |||||||
| @@ -1,54 +0,0 @@ | |||||||
| From 4d3c17975c7814884a721fe693b3adf5c426d759 Mon Sep 17 00:00:00 2001 |  | ||||||
| From: Hauke Mehrtens <hauke@hauke-m.de> |  | ||||||
| Date: Tue, 10 Nov 2015 22:18:39 +0100 |  | ||||||
| Subject: [RFC] serial: core: add support for boot console with arbitrary |  | ||||||
|  baud rates |  | ||||||
|  |  | ||||||
| The Arduino Yun uses a baud rate of 250000 by default. The serial is |  | ||||||
| going over the Atmel ATmega and is used to connect to this chip. |  | ||||||
| Without this patch Linux wants to switch the console to 9600 Baud. |  | ||||||
|  |  | ||||||
| With this patch Linux will use the configured baud rate and not a |  | ||||||
| default one specified in uart_register_driver(). |  | ||||||
|  |  | ||||||
| Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> |  | ||||||
| [rebased to 4.14, slightly reworded commit message] |  | ||||||
| Signed-off-by: Sungbo Eo <mans0n@gorani.run> |  | ||||||
| --- |  | ||||||
|  drivers/tty/serial/serial_core.c | 6 +++++- |  | ||||||
|  include/linux/console.h          | 1 + |  | ||||||
|  2 files changed, 6 insertions(+), 1 deletions(-) |  | ||||||
|  |  | ||||||
| --- a/drivers/tty/serial/serial_core.c |  | ||||||
| +++ b/drivers/tty/serial/serial_core.c |  | ||||||
| @@ -222,6 +222,8 @@ static int uart_port_startup(struct tty_ |  | ||||||
|  	if (retval == 0) { |  | ||||||
|  		if (uart_console(uport) && uport->cons->cflag) { |  | ||||||
|  			tty->termios.c_cflag = uport->cons->cflag; |  | ||||||
| +			tty->termios.c_ospeed = uport->cons->baud; |  | ||||||
| +			tty->termios.c_ispeed = uport->cons->baud; |  | ||||||
|  			uport->cons->cflag = 0; |  | ||||||
|  		} |  | ||||||
|  		/* |  | ||||||
| @@ -2123,8 +2125,10 @@ uart_set_options(struct uart_port *port, |  | ||||||
|  	 * Allow the setting of the UART parameters with a NULL console |  | ||||||
|  	 * too: |  | ||||||
|  	 */ |  | ||||||
| -	if (co) |  | ||||||
| +	if (co) { |  | ||||||
|  		co->cflag = termios.c_cflag; |  | ||||||
| +		co->baud = baud; |  | ||||||
| +	} |  | ||||||
|   |  | ||||||
|  	return 0; |  | ||||||
|  } |  | ||||||
| --- a/include/linux/console.h |  | ||||||
| +++ b/include/linux/console.h |  | ||||||
| @@ -150,6 +150,7 @@ struct console { |  | ||||||
|  	short	flags; |  | ||||||
|  	short	index; |  | ||||||
|  	int	cflag; |  | ||||||
| +	int	baud; |  | ||||||
|  	void	*data; |  | ||||||
|  	struct	 console *next; |  | ||||||
|  }; |  | ||||||
| @@ -278,7 +278,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> | |||||||
|      pixfmt-nv24 |      pixfmt-nv24 | ||||||
| --- a/drivers/media/v4l2-core/v4l2-ioctl.c | --- a/drivers/media/v4l2-core/v4l2-ioctl.c | ||||||
| +++ b/drivers/media/v4l2-core/v4l2-ioctl.c | +++ b/drivers/media/v4l2-core/v4l2-ioctl.c | ||||||
| @@ -1325,6 +1325,8 @@ static void v4l_fill_fmtdesc(struct v4l2 | @@ -1343,6 +1343,8 @@ static void v4l_fill_fmtdesc(struct v4l2 | ||||||
|  	case V4L2_PIX_FMT_NV61M:	descr = "Y/CrCb 4:2:2 (N-C)"; break; |  	case V4L2_PIX_FMT_NV61M:	descr = "Y/CrCb 4:2:2 (N-C)"; break; | ||||||
|  	case V4L2_PIX_FMT_NV12MT:	descr = "Y/CbCr 4:2:0 (64x32 MB, N-C)"; break; |  	case V4L2_PIX_FMT_NV12MT:	descr = "Y/CbCr 4:2:0 (64x32 MB, N-C)"; break; | ||||||
|  	case V4L2_PIX_FMT_NV12MT_16X16:	descr = "Y/CbCr 4:2:0 (16x16 MB, N-C)"; break; |  	case V4L2_PIX_FMT_NV12MT_16X16:	descr = "Y/CbCr 4:2:0 (16x16 MB, N-C)"; break; | ||||||
|   | |||||||
| @@ -65,7 +65,7 @@ Signed-off-by: Naushir Patuck <naush@raspberrypi.com> | |||||||
| + | + | ||||||
| --- a/drivers/media/v4l2-core/v4l2-ioctl.c | --- a/drivers/media/v4l2-core/v4l2-ioctl.c | ||||||
| +++ b/drivers/media/v4l2-core/v4l2-ioctl.c | +++ b/drivers/media/v4l2-core/v4l2-ioctl.c | ||||||
| @@ -1404,6 +1404,7 @@ static void v4l_fill_fmtdesc(struct v4l2 | @@ -1422,6 +1422,7 @@ static void v4l_fill_fmtdesc(struct v4l2 | ||||||
|  	case V4L2_META_FMT_UVC:		descr = "UVC Payload Header Metadata"; break; |  	case V4L2_META_FMT_UVC:		descr = "UVC Payload Header Metadata"; break; | ||||||
|  	case V4L2_META_FMT_D4XX:	descr = "Intel D4xx UVC Metadata"; break; |  	case V4L2_META_FMT_D4XX:	descr = "Intel D4xx UVC Metadata"; break; | ||||||
|  	case V4L2_META_FMT_VIVID:       descr = "Vivid Metadata"; break; |  	case V4L2_META_FMT_VIVID:       descr = "Vivid Metadata"; break; | ||||||
|   | |||||||
| @@ -74,7 +74,7 @@ Signed-off-by: Naushir Patuck <naush@raspberrypi.com> | |||||||
| + | + | ||||||
| --- a/drivers/media/v4l2-core/v4l2-ioctl.c | --- a/drivers/media/v4l2-core/v4l2-ioctl.c | ||||||
| +++ b/drivers/media/v4l2-core/v4l2-ioctl.c | +++ b/drivers/media/v4l2-core/v4l2-ioctl.c | ||||||
| @@ -1405,6 +1405,7 @@ static void v4l_fill_fmtdesc(struct v4l2 | @@ -1423,6 +1423,7 @@ static void v4l_fill_fmtdesc(struct v4l2 | ||||||
|  	case V4L2_META_FMT_D4XX:	descr = "Intel D4xx UVC Metadata"; break; |  	case V4L2_META_FMT_D4XX:	descr = "Intel D4xx UVC Metadata"; break; | ||||||
|  	case V4L2_META_FMT_VIVID:       descr = "Vivid Metadata"; break; |  	case V4L2_META_FMT_VIVID:       descr = "Vivid Metadata"; break; | ||||||
|  	case V4L2_META_FMT_SENSOR_DATA:	descr = "Sensor Ancillary Metadata"; break; |  	case V4L2_META_FMT_SENSOR_DATA:	descr = "Sensor Ancillary Metadata"; break; | ||||||
|   | |||||||
| @@ -75,7 +75,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> | |||||||
|      pixfmt-y10p |      pixfmt-y10p | ||||||
| --- a/drivers/media/v4l2-core/v4l2-ioctl.c | --- a/drivers/media/v4l2-core/v4l2-ioctl.c | ||||||
| +++ b/drivers/media/v4l2-core/v4l2-ioctl.c | +++ b/drivers/media/v4l2-core/v4l2-ioctl.c | ||||||
| @@ -1283,6 +1283,7 @@ static void v4l_fill_fmtdesc(struct v4l2 | @@ -1301,6 +1301,7 @@ static void v4l_fill_fmtdesc(struct v4l2 | ||||||
|  	case V4L2_PIX_FMT_Y16_BE:	descr = "16-bit Greyscale BE"; break; |  	case V4L2_PIX_FMT_Y16_BE:	descr = "16-bit Greyscale BE"; break; | ||||||
|  	case V4L2_PIX_FMT_Y10BPACK:	descr = "10-bit Greyscale (Packed)"; break; |  	case V4L2_PIX_FMT_Y10BPACK:	descr = "10-bit Greyscale (Packed)"; break; | ||||||
|  	case V4L2_PIX_FMT_Y10P:		descr = "10-bit Greyscale (MIPI Packed)"; break; |  	case V4L2_PIX_FMT_Y10P:		descr = "10-bit Greyscale (MIPI Packed)"; break; | ||||||
|   | |||||||
| @@ -84,7 +84,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> | |||||||
|      pixfmt-y16 |      pixfmt-y16 | ||||||
| --- a/drivers/media/v4l2-core/v4l2-ioctl.c | --- a/drivers/media/v4l2-core/v4l2-ioctl.c | ||||||
| +++ b/drivers/media/v4l2-core/v4l2-ioctl.c | +++ b/drivers/media/v4l2-core/v4l2-ioctl.c | ||||||
| @@ -1284,6 +1284,7 @@ static void v4l_fill_fmtdesc(struct v4l2 | @@ -1302,6 +1302,7 @@ static void v4l_fill_fmtdesc(struct v4l2 | ||||||
|  	case V4L2_PIX_FMT_Y10BPACK:	descr = "10-bit Greyscale (Packed)"; break; |  	case V4L2_PIX_FMT_Y10BPACK:	descr = "10-bit Greyscale (Packed)"; break; | ||||||
|  	case V4L2_PIX_FMT_Y10P:		descr = "10-bit Greyscale (MIPI Packed)"; break; |  	case V4L2_PIX_FMT_Y10P:		descr = "10-bit Greyscale (MIPI Packed)"; break; | ||||||
|  	case V4L2_PIX_FMT_Y12P:		descr = "12-bit Greyscale (MIPI Packed)"; break; |  	case V4L2_PIX_FMT_Y12P:		descr = "12-bit Greyscale (MIPI Packed)"; break; | ||||||
|   | |||||||
| @@ -22,7 +22,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com> | |||||||
|  |  | ||||||
| --- a/drivers/usb/host/xhci-pci.c | --- a/drivers/usb/host/xhci-pci.c | ||||||
| +++ b/drivers/usb/host/xhci-pci.c | +++ b/drivers/usb/host/xhci-pci.c | ||||||
| @@ -279,6 +279,7 @@ static void xhci_pci_quirks(struct devic | @@ -286,6 +286,7 @@ static void xhci_pci_quirks(struct devic | ||||||
|  	if (pdev->vendor == PCI_VENDOR_ID_VIA && pdev->device == 0x3483) { |  	if (pdev->vendor == PCI_VENDOR_ID_VIA && pdev->device == 0x3483) { | ||||||
|  		xhci->quirks |= XHCI_LPM_SUPPORT; |  		xhci->quirks |= XHCI_LPM_SUPPORT; | ||||||
|  		xhci->quirks |= XHCI_EP_CTX_BROKEN_DCS; |  		xhci->quirks |= XHCI_EP_CTX_BROKEN_DCS; | ||||||
|   | |||||||
| @@ -17,7 +17,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org> | |||||||
|  |  | ||||||
| --- a/kernel/cgroup/cgroup.c | --- a/kernel/cgroup/cgroup.c | ||||||
| +++ b/kernel/cgroup/cgroup.c | +++ b/kernel/cgroup/cgroup.c | ||||||
| @@ -5667,6 +5667,9 @@ int __init cgroup_init_early(void) | @@ -5690,6 +5690,9 @@ int __init cgroup_init_early(void) | ||||||
|  	return 0; |  	return 0; | ||||||
|  } |  } | ||||||
|   |   | ||||||
| @@ -27,7 +27,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org> | |||||||
|  /** |  /** | ||||||
|   * cgroup_init - cgroup initialization |   * cgroup_init - cgroup initialization | ||||||
|   * |   * | ||||||
| @@ -5705,6 +5708,12 @@ int __init cgroup_init(void) | @@ -5728,6 +5731,12 @@ int __init cgroup_init(void) | ||||||
|   |   | ||||||
|  	mutex_unlock(&cgroup_mutex); |  	mutex_unlock(&cgroup_mutex); | ||||||
|   |   | ||||||
| @@ -40,7 +40,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org> | |||||||
|  	for_each_subsys(ss, ssid) { |  	for_each_subsys(ss, ssid) { | ||||||
|  		if (ss->early_init) { |  		if (ss->early_init) { | ||||||
|  			struct cgroup_subsys_state *css = |  			struct cgroup_subsys_state *css = | ||||||
| @@ -6242,6 +6251,10 @@ static int __init cgroup_disable(char *s | @@ -6265,6 +6274,10 @@ static int __init cgroup_disable(char *s | ||||||
|  			    strcmp(token, ss->legacy_name)) |  			    strcmp(token, ss->legacy_name)) | ||||||
|  				continue; |  				continue; | ||||||
|   |   | ||||||
| @@ -51,7 +51,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org> | |||||||
|  			static_branch_disable(cgroup_subsys_enabled_key[i]); |  			static_branch_disable(cgroup_subsys_enabled_key[i]); | ||||||
|  			pr_info("Disabling %s control group subsystem\n", |  			pr_info("Disabling %s control group subsystem\n", | ||||||
|  				ss->name); |  				ss->name); | ||||||
| @@ -6251,6 +6264,31 @@ static int __init cgroup_disable(char *s | @@ -6274,6 +6287,31 @@ static int __init cgroup_disable(char *s | ||||||
|  } |  } | ||||||
|  __setup("cgroup_disable=", cgroup_disable); |  __setup("cgroup_disable=", cgroup_disable); | ||||||
|   |   | ||||||
|   | |||||||
| @@ -1,158 +0,0 @@ | |||||||
| From def3d0357e0539e6f6b82f079ff156def6ec2107 Mon Sep 17 00:00:00 2001 |  | ||||||
| From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl> |  | ||||||
| Date: Thu, 19 Aug 2021 08:57:02 +0200 |  | ||||||
| Subject: [PATCH] ARM: dts: BCM5301X: Fix memory nodes names |  | ||||||
| MIME-Version: 1.0 |  | ||||||
| Content-Type: text/plain; charset=UTF-8 |  | ||||||
| Content-Transfer-Encoding: 8bit |  | ||||||
|  |  | ||||||
| Thix fixes: |  | ||||||
| arch/arm/boot/dts/bcm4708-netgear-r6250.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]} |  | ||||||
| arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]} |  | ||||||
| arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 402653184]]} |  | ||||||
| arch/arm/boot/dts/bcm4709-linksys-ea9200.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]} |  | ||||||
| arch/arm/boot/dts/bcm4709-netgear-r7000.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]} |  | ||||||
| arch/arm/boot/dts/bcm4709-netgear-r8000.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]} |  | ||||||
| arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728]]} |  | ||||||
| arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 402653184]]} |  | ||||||
| arch/arm/boot/dts/bcm53016-meraki-mr32.dt.yaml: /: memory: False schema does not allow {'reg': [[0, 134217728]], 'device_type': ['memory']} |  | ||||||
| arch/arm/boot/dts/bcm94708.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728]]} |  | ||||||
| arch/arm/boot/dts/bcm94709.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728]]} |  | ||||||
|  |  | ||||||
| Signed-off-by: Rafał Miłecki <rafal@milecki.pl> |  | ||||||
| Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> |  | ||||||
| --- |  | ||||||
|  arch/arm/boot/dts/bcm4708-netgear-r6250.dts       | 2 +- |  | ||||||
|  arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts       | 2 +- |  | ||||||
|  arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts | 2 +- |  | ||||||
|  arch/arm/boot/dts/bcm4709-linksys-ea9200.dts      | 2 +- |  | ||||||
|  arch/arm/boot/dts/bcm4709-netgear-r7000.dts       | 2 +- |  | ||||||
|  arch/arm/boot/dts/bcm4709-netgear-r8000.dts       | 2 +- |  | ||||||
|  arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts | 2 +- |  | ||||||
|  arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts     | 2 +- |  | ||||||
|  arch/arm/boot/dts/bcm53016-meraki-mr32.dts        | 2 +- |  | ||||||
|  arch/arm/boot/dts/bcm94708.dts                    | 2 +- |  | ||||||
|  arch/arm/boot/dts/bcm94709.dts                    | 2 +- |  | ||||||
|  11 files changed, 11 insertions(+), 11 deletions(-) |  | ||||||
|  |  | ||||||
| --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts |  | ||||||
| +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts |  | ||||||
| @@ -20,7 +20,7 @@ |  | ||||||
|  		bootargs = "console=ttyS0,115200 earlycon"; |  | ||||||
|  	}; |  | ||||||
|   |  | ||||||
| -	memory { |  | ||||||
| +	memory@0 { |  | ||||||
|  		device_type = "memory"; |  | ||||||
|  		reg = <0x00000000 0x08000000>, |  | ||||||
|  		      <0x88000000 0x08000000>; |  | ||||||
| --- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts |  | ||||||
| +++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts |  | ||||||
| @@ -19,7 +19,7 @@ |  | ||||||
|  		bootargs = "console=ttyS0,115200"; |  | ||||||
|  	}; |  | ||||||
|   |  | ||||||
| -	memory { |  | ||||||
| +	memory@0 { |  | ||||||
|  		device_type = "memory"; |  | ||||||
|  		reg = <0x00000000 0x08000000>, |  | ||||||
|  		      <0x88000000 0x08000000>; |  | ||||||
| --- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts |  | ||||||
| +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts |  | ||||||
| @@ -19,7 +19,7 @@ |  | ||||||
|  		bootargs = "console=ttyS0,115200"; |  | ||||||
|  	}; |  | ||||||
|   |  | ||||||
| -	memory { |  | ||||||
| +	memory@0 { |  | ||||||
|  		device_type = "memory"; |  | ||||||
|  		reg = <0x00000000 0x08000000>, |  | ||||||
|  		      <0x88000000 0x18000000>; |  | ||||||
| --- a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts |  | ||||||
| +++ b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts |  | ||||||
| @@ -16,7 +16,7 @@ |  | ||||||
|  		bootargs = "console=ttyS0,115200"; |  | ||||||
|  	}; |  | ||||||
|   |  | ||||||
| -	memory { |  | ||||||
| +	memory@0 { |  | ||||||
|  		device_type = "memory"; |  | ||||||
|  		reg = <0x00000000 0x08000000>, |  | ||||||
|  		      <0x88000000 0x08000000>; |  | ||||||
| --- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts |  | ||||||
| +++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts |  | ||||||
| @@ -19,7 +19,7 @@ |  | ||||||
|  		bootargs = "console=ttyS0,115200"; |  | ||||||
|  	}; |  | ||||||
|   |  | ||||||
| -	memory { |  | ||||||
| +	memory@0 { |  | ||||||
|  		device_type = "memory"; |  | ||||||
|  		reg = <0x00000000 0x08000000>, |  | ||||||
|  		      <0x88000000 0x08000000>; |  | ||||||
| --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts |  | ||||||
| +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts |  | ||||||
| @@ -30,7 +30,7 @@ |  | ||||||
|  		bootargs = "console=ttyS0,115200"; |  | ||||||
|  	}; |  | ||||||
|   |  | ||||||
| -	memory { |  | ||||||
| +	memory@0 { |  | ||||||
|  		device_type = "memory"; |  | ||||||
|  		reg = <0x00000000 0x08000000>, |  | ||||||
|  		      <0x88000000 0x08000000>; |  | ||||||
| --- a/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts |  | ||||||
| +++ b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts |  | ||||||
| @@ -15,7 +15,7 @@ |  | ||||||
|  		bootargs = "console=ttyS0,115200 earlycon"; |  | ||||||
|  	}; |  | ||||||
|   |  | ||||||
| -	memory { |  | ||||||
| +	memory@0 { |  | ||||||
|  		device_type = "memory"; |  | ||||||
|  		reg = <0x00000000 0x08000000>; |  | ||||||
|  	}; |  | ||||||
| --- a/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts |  | ||||||
| +++ b/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts |  | ||||||
| @@ -16,7 +16,7 @@ |  | ||||||
|  		bootargs = "earlycon"; |  | ||||||
|  	}; |  | ||||||
|   |  | ||||||
| -	memory { |  | ||||||
| +	memory@0 { |  | ||||||
|  		device_type = "memory"; |  | ||||||
|  		reg = <0x00000000 0x08000000>, |  | ||||||
|  		      <0x88000000 0x18000000>; |  | ||||||
| --- a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts |  | ||||||
| +++ b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts |  | ||||||
| @@ -20,7 +20,7 @@ |  | ||||||
|  		bootargs = " console=ttyS0,115200n8 earlycon"; |  | ||||||
|  	}; |  | ||||||
|   |  | ||||||
| -	memory { |  | ||||||
| +	memory@0 { |  | ||||||
|  		reg = <0x00000000 0x08000000>; |  | ||||||
|  		device_type = "memory"; |  | ||||||
|  	}; |  | ||||||
| --- a/arch/arm/boot/dts/bcm94708.dts |  | ||||||
| +++ b/arch/arm/boot/dts/bcm94708.dts |  | ||||||
| @@ -38,7 +38,7 @@ |  | ||||||
|  	model = "NorthStar SVK (BCM94708)"; |  | ||||||
|  	compatible = "brcm,bcm94708", "brcm,bcm4708"; |  | ||||||
|   |  | ||||||
| -	memory { |  | ||||||
| +	memory@0 { |  | ||||||
|  		device_type = "memory"; |  | ||||||
|  		reg = <0x00000000 0x08000000>; |  | ||||||
|  	}; |  | ||||||
| --- a/arch/arm/boot/dts/bcm94709.dts |  | ||||||
| +++ b/arch/arm/boot/dts/bcm94709.dts |  | ||||||
| @@ -38,7 +38,7 @@ |  | ||||||
|  	model = "NorthStar SVK (BCM94709)"; |  | ||||||
|  	compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708"; |  | ||||||
|   |  | ||||||
| -	memory { |  | ||||||
| +	memory@0 { |  | ||||||
|  		device_type = "memory"; |  | ||||||
|  		reg = <0x00000000 0x08000000>; |  | ||||||
|  	}; |  | ||||||
| @@ -25,7 +25,7 @@ Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||||
|  |  | ||||||
| --- a/arch/mips/Kconfig | --- a/arch/mips/Kconfig | ||||||
| +++ b/arch/mips/Kconfig | +++ b/arch/mips/Kconfig | ||||||
| @@ -2080,7 +2080,7 @@ config CPU_MIPS32 | @@ -2081,7 +2081,7 @@ config CPU_MIPS32 | ||||||
|  config CPU_MIPS64 |  config CPU_MIPS64 | ||||||
|  	bool |  	bool | ||||||
|  	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R5 || \ |  	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R5 || \ | ||||||
|   | |||||||
| @@ -18,7 +18,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  |  | ||||||
| --- a/net/core/dev.c | --- a/net/core/dev.c | ||||||
| +++ b/net/core/dev.c | +++ b/net/core/dev.c | ||||||
| @@ -6799,15 +6799,10 @@ void __netif_napi_del(struct napi_struct | @@ -6802,15 +6802,10 @@ void __netif_napi_del(struct napi_struct | ||||||
|  } |  } | ||||||
|  EXPORT_SYMBOL(__netif_napi_del); |  EXPORT_SYMBOL(__netif_napi_del); | ||||||
|   |   | ||||||
| @@ -35,7 +35,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  	weight = n->weight; |  	weight = n->weight; | ||||||
|   |   | ||||||
|  	/* This NAPI_STATE_SCHED test is for avoiding a race |  	/* This NAPI_STATE_SCHED test is for avoiding a race | ||||||
| @@ -6827,7 +6822,7 @@ static int napi_poll(struct napi_struct | @@ -6830,7 +6825,7 @@ static int napi_poll(struct napi_struct | ||||||
|  			    n->poll, work, weight); |  			    n->poll, work, weight); | ||||||
|   |   | ||||||
|  	if (likely(work < weight)) |  	if (likely(work < weight)) | ||||||
| @@ -44,7 +44,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|   |   | ||||||
|  	/* Drivers must not modify the NAPI state if they |  	/* Drivers must not modify the NAPI state if they | ||||||
|  	 * consume the entire weight.  In such cases this code |  	 * consume the entire weight.  In such cases this code | ||||||
| @@ -6836,7 +6831,7 @@ static int napi_poll(struct napi_struct | @@ -6839,7 +6834,7 @@ static int napi_poll(struct napi_struct | ||||||
|  	 */ |  	 */ | ||||||
|  	if (unlikely(napi_disable_pending(n))) { |  	if (unlikely(napi_disable_pending(n))) { | ||||||
|  		napi_complete(n); |  		napi_complete(n); | ||||||
| @@ -53,7 +53,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  	} |  	} | ||||||
|   |   | ||||||
|  	if (n->gro_bitmask) { |  	if (n->gro_bitmask) { | ||||||
| @@ -6854,12 +6849,29 @@ static int napi_poll(struct napi_struct | @@ -6857,12 +6852,29 @@ static int napi_poll(struct napi_struct | ||||||
|  	if (unlikely(!list_empty(&n->poll_list))) { |  	if (unlikely(!list_empty(&n->poll_list))) { | ||||||
|  		pr_warn_once("%s: Budget exhausted after napi rescheduled\n", |  		pr_warn_once("%s: Budget exhausted after napi rescheduled\n", | ||||||
|  			     n->dev ? n->dev->name : "backlog"); |  			     n->dev ? n->dev->name : "backlog"); | ||||||
|   | |||||||
| @@ -131,7 +131,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  static int __dev_open(struct net_device *dev, struct netlink_ext_ack *extack) |  static int __dev_open(struct net_device *dev, struct netlink_ext_ack *extack) | ||||||
|  { |  { | ||||||
|  	const struct net_device_ops *ops = dev->netdev_ops; |  	const struct net_device_ops *ops = dev->netdev_ops; | ||||||
| @@ -4261,6 +4283,21 @@ int gro_normal_batch __read_mostly = 8; | @@ -4264,6 +4286,21 @@ int gro_normal_batch __read_mostly = 8; | ||||||
|  static inline void ____napi_schedule(struct softnet_data *sd, |  static inline void ____napi_schedule(struct softnet_data *sd, | ||||||
|  				     struct napi_struct *napi) |  				     struct napi_struct *napi) | ||||||
|  { |  { | ||||||
| @@ -153,7 +153,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  	list_add_tail(&napi->poll_list, &sd->poll_list); |  	list_add_tail(&napi->poll_list, &sd->poll_list); | ||||||
|  	__raise_softirq_irqoff(NET_RX_SOFTIRQ); |  	__raise_softirq_irqoff(NET_RX_SOFTIRQ); | ||||||
|  } |  } | ||||||
| @@ -6752,6 +6789,12 @@ void netif_napi_add(struct net_device *d | @@ -6755,6 +6792,12 @@ void netif_napi_add(struct net_device *d | ||||||
|  	set_bit(NAPI_STATE_NPSVC, &napi->state); |  	set_bit(NAPI_STATE_NPSVC, &napi->state); | ||||||
|  	list_add_rcu(&napi->dev_list, &dev->napi_list); |  	list_add_rcu(&napi->dev_list, &dev->napi_list); | ||||||
|  	napi_hash_add(napi); |  	napi_hash_add(napi); | ||||||
| @@ -166,7 +166,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  } |  } | ||||||
|  EXPORT_SYMBOL(netif_napi_add); |  EXPORT_SYMBOL(netif_napi_add); | ||||||
|   |   | ||||||
| @@ -6768,9 +6811,28 @@ void napi_disable(struct napi_struct *n) | @@ -6771,9 +6814,28 @@ void napi_disable(struct napi_struct *n) | ||||||
|  	hrtimer_cancel(&n->timer); |  	hrtimer_cancel(&n->timer); | ||||||
|   |   | ||||||
|  	clear_bit(NAPI_STATE_DISABLE, &n->state); |  	clear_bit(NAPI_STATE_DISABLE, &n->state); | ||||||
| @@ -195,7 +195,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  static void flush_gro_hash(struct napi_struct *napi) |  static void flush_gro_hash(struct napi_struct *napi) | ||||||
|  { |  { | ||||||
|  	int i; |  	int i; | ||||||
| @@ -6796,6 +6858,11 @@ void __netif_napi_del(struct napi_struct | @@ -6799,6 +6861,11 @@ void __netif_napi_del(struct napi_struct | ||||||
|   |   | ||||||
|  	flush_gro_hash(napi); |  	flush_gro_hash(napi); | ||||||
|  	napi->gro_bitmask = 0; |  	napi->gro_bitmask = 0; | ||||||
| @@ -207,7 +207,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  } |  } | ||||||
|  EXPORT_SYMBOL(__netif_napi_del); |  EXPORT_SYMBOL(__netif_napi_del); | ||||||
|   |   | ||||||
| @@ -6877,6 +6944,51 @@ static int napi_poll(struct napi_struct | @@ -6880,6 +6947,51 @@ static int napi_poll(struct napi_struct | ||||||
|  	return work; |  	return work; | ||||||
|  } |  } | ||||||
|   |   | ||||||
|   | |||||||
| @@ -57,7 +57,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|   *	@n: NAPI context |   *	@n: NAPI context | ||||||
| --- a/net/core/dev.c | --- a/net/core/dev.c | ||||||
| +++ b/net/core/dev.c | +++ b/net/core/dev.c | ||||||
| @@ -4287,8 +4287,9 @@ static inline void ____napi_schedule(str | @@ -4290,8 +4290,9 @@ static inline void ____napi_schedule(str | ||||||
|   |   | ||||||
|  	if (test_bit(NAPI_STATE_THREADED, &napi->state)) { |  	if (test_bit(NAPI_STATE_THREADED, &napi->state)) { | ||||||
|  		/* Paired with smp_mb__before_atomic() in |  		/* Paired with smp_mb__before_atomic() in | ||||||
| @@ -69,7 +69,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  		 * wake_up_process() when it's not NULL. |  		 * wake_up_process() when it's not NULL. | ||||||
|  		 */ |  		 */ | ||||||
|  		thread = READ_ONCE(napi->thread); |  		thread = READ_ONCE(napi->thread); | ||||||
| @@ -6762,6 +6763,49 @@ static void init_gro_hash(struct napi_st | @@ -6765,6 +6766,49 @@ static void init_gro_hash(struct napi_st | ||||||
|  	napi->gro_bitmask = 0; |  	napi->gro_bitmask = 0; | ||||||
|  } |  } | ||||||
|   |   | ||||||
| @@ -121,7 +121,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  { |  { | ||||||
| --- a/net/core/net-sysfs.c | --- a/net/core/net-sysfs.c | ||||||
| +++ b/net/core/net-sysfs.c | +++ b/net/core/net-sysfs.c | ||||||
| @@ -538,6 +538,45 @@ static ssize_t phys_switch_id_show(struc | @@ -587,6 +587,45 @@ static ssize_t phys_switch_id_show(struc | ||||||
|  } |  } | ||||||
|  static DEVICE_ATTR_RO(phys_switch_id); |  static DEVICE_ATTR_RO(phys_switch_id); | ||||||
|   |   | ||||||
| @@ -167,7 +167,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  static struct attribute *net_class_attrs[] __ro_after_init = { |  static struct attribute *net_class_attrs[] __ro_after_init = { | ||||||
|  	&dev_attr_netdev_group.attr, |  	&dev_attr_netdev_group.attr, | ||||||
|  	&dev_attr_type.attr, |  	&dev_attr_type.attr, | ||||||
| @@ -570,6 +609,7 @@ static struct attribute *net_class_attrs | @@ -619,6 +658,7 @@ static struct attribute *net_class_attrs | ||||||
|  	&dev_attr_proto_down.attr, |  	&dev_attr_proto_down.attr, | ||||||
|  	&dev_attr_carrier_up_count.attr, |  	&dev_attr_carrier_up_count.attr, | ||||||
|  	&dev_attr_carrier_down_count.attr, |  	&dev_attr_carrier_down_count.attr, | ||||||
|   | |||||||
| @@ -45,7 +45,7 @@ Cc: Hannes Frederic Sowa <hannes@stressinduktion.org> | |||||||
|  enum gro_result { |  enum gro_result { | ||||||
| --- a/net/core/dev.c | --- a/net/core/dev.c | ||||||
| +++ b/net/core/dev.c | +++ b/net/core/dev.c | ||||||
| @@ -4294,6 +4294,8 @@ static inline void ____napi_schedule(str | @@ -4297,6 +4297,8 @@ static inline void ____napi_schedule(str | ||||||
|  		 */ |  		 */ | ||||||
|  		thread = READ_ONCE(napi->thread); |  		thread = READ_ONCE(napi->thread); | ||||||
|  		if (thread) { |  		if (thread) { | ||||||
| @@ -54,7 +54,7 @@ Cc: Hannes Frederic Sowa <hannes@stressinduktion.org> | |||||||
|  			wake_up_process(thread); |  			wake_up_process(thread); | ||||||
|  			return; |  			return; | ||||||
|  		} |  		} | ||||||
| @@ -6554,7 +6556,8 @@ bool napi_complete_done(struct napi_stru | @@ -6557,7 +6559,8 @@ bool napi_complete_done(struct napi_stru | ||||||
|   |   | ||||||
|  		WARN_ON_ONCE(!(val & NAPIF_STATE_SCHED)); |  		WARN_ON_ONCE(!(val & NAPIF_STATE_SCHED)); | ||||||
|   |   | ||||||
| @@ -64,7 +64,7 @@ Cc: Hannes Frederic Sowa <hannes@stressinduktion.org> | |||||||
|   |   | ||||||
|  		/* If STATE_MISSED was set, leave STATE_SCHED set, |  		/* If STATE_MISSED was set, leave STATE_SCHED set, | ||||||
|  		 * because we will call napi->poll() one more time. |  		 * because we will call napi->poll() one more time. | ||||||
| @@ -6990,16 +6993,25 @@ static int napi_poll(struct napi_struct | @@ -6993,16 +6996,25 @@ static int napi_poll(struct napi_struct | ||||||
|   |   | ||||||
|  static int napi_thread_wait(struct napi_struct *napi) |  static int napi_thread_wait(struct napi_struct *napi) | ||||||
|  { |  { | ||||||
|   | |||||||
| @@ -34,7 +34,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org> | |||||||
|  |  | ||||||
| --- a/net/core/dev.c | --- a/net/core/dev.c | ||||||
| +++ b/net/core/dev.c | +++ b/net/core/dev.c | ||||||
| @@ -6997,7 +6997,7 @@ static int napi_thread_wait(struct napi_ | @@ -7000,7 +7000,7 @@ static int napi_thread_wait(struct napi_ | ||||||
|   |   | ||||||
|  	set_current_state(TASK_INTERRUPTIBLE); |  	set_current_state(TASK_INTERRUPTIBLE); | ||||||
|   |   | ||||||
| @@ -43,7 +43,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org> | |||||||
|  		/* Testing SCHED_THREADED bit here to make sure the current |  		/* Testing SCHED_THREADED bit here to make sure the current | ||||||
|  		 * kthread owns this napi and could poll on this napi. |  		 * kthread owns this napi and could poll on this napi. | ||||||
|  		 * Testing SCHED bit is not enough because SCHED bit might be |  		 * Testing SCHED bit is not enough because SCHED bit might be | ||||||
| @@ -7015,6 +7015,7 @@ static int napi_thread_wait(struct napi_ | @@ -7018,6 +7018,7 @@ static int napi_thread_wait(struct napi_ | ||||||
|  		set_current_state(TASK_INTERRUPTIBLE); |  		set_current_state(TASK_INTERRUPTIBLE); | ||||||
|  	} |  	} | ||||||
|  	__set_current_state(TASK_RUNNING); |  	__set_current_state(TASK_RUNNING); | ||||||
|   | |||||||
| @@ -33,7 +33,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | |||||||
|  struct nf_icmp_net { |  struct nf_icmp_net { | ||||||
| --- a/net/netfilter/nf_conntrack_proto_udp.c | --- a/net/netfilter/nf_conntrack_proto_udp.c | ||||||
| +++ b/net/netfilter/nf_conntrack_proto_udp.c | +++ b/net/netfilter/nf_conntrack_proto_udp.c | ||||||
| @@ -270,6 +270,11 @@ void nf_conntrack_udp_init_net(struct ne | @@ -273,6 +273,11 @@ void nf_conntrack_udp_init_net(struct ne | ||||||
|   |   | ||||||
|  	for (i = 0; i < UDP_CT_MAX; i++) |  	for (i = 0; i < UDP_CT_MAX; i++) | ||||||
|  		un->timeouts[i] = udp_timeouts[i]; |  		un->timeouts[i] = udp_timeouts[i]; | ||||||
|   | |||||||
| @@ -1501,7 +1501,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  			if (ret) |  			if (ret) | ||||||
| --- a/drivers/net/ethernet/ti/davinci_emac.c | --- a/drivers/net/ethernet/ti/davinci_emac.c | ||||||
| +++ b/drivers/net/ethernet/ti/davinci_emac.c | +++ b/drivers/net/ethernet/ti/davinci_emac.c | ||||||
| @@ -1687,7 +1687,6 @@ davinci_emac_of_get_pdata(struct platfor | @@ -1699,7 +1699,6 @@ davinci_emac_of_get_pdata(struct platfor | ||||||
|  	const struct of_device_id *match; |  	const struct of_device_id *match; | ||||||
|  	const struct emac_platform_data *auxdata; |  	const struct emac_platform_data *auxdata; | ||||||
|  	struct emac_platform_data *pdata = NULL; |  	struct emac_platform_data *pdata = NULL; | ||||||
| @@ -1509,7 +1509,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|   |   | ||||||
|  	if (!IS_ENABLED(CONFIG_OF) || !pdev->dev.of_node) |  	if (!IS_ENABLED(CONFIG_OF) || !pdev->dev.of_node) | ||||||
|  		return dev_get_platdata(&pdev->dev); |  		return dev_get_platdata(&pdev->dev); | ||||||
| @@ -1699,11 +1698,8 @@ davinci_emac_of_get_pdata(struct platfor | @@ -1711,11 +1710,8 @@ davinci_emac_of_get_pdata(struct platfor | ||||||
|  	np = pdev->dev.of_node; |  	np = pdev->dev.of_node; | ||||||
|  	pdata->version = EMAC_VERSION_2; |  	pdata->version = EMAC_VERSION_2; | ||||||
|   |   | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| --- a/block/blk.h | --- a/block/blk.h | ||||||
| +++ b/block/blk.h | +++ b/block/blk.h | ||||||
| @@ -355,6 +355,7 @@ char *disk_name(struct gendisk *hd, int | @@ -361,6 +361,7 @@ char *disk_name(struct gendisk *hd, int | ||||||
|  #define ADDPART_FLAG_NONE	0 |  #define ADDPART_FLAG_NONE	0 | ||||||
|  #define ADDPART_FLAG_RAID	1 |  #define ADDPART_FLAG_RAID	1 | ||||||
|  #define ADDPART_FLAG_WHOLEDISK	2 |  #define ADDPART_FLAG_WHOLEDISK	2 | ||||||
|   | |||||||
| @@ -14,7 +14,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  |  | ||||||
| --- a/include/net/sch_generic.h | --- a/include/net/sch_generic.h | ||||||
| +++ b/include/net/sch_generic.h | +++ b/include/net/sch_generic.h | ||||||
| @@ -623,12 +623,13 @@ extern struct Qdisc_ops noop_qdisc_ops; | @@ -625,12 +625,13 @@ extern struct Qdisc_ops noop_qdisc_ops; | ||||||
|  extern struct Qdisc_ops pfifo_fast_ops; |  extern struct Qdisc_ops pfifo_fast_ops; | ||||||
|  extern struct Qdisc_ops mq_qdisc_ops; |  extern struct Qdisc_ops mq_qdisc_ops; | ||||||
|  extern struct Qdisc_ops noqueue_qdisc_ops; |  extern struct Qdisc_ops noqueue_qdisc_ops; | ||||||
|   | |||||||
| @@ -105,7 +105,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  	help |  	help | ||||||
| --- a/net/core/dev.c | --- a/net/core/dev.c | ||||||
| +++ b/net/core/dev.c | +++ b/net/core/dev.c | ||||||
| @@ -3644,6 +3644,11 @@ static int xmit_one(struct sk_buff *skb, | @@ -3646,6 +3646,11 @@ static int xmit_one(struct sk_buff *skb, | ||||||
|  	if (dev_nit_active(dev)) |  	if (dev_nit_active(dev)) | ||||||
|  		dev_queue_xmit_nit(skb, dev); |  		dev_queue_xmit_nit(skb, dev); | ||||||
|   |   | ||||||
|   | |||||||
| @@ -63,7 +63,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
| +dma-shared-buffer-objs :=  $(dma-buf-objs-y) | +dma-shared-buffer-objs :=  $(dma-buf-objs-y) | ||||||
| --- a/drivers/dma-buf/dma-buf.c | --- a/drivers/dma-buf/dma-buf.c | ||||||
| +++ b/drivers/dma-buf/dma-buf.c | +++ b/drivers/dma-buf/dma-buf.c | ||||||
| @@ -1418,4 +1418,5 @@ static void __exit dma_buf_deinit(void) | @@ -1419,4 +1419,5 @@ static void __exit dma_buf_deinit(void) | ||||||
|  	dma_buf_uninit_debugfs(); |  	dma_buf_uninit_debugfs(); | ||||||
|  	kern_unmount(dma_buf_mnt); |  	kern_unmount(dma_buf_mnt); | ||||||
|  } |  } | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ Acked-by: Rob Landley <rob@landley.net> | |||||||
|  config CEVT_BCM1480 |  config CEVT_BCM1480 | ||||||
|  	bool |  	bool | ||||||
|   |   | ||||||
| @@ -3174,6 +3171,18 @@ choice | @@ -3175,6 +3172,18 @@ choice | ||||||
|  		bool "Extend builtin kernel arguments with bootloader arguments" |  		bool "Extend builtin kernel arguments with bootloader arguments" | ||||||
|  endchoice |  endchoice | ||||||
|   |   | ||||||
|   | |||||||
| @@ -32,7 +32,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  	__u16			tc_index;	/* traffic control index */ |  	__u16			tc_index;	/* traffic control index */ | ||||||
| --- a/net/core/dev.c | --- a/net/core/dev.c | ||||||
| +++ b/net/core/dev.c | +++ b/net/core/dev.c | ||||||
| @@ -6056,6 +6056,9 @@ static enum gro_result dev_gro_receive(s | @@ -6059,6 +6059,9 @@ static enum gro_result dev_gro_receive(s | ||||||
|  	int same_flow; |  	int same_flow; | ||||||
|  	int grow; |  	int grow; | ||||||
|   |   | ||||||
| @@ -42,7 +42,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  	if (netif_elide_gro(skb->dev)) |  	if (netif_elide_gro(skb->dev)) | ||||||
|  		goto normal; |  		goto normal; | ||||||
|   |   | ||||||
| @@ -8033,6 +8036,48 @@ static void __netdev_adjacent_dev_unlink | @@ -8036,6 +8039,48 @@ static void __netdev_adjacent_dev_unlink | ||||||
|  					   &upper_dev->adj_list.lower); |  					   &upper_dev->adj_list.lower); | ||||||
|  } |  } | ||||||
|   |   | ||||||
| @@ -91,7 +91,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  static int __netdev_upper_dev_link(struct net_device *dev, |  static int __netdev_upper_dev_link(struct net_device *dev, | ||||||
|  				   struct net_device *upper_dev, bool master, |  				   struct net_device *upper_dev, bool master, | ||||||
|  				   void *upper_priv, void *upper_info, |  				   void *upper_priv, void *upper_info, | ||||||
| @@ -8084,6 +8129,7 @@ static int __netdev_upper_dev_link(struc | @@ -8087,6 +8132,7 @@ static int __netdev_upper_dev_link(struc | ||||||
|  	if (ret) |  	if (ret) | ||||||
|  		return ret; |  		return ret; | ||||||
|   |   | ||||||
| @@ -99,7 +99,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  	ret = call_netdevice_notifiers_info(NETDEV_CHANGEUPPER, |  	ret = call_netdevice_notifiers_info(NETDEV_CHANGEUPPER, | ||||||
|  					    &changeupper_info.info); |  					    &changeupper_info.info); | ||||||
|  	ret = notifier_to_errno(ret); |  	ret = notifier_to_errno(ret); | ||||||
| @@ -8180,6 +8226,7 @@ static void __netdev_upper_dev_unlink(st | @@ -8183,6 +8229,7 @@ static void __netdev_upper_dev_unlink(st | ||||||
|   |   | ||||||
|  	__netdev_adjacent_dev_unlink_neighbour(dev, upper_dev); |  	__netdev_adjacent_dev_unlink_neighbour(dev, upper_dev); | ||||||
|   |   | ||||||
| @@ -107,7 +107,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  	call_netdevice_notifiers_info(NETDEV_CHANGEUPPER, |  	call_netdevice_notifiers_info(NETDEV_CHANGEUPPER, | ||||||
|  				      &changeupper_info.info); |  				      &changeupper_info.info); | ||||||
|   |   | ||||||
| @@ -8966,6 +9013,7 @@ int dev_set_mac_address(struct net_devic | @@ -8969,6 +9016,7 @@ int dev_set_mac_address(struct net_devic | ||||||
|  	if (err) |  	if (err) | ||||||
|  		return err; |  		return err; | ||||||
|  	dev->addr_assign_type = NET_ADDR_SET; |  	dev->addr_assign_type = NET_ADDR_SET; | ||||||
|   | |||||||
| @@ -13,9 +13,9 @@ Signed-off-by: John Crispin <john@phrozen.org> | |||||||
| @@ -61,7 +61,7 @@ KBUILD_CFLAGS	+= $(call cc-option,-fno-i | @@ -61,7 +61,7 @@ KBUILD_CFLAGS	+= $(call cc-option,-fno-i | ||||||
|  # macro, but instead defines a whole series of macros which makes |  # macro, but instead defines a whole series of macros which makes | ||||||
|  # testing for a specific architecture or later rather impossible. |  # testing for a specific architecture or later rather impossible. | ||||||
|  arch-$(CONFIG_CPU_32v7M)	=-D__LINUX_ARM_ARCH__=7 -march=armv7-m -Wa,-march=armv7-m |  arch-$(CONFIG_CPU_32v7M)	=-D__LINUX_ARM_ARCH__=7 -march=armv7-m | ||||||
| -arch-$(CONFIG_CPU_32v7)		=-D__LINUX_ARM_ARCH__=7 $(call cc-option,-march=armv7-a,-march=armv5t -Wa$(comma)-march=armv7-a) | -arch-$(CONFIG_CPU_32v7)		=-D__LINUX_ARM_ARCH__=7 -march=armv7-a | ||||||
| +arch-$(CONFIG_CPU_32v7)		=-D__LINUX_ARM_ARCH__=7 -mcpu=cortex-a15 | +arch-$(CONFIG_CPU_32v7)		=-D__LINUX_ARM_ARCH__=7 -mcpu=cortex-a15 | ||||||
|  arch-$(CONFIG_CPU_32v6)		=-D__LINUX_ARM_ARCH__=6 $(call cc-option,-march=armv6,-march=armv5t -Wa$(comma)-march=armv6) |  arch-$(CONFIG_CPU_32v6)		=-D__LINUX_ARM_ARCH__=6 -march=armv6 | ||||||
|  # Only override the compiler option if ARMv6. The ARMv6K extensions are |  # Only override the compiler option if ARMv6. The ARMv6K extensions are | ||||||
|  # always available in ARMv7 |  # always available in ARMv7 | ||||||
|   | |||||||
| @@ -1,68 +0,0 @@ | |||||||
| From ae9a2ac4d283b2925a97523a05ea024499329c16 Mon Sep 17 00:00:00 2001 |  | ||||||
| From: Miquel Raynal <miquel.raynal@bootlin.com> |  | ||||||
| Date: Wed, 29 Sep 2021 00:22:58 +0200 |  | ||||||
| Subject: [PATCH] mtd: rawnand: xway: Keep the driver compatible with on-die |  | ||||||
|  ECC engines |  | ||||||
|  |  | ||||||
| Following the introduction of the generic ECC engine infrastructure, it |  | ||||||
| was necessary to reorganize the code and move the ECC configuration in |  | ||||||
| the ->attach_chip() hook. Failing to do that properly lead to a first |  | ||||||
| series of fixes supposed to stabilize the situation. Unfortunately, this |  | ||||||
| only fixed the use of software ECC engines, preventing any other kind of |  | ||||||
| engine to be used, including on-die ones. |  | ||||||
|  |  | ||||||
| It is now time to (finally) fix the situation by ensuring that we still |  | ||||||
| provide a default (eg. software ECC) but will still support different |  | ||||||
| ECC engines such as on-die ECC engines if properly described in the |  | ||||||
| device tree. |  | ||||||
|  |  | ||||||
| There are no changes needed on the core side in order to do this, but we |  | ||||||
| just need to leverage the logic there which allows: |  | ||||||
| 1- a subsystem default (set to Host engines in the raw NAND world) |  | ||||||
| 2- a driver specific default (here set to software ECC engines) |  | ||||||
| 3- any type of engine requested by the user (ie. described in the DT) |  | ||||||
|  |  | ||||||
| As the raw NAND subsystem has not yet been fully converted to the ECC |  | ||||||
| engine infrastructure, in order to provide a default ECC engine for this |  | ||||||
| driver we need to set chip->ecc.engine_type *before* calling |  | ||||||
| nand_scan(). During the initialization step, the core will consider this |  | ||||||
| entry as the default engine for this driver. This value may of course |  | ||||||
| be overloaded by the user if the usual DT properties are provided. |  | ||||||
|  |  | ||||||
| Fixes: d525914b5bd8 ("mtd: rawnand: xway: Move the ECC initialization to ->attach_chip()") |  | ||||||
| Cc: stable@vger.kernel.org |  | ||||||
| Cc: Jan Hoffmann <jan@3e8.eu> |  | ||||||
| Cc: Kestrel seventyfour <kestrelseventyfour@gmail.com> |  | ||||||
| Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> |  | ||||||
| --- |  | ||||||
|  drivers/mtd/nand/raw/xway_nand.c | 12 +++++++++--- |  | ||||||
|  1 file changed, 9 insertions(+), 3 deletions(-) |  | ||||||
|  |  | ||||||
| --- a/drivers/mtd/nand/raw/xway_nand.c |  | ||||||
| +++ b/drivers/mtd/nand/raw/xway_nand.c |  | ||||||
| @@ -148,9 +148,8 @@ static void xway_write_buf(struct nand_c |  | ||||||
|   |  | ||||||
|  static int xway_attach_chip(struct nand_chip *chip) |  | ||||||
|  { |  | ||||||
| -	chip->ecc.engine_type = NAND_ECC_ENGINE_TYPE_SOFT; |  | ||||||
| - |  | ||||||
| -	if (chip->ecc.algo == NAND_ECC_ALGO_UNKNOWN) |  | ||||||
| +	if (chip->ecc.engine_type == NAND_ECC_ENGINE_TYPE_SOFT && |  | ||||||
| +	    chip->ecc.algo == NAND_ECC_ALGO_UNKNOWN) |  | ||||||
|  		chip->ecc.algo = NAND_ECC_ALGO_HAMMING; |  | ||||||
|   |  | ||||||
|  	return 0; |  | ||||||
| @@ -219,6 +218,13 @@ static int xway_nand_probe(struct platfo |  | ||||||
|  		    | NAND_CON_SE_P | NAND_CON_WP_P | NAND_CON_PRE_P |  | ||||||
|  		    | cs_flag, EBU_NAND_CON); |  | ||||||
|   |  | ||||||
| +	/* |  | ||||||
| +	 * This driver assumes that the default ECC engine should be TYPE_SOFT. |  | ||||||
| +	 * Set ->engine_type before registering the NAND devices in order to |  | ||||||
| +	 * provide a driver specific default value. |  | ||||||
| +	 */ |  | ||||||
| +	data->chip.ecc.engine_type = NAND_ECC_ENGINE_TYPE_SOFT; |  | ||||||
| + |  | ||||||
|  	/* Scan to find existence of the device */ |  | ||||||
|  	err = nand_scan(&data->chip, 1); |  | ||||||
|  	if (err) |  | ||||||
| @@ -1,32 +0,0 @@ | |||||||
| From 497acc03cd3918baabe25d46e30c5c62b998e24d Mon Sep 17 00:00:00 2001 |  | ||||||
| From: Aleksander Jan Bajkowski <olek2@wp.pl> |  | ||||||
| Date: Sat, 19 Jun 2021 13:38:12 +0200 |  | ||||||
| Subject: [PATCH 1/5] MIPS: lantiq: dma: add small delay after reset |  | ||||||
|  |  | ||||||
| Reading the DMA registers immediately after the reset causes |  | ||||||
| Data Bus Error. Adding a small delay fixes this problem. |  | ||||||
|  |  | ||||||
| Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> |  | ||||||
| --- |  | ||||||
|  arch/mips/lantiq/xway/dma.c | 3 +++ |  | ||||||
|  1 file changed, 3 insertions(+) |  | ||||||
|  |  | ||||||
| --- a/arch/mips/lantiq/xway/dma.c |  | ||||||
| +++ b/arch/mips/lantiq/xway/dma.c |  | ||||||
| @@ -11,6 +11,7 @@ |  | ||||||
|  #include <linux/export.h> |  | ||||||
|  #include <linux/spinlock.h> |  | ||||||
|  #include <linux/clk.h> |  | ||||||
| +#include <linux/delay.h> |  | ||||||
|  #include <linux/err.h> |  | ||||||
|   |  | ||||||
|  #include <lantiq_soc.h> |  | ||||||
| @@ -221,6 +222,8 @@ ltq_dma_init(struct platform_device *pde |  | ||||||
|  	clk_enable(clk); |  | ||||||
|  	ltq_dma_w32_mask(0, DMA_RESET, LTQ_DMA_CTRL); |  | ||||||
|   |  | ||||||
| +	usleep_range(1, 10); |  | ||||||
| + |  | ||||||
|  	/* disable all interrupts */ |  | ||||||
|  	ltq_dma_w32(0, LTQ_DMA_IRNEN); |  | ||||||
|   |  | ||||||
| @@ -1,68 +0,0 @@ | |||||||
| From d31260c2f6a5cdddb052ab7cb09560eb23ce6597 Mon Sep 17 00:00:00 2001 |  | ||||||
| From: Aleksander Jan Bajkowski <olek2@wp.pl> |  | ||||||
| Date: Thu, 15 Apr 2021 21:28:24 +0200 |  | ||||||
| Subject: [PATCH 2/5] MIPS: lantiq: dma: reset correct number of channel |  | ||||||
|  |  | ||||||
| Different SoCs have a different number of channels, e.g .: |  | ||||||
| * amazon-se has 10 channels, |  | ||||||
| * danube+ar9 have 20 channels, |  | ||||||
| * vr9 has 28 channels, |  | ||||||
| * ar10 has 24 channels. |  | ||||||
|  |  | ||||||
| We can read the ID register and, depending on the reported |  | ||||||
| number of channels, reset the appropriate number of channels. |  | ||||||
|  |  | ||||||
| Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> |  | ||||||
| --- |  | ||||||
|  arch/mips/lantiq/xway/dma.c | 11 ++++++----- |  | ||||||
|  1 file changed, 6 insertions(+), 5 deletions(-) |  | ||||||
|  |  | ||||||
| --- a/arch/mips/lantiq/xway/dma.c |  | ||||||
| +++ b/arch/mips/lantiq/xway/dma.c |  | ||||||
| @@ -30,6 +30,7 @@ |  | ||||||
|  #define LTQ_DMA_PCTRL		0x44 |  | ||||||
|  #define LTQ_DMA_IRNEN		0xf4 |  | ||||||
|   |  | ||||||
| +#define DMA_ID_CHNR		GENMASK(26, 20)	/* channel number */ |  | ||||||
|  #define DMA_DESCPT		BIT(3)		/* descriptor complete irq */ |  | ||||||
|  #define DMA_TX			BIT(8)		/* TX channel direction */ |  | ||||||
|  #define DMA_CHAN_ON		BIT(0)		/* channel on / off bit */ |  | ||||||
| @@ -40,7 +41,6 @@ |  | ||||||
|  #define DMA_POLL		BIT(31)		/* turn on channel polling */ |  | ||||||
|  #define DMA_CLK_DIV4		BIT(6)		/* polling clock divider */ |  | ||||||
|  #define DMA_2W_BURST		BIT(1)		/* 2 word burst length */ |  | ||||||
| -#define DMA_MAX_CHANNEL		20		/* the soc has 20 channels */ |  | ||||||
|  #define DMA_ETOP_ENDIANNESS	(0xf << 8) /* endianness swap etop channels */ |  | ||||||
|  #define DMA_WEIGHT	(BIT(17) | BIT(16))	/* default channel wheight */ |  | ||||||
|   |  | ||||||
| @@ -206,7 +206,7 @@ ltq_dma_init(struct platform_device *pde |  | ||||||
|  { |  | ||||||
|  	struct clk *clk; |  | ||||||
|  	struct resource *res; |  | ||||||
| -	unsigned id; |  | ||||||
| +	unsigned int id, nchannels; |  | ||||||
|  	int i; |  | ||||||
|   |  | ||||||
|  	res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |  | ||||||
| @@ -228,17 +228,18 @@ ltq_dma_init(struct platform_device *pde |  | ||||||
|  	ltq_dma_w32(0, LTQ_DMA_IRNEN); |  | ||||||
|   |  | ||||||
|  	/* reset/configure each channel */ |  | ||||||
| -	for (i = 0; i < DMA_MAX_CHANNEL; i++) { |  | ||||||
| +	id = ltq_dma_r32(LTQ_DMA_ID); |  | ||||||
| +	nchannels = ((id & DMA_ID_CHNR) >> 20); |  | ||||||
| +	for (i = 0; i < nchannels; i++) { |  | ||||||
|  		ltq_dma_w32(i, LTQ_DMA_CS); |  | ||||||
|  		ltq_dma_w32(DMA_CHAN_RST, LTQ_DMA_CCTRL); |  | ||||||
|  		ltq_dma_w32(DMA_POLL | DMA_CLK_DIV4, LTQ_DMA_CPOLL); |  | ||||||
|  		ltq_dma_w32_mask(DMA_CHAN_ON, 0, LTQ_DMA_CCTRL); |  | ||||||
|  	} |  | ||||||
|   |  | ||||||
| -	id = ltq_dma_r32(LTQ_DMA_ID); |  | ||||||
|  	dev_info(&pdev->dev, |  | ||||||
|  		"Init done - hw rev: %X, ports: %d, channels: %d\n", |  | ||||||
| -		id & 0x1f, (id >> 16) & 0xf, id >> 20); |  | ||||||
| +		id & 0x1f, (id >> 16) & 0xf, nchannels); |  | ||||||
|   |  | ||||||
|  	return 0; |  | ||||||
|  } |  | ||||||
| @@ -1,41 +0,0 @@ | |||||||
| From 7d9ea9052d6680d2910b8b005c397d95b3a8b012 Mon Sep 17 00:00:00 2001 |  | ||||||
| From: Aleksander Jan Bajkowski <olek2@wp.pl> |  | ||||||
| Date: Wed, 7 Apr 2021 21:04:39 +0200 |  | ||||||
| Subject: [PATCH 3/5] MIPS: lantiq: dma: fix burst length for DEU |  | ||||||
|  |  | ||||||
| The current definition of 2W burst length is invalid. |  | ||||||
| This patch fixes it. Current downstream DEU driver doesn't |  | ||||||
| use DMA. An incorrect burst length value doesn't cause any |  | ||||||
| errors. This patch also adds other burst length values. |  | ||||||
|  |  | ||||||
| Fixes: dfec1a827d2b ("MIPS: Lantiq: Add DMA support") |  | ||||||
| Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> |  | ||||||
| --- |  | ||||||
|  arch/mips/lantiq/xway/dma.c | 9 +++++++-- |  | ||||||
|  1 file changed, 7 insertions(+), 2 deletions(-) |  | ||||||
|  |  | ||||||
| --- a/arch/mips/lantiq/xway/dma.c |  | ||||||
| +++ b/arch/mips/lantiq/xway/dma.c |  | ||||||
| @@ -40,7 +40,11 @@ |  | ||||||
|  #define DMA_IRQ_ACK		0x7e		/* IRQ status register */ |  | ||||||
|  #define DMA_POLL		BIT(31)		/* turn on channel polling */ |  | ||||||
|  #define DMA_CLK_DIV4		BIT(6)		/* polling clock divider */ |  | ||||||
| -#define DMA_2W_BURST		BIT(1)		/* 2 word burst length */ |  | ||||||
| +#define DMA_PCTRL_2W_BURST	0x1		/* 2 word burst length */ |  | ||||||
| +#define DMA_PCTRL_4W_BURST	0x2		/* 4 word burst length */ |  | ||||||
| +#define DMA_PCTRL_8W_BURST	0x3		/* 8 word burst length */ |  | ||||||
| +#define DMA_TX_BURST_SHIFT	4		/* tx burst shift */ |  | ||||||
| +#define DMA_RX_BURST_SHIFT	2		/* rx burst shift */ |  | ||||||
|  #define DMA_ETOP_ENDIANNESS	(0xf << 8) /* endianness swap etop channels */ |  | ||||||
|  #define DMA_WEIGHT	(BIT(17) | BIT(16))	/* default channel wheight */ |  | ||||||
|   |  | ||||||
| @@ -191,7 +195,8 @@ ltq_dma_init_port(int p) |  | ||||||
|  		break; |  | ||||||
|   |  | ||||||
|  	case DMA_PORT_DEU: |  | ||||||
| -		ltq_dma_w32((DMA_2W_BURST << 4) | (DMA_2W_BURST << 2), |  | ||||||
| +		ltq_dma_w32((DMA_PCTRL_2W_BURST << DMA_TX_BURST_SHIFT) | |  | ||||||
| +			(DMA_PCTRL_2W_BURST << DMA_RX_BURST_SHIFT), |  | ||||||
|  			LTQ_DMA_PCTRL); |  | ||||||
|  		break; |  | ||||||
|   |  | ||||||
| @@ -1,6 +1,6 @@ | |||||||
| --- a/arch/mips/Kconfig | --- a/arch/mips/Kconfig | ||||||
| +++ b/arch/mips/Kconfig | +++ b/arch/mips/Kconfig | ||||||
| @@ -2430,6 +2430,12 @@ config MIPS_VPE_LOADER | @@ -2431,6 +2431,12 @@ config MIPS_VPE_LOADER | ||||||
|  	  Includes a loader for loading an elf relocatable object |  	  Includes a loader for loading an elf relocatable object | ||||||
|  	  onto another VPE and running it. |  	  onto another VPE and running it. | ||||||
|   |   | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ | |||||||
|  	}, |  	}, | ||||||
|  	[PORT_NPCM] = { |  	[PORT_NPCM] = { | ||||||
|  		.name		= "Nuvoton 16550", |  		.name		= "Nuvoton 16550", | ||||||
| @@ -2719,6 +2719,11 @@ serial8250_do_set_termios(struct uart_po | @@ -2732,6 +2732,11 @@ serial8250_do_set_termios(struct uart_po | ||||||
|  	unsigned long flags; |  	unsigned long flags; | ||||||
|  	unsigned int baud, quot, frac = 0; |  	unsigned int baud, quot, frac = 0; | ||||||
|   |   | ||||||
|   | |||||||
| @@ -73,7 +73,7 @@ Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> | |||||||
|  	help |  	help | ||||||
| --- a/arch/powerpc/platforms/85xx/Makefile | --- a/arch/powerpc/platforms/85xx/Makefile | ||||||
| +++ b/arch/powerpc/platforms/85xx/Makefile | +++ b/arch/powerpc/platforms/85xx/Makefile | ||||||
| @@ -26,6 +26,7 @@ obj-$(CONFIG_CORENET_GENERIC)   += coren | @@ -28,6 +28,7 @@ obj-$(CONFIG_CORENET_GENERIC)   += coren | ||||||
|  obj-$(CONFIG_FB_FSL_DIU)	+= t1042rdb_diu.o |  obj-$(CONFIG_FB_FSL_DIU)	+= t1042rdb_diu.o | ||||||
|  obj-$(CONFIG_STX_GP3)	  += stx_gp3.o |  obj-$(CONFIG_STX_GP3)	  += stx_gp3.o | ||||||
|  obj-$(CONFIG_TQM85xx)	  += tqm85xx.o |  obj-$(CONFIG_TQM85xx)	  += tqm85xx.o | ||||||
|   | |||||||
| @@ -20,7 +20,7 @@ | |||||||
|  	select DEFAULT_UIMAGE |  	select DEFAULT_UIMAGE | ||||||
| --- a/arch/powerpc/platforms/85xx/Makefile | --- a/arch/powerpc/platforms/85xx/Makefile | ||||||
| +++ b/arch/powerpc/platforms/85xx/Makefile | +++ b/arch/powerpc/platforms/85xx/Makefile | ||||||
| @@ -10,6 +10,7 @@ obj-y += common.o | @@ -12,6 +12,7 @@ obj-y += common.o | ||||||
|  obj-$(CONFIG_BSC9131_RDB) += bsc913x_rdb.o |  obj-$(CONFIG_BSC9131_RDB) += bsc913x_rdb.o | ||||||
|  obj-$(CONFIG_BSC9132_QDS) += bsc913x_qds.o |  obj-$(CONFIG_BSC9132_QDS) += bsc913x_qds.o | ||||||
|  obj-$(CONFIG_C293_PCIE)   += c293pcie.o |  obj-$(CONFIG_C293_PCIE)   += c293pcie.o | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ | |||||||
|  	help |  	help | ||||||
| --- a/arch/powerpc/platforms/85xx/Makefile | --- a/arch/powerpc/platforms/85xx/Makefile | ||||||
| +++ b/arch/powerpc/platforms/85xx/Makefile | +++ b/arch/powerpc/platforms/85xx/Makefile | ||||||
| @@ -25,6 +25,7 @@ obj-$(CONFIG_P1023_RDB)   += p1023_rdb.o | @@ -27,6 +27,7 @@ obj-$(CONFIG_P1023_RDB)   += p1023_rdb.o | ||||||
|  obj-$(CONFIG_TWR_P102x)   += twr_p102x.o |  obj-$(CONFIG_TWR_P102x)   += twr_p102x.o | ||||||
|  obj-$(CONFIG_CORENET_GENERIC)   += corenet_generic.o |  obj-$(CONFIG_CORENET_GENERIC)   += corenet_generic.o | ||||||
|  obj-$(CONFIG_FB_FSL_DIU)	+= t1042rdb_diu.o |  obj-$(CONFIG_FB_FSL_DIU)	+= t1042rdb_diu.o | ||||||
|   | |||||||
| @@ -20,7 +20,7 @@ | |||||||
|  	select DEFAULT_UIMAGE |  	select DEFAULT_UIMAGE | ||||||
| --- a/arch/powerpc/platforms/85xx/Makefile | --- a/arch/powerpc/platforms/85xx/Makefile | ||||||
| +++ b/arch/powerpc/platforms/85xx/Makefile | +++ b/arch/powerpc/platforms/85xx/Makefile | ||||||
| @@ -22,6 +22,7 @@ obj-$(CONFIG_P1010_RDB)   += p1010rdb.o | @@ -24,6 +24,7 @@ obj-$(CONFIG_P1010_RDB)   += p1010rdb.o | ||||||
|  obj-$(CONFIG_P1022_DS)    += p1022_ds.o |  obj-$(CONFIG_P1022_DS)    += p1022_ds.o | ||||||
|  obj-$(CONFIG_P1022_RDK)   += p1022_rdk.o |  obj-$(CONFIG_P1022_RDK)   += p1022_rdk.o | ||||||
|  obj-$(CONFIG_P1023_RDB)   += p1023_rdb.o |  obj-$(CONFIG_P1023_RDB)   += p1023_rdb.o | ||||||
|   | |||||||
| @@ -20,7 +20,7 @@ | |||||||
|  	select DEFAULT_UIMAGE |  	select DEFAULT_UIMAGE | ||||||
| --- a/arch/powerpc/platforms/85xx/Makefile | --- a/arch/powerpc/platforms/85xx/Makefile | ||||||
| +++ b/arch/powerpc/platforms/85xx/Makefile | +++ b/arch/powerpc/platforms/85xx/Makefile | ||||||
| @@ -24,6 +24,7 @@ obj-$(CONFIG_P1022_RDK)   += p1022_rdk.o | @@ -26,6 +26,7 @@ obj-$(CONFIG_P1022_RDK)   += p1022_rdk.o | ||||||
|  obj-$(CONFIG_P1023_RDB)   += p1023_rdb.o |  obj-$(CONFIG_P1023_RDB)   += p1023_rdb.o | ||||||
|  obj-$(CONFIG_PANDA)       += panda.o |  obj-$(CONFIG_PANDA)       += panda.o | ||||||
|  obj-$(CONFIG_TWR_P102x)   += twr_p102x.o |  obj-$(CONFIG_TWR_P102x)   += twr_p102x.o | ||||||
|   | |||||||
| @@ -22,7 +22,7 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com> | |||||||
|  #include <linux/platform_data/x86/apple.h> |  #include <linux/platform_data/x86/apple.h> | ||||||
|  #include <linux/pm_runtime.h> |  #include <linux/pm_runtime.h> | ||||||
|  #include <linux/suspend.h> |  #include <linux/suspend.h> | ||||||
| @@ -5762,3 +5763,34 @@ static void apex_pci_fixup_class(struct | @@ -5763,3 +5764,34 @@ static void apex_pci_fixup_class(struct | ||||||
|  } |  } | ||||||
|  DECLARE_PCI_FIXUP_CLASS_HEADER(0x1ac1, 0x089a, |  DECLARE_PCI_FIXUP_CLASS_HEADER(0x1ac1, 0x089a, | ||||||
|  			       PCI_CLASS_NOT_DEFINED, 8, apex_pci_fixup_class); |  			       PCI_CLASS_NOT_DEFINED, 8, apex_pci_fixup_class); | ||||||
|   | |||||||
| @@ -60,7 +60,7 @@ still required by target/linux/ramips/files/drivers/net/ethernet/ralink/mdio.c | |||||||
|  	} |  	} | ||||||
|   |   | ||||||
|  	return 0; |  	return 0; | ||||||
| @@ -1186,7 +1186,7 @@ void phy_state_machine(struct work_struc | @@ -1191,7 +1191,7 @@ void phy_state_machine(struct work_struc | ||||||
|  	case PHY_HALTED: |  	case PHY_HALTED: | ||||||
|  		if (phydev->link) { |  		if (phydev->link) { | ||||||
|  			phydev->link = 0; |  			phydev->link = 0; | ||||||
|   | |||||||
| @@ -23,7 +23,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> | |||||||
|  	} |  	} | ||||||
|   |   | ||||||
|  	return 0; |  	return 0; | ||||||
| @@ -1186,7 +1189,10 @@ void phy_state_machine(struct work_struc | @@ -1191,7 +1194,10 @@ void phy_state_machine(struct work_struc | ||||||
|  	case PHY_HALTED: |  	case PHY_HALTED: | ||||||
|  		if (phydev->link) { |  		if (phydev->link) { | ||||||
|  			phydev->link = 0; |  			phydev->link = 0; | ||||||
|   | |||||||
| @@ -13,7 +13,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> | |||||||
|  |  | ||||||
| --- a/drivers/media/usb/uvc/uvc_driver.c | --- a/drivers/media/usb/uvc/uvc_driver.c | ||||||
| +++ b/drivers/media/usb/uvc/uvc_driver.c | +++ b/drivers/media/usb/uvc/uvc_driver.c | ||||||
| @@ -3004,6 +3004,18 @@ static const struct usb_device_id uvc_id | @@ -3009,6 +3009,18 @@ static const struct usb_device_id uvc_id | ||||||
|  	  .bInterfaceSubClass	= 1, |  	  .bInterfaceSubClass	= 1, | ||||||
|  	  .bInterfaceProtocol	= 0, |  	  .bInterfaceProtocol	= 0, | ||||||
|  	  .driver_info		= UVC_INFO_META(V4L2_META_FMT_D4XX) }, |  	  .driver_info		= UVC_INFO_META(V4L2_META_FMT_D4XX) }, | ||||||
| @@ -64,7 +64,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> | |||||||
|   |   | ||||||
|  #include <media/v4l2-common.h> |  #include <media/v4l2-common.h> | ||||||
|   |   | ||||||
| @@ -1183,9 +1188,149 @@ static void uvc_video_decode_data(struct | @@ -1188,9 +1193,149 @@ static void uvc_video_decode_data(struct | ||||||
|  	uvc_urb->async_operations++; |  	uvc_urb->async_operations++; | ||||||
|  } |  } | ||||||
|   |   | ||||||
| @@ -214,7 +214,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> | |||||||
|  	/* Mark the buffer as done if the EOF marker is set. */ |  	/* Mark the buffer as done if the EOF marker is set. */ | ||||||
|  	if (data[1] & UVC_STREAM_EOF && buf->bytesused != 0) { |  	if (data[1] & UVC_STREAM_EOF && buf->bytesused != 0) { | ||||||
|  		uvc_trace(UVC_TRACE_FRAME, "Frame complete (EOF found).\n"); |  		uvc_trace(UVC_TRACE_FRAME, "Frame complete (EOF found).\n"); | ||||||
| @@ -1742,6 +1887,8 @@ static int uvc_init_video_isoc(struct uv | @@ -1747,6 +1892,8 @@ static int uvc_init_video_isoc(struct uv | ||||||
|  	if (npackets == 0) |  	if (npackets == 0) | ||||||
|  		return -ENOMEM; |  		return -ENOMEM; | ||||||
|   |   | ||||||
|   | |||||||
| @@ -10,7 +10,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> | |||||||
|  |  | ||||||
| --- a/drivers/tty/serial/serial_core.c | --- a/drivers/tty/serial/serial_core.c | ||||||
| +++ b/drivers/tty/serial/serial_core.c | +++ b/drivers/tty/serial/serial_core.c | ||||||
| @@ -418,6 +418,9 @@ uart_get_baud_rate(struct uart_port *por | @@ -425,6 +425,9 @@ uart_get_baud_rate(struct uart_port *por | ||||||
|  		break; |  		break; | ||||||
|  	} |  	} | ||||||
|   |   | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| --- a/drivers/clocksource/Kconfig | --- a/drivers/clocksource/Kconfig | ||||||
| +++ b/drivers/clocksource/Kconfig | +++ b/drivers/clocksource/Kconfig | ||||||
| @@ -126,6 +126,15 @@ config RDA_TIMER | @@ -127,6 +127,15 @@ config RDA_TIMER | ||||||
|  	help |  	help | ||||||
|  	  Enables the support for the RDA Micro timer driver. |  	  Enables the support for the RDA Micro timer driver. | ||||||
|   |   | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user