From 7be0ebfaeadce12599aad159f979768a652e96c6 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Fri, 9 Feb 2018 18:11:07 +0000 Subject: [PATCH] RPi: update linux support patch for linux 4.14.17 --- .../patches/linux/linux-01-RPi_support.patch | 1333 +++++++++++------ 1 file changed, 836 insertions(+), 497 deletions(-) diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index 6134c6999f..5ba2ebdc8f 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 ec06c33081ec180f67bd661801084ca0cc39b8a1 Mon Sep 17 00:00:00 2001 +From 1e2b0964ca214f15142b9475a7a6d41fd0b19bfa Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Thu, 21 Sep 2017 09:55:42 -0500 -Subject: [PATCH 001/200] arm: partially revert +Subject: [PATCH 001/207] arm: partially revert 702b94bff3c50542a6e4ab9a4f4cef093262fe65 * Re-expose some dmi APIs for use in VCSM @@ -106,10 +106,10 @@ index 054b491ff7649ca067ff821770aec80a4da42102..70e8b7d3443467ae9595924f1a9d043b EXPORT_SYMBOL(cpu_cache); #endif -From d34510add6ef520921ff2607a937bdeaba01c107 Mon Sep 17 00:00:00 2001 +From 52a6ef9ad0da2a8d84fec175e31afab4cb26c0c6 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 002/200] smsx95xx: fix crimes against truesize +Subject: [PATCH 002/207] 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. @@ -156,10 +156,10 @@ index 309b88acd3d0b6ca1528dde7b27a23926f9be952..25e37195ceb00cfc0ced7638e8b571a1 usbnet_skb_return(dev, ax_skb); } -From 8b94596a9143cc51700bdba795b3f5f99503de2c Mon Sep 17 00:00:00 2001 +From ab3c7745013417898a535bd2feb75454782b6703 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 003/200] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 003/207] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -202,10 +202,10 @@ index 25e37195ceb00cfc0ced7638e8b571a1b0b8e6f1..09c7d4a07299e70b1cdc9df2c2c4cb39 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From f628e03f01c46c443d1b3dcd64e542f3325e27e3 Mon Sep 17 00:00:00 2001 +From e62e5e33132adbc5631bd79921d94fd45fee93f6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 004/200] Allow mac address to be set in smsc95xx +Subject: [PATCH 004/207] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -301,10 +301,10 @@ index 09c7d4a07299e70b1cdc9df2c2c4cb39d2207c37..4d9704d0b184df9bd7ddbe6769e40a75 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From ed2d6cc02ae7009f680215f61bedbc31b73e2481 Mon Sep 17 00:00:00 2001 +From e1366ea20a3ff99bcff0a4f5e14ee938c9caa5b5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 005/200] Protect __release_resource against resources without +Subject: [PATCH 005/207] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -332,10 +332,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From a21a870a43dac21964f92b8199a8b1ca52e57d40 Mon Sep 17 00:00:00 2001 +From 270d2cdb518f021d64a1908600119c8f5977f75c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 006/200] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 006/207] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -362,10 +362,10 @@ index dc8c1e3eafe794a3af83dd987a6d6362d14dd5ee..e8204d9af58f1b893505c06902a83390 #endif } else if (stat) { -From 9e2d5d5950e3ee3c5cccfbc7858f1b2c3d43824c Mon Sep 17 00:00:00 2001 +From c5f9633510cf5b7fa9fdd920934d137f13ee7fb7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:33:30 +0000 -Subject: [PATCH 007/200] irq-bcm2836: Avoid "Invalid trigger warning" +Subject: [PATCH 007/207] irq-bcm2836: Avoid "Invalid trigger warning" Initialise the level for each IRQ to avoid a warning from the arm arch timer code. @@ -389,10 +389,10 @@ index e8204d9af58f1b893505c06902a83390c2ea8509..6e3fab9587b782e026c01fa6b6e40338 static void -From 96c2dd63272548d80a556db2dc0d94f98c278831 Mon Sep 17 00:00:00 2001 +From 0d7801b8b3759f35b2b9c64a8ef6a632886ce253 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 008/200] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 008/207] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -521,10 +521,10 @@ index d2da8a1e6b1b71381e382d034e7a94e865a6c3da..c4903360eabc2bef04f8e745782cea26 } -From ae69a0ab2e0e558b6d2ff53ddfaaefa726c98cf0 Mon Sep 17 00:00:00 2001 +From 6bcea754ebb9cef69ce5ed55235f6c2a58b2c636 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 009/200] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 009/207] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -623,10 +623,10 @@ index c4903360eabc2bef04f8e745782cea268fb22897..13356d3b7bcd508f058c6a9e3c4b0b38 for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From 5584cc5741cc8a69a34688c8c78c0e1b34b6d060 Mon Sep 17 00:00:00 2001 +From 05100023c6b50c2b2747410c2432f32836a53aca Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 8 May 2017 16:43:40 +0100 -Subject: [PATCH 010/200] irq_bcm2836: Send event when onlining sleeping cores +Subject: [PATCH 010/207] irq_bcm2836: Send event when onlining sleeping cores In order to reduce power consumption and bus traffic, it is sensible for secondary cores to enter a low-power idle state when waiting to @@ -662,10 +662,10 @@ index 6e3fab9587b782e026c01fa6b6e40338ef0c8d0a..86b357ae027bf8ba1ac32cd150a8cf21 } -From 739664ccd3e0c52b75a3e2a7bc7c692b8eb14d24 Mon Sep 17 00:00:00 2001 +From 190cedbd8b6d8d52dc6ba8ebfd42b8a23c802aa7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 011/200] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 011/207] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -686,10 +686,10 @@ index cda10719d1d1b21b32866d2b79363faa461ab8e1..4f3779d3aa0960640506725bde918075 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 39d0fe115b4f362fbcb2d9d0ef2f00a488c0ae17 Mon Sep 17 00:00:00 2001 +From 8454ed1bf62a20300592ed9efaeb8b05101a9a26 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 012/200] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 012/207] 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 @@ -770,10 +770,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 22868163727fb3d6abe32df77093d5b37d3715c4 Mon Sep 17 00:00:00 2001 +From db79654a0b650118ee66e2714b00462766f0f6c4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 013/200] spi-bcm2835: Disable forced software CS +Subject: [PATCH 013/207] 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 @@ -807,10 +807,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From 96a94557716f689bc39d3a19f71e18530e8b6ef2 Mon Sep 17 00:00:00 2001 +From 2508738325ed36afc5d66b75fa2dc12294d485e7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 014/200] spi-bcm2835: Remove unused code +Subject: [PATCH 014/207] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -898,10 +898,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From 86225597a967eff17b2adf86e151b9af3457474f Mon Sep 17 00:00:00 2001 +From f41049d8cca472cdbb98f372b39d223d04591183 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 015/200] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 015/207] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -954,10 +954,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From f038caaa8b5095d1bcf6bb7c1f9632689c27f53b Mon Sep 17 00:00:00 2001 +From a19e190e7d9cbe8a0df9b8c9403889ea0d877224 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 016/200] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 016/207] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1060,10 +1060,10 @@ index 6204cc32d09c5096df8aec304c3c37b3bcb6be44..599c218dc8a73172dd4bd4a058fc8f95 MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From ad949795f5084f5c5357ccb645abba18446aceb2 Mon Sep 17 00:00:00 2001 +From a94249ffc22105a5ddf8b65cd07eb7af8804be9a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 017/200] firmware: Updated mailbox header +Subject: [PATCH 017/207] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 21 +++++++++++++++++++++ @@ -1149,10 +1149,10 @@ index cb979ad90401e299344dd5fae38d09c489d8bd58..cbd1674570433fc591df89f68c892b33 #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From b153b7cb78902c4bc0468af86854ba7c517d14c3 Mon Sep 17 00:00:00 2001 +From 3a747b94dc957a566b6c77408ba501a37e11ed36 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 018/200] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 018/207] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1172,10 +1172,10 @@ index 8895f77726e8da5444afcd602dceff8f25a9b3fd..1833b8853ceb0e6147cceb93a00e558c MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From e1327651aa236734255e6cd0327d01f1e52154b9 Mon Sep 17 00:00:00 2001 +From 4a41818b8f67a6e46d87d1451af8cc3fe6be5a61 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 019/200] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 019/207] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1277,10 +1277,10 @@ index b339e0e67b4c1275fd4992fea4f1e24c0575b783..26b7177573fac2af1cd4ab5488d2686f static int bcm2835_wdt_probe(struct platform_device *pdev) -From aa7e933bb06e0a4a000ebfef306dc9bfdb18c34c Mon Sep 17 00:00:00 2001 +From 4d755def044dea087676b7c5995985c9c0e1b431 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 020/200] reboot: Use power off rather than busy spinning when +Subject: [PATCH 020/207] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1303,10 +1303,10 @@ index 3b2aa9a9fe268d45335f781c4aa22cf573753a1b..0180d89a34af45c56243fe0f17fbe209 /* -From 7ae844ae5a3d3ec62c1b2add0b3329f0e3c76275 Mon Sep 17 00:00:00 2001 +From a3f966dc990bcab9465006db9f8180c8c28507f2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 021/200] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 021/207] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1325,10 +1325,10 @@ index 49f1e2a75d614bc21db152327c7b425ae2504f8d..dccd2374ed00631abd441e3e9d78ee74 help This enables support for the RPi power domains which can be enabled -From e261e7a4bad5bf8209cc448fe1b6cafe23d76738 Mon Sep 17 00:00:00 2001 +From 94cb6bef68f3efc5020914db0758c2776b039702 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 022/200] Register the clocks early during the boot process, so +Subject: [PATCH 022/207] 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. @@ -1373,10 +1373,10 @@ index 58ce6af8452db9ca8b4d3c380a06e448919f6a8d..11d89d106026f15719ea25047d6f357b MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From 525c486f969ec8c72a8d9ede7315ce0b1fc5bdd2 Mon Sep 17 00:00:00 2001 +From ac10b41b5e31eccaddf2f54da2f2a38019c99092 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 023/200] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 023/207] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1402,10 +1402,10 @@ index 574211a495491d9d6021dcaefe4274a63ed02055..e66c0fca8c6090e32f72796c0877a1cf err = hwrng_register(&bcm2835_rng_ops); if (err) { -From 1f44e645dbfd726f3214a41ba50e6f1309c2010f Mon Sep 17 00:00:00 2001 +From b3a28452acb46d8dc53aca9b27305d134ae16b87 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 024/200] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 024/207] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -1425,10 +1425,10 @@ index 9ffd3dda3889c56a7a72229bed21ff5c49d62856..00da6c9bacbf33334233e22ca5209ade esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From 430059e76eeb63f24877a5e9e2af30ef9fe5bd1f Mon Sep 17 00:00:00 2001 +From 687c3ca267714f8da9fdef7c076efc2b864d4075 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 025/200] BCM2835_DT: Fix I2S register map +Subject: [PATCH 025/207] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -1466,10 +1466,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From a43cf2ad517e69edb366178020daec6357f481fc Mon Sep 17 00:00:00 2001 +From 245025deeb7072f3138e5f68d6d35bd0fb3aff13 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 026/200] clk-bcm2835: Mark used PLLs and dividers CRITICAL +Subject: [PATCH 026/207] 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 @@ -1497,10 +1497,10 @@ index 11d89d106026f15719ea25047d6f357b4bfcb2c5..fe8f5d65f2749cb3ddc878df61664826 divider->data = data; -From dcaad3a01760bb9e5463b01c1ccbe35a7b67fcc6 Mon Sep 17 00:00:00 2001 +From d410f03e5a1ed6e02989543fd269ad4beba7a0bd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 027/200] clk-bcm2835: Add claim-clocks property +Subject: [PATCH 027/207] 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, @@ -1602,10 +1602,10 @@ index fe8f5d65f2749cb3ddc878df616648267441e0ee..92b5e0f5145b32d3bfc3592fe381e8be sizeof(cprman_parent_names)); of_clk_parent_fill(dev->of_node, cprman->real_parent_names, -From acfb9dbe6168930962a12ee00be3c4ef55b6a878 Mon Sep 17 00:00:00 2001 +From db2268e1925c47021c15a9df79b1054da3528ce9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Mar 2017 09:06:18 +0000 -Subject: [PATCH 028/200] clk-bcm2835: Read max core clock from firmware +Subject: [PATCH 028/207] 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 @@ -1720,10 +1720,10 @@ index 92b5e0f5145b32d3bfc3592fe381e8be3cd90c72..336f8c9c44325d0a94e591a8557f7af2 for (i = 0; !of_property_read_u32_index(pdev->dev.of_node, "claim-clocks", -From 5bea7c22d1d43e736a6d1f56ccd8124c7f24ee0c Mon Sep 17 00:00:00 2001 +From 320d8af88bc83694142e01d1c30f85420d9e6cf3 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 029/200] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 029/207] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -1761,10 +1761,10 @@ index 336f8c9c44325d0a94e591a8557f7af246adc857..caa05e5ad0b7b5cd683e04fb3591a3df * Pass the CLK_SET_RATE_PARENT flag if we are allowed to propagate * rate changes on at least of the parents. -From 2dc5ffbc592dd3f27d6df9af23d3fba3db1b2bcc Mon Sep 17 00:00:00 2001 +From a7f6b16887f41b89a5cda0a93526915e819f2216 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:36:44 +0000 -Subject: [PATCH 030/200] sound: Demote deferral errors to INFO level +Subject: [PATCH 030/207] 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. @@ -1799,10 +1799,10 @@ index fee4b0ef5566cf9e8de0bf5c568706da9cab2ea2..c728a4148903e983d61b6ae65765ba11 goto _err_defer; } -From a01811192b89a496aeea13bd362290f94d16b587 Mon Sep 17 00:00:00 2001 +From e613ab67c1a8289c6a9f9f88bf1b52ec66df2228 Mon Sep 17 00:00:00 2001 From: Claggy3 Date: Sat, 11 Feb 2017 14:00:30 +0000 -Subject: [PATCH 031/200] Update vfpmodule.c +Subject: [PATCH 031/207] 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 @@ -1939,10 +1939,10 @@ index a71a48e71fffa8626fe90106815376c44bbe679b..d6c0a5a0a5ae3510db3ace5e3f5d3410 /* * Save the userland NEON/VFP state. Under UP, -From 541f97767c43e7c9200ea194abbd69872b764455 Mon Sep 17 00:00:00 2001 +From c0577d43216b4be22f8dfab98177a63b5acad392 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 21:13:24 +1100 -Subject: [PATCH 032/200] ASoC: bcm2835_i2s.c: relax the ch2 register setting +Subject: [PATCH 032/207] 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. @@ -1963,10 +1963,10 @@ index 6ba20498202ed36906b52096893a88867a79269f..56df7d8a43d0aac055a91b0d24aca8e1 format |= BCM2835_I2S_CH1(BCM2835_I2S_CHPOS(ch1pos)); format |= BCM2835_I2S_CH2(BCM2835_I2S_CHPOS(ch2pos)); -From ff74f76a688f9d28dfaa4d0363a250cbe98ba60c Mon Sep 17 00:00:00 2001 +From 6667677d0fe1fa729c8a61cc3a95a8bbde809fee 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 033/200] i2c: bcm2835: Add debug support +Subject: [PATCH 033/207] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2155,10 +2155,10 @@ index cd07a69e2e9355540442785f95e90823b05c9d10..47167f403cc8329bd811b47c7011c299 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From 259ffd5f7cf4b7425b8baa5cfbf9f6a69a665532 Mon Sep 17 00:00:00 2001 +From f5df70f27257d44cf98544bd106c89db0e0688c0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 034/200] mm: Remove the PFN busy warning +Subject: [PATCH 034/207] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -2183,10 +2183,10 @@ index 2de080003693cebfb037dbb5a6e2e262823149a5..e277ffcb04835b5e2b982355e309c2ec goto done; } -From 1910c87f7e0db4a8f2bf2af51b3ee01d3a8e7a4a Mon Sep 17 00:00:00 2001 +From c7e2c25704ca3a41d4ed24b9f5a6e27f67759af0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 10:06:56 +0000 -Subject: [PATCH 035/200] ASoC: Add prompt for ICS43432 codec +Subject: [PATCH 035/207] 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 @@ -2211,10 +2211,10 @@ index c367d11079bc90feec2ad0fa748d7ffc3035faba..91d5b531b69b49db97f7febbc60d33a2 config SND_SOC_INNO_RK3036 tristate "Inno codec driver for RK3036 SoC" -From 5f1f00ab83852f9ae1b680a973c6511bef458d09 Mon Sep 17 00:00:00 2001 +From bec112bc59aeb5e1b78dd5b0c47f42da6a4b1dbc Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 036/200] Main bcm2708/bcm2709 linux port +Subject: [PATCH 036/207] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2402,10 +2402,10 @@ index cfb4b4496dd9f61362dea012176c146120fada07..d9c6c217c4d6a2408abe2665bf7f2700 MODULE_AUTHOR("Lubomir Rintel "); MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); -From da7121cba1362e232e87b636129d1887c9afce56 Mon Sep 17 00:00:00 2001 +From 03e715f575d5a843869a3cdc98dd1e7daee95733 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 037/200] Add dwc_otg driver +Subject: [PATCH 037/207] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -63702,10 +63702,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From 3832f5569ff5f9971591e3d4e3fed1cba500c204 Mon Sep 17 00:00:00 2001 +From 3ec9efc652c5e49b1495ebeebc43d9de758caec5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 038/200] bcm2708 framebuffer driver +Subject: [PATCH 038/207] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67164,10 +67164,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 a53a2a1947b1b32b7d45dbb8fd0f65f76206ac2c Mon Sep 17 00:00:00 2001 +From 47a6a81b6fc8191a2d8d61a36e7b5657cc9496f3 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 039/200] dmaengine: Add support for BCM2708 +Subject: [PATCH 039/207] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67798,10 +67798,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From 75f5e0f9a4ead6b5ad8d7a63f52dfc526c24cf62 Mon Sep 17 00:00:00 2001 +From 4c70edc1dd506ac3643de1971ee31c38316b353e Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 040/200] MMC: added alternative MMC driver +Subject: [PATCH 040/207] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69681,10 +69681,10 @@ index 279b39008a33bb68745d9ea55ea5dd7ed522fd1c..49bdea5791a289251019a89419804dde unsigned int erase_size; /* erase size in sectors */ -From 3e43b3e3a96eefd94c0683fc3f3789050db979e0 Mon Sep 17 00:00:00 2001 +From 73c49973a5f6a7c1d06dd184560b6983192e5eef Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 041/200] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 041/207] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -72090,10 +72090,10 @@ index 0000000000000000000000000000000000000000..9c6f199a7830959f31012d86bc1f8b1a +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From f9a27d82dd4154def2d875ada740edfe419f2b98 Mon Sep 17 00:00:00 2001 +From 02a556156a663791af4cb6da64125bfe3a55e87e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 042/200] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 042/207] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -72618,10 +72618,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From db1e451e120b8e2f5889fbfcf577cc90432b6488 Mon Sep 17 00:00:00 2001 +From 1ecbe79620c228c16733b11b30c0964daa9373b4 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 043/200] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 043/207] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -77499,10 +77499,10 @@ index 0000000000000000000000000000000000000000..b75729d762f25aace133f7a008633b40 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From 7c877816bf6e00a4fa6ba161c6b8a470fd367809 Mon Sep 17 00:00:00 2001 +From 115f4580f2fa5829d1a90d1fd839695b22ba96c2 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 044/200] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 044/207] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -77810,10 +77810,10 @@ index 0000000000000000000000000000000000000000..f5e7f1ba8fb6f18dee77fad06a17480c +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 643f34769e0659689123d2bf30f261f71f031ada Mon Sep 17 00:00:00 2001 +From 8e60b3fa0f5c9377523632c0efa7bee93d6ebe8d Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 045/200] Add SMI driver +Subject: [PATCH 045/207] Add SMI driver Signed-off-by: Luke Wren --- @@ -79764,10 +79764,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From 4f5cf967d7757c87b4db11b711347701aef7b936 Mon Sep 17 00:00:00 2001 +From 276cdcae7c1682a676a8bbe7339f57bd30aa2262 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 046/200] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 046/207] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -79936,10 +79936,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From d9d96236258b6a1fe37003e220cadc5b69fa4903 Mon Sep 17 00:00:00 2001 +From 1d300c95d762dcef8390ee48e888fabf9551d1be Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 047/200] Add SMI NAND driver +Subject: [PATCH 047/207] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -80304,10 +80304,10 @@ index 0000000000000000000000000000000000000000..c4826ea1c2bae555ce780e61f1076ddd + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From 83fd964f2000f2ee74cb7a91ca73112fb499f369 Mon Sep 17 00:00:00 2001 +From cd86515e699ae903db4e34832deb790654d7a6b9 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 048/200] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 048/207] 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 @@ -81167,10 +81167,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From e2725cf7110fd9d0fb8ee0148617c499abe69b73 Mon Sep 17 00:00:00 2001 +From 8f2981a134bec792c725f3a63e66f8d7df2c8466 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 049/200] Add cpufreq driver +Subject: [PATCH 049/207] Add cpufreq driver Signed-off-by: popcornmix @@ -81434,10 +81434,10 @@ index 0000000000000000000000000000000000000000..99345969b0e4d651fd9033d67de2febb +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 46a9efc20e0ed93e722c6b340346da71883e3d1a Mon Sep 17 00:00:00 2001 +From eea0ece254d58c11cc928d9c1639ff6bfd777bf3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 050/200] Add Chris Boot's i2c driver +Subject: [PATCH 050/207] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82102,10 +82102,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From 7e4826ac190f62ce076de0b14e737599c2d8c4a4 Mon Sep 17 00:00:00 2001 +From 8e47e11afb6769fd5bb829afc887d3ea7b855ebe 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 051/200] char: broadcom: Add vcio module +Subject: [PATCH 051/207] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82330,10 +82330,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From 2cff6fa61abb227c239f3acef994b05e1b70ee2c Mon Sep 17 00:00:00 2001 +From d5d19f927070d5dcddf80fb86c6e14bdaa85e79b 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 052/200] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 052/207] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82416,10 +82416,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From c7d3d55fa3954ecbf03a5847990321ea46d1cc6b Mon Sep 17 00:00:00 2001 +From ad9ec670ac186dd39c9be11df4d168b460d6400b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 053/200] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 053/207] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -82946,10 +82946,10 @@ index 0000000000000000000000000000000000000000..84be2593ec1de8f97b0167ff06b3e05d + return $trailer; +} -From 50e13b7544223e2f1bdbbb19b64747cbf3d3b39f Mon Sep 17 00:00:00 2001 +From bddec6526b4761d2eb3decfc24ae25c6c9d02812 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 054/200] BCM2708: Add core Device Tree support +Subject: [PATCH 054/207] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -95414,10 +95414,10 @@ index 04b5633df1cfafa316f9086c4bf98a9ecf9d0939..d523d1e14220a369c4c766ca3a01208e # Bzip2 -From 24eca6319722a3f249a0c9d2060fa09792e4d519 Mon Sep 17 00:00:00 2001 +From 2907b748bbb4cf1c8b9f98db09af98fc025182bf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 055/200] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 055/207] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -95592,10 +95592,10 @@ index bf6db4fe895bcd67e04ee65e8f76ea104af6299f..8741dca6dba65e2d72fbdbc1702139c2 /* set_brightness_work / blink_timer flags, atomic, private. */ unsigned long work_flags; -From 3b118c506cc9fecbd5af2a4b700dbe7b22c4d081 Mon Sep 17 00:00:00 2001 +From 06c63d461a73a821b8cee0e8f7f84e3eda78b866 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 056/200] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 056/207] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -95863,10 +95863,10 @@ index 6cd9b198b7c64eb94821f2e3f2c5201e6c6d25eb..f36c92c2da7487437c33f7a4e2c6e09e __u32 dx; /* screen-relative */ __u32 dy; -From 4fa4f9d643a333354d79174fa6cbf3cb0c24e394 Mon Sep 17 00:00:00 2001 +From 51f89f5e46c84832517d6c3972ee2252b416a946 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 057/200] Speed up console framebuffer imageblit function +Subject: [PATCH 057/207] 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 @@ -96075,10 +96075,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 8b3a737a43f48d36e213ff02fd7c12398738fbf0 Mon Sep 17 00:00:00 2001 +From 08b04f5b70aca5c92ed471b8c3a0cb103950f124 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 058/200] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 058/207] 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 @@ -96328,10 +96328,10 @@ index 5b2972946dda5f9ad415f1eaeaab67743a5cc0f0..b3558b7c9efb2484b40e31312aee197b u8, w1_slave_found_callback); }; -From 938239fe53acdd71d45059354f99780dc68b1163 Mon Sep 17 00:00:00 2001 +From a58e7a933df93c3637d8592a159c709e05499f88 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 059/200] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 059/207] 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 @@ -96676,10 +96676,10 @@ index 0000000000000000000000000000000000000000..9d7d05482355d168c5c0c42508cd9789 +MODULE_DESCRIPTION("Touchscreen driver for memory based FT5406"); +MODULE_LICENSE("GPL"); -From 0f003d6d71c2b08f2a4834d5eacc65db3b85e981 Mon Sep 17 00:00:00 2001 +From 9e5cb023bbdba9d55ed847779b689b35d2ae681f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 060/200] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 060/207] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -98259,10 +98259,10 @@ index 971bc298f63eeeed418131b7b7200ac91b0d73f1..78e9f6e8c6fdebdb754cb703095d1726 bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From 5eb68392444bc7fc816edca85c57adf813505404 Mon Sep 17 00:00:00 2001 +From 1919dd2d5393a1078827aa77a931c1954dfdf65e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 061/200] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 061/207] 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 @@ -98297,10 +98297,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From 52039d02b8283055743d974589f57f4c733d4093 Mon Sep 17 00:00:00 2001 +From 8625345d7dc8ecc5c3b3aad3ee2fae9232348f50 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 062/200] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 062/207] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -99165,10 +99165,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From 38c23692cb58fae150b1b4ac056272dfe06d4505 Mon Sep 17 00:00:00 2001 +From 8d5ad7b05b3cad2cc254cee02bb70b437436bc70 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 063/200] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 063/207] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -99343,10 +99343,10 @@ index 0000000000000000000000000000000000000000..ee9f133953544629282631e5ef3f73fe +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From c8385ffe283b0e07d46fa55378d33d1f5eead311 Mon Sep 17 00:00:00 2001 +From 0687a393f0d747b602617e47de7bb7ed6df033f0 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 064/200] ASoC: Add support for Rpi-DAC +Subject: [PATCH 064/207] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -99630,10 +99630,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 9f69e17db9003ee48f999c5daee2faea29f96036 Mon Sep 17 00:00:00 2001 +From 8e2c6d57d45b966332f29b458fa91b0afc911ba5 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 065/200] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 065/207] 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 @@ -99682,10 +99682,10 @@ index fc69b87443d80489382b97332de6d5ad12a58ec8..d8fdce81b297dcf02e144bdead0c6193 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From c4152bd20eba863eeb67a9ea0ec5c9c4aeb7b423 Mon Sep 17 00:00:00 2001 +From 3c5d5412e8a585f9d1c8919a2043ec8f3aa74ade Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 066/200] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 066/207] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -100029,10 +100029,10 @@ index 0000000000000000000000000000000000000000..7620dd02de40b6d644ff038b445d375d +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From 4eb0c0c3c9fd53c22466807c8624ba7730a8fd77 Mon Sep 17 00:00:00 2001 +From 5fef733679c31fb2689be196504682eb73f5474d Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 067/200] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 067/207] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -100367,10 +100367,10 @@ index 0000000000000000000000000000000000000000..1ee4097c846376666775272ed692ca33 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From be27066c72a512b9178f6515a1d368c9273f23ec Mon Sep 17 00:00:00 2001 +From b0a0199ff118006f1ac8092e503169469cbf70d3 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 068/200] Added support for HiFiBerry DAC+ +Subject: [PATCH 068/207] 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. @@ -101005,10 +101005,10 @@ index 68feae262476492ae3a0b30855dbb09e96fa187e..f7b0977017ed5a6c02eafa0147d49d66 dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From 44fac3021d455ece5d6ad5f73431aae3af46a202 Mon Sep 17 00:00:00 2001 +From 411f4482c49e612c16e074fe119ca98bf1261123 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 069/200] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 069/207] 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. @@ -101843,10 +101843,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From db4395682e9dac8f7e19782bb264c6fc35fc3c48 Mon Sep 17 00:00:00 2001 +From 511690dd10c5df8025d408aa5d9314d6a0490b7b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 070/200] Add driver for rpi-proto +Subject: [PATCH 070/207] 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 @@ -102061,10 +102061,10 @@ index 0000000000000000000000000000000000000000..fadbfade100228aaafabb0d3bdf35c01 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From d7b2f770c02f4f56b4b177f73b2d29ee6a884d40 Mon Sep 17 00:00:00 2001 +From f7b8abb35ff426e4ed628d6156bdba81deae7e51 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 071/200] RaspiDAC3 support +Subject: [PATCH 071/207] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -102307,10 +102307,10 @@ index 0000000000000000000000000000000000000000..ad2b5b89bc8213dc2e277306ef50d6e3 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From baf538d537290c70d85cac39b84b3b0155693d9c Mon Sep 17 00:00:00 2001 +From df5a8f745e04e9ea81562cbbbf256e3d88906a39 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 072/200] Add Support for JustBoom Audio boards +Subject: [PATCH 072/207] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -102766,10 +102766,10 @@ index 0000000000000000000000000000000000000000..909cf8928f2f4313982316f9c5b8a709 +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From 8063c0d9f1e4fe44535c29518c0a3eb72676d415 Mon Sep 17 00:00:00 2001 +From 537627f9f425bf0b16567ef1001c0cf7b08c7d89 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 073/200] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 073/207] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -102951,10 +102951,10 @@ index 0000000000000000000000000000000000000000..f3d7e5db7bb912e1d7ca6f8e8d42df5f +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From 924ca72868a6110d8ee3935e7c90b4910896cd27 Mon Sep 17 00:00:00 2001 +From d6c76aec33a54006d2314874ef40b84247785258 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 074/200] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 074/207] 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. @@ -103205,10 +103205,10 @@ index 0000000000000000000000000000000000000000..491906bbf446826e55dd843f28e4860f +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From 4fa98556db88388ab28c2c96fc3dccecfd35c7d8 Mon Sep 17 00:00:00 2001 +From d780f80fbb0c1f9d14e0f580826c34c385ac85f7 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 075/200] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 075/207] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -103508,10 +103508,10 @@ index 0000000000000000000000000000000000000000..33aa2be8a43a12a12cfb5d844dd9732c +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From 65ee59d9650748f69b6dec94529c5321adff28a4 Mon Sep 17 00:00:00 2001 +From 50da4a92441dae8e2cd2cfb78e347a22d5dcac06 Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 076/200] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 076/207] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -103984,10 +103984,10 @@ index 0000000000000000000000000000000000000000..f200688bb4ae32b90a0ced555aed94b0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From 23b71dce3b78d7fac3661602e2c3988261edd659 Mon Sep 17 00:00:00 2001 +From e87b0323d3c849d94dc8b7d44d9e5bfa069e2588 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 077/200] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 077/207] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -104160,10 +104160,10 @@ index 0000000000000000000000000000000000000000..65e03741d349a2dc5bd91f69855ea952 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From 9003e8ae543d4db61211844b5dd8df3ed757724f Mon Sep 17 00:00:00 2001 +From 95d424583ca874f7211ae73868f012de7dad4674 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 078/200] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 078/207] 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, @@ -104370,10 +104370,10 @@ index 0000000000000000000000000000000000000000..eaf50fb6dbca1970ae1c6f8662088b0f +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From b2d4615a91210ece692ca71371d2e23f636df047 Mon Sep 17 00:00:00 2001 +From 169d36fd62711235b38621cccb3c36ff74cd08ff Mon Sep 17 00:00:00 2001 From: Raashid Muhammed Date: Mon, 27 Mar 2017 12:35:00 +0530 -Subject: [PATCH 079/200] Add support for Allo Piano DAC 2.1 plus add-on board +Subject: [PATCH 079/207] 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. @@ -105461,10 +105461,10 @@ index 0000000000000000000000000000000000000000..1800f5e4d414e2d83a9487a89a2800a3 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC Plus"); +MODULE_LICENSE("GPL v2"); -From 387e9213c67ddca54ba03446e6df7ebffc311fd1 Mon Sep 17 00:00:00 2001 +From 577048f21bad772ebc8fb3274a115584f547471e Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Tue, 28 Mar 2017 20:04:42 +0530 -Subject: [PATCH 080/200] Add support for Allo Boss DAC add-on board for +Subject: [PATCH 080/207] Add support for Allo Boss DAC add-on board for Raspberry Pi. (#1924) Signed-off-by: Baswaraj K @@ -106167,10 +106167,10 @@ index 0000000000000000000000000000000000000000..203ab76c7045b081578e23bda1099dd1 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Boss DAC"); +MODULE_LICENSE("GPL v2"); -From 7f46ea14b8fd38ff251149afdcac97e9c2f0e43a Mon Sep 17 00:00:00 2001 +From ea680c0b7d6297cee20a259b531b27ecd7b8e651 Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 081/200] Support for Blokas Labs pisound board +Subject: [PATCH 081/207] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -107369,10 +107369,10 @@ index 0000000000000000000000000000000000000000..06ff1e53dc9d860946965b6303577762 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From d39e608653edf4ed21040d13cdee4f18a6110ad3 Mon Sep 17 00:00:00 2001 +From 96d5b0f8fb34e66b8e25b78021e77e37fffa971c Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:37 +0100 -Subject: [PATCH 082/200] ASoC: Add driver for Cirrus Logic Audio Card +Subject: [PATCH 082/207] 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 @@ -108437,10 +108437,10 @@ index 0000000000000000000000000000000000000000..ac8651ddff7bd3701dffe22c7fb88352 +MODULE_DESCRIPTION("ASoC driver for Cirrus Logic Audio Card"); +MODULE_LICENSE("GPL"); -From bc650058f0e63e1b93ac003131b88b39def37dcd Mon Sep 17 00:00:00 2001 +From 6561a2b376e2824d784c1367c535c6195807e9e9 Mon Sep 17 00:00:00 2001 From: Miquel Date: Fri, 24 Feb 2017 20:51:06 +0100 -Subject: [PATCH 083/200] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT +Subject: [PATCH 083/207] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT Signed-off-by: Miquel Blauw --- @@ -108635,10 +108635,10 @@ index 0000000000000000000000000000000000000000..a009c49477972a9832175d86f201b035 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO-V2"); +MODULE_LICENSE("GPL v2"); -From 271293c471ca90e05a5f31396b5fd4dcb63c2b4b Mon Sep 17 00:00:00 2001 +From 8039c01d57d52708eb6ba3dd4697d1503252ec8c Mon Sep 17 00:00:00 2001 From: Fe-Pi Date: Wed, 1 Mar 2017 04:42:43 -0700 -Subject: [PATCH 084/200] Add support for Fe-Pi audio sound card. (#1867) +Subject: [PATCH 084/207] 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. @@ -108852,10 +108852,10 @@ index 0000000000000000000000000000000000000000..015b56fd73cc36be5b5eecd17548fd03 +MODULE_DESCRIPTION("ASoC Driver for Fe-Pi Audio"); +MODULE_LICENSE("GPL v2"); -From 54ff4ec0c68a34b2c00dfa06ef306fa6a38bdfb5 Mon Sep 17 00:00:00 2001 +From 59a497abd0c773d8d11191c1331fd0a6614fc51d Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 20:04:13 +1100 -Subject: [PATCH 085/200] Add support for the AudioInjector.net Octo sound card +Subject: [PATCH 085/207] Add support for the AudioInjector.net Octo sound card AudioInjector Octo: sample rates, regulators, reset @@ -109264,10 +109264,10 @@ index 0000000000000000000000000000000000000000..5e79f4eff93a21ed3495c77a90f73525 +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:audioinjector-octo-soundcard"); -From 49bbf2a84ff15588bdf5770c5af36e95e4898b05 Mon Sep 17 00:00:00 2001 +From 89f232c68b419d3af07fbc1a28c6d53e48fb63b8 Mon Sep 17 00:00:00 2001 From: Peter Malkin Date: Mon, 27 Mar 2017 16:38:21 -0700 -Subject: [PATCH 086/200] Driver support for Google voiceHAT soundcard. +Subject: [PATCH 086/207] Driver support for Google voiceHAT soundcard. --- sound/soc/bcm/Kconfig | 7 ++ @@ -109658,10 +109658,10 @@ index 0000000000000000000000000000000000000000..225854b8e5298b3c3018f59a49404354 +MODULE_DESCRIPTION("ASoC Driver for Google voiceHAT SoundCard"); +MODULE_LICENSE("GPL v2"); -From 8fc9a25e73f8b06da88bed369e294c91edcec1db Mon Sep 17 00:00:00 2001 +From 936be10bf1999f8ccada0b1b3ae1e9967e3c438a Mon Sep 17 00:00:00 2001 From: sandeepal Date: Fri, 2 Jun 2017 18:59:46 +0530 -Subject: [PATCH 087/200] Allo Digione Driver (#2048) +Subject: [PATCH 087/207] Allo Digione Driver (#2048) Driver for the Allo Digione soundcard @@ -109984,10 +109984,10 @@ index 0000000000000000000000000000000000000000..9387b055875fdf92a13dc4a9d2727f95 +MODULE_DESCRIPTION("ASoC Driver for Allo DigiOne"); +MODULE_LICENSE("GPL v2"); -From a34ca511bff8acdc6bfe148ad22be54bbc52a234 Mon Sep 17 00:00:00 2001 +From 392744664f1b6e871ec805684a78108ca1b312fd Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 088/200] rpi_display: add backlight driver and overlay +Subject: [PATCH 088/207] 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 @@ -110156,10 +110156,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From b20dbdaf56e28b91e4b435217ecde8744866b9bc Mon Sep 17 00:00:00 2001 +From b8d1e5e3cec6797abfbe6ea94b3f6ee06739e9c3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 089/200] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 089/207] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -110420,10 +110420,10 @@ index 0000000000000000000000000000000000000000..c3725546def9d4a6264fbb1f6b9814d0 +MODULE_DESCRIPTION("brcmvirt GPIO driver"); +MODULE_ALIAS("platform:brcmvirt-gpio"); -From 28f8533b6632ab1d1ec583fcfb9d1b5739fddc3c Mon Sep 17 00:00:00 2001 +From f80c519d77555c4b1fc17768e08ef63b508bb420 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 20 Feb 2017 17:01:21 +0000 -Subject: [PATCH 090/200] bcm2835-gpio-exp: Driver for GPIO expander via +Subject: [PATCH 090/207] bcm2835-gpio-exp: Driver for GPIO expander via mailbox service Pi3 and Compute Module 3 have a GPIO expander that the @@ -110732,10 +110732,10 @@ index 0000000000000000000000000000000000000000..d68adafaee4ad406f45f4ff0d6b7c1ad +MODULE_DESCRIPTION("brcm-exp GPIO driver"); +MODULE_ALIAS("platform:brcmexp-gpio"); -From 9478d29cf18bb54dbbf192fb3ca35911c0ae73f2 Mon Sep 17 00:00:00 2001 +From 7f538994de5d978844e1f137f6ee00e0c5e389aa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 091/200] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 091/207] 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 @@ -110764,10 +110764,10 @@ index 111e6a95077978c2c30bfe2a2de4a0d095e8d76e..584471add0962c0e26eb814fc0ef43ee uap->old_cr = 0; uap->port.dev = dev; -From 147a40ef983398cd1ca5839e58e1cd862e2f6ced Mon Sep 17 00:00:00 2001 +From 2d360ceb683799079e553a41b91bccb6ab396cbe Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:07:39 +0000 -Subject: [PATCH 092/200] amba_pl011: Round input clock up +Subject: [PATCH 092/207] 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 @@ -110853,10 +110853,10 @@ index 584471add0962c0e26eb814fc0ef43eea99b2d29..bfbc845d7be9ef804468d0a82da18d9b /* unregisters the driver also if no more ports are left */ static void pl011_unregister_port(struct uart_amba_port *uap) -From 3f4a34b89785edc9793134981c1e705d8efc8d33 Mon Sep 17 00:00:00 2001 +From edd222e60fef045b1e996a5327d1970a3b874361 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 093/200] OF: DT-Overlay configfs interface +Subject: [PATCH 093/207] 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. @@ -111289,10 +111289,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From fcc5ecaf2bc0a5c0eeb95e6f1451fd924d967fd3 Mon Sep 17 00:00:00 2001 +From 0a8ac78ab3324488cae34714750ead4b4e0e1f53 Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 094/200] brcm: adds support for BCM43341 wifi +Subject: [PATCH 094/207] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -111424,10 +111424,10 @@ index b3fa8ae804650f7ea838ff59ca84dfb6ca24da90..c1e86df297edf2fa7f641e36ccbfc733 BRCMF_FW_NVRAM_ENTRY(BRCM_CC_43362_CHIP_ID, 0xFFFFFFFE, 43362), BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4339_CHIP_ID, 0xFFFFFFFF, 4339), -From edca6dc67c8810f2c768dda4eb723787313c30d7 Mon Sep 17 00:00:00 2001 +From 582f6d2f13a1af503502828ab52494efdc6bbbce Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Feb 2017 15:26:13 +0000 -Subject: [PATCH 095/200] brcmfmac: Mute expected startup 'errors' +Subject: [PATCH 095/207] brcmfmac: Mute expected startup 'errors' The brcmfmac WiFi driver always complains about the '00' country code. Modify the driver to ignore '00' silently. @@ -111451,10 +111451,10 @@ index 2d3b5e2a3ef7cd6186487b48665b401249380d18..e417454f5d6ec136cda29e65af5449f2 req->alpha2[0], req->alpha2[1]); return; -From 4f25cce1c05f43228262963044d2430fed786101 Mon Sep 17 00:00:00 2001 +From 07afd34c832b56d29e75b692a6c4ba2fb72a5946 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 096/200] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 096/207] 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. @@ -111477,10 +111477,10 @@ index c0e4e26dc30d7c3c6a771b7b86df88c8cf763646..7308287259eedcaf229f8a496a0e3826 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From 095040049a1d05aef53ee7a0b9ee6ded12156425 Mon Sep 17 00:00:00 2001 +From 54979dbe0a4120a37a2488580e4ac3ba3d8e79b1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 097/200] config: Add default configs +Subject: [PATCH 097/207] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1339 +++++++++++++++++++++++++++++++++++ @@ -114185,10 +114185,10 @@ index 0000000000000000000000000000000000000000..c1da808d40bc8e867b41d3566bd60a75 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From a7d0233678830a6389adec98dc2279658fe5df2c Mon Sep 17 00:00:00 2001 +From f7b1827cf70f088720af349cb4df824de7da1174 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 098/200] Add arm64 configuration and device tree differences. +Subject: [PATCH 098/207] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -115602,10 +115602,10 @@ index 0000000000000000000000000000000000000000..e6b09fafa27eed2b762e3d53b55041f7 +CONFIG_LIBCRC32C=y +CONFIG_BCM2835_VCHIQ=n -From a47dadc0048314a6871e9b880aa88fbe2cc1a9fa Mon Sep 17 00:00:00 2001 +From 8fbcba759c8e0c7679092ce5b9bcd34dc6f921a5 Mon Sep 17 00:00:00 2001 From: Electron752 Date: Thu, 12 Jan 2017 07:07:08 -0800 -Subject: [PATCH 099/200] ARM64: Make it work again on 4.9 (#1790) +Subject: [PATCH 099/207] 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. @@ -116016,10 +116016,10 @@ index e6b09fafa27eed2b762e3d53b55041f793683d27..c7e891d72969a388d9b135a36dbfc9c9 CONFIG_LIBCRC32C=y -CONFIG_BCM2835_VCHIQ=n -From fd471a077d8863aeace8c7a08f103e84b816dc14 Mon Sep 17 00:00:00 2001 +From ccba0f5d1e1faf2ad767f2e9f6f9ed74caa45294 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:10:07 -0800 -Subject: [PATCH 100/200] ARM64: Enable HDMI audio and vc04_services in +Subject: [PATCH 100/207] ARM64: Enable HDMI audio and vc04_services in bcmrpi3_defconfig Signed-off-by: Michael Zoran @@ -116048,10 +116048,10 @@ index c7e891d72969a388d9b135a36dbfc9c9cb609bf8..4b90f9b64abe9f089ba56b13d5a00de3 CONFIG_BCM2835_MBOX=y # CONFIG_IOMMU_SUPPORT is not set -From e23b4c7a888bf70140d2d0fa88a93c7ba834b3af Mon Sep 17 00:00:00 2001 +From 03fcb7f45459dbb4a955b471a6b54b46a22c020e Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:14:03 -0800 -Subject: [PATCH 101/200] ARM64: Run bcmrpi3_defconfig through savedefconfig. +Subject: [PATCH 101/207] ARM64: Run bcmrpi3_defconfig through savedefconfig. Signed-off-by: Michael Zoran --- @@ -116096,10 +116096,10 @@ index 4b90f9b64abe9f089ba56b13d5a00de33343bfb9..dac962ca1634662ce7d966f1ffb53b5b CONFIG_FB_TFT_AGM1264K_FL=m CONFIG_FB_TFT_BD663474=m -From d0e5f2e887f162e65c4b5a60f5b68c25378b98fd Mon Sep 17 00:00:00 2001 +From b79095255e9438ab398dcaabacc36af7b761c49d Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 14 Jan 2017 02:54:26 -0800 -Subject: [PATCH 102/200] ARM64: Enable Kernel Address Space Randomization +Subject: [PATCH 102/207] ARM64: Enable Kernel Address Space Randomization (#1792) Randomization allows the mapping between virtual addresses and physical @@ -116131,10 +116131,10 @@ index dac962ca1634662ce7d966f1ffb53b5bfa27c506..aae33b4b3c3e736ea7cd3ca242158ad6 CONFIG_BINFMT_MISC=y CONFIG_COMPAT=y -From c76aa1c450f100d68aa73d0ffd121c44cc5a4835 Mon Sep 17 00:00:00 2001 +From ceb2e7a33feb13ebee8dfc5d71d3c952e4235822 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sun, 15 Jan 2017 07:31:59 -0800 -Subject: [PATCH 103/200] ARM64: Enable RTL8187/RTL8192CU wifi in build config +Subject: [PATCH 103/207] 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 @@ -116159,10 +116159,10 @@ index aae33b4b3c3e736ea7cd3ca242158ad6ba558aff..b7d762df19b85e369a32cd823dfd0621 CONFIG_ZD1211RW=m CONFIG_MAC80211_HWSIM=m -From b305268cd2d7d1e2e41cda547bbca66cb374f882 Mon Sep 17 00:00:00 2001 +From 91730736fb31df7f574baff86c3595807f06048a Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 104/200] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 104/207] 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 @@ -116505,10 +116505,10 @@ index 6b2c7d0c93f36a63863ff4b0ecc1f3eab77e058b..d7b700ff17821ad1944e36721fe6b2db /** The OS page size */ #define DWC_OS_PAGE_SIZE PAGE_SIZE -From 7b9d13b25e47ae0bfbc6c46f1a6b9439f3c12043 Mon Sep 17 00:00:00 2001 +From f535514e0af823b5c514a4b06c00b1a0d6f553c3 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 105/200] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 105/207] 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 @@ -116582,10 +116582,10 @@ index 86b357ae027bf8ba1ac32cd150a8cf21e36597e2..05b17ca993f405c4c8e61a782ec58149 .name = "bcm2836-gpu", .irq_mask = bcm2836_arm_irqchip_mask_gpu_irq, -From bbac971b089a27de2f290e118a7e80f55e9d5188 Mon Sep 17 00:00:00 2001 +From 6503b360c868d5d0d4ee61d9ec1e71a72ae9748a Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:45:03 -0800 -Subject: [PATCH 106/200] ARM64: Enable DWC_OTG Driver In ARM64 Build +Subject: [PATCH 106/207] ARM64: Enable DWC_OTG Driver In ARM64 Build Config(bcmrpi3_defconfig) Signed-off-by: Michael Zoran @@ -116606,10 +116606,10 @@ index b7d762df19b85e369a32cd823dfd062145bdefa7..4d85c231c5ea0244e1b05fb4a5e3c8fd CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From e639c0bb0e5fbd4ca83cefb2ccf9ee76462d782b Mon Sep 17 00:00:00 2001 +From f7504e5b53f7458f8b570efb96d541247602a301 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 11 Feb 2017 01:18:31 -0800 -Subject: [PATCH 107/200] ARM64: Force hardware emulation of deprecated +Subject: [PATCH 107/207] ARM64: Force hardware emulation of deprecated instructions. --- @@ -116637,10 +116637,10 @@ index d06fbe4cd38d7423c900aff64b0e728f995478d3..877b7c90f9555203d5d55d739359a256 case INSN_OBSOLETE: insn->current_mode = INSN_UNDEF; -From 209bd01549cdc3e0da07b1bb1cfc1cc05dd5dc11 Mon Sep 17 00:00:00 2001 +From a2ac93fa4a678704183cc92ac96eca701bf2f5a8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Feb 2017 17:57:08 -0800 -Subject: [PATCH 108/200] build/arm64: Add rules for .dtbo files for dts +Subject: [PATCH 108/207] build/arm64: Add rules for .dtbo files for dts overlays We now create overlays as .dtbo files. @@ -116665,10 +116665,10 @@ index 7318165cfc90b5b4e36048fbafd9287a1cf3516f..f6f5df3f262b0baf1338bea188d78883 dtbs: prepare scripts -From e74dbb4982996b5bfddd84214fb7f9b119c67b12 Mon Sep 17 00:00:00 2001 +From bd9fdf7f95066445b25c22d468e9074d19957d83 Mon Sep 17 00:00:00 2001 From: Bilal Amarni Date: Wed, 24 May 2017 10:52:50 +0200 -Subject: [PATCH 109/200] enable drivers for GPIO expander and vcio +Subject: [PATCH 109/207] enable drivers for GPIO expander and vcio --- arch/arm64/configs/bcmrpi3_defconfig | 3 +++ @@ -116696,10 +116696,10 @@ index 4d85c231c5ea0244e1b05fb4a5e3c8fd3e651ddf..9dcb58a519d041fadae99c81a7bda621 CONFIG_GPIO_ARIZONA=m CONFIG_GPIO_STMPE=y -From 181c2f898de2a6b54b8d13a94dc95f663624bc31 Mon Sep 17 00:00:00 2001 +From a23f5fee016f26bb8f26e003bf868da313bf6f2b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 16:34:46 +0000 -Subject: [PATCH 110/200] bcm2835-aux: Add aux interrupt controller +Subject: [PATCH 110/207] 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 @@ -116863,10 +116863,10 @@ index bd750cf2238d61489811e7d7bd3b5f9950ed53c8..41e0702fae4692221980b0d02aed1ba6 BCM2835_AUX_CLOCK_COUNT, GFP_KERNEL); if (!onecell) -From 0825f23ed9687d40bbbd959175b792d351e1231d Mon Sep 17 00:00:00 2001 +From 15f068e36831033aa43caf48d183312a7ea07eec Mon Sep 17 00:00:00 2001 From: Yasunari Takiguchi Date: Fri, 14 Apr 2017 10:43:57 +0100 -Subject: [PATCH 111/200] This is the driver for Sony CXD2880 DVB-T2/T tuner + +Subject: [PATCH 111/207] 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. @@ -132998,10 +132998,10 @@ index 0000000000000000000000000000000000000000..82e122349055be817eb74ed5bbcd7560 +MODULE_AUTHOR("Sony Semiconductor Solutions Corporation"); +MODULE_LICENSE("GPL v2"); -From efe67f8e5880e399f71835386da8a07443105c9e Mon Sep 17 00:00:00 2001 +From 415064acbe7b05576195a10089b984375da5ce87 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 112/200] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 112/207] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -133033,10 +133033,10 @@ index 3f070bd38a91511c986e3fb114b15bd4ac32634c..f261b64d1657c02290904d841e1f087c /** * rpi_firmware_property_list - Submit firmware property list -From 1ac9d36805a116823bd2205aa15f88d118c24027 Mon Sep 17 00:00:00 2001 +From e967540b0d2d93fd952c254b57e1fb9ac278441a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 113/200] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 113/207] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -133807,10 +133807,10 @@ index 0000000000000000000000000000000000000000..78c34305935501248b1ca548a1ee0175 + }, +}; -From a7c3b0532b564331f9b1e1c262aa3b4a3584af24 Mon Sep 17 00:00:00 2001 +From 8b52941d0b342a00d956a926520a238691b025dd Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:09:18 -0800 -Subject: [PATCH 114/200] drm/vc4: Name the primary and cursor planes in fkms. +Subject: [PATCH 114/207] drm/vc4: Name the primary and cursor planes in fkms. This makes debugging nicer, compared to trying to remember what the IDs are. @@ -133834,10 +133834,10 @@ index 78c34305935501248b1ca548a1ee01753b8fa099..d9a5551d01a2155e3df1bbbd78a1ee2b if (type == DRM_PLANE_TYPE_PRIMARY) { vc4_plane->fbinfo = -From 9ff37a9169cf513365b09eb5f78a0619f896ada2 Mon Sep 17 00:00:00 2001 +From de601ac4d281b3d73424b523ee703c663116290c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:10:09 -0800 -Subject: [PATCH 115/200] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of +Subject: [PATCH 115/207] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. Trying to debug weston on fkms involved figuring out what calls I was @@ -133907,10 +133907,10 @@ index d9a5551d01a2155e3df1bbbd78a1ee2b961be946..e372666af0119b1876bad5167e6d0ff8 RPI_FIRMWARE_SET_CURSOR_STATE, &packet_state, -From 067973526db6e41a9d0e771d13e5b2155e2bc634 Mon Sep 17 00:00:00 2001 +From 4fb9d4b2fb1b7154ab579383f02a56cc4c09be12 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Feb 2017 09:42:18 -0800 -Subject: [PATCH 116/200] drm/vc4: Fix sending of page flip completion events +Subject: [PATCH 116/207] 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 @@ -133952,10 +133952,10 @@ index e372666af0119b1876bad5167e6d0ff8945d1b80..4d7b7f218cbbc9e7abcaa37743978060 static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc) -From 588ab64bb6c92409b8d277017c5215d6663cc990 Mon Sep 17 00:00:00 2001 +From e1587d27c07e3a0fa97c9a24c4ec273647ffbc37 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 18 Apr 2017 21:43:46 +0100 -Subject: [PATCH 117/200] vc4_fkms: Apply firmware overscan offset to hardware +Subject: [PATCH 117/207] vc4_fkms: Apply firmware overscan offset to hardware cursor --- @@ -134012,10 +134012,10 @@ index 4d7b7f218cbbc9e7abcaa37743978060b73fbdd1..d170775ccc985637ff018804f510a500 return 0; -From 2761b600ae473e2d238d8d97d86c26cc4301c8d9 Mon Sep 17 00:00:00 2001 +From 5468d7cd29096063a2101c81fb86e5a2b71a3a1f Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 11:34:26 +0200 -Subject: [PATCH 118/200] ASoC: bcm2835: Add support for TDM modes +Subject: [PATCH 118/207] ASoC: bcm2835: Add support for TDM modes bcm2835 supports arbitrary positioning of channel data within a frame and thus is capable of supporting TDM modes. Since @@ -134417,10 +134417,10 @@ index 56df7d8a43d0aac055a91b0d24aca8e1b4e308e4..dcacf7f83c9371df539a788ea33fedcf dev->dev = &pdev->dev; dev_set_drvdata(&pdev->dev, dev); -From 65bcb44414bbe832df89487e8c976325804fe45e Mon Sep 17 00:00:00 2001 +From b357d5f55d902bdc426aa0f59d83b9c3201e09e2 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 15:30:50 +0200 -Subject: [PATCH 119/200] ASoC: bcm2835: Support left/right justified and DSP +Subject: [PATCH 119/207] ASoC: bcm2835: Support left/right justified and DSP modes DSP modes and left/right justified modes can be supported @@ -134666,10 +134666,10 @@ index dcacf7f83c9371df539a788ea33fedcf97d64690..3a706fda4f39e42efbe12f19d87af9b1 } -From 2bc6f0026b418d084afc055a99009e1db72c89a6 Mon Sep 17 00:00:00 2001 +From 7dd10bc5df4fdb57eed29af3c3b876fab1a7ffaf Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:19:54 +0200 -Subject: [PATCH 120/200] ASoC: bcm2835: Support additional samplerates up to +Subject: [PATCH 120/207] ASoC: bcm2835: Support additional samplerates up to 384kHz Sample rates are only restricted by the capabilities of the @@ -134712,10 +134712,10 @@ index 3a706fda4f39e42efbe12f19d87af9b100a348a5..43f5715a0d5dda851731ecf7ff27e76c | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE -From 7f9c39d98c85ac56d9380a7dbe0bfc8844379cb3 Mon Sep 17 00:00:00 2001 +From 94920cc2693b88dd2f2544fdd74a99c65138e031 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:24:57 +0200 -Subject: [PATCH 121/200] ASoC: bcm2835: Enforce full symmetry +Subject: [PATCH 121/207] ASoC: bcm2835: Enforce full symmetry bcm2835's configuration registers can't be changed when a stream is running, which means asymmetric configurations aren't supported. @@ -134751,10 +134751,10 @@ index 43f5715a0d5dda851731ecf7ff27e76c48fb6e57..2e449d7173fcecbcd647f90a26bd58b6 static bool bcm2835_i2s_volatile_reg(struct device *dev, unsigned int reg) -From 880fd084837bcdb82f8dbfe0de2b73cc57c111c0 Mon Sep 17 00:00:00 2001 +From b87573d43972aa991dd6d20294aa9b19ed2ab42b Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Mon, 5 Jun 2017 16:40:38 +0100 -Subject: [PATCH 122/200] dma-bcm2708: Fix module compilation of +Subject: [PATCH 122/207] dma-bcm2708: Fix module compilation of CONFIG_DMA_BCM2708 bcm2708-dmaengine.c defines functions like bcm_dma_start which are @@ -134797,10 +134797,10 @@ index c5bfff2765be4606077e6c8af73040ec13ee8974..6ca874d332a8bc666b1c9576ac51f479 #endif /* _PLAT_BCM2708_DMA_H */ -From 498da486c0c653b4d581f4dffbbf0bd2400342c2 Mon Sep 17 00:00:00 2001 +From 78eefdc9aa7170df1bb7d116b59842f452d93809 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 25 Aug 2017 19:18:13 +0100 -Subject: [PATCH 123/200] cache: export clean and invalidate +Subject: [PATCH 123/207] cache: export clean and invalidate --- arch/arm/mm/cache-v6.S | 4 ++-- @@ -134852,10 +134852,10 @@ index de78109d002db1a5e7c94a6c1bc8bb94161d07b8..4c850aa3af2b2439fced4e130441329a sub r3, r2, #1 bic r0, r0, r3 -From fea689de94465fd85e099332c64c30038a77eeee Mon Sep 17 00:00:00 2001 +From 6b6a20fff7c9d976f22d4d2ee0702033263f7fc1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 Sep 2017 10:32:19 +0100 -Subject: [PATCH 124/200] amba_pl011: Insert mb() for correct FIFO handling +Subject: [PATCH 124/207] amba_pl011: Insert mb() for correct FIFO handling The pl011 register accessor functions use the _relaxed versions of the standard readl() and writel() functions, meaning that there are no @@ -134882,10 +134882,10 @@ index bfbc845d7be9ef804468d0a82da18d9b67857216..424bdc500864a86e5d431763ba416b52 return true; -From bcab5e601b92013028f704e34507976b637bfc19 Mon Sep 17 00:00:00 2001 +From 47f1ddaac4ff8ba9186823f08fd2048d7fe1bde7 Mon Sep 17 00:00:00 2001 From: Chung-Hsien Hsu Date: Sun, 14 May 2017 20:11:05 -0500 -Subject: [PATCH 125/200] brcmfmac: add CLM download support +Subject: [PATCH 125/207] brcmfmac: add CLM download support Future firmwares will be provided with minimal built-in CLM - the NULL region (#n/0) becomes the initial country. It cannot be changed @@ -135313,10 +135313,10 @@ index 11ffaa01599eb4b343b7f675dc275fc8572d127e..b27170c12482de0ca4115b4bc9484c21 static int brcmf_usb_bus_setup(struct brcmf_usbdev_info *devinfo) -From 82c5435705502958fbf40c7eda4abeb916936231 Mon Sep 17 00:00:00 2001 +From 7bc5d5ac22e38394c3f46d947e92cb128fbd50ff Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Oct 2017 13:23:32 +0100 -Subject: [PATCH 126/200] brcmfmac: request_firmware_direct is quieter +Subject: [PATCH 126/207] brcmfmac: request_firmware_direct is quieter Since we don't have any CLM-capable firmware yet, silence the warning of its absence by using request_firmware_direct, which should also @@ -135341,10 +135341,10 @@ index f0309e039592ba6e388084a13f052c03f99cf1ef..b5889360da96096775db6425337a7215 if (err == -ENOENT) return 0; -From 8af2cd15a9ca52cd2068f493a7966614c25d9bde Mon Sep 17 00:00:00 2001 +From 1efc5ce22b2bcbc3e884509e01c41433554483fb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 Sep 2017 10:32:19 +0100 -Subject: [PATCH 127/200] amba_pl011: Add cts-event-workaround DT property +Subject: [PATCH 127/207] amba_pl011: Add cts-event-workaround DT property The BCM2835 PL011 implementation seems to have a bug that can lead to a transmission lockup if CTS changes frequently. A workaround was added to @@ -135393,10 +135393,10 @@ index 424bdc500864a86e5d431763ba416b5298c777dc..b224306633f62c398ef904734a903d4e uap->vendor = vendor; uap->fifosize = vendor->get_fifosize(dev); -From ca2dde64b65c9a3dfa2cddf23fc5f382ae96e777 Mon Sep 17 00:00:00 2001 +From 1f1f02efeb14b0dd06ebbb947d2d2c78f57c2c92 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 Oct 2017 13:48:04 +0100 -Subject: [PATCH 128/200] amba-pl011: Report AUTOCTS capability to framework +Subject: [PATCH 128/207] amba-pl011: Report AUTOCTS capability to framework The PL011 has full hardware RTS/CTS support which is enabled by the driver when flow control is requested. However, it doesn't @@ -135439,10 +135439,10 @@ index b224306633f62c398ef904734a903d4e75df65c3..3b743cf8a94c279ff8d0b747f98062d0 if (uap->vendor->oversampling) { -From c12f3f574a09dd36f3fb529f73d8e724b84e9293 Mon Sep 17 00:00:00 2001 +From 04207905303c8a9c3ab3cef4076c44c981bd7ee3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Oct 2017 09:20:56 +0100 -Subject: [PATCH 129/200] scripts: Update mkknlimg, just in case +Subject: [PATCH 129/207] scripts: Update mkknlimg, just in case With the removal of the vc_cma driver, mkknlimg lost an indication that the user had built a downstream kernel. Update the script, adding a few @@ -135485,10 +135485,10 @@ index 84be2593ec1de8f97b0167ff06b3e05d231c4ba0..d72e15224232d5164374e93be48949bf my $res = try_extract($kernel_file, $tmpfile1); -From eef3553aa500379f1baf4b43566b58a33e02522e Mon Sep 17 00:00:00 2001 +From 2be61bf151ca214e9772c89bc2f4bcb10b509d8e Mon Sep 17 00:00:00 2001 From: James Hughes Date: Tue, 14 Nov 2017 15:13:15 +0000 -Subject: [PATCH 130/200] AXI performance monitor driver (#2222) +Subject: [PATCH 130/207] AXI performance monitor driver (#2222) Uses the debugfs I/F to provide access to the AXI bus performance monitors. @@ -136174,10 +136174,10 @@ index 0000000000000000000000000000000000000000..bafe03b6c000060e78404d65a0aa96d8 +MODULE_LICENSE("GPL"); + -From 773471403608b737517523ad8d4567bd88c0ff49 Mon Sep 17 00:00:00 2001 +From 781e6c2d576de42c8389567cca076792d2ab3cff Mon Sep 17 00:00:00 2001 From: James Hughes Date: Fri, 21 Jul 2017 09:55:12 +0100 -Subject: [PATCH 131/200] Sets the BCDC priority to constant 0 +Subject: [PATCH 131/207] Sets the BCDC priority to constant 0 This is to workaround for a possible issue in the wireless chip firmware where some packets with @@ -136203,10 +136203,10 @@ index 9f2d0b0cf6e5c452ad85a3caef58cf16a8cdad46..b009f3083490c2bc2733424f08f81b9f h->data_offset = offset; BCDC_SET_IF_IDX(h, ifidx); -From 5c8b94366c1f372dddc8aecf2e88ebca0c053003 Mon Sep 17 00:00:00 2001 +From 04becbe14f755f7fa28d1122d9a32c24cba2e46b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 26 Apr 2016 13:46:13 -0700 -Subject: [PATCH 132/200] drm/panel: Add support for the Raspberry Pi 7" +Subject: [PATCH 132/207] drm/panel: Add support for the Raspberry Pi 7" Touchscreen. This driver communicates with the Atmel microcontroller for sequencing @@ -136787,10 +136787,10 @@ index 0000000000000000000000000000000000000000..1a536fe4d040f5fafe324baee110a622 +MODULE_DESCRIPTION("Raspberry Pi 7-inch touchscreen driver"); +MODULE_LICENSE("GPL v2"); -From c1d6793b41cc253cbe793867b09c09d45b6748f1 Mon Sep 17 00:00:00 2001 +From 5af33f4ed101ccbb331fe7490c586c161d377a0e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 12 Apr 2017 17:52:56 -0700 -Subject: [PATCH 133/200] panel-raspberrypi-touchscreen: Fix NULL deref if +Subject: [PATCH 133/207] panel-raspberrypi-touchscreen: Fix NULL deref if probe order goes wrong. If the i2c driver hadn't pobed before the panel driver probes, then @@ -136817,10 +136817,10 @@ index 1a536fe4d040f5fafe324baee110a6225dd0be08..5d6bfd81b07a11a0cb407f4301d22931 } -From 8af7636c461ab28dfb43e8d166b0d2299080610f Mon Sep 17 00:00:00 2001 +From e6af12363a537c9135b5da27f8358e4edfab7da8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 6 Mar 2017 12:17:16 -0800 -Subject: [PATCH 134/200] panel-raspberrypi-touchscreen: Round up clk rate to +Subject: [PATCH 134/207] panel-raspberrypi-touchscreen: Round up clk rate to fix DSI panel. Commit 488f9bc8e3def93e0baef53cee2026c2cb0d8956 slightly increased the @@ -136855,10 +136855,10 @@ index 5d6bfd81b07a11a0cb407f4301d22931705fb8b1..b57b7ad9aa4c5048186e98553af59ec9 .hsync_start = HACT + HFP, .hsync_end = HACT + HFP + HSW, -From 4801d2e627319ae20340f247ba5d7093953811d9 Mon Sep 17 00:00:00 2001 +From 0837c8e5f80901786815450324e6e4614ca6aa7c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Jun 2016 12:29:45 -0700 -Subject: [PATCH 135/200] BCM270X: Add the DSI panel to the defconfig. +Subject: [PATCH 135/207] BCM270X: Add the DSI panel to the defconfig. Signed-off-by: Eric Anholt --- @@ -136879,10 +136879,10 @@ index 9dcb58a519d041fadae99c81a7bda621b2a49f12..003209bf2362c2a136ab987b2f20065e CONFIG_DRM_VC4=m CONFIG_FB=y -From f8fb19ab1bc0277f46b7008ebaa50c4fb6dbfabb Mon Sep 17 00:00:00 2001 +From b1f6a0bc8de9b6243a430c851bd87402dfcb7ec4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 6 Jul 2017 11:45:48 -0700 -Subject: [PATCH 136/200] drm/vc4: Add support for setting DPMS in firmwarekms. +Subject: [PATCH 136/207] drm/vc4: Add support for setting DPMS in firmwarekms. This ensures that the screen goes blank during DPMS (screensaver), including the cursor. Planes don't necessarily get disabled during @@ -136985,10 +136985,10 @@ index d170775ccc985637ff018804f510a5003933c9ec..766f700417f7194d6b01fa1bc18dad40 if (!vc4_encoder) return -ENOMEM; -From e160b6886305bafabee3316ccf662a73e13a5d7e Mon Sep 17 00:00:00 2001 +From 0147808fccae17a05d9af6f27561676e211ac3d9 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 14 Jul 2017 17:33:08 -0700 -Subject: [PATCH 137/200] drm/vc4: Fix pitch setup for T-format scanout. +Subject: [PATCH 137/207] drm/vc4: Fix pitch setup for T-format scanout. The documentation said to use src_w here, and I didn't consider that we actually needed to be using pitch somewhere in our setup. Fixes @@ -137036,10 +137036,10 @@ index 2968b3ebb895714cb8c8faeaf40dff1c996f2259..4ad0b9fcae99f74fb89d09dd52d9ffe5 DRM_DEBUG_KMS("Unsupported FB tiling flag 0x%16llx", (long long)fb->modifier); -From a148a99d61d7b2485876c9693f8d9dffd12d9749 Mon Sep 17 00:00:00 2001 +From 4e1db0b97952082d1910da4471cb89e207420637 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 24 Aug 2017 16:16:16 +0100 -Subject: [PATCH 138/200] brcmfmac: Disable ARP offloading when promiscuous +Subject: [PATCH 138/207] brcmfmac: Disable ARP offloading when promiscuous This is a test patch for brcmfmac from Franky Lin at Broadcom to disable ARP offloading when in promiscuous mode, re-enabling the ability to @@ -137176,10 +137176,10 @@ index a4dd313140f37dc1fbb6955e1148f48bccf22f44..b9a96cbc70f0865ee8c9cff3c6164144 bool is_p2pdev, const char *name, u8 *mac_addr); void brcmf_remove_interface(struct brcmf_if *ifp, bool rtnl_locked); -From 4f6421573ffd0f23d25ebb99d55ce12940213151 Mon Sep 17 00:00:00 2001 +From 20da05275afa0da7da8363663ef190dbf303f295 Mon Sep 17 00:00:00 2001 From: Kevin Cernekee Date: Sat, 16 Sep 2017 21:08:22 -0700 -Subject: [PATCH 139/200] brcmfmac: Avoid possible out-of-bounds read +Subject: [PATCH 139/207] brcmfmac: Avoid possible out-of-bounds read In brcmf_p2p_notify_rx_mgmt_p2p_probereq(), chanspec is assigned before the length of rxframe is validated. This could lead to uninitialized @@ -137217,10 +137217,10 @@ index 2ce675ab40ef867cf6a86ca5257a6db7ef76e80a..1c450c0727cb577f7dae25a1ce82b2db return 0; } -From c178f708a3686fefb7df8371953641f526b3be96 Mon Sep 17 00:00:00 2001 +From 1b155ec67f6cb56c9a46093972ef9aea7b347b5d Mon Sep 17 00:00:00 2001 From: Kevin Cernekee Date: Sat, 16 Sep 2017 21:08:23 -0700 -Subject: [PATCH 140/200] brcmfmac: Delete redundant length check +Subject: [PATCH 140/207] brcmfmac: Delete redundant length check brcmf_fweh_process_event() sets event->datalen to the endian-swapped value of event_packet->msg.datalen, which is the @@ -137251,10 +137251,10 @@ index ef72baf6dd969c2478a2138ea57b9f691fdf12d8..e7eaa57d11d98f61280bd99013e649aa /* special handling of interface event */ if (event->code == BRCMF_E_IF) { -From 046a134e001b16e58eb898faa648d34520595d1c Mon Sep 17 00:00:00 2001 +From 77785440e75ed1ef8e2cf4fc1521216dccd2923a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Nov 2017 11:03:22 +0000 -Subject: [PATCH 141/200] mcp2515: Use DT-supplied interrupt flags +Subject: [PATCH 141/207] mcp2515: Use DT-supplied interrupt flags The MCP2515 datasheet clearly describes a level-triggered interrupt pin. Therefore the receiving interrupt controller must also be @@ -137290,10 +137290,10 @@ index f3f05fea8e1f8e0ad3a1ebd7461d2019835e1d47..6c2d3aba25918f5536b2d67292334e74 flags | IRQF_ONESHOT, DEVICE_NAME, priv); if (ret) { -From aee70e0300b6cea86846b140c9fa686cfa245354 Mon Sep 17 00:00:00 2001 +From 7d8de0bd237cf644f2101c7fb64ccd2b7bf1d1e2 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Thu, 16 Nov 2017 15:56:17 +0000 -Subject: [PATCH 142/200] Tidy up of the ft5406 driver to use DT (#2189) +Subject: [PATCH 142/207] Tidy up of the ft5406 driver to use DT (#2189) Driver was using a fixed resolution, this commit adds touchscreen size, and coordinate flip and swap @@ -137677,10 +137677,10 @@ index 9d7d05482355d168c5c0c42508cd978979ee5f14..40bbde9ce1bc4c51be50f47fc359c74f } -From 856fbfac5004df5429a9320520848a228a7357c7 Mon Sep 17 00:00:00 2001 +From 46079d5ef70c12e3f32865e0d17c8c2bb0193ac4 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 143/200] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 143/207] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -137702,10 +137702,10 @@ index ff782445dfb75d1a8af9eed775b8e8f7b275fee3..786efcddb5e56a06baf67cb91ddbbd8e .can_sleep = false, }; -From dc1045666cbf5f4611f585f137dfece869410e0c Mon Sep 17 00:00:00 2001 +From 0c36c970334b13df9f78a5996a87d6c70b600226 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 24 Nov 2017 13:49:26 +0000 -Subject: [PATCH 144/200] fiq_fsm: rewind DMA pointer for OUT transactions that +Subject: [PATCH 144/207] fiq_fsm: rewind DMA pointer for OUT transactions that fail (#2288) See: https://github.com/raspberrypi/linux/issues/2140 @@ -137749,10 +137749,10 @@ index e47d5b6de3ada73896ff9a81abd223d345e0de4f..ec804c7cd06d2db897ce6f72fce29733 if (st->nr_errors >= 3) { st->fsm = FIQ_NP_SPLIT_HS_ABORTED; -From 962d5f68c58f645862be60dd3d65826d0260a115 Mon Sep 17 00:00:00 2001 +From b219d0d3b7f9660b06f0eb5cc545e152ff772ca4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 21 Jul 2017 11:30:18 +0100 -Subject: [PATCH 145/200] lan78xx: Read MAC address from DT if present +Subject: [PATCH 145/207] lan78xx: Read MAC address from DT if present There is a standard mechanism for locating and using a MAC address from the Device Tree. Use this facility in the lan78xx driver to support @@ -137799,10 +137799,10 @@ index a8dd1c7a08cbe8aafa51168288946b1a4641c33f..2727ce1f9b53c0397027ef7043ca3310 (addr[2] << 16) | (addr[3] << 24); addr_hi = addr[4] | (addr[5] << 8); -From 3a348bfec39474850d2027f8f40960850b71340c Mon Sep 17 00:00:00 2001 +From 1e3fc63eec13e18da30c8495dd7bc0ce354170ab Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 28 Nov 2017 12:02:37 +0000 -Subject: [PATCH 146/200] lan78xx: Correctly indicate invalid OTP +Subject: [PATCH 146/207] lan78xx: Correctly indicate invalid OTP lan78xx_read_otp tries to return -EINVAL in the event of invalid OTP content, but the value gets overwritten before it is returned and the @@ -137829,10 +137829,10 @@ index 2727ce1f9b53c0397027ef7043ca331013553c00..ee95fc957e1f1339ce42db3089e03a90 return ret; -From 40f8ecc01b0e08d784d8360970808cbe6951f42b Mon Sep 17 00:00:00 2001 +From 0484ed41294b88f5d3f190bdfcbd7995f3376701 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 17 Oct 2017 15:04:29 +0100 -Subject: [PATCH 147/200] lan78xx: Enable LEDs and auto-negotiation +Subject: [PATCH 147/207] lan78xx: Enable LEDs and auto-negotiation For applications of the LAN78xx that don't have valid programmed EEPROMs or OTPs, enabling both LEDs and auto-negotiation by default @@ -137880,10 +137880,10 @@ index ee95fc957e1f1339ce42db3089e03a908ec591d6..76674d8881b588f0a47c3a6f568825fd ret = lan78xx_read_reg(dev, MAC_TX, &buf); -From dc071dfbf58a8e4e2bc2d9de5e62bb1530cd286f Mon Sep 17 00:00:00 2001 +From 78983c11540eda23f5445b4d7f82324cc909567e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 27 Nov 2017 17:14:54 +0000 -Subject: [PATCH 148/200] cgroup: Disable cgroup "memory" by default +Subject: [PATCH 148/207] cgroup: Disable cgroup "memory" by default Some Raspberry Pis have limited RAM and most users won't use the cgroup memory support so it is disabled by default. Enable with: @@ -137953,10 +137953,10 @@ index 030e4286f14c715ecb87fc7d2cc93d451bc2e860..c9b7a0cd1e3026b5e8d91fa5d252ddd5 * css_tryget_online_from_dir - get corresponding css from a cgroup dentry * @dentry: directory dentry of interest -From bbd9402a365f72d650b6526a247b233fa91915cf Mon Sep 17 00:00:00 2001 +From 19be63f558c522e28fab9f9c9b9de93def230926 Mon Sep 17 00:00:00 2001 From: Allen Wild Date: Tue, 26 Sep 2017 19:37:44 +0200 -Subject: [PATCH 149/200] thermal: enable broadcom menu for arm64 bcm2835 +Subject: [PATCH 149/207] thermal: enable broadcom menu for arm64 bcm2835 Moving the bcm2835 thermal driver to the broadcom directory prevented it from getting enabled for arm64 builds, since the broadcom directory is only @@ -137987,10 +137987,10 @@ index 07002df4f83acdde2efdf3f51299976ef25d2e1e..e3f0d1fd1720355bc601e766356ac528 endmenu -From 9ffe4f6262a19076c47f454a904c3546b4fc6417 Mon Sep 17 00:00:00 2001 +From ba51cf831e56253060060a8809dc5d9d8071810a Mon Sep 17 00:00:00 2001 From: Gottfried Haider Date: Tue, 26 Sep 2017 11:59:51 +0000 -Subject: [PATCH 150/200] pwm: Set class for exported channels in sysfs +Subject: [PATCH 150/207] pwm: Set class for exported channels in sysfs [ Upstream commit 7e5d1fd75c3dde9fc10c4472b9368089d1b81d00 ] @@ -138026,10 +138026,10 @@ index a813239300c3d46bba1320caac77ec7adc8363a8..83f2b0b15712bf5745a0dc3a231c5ed0 export->child.parent = parent; export->child.devt = MKDEV(0, 0); -From 62f02610f5d77bb938adf3226c3289be075db3f1 Mon Sep 17 00:00:00 2001 +From adfbce1d7c25aacf739460e1199414c9a2bb691b Mon Sep 17 00:00:00 2001 From: Giedrius Trainavicius Date: Tue, 25 Oct 2016 01:47:20 +0300 -Subject: [PATCH 151/200] Updates for Pisound module code: +Subject: [PATCH 151/207] Updates for Pisound module code: * Merged 'Fix a warning in DEBUG builds' (1c8b82b). * Updating some strings and copyright information. @@ -138454,10 +138454,10 @@ index 06ff1e53dc9d860946965b6303577762f958fae2..09739d51b70b877e24e4f74f6aaadebd +MODULE_DESCRIPTION("ASoC Driver for Pisound, https://blokas.io/pisound"); MODULE_LICENSE("GPL v2"); -From 03e3f6cd192d18aa365b47c2d00f74a78fd2a0de Mon Sep 17 00:00:00 2001 +From 33937c8d848fa04fba39e4e0924dc2a7c811909b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sat, 9 Dec 2017 21:45:12 +0000 -Subject: [PATCH 152/200] overlays: Add applepi-dac overlay +Subject: [PATCH 152/207] overlays: Add applepi-dac overlay See: https://github.com/raspberrypi/linux/issues/2302 @@ -138562,10 +138562,10 @@ index 0000000000000000000000000000000000000000..fc02b295470efce41d61be241ba55022 + dtc -@ -H epapr -O dtb -o ApplePi-DAC.dtbo -W no-unit_address_vs_reg ApplePi-DAC.dts +*/ -From bcc0495969c4ecb8c9e1122137d2828d0cef33e6 Mon Sep 17 00:00:00 2001 +From 4dec0b4b114cdd4bb0665bda3431bdf227754aeb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 12 Dec 2017 12:12:46 +0000 -Subject: [PATCH 153/200] staging: vchiq_arm: Make debugfs failure non-fatal +Subject: [PATCH 153/207] staging: vchiq_arm: Make debugfs failure non-fatal It can be useful to be able to open multiple vchiq instances in a single process. This currently fails due to a debugfs collision, @@ -138594,10 +138594,10 @@ index 314ffac50bb8303971ca71a5f702f07fb8ed6639..e4bad872b7e547de268648fae690524f sema_init(&instance->insert_event, 0); sema_init(&instance->remove_event, 0); -From 2eb4e8a1e6ec822763d239569d1a3f765efccd59 Mon Sep 17 00:00:00 2001 +From 802fe011250fc42ccfd9cdbd03b319ea468fa14a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sat, 23 Dec 2017 22:10:37 +0000 -Subject: [PATCH 154/200] config: Add PINCTRL_MCP23S08 +Subject: [PATCH 154/207] config: Add PINCTRL_MCP23S08 As of Linux 4.12, the mcp23s08 driver moved from drivers/gpio to drivers/pinctrl. At the same time, the Kconfig symbols changed @@ -138638,10 +138638,10 @@ index c1da808d40bc8e867b41d3566bd60a758d052bdb..4cfd4e6a339009536d6ebaaff36e4007 CONFIG_GPIO_PCF857X=m CONFIG_GPIO_ARIZONA=m -From 40ea76df38e0b116dc731ac789e4cd4a4da7ca5b Mon Sep 17 00:00:00 2001 +From a933088d8159d68563c17aff6cbd4be9efdfec85 Mon Sep 17 00:00:00 2001 From: Alex Riesen Date: Thu, 21 Dec 2017 09:29:39 +0100 -Subject: [PATCH 155/200] Add Raspberry Pi firmware driver to the dependencies +Subject: [PATCH 155/207] Add Raspberry Pi firmware driver to the dependencies of backlight driver Otherwise the backlight driver fails to build if the firmware @@ -138665,10 +138665,10 @@ index e345a32945b7ec0712cebd0ac8e62c9e8955e24f..9244f2f7b642c6fe5725f0b3b841cece If you have the Raspberry Pi DSI touchscreen display, say Y to enable the mailbox-controlled backlight driver. -From b9a92c79a427ae3d2ec65be2a855cc360a8f777d Mon Sep 17 00:00:00 2001 +From 07cea30a1520cb3efc8e23244d26a470403d9477 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Sun, 24 Dec 2017 21:57:05 +0000 -Subject: [PATCH 156/200] overlays: Add media center HAT overlay (#2313) +Subject: [PATCH 156/207] overlays: Add media center HAT overlay (#2313) --- arch/arm/boot/dts/overlays/Makefile | 1 + @@ -138863,10 +138863,10 @@ index 0000000000000000000000000000000000000000..a42b8e2a846c6e614ca807f798bef238 + }; +}; -From ed79bae0ff46ef9f6054465b07e5c479dc00f84b Mon Sep 17 00:00:00 2001 +From 7260257732ee849cd275a3f7793aa6090d466f38 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 28 Dec 2017 17:31:52 +0000 -Subject: [PATCH 157/200] add backlight control to rpi-display overlay +Subject: [PATCH 157/207] add backlight control to rpi-display overlay --- arch/arm/boot/dts/overlays/README | 1 + @@ -138910,10 +138910,10 @@ index d7e72eef594e08b309ffbaa04f43c68909c08f36..533b5c140b5447a0bcf426fee0a8b321 }; }; -From 5a87b5d5b61daac2b8829ec03b7dae28b753e94f Mon Sep 17 00:00:00 2001 +From 86429ca97e36dfb4ac2f46cb7085abd18bbd579a Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 28 Dec 2017 17:34:54 +0000 -Subject: [PATCH 158/200] add backlight control to media-center overlay +Subject: [PATCH 158/207] add backlight control to media-center overlay --- arch/arm/boot/dts/overlays/README | 1 + @@ -138960,10 +138960,10 @@ index a42b8e2a846c6e614ca807f798bef238ad002535..ce4db35228e9f68e3f3f40f0f9c02f89 gpio_out_pin = <&lirc_pins>,"brcm,pins:0"; gpio_in_pin = <&lirc_pins>,"brcm,pins:4"; -From 16fe69bccc05f84a8dbb29b603ff81277e127a8c Mon Sep 17 00:00:00 2001 +From be82474c9d7da3de48c4957154906881e465eb27 Mon Sep 17 00:00:00 2001 From: penfold42 Date: Tue, 2 Jan 2018 00:15:19 +1100 -Subject: [PATCH 159/200] Add overlay for mcp3202 12 bit ADC +Subject: [PATCH 159/207] Add overlay for mcp3202 12 bit ADC --- arch/arm/boot/dts/overlays/Makefile | 1 + @@ -139216,10 +139216,10 @@ index 0000000000000000000000000000000000000000..9902c4614ea1f9e5725b3c4a2e62429a + }; +}; -From 04b6285fc861309b0df6371a89b0ea8b9c40ed28 Mon Sep 17 00:00:00 2001 +From 76b378afeffa29337203714becdd058dde35bf58 Mon Sep 17 00:00:00 2001 From: Stefan Schake Date: Sat, 2 Dec 2017 18:40:39 +0100 -Subject: [PATCH 160/200] drm/vc4: Release fence after signalling +Subject: [PATCH 160/207] drm/vc4: Release fence after signalling [ Upstream commit babc8110057cb9ca542c3c1666cbda4e8ccf9250 ] @@ -139254,7 +139254,7 @@ index c50debb1986f061759cf02fa92f4e2e480c969d4..d31b3d0c995543bb965464eb148b0036 if (exec->bo) { for (i = 0; i < exec->bo_count; i++) diff --git a/drivers/gpu/drm/vc4/vc4_irq.c b/drivers/gpu/drm/vc4/vc4_irq.c -index 7d7af3a93d941bb9552afc1140c408c8da86be37..fc1fc43a924dcc0c44a7a13858bfb53ccdf8fe32 100644 +index 521addec831e9911c58c2341256d7d5bb8b07338..3dd62d75f5319dbffcd9d27ea6f60927d193eb92 100644 --- a/drivers/gpu/drm/vc4/vc4_irq.c +++ b/drivers/gpu/drm/vc4/vc4_irq.c @@ -139,6 +139,7 @@ vc4_irq_finish_render_job(struct drm_device *dev) @@ -139266,10 +139266,10 @@ index 7d7af3a93d941bb9552afc1140c408c8da86be37..fc1fc43a924dcc0c44a7a13858bfb53c } vc4_submit_next_render_job(dev); -From 4b41f078c8fbe67a6fedb7fc63807692f463637a Mon Sep 17 00:00:00 2001 +From c03dceffca630c8aef13d47149b7bf6ffe15a3ba Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 9 Jan 2018 15:16:35 +0000 -Subject: [PATCH 161/200] dwc_otg: don't unconditionally force host mode in +Subject: [PATCH 161/207] dwc_otg: don't unconditionally force host mode in dwc_otg_cil_init() Add the ability to disable force_host_mode for those that want to use @@ -139330,10 +139330,10 @@ index af123d01f3ef9f99450c78efdf766ca35e15cbc9..e945900c503cb383d754381b055955b1 * * The following parameters may be specified when starting the module. -From a64b7e9d2c13fb3caaf3c3d007a0cc1d17fe434e Mon Sep 17 00:00:00 2001 +From 7b6267bfa3eab65c62efde6a4d5bbab119dedebc Mon Sep 17 00:00:00 2001 From: Sugizaki Yukimasa Date: Thu, 4 Jan 2018 23:58:06 +0900 -Subject: [PATCH 162/200] vcsm: Define cache operation constants in user header +Subject: [PATCH 162/207] vcsm: Define cache operation constants in user header Without this change, users have to use raw values (1, 2, 3) to specify cache operation. @@ -139377,10 +139377,10 @@ index b75729d762f25aace133f7a008633b4094ae2de2..ddbeebc71ada82e88a1668fbdfd9821a struct vmcs_sm_ioctl_alloc { /* user -> kernel */ -From 70826ea48bc832dc5e2a0f852853b5735f6f5d94 Mon Sep 17 00:00:00 2001 +From 3014f2e13cf064fc254effbe97cdfc80e41ca762 Mon Sep 17 00:00:00 2001 From: Sugizaki Yukimasa Date: Fri, 5 Jan 2018 00:01:30 +0900 -Subject: [PATCH 163/200] vcsm: Support for finding user/vc handle in memory +Subject: [PATCH 163/207] vcsm: Support for finding user/vc handle in memory pool vmcs_sm_{usr,vc}_handle_from_pid_and_address() were failing to find @@ -139422,10 +139422,10 @@ index 53843054d7617716761b74d8a3d91551b91ffb75..abd770566ed30102b95a01cec6a3825b pr_debug("[%s]: global map %p (pid %u, addr %lx) -> usr-hdl %x (vc-hdl %x)\n", -From d1d5b4919d4dc58407152cf125803217f662ae6f Mon Sep 17 00:00:00 2001 +From 11d8e8209d05c20607f38adf5522e33ec391a4d4 Mon Sep 17 00:00:00 2001 From: Sugizaki Yukimasa Date: Fri, 5 Jan 2018 00:44:00 +0900 -Subject: [PATCH 164/200] vcsm: Unify cache manipulating functions +Subject: [PATCH 164/207] vcsm: Unify cache manipulating functions Signed-off-by: Sugizaki Yukimasa --- @@ -139811,10 +139811,10 @@ index abd770566ed30102b95a01cec6a3825b23afcd9d..b6cdc1934ad2092892898559f6f0d481 kfree(block); } -From acb69727df5cce3ae08cc239e6361ff47f582ec7 Mon Sep 17 00:00:00 2001 +From ec2e6e8bc07f68b23ca1073868b98e0c38392bf6 Mon Sep 17 00:00:00 2001 From: Sugizaki Yukimasa Date: Mon, 8 Jan 2018 21:07:17 +0900 -Subject: [PATCH 165/200] vcsm: Fix obscure conditions +Subject: [PATCH 165/207] vcsm: Fix obscure conditions Signed-off-by: Sugizaki Yukimasa --- @@ -139846,10 +139846,10 @@ index b6cdc1934ad2092892898559f6f0d481a7744fa9..95963ffba51afdbdfec26a8c75eec0f5 return -EINVAL; } -From a2d2ddddd932aa748a11767af0dadbe8080f9f6f Mon Sep 17 00:00:00 2001 +From f3580690e0a06320990d962fd30b992fe79b32d2 Mon Sep 17 00:00:00 2001 From: Sugizaki Yukimasa Date: Mon, 8 Jan 2018 21:11:23 +0900 -Subject: [PATCH 166/200] vcsm: Fix memory leaking on clean_invalid2 ioctl +Subject: [PATCH 166/207] vcsm: Fix memory leaking on clean_invalid2 ioctl handler Signed-off-by: Sugizaki Yukimasa @@ -139871,10 +139871,10 @@ index 95963ffba51afdbdfec26a8c75eec0f5e0c2f4e1..380437f41cc64902c9576e53d0beaf76 kfree(block); } -From b13fb629ca1e751b3186e55c15ea241f387999fa Mon Sep 17 00:00:00 2001 +From 30c8e4061007dcba1242a4aace805b60f67cd4db Mon Sep 17 00:00:00 2001 From: Sugizaki Yukimasa Date: Mon, 8 Jan 2018 21:15:13 +0900 -Subject: [PATCH 167/200] vcsm: Describe the use of cache operation constants +Subject: [PATCH 167/207] vcsm: Describe the use of cache operation constants Signed-off-by: Sugizaki Yukimasa --- @@ -139913,10 +139913,10 @@ index ddbeebc71ada82e88a1668fbdfd9821a39d7cd22..e881fa8ee8e1474cdaa0759b742a5f67 /* user -> kernel */ struct { -From 1024133d9944ffff6503540cd91afd472070b4de Mon Sep 17 00:00:00 2001 +From e62889b49894798eab9cfd76a03ee58ffa2ca6a5 Mon Sep 17 00:00:00 2001 From: Sugizaki Yukimasa Date: Tue, 9 Jan 2018 12:33:24 +0900 -Subject: [PATCH 168/200] vcsm: Fix obscure conditions again +Subject: [PATCH 168/207] vcsm: Fix obscure conditions again Signed-off-by: Sugizaki Yukimasa --- @@ -139939,10 +139939,10 @@ index 380437f41cc64902c9576e53d0beaf76ccdc1551..0d14c511da2ab8f542d51ad87746be85 pr_debug("[%s]: global map %p (pid %u, addr %lx) -> usr-hdl %x (vc-hdl %x)\n", -From 4a24a7df9dc78175b5fef315cf2f80d97da2d541 Mon Sep 17 00:00:00 2001 +From ca0078cee66c898276bad74cbcb790971eb673e4 Mon Sep 17 00:00:00 2001 From: Sugizaki Yukimasa Date: Wed, 10 Jan 2018 04:32:20 +0900 -Subject: [PATCH 169/200] vcsm: Add no-op cache operation constant +Subject: [PATCH 169/207] vcsm: Add no-op cache operation constant Signed-off-by: Sugizaki Yukimasa --- @@ -140005,10 +140005,10 @@ index e881fa8ee8e1474cdaa0759b742a5f67c122c9eb..a4492b921b48e2c7fdd2745f2d2bad48 #define VCSM_CACHE_OP_CLEAN 0x02 #define VCSM_CACHE_OP_FLUSH 0x03 -From 32855d5120aeb03decf6f37550ce42b36034cf53 Mon Sep 17 00:00:00 2001 +From 72d13870fe027a2e9b2a2a3636673f618e38b25f Mon Sep 17 00:00:00 2001 From: Sugizaki Yukimasa Date: Wed, 10 Jan 2018 06:25:51 +0900 -Subject: [PATCH 170/200] vcsm: Revert to do page-table-walk-based cache +Subject: [PATCH 170/207] vcsm: Revert to do page-table-walk-based cache manipulating on some ioctl calls On FLUSH, INVALID, CLEAN_INVALID ioctl calls, cache operations based on @@ -140243,10 +140243,10 @@ index 122ea149790b549aa7550ddb9cff64dc2195fc61..1bc37ee882255c0d05beac58bb3b9e31 break; } -From 24644785913c75a48779f0ec56d75172797db0d1 Mon Sep 17 00:00:00 2001 +From 4a53210b5e4419df0ebf9a881cbb72e5ceee5932 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 4 Jan 2018 15:02:16 +0000 -Subject: [PATCH 171/200] add gpio-key overlay (#2329) +Subject: [PATCH 171/207] add gpio-key overlay (#2329) An overlay that allows a Linux key to be bound to a GPIO. --- @@ -140355,10 +140355,10 @@ index 0000000000000000000000000000000000000000..333d016d6f02981f69acedbf683171b4 + +}; -From 1d9831e6269e233090c0f0c71b100c59e5d4fbd0 Mon Sep 17 00:00:00 2001 +From d55cedeca9c6e3145edb8e2a2b3b2a0d7a1f4ce4 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Fri, 5 Jan 2018 15:08:37 +0000 -Subject: [PATCH 172/200] add additional overrides to rotary-encoder overlay +Subject: [PATCH 172/207] add additional overrides to rotary-encoder overlay (#2334) --- @@ -140435,10 +140435,10 @@ index c0c6bccff60cc15d9a9bf59d2c7cba41eb9c1cdc..f88f8a39d9a2f2afbf80edf2d9b32841 }; }; -From 2e16c5ebe6db74db0b7172aeceac84c33cae77e7 Mon Sep 17 00:00:00 2001 +From c68bcb99aae412fa7721cebae2f26f2db3d9f59f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 12 Jan 2018 09:15:01 +0000 -Subject: [PATCH 173/200] overlays: Add uart0 overlay to change pin usage +Subject: [PATCH 173/207] overlays: Add uart0 overlay to change pin usage Signed-off-by: Phil Elwell --- @@ -140524,10 +140524,10 @@ index 0000000000000000000000000000000000000000..20b2a609c511b017d1231e08c901d165 + }; +}; -From 8abb654d5f5b846a75e1498922d55a03567cc190 Mon Sep 17 00:00:00 2001 +From b8d2e964bbdb0218d4bfd826ca450d73bcddaad8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 16 Jan 2018 12:59:17 +0000 -Subject: [PATCH 174/200] overlays: Fix resetgpio and ledgpio for hy28a/b +Subject: [PATCH 174/207] overlays: Fix resetgpio and ledgpio for hy28a/b Offsets for overlay parameters are specified in bytes, not in access units. @@ -140571,10 +140571,10 @@ index 8018aebde8e557f45ffd63eb86f6c7a1048fe3cb..70c1118064b64be1811ed2f1bb04efd6 }; }; -From ace1117263c6b6b0f219f3371f6fcb48cd128a39 Mon Sep 17 00:00:00 2001 +From 8e362795127fda837ff14433d166fdffe64626f7 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Thu, 18 Jan 2018 12:36:44 +0100 -Subject: [PATCH 175/200] ASoC: bcm2835: fix hw_params error when device is in +Subject: [PATCH 175/207] ASoC: bcm2835: fix hw_params error when device is in prepared state (#2345) commit 8d5737a5f53902a916ee1e1cb248c9b8b883b2ea upstream. @@ -140643,10 +140643,10 @@ index 2e449d7173fcecbcd647f90a26bd58b6c421bcde..d5f73a8ab8932768c4df1470e94e78bf * Clear both FIFOs if the one that should be started * is not empty at the moment. This should only happen -From 281a6f8cc87fcbd9fea2d38f71d253a9282edfa1 Mon Sep 17 00:00:00 2001 +From 5faf0afdd8c4181fe57aed0f0bb010c4261c653c Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Sat, 14 Oct 2017 10:10:53 -0700 -Subject: [PATCH 176/200] Input: add I2C attached EETI EXC3000 multi touch +Subject: [PATCH 176/207] Input: add I2C attached EETI EXC3000 multi touch driver commit 7e577a17f2eefeef32f1106ebf91e7cd143ba654 upstream. @@ -140974,10 +140974,10 @@ index 0000000000000000000000000000000000000000..bed0db6999050c3ad5adf9c5d02784a0 +MODULE_DESCRIPTION("I2C connected EETI EXC3000 multiple touch controller driver"); +MODULE_LICENSE("GPL v2"); -From b6da2a39b7fbce2ba8c4cece3860ee421a71d84f Mon Sep 17 00:00:00 2001 +From 0347dd460e6b199c8bc97bce058c249a928b7342 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Fri, 1 Sep 2017 15:14:23 +0200 -Subject: [PATCH 177/200] config: Add EETI EXC3000 touch controller module +Subject: [PATCH 177/207] config: Add EETI EXC3000 touch controller module Signed-off-by: Ahmet Inan --- @@ -141010,10 +141010,10 @@ index 4cfd4e6a339009536d6ebaaff36e4007573cfe63..f2563f6824b6b16d9f44bc0ee1da818b CONFIG_TOUCHSCREEN_EDT_FT5X06=m CONFIG_TOUCHSCREEN_RPI_FT5406=m -From 853d656a604cd1a6bcb4504ea840535499411b14 Mon Sep 17 00:00:00 2001 +From 8329bd4c102dde3da998812544d6f483aa6c4170 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Fri, 1 Sep 2017 15:18:01 +0200 -Subject: [PATCH 178/200] overlays: Add EETI EXC3000 overlay +Subject: [PATCH 178/207] overlays: Add EETI EXC3000 overlay Add support for I2C connected EETI EXC3000 multiple touch controller using GPIO 4 (pin 7 on GPIO header) for interrupt. @@ -141116,10 +141116,10 @@ index 0000000000000000000000000000000000000000..c5694033d03f31391b508b89845b029c + }; +}; -From 9268eb3b602ca1a06fa85558672cf906e8fcba73 Mon Sep 17 00:00:00 2001 +From 943c3bdbf15db9ee7aa759b1be66b4f4252838f9 Mon Sep 17 00:00:00 2001 From: Yevhen Kyriukha Date: Sun, 14 Jan 2018 13:36:24 +0200 -Subject: [PATCH 179/200] Added support for mbed AudioCODEC (TLV320AIC23B) +Subject: [PATCH 179/207] Added support for mbed AudioCODEC (TLV320AIC23B) Signed-off-by: Yevhen Kyriukha --- @@ -141229,10 +141229,10 @@ index 0000000000000000000000000000000000000000..313563d6ed47fb1e0db8f8ffa4505b61 + }; +}; -From f4f88ba89beb2abd3550cc4b0c48fe6cd4373434 Mon Sep 17 00:00:00 2001 +From c2b5ab7af36cc0c2c0f5133e83e7786d4a77787d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 Jan 2018 12:17:27 +0000 -Subject: [PATCH 180/200] mmc: bcm2835-sdhost: Support underclocking +Subject: [PATCH 180/207] mmc: bcm2835-sdhost: Support underclocking Support underclocking of the SD bus in two ways: 1. using the max-frequency DT property (which currently has no DT @@ -141275,10 +141275,10 @@ index 9c6f199a7830959f31012d86bc1f8b1a9922185f..6c0dafe6c64b03f91cfb0360861c29dd mmc->max_busy_timeout = (~(unsigned int)0)/(mmc->f_max/1000); -From aeb3b9c0d38ba0669119501fe5a5f95734bef4a3 Mon Sep 17 00:00:00 2001 +From 15c6f7c3ec43f58578f233c220c6d99cfbe14109 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 Jan 2018 12:22:01 +0000 -Subject: [PATCH 181/200] mmc: bcm2835-mmc: Support underclocking +Subject: [PATCH 181/207] mmc: bcm2835-mmc: Support underclocking Support underclocking of the SD bus using the max-frequency DT property (which currently has no DT parameter). The sd_overclock parameter @@ -141309,10 +141309,10 @@ index c4a5e992c6fb4a40b933239350ed4bfc8fb40155..b7f5fd96ecb6c59395022e868726f890 /* SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK */ -From f892055395f52cfbda72df0ff7a5c79952875bfe Mon Sep 17 00:00:00 2001 +From b3598430612c0289a6cf81050c02c693911d6aa8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 Jan 2018 17:26:38 +0000 -Subject: [PATCH 182/200] serial: 8250: bcm2835aux - suppress EPROBE_DEFER +Subject: [PATCH 182/207] serial: 8250: bcm2835aux - suppress EPROBE_DEFER Signed-off-by: Phil Elwell --- @@ -141334,10 +141334,10 @@ index a23c7da42ea81342efc26fb35a92a69d535b7cd0..4f8b8c97186879949a313ce185fcd6e0 } -From 980c423a7d0e55f0db13ebcee6950a5d53a53ebd Mon Sep 17 00:00:00 2001 +From 4fb2720838e40f72324306957c6ffa26038c4c25 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Jan 2018 16:52:45 +0000 -Subject: [PATCH 183/200] irqchip: irq-bcm2836: Remove regmap and syscon use +Subject: [PATCH 183/207] irqchip: irq-bcm2836: Remove regmap and syscon use The syscon node defines a register range that duplicates that used by the local_intc node on bcm2836/7. Since irq-bcm2835 and irq-bcm2836 are @@ -141485,10 +141485,10 @@ index 05b17ca993f405c4c8e61a782ec58149038069c2..963415c919146e66ef36f4da8f157cab intc.domain = irq_domain_add_linear(node, LAST_IRQ + 1, -From a924836df639bc2c5ac1fb168495bbf4d7fc3a0c Mon Sep 17 00:00:00 2001 +From b4d423e81a0edfbd7963d89734a642abcd6131ae Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jan 2018 15:19:39 +0000 -Subject: [PATCH 184/200] lan78xx: Avoid spurious kevent 4 "error" +Subject: [PATCH 184/207] lan78xx: Avoid spurious kevent 4 "error" lan78xx_defer_event generates an error message whenever the work item is already scheduled. lan78xx_open defers three events - @@ -141518,10 +141518,10 @@ index 76674d8881b588f0a47c3a6f568825fdf034aea5..da0b0bcb7d39d6657ef4c1353e5dcf27 static int lan78xx_open(struct net_device *net) -From 8cefb3b3048cc41041cc498e272fae3062dc8041 Mon Sep 17 00:00:00 2001 +From 3b175b334575b6c292f06dd9160a64ef6c776a7a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jan 2018 20:00:48 +0000 -Subject: [PATCH 185/200] overlays: Allow multiple pps-gpio instantiations +Subject: [PATCH 185/207] overlays: Allow multiple pps-gpio instantiations See: https://github.com/raspberrypi/linux/issues/2352 @@ -141564,10 +141564,10 @@ index 50143a4bb215807ba0a0d0562f5827fa29a04de4..9ee4bdfa6167355e82d7f8229613f294 }; }; -From 786eb6dda9ea102e34338186dfcb55fa4ee03352 Mon Sep 17 00:00:00 2001 +From 0711c75fe3478a93e48386ee0439d848a275a976 Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Fri, 1 Sep 2017 16:49:54 +0200 -Subject: [PATCH 186/200] drm/vc4: Use correct path to trace include +Subject: [PATCH 186/207] drm/vc4: Use correct path to trace include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -141612,10 +141612,10 @@ index ad7b1ea720c288eb587d16e5f8e10eace5de93f3..deafb32923e147f4bb9ad93ce441a6ae +#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/vc4 #include -From 22afab874c7092c3d8ff0837d9da4a23150ab915 Mon Sep 17 00:00:00 2001 +From 5f6aea3eb23e7aa40321f6c19c492445aa14ec35 Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Fri, 8 Sep 2017 15:05:04 +0100 -Subject: [PATCH 187/200] drm/vc4: clean up error handling on devm_kzalloc +Subject: [PATCH 187/207] drm/vc4: clean up error handling on devm_kzalloc failure The current error handling when devm_kzalloc fails performs a @@ -141672,10 +141672,10 @@ index 8f71157a2b063b07a3d3c195ae5049a0ddcac03e..0b2088264039131f05c2f09bc9ba84d2 static void vc4_hdmi_encoder_destroy(struct drm_encoder *encoder) -From 89a7f9aa1136ce281be6b1b62d9c7fe021b2c802 Mon Sep 17 00:00:00 2001 +From a9b7d1a7733ae5c41c74955b28488363184fa021 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Thu, 19 Oct 2017 14:57:48 +0200 -Subject: [PATCH 188/200] drm/vc4: Add the DRM_IOCTL_VC4_GEM_MADVISE ioctl +Subject: [PATCH 188/207] drm/vc4: Add the DRM_IOCTL_VC4_GEM_MADVISE ioctl This ioctl will allow us to purge inactive userspace buffers when the system is running out of contiguous memory. @@ -142555,10 +142555,10 @@ index afae870049636e9c5db9a10a03d40dc3beb4c6ee..52263b575bdc4e5d9a6c6e628b12918e } #endif -From c85e3747a7a893e380b5b9895341bd7177bf4d04 Mon Sep 17 00:00:00 2001 +From e65c506964712e40668ec82810114fa7706b381c Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Wed, 22 Nov 2017 21:39:28 +0100 -Subject: [PATCH 189/200] drm/vc4: Fix false positive WARN() backtrace on +Subject: [PATCH 189/207] drm/vc4: Fix false positive WARN() backtrace on refcount_inc() usage With CONFIG_REFCOUNT_FULL enabled, refcount_inc() complains when it's @@ -142599,10 +142599,10 @@ index 01a53ba304f89769ccedf66f2cba361f809b54c8..55f03ad827ed82d967bcdb3c8f060226 break; case VC4_MADV_DONTNEED: -From c9a4f2c7c3501c9239ccf1a1fb35e5003009ce98 Mon Sep 17 00:00:00 2001 +From 716d36e0c211a78b097543c08dc3a87818480185 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 13 Oct 2017 17:12:55 -0700 -Subject: [PATCH 190/200] drm/vc4: Fix sleeps during the IRQ handler for DSI +Subject: [PATCH 190/207] drm/vc4: Fix sleeps during the IRQ handler for DSI transactions. VC4's DSI1 has a bug where the AXI connection is broken for 32-bit @@ -142675,10 +142675,10 @@ index 04796d7d0fdbb441c09ecbd9b4fbce41a7831534..9a1a559ba287c460b274c6a279883e69 if (ret != -EPROBE_DEFER) dev_err(dev, "Failed to get interrupt: %d\n", ret); -From 5f20bb6392ce7da860e06f6844c42d8a92a8b3fa Mon Sep 17 00:00:00 2001 +From a3045cc20f2f44bb70bd634204b221bf5f3a2161 Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Tue, 24 Oct 2017 08:16:48 -0700 -Subject: [PATCH 191/200] drm/vc4: Convert timers to use timer_setup() +Subject: [PATCH 191/207] drm/vc4: Convert timers to use timer_setup() In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() @@ -142755,110 +142755,10 @@ index a3008cc312e43e6c41218bca7debde390d95c822..152ce55160fef90b24d737f1457f5e7d INIT_WORK(&vc4->job_done_work, vc4_job_done_work); -From 54a38ce03e63f408f6727d1b1fc63cb437e3cea3 Mon Sep 17 00:00:00 2001 -From: Stefan Schake -Date: Fri, 10 Nov 2017 02:05:06 +0100 -Subject: [PATCH 192/200] drm/vc4: Account for interrupts in flight - -Synchronously disable the IRQ to make the following cancel_work_sync -invocation effective. - -An interrupt in flight could enqueue further overflow mem work. As we -free the binner BO immediately following vc4_irq_uninstall this caused -a NULL pointer dereference in the work callback vc4_overflow_mem_work. - -Link: https://github.com/anholt/linux/issues/114 -Signed-off-by: Stefan Schake -Fixes: d5b1a78a772f ("drm/vc4: Add support for drawing 3D frames.") -Signed-off-by: Eric Anholt -Reviewed-by: Eric Anholt -Link: https://patchwork.freedesktop.org/patch/msgid/1510275907-993-2-git-send-email-stschake@gmail.com -(cherry picked from commit 253696ccd613fbdaa5aba1de44c461a058e0a114) ---- - drivers/gpu/drm/vc4/vc4_irq.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/drivers/gpu/drm/vc4/vc4_irq.c b/drivers/gpu/drm/vc4/vc4_irq.c -index fc1fc43a924dcc0c44a7a13858bfb53ccdf8fe32..26eddbb628936b91f20a000c405bfbc536324e89 100644 ---- a/drivers/gpu/drm/vc4/vc4_irq.c -+++ b/drivers/gpu/drm/vc4/vc4_irq.c -@@ -209,6 +209,9 @@ vc4_irq_postinstall(struct drm_device *dev) - { - struct vc4_dev *vc4 = to_vc4_dev(dev); - -+ /* Undo the effects of a previous vc4_irq_uninstall. */ -+ enable_irq(dev->irq); -+ - /* Enable both the render done and out of memory interrupts. */ - V3D_WRITE(V3D_INTENA, V3D_DRIVER_IRQS); - -@@ -226,6 +229,9 @@ vc4_irq_uninstall(struct drm_device *dev) - /* Clear any pending interrupts we might have left. */ - V3D_WRITE(V3D_INTCTL, V3D_DRIVER_IRQS); - -+ /* Finish any interrupt handler still in flight. */ -+ disable_irq(dev->irq); -+ - cancel_work_sync(&vc4->overflow_mem_work); - } - - -From f5b59afb540a9009df536979d8a529d86ef8ce23 Mon Sep 17 00:00:00 2001 -From: Stefan Schake -Date: Fri, 29 Dec 2017 17:05:43 +0100 -Subject: [PATCH 193/200] drm/vc4: Move IRQ enable to PM path - -We were calling enable_irq on bind, where it was already enabled previously -by the IRQ helper. Additionally, dev->irq is not set correctly until after -postinstall and so was always zero here, triggering a warning in 4.15. -Fix both by moving the enable to the power management resume path, where we -know there was a previous disable invocation during suspend. - -Fixes: 253696ccd613 ("drm/vc4: Account for interrupts in flight") -Signed-off-by: Stefan Schake -Signed-off-by: Eric Anholt -Link: https://patchwork.freedesktop.org/patch/msgid/1514563543-32511-1-git-send-email-stschake@gmail.com -Tested-by: Stefan Wahren -Reviewed-by: Eric Anholt -(cherry picked from commit ce9caf2f79a5aa170a4b6456a03db639eed9c988) ---- - drivers/gpu/drm/vc4/vc4_irq.c | 3 --- - drivers/gpu/drm/vc4/vc4_v3d.c | 3 +++ - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/drivers/gpu/drm/vc4/vc4_irq.c b/drivers/gpu/drm/vc4/vc4_irq.c -index 26eddbb628936b91f20a000c405bfbc536324e89..3dd62d75f5319dbffcd9d27ea6f60927d193eb92 100644 ---- a/drivers/gpu/drm/vc4/vc4_irq.c -+++ b/drivers/gpu/drm/vc4/vc4_irq.c -@@ -209,9 +209,6 @@ vc4_irq_postinstall(struct drm_device *dev) - { - struct vc4_dev *vc4 = to_vc4_dev(dev); - -- /* Undo the effects of a previous vc4_irq_uninstall. */ -- enable_irq(dev->irq); -- - /* Enable both the render done and out of memory interrupts. */ - V3D_WRITE(V3D_INTENA, V3D_DRIVER_IRQS); - -diff --git a/drivers/gpu/drm/vc4/vc4_v3d.c b/drivers/gpu/drm/vc4/vc4_v3d.c -index 622cd43840b8c53588396b6d1d82b5d234a69113..493f392b3a0a90e70820d3582c0847ebe3cc0bd7 100644 ---- a/drivers/gpu/drm/vc4/vc4_v3d.c -+++ b/drivers/gpu/drm/vc4/vc4_v3d.c -@@ -327,6 +327,9 @@ static int vc4_v3d_runtime_resume(struct device *dev) - return ret; - - vc4_v3d_init_hw(vc4->dev); -+ -+ /* We disabled the IRQ as part of vc4_irq_uninstall in suspend. */ -+ enable_irq(vc4->dev->irq); - vc4_irq_postinstall(vc4->dev); - - return 0; - -From 14de75feb8125fb743c550bcd9dc442e6c98d0c0 Mon Sep 17 00:00:00 2001 +From a3facc3008cdc76ab6f4a14521c4b4dfe0d75ed3 Mon Sep 17 00:00:00 2001 From: Boris BREZILLON Date: Wed, 1 Nov 2017 10:57:31 +0100 -Subject: [PATCH 194/200] drm/vc4: Fix wrong printk format in +Subject: [PATCH 192/207] drm/vc4: Fix wrong printk format in vc4_bo_stats_debugfs() vc4->purgeable.size and vc4->purgeable.purged_size are size_t fields @@ -142893,10 +142793,10 @@ index 2b587e5b4628fc62cbadd7e99466032438d7e5c3..2decc8e2c79f58aad6ea7626a32a0f26 vc4->purgeable.purged_num); mutex_unlock(&vc4->purgeable.lock); -From c1094c5e168e4cfdf9b65f9da345d585052509f9 Mon Sep 17 00:00:00 2001 +From 66d2bf83d12f632916a28927b8d67e8be665c889 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 20 Sep 2017 15:59:34 -0700 -Subject: [PATCH 195/200] drm/vc4: Reject HDMI modes with too high of clocks. +Subject: [PATCH 193/207] drm/vc4: Reject HDMI modes with too high of clocks. Peter Robinson reported issues on Fedora with 4k monitors not having their modes filtered down to 1920x1080 on Raspberry Pi. @@ -142940,10 +142840,10 @@ index 0b2088264039131f05c2f09bc9ba84d2d3793e39..8ab20c1e9e69e90b90c7f74640033f93 .enable = vc4_hdmi_encoder_enable, }; -From f1273b780ea37c069069a5c18bce927a06b15540 Mon Sep 17 00:00:00 2001 +From 607d6b01f16898de890605dd8eb9d6d0582a3037 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 16 Nov 2017 14:22:29 +0000 -Subject: [PATCH 196/200] drm/vc4: Add support for DRM_FORMAT_RGB888 and +Subject: [PATCH 194/207] drm/vc4: Add support for DRM_FORMAT_RGB888 and DRM_FORMAT_BGR888 Filling out the list of supported formats based on those the @@ -142978,10 +142878,10 @@ index e2b3cd6d885b080a3c3077cc160a549bec9b0330..497cb7d50946c6aa8e4d676982902694 .drm = DRM_FORMAT_YUV422, .hvs = HVS_PIXEL_FORMAT_YCBCR_YUV422_3PLANE, -From bd98d97e00c1da69bacdc379d083f19c39067b1b Mon Sep 17 00:00:00 2001 +From 159ce10fd95362a56286540a57f57f38a2cd9390 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 16 Nov 2017 14:22:30 +0000 -Subject: [PATCH 197/200] drm/vc4: Use .pixel_order instead of custom +Subject: [PATCH 195/207] drm/vc4: Use .pixel_order instead of custom .flip_cbcr The hardware has enums for altering the Cr and Cb order, @@ -143067,10 +142967,10 @@ index 497cb7d50946c6aa8e4d676982902694ff46e113..5c67090e93f5e574de197735f01c6c4d /* Pointer Context Word 0/1/2: Written by the HVS */ for (i = 0; i < num_planes; i++) -From 4e27d4060a4e688224d29e3e505593e578dbba20 Mon Sep 17 00:00:00 2001 +From b52ceb540baf8d66dec3d24a880980d725ee007e Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 16 Nov 2017 14:22:31 +0000 -Subject: [PATCH 198/200] drm/vc4: Add support for NV21 and NV61. +Subject: [PATCH 196/207] drm/vc4: Add support for NV21 and NV61. NV12 (YUV420 2 plane) and NV16 (YUV422 2 plane) were supported, but NV21 and NV61 (same but with Cb and Cr @@ -143112,10 +143012,10 @@ index 5c67090e93f5e574de197735f01c6c4dbbdd0180..44a956cb87c2184e8631868307538b15 static const struct hvs_format *vc4_get_hvs_format(u32 drm_format) -From a5312dce9b7c0244504f4967685fcd5e90a143ba Mon Sep 17 00:00:00 2001 +From 2bb60ba45dde0eab56af0613d9b6decf7c05ad90 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 23 Jan 2017 11:41:54 -0800 -Subject: [PATCH 199/200] BCM270X: Disable VEC unless vc4-kms-v3d is present. +Subject: [PATCH 197/207] BCM270X: Disable VEC unless vc4-kms-v3d is present. Signed-off-by: Eric Anholt (cherry picked from commit dabd52db47d2e799323639734787e3a338c2b2a5) @@ -143155,10 +143055,10 @@ index 7d0d659b4886147e7e3b7eb3f60d546592cf2853..8baa7f77cd94ca76e9a0134601540232 cma-256 = <0>,"+0-1-2-3-4"; cma-192 = <0>,"-0+1-2-3-4"; -From 987ad725140ed2b6c3173620e2517f0c93463c97 Mon Sep 17 00:00:00 2001 +From b83ff9042a0cff640987a4bc89689951b7cb75b2 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 21 Dec 2017 13:32:09 -0800 -Subject: [PATCH 200/200] drm/vc4: Flush the caches before the render jobs, as +Subject: [PATCH 198/207] drm/vc4: Flush the caches before the render jobs, as well. If the frame samples from a render target that was just written, its @@ -143214,3 +143114,442 @@ index 152ce55160fef90b24d737f1457f5e7dcc0bd81d..c94cce96544c8b0196f16b2e9151e154 submit_cl(dev, 1, exec->ct1ca, exec->ct1ea); } + +From d7fe6ba5541060648276cd113f254c2190d50453 Mon Sep 17 00:00:00 2001 +From: Eric Anholt +Date: Wed, 7 Jun 2017 14:39:49 -0700 +Subject: [PATCH 199/207] drm/vc4: Add FB modifier support to firmwarekms. + +Signed-off-by: Eric Anholt +(cherry picked from commit 11752d73488e08aaeb65fe8289a9c016acde26c2) +--- + drivers/gpu/drm/vc4/vc4_firmware_kms.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/drivers/gpu/drm/vc4/vc4_firmware_kms.c b/drivers/gpu/drm/vc4/vc4_firmware_kms.c +index 766f700417f7194d6b01fa1bc18dad40f116744b..6221aeb43d9b314a0a356ea9fca62545135b6521 100644 +--- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c ++++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c +@@ -17,6 +17,7 @@ + #include "drm/drm_atomic_helper.h" + #include "drm/drm_plane_helper.h" + #include "drm/drm_crtc_helper.h" ++#include "drm/drm_fourcc.h" + #include "linux/clk.h" + #include "linux/debugfs.h" + #include "drm/drm_fb_cma_helper.h" +@@ -135,6 +136,10 @@ static void vc4_primary_plane_atomic_update(struct drm_plane *plane, + fbinfo->yoffset = state->crtc_y; + fbinfo->base = bo->paddr + fb->offsets[0]; + fbinfo->pitch = fb->pitches[0]; ++ ++ if (fb->modifier == DRM_FORMAT_MOD_BROADCOM_VC4_T_TILED) ++ fbinfo->bpp |= BIT(31); ++ + /* A bug in the firmware makes it so that if the fb->base is + * set to nonzero, the configured pitch gets overwritten with + * the previous pitch. So, to get the configured pitch + +From 1f7c37058971e246620f385a8432d0cd999e9aba Mon Sep 17 00:00:00 2001 +From: Eric Anholt +Date: Tue, 30 Jan 2018 14:21:02 -0800 +Subject: [PATCH 200/207] drm/vc4: Add missing enable/disable vblank handlers + in fkms. + +Fixes hang at boot in 4.14. + +Signed-off-by: Eric Anholt +--- + drivers/gpu/drm/vc4/vc4_crtc.c | 14 -------------- + drivers/gpu/drm/vc4/vc4_firmware_kms.c | 15 +++++++++++++++ + 2 files changed, 15 insertions(+), 14 deletions(-) + +diff --git a/drivers/gpu/drm/vc4/vc4_crtc.c b/drivers/gpu/drm/vc4/vc4_crtc.c +index 2e9f75ed8b67727aef6ca94bb0c8a6fab0f5370c..6fca0f686207936b800b8dee1598c438fdb4e85a 100644 +--- a/drivers/gpu/drm/vc4/vc4_crtc.c ++++ b/drivers/gpu/drm/vc4/vc4_crtc.c +@@ -685,15 +685,8 @@ static void vc4_crtc_atomic_flush(struct drm_crtc *crtc, + + static int vc4_enable_vblank(struct drm_crtc *crtc) + { +- struct drm_device *dev = crtc->dev; +- struct vc4_dev *vc4 = to_vc4_dev(dev); + struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); + +- if (vc4->firmware_kms) { +- /* XXX: Can we mask the SMI interrupt? */ +- return 0; +- } +- + CRTC_WRITE(PV_INTEN, PV_INT_VFP_START); + + return 0; +@@ -701,15 +694,8 @@ static int vc4_enable_vblank(struct drm_crtc *crtc) + + static void vc4_disable_vblank(struct drm_crtc *crtc) + { +- struct drm_device *dev = crtc->dev; +- struct vc4_dev *vc4 = to_vc4_dev(dev); + struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); + +- if (vc4->firmware_kms) { +- /* XXX: Can we mask the SMI interrupt? */ +- return; +- } +- + CRTC_WRITE(PV_INTEN, 0); + } + +diff --git a/drivers/gpu/drm/vc4/vc4_firmware_kms.c b/drivers/gpu/drm/vc4/vc4_firmware_kms.c +index 6221aeb43d9b314a0a356ea9fca62545135b6521..7edb38953a6a2a875685a9aa4ffa3550488833e5 100644 +--- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c ++++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c +@@ -441,6 +441,19 @@ static int vc4_page_flip(struct drm_crtc *crtc, + return drm_atomic_helper_page_flip(crtc, fb, event, flags, ctx); + } + ++static int vc4_fkms_enable_vblank(struct drm_crtc *crtc) ++{ ++ /* XXX: Need a way to enable/disable the interrupt, to avoid ++ * DRM warnings at boot time. ++ */ ++ ++ return 0; ++} ++ ++static void vc4_fkms_disable_vblank(struct drm_crtc *crtc) ++{ ++} ++ + static const struct drm_crtc_funcs vc4_crtc_funcs = { + .set_config = drm_atomic_helper_set_config, + .destroy = drm_crtc_cleanup, +@@ -451,6 +464,8 @@ static const struct drm_crtc_funcs vc4_crtc_funcs = { + .reset = drm_atomic_helper_crtc_reset, + .atomic_duplicate_state = drm_atomic_helper_crtc_duplicate_state, + .atomic_destroy_state = drm_atomic_helper_crtc_destroy_state, ++ .enable_vblank = vc4_fkms_enable_vblank, ++ .disable_vblank = vc4_fkms_disable_vblank, + }; + + static const struct drm_crtc_helper_funcs vc4_crtc_helper_funcs = { + +From 38c5830ca3eea8866a81b5878ab1a929016ee455 Mon Sep 17 00:00:00 2001 +From: Eric Anholt +Date: Mon, 5 Feb 2018 18:01:02 +0000 +Subject: [PATCH 201/207] drm/vc4: Fix warning about vblank interrupts before + DRM core is ready. + +The SMICS interrupt fires continuously, but since it's 1/100 the rate +of the USB interrupts, we don't really need a way to turn it off. We +do need to make sure that we don't tell DRM about it until DRM has +asked for the interrupt at least once, because otherwise it will throw +a warning at boot time. + +Signed-off-by: Eric Anholt +--- + drivers/gpu/drm/vc4/vc4_firmware_kms.c | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +diff --git a/drivers/gpu/drm/vc4/vc4_firmware_kms.c b/drivers/gpu/drm/vc4/vc4_firmware_kms.c +index 7edb38953a6a2a875685a9aa4ffa3550488833e5..967a0bf5886b746b1177b46aaa205751e7233890 100644 +--- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c ++++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c +@@ -43,6 +43,7 @@ struct vc4_crtc { + + struct drm_pending_vblank_event *event; + u32 overscan[4]; ++ bool vblank_enabled; + }; + + static inline struct vc4_crtc *to_vc4_crtc(struct drm_crtc *crtc) +@@ -420,7 +421,8 @@ static irqreturn_t vc4_crtc_irq_handler(int irq, void *data) + + if (stat & SMICS_INTERRUPTS) { + writel(0, vc4_crtc->regs + SMICS); +- drm_crtc_handle_vblank(&vc4_crtc->base); ++ if (vc4_crtc->vblank_enabled) ++ drm_crtc_handle_vblank(&vc4_crtc->base); + vc4_crtc_handle_page_flip(vc4_crtc); + ret = IRQ_HANDLED; + } +@@ -443,9 +445,9 @@ static int vc4_page_flip(struct drm_crtc *crtc, + + static int vc4_fkms_enable_vblank(struct drm_crtc *crtc) + { +- /* XXX: Need a way to enable/disable the interrupt, to avoid +- * DRM warnings at boot time. +- */ ++ struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); ++ ++ vc4_crtc->vblank_enabled = true; + + return 0; + } + +From 4b8e514f2dea89fda79f0b272cc204c6954d440d Mon Sep 17 00:00:00 2001 +From: Eric Anholt +Date: Mon, 5 Feb 2018 18:02:30 +0000 +Subject: [PATCH 202/207] drm/vc4: Skip SET_CURSOR_INFO when the cursor + contents didn't change. + +Signed-off-by: Eric Anholt +--- + drivers/gpu/drm/vc4/vc4_firmware_kms.c | 30 ++++++++++++++++++++---------- + 1 file changed, 20 insertions(+), 10 deletions(-) + +diff --git a/drivers/gpu/drm/vc4/vc4_firmware_kms.c b/drivers/gpu/drm/vc4/vc4_firmware_kms.c +index 967a0bf5886b746b1177b46aaa205751e7233890..462d9084ce53da8bf5966f175f753bf22510bfcb 100644 +--- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c ++++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c +@@ -204,10 +204,6 @@ static void vc4_cursor_plane_atomic_update(struct drm_plane *plane, + state->crtc_y, + 0 + }; +- u32 packet_info[] = { state->crtc_w, state->crtc_h, +- 0, /* unused */ +- bo->paddr + fb->offsets[0], +- 0, 0, /* hotx, hoty */}; + WARN_ON_ONCE(fb->pitches[0] != state->crtc_w * 4); + + DRM_DEBUG_ATOMIC("[PLANE:%d:%s] update %dx%d cursor at %d,%d (0x%08x/%d)", +@@ -232,12 +228,26 @@ static void vc4_cursor_plane_atomic_update(struct drm_plane *plane, + if (ret || packet_state[0] != 0) + DRM_ERROR("Failed to set cursor state: 0x%08x\n", packet_state[0]); + +- ret = rpi_firmware_property(vc4->firmware, +- RPI_FIRMWARE_SET_CURSOR_INFO, +- &packet_info, +- sizeof(packet_info)); +- if (ret || packet_info[0] != 0) +- DRM_ERROR("Failed to set cursor info: 0x%08x\n", packet_info[0]); ++ /* Note: When the cursor contents change, the modesetting ++ * driver calls drm_mode_cursor_univeral() with ++ * DRM_MODE_CURSOR_BO, which means a new fb will be allocated. ++ */ ++ if (!old_state || ++ state->crtc_w != old_state->crtc_w || ++ state->crtc_h != old_state->crtc_h || ++ fb != old_state->fb) { ++ u32 packet_info[] = { state->crtc_w, state->crtc_h, ++ 0, /* unused */ ++ bo->paddr + fb->offsets[0], ++ 0, 0, /* hotx, hoty */}; ++ ++ ret = rpi_firmware_property(vc4->firmware, ++ RPI_FIRMWARE_SET_CURSOR_INFO, ++ &packet_info, ++ sizeof(packet_info)); ++ if (ret || packet_info[0] != 0) ++ DRM_ERROR("Failed to set cursor info: 0x%08x\n", packet_info[0]); ++ } + } + + static void vc4_cursor_plane_atomic_disable(struct drm_plane *plane, + +From 6a02cc46044e952463fde1106238f603d219941e Mon Sep 17 00:00:00 2001 +From: Eric Anholt +Date: Mon, 5 Feb 2018 18:22:03 +0000 +Subject: [PATCH 203/207] drm/vc4: Remove duplicate primary/cursor fields from + FKMS driver. + +The CRTC has those fields and we can just use them. + +Signed-off-by: Eric Anholt +--- + drivers/gpu/drm/vc4/vc4_firmware_kms.c | 24 +++++++----------------- + 1 file changed, 7 insertions(+), 17 deletions(-) + +diff --git a/drivers/gpu/drm/vc4/vc4_firmware_kms.c b/drivers/gpu/drm/vc4/vc4_firmware_kms.c +index 462d9084ce53da8bf5966f175f753bf22510bfcb..60e9d8fa5511340d63c3fad7a95cfb3023d99d5f 100644 +--- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c ++++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c +@@ -37,8 +37,6 @@ struct vc4_crtc { + struct drm_crtc base; + struct drm_encoder *encoder; + struct drm_connector *connector; +- struct drm_plane *primary; +- struct drm_plane *cursor; + void __iomem *regs; + + struct drm_pending_vblank_event *event; +@@ -356,29 +354,24 @@ static void vc4_crtc_mode_set_nofb(struct drm_crtc *crtc) + + static void vc4_crtc_disable(struct drm_crtc *crtc, struct drm_crtc_state *old_state) + { +- struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); +- + /* Always turn the planes off on CRTC disable. In DRM, planes + * are enabled/disabled through the update/disable hooks + * above, and the CRTC enable/disable independently controls + * whether anything scans out at all, but the firmware doesn't + * give us a CRTC-level control for that. + */ +- vc4_cursor_plane_atomic_disable(vc4_crtc->cursor, +- vc4_crtc->cursor->state); +- vc4_plane_set_primary_blank(vc4_crtc->primary, true); ++ vc4_cursor_plane_atomic_disable(crtc->cursor, crtc->cursor->state); ++ vc4_plane_set_primary_blank(crtc->primary, true); + } + + static void vc4_crtc_enable(struct drm_crtc *crtc, struct drm_crtc_state *old_state) + { +- struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); +- + /* Unblank the planes (if they're supposed to be displayed). */ +- if (vc4_crtc->primary->state->fb) +- vc4_plane_set_primary_blank(vc4_crtc->primary, false); +- if (vc4_crtc->cursor->state->fb) { +- vc4_cursor_plane_atomic_update(vc4_crtc->cursor, +- vc4_crtc->cursor->state); ++ if (crtc->primary->state->fb) ++ vc4_plane_set_primary_blank(crtc->primary, false); ++ if (crtc->cursor->state->fb) { ++ vc4_cursor_plane_atomic_update(crtc->cursor, ++ crtc->cursor->state); + } + } + +@@ -689,9 +682,6 @@ static int vc4_fkms_bind(struct device *dev, struct device *master, void *data) + primary_plane->crtc = crtc; + cursor_plane->crtc = crtc; + +- vc4_crtc->primary = primary_plane; +- vc4_crtc->cursor = cursor_plane; +- + vc4_encoder = devm_kzalloc(dev, sizeof(*vc4_encoder), GFP_KERNEL); + if (!vc4_encoder) + return -ENOMEM; + +From 4f40fa0dd2e194a89b9b99f2222e7118561ad25b Mon Sep 17 00:00:00 2001 +From: Eric Anholt +Date: Mon, 5 Feb 2018 18:53:18 +0000 +Subject: [PATCH 204/207] drm/vc4: Don't wait for vblank on fkms cursor + updates. + +We don't use the same async update path between fkms and normal kms, +and the normal kms workaround ended up making us wait. This became a +larger problem in rpi-4.14.y, as the USB HID update rate throttling +got (accidentally?) dropped. + +Signed-off-by: Eric Anholt +--- + drivers/gpu/drm/vc4/vc4_kms.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/vc4/vc4_kms.c b/drivers/gpu/drm/vc4/vc4_kms.c +index 50c4959b5bd33efe329119a0aa9fd39b255e098f..f73343e08fe668fb590074dd86d4f6648c323f1c 100644 +--- a/drivers/gpu/drm/vc4/vc4_kms.c ++++ b/drivers/gpu/drm/vc4/vc4_kms.c +@@ -53,7 +53,8 @@ vc4_atomic_complete_commit(struct drm_atomic_state *state) + * display lists before we free it and potentially reallocate + * and overwrite the dlist memory with a new modeset. + */ +- state->legacy_cursor_update = false; ++ if (!vc4->firmware_kms) ++ state->legacy_cursor_update = false; + + drm_atomic_helper_commit_hw_done(state); + + +From cadaa86fcb1006eb040a93e2d77220f4ce5e0330 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 5 Feb 2018 10:37:54 +0000 +Subject: [PATCH 205/207] config: Add SND_USB_HIFACE=m + +See: https://github.com/raspberrypi/linux/issues/2368 + +Signed-off-by: Phil Elwell +--- + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index f1dcc7d974b674199c4f25e8d561f09b152ffa19..80825a872c1eb15a96d0fa0e6dbaf76674ca2e49 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -864,6 +864,7 @@ CONFIG_SND_USB_UA101=m + CONFIG_SND_USB_CAIAQ=m + CONFIG_SND_USB_CAIAQ_INPUT=y + CONFIG_SND_USB_6FIRE=m ++CONFIG_SND_USB_HIFACE=m + CONFIG_SND_SOC=m + CONFIG_SND_BCM2835_SOC_I2S=m + CONFIG_SND_BCM2708_SOC_GOOGLEVOICEHAT_SOUNDCARD=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index f2563f6824b6b16d9f44bc0ee1da818bc3ef5ebd..9c166b8c718287010facfb105bd28540c46949d8 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -857,6 +857,7 @@ CONFIG_SND_USB_UA101=m + CONFIG_SND_USB_CAIAQ=m + CONFIG_SND_USB_CAIAQ_INPUT=y + CONFIG_SND_USB_6FIRE=m ++CONFIG_SND_USB_HIFACE=m + CONFIG_SND_SOC=m + CONFIG_SND_BCM2835_SOC_I2S=m + CONFIG_SND_BCM2708_SOC_GOOGLEVOICEHAT_SOUNDCARD=m + +From eb92330b0e2764518c14be539bee30822db09a40 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 5 Feb 2018 09:35:01 +0000 +Subject: [PATCH 206/207] mmc: bcm2835-sdhost: Add include + +highmem.h (needed for kmap_atomic) is pulled in by one of the other +include files, but only with some CONFIG settings. Make the inclusion +explicit to cater for cases where the CONFIG setting is absent. + +See: https://github.com/raspberrypi/linux/issues/2366 + +Signed-off-by: Phil Elwell +--- + drivers/mmc/host/bcm2835-sdhost.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/mmc/host/bcm2835-sdhost.c b/drivers/mmc/host/bcm2835-sdhost.c +index 6c0dafe6c64b03f91cfb0360861c29dd444b3ca5..273b1be058c54bae5b4a18ce64cd0e11b084beeb 100644 +--- a/drivers/mmc/host/bcm2835-sdhost.c ++++ b/drivers/mmc/host/bcm2835-sdhost.c +@@ -52,6 +52,7 @@ + #include + #include + #include ++#include + #include + + /* For mmc_card_blockaddr */ + +From 543596d3fdacf0316084f6c6ed00e34b71a6f15a Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Mon, 14 Jul 2014 22:02:09 +0100 +Subject: [PATCH 207/207] hid: Reduce default mouse polling interval to 60Hz + +Reduces overhead when using X +--- + drivers/hid/usbhid/hid-core.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c +index 045b5da9b992873ce74f5d401de34855b93a6f8e..45abcbab4efe561a3829e9a6b6014abeb7d7797d 100644 +--- a/drivers/hid/usbhid/hid-core.c ++++ b/drivers/hid/usbhid/hid-core.c +@@ -48,7 +48,7 @@ + * Module parameters. + */ + +-static unsigned int hid_mousepoll_interval; ++static unsigned int hid_mousepoll_interval = ~0; + module_param_named(mousepoll, hid_mousepoll_interval, uint, 0644); + MODULE_PARM_DESC(mousepoll, "Polling interval of mice"); + +@@ -1098,7 +1098,9 @@ static int usbhid_start(struct hid_device *hid) + /* Change the polling interval of mice and joysticks. */ + switch (hid->collection->usage) { + case HID_GD_MOUSE: +- if (hid_mousepoll_interval > 0) ++ if (hid_mousepoll_interval == ~0 && interval < 16) ++ interval = 16; ++ else if (hid_mousepoll_interval != ~0 && hid_mousepoll_interval != 0) + interval = hid_mousepoll_interval; + break; + case HID_GD_JOYSTICK: