From 3287f5a0d761c10cf2c851565f194ad820b75aed Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Fri, 5 May 2017 14:16:33 +0100 Subject: [PATCH 1/6] linux: update to linux-4.10.12 --- packages/linux/package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/linux/package.mk b/packages/linux/package.mk index bc1e4e0501..95f8e50f27 100644 --- a/packages/linux/package.mk +++ b/packages/linux/package.mk @@ -59,7 +59,7 @@ case "$LINUX" in PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET imx6-status-led imx6-soc-fan irqbalanced" ;; *) - PKG_VERSION="4.10.11" + PKG_VERSION="4.10.12" PKG_URL="http://www.kernel.org/pub/linux/kernel/v4.x/$PKG_NAME-$PKG_VERSION.tar.xz" PKG_PATCH_DIRS="default" ;; From 6ae146fefd6056751e1fe9a7668f30ba1de9f8e4 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Fri, 5 May 2017 14:16:33 +0100 Subject: [PATCH 2/6] linux: update config for 4.10.12 --- projects/Generic/linux/linux.x86_64.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/Generic/linux/linux.x86_64.conf b/projects/Generic/linux/linux.x86_64.conf index 01cb4bfbba..52979067fe 100644 --- a/projects/Generic/linux/linux.x86_64.conf +++ b/projects/Generic/linux/linux.x86_64.conf @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86_64 4.10.9 Kernel Configuration +# Linux/x86_64 4.10.12 Kernel Configuration # CONFIG_64BIT=y CONFIG_X86_64=y @@ -3615,6 +3615,7 @@ CONFIG_SND_SOC_INTEL_SST_MATCH=m # CONFIG_SND_SOC_INTEL_HASWELL_MACH is not set # CONFIG_SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH is not set # CONFIG_SND_SOC_INTEL_BXT_RT298_MACH is not set +# CONFIG_SND_SOC_INTEL_BDW_RT5677_MACH is not set # CONFIG_SND_SOC_INTEL_BROADWELL_MACH is not set CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH=m # CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH is not set From 1dd03551e1e6cfd1e9493ad8bf8a71fffe136b8a Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Fri, 5 May 2017 14:16:33 +0100 Subject: [PATCH 3/6] linux: update to linux-4.10.13 --- packages/linux/package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/linux/package.mk b/packages/linux/package.mk index 95f8e50f27..c00d5c1717 100644 --- a/packages/linux/package.mk +++ b/packages/linux/package.mk @@ -59,7 +59,7 @@ case "$LINUX" in PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET imx6-status-led imx6-soc-fan irqbalanced" ;; *) - PKG_VERSION="4.10.12" + PKG_VERSION="4.10.13" PKG_URL="http://www.kernel.org/pub/linux/kernel/v4.x/$PKG_NAME-$PKG_VERSION.tar.xz" PKG_PATCH_DIRS="default" ;; From b11b1da951ee83d1575092cbfea13520c6a94735 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Fri, 5 May 2017 14:16:33 +0100 Subject: [PATCH 4/6] linux: update to linux-4.10.14 --- packages/linux/package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/linux/package.mk b/packages/linux/package.mk index c00d5c1717..2b75df83a4 100644 --- a/packages/linux/package.mk +++ b/packages/linux/package.mk @@ -59,7 +59,7 @@ case "$LINUX" in PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET imx6-status-led imx6-soc-fan irqbalanced" ;; *) - PKG_VERSION="4.10.13" + PKG_VERSION="4.10.14" PKG_URL="http://www.kernel.org/pub/linux/kernel/v4.x/$PKG_NAME-$PKG_VERSION.tar.xz" PKG_PATCH_DIRS="default" ;; From b98631731f86a3735851c42669c1b045b5912a31 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Fri, 5 May 2017 14:16:33 +0100 Subject: [PATCH 5/6] RPi: update firmware to 284e48a --- packages/graphics/bcm2835-driver/package.mk | 2 +- packages/tools/bcm2835-bootloader/package.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/graphics/bcm2835-driver/package.mk b/packages/graphics/bcm2835-driver/package.mk index e1ae02b56f..93e38b22d5 100644 --- a/packages/graphics/bcm2835-driver/package.mk +++ b/packages/graphics/bcm2835-driver/package.mk @@ -17,7 +17,7 @@ ################################################################################ PKG_NAME="bcm2835-driver" -PKG_VERSION="4b79411" +PKG_VERSION="284e48a" PKG_ARCH="any" PKG_LICENSE="nonfree" PKG_SITE="http://www.broadcom.com" diff --git a/packages/tools/bcm2835-bootloader/package.mk b/packages/tools/bcm2835-bootloader/package.mk index 7785340c60..d999c0315b 100644 --- a/packages/tools/bcm2835-bootloader/package.mk +++ b/packages/tools/bcm2835-bootloader/package.mk @@ -17,7 +17,7 @@ ################################################################################ PKG_NAME="bcm2835-bootloader" -PKG_VERSION="4b79411" +PKG_VERSION="284e48a" PKG_ARCH="arm" PKG_LICENSE="nonfree" PKG_SITE="http://www.broadcom.com" From 2ff986f0c138d2bc7c0a6d56566f319a406c124a Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Fri, 5 May 2017 14:16:33 +0100 Subject: [PATCH 6/6] RPi: update linux support patch for linux 4.10.14 --- .../patches/linux/linux-01-RPi_support.patch | 1563 +++++++++++------ 1 file changed, 1037 insertions(+), 526 deletions(-) diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index 351a6a2977..89c4e92c6e 100644 --- a/projects/RPi/patches/linux/linux-01-RPi_support.patch +++ b/projects/RPi/patches/linux/linux-01-RPi_support.patch @@ -1,7 +1,7 @@ -From baacde68ebc1cd0440a1a5e08589d079cd6c7479 Mon Sep 17 00:00:00 2001 +From 6a180236dca8c8347cc51a4b12ca30672340d8cb Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/207] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/216] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. @@ -48,10 +48,10 @@ index 831aa33d078ae7d2dd57fdded5de71d1eb915f99..b77935bded8c0ff7808b00f170ff10e5 usbnet_skb_return(dev, ax_skb); } -From fbb1fcc15096f7f7c0bcd40458c81d872bd2a70c Mon Sep 17 00:00:00 2001 +From 453c16d19a853054db06eca6b98aec60a9c0d2c8 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 002/207] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 002/216] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -94,10 +94,10 @@ index b77935bded8c0ff7808b00f170ff10e594300ad0..693f163684de921404738e33244881e0 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From 5945d5a3c2a2510dc11ee797ffe37dc6d600d090 Mon Sep 17 00:00:00 2001 +From 0c54c883869b1984c149345e94624622f792adfb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 003/207] Allow mac address to be set in smsc95xx +Subject: [PATCH 003/216] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -193,10 +193,10 @@ index 693f163684de921404738e33244881e0aab92ec9..df60c989fc229bf0aab3c27e95ccd453 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From fd0412f5fd8c9647cb3a5ecbcd47023aeb11f679 Mon Sep 17 00:00:00 2001 +From ec736202ad01b18a75707d7ed00555ba10d416c8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 004/207] Protect __release_resource against resources without +Subject: [PATCH 004/216] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -224,10 +224,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From 4eeef1fb3f3714896f5494124073238ce32273e7 Mon Sep 17 00:00:00 2001 +From 6bf00b2252065dd38d17a9ecc084100f66b16542 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 005/207] mm: Remove the PFN busy warning +Subject: [PATCH 005/216] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -252,10 +252,10 @@ index 1aec370bf9e92cea039c1917fa39dcb67bb111b9..a0f965b552cbb4cf609baf45ff9ab0be goto done; } -From fa34911d3c382707e94f89a53c82d477dee4ef9c Mon Sep 17 00:00:00 2001 +From 02cfadd230531dcfd9672685e42be90fd3bd0cfe Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 006/207] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 006/216] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -282,10 +282,10 @@ index e7463e3c08143acae3e8cc5682f918c6a0b07ebd..a8db33b50ad9ff83d284fa54fe4d3b65 #endif } else if (stat) { -From 790049aba4d0200995b99ccd5cbb07a32f52818d Mon Sep 17 00:00:00 2001 +From ef35e92347f6f93a2d44d5077ee52559ee3618c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 12 Jun 2015 19:01:05 +0200 -Subject: [PATCH 007/207] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 007/216] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -414,10 +414,10 @@ index 44d7c38dde479d771f3552e914bf8c1c1f5019f7..42ff5e6a8e0d532f5b60a1e7af7cc4d9 } -From 69fb2c3f22db3eea5b784427be30bc4ad6a0c4a3 Mon Sep 17 00:00:00 2001 +From 03cad6839589c779d27bbc6f48345880f4ca5852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Oct 2015 16:26:55 +0200 -Subject: [PATCH 008/207] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 008/216] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -516,10 +516,10 @@ index 42ff5e6a8e0d532f5b60a1e7af7cc4d941bd5008..eccf6ed025299cb480884f5bcbe77abf for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From 42bf7f65e39200e6d0c7d11087bda591b97c8d26 Mon Sep 17 00:00:00 2001 +From 4cbb3dd151c3f2bbde82eeeb0cc57e16e3d61aee Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 009/207] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 009/216] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -540,33 +540,10 @@ index 9e2e099baf8ca5cc6510912a36d4ca03daeb8273..e59640942826db2ea14d0bde0ff5ab22 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 0dc2ddb97fda4a39ee97c9e4c43daea3954217ba Mon Sep 17 00:00:00 2001 -From: Phil Elwell -Date: Tue, 30 Jun 2015 14:12:42 +0100 -Subject: [PATCH 010/207] serial: 8250: Don't crash when nr_uarts is 0 - ---- - drivers/tty/serial/8250/8250_core.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c -index 76e03a7de9cc3d790a230948f599ef2db4b93249..0a172c2e6fa288de1e080463e897ea85aa98399f 100644 ---- a/drivers/tty/serial/8250/8250_core.c -+++ b/drivers/tty/serial/8250/8250_core.c -@@ -509,6 +509,8 @@ static void __init serial8250_isa_init_ports(void) - - if (nr_uarts > UART_NR) - nr_uarts = UART_NR; -+ if (!nr_uarts) -+ return; - - for (i = 0; i < nr_uarts; i++) { - struct uart_8250_port *up = &serial8250_ports[i]; - -From f370bd05638bc48530ad6810462e71e6b12ab342 Mon Sep 17 00:00:00 2001 +From 4c810d9628b6e2382a678aa81652e64da268f15c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 3 Jan 2017 18:25:01 +0000 -Subject: [PATCH 011/207] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" +Subject: [PATCH 010/216] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" This reverts commit 85ae9e512f437cd09bf61564bdba29ab88bab3e3. --- @@ -860,10 +837,10 @@ index 85d0091128644c446aed878e87769e82c77c3ebf..4f2621272bfd5cbc0d691d2fabe89e2e if (IS_ERR(pc->pctl_dev)) { gpiochip_remove(&pc->gpio_chip); -From bc117187ba3fb129db217a5361f821432e4109a5 Mon Sep 17 00:00:00 2001 +From 0b6193559183d5aa087bd369d469b54005cefae4 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 012/207] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 011/216] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -885,10 +862,10 @@ index 4f2621272bfd5cbc0d691d2fabe89e2ee428d6db..5b7cb4c415e19f98e25b221ab0ad36b6 .can_sleep = false, }; -From ab0b571b17a56fb52f865091674cadb3f44ebcf8 Mon Sep 17 00:00:00 2001 +From ea1ee213408f36849aafe08988408278f578ec28 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 013/207] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 012/216] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -915,10 +892,10 @@ index 5b7cb4c415e19f98e25b221ab0ad36b6885dae4c..6351fe7f8e314ac5ebb102dd20847b38 pc->irq_data[i].irqgroup = i; -From 55bad162a0d6139ead02e306c8fa554d3e9faf88 Mon Sep 17 00:00:00 2001 +From ca6199bcc0b54ad8f657aac46d445933c641991a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 014/207] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 013/216] spi-bcm2835: Support pin groups other than 7-11 The spi-bcm2835 driver automatically uses GPIO chip-selects due to some unreliability of the native ones. In doing so it chooses the @@ -999,10 +976,10 @@ index f35cc10772f6670397ea923ad30158270dd68578..5dfe20ffc2866fa6789825016c585175 /* and set up the "mode" and level */ dev_info(&spi->dev, "setting up native-CS%i as GPIO %i\n", -From 99ad98c98d1510a915e6652c491dfc64276e59d9 Mon Sep 17 00:00:00 2001 +From 7956252bf619d3d8720a61fb3f1e7d753afb08cb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 015/207] spi-bcm2835: Disable forced software CS +Subject: [PATCH 014/216] spi-bcm2835: Disable forced software CS Select software CS in bcm2708_common.dtsi, and disable the automatic conversion in the driver to allow hardware CS to be re-enabled with an @@ -1036,10 +1013,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From 76472aaf6c96c22ec85152d2b55d012f210e1f97 Mon Sep 17 00:00:00 2001 +From 191d51a1784a9749cb870875f3982ca042d34db0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 016/207] spi-bcm2835: Remove unused code +Subject: [PATCH 015/216] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -1127,10 +1104,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From 4e8925f75e3115cc11e13a34a773de16fcb9c584 Mon Sep 17 00:00:00 2001 +From cc3f12b35b4c35e5559cba31e68d5621e30d9fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 3 Jun 2015 12:26:13 +0200 -Subject: [PATCH 017/207] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 016/216] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1183,10 +1160,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From 738cb2c8f746e258a3a83c16c9b2a23f735974d2 Mon Sep 17 00:00:00 2001 +From 2cc505b74d02c2c73266f5a9e924a2a812d080c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 3 Oct 2015 22:22:55 +0200 -Subject: [PATCH 018/207] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 017/216] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1289,10 +1266,10 @@ index e18dc596cf2447fa9ef7e41b62d9396e29043426..80d35f760b4a4a51e60c355a84d538ba MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From e2240cc99fea8b6d1a6d9bf81a9818940a641cd1 Mon Sep 17 00:00:00 2001 +From 044d6ff9f4bab67c7bc7237252e4e7561aa0c0c1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 019/207] firmware: Updated mailbox header +Subject: [PATCH 018/216] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 9 +++++++++ @@ -1353,10 +1330,10 @@ index cb979ad90401e299344dd5fae38d09c489d8bd58..30fb37fe175df604a738258a2a632bca RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, -From 8839d76db87798c9f5636426483f6492d1d09c44 Mon Sep 17 00:00:00 2001 +From 6908c41c80da608c824032010ffde46619213c5d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 020/207] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 019/216] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1376,10 +1353,10 @@ index 8895f77726e8da5444afcd602dceff8f25a9b3fd..1833b8853ceb0e6147cceb93a00e558c MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From e25141791ab991410ffc7a7d3181c2af5ce6baa1 Mon Sep 17 00:00:00 2001 +From 761b0fc6cb2c65cb2040fa4d7020d778f6ca3688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 7 Oct 2016 16:50:59 +0200 -Subject: [PATCH 021/207] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 020/216] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1503,10 +1480,10 @@ index c32c45bd8b097889c8f322255fa63c8ed507d6ab..ef02dfa23aa774e1cdf75f935c5de985 register_restart_handler(&wdt->restart_handler); if (pm_power_off == NULL) -From 6b9d92b0d5cc7b9315e9005082e970c12db3f298 Mon Sep 17 00:00:00 2001 +From 9f0cd7dc290a561c7a0120ebfd795e1475b427e8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 022/207] reboot: Use power off rather than busy spinning when +Subject: [PATCH 021/216] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1529,10 +1506,10 @@ index 3fa867a2aae672755c6ce6448f4148c989dbf964..80dca8dcd6709034b643c6a3f35729e0 /* -From 4554a69476b903e1695aba20775bfa35fbe4635b Mon Sep 17 00:00:00 2001 +From 2492efbe9f7c8d08f63e44db196a73daa63616bc Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 023/207] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 022/216] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1551,10 +1528,10 @@ index a39b0d58ddd0fdf0ac1cc7295f8aafb12546e226..e037a6dd79d1881a09e3ca9115782709 help This enables support for the RPi power domains which can be enabled -From 74abf67eb9960a1060318e6d4ba9ff0842a01acb Mon Sep 17 00:00:00 2001 +From c05e7c943f4ac63f969f0e98d9e72a75c6b1b916 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 024/207] Register the clocks early during the boot process, so +Subject: [PATCH 023/216] Register the clocks early during the boot process, so that special/critical clocks can get enabled early on in the boot process avoiding the risk of disabling a clock, pll_divider or pll when a claiming driver fails to install propperly - maybe it needs to defer. @@ -1599,10 +1576,10 @@ index 0d14409097e777ce4546de30e9278fdebf74ec44..093694e00caec6e133eb26712f890691 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From dab79575e259529f997493d4ef56f021ddf2d33a Mon Sep 17 00:00:00 2001 +From 725f67996181894474793d5e48d4eaaf26b25090 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 025/207] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 024/216] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1628,10 +1605,10 @@ index 574211a495491d9d6021dcaefe4274a63ed02055..e66c0fca8c6090e32f72796c0877a1cf err = hwrng_register(&bcm2835_rng_ops); if (err) { -From 1a1f6f1f4972671dd91176e4ba197ace6d28e77f Mon Sep 17 00:00:00 2001 +From 0cc5800e12c0ef4271994324553dd9afbd21e395 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 026/207] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 025/216] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -1651,10 +1628,10 @@ index 179219845dfcdfbeb586d12c5ec1296095d9fbf4..e0743e44f84188667a0c322e8c3d36f1 esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From 063f0171f08f743a667d782ab4d9b1039aae15db Mon Sep 17 00:00:00 2001 +From c4e7a6c271431abaf38699941a6242a7ad569d42 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 027/207] BCM2835_DT: Fix I2S register map +Subject: [PATCH 026/216] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -1692,10 +1669,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 8807a0fbf7da8772a87324ab8b785515dee85ab8 Mon Sep 17 00:00:00 2001 +From 9dcfa128d5902933be31cf846eaf088c41fe4efd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 028/207] Main bcm2708/bcm2709 linux port +Subject: [PATCH 027/216] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1902,10 +1879,10 @@ index cfb4b4496dd9f61362dea012176c146120fada07..d9c6c217c4d6a2408abe2665bf7f2700 MODULE_AUTHOR("Lubomir Rintel "); MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); -From 98f6a0b07cb78c31428988f44cba75b846f567ff Mon Sep 17 00:00:00 2001 +From b7bac09fc64ade0cc047c151c9d576eb00ce81ba Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 029/207] Add dwc_otg driver +Subject: [PATCH 028/216] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -62962,10 +62939,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From a27f8f119927b08a3e453e10a7608cbf183332c8 Mon Sep 17 00:00:00 2001 +From ba285a7e7c888b89bf9e5f6d180387167facc47c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 030/207] bcm2708 framebuffer driver +Subject: [PATCH 029/216] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -66424,10 +66401,10 @@ index 3c14e43b82fefe1d32f591d1b2f61d2cd28d0fa8..7626beb6a5bb8df601ddf0f6e6909d1f +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 -From 7597c74e815bbc87fce16b2c6b147a5a1e94b58f Mon Sep 17 00:00:00 2001 +From 694ab881864aad37571a604488ff0d71df414246 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 031/207] dmaengine: Add support for BCM2708 +Subject: [PATCH 030/216] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67058,10 +67035,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From d2986a520db45c66741204fee2475befae956cc7 Mon Sep 17 00:00:00 2001 +From 18b4ffa6713787e118fb204c48c9fcee4a5ec675 Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 032/207] MMC: added alternative MMC driver +Subject: [PATCH 031/216] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -68811,10 +68788,10 @@ index 0000000000000000000000000000000000000000..4fe8d1fe44578fbefcd48f8c327ba3d0 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From f81720ec986b212407834151b25aff1ff4d72581 Mon Sep 17 00:00:00 2001 +From 3aa02ae95b691a9223ff61b6ec5836719db9deb2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 033/207] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 032/216] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -71219,10 +71196,10 @@ index 0000000000000000000000000000000000000000..a9bc79bfdbb71807819dfe2d8f165144 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From 7426162ae9885947c30ad4ff93a1141c2fd9ae77 Mon Sep 17 00:00:00 2001 +From af09dc1c1feb0fefd75badf3b228561e919d524a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 034/207] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 033/216] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards Some SD cards have been found that corrupt data when small blocks are erased. Add a quirk to indicate that ERASE should not be used, @@ -71358,10 +71335,10 @@ index 95d69d4982965aa30fb65d9ffecfad13f4e7be8f..a97b881a04f4b3294cf3ede393cde717 unsigned int erase_shift; /* if erase unit is power 2 */ unsigned int pref_erase; /* in sectors */ -From f4c7f1d7edb6df67fa072c1c7c5bf66010a540a7 Mon Sep 17 00:00:00 2001 +From 9043217dd23b8ebd7c1036cbc15fce37c4242257 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 035/207] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 034/216] cma: Add vc_cma driver to enable use of CMA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -71393,7 +71370,7 @@ Signed-off-by: Noralf Trønnes create mode 100644 include/linux/broadcom/vc_cma.h diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig -index fde005ef9d36a96d02be8680cb1845fc042296fa..17eae720bfb0c3d1d5499dc684d072cd33c1b153 100644 +index 4ee2a10207d0eee59163ce52ef5d8643e7acc7ca..5c5644dec3f6bb2fee1d7a4dd3c10cc3835e8ff0 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -4,6 +4,8 @@ @@ -72697,10 +72674,10 @@ index 0000000000000000000000000000000000000000..be2819d5d41f9d5ed65daf8eedb94c9e + +#endif /* VC_CMA_H */ -From 2d30676ef13977655a6202581b8e4ec40c08a6a7 Mon Sep 17 00:00:00 2001 +From 0decd2212682604a492f62259f5ec1ba432434fb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 036/207] bcm2708: alsa sound driver +Subject: [PATCH 035/216] bcm2708: alsa sound driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -75435,10 +75412,10 @@ index 0000000000000000000000000000000000000000..af3e6eb690113fc32ce9e06bd2f0f294 + +#endif // _VC_AUDIO_DEFS_H_ -From 08fac748d038b4577f05d597a717f9d86a992af5 Mon Sep 17 00:00:00 2001 +From a5249fc19ef0f7e74f7c6d2e51f7f44f49c705f7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 037/207] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 036/216] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -75962,10 +75939,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From c6bd8ab901431c52d3d0a9c358cf323eaa82213a Mon Sep 17 00:00:00 2001 +From 622d86c9de390813221bcc3e498fcb04c12f6b9a Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 038/207] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 037/216] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -80372,10 +80349,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From 6193b023c7387237575edb4c3ef10a5976cce00a Mon Sep 17 00:00:00 2001 +From 5cbdb105c8c2737b64abd686f7956cb38210aaa6 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 039/207] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 038/216] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -80686,10 +80663,10 @@ index 0000000000000000000000000000000000000000..911f5b7393ed48ceed8751f06967ae64 +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 6c44e04aaee5218b4a65e152a8a4e64eaccd911e Mon Sep 17 00:00:00 2001 +From 665e765b6324199be7b591c62639c6964ddd4530 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 040/207] Add SMI driver +Subject: [PATCH 039/216] Add SMI driver Signed-off-by: Luke Wren --- @@ -82640,10 +82617,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From 087fb5ba47b937f008938e0b34b50d1369294dd6 Mon Sep 17 00:00:00 2001 +From 75ab4d39fcf6d8fe6905bd38fb272ba0cb3f1cd8 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 041/207] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 040/216] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -82813,10 +82790,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From 2eb0a886f2da0c67dfd378574255ef86b78c6d5f Mon Sep 17 00:00:00 2001 +From 2790b88223e14bcdaf9e00452546a870d51a2e61 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 042/207] Add SMI NAND driver +Subject: [PATCH 041/216] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -83181,10 +83158,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From b6e110c16b90795e64227fe9377fc512b8166812 Mon Sep 17 00:00:00 2001 +From 3ec1d1648b611fa6c606314023f30f363c52dad9 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 043/207] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 042/216] lirc: added support for RaspberryPi GPIO lirc_rpi: Use read_current_timer to determine transmitter delay. Thanks to jjmz and others See: https://github.com/raspberrypi/linux/issues/525 @@ -84047,10 +84024,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From 8d2df7d6a2b0595488641743a27d042489d19ba9 Mon Sep 17 00:00:00 2001 +From ee043523f7a9865e5e58c3ac1386f012611b23da Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 044/207] Add cpufreq driver +Subject: [PATCH 043/216] Add cpufreq driver Signed-off-by: popcornmix --- @@ -84317,10 +84294,10 @@ index 0000000000000000000000000000000000000000..414fbdc10dfbfc6e4bb47870a7af3fd5 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From eca8d911b7f9f50851edb2c599b25b5533f8b10b Mon Sep 17 00:00:00 2001 +From 996357a2a9e94fca09ae7e7af3e546dc2019520f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 045/207] Added hwmon/thermal driver for reporting core +Subject: [PATCH 044/216] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -84486,10 +84463,10 @@ index 0000000000000000000000000000000000000000..c63fb9f9d143e19612a18fe530c7b2b3 +MODULE_DESCRIPTION("Thermal driver for bcm2835 chip"); +MODULE_LICENSE("GPL"); -From 670180f545a43aa7f704a9f68b7f3c096b2b59a1 Mon Sep 17 00:00:00 2001 +From 06e00f56cbf023de9efcf4e084788a91cbd3674e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 046/207] Add Chris Boot's i2c driver +Subject: [PATCH 045/216] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85154,10 +85131,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From a043887c2df807c049c83ded26ba7a6d89f7d728 Mon Sep 17 00:00:00 2001 +From 1cb3352e4469386f02493223b2d89a1f67683a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 047/207] char: broadcom: Add vcio module +Subject: [PATCH 046/216] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85383,10 +85360,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From 4f1f8d9cf69920439a8581e1447c12c5c589a57a Mon Sep 17 00:00:00 2001 +From 1f74b4c13781661a9f675a1187bd0da23072e293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 048/207] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 047/216] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85469,10 +85446,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From b0dca4400cf7c2d762ff55cf4a8ebb908abf4429 Mon Sep 17 00:00:00 2001 +From 0de890ae35aff146eb31e0cd21df530bd76c5fdc Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 049/207] bcm2835: add v4l2 camera device +Subject: [PATCH 048/216] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -93214,10 +93191,10 @@ index 0000000000000000000000000000000000000000..9d1d11e4a53e510c04a416d92d195a7d + +#endif /* MMAL_VCHIQ_H */ -From 6df9c87722a3a24ea071959f950cb212fb6226f4 Mon Sep 17 00:00:00 2001 +From effc2a027af54dc168df1904669f6be64ed78f26 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 050/207] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 049/216] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -93737,10 +93714,10 @@ index 0000000000000000000000000000000000000000..60206de7fa9a49bd027c635306674a29 + return $trailer; +} -From 2f7fb0f4c4ff07e3e5fe8928d2c8548d2bfd587c Mon Sep 17 00:00:00 2001 +From 53e15f300d983d30bc77e70b6c38775b863264a6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Aug 2015 09:49:15 +0100 -Subject: [PATCH 051/207] scripts/dtc: Update to upstream version 1.4.1 +Subject: [PATCH 050/216] scripts/dtc: Update to upstream version 1.4.1 Includes the new localfixups format. @@ -96591,10 +96568,10 @@ index ad9b05ae698b0495ecbda42ffcf4743555313a27..2595dfda020fd9e03f0beff5006f229d -#define DTC_VERSION "DTC 1.4.1-g53bf130b" +#define DTC_VERSION "DTC 1.4.1-g25efc119" -From 4f49c95f4b8f3cddd695f555d2a7368dde68954d Mon Sep 17 00:00:00 2001 +From 27d75d314a4c5b5acbb75bb6d58a50213da5d90c Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 052/207] BCM2708: Add core Device Tree support +Subject: [PATCH 051/216] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -106722,10 +106699,10 @@ index 0a07f9014944ed92a8e2e42983ae43be60b3e471..1967878a843461c3ff1f473b9a030eb0 # Bzip2 -From 772529d0422a4a3bb9a56c09759ff8003c84156b Mon Sep 17 00:00:00 2001 +From 9a227b7a8606564e1af28361e8ff04517f5ab0d9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 053/207] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 052/216] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -106901,10 +106878,10 @@ index 569cb531094c20a9aa2db478aaa6f348d2afd7f4..aca292f4b0932f61b5bd864251fd05b9 /* set_brightness_work / blink_timer flags, atomic, private. */ unsigned long work_flags; -From 7c08126c7ac399b8b6279f0011f8a841c37a19e6 Mon Sep 17 00:00:00 2001 +From 618bc22e91cca6e00d634bb251386980b6f21362 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 054/207] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 053/216] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -107156,10 +107133,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582 __u32 dx; /* screen-relative */ __u32 dy; -From a4e8ce1dad50d58dbe39e62a4caa0f8ae8e289ff Mon Sep 17 00:00:00 2001 +From 5843c3f304dbb45f920aea328f5c92860d0bbf9e Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 055/207] Speed up console framebuffer imageblit function +Subject: [PATCH 054/216] Speed up console framebuffer imageblit function Especially on platforms with a slower CPU but a relatively high framebuffer fill bandwidth, like current ARM devices, the existing @@ -107368,10 +107345,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 58afcdac1743d08559f3306260e4d2cb81ea7d48 Mon Sep 17 00:00:00 2001 +From a54202aff650c7afbee2de94bc3e341efff34eb9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 056/207] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 055/216] enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module) 1-wire: Add support for configuring pin for w1-gpio kernel module @@ -107621,10 +107598,10 @@ index d58594a3232492e33f1dd4babd3798b03e0f0203..feae94256256316fd9d850c3d83325af unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 4c8fbe431a13f11fd3bfd1b082cec3d5377092f8 Mon Sep 17 00:00:00 2001 +From d5b0ab4b3de905efb12c1e6f192301c3e6334fa1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 057/207] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 056/216] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -107632,10 +107609,10 @@ Subject: [PATCH 057/207] config: Enable CONFIG_MEMCG, but leave it disabled 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c -index 53bbca7c48598e44fa5e45f88626027749ca8932..62d610c934f80265a889d968c4880a711560e8e3 100644 +index 36672b678cce657d43b3a40c4feafc7f4845a516..0324faee0d849a1ccfd8999b1d52b074d89f8804 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c -@@ -5631,7 +5631,7 @@ int __init cgroup_init_early(void) +@@ -5632,7 +5632,7 @@ int __init cgroup_init_early(void) return 0; } @@ -107644,7 +107621,7 @@ index 53bbca7c48598e44fa5e45f88626027749ca8932..62d610c934f80265a889d968c4880a71 /** * cgroup_init - cgroup initialization -@@ -6168,6 +6168,28 @@ static int __init cgroup_no_v1(char *str) +@@ -6169,6 +6169,28 @@ static int __init cgroup_no_v1(char *str) } __setup("cgroup_no_v1=", cgroup_no_v1); @@ -107674,10 +107651,10 @@ index 53bbca7c48598e44fa5e45f88626027749ca8932..62d610c934f80265a889d968c4880a71 * css_tryget_online_from_dir - get corresponding css from a cgroup dentry * @dentry: directory dentry of interest -From 2521c8f827c44bf1c461bb0fc65108cad4c1e1a6 Mon Sep 17 00:00:00 2001 +From 11d7a34d5bebb128f80e2149c7072c290a1ad809 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 058/207] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 057/216] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -107713,10 +107690,10 @@ index 333108ef18cf2f3f94ee3816b2ba6522017295b6..da0ee3beeeed3a223ea6859f52a81e99 ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From 794bb024534f998009b34366bea24719e5051d7c Mon Sep 17 00:00:00 2001 +From 51413c15f6566971786541fb95c8b0255245cd5c Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 059/207] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 058/216] rpi-ft5406: Add touchscreen driver for pi LCD display Fix driver detection failure Check that the buffer response is non-zero meaning the touchscreen was detected @@ -108074,10 +108051,10 @@ index 30fb37fe175df604a738258a2a632bca3bfff33f..4a3d79d3b48eb483a4e4bf498f617515 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 1cf92ae7aad19ea95e4506e67c32f274415f088b Mon Sep 17 00:00:00 2001 +From fec27d28df003251ba7af0d36d8c9297eb498978 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 060/207] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 059/216] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -109652,10 +109629,10 @@ index 333dc3c2e5ffbb2c5ab8fcfb6115b6162643cf20..46b787a6474ffa857da9b663948863ec bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From 3f7866a141f04d33bc54b926e210a93387646c20 Mon Sep 17 00:00:00 2001 +From 684fbdfad75c8375dcae993744ce68f7c88ad53d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 061/207] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 060/216] gpio-poweroff: Allow it to work on Raspberry Pi The Raspberry Pi firmware manages the power-down and reboot process. To do this it installs a pm_power_off handler, causing @@ -109690,10 +109667,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From fc9d3ee754a9ddd85e7d72efeb99842b7733bd00 Mon Sep 17 00:00:00 2001 +From 77ecfd9e772af6016a40e7c8949a3c971edc15a3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 062/207] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 061/216] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -110558,10 +110535,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From f93d1061ef07b8cbe7e385cce7f122a1a387cbcc Mon Sep 17 00:00:00 2001 +From 608514a433fde4cfcf263b8585fa27dc75786699 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 063/207] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 062/216] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -110736,10 +110713,10 @@ index 0000000000000000000000000000000000000000..45f2b770ad9e67728ca599a7445d6ae9 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From cd3e567a42daa711f7eb54e8b1d3ec382c04789f Mon Sep 17 00:00:00 2001 +From 112ef7d324ba961481fc21fb580841d54d49518f Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 064/207] ASoC: Add support for Rpi-DAC +Subject: [PATCH 063/216] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -111023,10 +111000,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From e62533efee7363a3445e0a3bfc226232f43d1ab4 Mon Sep 17 00:00:00 2001 +From a2dea67a42aa4e9e41cc66d18cbb6b249e6d7766 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 065/207] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 064/216] ASoC: wm8804: Implement MCLK configuration options, add 32bit support WM8804 can run with PLL frequencies of 256xfs and 128xfs for most sample rates. At 192kHz only 128xfs is supported. The existing driver selects 128xfs automatically for some lower samples rates. By using an @@ -111075,10 +111052,10 @@ index af95d648265b3e92e345101542b332aee35191d4..513f56ba132929662802d15cdc653af3 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From 3ef0c5216cf1862c7df73c0d430eed6b86954428 Mon Sep 17 00:00:00 2001 +From 8a025e1b920a0e0cc780d6aeab6485daf740830e Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 066/207] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 065/216] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -111422,10 +111399,10 @@ index 0000000000000000000000000000000000000000..19dc953b7227ba86123fc7a2ba654499 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From 2312bac6bf09ea4ab9b2acc4022e73ff8b342304 Mon Sep 17 00:00:00 2001 +From fb7a95741f1ee401c903e6fe464b159c26912e7e Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 067/207] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 066/216] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -111755,10 +111732,10 @@ index 0000000000000000000000000000000000000000..4e8e6dec14bcf4a1ff286c43742d4097 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From a5da9f53a82464a7930bea0ee4498950763f3b22 Mon Sep 17 00:00:00 2001 +From 6498223e6ee8ba37f138fffff3b4fa97ec1dd8ff Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jul 2016 17:06:50 +0100 -Subject: [PATCH 068/207] iqaudio-dac: Compile fix - untested +Subject: [PATCH 067/216] iqaudio-dac: Compile fix - untested --- sound/soc/bcm/iqaudio-dac.c | 6 +++++- @@ -111782,10 +111759,10 @@ index 4e8e6dec14bcf4a1ff286c43742d4097249d6777..aa15bc4b49ca95edec905fddd8fd0a6d if (dapm->dev != codec_dai->dev) return 0; -From eacf5dfdcc9f8e99ea19bfeddf517a5dccf1d6a3 Mon Sep 17 00:00:00 2001 +From 473352a93bdf7df862701175dea6ca4a85554ecb Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 069/207] Added support for HiFiBerry DAC+ +Subject: [PATCH 068/216] Added support for HiFiBerry DAC+ The driver is based on the HiFiBerry DAC driver. However HiFiBerry DAC+ uses a different codec chip (PCM5122), therefore a new driver is necessary. @@ -112415,10 +112392,10 @@ index 72b19e62f6267698aea45d2410d616d91c1825cb..c6839ef6e16754ed9de2698507b8986a dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From 822d2207b959b65731fa5f683abb96a4a1a7f3b1 Mon Sep 17 00:00:00 2001 +From e8c40361dcb29854097af5e752acf68051dcf0a5 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 070/207] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 069/216] Added driver for HiFiBerry Amp amplifier add-on board The driver contains a low-level hardware driver for the TAS5713 and the drivers for the Raspberry Pi I2S subsystem. @@ -113253,10 +113230,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 55f070954f6aada95b4d73a9ee94a830a49d0b9a Mon Sep 17 00:00:00 2001 +From 1846b303b886215d812d2031a606337d297885d6 Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 071/207] Update ds1307 driver for device-tree support +Subject: [PATCH 070/216] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -113283,10 +113260,10 @@ index 4ad97be480430babc3321075f2739114eaad8f04..2ac1c265dc9cea56a5949eb537949a1f .driver = { .name = "rtc-ds1307", -From a7da0192208f19e2be8a5b337dae29b049a776b2 Mon Sep 17 00:00:00 2001 +From 8093e25f9c51491cf1a627c7002756c9f6de84dd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 072/207] Add driver for rpi-proto +Subject: [PATCH 071/216] Add driver for rpi-proto Forward port of 3.10.x driver from https://github.com/koalo We are using a custom board and would like to use rpi 3.18.x @@ -113502,10 +113479,10 @@ index 0000000000000000000000000000000000000000..9db678e885efd63d84d60a098a84ed67 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From 5f88ad2a09f0ccd0bdbc34a5fd53e0ef52a1ba9e Mon Sep 17 00:00:00 2001 +From e35cad3cabb1465c425a3364bff8c003ca728abb Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 073/207] RaspiDAC3 support +Subject: [PATCH 072/216] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -113748,10 +113725,10 @@ index 0000000000000000000000000000000000000000..dd9eeea2af0382307f437e6db09d1546 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From e8d17f1fefd19d40fba602e56511ca5aaf66ae12 Mon Sep 17 00:00:00 2001 +From 1adef94dd6050960cb25b3110be1b92d645a9e92 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 074/207] Add Support for JustBoom Audio boards +Subject: [PATCH 073/216] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -114205,10 +114182,10 @@ index 0000000000000000000000000000000000000000..91acb666380faa3c0deb2230f8a0f8bb +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From 48f292608909b6b1a6a438b4b224f25a4edecbf1 Mon Sep 17 00:00:00 2001 +From 9ccd257ea97b462c5f62a64b278db583ce76b9b2 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 075/207] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 074/216] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -114390,10 +114367,10 @@ index 0000000000000000000000000000000000000000..6e2ee027926ee63c89222f75ceb89e3d +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From 57212d3a322d706c094566ce0263dfeeb9b56593 Mon Sep 17 00:00:00 2001 +From 3feaa9ddfd2dd1b9758dea1cf560bf0403ba65af Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 076/207] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 075/216] New AudioInjector.net Pi soundcard with low jitter audio in and out. Contains the sound/soc/bcm ALSA machine driver and necessary alterations to the Kconfig and Makefile. @@ -114644,10 +114621,10 @@ index 0000000000000000000000000000000000000000..ef54e0f07ea03f59e9957b5d98f3e7fd +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From 7d07976860e6d53fe6365f4611e2e61a4688c56f Mon Sep 17 00:00:00 2001 +From 6b160217d6221e65d9bb2dd95f9e906facc4bb08 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 077/207] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 076/216] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -114947,10 +114924,10 @@ index 0000000000000000000000000000000000000000..9b6e829bcb5b1762a853775e78163196 +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From 984d86a15c517a33e027e1a8fa24883d9c615447 Mon Sep 17 00:00:00 2001 +From a9e7524758d1da36d56d3c1ee271b0ce713a53a9 Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 078/207] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 077/216] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -115423,10 +115400,10 @@ index 0000000000000000000000000000000000000000..446796e7e4c14a7d95b2f2a01211d9a0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From 643f0e1d19aaeea2573d42454e8dc2161d3492ee Mon Sep 17 00:00:00 2001 +From 4d105b66dd0e5b4b8787f2c7f53224b1671e43d6 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 079/207] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 078/216] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -115599,10 +115576,10 @@ index 0000000000000000000000000000000000000000..89e65317512bc774453ac8d0d5b0ff98 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From 59c9bca85041c674aaa8bdaef3fbf0cf8f1a9794 Mon Sep 17 00:00:00 2001 +From 4a86ff8bc24b711cd7316e273fe5f211323a687d Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 080/207] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 079/216] Allo Piano DAC boards: Initial 2 channel (stereo) support (#1645) Add initial 2 channel (stereo) support for Allo Piano DAC (2.0/2.1) boards, @@ -115809,10 +115786,10 @@ index 0000000000000000000000000000000000000000..8e8e62e5a36a279b425ed4655cfbac99 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From 6d4c1945df2bd9f3841056cddb6e231a00ede202 Mon Sep 17 00:00:00 2001 +From f7163c1dd4e2f7b4b23bf5de7c50740f3b0aedc0 Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 081/207] Support for Blokas Labs pisound board +Subject: [PATCH 080/216] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -116989,10 +116966,10 @@ index 0000000000000000000000000000000000000000..4b8545487d06e4ea70073a5d063fb231 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From a93017e330080a37910d2dc11d02b5c885f0b121 Mon Sep 17 00:00:00 2001 +From a0af1a9da13398a7a5a6c2377b379d40a38987d2 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 082/207] rpi_display: add backlight driver and overlay +Subject: [PATCH 081/216] rpi_display: add backlight driver and overlay Add a mailbox-driven backlight controller for the Raspberry Pi DSI touchscreen display. Requires updated GPU firmware to recognise the @@ -117161,10 +117138,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From 07264b015ef09aa27e1685d4cda6390244b4e6d0 Mon Sep 17 00:00:00 2001 +From 731695a02ea2c5890add56ae879d7372c030da9d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 083/207] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 082/216] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -117438,10 +117415,10 @@ index 4a3d79d3b48eb483a4e4bf498f617515e3ad158f..5f34e1257117fb48013c9926a8a223d6 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 16005503b07ae9367d848466cb7a0af7b75886b5 Mon Sep 17 00:00:00 2001 +From 73802d49475dc1b014ced68b23724a1be74f8fd9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 084/207] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 083/216] amba_pl011: Don't use DT aliases for numbering The pl011 driver looks for DT aliases of the form "serial", and if found uses as the device ID. This can cause @@ -117470,10 +117447,10 @@ index d4171d71a258f2696ab2ab2109376ee5a516bfba..6beb6233a0b6132b933cf8d85d8501dc uap->old_cr = 0; uap->port.dev = dev; -From c9eb72860b890a880c8a53af717f0381af70d0bf Mon Sep 17 00:00:00 2001 +From b7b39173fc7d4fc71565ac9c56a53545a98abd3c Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 085/207] OF: DT-Overlay configfs interface +Subject: [PATCH 084/216] OF: DT-Overlay configfs interface This is a port of Pantelis Antoniou's v3 port that makes use of the new upstreamed configfs support for binary attributes. @@ -117905,10 +117882,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From fc32f6cc90b78b32d0ffe409574bb637d66e9120 Mon Sep 17 00:00:00 2001 +From 2cb4ba99ce29b41ad90f1f8eb0bf879704248873 Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 086/207] brcm: adds support for BCM43341 wifi +Subject: [PATCH 085/216] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -118059,10 +118036,10 @@ index d2219885071f6d718f0f26320d580c66adc26e36..d13826095c09f5b4037625371fe64890 BRCMF_FW_NVRAM_ENTRY(BRCM_CC_43362_CHIP_ID, 0xFFFFFFFE, 43362), BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4339_CHIP_ID, 0xFFFFFFFF, 4339), -From 71fa48bee3991a1f332f728dca63e4e4e554f696 Mon Sep 17 00:00:00 2001 +From 3016c023cf333b3dd9454db05c1be1147d666c85 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 087/207] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 086/216] hci_h5: Don't send conf_req when ACTIVE Without this patch, a modem and kernel can continuously bombard each other with conf_req and conf_rsp messages, in a demented game of tag. @@ -118085,10 +118062,10 @@ index 90d0456b67446bcc624fab4b1542c4eaf21531b1..f9adeac3bbba6418dcca298c55706356 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From 2d277ecc8b055dceb23f89197e5b248e9988a6ae Mon Sep 17 00:00:00 2001 +From 2affbdd691394c1ba0f642fbb83fe76d7e5c8d6b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 088/207] config: Add default configs +Subject: [PATCH 087/216] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1297 +++++++++++++++++++++++++++++++++++ @@ -120715,10 +120692,10 @@ index 0000000000000000000000000000000000000000..8acee9f31202ec14f2933d92dd70831c +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 216446501b5c80369ea4f39e095aaeefcdaa579f Mon Sep 17 00:00:00 2001 +From b0ae7eb190b918d20c74cf199d19e014e260d8c6 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 089/207] Add arm64 configuration and device tree differences. +Subject: [PATCH 088/216] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -122133,10 +122110,10 @@ index 0000000000000000000000000000000000000000..e6b09fafa27eed2b762e3d53b55041f7 +CONFIG_LIBCRC32C=y +CONFIG_BCM2835_VCHIQ=n -From 922a918e547342265f1bbffb42b197ee50adb538 Mon Sep 17 00:00:00 2001 +From 91b94edb67414658dfa4ea5aa36643cca0c5191c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 27 Dec 2016 22:13:42 +0000 -Subject: [PATCH 090/207] Revert "staging: vc04_services: remove +Subject: [PATCH 089/216] Revert "staging: vc04_services: remove vchiq_copy_from_user" This reverts commit 49bec49fd7f273ec114e2e533c1bb8f21a654aaf. @@ -122886,10 +122863,10 @@ index d9771394a041bbb55daacd7744ac57758ae198d1..7694627b925c743552b093ce51d15c2f * * Arguments: VCHI_HELD_MSG_T *message -From aa059423064b4c6e34a5fae1ea22a93c7dc5543b Mon Sep 17 00:00:00 2001 +From e74024d6d404818587b7fdcd7f14dccf0fb68635 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 14:16:25 +0000 -Subject: [PATCH 091/207] vchiq_arm: Access the dequeue_pending flag locked +Subject: [PATCH 090/216] vchiq_arm: Access the dequeue_pending flag locked Reading through this code looking for another problem (now found in userland) the use of dequeue_pending outside a lock didn't seem safe. @@ -122947,10 +122924,10 @@ index 42998155eb4d7de8e49cc1ca82d84a430562a8da..74f1569097c7dd120cc68fb8d09d8c3d return add_completion(instance, reason, header, user_service, -From 55e13746b1fc96705532d6a55997937d53fe58cc Mon Sep 17 00:00:00 2001 +From 6fd2d8850ce225f7a1f574149fdf0c9e3969d769 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 20:53:47 +0000 -Subject: [PATCH 092/207] vchiq_arm: Service callbacks must not fail +Subject: [PATCH 091/216] vchiq_arm: Service callbacks must not fail Service callbacks are not allowed to return an error. The internal callback that delivers events and messages to user tasks does not enqueue them if @@ -122976,10 +122953,10 @@ index 74f1569097c7dd120cc68fb8d09d8c3d63d56977..3ba6485f0c7b32de9f2aa75164e8b1b9 DEBUG_TRACE(SERVICE_CALLBACK_LINE); } -From a7c375a0866275ae662771e807939fedc2973b69 Mon Sep 17 00:00:00 2001 +From c7b0604dee67918f2a51d545637304446821d044 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 21 Apr 2016 13:49:32 +0100 -Subject: [PATCH 093/207] vchiq_arm: Add completion records under the mutex +Subject: [PATCH 092/216] vchiq_arm: Add completion records under the mutex An issue was observed when flushing openmax components which generate a large number of messages returning @@ -123042,10 +123019,10 @@ index 3ba6485f0c7b32de9f2aa75164e8b1b901aa74ea..07d8eadd2aa2dc997db13c80dc303673 return VCHIQ_SUCCESS; -From 5089de7bc2d4418e2211a4dc01f70a81db591c54 Mon Sep 17 00:00:00 2001 +From 881dc11c8b2387dae302ff13bab3ca5926b85318 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Jun 2016 13:51:44 +0100 -Subject: [PATCH 094/207] vchiq_arm: Avoid use of mutex in add_completion +Subject: [PATCH 093/216] vchiq_arm: Avoid use of mutex in add_completion Claiming the completion_mutex within add_completion did prevent some messages appearing twice, but provokes a deadlock caused by vcsm using @@ -123239,10 +123216,10 @@ index c5b06cc4ca53135ec9491116ca79beaa98f57bcc..d6757ee263fb61a689c0d38c0dbb65c5 up(&state->slot_available_event); } -From 39c29d827a824141f90968e412926b733cdbdf79 Mon Sep 17 00:00:00 2001 +From d8d42f82473d95e278feda5c9076125fc7cb1cdd Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:18:09 +0100 -Subject: [PATCH 095/207] raspberrypi-firmware: Define the MBOX channel in the +Subject: [PATCH 094/216] raspberrypi-firmware: Define the MBOX channel in the header. Signed-off-by: Eric Anholt @@ -123264,10 +123241,10 @@ index 5f34e1257117fb48013c9926a8a223d64a598ab7..7f0da0727422c690947e46e891a754de enum rpi_firmware_property_status { -From a574835e20d276fdc643e403205d730f5bf9b813 Mon Sep 17 00:00:00 2001 +From bcced95a7e4f2b3223e9b8670971c6d1a9d0bac0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 096/207] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 095/216] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -124034,10 +124011,10 @@ index 0000000000000000000000000000000000000000..d18a1dae51a2275846c9826b5bf1ba57 + }, +}; -From 030fd941af2fdf693e5bff2e21e1e4677792f524 Mon Sep 17 00:00:00 2001 +From 95b521739164da064b622f7b1f986987443708fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 1 Nov 2016 15:15:41 +0100 -Subject: [PATCH 097/207] i2c: bcm2835: Add debug support +Subject: [PATCH 096/216] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124226,10 +124203,10 @@ index cd07a69e2e9355540442785f95e90823b05c9d10..47167f403cc8329bd811b47c7011c299 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From 76cae8dbdcb81e36e4099b6a12b904ecc2df0d4f Mon Sep 17 00:00:00 2001 +From e459088a835db05b5a00367d5571a44ab77a5142 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 098/207] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 097/216] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -124273,10 +124250,10 @@ index 7f0da0727422c690947e46e891a754de13dc1fea..280791fb9656901392ce67e44cb742c9 #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From f015d743a284fc010ff5126d07143de9985e8cff Mon Sep 17 00:00:00 2001 +From ec248d8eb97649b30758f02855d0fd87fe46f831 Mon Sep 17 00:00:00 2001 From: Alex Tucker Date: Tue, 13 Dec 2016 19:50:18 +0000 -Subject: [PATCH 099/207] Add support for Silicon Labs Si7013/20/21 +Subject: [PATCH 098/216] Add support for Silicon Labs Si7013/20/21 humidity/temperature sensor. --- @@ -124351,10 +124328,10 @@ index f6d134c095af2398fc55ae7d2b0e86456c30627c..31bda8da4cb6a56bfe493a81b9189009 }; }; -From 0fc169ddc533660d69d4827091fbd6231777784f Mon Sep 17 00:00:00 2001 +From 375f67f7fefc9130989d17e63d555674902190ef Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 3 Jan 2017 21:27:46 +0000 -Subject: [PATCH 100/207] Document the si7020 option +Subject: [PATCH 099/216] Document the si7020 option --- arch/arm/boot/dts/overlays/README | 3 +++ @@ -124375,10 +124352,10 @@ index 81d991803be335e5a1bc3bb0a8c7a2c9f5c392bd..e8fa4ccb44c34a20485c4e6155467af9 Name: i2c0-bcm2708 Info: Enable the i2c_bcm2708 driver for the i2c0 bus. Not all pin combinations -From 9ea0a3f3dd53ef03deb7b2c67acf6fc4a987d1f6 Mon Sep 17 00:00:00 2001 +From 2e9015ca8a1e347ba9e411aa262da85e5f81cc75 Mon Sep 17 00:00:00 2001 From: Giedrius Trainavicius Date: Thu, 5 Jan 2017 02:38:16 +0200 -Subject: [PATCH 101/207] pisound improvements: +Subject: [PATCH 100/216] pisound improvements: * Added a writable sysfs object to enable scripts / user space software to blink MIDI activity LEDs for variable duration. @@ -124672,10 +124649,10 @@ index 4b8545487d06e4ea70073a5d063fb2310b3b94d0..ba70734b89e61a11201657406223f0b3 }; -From 0048949320881bf54949eb5a49950b94d3f9f5f4 Mon Sep 17 00:00:00 2001 +From f891adaf1d99514bf065ee250823edec1a8caff6 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Tue, 10 Jan 2017 16:05:41 +0000 -Subject: [PATCH 102/207] Add driver_name property +Subject: [PATCH 101/216] Add driver_name property Add driver name property for use with 5.1 passthrough audio in LibreElec and other Kodi based OSs --- @@ -124695,10 +124672,10 @@ index 8fd50dbe681508a2cfe8fdde1c9fedbe9a507fa7..05a224ec712d06b8b7587ab6b8bb562d .dai_link = snd_rpi_justboom_dac_dai, .num_links = ARRAY_SIZE(snd_rpi_justboom_dac_dai), -From f58ad492c10dea2fc84408365449d2caccf1cb21 Mon Sep 17 00:00:00 2001 +From 6a4d3109ac7b72aa60d90ff7532c2aa6eb275a83 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Tue, 10 Jan 2017 16:11:04 +0000 -Subject: [PATCH 103/207] Add driver_name paramater +Subject: [PATCH 102/216] Add driver_name paramater Add driver_name parameter for use with 5.1 passthrough audio in LibreElec and other Kodi OSs --- @@ -124718,10 +124695,10 @@ index 91acb666380faa3c0deb2230f8a0f8bbec59417b..abfdc5c4dd5811e6847bddda4921abe3 .dai_link = snd_rpi_justboom_digi_dai, .num_links = ARRAY_SIZE(snd_rpi_justboom_digi_dai), -From c75a4865885baa575d778bdf3ea01bacc12abf7b Mon Sep 17 00:00:00 2001 +From afc6ad484f2e9ae36d75b0e71bf781b074d61ee5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 Jan 2017 13:01:21 +0000 -Subject: [PATCH 104/207] BCM270X_DT: Add pi3-disable-wifi overlay +Subject: [PATCH 103/216] BCM270X_DT: Add pi3-disable-wifi overlay pi3-disable-wifi is a minimal overlay to disable the onboard WiFi. @@ -124782,10 +124759,10 @@ index 0000000000000000000000000000000000000000..017199554bf2f4e381efcc7bb71e750c + }; +}; -From 7158ab7a355c58a9c55fe6729d71bc2f83ef14ab Mon Sep 17 00:00:00 2001 +From b25f135c724a3191904ca0f8b9da029bea1ae16a Mon Sep 17 00:00:00 2001 From: Electron752 Date: Thu, 12 Jan 2017 07:07:08 -0800 -Subject: [PATCH 105/207] ARM64: Make it work again on 4.9 (#1790) +Subject: [PATCH 104/216] ARM64: Make it work again on 4.9 (#1790) * Invoke the dtc compiler with the same options used in arm mode. * ARM64 now uses the bcm2835 platform just like ARM32. @@ -125189,10 +125166,10 @@ index e6b09fafa27eed2b762e3d53b55041f793683d27..c7e891d72969a388d9b135a36dbfc9c9 CONFIG_LIBCRC32C=y -CONFIG_BCM2835_VCHIQ=n -From b24e1af0e78164d6cc2b5e08d322675117875be4 Mon Sep 17 00:00:00 2001 +From 0b2fba92ea8d5ad4f3cd39a3affde52ba4723201 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 18:56:54 -0800 -Subject: [PATCH 106/207] ARM64: Fix bad cast in vc04_services +Subject: [PATCH 105/216] ARM64: Fix bad cast in vc04_services The function vchiq_copy_from_user contains a non-portable cast to uint32_t. Convert this to a cast to unsigned long @@ -125217,10 +125194,10 @@ index 706e7f936c1a97352f7ef3d3fbd3b4a92943165d..c2108dec3096fffd68261f0eb29a37d3 } else { memcpy(dst, src, size); -From 9a53d4f1c0d7283675a8c4e62925db0a3167e9ab Mon Sep 17 00:00:00 2001 +From f13f9f044482de36e5a7b15c2c1c2c8860d2c089 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:05:46 -0800 -Subject: [PATCH 107/207] ARM64/SND_BCM2835: Port it to arm64. +Subject: [PATCH 106/216] ARM64/SND_BCM2835: Port it to arm64. In the messages sent to VCHIQ, SND_BCM2835 passes a callback and a context into two 32 bit pointers. Since this @@ -125317,10 +125294,10 @@ index af3e6eb690113fc32ce9e06bd2f0f294da7a7f00..ede6154bc09d38469a82008174d0e357 // Message header for all messages in HOST->VC direction -From 673bd5e362d59fed523bca3b191c80d60fc572a8 Mon Sep 17 00:00:00 2001 +From 0f9c55b044c96d469c5d5e9c58ee4c637775dcb0 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:10:07 -0800 -Subject: [PATCH 108/207] ARM64: Enable HDMI audio and vc04_services in +Subject: [PATCH 107/216] ARM64: Enable HDMI audio and vc04_services in bcmrpi3_defconfig Signed-off-by: Michael Zoran @@ -125349,10 +125326,10 @@ index c7e891d72969a388d9b135a36dbfc9c9cb609bf8..4b90f9b64abe9f089ba56b13d5a00de3 CONFIG_BCM2835_MBOX=y # CONFIG_IOMMU_SUPPORT is not set -From 8ec1c7f5de4c210a4ca2cba22f492e13e01897d9 Mon Sep 17 00:00:00 2001 +From 01604bb8a60512e00f6823e925e9a1559cf42a3a Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:14:03 -0800 -Subject: [PATCH 109/207] ARM64: Run bcmrpi3_defconfig through savedefconfig. +Subject: [PATCH 108/216] ARM64: Run bcmrpi3_defconfig through savedefconfig. Signed-off-by: Michael Zoran --- @@ -125397,10 +125374,10 @@ index 4b90f9b64abe9f089ba56b13d5a00de33343bfb9..dac962ca1634662ce7d966f1ffb53b5b CONFIG_FB_TFT_AGM1264K_FL=m CONFIG_FB_TFT_BD663474=m -From 520539d8a9a12b5838f3ebf1ec5eb27809b8a278 Mon Sep 17 00:00:00 2001 +From 58d65a830ad9aa74d7d090d710ae6ef6f15d9b71 Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 14 Jan 2017 02:54:26 -0800 -Subject: [PATCH 110/207] ARM64: Enable Kernel Address Space Randomization +Subject: [PATCH 109/216] ARM64: Enable Kernel Address Space Randomization (#1792) Randomization allows the mapping between virtual addresses and physical @@ -125432,10 +125409,10 @@ index dac962ca1634662ce7d966f1ffb53b5bfa27c506..aae33b4b3c3e736ea7cd3ca242158ad6 CONFIG_BINFMT_MISC=y CONFIG_COMPAT=y -From 983aa0b7e73664a13010069ff54801d47d0080cb Mon Sep 17 00:00:00 2001 +From 4256dd208ab17594c22ca128a25bad618abd461e Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sun, 15 Jan 2017 07:31:59 -0800 -Subject: [PATCH 111/207] ARM64: Enable RTL8187/RTL8192CU wifi in build config +Subject: [PATCH 110/216] ARM64: Enable RTL8187/RTL8192CU wifi in build config These drivers build now, so they can be enabled back in the build configuration just like they are for @@ -125460,10 +125437,10 @@ index aae33b4b3c3e736ea7cd3ca242158ad6ba558aff..b7d762df19b85e369a32cd823dfd0621 CONFIG_ZD1211RW=m CONFIG_MAC80211_HWSIM=m -From 731c930dc0f60ec7764b075cdb13d30efdaf1466 Mon Sep 17 00:00:00 2001 +From 6ed92f2cbbef1288d97f46ff56c339dc25812c31 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 16 Jan 2017 14:53:12 +0000 -Subject: [PATCH 112/207] BCM270X_DT: Add spi0-cs overlay +Subject: [PATCH 111/216] BCM270X_DT: Add spi0-cs overlay The spi0-cs overlay allows the software chip selectts to be modified using the cs0_pin and cs1_pin parameters. @@ -125551,10 +125528,10 @@ index 0000000000000000000000000000000000000000..7f79029d043c04d7496c7c3480450c69 + }; +}; -From 4e42590b2362ce134a7b4d1c8d556ba7a8520e22 Mon Sep 17 00:00:00 2001 +From 1e4529d30944a8eefb7c2647c3cefb48d6b78b2c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 113/207] spi-bcm2835: Disable forced software CS +Subject: [PATCH 112/216] spi-bcm2835: Disable forced software CS Select software CS in bcm2708_common.dtsi, and disable the automatic conversion in the driver to allow hardware CS to be re-enabled with an @@ -125580,10 +125557,10 @@ index 9a44da19089717f02462c657840ae9f24fd942ba..b710a4d67b8ec8c8c18ce8efb6f270e7 i2c0: i2c@7e205000 { -From 9ba47884a61fcdbceabf3ee8231d2284d17468cb Mon Sep 17 00:00:00 2001 +From e5f70d78d798227412cda37aa07d54b46ff21a36 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 17 Jan 2017 11:34:58 +0000 -Subject: [PATCH 114/207] BCM270X_DT: Enable UART0 on CM3 +Subject: [PATCH 113/216] BCM270X_DT: Enable UART0 on CM3 Signed-off-by: Phil Elwell --- @@ -125606,10 +125583,10 @@ index 41874c25a84226c0e4af92ec4059e0a571fe6123..3ba6e621856c288ae4694f758604619f sdhost_pins: sdhost_pins { brcm,pins = <48 49 50 51 52 53>; -From 0e6924f059ae9c57a1d0025142f2a343147e0e83 Mon Sep 17 00:00:00 2001 +From 430a4825d539249effcd53e193cd14fb6dd8a81d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 17 Jan 2017 14:39:39 +0000 -Subject: [PATCH 115/207] config: Add CONFIG_MD_M25P80 and CONFIG_MD_SPI_NOR +Subject: [PATCH 114/216] config: Add CONFIG_MD_M25P80 and CONFIG_MD_SPI_NOR See: https://github.com/raspberrypi/linux/issues/1781 @@ -125714,10 +125691,10 @@ index 8acee9f31202ec14f2933d92dd70831cda8d7b51..aca8903da3156de11ba62afa64a06939 CONFIG_FB_TFT_AGM1264K_FL=m CONFIG_FB_TFT_BD663474=m -From eda3ed46a5260601b4e640b0ab942c0d03a35926 Mon Sep 17 00:00:00 2001 +From ffc9a594a62aedb1c8d8e9cba6da939371c9af74 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 116/207] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 115/216] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 In ARM64, the FIQ mechanism used by this driver is not current implemented. As a workaround, reqular IRQ is used instead @@ -126060,10 +126037,10 @@ index 6b2c7d0c93f36a63863ff4b0ecc1f3eab77e058b..d7b700ff17821ad1944e36721fe6b2db /** The OS page size */ #define DWC_OS_PAGE_SIZE PAGE_SIZE -From ec05c73664fdc9ab48d0aebef51af893faad16ab Mon Sep 17 00:00:00 2001 +From ace5d5b94d38e57e81eb3209ac9d4579dcb43395 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 117/207] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 116/216] ARM64: Round-Robin dispatch IRQs between CPUs. IRQ-CPU mapping is round robined on ARM64 to increase concurrency and allow multiple interrupts to be serviced @@ -126137,10 +126114,10 @@ index a8db33b50ad9ff83d284fa54fe4d3b65f859df0f..67dcac46cca72db4ebe2300eab04f0a8 .name = "bcm2836-gpu", .irq_mask = bcm2836_arm_irqchip_mask_gpu_irq, -From 9c400b8bd3e463fa6a884f4dbfc7cbc9ae8124d2 Mon Sep 17 00:00:00 2001 +From 4fc9e1783f873cdd1c69b97ee1852c820c2df61e Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:45:03 -0800 -Subject: [PATCH 118/207] ARM64: Enable DWC_OTG Driver In ARM64 Build +Subject: [PATCH 117/216] ARM64: Enable DWC_OTG Driver In ARM64 Build Config(bcmrpi3_defconfig) Signed-off-by: Michael Zoran @@ -126161,10 +126138,10 @@ index b7d762df19b85e369a32cd823dfd062145bdefa7..4d85c231c5ea0244e1b05fb4a5e3c8fd CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From cc058cba312262cc64b18bd2f73538e4bb1bd3b8 Mon Sep 17 00:00:00 2001 +From 207779522a14d201f3f5f83762c0ab46287c696d Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:46:04 -0800 -Subject: [PATCH 119/207] ARM64: Use dwc_otg driver by default for USB. +Subject: [PATCH 118/216] ARM64: Use dwc_otg driver by default for USB. If it breaks on anybody, they can use the standard device tree overlays to switch back to the dwc2 driver. @@ -126190,10 +126167,10 @@ index f6def5d7e5d622cf09e8f87332c7374fe28da08b..3e134a1208610b90e2d0fc22f03c6e9f -}; -#endif -From 812e4f6bd584da5d463fa9fbda0a2b3eb4cbfb55 Mon Sep 17 00:00:00 2001 +From cca2d52f2856fc7ee2d88b17d41d98221b71b26c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 19 Jan 2017 11:18:55 +0000 -Subject: [PATCH 120/207] config: Add CONFIG_USB_DWC2 and CONFIG_USB_GADGET +Subject: [PATCH 119/216] config: Add CONFIG_USB_DWC2 and CONFIG_USB_GADGET The introduction of CM3 makes gadget mode on 2709 a useful option, so enable the building of the required modules. Note that these @@ -126226,10 +126203,10 @@ index c36f01d28097a513b32df092ce64a7d6b974e615..2e2b88fefdf367b2d9190ca227ea6eb3 CONFIG_MMC_BLOCK_MINORS=32 CONFIG_MMC_BCM2835=y -From 639718f27ad0da321a1b010888e3db776599f649 Mon Sep 17 00:00:00 2001 +From 9761aaa82ca9f591d376350e9322515f045a0888 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 23 Jan 2017 17:36:50 +0000 -Subject: [PATCH 121/207] BCM270X_DT: Add reference to audio_pins to CM dtb +Subject: [PATCH 120/216] BCM270X_DT: Add reference to audio_pins to CM dtb The CM1 dtb contains an empty audio_pins node, but no reference to it. Adding the usual pinctrl reference from the audio node enables the @@ -126257,10 +126234,10 @@ index eb8662f0d222b4c0a9a2bcb8bccb13e86a0006b3..10be69972bd1440f574e35d515f3d6a0 hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>; }; -From 7b3933b40417f08515cde6b696c7e3d8f5fd7d72 Mon Sep 17 00:00:00 2001 +From 6263fdfc97d10d42f6b1dd0142f4ec75ca0601db Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 25 Jan 2017 11:30:38 +0000 -Subject: [PATCH 122/207] config: Add additional network scheduling modules +Subject: [PATCH 121/216] config: Add additional network scheduling modules --- arch/arm/configs/bcm2709_defconfig | 4 ++++ @@ -126312,10 +126289,10 @@ index aca8903da3156de11ba62afa64a0693900ee3611..c8c66751f263227e86cc21ad5b23861a CONFIG_NET_SCH_PLUG=m CONFIG_NET_CLS_BASIC=m -From deead6e0367f78e991f4981a652d7aa58823ab87 Mon Sep 17 00:00:00 2001 +From 0cd76aeb0ed291efb79ca584821bb54510e6fcf4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 16 Jan 2017 16:33:54 +0000 -Subject: [PATCH 123/207] config: Add CONFIG_TCP_CONG_BBR See: +Subject: [PATCH 122/216] config: Add CONFIG_TCP_CONG_BBR See: https://github.com/raspberrypi/linux/issues/1784 --- @@ -126350,10 +126327,10 @@ index c8c66751f263227e86cc21ad5b23861a88a636a6..e483bdb7aa869b212ef69ed779c6055e CONFIG_IPV6_ROUTER_PREF=y CONFIG_INET6_AH=m -From 150abdca5f865aee6af5c1e4c92118aaa13da783 Mon Sep 17 00:00:00 2001 +From 3a9787042a5eb7d839b3bfe3ba26f9ac9fd79981 Mon Sep 17 00:00:00 2001 From: chris johnson Date: Sun, 22 Jan 2017 03:27:31 +0000 -Subject: [PATCH 124/207] ASoC: A simple-card overlay for ADAU7002 +Subject: [PATCH 123/216] ASoC: A simple-card overlay for ADAU7002 Usage: `dtoverlay=adau7002-simple` --- @@ -126451,10 +126428,10 @@ index 0000000000000000000000000000000000000000..e67e6625d7967abc92cf00cb604d4c12 + }; +}; -From 0ea54a2e3edf2a4b94020388fcdd2408757e8153 Mon Sep 17 00:00:00 2001 +From 67911d07fb0cce8e0310dc75df06aeb69e588d65 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Jan 2017 21:17:23 +0000 -Subject: [PATCH 125/207] config: Add SND_SOC_ADAU7002 codec module +Subject: [PATCH 124/216] config: Add SND_SOC_ADAU7002 codec module As there is now an overlay requiring it, build the codec module. @@ -126489,10 +126466,10 @@ index e483bdb7aa869b212ef69ed779c6055ef3b70e2a..1927b1671b6eced73e4b4d76352bb4b1 CONFIG_SND_SOC_WM8804_I2C=m CONFIG_SND_SIMPLE_CARD=m -From ade7093076e39a103c12e748b3d04805131367f0 Mon Sep 17 00:00:00 2001 +From cc3b11cd02e7296cd0bc22562a34ae485d90679d Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Fri, 27 Jan 2017 06:42:42 -0500 -Subject: [PATCH 126/207] Add overlay for mcp3008 adc (#1818) +Subject: [PATCH 125/216] Add overlay for mcp3008 adc (#1818) Some example usage: @@ -126778,10 +126755,10 @@ index 0000000000000000000000000000000000000000..06bf4264959c380d8a9f90f74e780397 + }; +}; -From b3a18f253800f3d15513f42e215cd755ccf5d31b Mon Sep 17 00:00:00 2001 +From 9266b433c603b28bc4c80dfa77baed4e30424e82 Mon Sep 17 00:00:00 2001 From: JamesH65 Date: Mon, 6 Feb 2017 15:24:47 +0000 -Subject: [PATCH 127/207] gpio_mem: Remove unnecessary dev_info output (#1830) +Subject: [PATCH 126/216] gpio_mem: Remove unnecessary dev_info output (#1830) The open function was spamming syslog every time called, so have removed call completely. @@ -126803,10 +126780,10 @@ index 911f5b7393ed48ceed8751f06967ae6463453f9c..f5e7f1ba8fb6f18dee77fad06a17480c dev_err(inst->dev, "Unknown minor device: %d", dev); ret = -ENXIO; -From df374aeb7ad7acda1cd7513829fa8f963631878f Mon Sep 17 00:00:00 2001 +From af565fe9eaeb11fb2fd380f98ad21ff75bd31712 Mon Sep 17 00:00:00 2001 From: Claggy3 Date: Sat, 11 Feb 2017 14:00:30 +0000 -Subject: [PATCH 128/207] Update vfpmodule.c +Subject: [PATCH 127/216] Update vfpmodule.c Christopher Alexander Tobias Schulze - May 2, 2015, 11:57 a.m. This patch fixes a problem with VFP state save and restore related @@ -126943,10 +126920,10 @@ index 569d5a650a4a2c6266ddf8fc6d38e0cd96b985f6..5822a3f60a96510201a6d88828ac5262 /* * Save the userland NEON/VFP state. Under UP, -From 8c48304dcb78bfd96ca68fae21f1076d9dffd880 Mon Sep 17 00:00:00 2001 +From be28ef65ddfba501509d9e407eee29492b02d755 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 11 Feb 2017 01:18:31 -0800 -Subject: [PATCH 129/207] ARM64: Force hardware emulation of deprecated +Subject: [PATCH 128/216] ARM64: Force hardware emulation of deprecated instructions. --- @@ -126974,10 +126951,10 @@ index ecf9298a12d48f11d5833dca0584d8ab028cf422..14e9146709857124891f8a3927efec87 case INSN_OBSOLETE: insn->current_mode = INSN_UNDEF; -From 81cd41ed62dbc799e1b991e8360bff950e471f42 Mon Sep 17 00:00:00 2001 +From 2f74f7131109529121a8de17576132804e7be15b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Feb 2017 15:33:47 +0000 -Subject: [PATCH 130/207] squash: fix order of sound/soc/bcm makefile +Subject: [PATCH 129/216] squash: fix order of sound/soc/bcm makefile --- sound/soc/bcm/Makefile | 4 ++-- @@ -127016,10 +126993,10 @@ index 222a7583891f632cc2297f49aa1a58ee46507875..bb1df438540193652ec5464e8bc51f63 obj-$(CONFIG_SND_BCM2708_SOC_RPI_PROTO) += snd-soc-rpi-proto.o obj-$(CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC) += snd-soc-iqaudio-dac.o -From c6ab3ba3669e38e3c0fafb21a2e43b6b51caf454 Mon Sep 17 00:00:00 2001 +From 0ba3816f26669247c267531d04fa213b6bdc23ff Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:36 +0100 -Subject: [PATCH 131/207] config: Enable regulator support +Subject: [PATCH 130/216] config: Enable regulator support Signed-off-by: Matthias Reichl --- @@ -127054,10 +127031,10 @@ index 1927b1671b6eced73e4b4d76352bb4b1301d077c..5351a59b7f670985f47fdbafa2611734 CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_ANALOG_TV_SUPPORT=y -From f5390ca93d425018d40b01b963a09547bbb0527d Mon Sep 17 00:00:00 2001 +From 9172938e05e0b2dddf618eaf757360e00242988d Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:36 +0100 -Subject: [PATCH 132/207] BCM270x DT: expose 3.3V and 5V system rails +Subject: [PATCH 131/216] BCM270x DT: expose 3.3V and 5V system rails Signed-off-by: Matthias Reichl --- @@ -127090,10 +127067,10 @@ index a46cb4a8b1419edd95e0e07c18b0f373222dc2bf..36d853715f2379e1952ce3d3be58dd67 + }; }; -From 518964c678a1739dd7b13518d55f4607cb54a292 Mon Sep 17 00:00:00 2001 +From d235056d965a7f73ff1e0192fbfaa7c1d6872a82 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:36 +0100 -Subject: [PATCH 133/207] BCM270x DT: Consolidate audio card overlays +Subject: [PATCH 132/216] BCM270x DT: Consolidate audio card overlays Reference 3.3V / 5V system rails instead of instantiating local regulators. @@ -127388,10 +127365,10 @@ index 16b1247bfa618ff85936ddf78c3aea58075eaa67..f8d48233e28c7c18509b4a95692f6aff __overlay__ { compatible = "rra,digidac1-soundcard"; -From 2a75c0777605da9f94d4d5578511767b4d41605f Mon Sep 17 00:00:00 2001 +From 043a72859f8026c88b6d5989eee22b927a3961a4 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:37 +0100 -Subject: [PATCH 134/207] ASoC: Add driver for Cirrus Logic Audio Card +Subject: [PATCH 133/216] ASoC: Add driver for Cirrus Logic Audio Card Note: due to problems with deferred probing of regulators the following softdep should be added to a modprobe.d file @@ -128641,10 +128618,10 @@ index 0000000000000000000000000000000000000000..ac8651ddff7bd3701dffe22c7fb88352 +MODULE_DESCRIPTION("ASoC driver for Cirrus Logic Audio Card"); +MODULE_LICENSE("GPL"); -From d2a557c6132c05e7e551bcf4d430f0d60293d454 Mon Sep 17 00:00:00 2001 +From df45b209128930b0847ffb34d0b2a64d23d40477 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:37 +0100 -Subject: [PATCH 135/207] config: enable Cirrus Logic Audio Card +Subject: [PATCH 134/216] config: enable Cirrus Logic Audio Card Signed-off-by: Matthias Reichl --- @@ -128693,10 +128670,10 @@ index 5351a59b7f670985f47fdbafa26117346cafe87d..062a89f0e5fc723559ddc5739e19eb20 CONFIG_SND_BCM2708_SOC_RPI_PROTO=m CONFIG_SND_BCM2708_SOC_JUSTBOOM_DAC=m -From 49703368126d094169a7eff851a9c477fd4c807e Mon Sep 17 00:00:00 2001 +From 6a15ab8874c599819f17002ab7408305ddc53e8d Mon Sep 17 00:00:00 2001 From: Martin Cerveny Date: Mon, 13 Feb 2017 17:23:47 +0100 -Subject: [PATCH 136/207] dwc_otg: fix summarize urb->actual_length for +Subject: [PATCH 135/216] dwc_otg: fix summarize urb->actual_length for isochronous transfers Kernel does not copy input data of ISO transfers to userspace @@ -128724,10 +128701,10 @@ index 162a656501988e56c9d780b7793d365fde09f801..992269d61ecf48126379a38e528f7190 dwc_otg_hcd_urb_get_iso_desc_status(dwc_otg_urb, i); } -From 6ecb0a139b4597764c5653c31590940c3ff65e1a Mon Sep 17 00:00:00 2001 +From 6e3a68dafb26bf4270d11e23a2e5d7ebb07056c9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 137/207] clk-bcm2835: Mark used PLLs and dividers CRITICAL +Subject: [PATCH 136/216] clk-bcm2835: Mark used PLLs and dividers CRITICAL The VPU configures and relies on several PLLs and dividers. Mark all enabled dividers and their PLLs as CRITICAL to prevent the kernel from @@ -128755,10 +128732,10 @@ index 093694e00caec6e133eb26712f890691cad999aa..33bfa2008479153402d188d71d382f02 divider->data = data; -From 02dbc844e23875bbf0dc41af2bc66066468fc14f Mon Sep 17 00:00:00 2001 +From f98f18a21e82e612c9e47558dad1c0417ddcbfbe Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:33:30 +0000 -Subject: [PATCH 138/207] irq-bcm2836: Avoid "Invalid trigger warning" +Subject: [PATCH 137/216] irq-bcm2836: Avoid "Invalid trigger warning" Initialise the level for each IRQ to avoid a warning from the arm arch timer code. @@ -128782,10 +128759,10 @@ index 67dcac46cca72db4ebe2300eab04f0a867e8e14b..9a7ee04ee0d9b7aa734cf3159ed59c19 static void -From 0081bdaff2669ac8bf15888d42330d3681eab6cf Mon Sep 17 00:00:00 2001 +From ab319528c75ea254a4db55410da7c4afd2127a21 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:36:44 +0000 -Subject: [PATCH 139/207] sound: Demote deferral errors to INFO level +Subject: [PATCH 138/216] sound: Demote deferral errors to INFO level At present there is no mechanism to specify driver load order, which can lead to deferrals and repeated retries until successful. @@ -128820,10 +128797,10 @@ index baa1afa41e3dd57fdc36655b7d3bbd147ade820f..0ddeffcc48d6c14f275ea6409d1a7de8 goto _err_defer; } -From 83e36717ba0d6fa85215fcff4a0f0d5a7cf789b3 Mon Sep 17 00:00:00 2001 +From 794ecc86f25bfb6e2cbbe2b7065d41363fe59da8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:40:33 +0000 -Subject: [PATCH 140/207] sound: Suppress error message about deferrals +Subject: [PATCH 139/216] sound: Suppress error message about deferrals Since driver load deferrals are expected and will already have resulted in a kernel message, suppress an essentially @@ -129070,10 +129047,10 @@ index 9db678e885efd63d84d60a098a84ed6772b19a2d..fadbfade100228aaafabb0d3bdf35c01 return ret; } -From fcf96be7c69184c92ac07e6c509ef2ee34d7d6f1 Mon Sep 17 00:00:00 2001 +From 951a778c8d596c5947769cb37c34815ed7f1af7c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Feb 2017 09:47:11 +0000 -Subject: [PATCH 141/207] BCM270X_DT: Add SMSC ethernet controller to DT +Subject: [PATCH 140/216] BCM270X_DT: Add SMSC ethernet controller to DT With an ethernet node in the DT, a suitable firmware can populate the local-mac-address property, removing the need for a downstream patch @@ -129136,10 +129113,10 @@ index 12764a3495b2372ffaf47e32ea0d21326ca83686..2a5b512d3e1acb17c6a40bf9d370f222 / { model = "Raspberry Pi 3 Model B"; -From bc3f78482a388d33bd3291c81708c2da8f89faf1 Mon Sep 17 00:00:00 2001 +From 564bd54d2712fdd6361a52cd3970e63ed24b0aea Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Feb 2017 15:26:13 +0000 -Subject: [PATCH 142/207] brcmfmac: Mute expected startup 'errors' +Subject: [PATCH 141/216] brcmfmac: Mute expected startup 'errors' The brcmfmac WiFi driver always complains about the '00' country code and the firmware version is reported as an error. Modify the driver to @@ -129178,10 +129155,10 @@ index 4051780f64f44a5ce522babe6c371a1beb79a824..b081673abcb4aa72d70d8e0834b608f6 /* locate firmware version number for ethtool */ ptr = strrchr(buf, ' ') + 1; -From 042141f1266a63d6c7f92bdf9f19a1a7d5543342 Mon Sep 17 00:00:00 2001 +From 5d6f3fae2649254fc46d87e4bb65fb19cbfdfec3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 143/207] clk-bcm2835: Add claim-clocks property +Subject: [PATCH 142/216] clk-bcm2835: Add claim-clocks property The claim-clocks property can be used to prevent PLLs and dividers from being marked as critical. It contains a vector of clock IDs, @@ -129317,10 +129294,10 @@ index 33bfa2008479153402d188d71d382f0274c104ea..0b62d20f8b718cfd03c0346af784688e if (!cprman->osc_name) return -ENODEV; -From d684cb6db6f70cd7784b6a68ebe8a38c5acc844c Mon Sep 17 00:00:00 2001 +From 7e2eced086d7d83072ef6a3e575f70c45d298e47 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Mon, 20 Feb 2017 20:01:16 +0100 -Subject: [PATCH 144/207] dmaengine: bcm2835: Fix cyclic DMA period splitting +Subject: [PATCH 143/216] dmaengine: bcm2835: Fix cyclic DMA period splitting The code responsible for splitting periods into chunks that can be handled by the DMA controller missed to update total_len, @@ -129359,10 +129336,10 @@ index 80d35f760b4a4a51e60c355a84d538bac3892a4d..599c218dc8a73172dd4bd4a058fc8f95 /* calculate the length that remains to reach period_length */ control_block->length = period_len - *total_len; -From 5f095ee8608e56d7af66ac0d788c6d3d754a5dcc Mon Sep 17 00:00:00 2001 +From 4e1fb4ee789218cfd22011c28a6b6b24e4321c0f Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Thu, 23 Feb 2017 11:56:20 -0500 -Subject: [PATCH 145/207] config: Add ads1015 driver to config +Subject: [PATCH 144/216] config: Add ads1015 driver to config --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -129394,10 +129371,10 @@ index 062a89f0e5fc723559ddc5739e19eb20c030f0f1..97b88dcbc1e6c5b16540622222715777 CONFIG_THERMAL=y CONFIG_THERMAL_BCM2835=y -From 693c781670bd5e5c23565318e949bb0ac474d442 Mon Sep 17 00:00:00 2001 +From 10fd5a8fe54bcc88d7ca64e793d8ff79ea7f06cc Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 27 Jan 2017 18:49:30 +0000 -Subject: [PATCH 146/207] config: add slcan kernel module +Subject: [PATCH 145/216] config: add slcan kernel module See: https://github.com/raspberrypi/linux/issues/1819 --- @@ -129430,10 +129407,10 @@ index 97b88dcbc1e6c5b165406222227157776b162801..2cfa65bc83fd4b7e802f56965543a217 CONFIG_IRDA=m CONFIG_IRLAN=m -From 3914dc99e10eee67b08c38b1bca2027cfd50d940 Mon Sep 17 00:00:00 2001 +From 91bbfa475cfbbc9b4b1f2995b8de766588a636bb Mon Sep 17 00:00:00 2001 From: Miquel Date: Fri, 24 Feb 2017 20:51:06 +0100 -Subject: [PATCH 147/207] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT +Subject: [PATCH 146/216] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT Signed-off-by: Miquel Blauw --- @@ -129754,10 +129731,10 @@ index 0000000000000000000000000000000000000000..a009c49477972a9832175d86f201b035 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO-V2"); +MODULE_LICENSE("GPL v2"); -From 3a6fe281672bffd19347d18fd98c883612fff47e Mon Sep 17 00:00:00 2001 +From b3b7a13057bc19e925c4a1d0829795868bc2918d Mon Sep 17 00:00:00 2001 From: Fe-Pi Date: Wed, 1 Mar 2017 04:42:43 -0700 -Subject: [PATCH 148/207] Add support for Fe-Pi audio sound card. (#1867) +Subject: [PATCH 147/216] Add support for Fe-Pi audio sound card. (#1867) Fe-Pi Audio Sound Card is based on NXP SGTL5000 codec. Mechanical specification of the board is the same the Raspberry Pi Zero. @@ -130106,10 +130083,10 @@ index 0000000000000000000000000000000000000000..015b56fd73cc36be5b5eecd17548fd03 +MODULE_DESCRIPTION("ASoC Driver for Fe-Pi Audio"); +MODULE_LICENSE("GPL v2"); -From 18f2c9474e7f297b4b3a82e5e3e6a2cded033666 Mon Sep 17 00:00:00 2001 +From cd5eb3b6dfaa6e356371752418ce010b03897a2e Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Wed, 1 Mar 2017 07:22:24 -0500 -Subject: [PATCH 149/207] Add overlay for ads1115 ADCs (#1864) +Subject: [PATCH 148/216] Add overlay for ads1115 ADCs (#1864) --- arch/arm/boot/dts/overlays/Makefile | 1 + @@ -130273,10 +130250,10 @@ index 0000000000000000000000000000000000000000..7c16a1af3172d14e1a976b1776b9f167 + }; +}; -From 9db96c5402d36038bf9dc15182c0d7d833c4fbfd Mon Sep 17 00:00:00 2001 +From 752ce7d8394036cbba0bd13c08280606c00544d3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:06:53 +0000 -Subject: [PATCH 150/207] clk-bcm2835: Correct the prediv logic +Subject: [PATCH 149/216] clk-bcm2835: Correct the prediv logic If a clock has the prediv flag set, both the integer and fractional parts must be scaled when calculating the resulting frequency. @@ -130303,10 +130280,10 @@ index 0b62d20f8b718cfd03c0346af784688e26e9dcb6..ef0d05c58573f62de3632a920dfc1988 return bcm2835_pll_rate_from_divisors(parent_rate, ndiv, fdiv, pdiv); } -From 5cc03cc1e4aa62ff6c926be5e7e4fbf54492bb01 Mon Sep 17 00:00:00 2001 +From 8ad8e5110573d2cc6e1c160f60dc7727adadbdb6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:07:39 +0000 -Subject: [PATCH 151/207] amba_pl011: Round input clock up +Subject: [PATCH 150/216] amba_pl011: Round input clock up The UART clock is initialised to be as close to the requested frequency as possible without exceeding it. Now that there is a @@ -130392,10 +130369,10 @@ index 6beb6233a0b6132b933cf8d85d8501dc1ce2fe4c..50792f9fa8fc530e2ecbc90f92adb11b /* unregisters the driver also if no more ports are left */ static void pl011_unregister_port(struct uart_amba_port *uap) -From fe38d14706f1f505f452f498b80aea3504ee682e Mon Sep 17 00:00:00 2001 +From 4d59781491ce4dda4135512b3edb47860bf261c0 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 13 Feb 2017 11:10:50 +0000 -Subject: [PATCH 152/207] BCM2835-V4L2: Ensure H264 header bytes get a sensible +Subject: [PATCH 151/216] BCM2835-V4L2: Ensure H264 header bytes get a sensible timestamp H264 header come off VC with 0 timestamps, which means they get a @@ -130484,10 +130461,10 @@ index e6aeb7e7e381de65d6c6586205069a4c5cd33274..7f8a68916a67001bc9241bce2928519a struct vchiq_mmal_port *port; /* port being used for capture */ /* camera port being used for capture */ -From 62567be1a6cbdc27a935e45ef4130fc310c82aab Mon Sep 17 00:00:00 2001 +From e92d1d22c46d40e5b4fdd7ac235d346535d98483 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 13 Feb 2017 13:11:41 +0000 -Subject: [PATCH 153/207] BCM2835-V4L2: Correctly denote key frames in encoded +Subject: [PATCH 152/216] BCM2835-V4L2: Correctly denote key frames in encoded data Forward MMAL key frame flags to the V4L2 buffers. @@ -130512,10 +130489,10 @@ index e69731320f4e59249933bc21843913deab4a1209..6bdec0806126044cf7146d53326e4da5 "Buffer has ts %llu", dev->capture.last_timestamp); -From 4e456d9a69677612591a933606e67694789ec3ad Mon Sep 17 00:00:00 2001 +From e161104862401b9649bd2f7b65d1acd4710189b7 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 20 Feb 2017 17:01:21 +0000 -Subject: [PATCH 154/207] bcm2835-gpio-exp: Driver for GPIO expander via +Subject: [PATCH 153/216] bcm2835-gpio-exp: Driver for GPIO expander via mailbox service Pi3 and Compute Module 3 have a GPIO expander that the @@ -130933,10 +130910,10 @@ index 280791fb9656901392ce67e44cb742c96f090ed4..dc7fd58afd5dddebf9b17065bb069a1d /* Dispmanx TAGS */ RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001, -From 07ae16568897b3b22613e2bb3e4942d4a0a2521f Mon Sep 17 00:00:00 2001 +From 6f1b5dd500000a3eb27aa56d0532a876fa69bfd2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 May 2016 16:30:05 +0100 -Subject: [PATCH 155/207] BCM270X_DT: Add bcm2708-rpi-0-w.dts +Subject: [PATCH 154/216] BCM270X_DT: Add bcm2708-rpi-0-w.dts Add DT support for the Pi Zero W. N.B. It will not be loaded automatically without a corresponding change to the firmware. @@ -131164,10 +131141,10 @@ index 0000000000000000000000000000000000000000..db0f99ddf2f46e83827d56e21c4846dd + }; +}; -From 94f74f7bcedbd08e23cbf603d2f816388617fde1 Mon Sep 17 00:00:00 2001 +From 04643b351f0dc437b09d91823af5de17543852ed Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Mar 2017 09:06:18 +0000 -Subject: [PATCH 156/207] clk-bcm2835: Read max core clock from firmware +Subject: [PATCH 155/216] clk-bcm2835: Read max core clock from firmware The VPU is responsible for managing the core clock, usually under direction from the bcm2835-cpufreq driver but not via the clk-bcm2835 @@ -131291,10 +131268,10 @@ index ef0d05c58573f62de3632a920dfc19888c019d18..41dccc4ebe6f367054822aed11cb0cd4 for (i = 0; !of_property_read_u32_index(pdev->dev.of_node, "claim-clocks", -From 716434121d8e5d927bf21434f96ee49c115d41ce Mon Sep 17 00:00:00 2001 +From 18a83a03a98f7416b477730c965f62cdbeb30249 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 7 Mar 2017 19:48:23 +0000 -Subject: [PATCH 157/207] config: Add CONFIG_CRYPTO_LZ4 +Subject: [PATCH 156/216] config: Add CONFIG_CRYPTO_LZ4 Enabling this options allows LZ4 memory compression. @@ -131331,10 +131308,10 @@ index a9c46f902eb32b364423d8bef07b6b37f798c617..e5996d77b02303c4b43e62a810e0e3e6 # CONFIG_CRYPTO_HW is not set CONFIG_ARM_CRYPTO=y -From 7218b6ac1104e494254ad49eba0ab2f594c6c007 Mon Sep 17 00:00:00 2001 +From c7a3e9f4d0825ba2fff36ab76998a5d16548e9c8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 5 Mar 2017 11:46:41 +0000 -Subject: [PATCH 158/207] config: Add RTL8XXXU wifi module +Subject: [PATCH 157/216] config: Add RTL8XXXU wifi module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -131366,10 +131343,10 @@ index e5996d77b02303c4b43e62a810e0e3e660c1e99e..a691ce8b7fb6017fcc7990cf08e8ff4a CONFIG_ZD1211RW=m CONFIG_MAC80211_HWSIM=m -From e15e00021c1e366c5c48beb520e0a9b3ee4987f7 Mon Sep 17 00:00:00 2001 +From 7036806aefecd0f8c1789bd4d55a72ebd51a0769 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 10 Mar 2017 14:43:15 +0000 -Subject: [PATCH 159/207] bcm2835-v4l2: Fix buffer overflow problem +Subject: [PATCH 158/216] bcm2835-v4l2: Fix buffer overflow problem https://github.com/raspberrypi/linux/issues/1447 port_parameter_get() failed to account for the header @@ -131405,10 +131382,10 @@ index 781322542d5a8295f3d7d5a3eaaf0cac29930c30..e4b243b33f58913f3d2952c97d2a2e3f * but report true size of parameter */ -From 317616bd35c7c822863123f19ecd66ed17ad12a1 Mon Sep 17 00:00:00 2001 +From ea3f68726de469bdf48fc6df37df3aea5cab35f6 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 20:04:13 +1100 -Subject: [PATCH 160/207] Add support for the AudioInjector.net Octo sound card +Subject: [PATCH 159/216] Add support for the AudioInjector.net Octo sound card --- arch/arm/boot/dts/overlays/Makefile | 1 + @@ -131879,10 +131856,10 @@ index 0000000000000000000000000000000000000000..9effea725798640887755dfa688da453 +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:audioinjector-octo-soundcard"); -From 9eee684c088a08e0887c653e768bc31189430155 Mon Sep 17 00:00:00 2001 +From 56433f080ce7adc0170d0df2b2d1695311b0260e Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 21:13:24 +1100 -Subject: [PATCH 161/207] ASoC: bcm2835_i2s.c: relax the ch2 register setting +Subject: [PATCH 160/216] ASoC: bcm2835_i2s.c: relax the ch2 register setting for 8 channels This patch allows ch2 registers to be set for 8 channels of audio. @@ -131911,10 +131888,10 @@ index 6ba20498202ed36906b52096893a88867a79269f..c8dd065aea8414b47aa2ea4fc04168b5 format |= BCM2835_I2S_CH1(BCM2835_I2S_CHPOS(ch1pos)); format |= BCM2835_I2S_CH2(BCM2835_I2S_CHPOS(ch2pos)); -From ca0a0a0404a18577d24bfa18c3e134c22e38482a Mon Sep 17 00:00:00 2001 +From 562868585ac367c3a6ef46c78cdfcb074e924105 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Feb 2017 17:57:08 -0800 -Subject: [PATCH 162/207] build/arm64: Add rules for .dtbo files for dts +Subject: [PATCH 161/216] build/arm64: Add rules for .dtbo files for dts overlays We now create overlays as .dtbo files. @@ -131939,10 +131916,10 @@ index b9a4a934ca057623e0ea436fd9b2c7c0f675fced..54e3c38d6fd877827541cdc798de035c dtbs: prepare scripts -From 1b1e44fe1b30e2d0a506ec563e068003f08ec785 Mon Sep 17 00:00:00 2001 +From e54225190a0ecdf072ed52f0392df72145c43bfb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 163/207] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 162/216] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -131975,10 +131952,10 @@ index 6351fe7f8e314ac5ebb102dd20847b383fd5b857..28745af5aadf3cb91fa7ff39118385c3 }, }; -From ad97ba4e4b11f54e632eef44799debcc1da9a679 Mon Sep 17 00:00:00 2001 +From 2b771f5eced0afd7e71b6a0f0d0cd412b0955491 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 164/207] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 163/216] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -132016,10 +131993,10 @@ index 41dccc4ebe6f367054822aed11cb0cd4d985c21a..7ec0e71cbcfbcd6c86e2f6c8080e1d62 * rate changes on at least of the parents. */ -From 517805f8a01305aefecb69dce839e9a1071ce3b2 Mon Sep 17 00:00:00 2001 +From ddc1ff9064f11d5dc2cf59a116f3affa8c4d986a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 7 Mar 2016 15:05:11 +0000 -Subject: [PATCH 165/207] vchiq_arm: Tweak the logging output +Subject: [PATCH 164/216] vchiq_arm: Tweak the logging output Signed-off-by: Phil Elwell --- @@ -132094,10 +132071,10 @@ index d6757ee263fb61a689c0d38c0dbb65c57a8e39bb..7fd63cf6800d7ec35fbcb215a283630c switch (type) { -From bb8fda2820495e0b2177304be1a31fc5d949e1da Mon Sep 17 00:00:00 2001 +From cdea24594f5cde9b7d80b63c4d882072607117c4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 18 Jan 2017 07:31:55 +1100 -Subject: [PATCH 166/207] clk: bcm2835: Don't rate change PLLs on behalf of DSI +Subject: [PATCH 165/216] clk: bcm2835: Don't rate change PLLs on behalf of DSI PLL dividers. Our core PLLs are intended to be configured once and left alone. With @@ -132269,10 +132246,10 @@ index 7ec0e71cbcfbcd6c86e2f6c8080e1d622ca5540a..3acf61ddeda8c27e6da0fd7e2beb4634 /* the clocks */ -From 0f7d4e9404dca7f9c399e57038397bc10dd62616 Mon Sep 17 00:00:00 2001 +From eafb781b7125128e2cc144a11f6d83e45ca5ee14 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 18 Jan 2017 07:31:56 +1100 -Subject: [PATCH 167/207] clk: bcm2835: Register the DSI0/DSI1 pixel clocks. +Subject: [PATCH 166/216] clk: bcm2835: Register the DSI0/DSI1 pixel clocks. The DSI pixel clocks are muxed from clocks generated in the analog phy by the DSI driver. In order to set them as parents, we need to do the @@ -132515,10 +132492,10 @@ index 360e00cefd35679b49890234b5c369fb52b89e20..a0c812b0fa391d149b4f546db39bdc4b +#define BCM2835_CLOCK_DSI0P 49 +#define BCM2835_CLOCK_DSI1P 50 -From 47f1767c3185e5c7aed5cf167c8ef5d20e452a2e Mon Sep 17 00:00:00 2001 +From 57109471a499144ee37717ca517cde5bb508df4e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 18 Jan 2017 07:31:57 +1100 -Subject: [PATCH 168/207] clk: bcm2835: Add leaf clock measurement support, +Subject: [PATCH 167/216] clk: bcm2835: Add leaf clock measurement support, disabled by default This proved incredibly useful during debugging of the DSI driver, to @@ -132864,10 +132841,10 @@ index 428e75c8b970897d881b570228eb85e8aef28999..fe3298b54cdfb96bd90fb4f39e13921d /* the gates */ -From 238c3066704b1c90252182cc4f641a6c9fb847df Mon Sep 17 00:00:00 2001 +From 09352237d4ac8eef6442331f75910363be10abe2 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 26 Apr 2016 13:46:13 -0700 -Subject: [PATCH 169/207] drm/panel: Add support for the Raspberry Pi 7" +Subject: [PATCH 168/216] drm/panel: Add support for the Raspberry Pi 7" Touchscreen. This driver communicates with the Atmel microcontroller for sequencing @@ -133448,10 +133425,10 @@ index 0000000000000000000000000000000000000000..1a536fe4d040f5fafe324baee110a622 +MODULE_DESCRIPTION("Raspberry Pi 7-inch touchscreen driver"); +MODULE_LICENSE("GPL v2"); -From ab69153689e1d39c1f19db1db844276a0da6d304 Mon Sep 17 00:00:00 2001 +From 5ac6f3b06f20a04a35e2fe294150ebfdb1d2dbf6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Jun 2016 12:29:45 -0700 -Subject: [PATCH 170/207] BCM270X: Add the DSI panel to the defconfig. +Subject: [PATCH 169/216] BCM270X: Add the DSI panel to the defconfig. Signed-off-by: Eric Anholt --- @@ -133500,10 +133477,10 @@ index 4d85c231c5ea0244e1b05fb4a5e3c8fd3e651ddf..baf316e3a69d421d79ec098c7ad2603c CONFIG_DRM_VC4=m CONFIG_FB=y -From 1ced6f0aef205e162bc9696c96d602b7cdc1db91 Mon Sep 17 00:00:00 2001 +From a1693f9a5e0575f11d1a388cc87efc128122700f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 13 Dec 2016 15:15:10 -0800 -Subject: [PATCH 171/207] ARM: bcm2835: dt: Add the DSI module nodes and +Subject: [PATCH 170/216] ARM: bcm2835: dt: Add the DSI module nodes and clocks. The modules stay disabled by default, and if you want to enable DSI @@ -133607,10 +133584,10 @@ index b710a4d67b8ec8c8c18ce8efb6f270e7cfb68e52..304dd291a9ae94700e8e628c0c9ebd3f compatible = "brcm,bcm2835-i2c"; reg = <0x7e804000 0x1000>; -From f782a664bf178f59448b876c6d26f66f1100fd3a Mon Sep 17 00:00:00 2001 +From fb5df730cb45f38aa5d98753f83d46049e90fccc Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Jun 2016 15:09:35 -0700 -Subject: [PATCH 172/207] BCM270X: Enable the DSI panel node in the VC4 +Subject: [PATCH 171/216] BCM270X: Enable the DSI panel node in the VC4 overlay. Signed-off-by: Eric Anholt @@ -133763,10 +133740,10 @@ index fb45c6456b181b047d6cff8784f7696eb75da3c7..05faf1bfa1b7c73fd60b1efb813b969e __overlay__ { claim-clocks = < -From e1c1dca8df5d830a238e068470b92b5c69364b49 Mon Sep 17 00:00:00 2001 +From 85eac700f7a8218f67e3536df9bd6dea9f0a98a8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 15 Sep 2016 15:25:23 +0100 -Subject: [PATCH 173/207] drm/vc4: Set up SCALER_DISPCTRL at boot. +Subject: [PATCH 172/216] drm/vc4: Set up SCALER_DISPCTRL at boot. We want the HVS on, obviously, and we also want DSP3 (PV1's source) to be muxed from HVS channel 2 like we expect in vc4_crtc.c. The @@ -133826,10 +133803,10 @@ index 39f6886b24100c43b590e47e0c7bc44846721d65..b3b297fba7097bc495fa8916292c5479 * SCALER_DISPSTAT_IRQDISP0. Note that short frame contributions are * always enabled. -From e771f742e59b6c20aec848d81056dee34b504efa Mon Sep 17 00:00:00 2001 +From e3c71207f0a6953f357b09511b04ef5e65fd0863 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 10 Feb 2016 16:17:29 -0800 -Subject: [PATCH 174/207] drm/vc4: Add support for feeding DSI encoders from +Subject: [PATCH 173/216] drm/vc4: Add support for feeding DSI encoders from the pixel valve. We have to set a different pixel format, which tells the hardware to @@ -133944,10 +133921,10 @@ index b3b297fba7097bc495fa8916292c547925720199..385405a2df05eb3dd86d4f687aa82053 # define PV_VCONTROL_VIDEN BIT(0) -From 78b9942bfad405b0c93edf523ac144655f7d5106 Mon Sep 17 00:00:00 2001 +From 5ce7b6e477653ef8d07d1170b92f3d988a2e934f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 10 Feb 2016 11:42:32 -0800 -Subject: [PATCH 175/207] drm/vc4: Add DSI driver +Subject: [PATCH 174/216] drm/vc4: Add DSI driver The DSI0 and DSI1 blocks on the 2835 are related hardware blocks. Some registers move around, and the featureset is slightly different, @@ -135775,10 +135752,10 @@ index 0000000000000000000000000000000000000000..17fcac381dbb37cd9a5ff210ad8578f4 + }, +}; -From 44e48aaa5b21f92d8e1e93b2d3e852ab0dbb83b6 Mon Sep 17 00:00:00 2001 +From 9e208dd27217d9f062788dd7ce5cc51e063e95de Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Fri, 2 Dec 2016 14:48:12 +0100 -Subject: [PATCH 176/207] ARM: dts: bcm283x: Add VEC node in bcm283x.dtsi +Subject: [PATCH 175/216] ARM: dts: bcm283x: Add VEC node in bcm283x.dtsi Add the VEC (Video EnCoder) node definition in bcm283x.dtsi. @@ -135809,10 +135786,10 @@ index 304dd291a9ae94700e8e628c0c9ebd3fb98abb19..ee69fd481fabd22d8f45ecdcffacdbb1 compatible = "brcm,bcm2835-pixelvalve2"; reg = <0x7e807000 0x100>; -From 051dca643787b83494b3354660b9f041727543d9 Mon Sep 17 00:00:00 2001 +From b25a1418190664759efdfd000e09f4029920b70c Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Fri, 2 Dec 2016 14:48:13 +0100 -Subject: [PATCH 177/207] ARM: dts: bcm283x: Enable the VEC IP on all +Subject: [PATCH 176/216] ARM: dts: bcm283x: Enable the VEC IP on all RaspberryPi boards Enable the VEC IP on all RaspberryPi boards. @@ -135838,10 +135815,10 @@ index 58f7d874c70a9cf965e10ae3f14fe3bb00846b71..023630efa7c1d8601ba5e83d2fdb38a7 + status = "okay"; +}; -From bc0d23048b0f2560e6508fe11c5352bf42e8aa4f Mon Sep 17 00:00:00 2001 +From 45933c1da08a68da2ce3f7206a1ca182bf627fd2 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 23 Jan 2017 11:41:54 -0800 -Subject: [PATCH 178/207] BCM270X: Disable VEC unless vc4-kms-v3d is present. +Subject: [PATCH 177/216] BCM270X: Disable VEC unless vc4-kms-v3d is present. Signed-off-by: Eric Anholt --- @@ -135880,10 +135857,10 @@ index 05faf1bfa1b7c73fd60b1efb813b969e10bbfefa..c57e795824e9261e0f60bcb40d6a5724 __overlay__ { claim-clocks = < -From 2c704ce1abf3907ab482e4cfdb8e5874ffbdc8e4 Mon Sep 17 00:00:00 2001 +From a7ed5417f4f1ce5ad2c83ea186fde0560a89845e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:09:18 -0800 -Subject: [PATCH 179/207] drm/vc4: Name the primary and cursor planes in fkms. +Subject: [PATCH 178/216] drm/vc4: Name the primary and cursor planes in fkms. This makes debugging nicer, compared to trying to remember what the IDs are. @@ -135907,10 +135884,10 @@ index d18a1dae51a2275846c9826b5bf1ba57ae97b55c..e49ce68b607a7ffc2329e3235362f3bc if (type == DRM_PLANE_TYPE_PRIMARY) { vc4_plane->fbinfo = -From 54aaa723397c81a4e2045ce6fa5b97637a935122 Mon Sep 17 00:00:00 2001 +From 328e2376e456598d9bd0de8235dcc884dbe8e043 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:10:09 -0800 -Subject: [PATCH 180/207] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of +Subject: [PATCH 179/216] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. Trying to debug weston on fkms involved figuring out what calls I was @@ -135980,10 +135957,10 @@ index e49ce68b607a7ffc2329e3235362f3bc21ed5cbb..dbf065677202fbebf8e3a0cffbe880aa RPI_FIRMWARE_SET_CURSOR_STATE, &packet_state, -From a59111e91442409d81057e1f59944d2c5d9d8977 Mon Sep 17 00:00:00 2001 +From 169eab65225977f26e03fe9cfe2791b1ada25fe5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Feb 2017 09:42:18 -0800 -Subject: [PATCH 181/207] drm/vc4: Fix sending of page flip completion events +Subject: [PATCH 180/216] drm/vc4: Fix sending of page flip completion events in FKMS mode. In the rewrite of vc4_crtc.c for fkms, I dropped the part of the @@ -136025,10 +136002,10 @@ index dbf065677202fbebf8e3a0cffbe880aa42daef3f..da818a207bfa639b8cea48d94bcf4566 static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc) -From eae720bd63aa3991f260f0f2a73b3da5430de81e Mon Sep 17 00:00:00 2001 +From db8625e84e2cd8592c9b2112fd56688a4cdfaf7b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 8 Feb 2017 15:00:54 -0800 -Subject: [PATCH 182/207] drm/vc4: Fulfill user BO creation requests from the +Subject: [PATCH 181/216] drm/vc4: Fulfill user BO creation requests from the kernel BO cache. The from_cache flag was actually "the BO is invisible to userspace", @@ -136081,10 +136058,10 @@ index 3f6704cf6608d7be47637c6aa585de087b7f74ee..5ec14f25625dde6fd61e10415092fa25 cma_obj = drm_gem_cma_create(dev, size); -From 19579bbd9cae7a6227f86559b5df2ba83161dc0a Mon Sep 17 00:00:00 2001 +From 65defd8ca6b5535f30816c7737403ddacad17074 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 9 Feb 2017 09:23:34 -0800 -Subject: [PATCH 183/207] drm/vc4: Fix OOPSes from trying to cache a partially +Subject: [PATCH 182/216] drm/vc4: Fix OOPSes from trying to cache a partially constructed BO. If a CMA allocation failed, the partially constructed BO would be @@ -136118,10 +136095,10 @@ index 5ec14f25625dde6fd61e10415092fa25527cc151..fd83a28076564b9ea5cf0f2ba29b884e if (!cache_list) { vc4_bo_destroy(bo); -From 6c3d0b01657f721ad44a841727f2f8b8e857f340 Mon Sep 17 00:00:00 2001 +From a01af49cdb9b71d34c66f6228c730764659c13df Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 12 Oct 2015 08:58:08 -0700 -Subject: [PATCH 184/207] drm/vc4: Verify at boot that CMA doesn't cross a +Subject: [PATCH 183/216] drm/vc4: Verify at boot that CMA doesn't cross a 256MB boundary. I've seen lots of users cranking CMA up higher, so throw an error if @@ -136204,10 +136181,10 @@ index c960459eda7e640ea55be1d4ed80c6a9125a8877..b50245282a18bc790da0f901944c2e67 static unsigned long cma_bitmap_aligned_mask(const struct cma *cma, int align_order) -From 5ffa6fec5e28088dda49238bf58ec40cc4084eb7 Mon Sep 17 00:00:00 2001 +From d0ec3653df341eef96192c7fcd48547cf6db0cd7 Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Thu, 23 Feb 2017 11:56:20 -0500 -Subject: [PATCH 185/207] Add ads1015 driver to config +Subject: [PATCH 184/216] Add ads1015 driver to config --- arch/arm/configs/bcm2709_defconfig | 2 +- @@ -136245,10 +136222,10 @@ index 0768998e5cbcc96714d546f656ff59eafe2dc754..efc4898aca911d5c97426a38b0f1808b CONFIG_FB=y CONFIG_FB_BCM2708=y -From 7069e623c20b4c59e2ce0b0c273119f511c930e1 Mon Sep 17 00:00:00 2001 +From 019ddce57e24e2509fba98c574a63d72bbcc6066 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 23 Feb 2017 17:54:31 -0800 -Subject: [PATCH 186/207] drm/vc4: Don't wait for vblank when updating the +Subject: [PATCH 185/216] drm/vc4: Don't wait for vblank when updating the cursor Commonly used desktop environments such as xfce4 and gnome @@ -136305,10 +136282,10 @@ index 686cdd3c86f2e9178768282a0dd173850e0bf063..7bdbb0e2b50f9202efe1177df761b379 * expected change from the drm_mode_cursor_universal() * helper. -From 6e5b90f247a35d8724469c2344b330de9826615d Mon Sep 17 00:00:00 2001 +From 34e1b2211ca468449b4855c02563b83a52e2a4f1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 6 Mar 2017 12:17:16 -0800 -Subject: [PATCH 187/207] panel-raspberrypi-touchscreen: Round up clk rate to +Subject: [PATCH 186/216] panel-raspberrypi-touchscreen: Round up clk rate to fix DSI panel. Commit 488f9bc8e3def93e0baef53cee2026c2cb0d8956 slightly increased the @@ -136343,10 +136320,10 @@ index 1a536fe4d040f5fafe324baee110a6225dd0be08..7f315f04b109621ca7f3861fdd8acf95 .hsync_start = HACT + HFP, .hsync_end = HACT + HFP + HSW, -From 10bd8c8d097ef157a85f9939055620cbc41f6463 Mon Sep 17 00:00:00 2001 +From 761f060a373dfd08bb14abdbf1167b7091f26dc0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Mar 2017 12:30:37 +0000 -Subject: [PATCH 188/207] thermal: Compatible strings for bcm2836, bcm2837 +Subject: [PATCH 187/216] thermal: Compatible strings for bcm2836, bcm2837 The upstream dt-bindings documentation for bcm2835-thermal (which exists even though the driver isn't upstreamed) says to use @@ -136378,10 +136355,10 @@ index c63fb9f9d143e19612a18fe530c7b2b3518a22a4..25b78c3eac1503fbc9e679b963a6284b }; MODULE_DEVICE_TABLE(of, bcm2835_thermal_of_match_table); -From d1e71ad4f7500f0656c2ee2a081d2dd85485311c Mon Sep 17 00:00:00 2001 +From c74d28bfe4de5e036d522d5a212252b25f215e3c Mon Sep 17 00:00:00 2001 From: John Greb Date: Wed, 8 Mar 2017 15:12:29 +0000 -Subject: [PATCH 189/207] Match dwc2 device-tree fifo sizes to the hardware +Subject: [PATCH 188/216] Match dwc2 device-tree fifo sizes to the hardware values. Since commit aa381a7259c3f53727bcaa8c5f9359e940a0e3fd was reverted with 3fa9538539ac737096c81f3315a14670b1609092 the g-tx-fifo-size array in the device-tree needs to match the preset values in the bcm2835. @@ -136412,10 +136389,10 @@ index 527abc9f0ddf71f4dc7d58336d87684c931cc2f3..265a16bab008453edba198cf2366c423 }; }; -From 2e2bac7f1ac1c5fee5566dd59436ece713d44d25 Mon Sep 17 00:00:00 2001 +From 262be820466b8326e671f1fd5b00d42e2bebc93f Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 7 Mar 2017 12:18:20 +0000 -Subject: [PATCH 190/207] BCM270X_DT: Invert Pi3 power LED to match fw change +Subject: [PATCH 189/216] BCM270X_DT: Invert Pi3 power LED to match fw change Firmware expgpio driver reworked due to complaint over hotplug detect. @@ -136441,10 +136418,10 @@ index 173103aaca503833b5e29530ed94e14c7cab0444..b21d2866d204adc533b46d581028f290 }; -From 6492ee82f575a250c26ce60896de3a0aa70c70eb Mon Sep 17 00:00:00 2001 +From 8c38fe2d4c4037b34b6bfcdb45d2e525f61ae6bb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Mar 2017 09:10:05 +0000 -Subject: [PATCH 191/207] BCM270X_DT: Add lm75 to i2c-sensor overlay +Subject: [PATCH 190/216] BCM270X_DT: Add lm75 to i2c-sensor overlay See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=177236 @@ -136507,10 +136484,10 @@ index 31bda8da4cb6a56bfe493a81b918900995fb0589..606b2d5012abf2e85712be631c42ea40 }; }; -From f8176778b46646fb0667dc7d2eaf23cb9c46853c Mon Sep 17 00:00:00 2001 +From 28e5b2d43852e22092442a4b0600ad31cfd6efce Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 14 Mar 2017 14:23:06 +0000 -Subject: [PATCH 192/207] bcm2835-gpio-exp: Copy/paste error adding base twice +Subject: [PATCH 191/216] bcm2835-gpio-exp: Copy/paste error adding base twice brcmexp_gpio_set was adding gpio->gc.base to the offset twice, so passing an invalid number to the mailbox service. @@ -136536,10 +136513,10 @@ index 681a91492d4c33bdfd42416e069218e8611cc4d9..d68adafaee4ad406f45f4ff0d6b7c1ad set.state = val; /* Output state */ -From 7b2dc3ebc96af5f49b83476a955d408b7e773133 Mon Sep 17 00:00:00 2001 +From 534fc500a20c0c5db12ba5be512821e726717d41 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 15 Mar 2017 11:12:40 +0000 -Subject: [PATCH 193/207] bcm2835-camera: Correct port_parameter_get return +Subject: [PATCH 192/216] bcm2835-camera: Correct port_parameter_get return value The API for port_parameter_get() requires that the @@ -136597,10 +136574,10 @@ index e4b243b33f58913f3d2952c97d2a2e3fbbbd0ae8..ec2853ba9d4b1b0cd6e07a495a424e15 pr_debug("%s:result:%d component:0x%x port:%d parameter:%d\n", __func__, ret, port->component->handle, port->handle, parameter_id); -From 215d0c91534d879cd5e70f09da118567f6e72205 Mon Sep 17 00:00:00 2001 +From 51d9fbec8a2bbb958dffce48e70dd7c7653c52c4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Mar 2017 12:24:41 +0000 -Subject: [PATCH 194/207] config: Make spidev a loadable module +Subject: [PATCH 193/216] config: Make spidev a loadable module spidev isn't required early in the boot process, and not all users need it (spi_bcm2835 is a module), so make it a loadable module. @@ -136656,10 +136633,10 @@ index efc4898aca911d5c97426a38b0f1808b3c0d4baa..e65b2106d97ea9351c1d85166d2bff39 CONFIG_SND_SIMPLE_CARD=m CONFIG_SOUND_PRIME=m -From 33d45d5fce66339660a6858ebee0af7f776cd8ed Mon Sep 17 00:00:00 2001 +From 9108d5a99c10d3ef3a4635c71257f6db37264b09 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 10:06:56 +0000 -Subject: [PATCH 195/207] ASoC: Add prompt for ICS43432 codec +Subject: [PATCH 194/216] ASoC: Add prompt for ICS43432 codec Without a prompt string, a config setting can't be included in a defconfig. Give CONFIG_SND_SOC_ICS43432 a prompt so that Pi soundcards @@ -136684,10 +136661,10 @@ index cd02edde708f860ba90ef7892339ef311c898746..fbcc1516af4f463e5e0a1a8ced04b82c config SND_SOC_INNO_RK3036 tristate "Inno codec driver for RK3036 SoC" -From 2cc9b0375a9dae0e3b2773b876a9fc1204a4fdc0 Mon Sep 17 00:00:00 2001 +From 8d7dc7275a9100b38679af078312da3f5ff214cb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 16:34:46 +0000 -Subject: [PATCH 196/207] bcm2835-aux: Add aux interrupt controller +Subject: [PATCH 195/216] bcm2835-aux: Add aux interrupt controller The AUX block has a shared interrupt line with a register indicating which devices have active IRQs. Expose this as a nested interrupt @@ -136851,10 +136828,10 @@ index bd750cf2238d61489811e7d7bd3b5f9950ed53c8..41e0702fae4692221980b0d02aed1ba6 BCM2835_AUX_CLOCK_COUNT, GFP_KERNEL); if (!onecell) -From 701211051ea54df90345cbcad012a8f4f710cc1a Mon Sep 17 00:00:00 2001 +From d8953351ac3bb251d4b052ea361b5e2d14004cb5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 17:08:44 +0000 -Subject: [PATCH 197/207] BCM270X_DT: Enable AUX interrupt controller in DT +Subject: [PATCH 196/216] BCM270X_DT: Enable AUX interrupt controller in DT See: https://github.com/raspberrypi/linux/issues/1484 https://github.com/raspberrypi/linux/issues/1573 @@ -136907,10 +136884,10 @@ index ee69fd481fabd22d8f45ecdcffacdbb185e11f55..278e7a94a79d01e600f85daa6ec86cd0 #address-cells = <1>; #size-cells = <0>; -From c923db3754a1bd66decbcaadc3a4f1316ca88741 Mon Sep 17 00:00:00 2001 +From 9d39f5f53c902a6eb4540a9ebd60aa1fda8b7ffc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 28 Mar 2017 14:22:20 +0100 -Subject: [PATCH 198/207] BCM270X_DT: Allow multiple instances of w1-gpio +Subject: [PATCH 197/216] BCM270X_DT: Allow multiple instances of w1-gpio overlays Upcoming firmware will modify the address portion of node names when @@ -136975,10 +136952,10 @@ index 66a98f6c9601f51483f27803995bec772bb3350e..ef8bfbcabdb31231075d5c281df3b38b <&w1_pins>,"brcm,pins:4"; pullup = <&w1>,"rpi,parasitic-power:0"; -From b125f4eba53b70032b26cc99d13ac9dbf4ba8391 Mon Sep 17 00:00:00 2001 +From c237e6567967053ece4d59947b9ce9b9c13dfdf4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 28 Mar 2017 17:41:30 +0100 -Subject: [PATCH 199/207] leds-gpio: Remove stray assignment to brightness_set +Subject: [PATCH 198/216] leds-gpio: Remove stray assignment to brightness_set The brightness_set method is intended for use cases that must not block, and can only be used if the GPIO provider can never sleep. @@ -137004,10 +136981,10 @@ index 6a27a693034825de2897bb7b338b60cc10c9e59f..a6b352cb003ff5e6c87cf6d37d6502b6 if (template->default_state == LEDS_GPIO_DEFSTATE_KEEP) { state = gpiod_get_value_cansleep(led_dat->gpiod); -From 4c22966f7fa8cdd1c7d8c0ca5bd471b4b2922f9e Mon Sep 17 00:00:00 2001 +From 3b18074d165629b9a81ea982304dfb846ca6ad86 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 27 Mar 2017 22:26:49 +1100 -Subject: [PATCH 200/207] AudioInjector Octo: sample rates, regulators, reset +Subject: [PATCH 199/216] AudioInjector Octo: sample rates, regulators, reset This patch adds new sample rates to the Audioinjector Octo sound card. The new supported rates are (in kHz) : @@ -137173,10 +137150,10 @@ index 9effea725798640887755dfa688da45338718afc..dcf403ab37639ba79e38278d7e4b1ade dai->cpu_dai_name = NULL; dai->cpu_of_node = i2s_node; -From 1463696355c994daaae91ab55853733b4de0aa80 Mon Sep 17 00:00:00 2001 +From 9555310a6c5da03dd619a8ba67f9cd8d7efc76ed Mon Sep 17 00:00:00 2001 From: Peter Malkin Date: Mon, 27 Mar 2017 16:38:21 -0700 -Subject: [PATCH 201/207] Driver support for Google voiceHAT soundcard. +Subject: [PATCH 200/216] Driver support for Google voiceHAT soundcard. --- arch/arm/boot/dts/overlays/Makefile | 1 + @@ -137681,10 +137658,10 @@ index 0000000000000000000000000000000000000000..225854b8e5298b3c3018f59a49404354 +MODULE_DESCRIPTION("ASoC Driver for Google voiceHAT SoundCard"); +MODULE_LICENSE("GPL v2"); -From f2f60f6fbd3382abc46200fa66ef030007b4a9e0 Mon Sep 17 00:00:00 2001 +From 2b25e13ca836c3c936d7b53dffad8d2c10004bf9 Mon Sep 17 00:00:00 2001 From: Raashid Muhammed Date: Mon, 27 Mar 2017 12:35:00 +0530 -Subject: [PATCH 202/207] Add support for Allo Piano DAC 2.1 plus add-on board +Subject: [PATCH 201/216] Add support for Allo Piano DAC 2.1 plus add-on board for Raspberry Pi. The Piano DAC 2.1 has support for 4 channels with subwoofer. @@ -138312,10 +138289,10 @@ index 0000000000000000000000000000000000000000..f66f42abadbd5f9d3fe000676e8297ed +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC Plus"); +MODULE_LICENSE("GPL v2"); -From 825769116d94606c88804404423687a0cea4615c Mon Sep 17 00:00:00 2001 +From 8986e172411d979e42cb67684eb97ea1c0ce749d Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Tue, 28 Mar 2017 20:04:42 +0530 -Subject: [PATCH 203/207] Add support for Allo Boss DAC add-on board for +Subject: [PATCH 202/216] Add support for Allo Boss DAC add-on board for Raspberry Pi. (#1924) Signed-off-by: Baswaraj K @@ -139045,10 +139022,10 @@ index 0000000000000000000000000000000000000000..c080e31065d99ab309ab3bdf41a44adf +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Boss DAC"); +MODULE_LICENSE("GPL v2"); -From 1dca52ea72fdf3e5820d1c3ddb48d88845dfc643 Mon Sep 17 00:00:00 2001 +From b5f47bd86b3cd13babf9e54c2e0a2d9fbeefab48 Mon Sep 17 00:00:00 2001 From: BabuSubashChandar C Date: Thu, 30 Mar 2017 20:17:27 +0530 -Subject: [PATCH 204/207] Add support for new clock rate and mute gpios. +Subject: [PATCH 203/216] Add support for new clock rate and mute gpios. Signed-off-by: Baswaraj K Reviewed-by: Deepak @@ -139701,10 +139678,10 @@ index c080e31065d99ab309ab3bdf41a44adfdd8f8039..203ab76c7045b081578e23bda1099dd1 } -From 431302fab3a24777fcc66e6870087fdc30a39710 Mon Sep 17 00:00:00 2001 +From 160c9589a3cf98b20393f07082aa7f2540c6b02c Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Sat, 1 Apr 2017 00:46:52 +0530 -Subject: [PATCH 205/207] Add clock changes and mute gpios (#1938) +Subject: [PATCH 204/216] Add clock changes and mute gpios (#1938) Also improve code style and adhere to ALSA coding conventions. @@ -140397,10 +140374,152 @@ index f66f42abadbd5f9d3fe000676e8297ed91630e47..56e43f98846b41e487b3089813f7edc3 } -From 490edca292c1570ecd983d6f9638a30705f5625b Mon Sep 17 00:00:00 2001 +From ffc9f84b0055243cdb35b3a654b2e3c0ad05e192 Mon Sep 17 00:00:00 2001 +From: Yasunari Takiguchi +Date: Thu, 22 Dec 2016 15:34:12 +0900 +Subject: [PATCH 205/216] BCM2708: Add Raspberry Pi TV HAT Device Tree Support + +This is an EXAMPLE CODE of Raspberry Pi TV HAT device tree overlay. +Although this is not a part of our release code, it has been used to verify +CXD2880 device driver with TV HAT. + +Add the following line to /boot/config.txt to enable TV HAT: + +dtoverlay=rpi-tv + +Reboot Raspberry Pi and check the existance of /proc/device-tree/soc/spi@7e204000/cxd2880@0. +If exists, the installation is successful. you should be able to find the following three files. +/dev/dvb/adapter0/frontend0 +/dev/dvb/adapter0/demux0 +/dev/dvb/adapter0/dvr0 + +Signed-off-by: Yasunari Takiguchi +Signed-off-by: Masayuki Yamamoto +Signed-off-by: Hideki Nozawa +Signed-off-by: Kota Yonezawa +Signed-off-by: Toshihiko Matsumoto +Signed-off-by: Satoshi Watanabe +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 6 ++++++ + arch/arm/boot/dts/overlays/rpi-tv-overlay.dts | 31 +++++++++++++++++++++++++++ + 3 files changed, 38 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/rpi-tv-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index b64dd7ac0630b2b525809a9f5221420f34a58ac9..e2f66a55dc5afe13d690c2c17827054ac94b7168 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -81,6 +81,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ + rpi-ft5406.dtbo \ + rpi-proto.dtbo \ + rpi-sense.dtbo \ ++ rpi-tv.dtbo \ + rra-digidac1-wm8741-audio.dtbo \ + sc16is750-i2c.dtbo \ + sc16is752-spi1.dtbo \ +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 1377e5b8e8363c3e0ede318ce54bd784cb70d4c9..e2a803e5180cf78d67b6723cfd2f6d3b2b54e53b 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -1142,6 +1142,12 @@ Load: dtoverlay=rpi-sense + Params: + + ++Name: rpi-tv ++Info: Raspberry Pi TV HAT ++Load: dtoverlay=rpi-tv ++Params: ++ ++ + Name: rra-digidac1-wm8741-audio + Info: Configures the Red Rocks Audio DigiDAC1 soundcard + Load: dtoverlay=rra-digidac1-wm8741-audio +diff --git a/arch/arm/boot/dts/overlays/rpi-tv-overlay.dts b/arch/arm/boot/dts/overlays/rpi-tv-overlay.dts +new file mode 100644 +index 0000000000000000000000000000000000000000..a68f6f793d8efd8b2e2adf9f2fb6426f61ff464a +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/rpi-tv-overlay.dts +@@ -0,0 +1,31 @@ ++// rpi-tv HAT ++ ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708", "brcm,bcm2709"; ++ ++ fragment@0 { ++ target = <&spi0>; ++ __overlay__ { ++ /* needed to avoid dtc warning */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ status = "okay"; ++ ++ spidev@0 { ++ status = "disabled"; ++ }; ++ ++ cxd2880@0 { ++ compatible = "sony,cxd2880"; ++ reg = <0>; /* CE0 */ ++ spi-max-frequency = <50000000>; ++ status = "okay"; ++ }; ++ }; ++ }; ++ ++}; + +From 9ff80c399fc8785bfcc8e3b5bde5f2ff59e52dde Mon Sep 17 00:00:00 2001 +From: James Hughes +Date: Wed, 19 Apr 2017 11:13:40 +0100 +Subject: [PATCH 206/216] smsc95xx: Use skb_cow_head to deal with cloned skbs + +The driver was failing to check that the SKB wasn't cloned +before adding checksum data. +Replace existing handling to extend/copy the header buffer +with skb_cow_head. + +Signed-off-by: James Hughes +Acked-by: Eric Dumazet +Acked-by: Woojung Huh +Signed-off-by: David S. Miller +--- + drivers/net/usb/smsc95xx.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c +index df60c989fc229bf0aab3c27e95ccd45323367840..f6661e388f6e801c1b88e48a3b71407bd70cf56e 100644 +--- a/drivers/net/usb/smsc95xx.c ++++ b/drivers/net/usb/smsc95xx.c +@@ -2067,13 +2067,13 @@ static struct sk_buff *smsc95xx_tx_fixup(struct usbnet *dev, + /* We do not advertise SG, so skbs should be already linearized */ + BUG_ON(skb_shinfo(skb)->nr_frags); + +- if (skb_headroom(skb) < overhead) { +- struct sk_buff *skb2 = skb_copy_expand(skb, +- overhead, 0, flags); ++ /* Make writable and expand header space by overhead if required */ ++ if (skb_cow_head(skb, overhead)) { ++ /* Must deallocate here as returning NULL to indicate error ++ * means the skb won't be deallocated in the caller. ++ */ + dev_kfree_skb_any(skb); +- skb = skb2; +- if (!skb) +- return NULL; ++ return NULL; + } + + if (csum) { + +From eb8dc893aa25446d9b26ae86220774d9871f220b Mon Sep 17 00:00:00 2001 From: Yasunari Takiguchi Date: Fri, 14 Apr 2017 10:43:57 +0100 -Subject: [PATCH 206/207] This is the driver for Sony CXD2880 DVB-T2/T tuner + +Subject: [PATCH 207/216] This is the driver for Sony CXD2880 DVB-T2/T tuner + demodulator. It includes the CXD2880 driver and the CXD2880 SPI adapter. The current CXD2880 driver version is 1.4.1 - 1.0.1 released on April 13, 2017. @@ -156532,101 +156651,493 @@ index 0000000000000000000000000000000000000000..82e122349055be817eb74ed5bbcd7560 +MODULE_AUTHOR("Sony Semiconductor Solutions Corporation"); +MODULE_LICENSE("GPL v2"); -From 4337bdbae5d782bdc4a7f361a19b455b02e83a30 Mon Sep 17 00:00:00 2001 -From: Yasunari Takiguchi -Date: Thu, 22 Dec 2016 15:34:12 +0900 -Subject: [PATCH 207/207] BCM2708: Add Raspberry Pi TV HAT Device Tree Support +From 621b29e1be14025002f555d487689c49ef91aa7a Mon Sep 17 00:00:00 2001 +From: James Hughes +Date: Mon, 24 Apr 2017 12:40:50 +0100 +Subject: [PATCH 208/216] brcmfmac: Ensure pointer correctly set if skb data + location changes -This is an EXAMPLE CODE of Raspberry Pi TV HAT device tree overlay. -Although this is not a part of our release code, it has been used to verify -CXD2880 device driver with TV HAT. +The incoming skb header may be resized if header space is +insufficient, which might change the data adddress in the skb. +Ensure that a cached pointer to that data is correctly set by +moving assignment to after any possible changes. -Add the following line to /boot/config.txt to enable TV HAT: +Signed-off-by: James Hughes -dtoverlay=rpi-tv - -Reboot Raspberry Pi and check the existance of /proc/device-tree/soc/spi@7e204000/cxd2880@0. -If exists, the installation is successful. you should be able to find the following three files. -/dev/dvb/adapter0/frontend0 -/dev/dvb/adapter0/demux0 -/dev/dvb/adapter0/dvr0 - -Signed-off-by: Yasunari Takiguchi -Signed-off-by: Masayuki Yamamoto -Signed-off-by: Hideki Nozawa -Signed-off-by: Kota Yonezawa -Signed-off-by: Toshihiko Matsumoto -Signed-off-by: Satoshi Watanabe +Acked-by: Arend van Spriel +Signed-off-by: Kalle Valo --- - arch/arm/boot/dts/overlays/Makefile | 1 + - arch/arm/boot/dts/overlays/README | 6 ++++++ - arch/arm/boot/dts/overlays/rpi-tv-overlay.dts | 31 +++++++++++++++++++++++++++ - 3 files changed, 38 insertions(+) - create mode 100644 arch/arm/boot/dts/overlays/rpi-tv-overlay.dts + drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) -diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile -index b64dd7ac0630b2b525809a9f5221420f34a58ac9..e2f66a55dc5afe13d690c2c17827054ac94b7168 100644 ---- a/arch/arm/boot/dts/overlays/Makefile -+++ b/arch/arm/boot/dts/overlays/Makefile -@@ -81,6 +81,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ - rpi-ft5406.dtbo \ - rpi-proto.dtbo \ - rpi-sense.dtbo \ -+ rpi-tv.dtbo \ - rra-digidac1-wm8741-audio.dtbo \ - sc16is750-i2c.dtbo \ - sc16is752-spi1.dtbo \ -diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README -index 1377e5b8e8363c3e0ede318ce54bd784cb70d4c9..e2a803e5180cf78d67b6723cfd2f6d3b2b54e53b 100644 ---- a/arch/arm/boot/dts/overlays/README -+++ b/arch/arm/boot/dts/overlays/README -@@ -1142,6 +1142,12 @@ Load: dtoverlay=rpi-sense - Params: +diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c +index 9e6f60a0ec3eac7adac493b9fb337ffae62b6b9f..073cf8e51285cba541f26308970874805dfafa55 100644 +--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c ++++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c +@@ -198,7 +198,7 @@ static netdev_tx_t brcmf_netdev_start_xmit(struct sk_buff *skb, + int ret; + struct brcmf_if *ifp = netdev_priv(ndev); + struct brcmf_pub *drvr = ifp->drvr; +- struct ethhdr *eh = (struct ethhdr *)(skb->data); ++ struct ethhdr *eh; + brcmf_dbg(DATA, "Enter, bsscfgidx=%d\n", ifp->bsscfgidx); -+Name: rpi-tv -+Info: Raspberry Pi TV HAT -+Load: dtoverlay=rpi-tv -+Params: -+ -+ - Name: rra-digidac1-wm8741-audio - Info: Configures the Red Rocks Audio DigiDAC1 soundcard - Load: dtoverlay=rra-digidac1-wm8741-audio -diff --git a/arch/arm/boot/dts/overlays/rpi-tv-overlay.dts b/arch/arm/boot/dts/overlays/rpi-tv-overlay.dts -new file mode 100644 -index 0000000000000000000000000000000000000000..a68f6f793d8efd8b2e2adf9f2fb6426f61ff464a ---- /dev/null -+++ b/arch/arm/boot/dts/overlays/rpi-tv-overlay.dts -@@ -0,0 +1,31 @@ -+// rpi-tv HAT -+ -+/dts-v1/; -+/plugin/; -+ -+/ { -+ compatible = "brcm,bcm2708", "brcm,bcm2709"; -+ -+ fragment@0 { -+ target = <&spi0>; -+ __overlay__ { -+ /* needed to avoid dtc warning */ -+ #address-cells = <1>; -+ #size-cells = <0>; -+ -+ status = "okay"; -+ -+ spidev@0 { -+ status = "disabled"; -+ }; -+ -+ cxd2880@0 { -+ compatible = "sony,cxd2880"; -+ reg = <0>; /* CE0 */ -+ spi-max-frequency = <50000000>; -+ status = "okay"; -+ }; -+ }; -+ }; +@@ -236,6 +236,8 @@ static netdev_tx_t brcmf_netdev_start_xmit(struct sk_buff *skb, + goto done; + } + ++ eh = (struct ethhdr *)(skb->data); + + if (eh->h_proto == htons(ETH_P_PAE)) + atomic_inc(&ifp->pend_8021x_cnt); + + +From ebc0c25d34fb375e6da0270ae9c80855c3bcc1ba Mon Sep 17 00:00:00 2001 +From: James Hughes +Date: Tue, 25 Apr 2017 10:15:06 +0100 +Subject: [PATCH 209/216] brcmfmac: Make skb header writable before use + +The driver was making changes to the skb_header without +ensuring it was writable (i.e. uncloned). +This patch also removes some boiler plate header size +checking/adjustment code as that is also handled by the +skb_cow_header function used to make header writable. + +Signed-off-by: James Hughes +Acked-by: Arend van Spriel +Signed-off-by: Kalle Valo +--- + .../net/wireless/broadcom/brcm80211/brcmfmac/core.c | 19 +++++-------------- + 1 file changed, 5 insertions(+), 14 deletions(-) + +diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c +index 073cf8e51285cba541f26308970874805dfafa55..da8aad4f99126b5ac0c1da04e57c0d16b5954a8f 100644 +--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c ++++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c +@@ -211,22 +211,13 @@ static netdev_tx_t brcmf_netdev_start_xmit(struct sk_buff *skb, + goto done; + } + +- /* Make sure there's enough room for any header */ +- if (skb_headroom(skb) < drvr->hdrlen) { +- struct sk_buff *skb2; +- +- brcmf_dbg(INFO, "%s: insufficient headroom\n", ++ /* Make sure there's enough writable headroom*/ ++ ret = skb_cow_head(skb, drvr->hdrlen); ++ if (ret < 0) { ++ brcmf_err("%s: skb_cow_head failed\n", + brcmf_ifname(ifp)); +- drvr->bus_if->tx_realloc++; +- skb2 = skb_realloc_headroom(skb, drvr->hdrlen); + dev_kfree_skb(skb); +- skb = skb2; +- if (skb == NULL) { +- brcmf_err("%s: skb_realloc_headroom failed\n", +- brcmf_ifname(ifp)); +- ret = -ENOMEM; +- goto done; +- } ++ goto done; + } + + /* validate length for ether packet */ + +From 6c3fc19a12b8565776fa489ae3d3d2cd4d842672 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Wed, 26 Apr 2017 17:28:47 +0100 +Subject: [PATCH 210/216] clk: bcm2835: Limit PCM clock to OSC and PLLD_PER + +It is unwise to use sources other than the oscillator and PLLD_PER for +the PCM peripheral (and perhaps others - TBD) because their rate can +change and they may even be switched off, so explicitly restrict the +choice using dummy entries in the list of potential parents (item index +is significant). + +See: https://github.com/raspberrypi/linux/issues/1949 + +Signed-off-by: Phil Elwell +--- + drivers/clk/bcm/clk-bcm2835.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c +index fe3298b54cdfb96bd90fb4f39e13921d2e1d4356..c24b4defb2b046e4ecdc109befc2b22497060647 100644 +--- a/drivers/clk/bcm/clk-bcm2835.c ++++ b/drivers/clk/bcm/clk-bcm2835.c +@@ -1562,6 +1562,16 @@ static const char *const bcm2835_clock_per_parents[] = { + "pllh_aux", + }; + ++static const char *const bcm2835_pcm_per_parents[] = { ++ "-", ++ "xosc", ++ "-", ++ "-", ++ "-", ++ "-", ++ "plld_per", +}; ++ + #define REGISTER_PER_CLK(...) REGISTER_CLK( \ + .num_mux_parents = ARRAY_SIZE(bcm2835_clock_per_parents), \ + .parents = bcm2835_clock_per_parents, \ +@@ -2051,6 +2061,7 @@ static const struct bcm2835_clk_desc clk_desc_array[] = { + .int_bits = 12, + .frac_bits = 12, + .is_mash_clock = true, ++ .parents = bcm2835_pcm_per_parents, + .tcnt_mux = 23), + [BCM2835_CLOCK_PWM] = REGISTER_PER_CLK( + .name = "pwm", + +From bf649450ab2094c3596146f7d6b6540f9dfc9da9 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Wed, 26 Apr 2017 16:51:48 +0100 +Subject: [PATCH 211/216] dwc_otg: Add the dependency on FIQ + +Signed-off-by: popcornmix +--- + drivers/usb/host/Kconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig +index 99bc52546b8c912de72b4381ba8cf8e8ad61d7ee..e171094de214baba151ba612f8e80de618a2e06b 100644 +--- a/drivers/usb/host/Kconfig ++++ b/drivers/usb/host/Kconfig +@@ -765,7 +765,7 @@ config USB_HWA_HCD + + config USB_DWCOTG + tristate "Synopsis DWC host support" +- depends on USB ++ depends on USB && FIQ + help + The Synopsis DWC controller is a dual-role + host/peripheral/OTG ("On The Go") USB controllers. + +From 25496d0594f0bad1ca11ea75889636c6feb525ef Mon Sep 17 00:00:00 2001 +From: P33M +Date: Thu, 27 Apr 2017 16:24:34 +0100 +Subject: [PATCH 212/216] dwc_otg: make nak_holdoff work as intended with empty + queues + +If URBs reading from non-periodic split endpoints were dequeued and +the last transfer from the endpoint was a NAK handshake, the resulting +qh->nak_frame value was stale which would result in unnecessarily long +polling intervals for the first subsequent transfer with a fresh URB. + +Fixup qh->nak_frame in dwc_otg_hcd_urb_dequeue and also guard against +a case where a single URB is submitted to the endpoint, a NAK was +received on the transfer immediately prior to receiving data and the +device subsequently resubmits another URB past the qh->nak_frame interval. + +Fixes https://github.com/raspberrypi/linux/issues/1709 +--- + drivers/usb/host/dwc_otg/dwc_otg_hcd.c | 4 +++- + drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 10 ++++++---- + drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c | 4 ++++ + 3 files changed, 13 insertions(+), 5 deletions(-) + +diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd.c +index 0eb335f4bc8ec30fa68f830fc3e382330302686e..4852d08d542f66880244d3dac3bbd35e7f4feb4e 100644 +--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd.c ++++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd.c +@@ -616,7 +616,7 @@ int dwc_otg_hcd_urb_dequeue(dwc_otg_hcd_t * hcd, + if (fiq_fsm_enable && (hcd->fiq_state->channel[n].fsm != FIQ_PASSTHROUGH)) { + qh->channel->halt_status = DWC_OTG_HC_XFER_URB_DEQUEUE; + qh->channel->halt_pending = 1; +- hcd->fiq_state->channel[n].fsm = FIQ_DEQUEUE_ISSUED; ++ //hcd->fiq_state->channel[n].fsm = FIQ_DEQUEUE_ISSUED; + } else { + dwc_otg_hc_halt(hcd->core_if, qh->channel, + DWC_OTG_HC_XFER_URB_DEQUEUE); +@@ -634,6 +634,8 @@ int dwc_otg_hcd_urb_dequeue(dwc_otg_hcd_t * hcd, + hcd->core_if->dma_desc_enable?"DMA ":""); + if (!hcd->core_if->dma_desc_enable) { + uint8_t b = urb_qtd->in_process; ++ if (nak_holdoff && qh->do_split && dwc_qh_is_non_per(qh)) ++ qh->nak_frame = 0xFFFF; + dwc_otg_hcd_qtd_remove_and_free(hcd, urb_qtd, qh); + if (b) { + dwc_otg_hcd_qh_deactivate(hcd, qh, 0); +diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c +index b2618c15d1f1f0b062d4146672de5ae50e9e2d33..608e036be2c9484465ab836de70129335d3d2d96 100644 +--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c ++++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c +@@ -2382,15 +2382,17 @@ void dwc_otg_hcd_handle_hc_fsm(dwc_otg_hcd_t *hcd, uint32_t num) + fiq_print(FIQDBG_INT, hcd->fiq_state, "OUT %01d %01d ", num , st->fsm); + + hostchannels = hcd->available_host_channels; ++ if (hc->halt_pending) { ++ /* Dequeue: The FIQ was allowed to complete the transfer but state has been cleared. */ ++ release_channel(hcd, hc, NULL, hc->halt_status); ++ return; ++ } + switch (st->fsm) { + case FIQ_TEST: + break; + + case FIQ_DEQUEUE_ISSUED: +- /* hc_halt was called. QTD no longer exists. */ +- /* TODO: for a nonperiodic split transaction, need to issue a +- * CLEAR_TT_BUFFER hub command if we were in the start-split phase. +- */ ++ /* Handled above, but keep for posterity */ + release_channel(hcd, hc, NULL, hc->halt_status); + break; + +diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c +index c2dff94e8e6edd22e4427aaa1eac7aad972cb6bd..85a6d431ca54b47dc10573aa72d1ad69d06f2e36 100644 +--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c ++++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c +@@ -793,6 +793,10 @@ void dwc_otg_hcd_qh_deactivate(dwc_otg_hcd_t * hcd, dwc_otg_qh_t * qh, + /* Add back to inactive non-periodic schedule. */ + dwc_otg_hcd_qh_add(hcd, qh); + //hcd->fiq_state->kick_np_queues = 1; ++ } else { ++ if(nak_holdoff && qh->do_split) { ++ qh->nak_frame = 0xFFFF; ++ } + } + } else { + uint16_t frame_number = dwc_otg_hcd_get_frame_number(hcd); + +From 4b2d183f339551212df70318174903b6bcbb1848 Mon Sep 17 00:00:00 2001 +From: P33M +Date: Tue, 2 May 2017 16:31:15 +0100 +Subject: [PATCH 213/216] dwc_otg: fix split transaction data toggle handling + around dequeues + +See https://github.com/raspberrypi/linux/issues/1709 + +Fix several issues regarding endpoint state when URBs are dequeued +- If the HCD is disconnected, flush FIQ-enabled channels properly +- Save the data toggle state for bulk endpoints if the last transfer + from an endpoint where URBs were dequeued returned a data packet +- Reset hc->start_pkt_count properly in assign_and_init_hc() +--- + drivers/usb/host/dwc_otg/dwc_otg_hcd.c | 10 ++++++++-- + drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 19 ++++++++++++++++--- + 2 files changed, 24 insertions(+), 5 deletions(-) + +diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd.c +index 4852d08d542f66880244d3dac3bbd35e7f4feb4e..37c9d7d38287b616fcd335e80aa4110521fa98ca 100644 +--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd.c ++++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd.c +@@ -193,8 +193,13 @@ static void kill_urbs_in_qh_list(dwc_otg_hcd_t * hcd, dwc_list_link_t * qh_list) + * It is possible that the channel has already halted + * but not yet been through the IRQ handler. + */ +- dwc_otg_hc_halt(hcd->core_if, qh->channel, +- DWC_OTG_HC_XFER_URB_DEQUEUE); ++ if (fiq_fsm_enable && (hcd->fiq_state->channel[qh->channel->hc_num].fsm != FIQ_PASSTHROUGH)) { ++ qh->channel->halt_status = DWC_OTG_HC_XFER_URB_DEQUEUE; ++ qh->channel->halt_pending = 1; ++ } else { ++ dwc_otg_hc_halt(hcd->core_if, qh->channel, ++ DWC_OTG_HC_XFER_URB_DEQUEUE); ++ } + if(microframe_schedule) + hcd->available_host_channels++; + qh->channel = NULL; +@@ -1270,6 +1275,7 @@ static void assign_and_init_hc(dwc_otg_hcd_t * hcd, dwc_otg_qh_t * qh) + if (qh->do_split) { + uint32_t hub_addr, port_addr; + hc->do_split = 1; ++ hc->start_pkt_count = 1; + hc->xact_pos = qtd->isoc_split_pos; + /* We don't need to do complete splits anymore */ + // if(fiq_fsm_enable) +diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c +index 608e036be2c9484465ab836de70129335d3d2d96..718a1accc0c219a1764ce53d291de6a2b6f93608 100644 +--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c ++++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c +@@ -2378,12 +2378,20 @@ void dwc_otg_hcd_handle_hc_fsm(dwc_otg_hcd_t *hcd, uint32_t num) + dwc_otg_qh_t *qh = hc->qh; + dwc_otg_hc_regs_t *hc_regs = hcd->core_if->host_if->hc_regs[num]; + hcint_data_t hcint = hcd->fiq_state->channel[num].hcint_copy; ++ hctsiz_data_t hctsiz = hcd->fiq_state->channel[num].hctsiz_copy; + int hostchannels = 0; + fiq_print(FIQDBG_INT, hcd->fiq_state, "OUT %01d %01d ", num , st->fsm); + + hostchannels = hcd->available_host_channels; + if (hc->halt_pending) { + /* Dequeue: The FIQ was allowed to complete the transfer but state has been cleared. */ ++ if (st->fsm == FIQ_NP_SPLIT_DONE && hcint.b.xfercomp && qh->ep_type == UE_BULK) { ++ if (hctsiz.b.pid == DWC_HCTSIZ_DATA0) { ++ qh->data_toggle = DWC_OTG_HC_PID_DATA1; ++ } else { ++ qh->data_toggle = DWC_OTG_HC_PID_DATA0; ++ } ++ } + release_channel(hcd, hc, NULL, hc->halt_status); + return; + } +@@ -2641,10 +2649,15 @@ int32_t dwc_otg_hcd_handle_hc_n_intr(dwc_otg_hcd_t * dwc_otg_hcd, uint32_t num) + hc = dwc_otg_hcd->hc_ptr_array[num]; + hc_regs = dwc_otg_hcd->core_if->host_if->hc_regs[num]; + if(hc->halt_status == DWC_OTG_HC_XFER_URB_DEQUEUE) { +- /* We are responding to a channel disable. Driver +- * state is cleared - our qtd has gone away. ++ /* A dequeue was issued for this transfer. Our QTD has gone away ++ * but in the case of a FIQ transfer, the transfer would have run ++ * to completion. + */ +- release_channel(dwc_otg_hcd, hc, NULL, hc->halt_status); ++ if (fiq_fsm_enable && dwc_otg_hcd->fiq_state->channel[num].fsm != FIQ_PASSTHROUGH) { ++ dwc_otg_hcd_handle_hc_fsm(dwc_otg_hcd, num); ++ } else { ++ release_channel(dwc_otg_hcd, hc, NULL, hc->halt_status); ++ } + return 1; + } + qtd = DWC_CIRCLEQ_FIRST(&hc->qh->qtd_list); + +From f1860f849c3b109ede221aae0e173f840494b196 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Tue, 2 May 2017 16:36:05 +0100 +Subject: [PATCH 214/216] vcsm: Treat EBUSY as success rather than SIGBUS + +Currently if two cores access the same page concurrently one will return VM_FAULT_NOPAGE +and the other VM_FAULT_SIGBUS crashing the user code. + +Also report when mapping fails. + +Signed-off-by: popcornmix +--- + drivers/char/broadcom/vc_sm/vmcs_sm.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/drivers/char/broadcom/vc_sm/vmcs_sm.c b/drivers/char/broadcom/vc_sm/vmcs_sm.c +index 8b6f2476769e956fb30d4c8a24789565e78444c1..f6292d82baa23ace41b20aa90dc407d1f8a23563 100644 +--- a/drivers/char/broadcom/vc_sm/vmcs_sm.c ++++ b/drivers/char/broadcom/vc_sm/vmcs_sm.c +@@ -1181,11 +1181,20 @@ static int vcsm_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) + switch (ret) { + case 0: + case -ERESTARTSYS: ++ /* ++ * EBUSY is ok: this just means that another thread ++ * already did the job. ++ */ ++ case -EBUSY: + return VM_FAULT_NOPAGE; + case -ENOMEM: + case -EAGAIN: ++ pr_err("[%s]: failed to map page pfn:%lx virt:%lx ret:%d\n", __func__, ++ pfn, (unsigned long)vmf->address, ret); + return VM_FAULT_OOM; + default: ++ pr_err("[%s]: failed to map page pfn:%lx virt:%lx ret:%d\n", __func__, ++ pfn, (unsigned long)vmf->address, ret); + return VM_FAULT_SIGBUS; + } + } + +From 896a71b3f5ff08db0d0762302146668b5bde3214 Mon Sep 17 00:00:00 2001 +From: P33M +Date: Thu, 4 May 2017 12:58:11 +0100 +Subject: [PATCH 215/216] fiq_fsm: Use correct states when starting isoc OUT + transfers + +In fiq_fsm_start_next_periodic() if an isochronous OUT transfer +was selected, no regard was given as to whether this was a single-packet +transfer or a multi-packet staged transfer. + +For single-packet transfers, this had the effect of repeatedly sending +OUT packets with bogus data and lengths. + +Eventually if the channel was repeatedly enabled enough times, this +would lock up the OTG core and no further bus transfers would happen. + +Set the FSM state up properly if we select a single-packet transfer. + +Fixes https://github.com/raspberrypi/linux/issues/1842 +--- + drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c b/drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c +index 9304279592cb5b388086ef91cb52f1e9f94868ce..208252645c09d1d17bf07673989f91b7f4b3ef7a 100644 +--- a/drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c ++++ b/drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c +@@ -491,7 +491,10 @@ static void notrace noinline fiq_fsm_start_next_periodic(struct fiq_state *st, i + if (st->channel[n].fsm == FIQ_PER_ISO_OUT_PENDING) { + if (!fiq_fsm_tt_in_use(st, num_channels, n)) { + fiq_print(FIQDBG_INT, st, "NEXTISO "); +- st->channel[n].fsm = FIQ_PER_ISO_OUT_ACTIVE; ++ if (st->channel[n].nrpackets == 1) ++ st->channel[n].fsm = FIQ_PER_ISO_OUT_LAST; ++ else ++ st->channel[n].fsm = FIQ_PER_ISO_OUT_ACTIVE; + fiq_fsm_restart_channel(st, n, 0); + break; + } + +From ec32f020001ded7ab43025023209c7115722fe0b Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Thu, 4 May 2017 17:38:22 +0100 +Subject: [PATCH 216/216] bcm2708_fb: Avoid firmware mbox call in vc_mem_copy + +If firmware has locked up it is useful to get vcdbg log out without a firmware mbox response. +Issue the mbox call at probe time instead. + +Signed-off-by: popcornmix +--- + drivers/video/fbdev/bcm2708_fb.c | 18 ++++++++++-------- + 1 file changed, 10 insertions(+), 8 deletions(-) + +diff --git a/drivers/video/fbdev/bcm2708_fb.c b/drivers/video/fbdev/bcm2708_fb.c +index 53c5a0bdadb4be9251affdabed66305842a08e72..612293cf9f1bd93ad2f2aefdd7ca0f5eb2a412f0 100644 +--- a/drivers/video/fbdev/bcm2708_fb.c ++++ b/drivers/video/fbdev/bcm2708_fb.c +@@ -96,6 +96,7 @@ struct bcm2708_fb { + wait_queue_head_t dma_waitq; + struct bcm2708_fb_stats stats; + unsigned long fb_bus_address; ++ struct { u32 base, length; } gpu; + }; + + #define to_bcm2708(info) container_of(info, struct bcm2708_fb, fb) +@@ -472,7 +473,6 @@ static long vc_mem_copy(struct bcm2708_fb *fb, unsigned long arg) + dma_addr_t bus_addr; + long rc = 0; + size_t offset; +- struct { u32 base, length; } gpu = {}; + + /* restrict this to root user */ + if (!uid_eq(current_euid(), GLOBAL_ROOT_UID)) +@@ -491,16 +491,13 @@ static long vc_mem_copy(struct bcm2708_fb *fb, unsigned long arg) + goto out; + } + +- rc = rpi_firmware_property(fb->fw, +- RPI_FIRMWARE_GET_VC_MEMORY, +- &gpu, sizeof(gpu)); +- if (rc != 0 || gpu.base == 0 || gpu.length == 0) { +- pr_err("[%s]: Unable to determine gpu memory %ld,%x,%x)\n", __func__, rc, gpu.base, gpu.length); ++ if (fb->gpu.base == 0 || fb->gpu.length == 0) { ++ pr_err("[%s]: Unable to determine gpu memory (%x,%x)\n", __func__, fb->gpu.base, fb->gpu.length); + return -EFAULT; + } + +- if (INTALIAS_NORMAL(ioparam.src) < gpu.base || INTALIAS_NORMAL(ioparam.src) >= gpu.base + gpu.length) { +- pr_err("[%s]: Invalid memory access %x (%x-%x)", __func__, INTALIAS_NORMAL(ioparam.src), gpu.base, gpu.base + gpu.length); ++ if (INTALIAS_NORMAL(ioparam.src) < fb->gpu.base || INTALIAS_NORMAL(ioparam.src) >= fb->gpu.base + fb->gpu.length) { ++ pr_err("[%s]: Invalid memory access %x (%x-%x)", __func__, INTALIAS_NORMAL(ioparam.src), fb->gpu.base, fb->gpu.base + fb->gpu.length); + return -EFAULT; + } + +@@ -869,6 +866,11 @@ static int bcm2708_fb_probe(struct platform_device *dev) + fb->dev = dev; + fb->fb.device = &dev->dev; + ++ // failure here isn't fatal, but we'll fail in vc_mem_copy if fb->gpu is not valid ++ rpi_firmware_property(fb->fw, ++ RPI_FIRMWARE_GET_VC_MEMORY, ++ &fb->gpu, sizeof(fb->gpu)); ++ + ret = bcm2708_fb_register(fb); + if (ret == 0) { + platform_set_drvdata(dev, fb);