diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index 2e577a67ea..6a77a98e37 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 4979558135f0a87d13ffb0bd3665a268e5373e07 Mon Sep 17 00:00:00 2001 +From 49c58fe93a5c3ea65fd3da522e6152d8e56f9efe Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/169] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/173] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. @@ -48,10 +48,10 @@ index 340c13484e5cc7dd5001577b7522d5a4318bd5b6..7d3d98f0405ad948f9ab3e035a70e15c usbnet_skb_return(dev, ax_skb); } -From cd7aea0a770ceb060dcc47cd2e14c96b4e129494 Mon Sep 17 00:00:00 2001 +From 0b2850bdc17b7abf7cb2afce390163b5dc4ea033 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 002/169] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 002/173] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -94,10 +94,10 @@ index 7d3d98f0405ad948f9ab3e035a70e15c667e4fa1..8d34e517db08d895e6135f785c42bf63 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From b5319d9c7fb0310dbaa7a502e9edd16fdb313009 Mon Sep 17 00:00:00 2001 +From f1923bb4ba8ed6745b521b6d028d7d2e87f64a84 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 003/169] Allow mac address to be set in smsc95xx +Subject: [PATCH 003/173] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -193,10 +193,10 @@ index 8d34e517db08d895e6135f785c42bf639671815c..5df7e105c41532c3185e46ee54f43a37 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From a34d21b74c59462a1038142258f95ff1a8637518 Mon Sep 17 00:00:00 2001 +From 70fc98ea1063535e7cc4cdb08c5dc45e43da4a75 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 004/169] Protect __release_resource against resources without +Subject: [PATCH 004/173] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -224,10 +224,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From 46eee5c5752594ff6490a8001f92d7543c33f405 Mon Sep 17 00:00:00 2001 +From b4c47135b4e0fac5ef071ea3f5012ff8c9a3bba3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 005/169] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 005/173] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -254,10 +254,10 @@ index e7463e3c08143acae3e8cc5682f918c6a0b07ebd..a8db33b50ad9ff83d284fa54fe4d3b65 #endif } else if (stat) { -From f3240a87e4da24ce464b61f588716e3bf3f1c88e Mon Sep 17 00:00:00 2001 +From 8fc21293ff62c2fa00e9617ca3979762421f0814 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:33:30 +0000 -Subject: [PATCH 006/169] irq-bcm2836: Avoid "Invalid trigger warning" +Subject: [PATCH 006/173] irq-bcm2836: Avoid "Invalid trigger warning" Initialise the level for each IRQ to avoid a warning from the arm arch timer code. @@ -281,10 +281,10 @@ index a8db33b50ad9ff83d284fa54fe4d3b65f859df0f..c4e151451cf8c8ebde5225515eac2786 static void -From 0f3508339f1f5eb1c54728805bbfab409a8c6fcc Mon Sep 17 00:00:00 2001 +From f784149b5e52436e9daa9c76a3fde82cc28dbf54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 12 Jun 2015 19:01:05 +0200 -Subject: [PATCH 007/169] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 007/173] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -413,10 +413,10 @@ index 44d7c38dde479d771f3552e914bf8c1c1f5019f7..42ff5e6a8e0d532f5b60a1e7af7cc4d9 } -From baab676ad89905945cbc844433aba9e95f86e48c Mon Sep 17 00:00:00 2001 +From 5df0f4394a67e96ad946eaf27bf091bbc0afdcfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Oct 2015 16:26:55 +0200 -Subject: [PATCH 008/169] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 008/173] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -515,10 +515,10 @@ index 42ff5e6a8e0d532f5b60a1e7af7cc4d941bd5008..eccf6ed025299cb480884f5bcbe77abf for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From ca503f19cd66a20dd26ef16117632807d25db154 Mon Sep 17 00:00:00 2001 +From 14acb2f6be50915119f05bfaa5bd8c10e4d5f69b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 009/169] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 009/173] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -539,10 +539,10 @@ index cda10719d1d1b21b32866d2b79363faa461ab8e1..4f3779d3aa0960640506725bde918075 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 5c7c54b4e177f0e7de812f5b3762f9b66cc14586 Mon Sep 17 00:00:00 2001 +From 761e7bc661e4ac60e3155bcca8c0a9b96c89b5ce Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 3 Jan 2017 18:25:01 +0000 -Subject: [PATCH 010/169] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" +Subject: [PATCH 010/173] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" This reverts commit 85ae9e512f437cd09bf61564bdba29ab88bab3e3. --- @@ -841,10 +841,10 @@ index 230883168e99a1a3fecc7916ef0a7e0de7e8b3f1..ff3789a11b3c36b922b9d08035abb638 if (IS_ERR(pc->pctl_dev)) { gpiochip_remove(&pc->gpio_chip); -From d07c5fd95dd7bde2642e9b4417e868bb39b62542 Mon Sep 17 00:00:00 2001 +From 9388a774529ab934323234f5beb8a9811c13aecd Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 011/169] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 011/173] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -866,10 +866,10 @@ index ff3789a11b3c36b922b9d08035abb638187c2f5a..d2b537572095c86576f78536f737c102 .can_sleep = false, }; -From e36de85f82174e8d2e3f14a6d7752c0527d39317 Mon Sep 17 00:00:00 2001 +From f25be307c4dad882c05148cd746303a79ee47ff4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 012/169] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 012/173] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -896,10 +896,10 @@ index d2b537572095c86576f78536f737c102487f99f4..a9d480df32562defbf8be0faf0a39bfe pc->irq_data[i].irqgroup = i; -From e2d26864b35b5ee29381982e3f3d0c900d22dcf8 Mon Sep 17 00:00:00 2001 +From a38d9f239a55ed5e563e09e2b1f05616fe3a01e3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 013/169] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 013/173] 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 @@ -980,10 +980,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 37bf50eb888857174c45e989da38bf4dfe3915e4 Mon Sep 17 00:00:00 2001 +From 776eb4a7dc0ba33000dc69f0e8f6ea753404c2aa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 014/169] spi-bcm2835: Disable forced software CS +Subject: [PATCH 014/173] 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 @@ -1017,10 +1017,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From 76c352fdc04bad5338fcc38d124ef82f2bf244f5 Mon Sep 17 00:00:00 2001 +From d62ec9f21825eee0a89dbd9492632093f3d08801 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 015/169] spi-bcm2835: Remove unused code +Subject: [PATCH 015/173] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -1108,10 +1108,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From 6dde858a3abe916864c5c2ff03d9985216e8371d Mon Sep 17 00:00:00 2001 +From a32512eb4a700ad6207ee54f0c601db8c17a3b42 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 016/169] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 016/173] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1164,10 +1164,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From a3de1b11daca892551328e64da6234cc33e5b513 Mon Sep 17 00:00:00 2001 +From 2f188e52b822b22831f536b3ae515467d9060589 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 017/169] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 017/173] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1270,10 +1270,10 @@ index 6204cc32d09c5096df8aec304c3c37b3bcb6be44..599c218dc8a73172dd4bd4a058fc8f95 MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From ea3986be147d0a6696490be6b70e8670243434a5 Mon Sep 17 00:00:00 2001 +From 82a5512cec31470f8acbd936c001bb3cd70822a1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 018/169] firmware: Updated mailbox header +Subject: [PATCH 018/173] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 9 +++++++++ @@ -1334,10 +1334,10 @@ index cb979ad90401e299344dd5fae38d09c489d8bd58..30fb37fe175df604a738258a2a632bca RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, -From e9f6ca9ee87b974ab29d01aa88a4683571827bd8 Mon Sep 17 00:00:00 2001 +From 875bea3c38fc38d442edc0b8cf5792ba7f51ff52 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 019/169] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 019/173] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1357,10 +1357,10 @@ index 8895f77726e8da5444afcd602dceff8f25a9b3fd..1833b8853ceb0e6147cceb93a00e558c MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From 8d5300991bd9bb3a412168673870a2517935446c Mon Sep 17 00:00:00 2001 +From 41eebd5dee1fb8bb5748a40408f6faf1f9b1c4c5 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 020/169] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 020/173] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1462,10 +1462,10 @@ index b339e0e67b4c1275fd4992fea4f1e24c0575b783..26b7177573fac2af1cd4ab5488d2686f static int bcm2835_wdt_probe(struct platform_device *pdev) -From a1dbe654e94b7a79221920c83a847438f6c3f418 Mon Sep 17 00:00:00 2001 +From 6e15671a26b52ef17af457586a796b9f05e121b3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 021/169] reboot: Use power off rather than busy spinning when +Subject: [PATCH 021/173] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1488,10 +1488,10 @@ index 3b2aa9a9fe268d45335f781c4aa22cf573753a1b..0180d89a34af45c56243fe0f17fbe209 /* -From 39964aa58f5695b63be61e824dffe181798c2aa1 Mon Sep 17 00:00:00 2001 +From 4f7e098feec78d5938fd24e0c0c2a2d9338a062d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 022/169] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 022/173] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1510,10 +1510,10 @@ index 49f1e2a75d614bc21db152327c7b425ae2504f8d..dccd2374ed00631abd441e3e9d78ee74 help This enables support for the RPi power domains which can be enabled -From 4d6886ebe5008e1b8ca34185c5e03d41e71c4666 Mon Sep 17 00:00:00 2001 +From f453b96ac14e333e848bb8bfe5858e3cf93da789 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 023/169] Register the clocks early during the boot process, so +Subject: [PATCH 023/173] 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. @@ -1558,10 +1558,10 @@ index 58ce6af8452db9ca8b4d3c380a06e448919f6a8d..11d89d106026f15719ea25047d6f357b MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From f5f6fa7afa00d79d525125ae15a0d7fe5a45c27c Mon Sep 17 00:00:00 2001 +From a731165259850d0a5c0623767dfe7644410c1b90 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 024/169] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 024/173] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1587,20 +1587,20 @@ index 574211a495491d9d6021dcaefe4274a63ed02055..e66c0fca8c6090e32f72796c0877a1cf err = hwrng_register(&bcm2835_rng_ops); if (err) { -From 4b54099333056cbe2f73208e666f0c476a5bbeb8 Mon Sep 17 00:00:00 2001 +From 607437cd1a05cac8cbeedf04191211c1f349b87d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 025/169] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 025/173] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include -index dd8e2dde0b34b3759fe6061eb5c2887f4ecd21fd..801faf1fa311262445dea6e091bf1ac7711394a1 100644 +index 9ffd3dda3889c56a7a72229bed21ff5c49d62856..00da6c9bacbf33334233e22ca5209ade504d72ed 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include -@@ -293,7 +293,7 @@ ksym_dep_filter = \ +@@ -292,7 +292,7 @@ ksym_dep_filter = \ $(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;; \ as_*_S|cpp_s_S) \ $(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;; \ @@ -1610,10 +1610,10 @@ index dd8e2dde0b34b3759fe6061eb5c2887f4ecd21fd..801faf1fa311262445dea6e091bf1ac7 esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From 51a252e06c63058aca2c29f859f53f91fe28749d Mon Sep 17 00:00:00 2001 +From c0b4634b495b81cdc32a4f49e2b3da356d3a04ab Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 026/169] BCM2835_DT: Fix I2S register map +Subject: [PATCH 026/173] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -1651,10 +1651,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 70ca94162639d68b956760d587bdddb3fa60ea61 Mon Sep 17 00:00:00 2001 +From ee79700ae76b6fcf95b881166d78a83a767f7377 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 027/169] clk-bcm2835: Mark used PLLs and dividers CRITICAL +Subject: [PATCH 027/173] 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 @@ -1682,10 +1682,10 @@ index 11d89d106026f15719ea25047d6f357b4bfcb2c5..fe8f5d65f2749cb3ddc878df61664826 divider->data = data; -From 242f196fe07b3cae4c315be61aedff9966b7a3ea Mon Sep 17 00:00:00 2001 +From 44df73ec0d239ff314e8cd60e66f99c181c5c62f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 028/169] clk-bcm2835: Add claim-clocks property +Subject: [PATCH 028/173] 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, @@ -1787,10 +1787,10 @@ index fe8f5d65f2749cb3ddc878df616648267441e0ee..92b5e0f5145b32d3bfc3592fe381e8be sizeof(cprman_parent_names)); of_clk_parent_fill(dev->of_node, cprman->real_parent_names, -From fe1e0192676d9c8f631aebe4ee7c1bfef6f2d287 Mon Sep 17 00:00:00 2001 +From a75a5677f0764c42b3eeba327b08a0d347f4516e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Mar 2017 09:06:18 +0000 -Subject: [PATCH 029/169] clk-bcm2835: Read max core clock from firmware +Subject: [PATCH 029/173] 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 @@ -1905,10 +1905,10 @@ index 92b5e0f5145b32d3bfc3592fe381e8be3cd90c72..336f8c9c44325d0a94e591a8557f7af2 for (i = 0; !of_property_read_u32_index(pdev->dev.of_node, "claim-clocks", -From 90cbf7dbddf703645f3e0a7c0d99642668f8f75b Mon Sep 17 00:00:00 2001 +From e0b2b102ce1b2da6a986dcd246eedb782f3ab4ac Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:36:44 +0000 -Subject: [PATCH 030/169] sound: Demote deferral errors to INFO level +Subject: [PATCH 030/173] 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. @@ -1943,10 +1943,10 @@ index 13c875e2392a40ec5651d7c12a28b9ac9f3aab85..23d56057e49b5ff6b6c3c352c150fee8 goto _err_defer; } -From 739e4c0b7a37b1ab900e3ed79304928e5c7dad03 Mon Sep 17 00:00:00 2001 +From cdada6a3fafa823389d1fe94b95637f729f99729 Mon Sep 17 00:00:00 2001 From: Claggy3 Date: Sat, 11 Feb 2017 14:00:30 +0000 -Subject: [PATCH 031/169] Update vfpmodule.c +Subject: [PATCH 031/173] 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 @@ -2083,10 +2083,10 @@ index a71a48e71fffa8626fe90106815376c44bbe679b..d6c0a5a0a5ae3510db3ace5e3f5d3410 /* * Save the userland NEON/VFP state. Under UP, -From 149b32c885a14b78e942416daaa5ddaf289de7ac Mon Sep 17 00:00:00 2001 +From a7ca34f114c7b01a274b12d637096f1f9179c565 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 21:13:24 +1100 -Subject: [PATCH 032/169] ASoC: bcm2835_i2s.c: relax the ch2 register setting +Subject: [PATCH 032/173] 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. @@ -2107,10 +2107,10 @@ index 6ba20498202ed36906b52096893a88867a79269f..56df7d8a43d0aac055a91b0d24aca8e1 format |= BCM2835_I2S_CH1(BCM2835_I2S_CHPOS(ch1pos)); format |= BCM2835_I2S_CH2(BCM2835_I2S_CHPOS(ch2pos)); -From ded074f665e53de2849ae29a1b5ac324348615b1 Mon Sep 17 00:00:00 2001 +From 5603334e997d42ec287bd4b7cd2f73e3bc59101b 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/169] i2c: bcm2835: Add debug support +Subject: [PATCH 033/173] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2299,10 +2299,10 @@ index cd07a69e2e9355540442785f95e90823b05c9d10..47167f403cc8329bd811b47c7011c299 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From cbb7561b45bac5e6513be085f7018a961bf8f388 Mon Sep 17 00:00:00 2001 +From a9e27cf5f5873af83164ba1cc451f28e0756080f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 034/169] Main bcm2708/bcm2709 linux port +Subject: [PATCH 034/173] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2490,10 +2490,10 @@ index cfb4b4496dd9f61362dea012176c146120fada07..d9c6c217c4d6a2408abe2665bf7f2700 MODULE_AUTHOR("Lubomir Rintel "); MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); -From a1d367f6a3a90af6f3f48592ffd68fccfa1ffa47 Mon Sep 17 00:00:00 2001 +From 299aef4fd98b25601661afa30d151fb5afa2a43b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 035/169] Add dwc_otg driver +Subject: [PATCH 035/173] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -63635,10 +63635,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From e1f9bd1a05b6ba13a4b5c9694eaffd2b3ec58282 Mon Sep 17 00:00:00 2001 +From 80c91a76ed5d5f99a077210c99a1f687e7716bae Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 036/169] bcm2708 framebuffer driver +Subject: [PATCH 036/173] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67097,10 +67097,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 ea0f3f4e15ae4ae44f5987ec006563a29b267fef Mon Sep 17 00:00:00 2001 +From a7d544cc0c3f98ca675481ef2fd47a593bcd7873 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 037/169] dmaengine: Add support for BCM2708 +Subject: [PATCH 037/173] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67731,10 +67731,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From 68897be2ea68a6c39ac65d5715bca2b3ce7c8d66 Mon Sep 17 00:00:00 2001 +From dd272d27e5a909878cf5eead6831e750338f051e Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 038/169] MMC: added alternative MMC driver +Subject: [PATCH 038/173] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69456,10 +69456,10 @@ index 0000000000000000000000000000000000000000..4fe8d1fe44578fbefcd48f8c327ba3d0 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From 26ea7851b7a8997e5ad7294f7aa4d5b031f17bf2 Mon Sep 17 00:00:00 2001 +From e4886e84dc3e93a54edc2ff081cd8b018b222578 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 039/169] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 039/173] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -71865,10 +71865,10 @@ index 0000000000000000000000000000000000000000..9c6f199a7830959f31012d86bc1f8b1a +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From 0a074b4e10b485a5e8244ee06fc03f86e00f52f5 Mon Sep 17 00:00:00 2001 +From 57338aa23932b4980c899e59cc78adf1b4587c27 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 040/169] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 040/173] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -72393,10 +72393,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From 4203f7edef8a1e4e1b3b0bb2ea4e5d9ec8115027 Mon Sep 17 00:00:00 2001 +From 3a5bc4eb1a96cee30f6160af395b92a9ce8bda5e Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 041/169] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 041/173] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -76851,10 +76851,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From 2002ff2f1894d186b56f9f8b421b29a31b36d8a5 Mon Sep 17 00:00:00 2001 +From 93b9dd271922c29da6958991ad0b845e57b174bc Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 042/169] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 042/173] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -77162,10 +77162,10 @@ index 0000000000000000000000000000000000000000..f5e7f1ba8fb6f18dee77fad06a17480c +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 79aa42e43df14d7fb64128b4ab30a966fff5fa55 Mon Sep 17 00:00:00 2001 +From fc213f89ec330fb02c25ef955ed8585548d72940 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 043/169] Add SMI driver +Subject: [PATCH 043/173] Add SMI driver Signed-off-by: Luke Wren --- @@ -79116,10 +79116,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From 27815494370195e0babb5d45f520057d03576302 Mon Sep 17 00:00:00 2001 +From 13d5fe361243f431284babf00c85a38bd4c173df Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 044/169] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 044/173] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -79289,10 +79289,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From 7ad194b462a66b6ca23e05157d14ba898ae380f8 Mon Sep 17 00:00:00 2001 +From 5c96a2582d7fcb00b3151275220a430d4b853366 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 045/169] Add SMI NAND driver +Subject: [PATCH 045/173] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -79657,10 +79657,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From 95c1b210f2dd31682db233b25f437c93193c05e6 Mon Sep 17 00:00:00 2001 +From 2d0e68f52f0aecb00c3c050264b89ce930e26ed8 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 046/169] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 046/173] 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 @@ -80520,10 +80520,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From aba77cff1935fc291ae246e3e3bdcd557a0ea306 Mon Sep 17 00:00:00 2001 +From 40c76806c180419f82d02a30b3cac02be93de004 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 047/169] Add cpufreq driver +Subject: [PATCH 047/173] Add cpufreq driver Signed-off-by: popcornmix --- @@ -80790,10 +80790,10 @@ index 0000000000000000000000000000000000000000..414fbdc10dfbfc6e4bb47870a7af3fd5 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From ffa5e7d2e15db0549c4ce434f3e83c930c9c7963 Mon Sep 17 00:00:00 2001 +From 04246b6b926656985e64af5bb5fcfb8bf73bedea Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 048/169] Add Chris Boot's i2c driver +Subject: [PATCH 048/173] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81458,10 +81458,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From 8205c434cd9c71ec417795285e31bc35d9c92530 Mon Sep 17 00:00:00 2001 +From bf5607885d40ec22823505a59b041ece94bbd45d 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 049/169] char: broadcom: Add vcio module +Subject: [PATCH 049/173] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81686,10 +81686,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From a39ac3a856934910898f672593c9796eb3906734 Mon Sep 17 00:00:00 2001 +From 0d0d662b4c40c1cee77011a397a1f7f25770520b 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 050/169] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 050/173] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81772,10 +81772,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From 3751c1fdcb615a951238c7371aac3e3a91b855a4 Mon Sep 17 00:00:00 2001 +From 91f981b677077397190367b1c2e3fffce614bf27 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 051/169] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 051/173] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -82302,10 +82302,10 @@ index 0000000000000000000000000000000000000000..84be2593ec1de8f97b0167ff06b3e05d + return $trailer; +} -From 77df99a5b56f9bf6ff4fae06ed9589635bc80da7 Mon Sep 17 00:00:00 2001 +From 67610e4cb07ecdaa660ba35760c785c9b9c4847a Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 052/169] BCM2708: Add core Device Tree support +Subject: [PATCH 052/173] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -93700,7 +93700,7 @@ index 0000000000000000000000000000000000000000..8498134fdbb3912e9ce18282b53084d8 + +}; diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst -index 34614a48b717eafa2c15f418e6e6769905e32ec1..85dd4074474db8598d78d0c94a3fa9b26ccdd9e7 100644 +index 993fb85982df2df2a7f8e20780d0cfbe3cb732e8..b44d8c993f1d347908b0a97525c8ff60490d6f60 100644 --- a/scripts/Makefile.dtbinst +++ b/scripts/Makefile.dtbinst @@ -21,6 +21,7 @@ include scripts/Kbuild.include @@ -93711,7 +93711,7 @@ index 34614a48b717eafa2c15f418e6e6769905e32ec1..85dd4074474db8598d78d0c94a3fa9b2 dtbinst-dirs := $(dts-dirs) # Helper targets for Installing DTBs into the boot directory -@@ -32,10 +33,13 @@ install-dir = $(patsubst $(dtbinst-root)%,$(INSTALL_DTBS_PATH)%,$(obj)) +@@ -32,10 +33,13 @@ install-dir = $(patsubst $(dtbinst_root)%,$(INSTALL_DTBS_PATH)%,$(obj)) $(dtbinst-files): %.dtb: $(obj)/%.dtb $(call cmd,dtb_install,$(install-dir)) @@ -93750,10 +93750,10 @@ index 58c05e5d9870b6c18a72da7dc44ff3112994946d..9842523b225a88505d796cc689c04f40 # Bzip2 -From 7408b9760de611f3d7d7d4bab9cbc3e351d7590d Mon Sep 17 00:00:00 2001 +From 275bab5e834aecae8b2fd48514b8f4727784f997 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 053/169] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 053/173] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -93928,10 +93928,10 @@ index 64c56d454f7df9f864a5242ce4212df586f66886..3fd74c8737871cb56f0355c858fc135e /* set_brightness_work / blink_timer flags, atomic, private. */ unsigned long work_flags; -From 038b266819a5fc06875d05a7ac14ef7985173b34 Mon Sep 17 00:00:00 2001 +From 6f26588c9f1ec1cba1d581baa9ecf100fe7f5bee Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 054/169] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 054/173] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -94199,10 +94199,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582 __u32 dx; /* screen-relative */ __u32 dy; -From 13ef80c799ce7e26462c01b2bd01ba1e6f27742f Mon Sep 17 00:00:00 2001 +From 141b936d3c533bad4d7c866607b54ac68e26ddcb Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 055/169] Speed up console framebuffer imageblit function +Subject: [PATCH 055/173] 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 @@ -94411,10 +94411,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From bcf49db967e19fe0626d1692edf16dfad6133978 Mon Sep 17 00:00:00 2001 +From 2b8f91e148f7430495485308a60053f18b45c44c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 056/169] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 056/173] 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 @@ -94664,10 +94664,10 @@ index 90cbe7e65059f6b604a87c6bf39cd9bbeae7684c..a52be51ee0a5511a75d4eaa8dacaec5e u8, w1_slave_found_callback); }; -From 11ca9084b49eb84f46ff9c47ca8c3d97bb177c3a Mon Sep 17 00:00:00 2001 +From d333d13cf95937020b2a461e1070e8ff96ae16cb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 057/169] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 057/173] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -94699,10 +94699,10 @@ index c008847e0b20a2accb00451b10fb1c648f67925b..4a86428a3b4e3d51e9ac6ce9c9c11097 break; case HID_GD_JOYSTICK: -From 5d522b22681cd4d4c5fb1eaa408b0c0e3086c7b2 Mon Sep 17 00:00:00 2001 +From 095673f6acac796d6e4c3ac3ce58344126c9ded7 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 058/169] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 058/173] 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 @@ -95060,10 +95060,10 @@ index 30fb37fe175df604a738258a2a632bca3bfff33f..4a3d79d3b48eb483a4e4bf498f617515 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From b23a0f2d9965489035ae3fda2b2cf2f582564e1a Mon Sep 17 00:00:00 2001 +From f647499e16958a7d9d5a353cc580a4f0d0603d7a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 059/169] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 059/173] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -96638,10 +96638,10 @@ index 17ec37811c32f09126ed42753037e055c5cec115..c08f81812d0d56a0d90c1eb6777d0622 bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From 88ff9546b4849824d4e6fc0eda9cc692569c54e3 Mon Sep 17 00:00:00 2001 +From 376f661781c6e720b1f9ffbfe2f5be4be48d575f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 060/169] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 060/173] 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 @@ -96676,10 +96676,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From 6dba707b30f1bfde7f4f043bbc140695ae246e59 Mon Sep 17 00:00:00 2001 +From a67e8d12801da0d4595dcb4f897c4a5fdf3d0218 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 061/169] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 061/173] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -97544,10 +97544,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From 0f1ec498f9e138da5b319fabb6e28ec5a2a11166 Mon Sep 17 00:00:00 2001 +From f7ef08985471f837b48a3585198b431be12aa9e6 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 062/169] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 062/173] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -97722,10 +97722,10 @@ index 0000000000000000000000000000000000000000..ee9f133953544629282631e5ef3f73fe +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From 7b25a1e9fcd36df256117d0522c1ae7c943f6fb0 Mon Sep 17 00:00:00 2001 +From 3c5bd56e0ff999540532058669c768214b05d782 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 063/169] ASoC: Add support for Rpi-DAC +Subject: [PATCH 063/173] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -98009,10 +98009,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 8dab7554e850eb009b711643fafb2d72ea7e21b2 Mon Sep 17 00:00:00 2001 +From b26e68740caa09b1f2a1b37f5c464c3ad5fd98e6 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 064/169] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 064/173] 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 @@ -98061,10 +98061,10 @@ index af95d648265b3e92e345101542b332aee35191d4..513f56ba132929662802d15cdc653af3 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From 40b567ac7af162d15898e4cf858947da1964e125 Mon Sep 17 00:00:00 2001 +From 753305ba15036c1a164df67aa13cc37308ad19e9 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 065/169] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 065/173] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -98408,10 +98408,10 @@ index 0000000000000000000000000000000000000000..7620dd02de40b6d644ff038b445d375d +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From 1b1f8365fe6adeed61389fde5c5fcb7dc6984297 Mon Sep 17 00:00:00 2001 +From e5493abde8f23ca5ebb55641e82144fb4e832dd3 Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 066/169] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 066/173] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -98746,10 +98746,10 @@ index 0000000000000000000000000000000000000000..1ee4097c846376666775272ed692ca33 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From 7ff9c2c62e8778438dfe429cf01f9445b4634853 Mon Sep 17 00:00:00 2001 +From 3f74aaa382152ca5521166d20e8dd5f8e769868a Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 067/169] Added support for HiFiBerry DAC+ +Subject: [PATCH 067/173] 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. @@ -99379,10 +99379,10 @@ index 72b19e62f6267698aea45d2410d616d91c1825cb..c6839ef6e16754ed9de2698507b8986a dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From d7498889304701829bd988d6450aafdc3fcb7909 Mon Sep 17 00:00:00 2001 +From 0d54336064f8c7cd2a6237f6b118b2ad883d84df Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 068/169] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 068/173] 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. @@ -100217,10 +100217,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 826128341915380a3f12d25b232d9ebdbbbc4bb1 Mon Sep 17 00:00:00 2001 +From 6b1fa1a931c31dcae876895ee2c5a9684e5831da Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 069/169] Add driver for rpi-proto +Subject: [PATCH 069/173] 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 @@ -100435,10 +100435,10 @@ index 0000000000000000000000000000000000000000..fadbfade100228aaafabb0d3bdf35c01 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From 9a542b3e391ee95119cbfeeb351fdb29072840e4 Mon Sep 17 00:00:00 2001 +From 6f13a45b763950d40fcf103e039eda87cc8d69ca Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 070/169] RaspiDAC3 support +Subject: [PATCH 070/173] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -100681,10 +100681,10 @@ index 0000000000000000000000000000000000000000..ad2b5b89bc8213dc2e277306ef50d6e3 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 481696f59e054a4c04fb3bafca0a03b13dc86847 Mon Sep 17 00:00:00 2001 +From 13d245f24cf36579e4948b0313fbafacb2b86690 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 071/169] Add Support for JustBoom Audio boards +Subject: [PATCH 071/173] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -101140,10 +101140,10 @@ index 0000000000000000000000000000000000000000..909cf8928f2f4313982316f9c5b8a709 +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From cb753383a461aa1eeecb4c9a1ae1f942b749a583 Mon Sep 17 00:00:00 2001 +From 6ced3eaa45aa52e000061af1ee35339e9406fdef Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 072/169] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 072/173] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -101325,10 +101325,10 @@ index 0000000000000000000000000000000000000000..f3d7e5db7bb912e1d7ca6f8e8d42df5f +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From b0e892c30002acf8fd684d5c8fc30d902b9de664 Mon Sep 17 00:00:00 2001 +From 96e2b7a2164ccbab24986eb8693a033cda752a67 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 073/169] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 073/173] 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. @@ -101579,10 +101579,10 @@ index 0000000000000000000000000000000000000000..ef54e0f07ea03f59e9957b5d98f3e7fd +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From d4895f2bb199cf074c3c624e408d89fca19b1426 Mon Sep 17 00:00:00 2001 +From b1577f59a2ede79347325bf300605464b6fdd4a4 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 074/169] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 074/173] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -101882,10 +101882,10 @@ index 0000000000000000000000000000000000000000..33aa2be8a43a12a12cfb5d844dd9732c +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From 699980c011778bffd1a3202baf428763a1b17d9e Mon Sep 17 00:00:00 2001 +From a46db7eaf8f585c46e996fdbaa07890a80e8aea5 Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 075/169] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 075/173] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -102358,10 +102358,10 @@ index 0000000000000000000000000000000000000000..f200688bb4ae32b90a0ced555aed94b0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From 49c1b1b53363eaa9a076746c62b65a4b82d8587f Mon Sep 17 00:00:00 2001 +From 56d1d9c8ab340e5254399cc162b521464b43a8a3 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 076/169] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 076/173] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -102534,10 +102534,10 @@ index 0000000000000000000000000000000000000000..65e03741d349a2dc5bd91f69855ea952 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From 94266e714ece58bff951f45be9b46e3adec44f83 Mon Sep 17 00:00:00 2001 +From b8397ddc4cc6f8c3e44258711de2ff78e36905d9 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 077/169] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 077/173] 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, @@ -102744,10 +102744,10 @@ index 0000000000000000000000000000000000000000..eaf50fb6dbca1970ae1c6f8662088b0f +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From 0d1c702ad76e13d529e92198eea0c717fb6762f5 Mon Sep 17 00:00:00 2001 +From 1d0e4e25af87c8ad310fe80c6571d1ec07c8c4b8 Mon Sep 17 00:00:00 2001 From: Raashid Muhammed Date: Mon, 27 Mar 2017 12:35:00 +0530 -Subject: [PATCH 078/169] Add support for Allo Piano DAC 2.1 plus add-on board +Subject: [PATCH 078/173] 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. @@ -103492,10 +103492,10 @@ index 0000000000000000000000000000000000000000..56e43f98846b41e487b3089813f7edc3 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC Plus"); +MODULE_LICENSE("GPL v2"); -From b8f77db7c3a8783530c4d04a0699646715e160ae Mon Sep 17 00:00:00 2001 +From 0dcd576cb31cb2b73ca26c603bf5864fda7336ed Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Tue, 28 Mar 2017 20:04:42 +0530 -Subject: [PATCH 079/169] Add support for Allo Boss DAC add-on board for +Subject: [PATCH 079/173] Add support for Allo Boss DAC add-on board for Raspberry Pi. (#1924) Signed-off-by: Baswaraj K @@ -104198,10 +104198,10 @@ index 0000000000000000000000000000000000000000..203ab76c7045b081578e23bda1099dd1 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Boss DAC"); +MODULE_LICENSE("GPL v2"); -From cbfe9bf06fc997504c1a1c8c8704d0fd269ac5b2 Mon Sep 17 00:00:00 2001 +From 1d59f871b184a432417e2eed99bda7348bd6bfcc Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 080/169] Support for Blokas Labs pisound board +Subject: [PATCH 080/173] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -105400,10 +105400,10 @@ index 0000000000000000000000000000000000000000..06ff1e53dc9d860946965b6303577762 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From 373ff95c1c1bf06752d48d050c086e5af18d255f Mon Sep 17 00:00:00 2001 +From 0841a09eaef0f3ca4701630dcfb701811015bff7 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:37 +0100 -Subject: [PATCH 081/169] ASoC: Add driver for Cirrus Logic Audio Card +Subject: [PATCH 081/173] 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 @@ -106468,10 +106468,10 @@ index 0000000000000000000000000000000000000000..ac8651ddff7bd3701dffe22c7fb88352 +MODULE_DESCRIPTION("ASoC driver for Cirrus Logic Audio Card"); +MODULE_LICENSE("GPL"); -From bb407593f1d332f347c3119ba9c5da7b92cb0944 Mon Sep 17 00:00:00 2001 +From f89df1e61cc263274eafcf7e6bdca762aff71fce Mon Sep 17 00:00:00 2001 From: Miquel Date: Fri, 24 Feb 2017 20:51:06 +0100 -Subject: [PATCH 082/169] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT +Subject: [PATCH 082/173] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT Signed-off-by: Miquel Blauw --- @@ -106666,10 +106666,10 @@ index 0000000000000000000000000000000000000000..a009c49477972a9832175d86f201b035 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO-V2"); +MODULE_LICENSE("GPL v2"); -From 412d42dc53b59b3eb6dd3fca3b2ea886dcb1b7eb Mon Sep 17 00:00:00 2001 +From db7a7357db32f98408defed7917811d4aa362c4a Mon Sep 17 00:00:00 2001 From: Fe-Pi Date: Wed, 1 Mar 2017 04:42:43 -0700 -Subject: [PATCH 083/169] Add support for Fe-Pi audio sound card. (#1867) +Subject: [PATCH 083/173] 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. @@ -106883,10 +106883,10 @@ index 0000000000000000000000000000000000000000..015b56fd73cc36be5b5eecd17548fd03 +MODULE_DESCRIPTION("ASoC Driver for Fe-Pi Audio"); +MODULE_LICENSE("GPL v2"); -From 354178a74eaca3e6066ff6a40f1652a6b4fdb724 Mon Sep 17 00:00:00 2001 +From 204c668dea67de5b2cd3028b927856b70a58a590 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 20:04:13 +1100 -Subject: [PATCH 084/169] Add support for the AudioInjector.net Octo sound card +Subject: [PATCH 084/173] Add support for the AudioInjector.net Octo sound card AudioInjector Octo: sample rates, regulators, reset @@ -107288,10 +107288,10 @@ index 0000000000000000000000000000000000000000..dcf403ab37639ba79e38278d7e4b1ade +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:audioinjector-octo-soundcard"); -From 7df0a3106ab4872c09f69609160f470da2a0d6a2 Mon Sep 17 00:00:00 2001 +From b49a121885e75f0bfc0b863a1f1808ebb664af5a Mon Sep 17 00:00:00 2001 From: Peter Malkin Date: Mon, 27 Mar 2017 16:38:21 -0700 -Subject: [PATCH 085/169] Driver support for Google voiceHAT soundcard. +Subject: [PATCH 085/173] Driver support for Google voiceHAT soundcard. --- sound/soc/bcm/Kconfig | 7 ++ @@ -107682,10 +107682,10 @@ index 0000000000000000000000000000000000000000..225854b8e5298b3c3018f59a49404354 +MODULE_DESCRIPTION("ASoC Driver for Google voiceHAT SoundCard"); +MODULE_LICENSE("GPL v2"); -From 26db788ad58e28c1d8063418b0f1778b900b8887 Mon Sep 17 00:00:00 2001 +From d9c42b9ea22d86180e992ae28ddbbf7f0318ff50 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 086/169] rpi_display: add backlight driver and overlay +Subject: [PATCH 086/173] 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 @@ -107854,10 +107854,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From 419f06b7d6f177d4ae456f613af533b2e401bd85 Mon Sep 17 00:00:00 2001 +From 7df9a6d5dbc72e61b06db32a96f4d615e6324c80 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 087/169] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 087/173] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -108131,10 +108131,10 @@ index 4a3d79d3b48eb483a4e4bf498f617515e3ad158f..5f34e1257117fb48013c9926a8a223d6 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From a733377759f7b7cb92eb37038ccf0f1d88ba99bd Mon Sep 17 00:00:00 2001 +From f374f25f60a66bb2a6031358f5db1141d723c19b Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 20 Feb 2017 17:01:21 +0000 -Subject: [PATCH 088/169] bcm2835-gpio-exp: Driver for GPIO expander via +Subject: [PATCH 088/173] bcm2835-gpio-exp: Driver for GPIO expander via mailbox service Pi3 and Compute Module 3 have a GPIO expander that the @@ -108460,10 +108460,10 @@ index 5f34e1257117fb48013c9926a8a223d64a598ab7..c819c21b0158a59c1308882e5a40e3f3 /* Dispmanx TAGS */ RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001, -From 5c0043c2291635b34d1c37d8fe8c8db0dda4f2d1 Mon Sep 17 00:00:00 2001 +From 6249c23efcf490e3bb82482421d5bf81f3edd6b9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 089/169] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 089/173] 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 @@ -108492,10 +108492,10 @@ index 1888d168a41c87c605962da2605df8ab1c02bd20..e22b9e79836a6aeef4c8f9fb618b9595 uap->old_cr = 0; uap->port.dev = dev; -From b49958e00536632ea0bf9acb70de57806eec5abe Mon Sep 17 00:00:00 2001 +From 01a74e96f5d8db848286cbcc5b79d12bfc0d4705 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:07:39 +0000 -Subject: [PATCH 090/169] amba_pl011: Round input clock up +Subject: [PATCH 090/173] 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 @@ -108581,10 +108581,10 @@ index e22b9e79836a6aeef4c8f9fb618b9595c551500f..4b815abbf9913075885ee60f4d9ad49d /* unregisters the driver also if no more ports are left */ static void pl011_unregister_port(struct uart_amba_port *uap) -From 8a9a5c0306e6b52e2ac086d918483d0f4da01fcf Mon Sep 17 00:00:00 2001 +From 9d5b5fb3fd08c2fb5eac90446253f3895956d04a Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 091/169] OF: DT-Overlay configfs interface +Subject: [PATCH 091/173] 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. @@ -109016,10 +109016,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From c494987f7aa1d9c617dde8988d1da798c1555d71 Mon Sep 17 00:00:00 2001 +From 793777067389c4719b1ad8c8fbd1755ec2bc2ac0 Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 092/169] brcm: adds support for BCM43341 wifi +Subject: [PATCH 092/173] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -109151,10 +109151,10 @@ index f3556122c6ace17c419e13023057861957a507fa..f8d4647016a1cde3d51dd43da07a46ce BRCMF_FW_NVRAM_ENTRY(BRCM_CC_43362_CHIP_ID, 0xFFFFFFFE, 43362), BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4339_CHIP_ID, 0xFFFFFFFF, 4339), -From c3bab4d45508176392267d54331248991599d0c7 Mon Sep 17 00:00:00 2001 +From 380f249987fa35ac66e0cf5af73ea6be22c78da7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Feb 2017 15:26:13 +0000 -Subject: [PATCH 093/169] brcmfmac: Mute expected startup 'errors' +Subject: [PATCH 093/173] brcmfmac: Mute expected startup 'errors' The brcmfmac WiFi driver always complains about the '00' country code. Modify the driver to ignore '00' silently. @@ -109178,10 +109178,10 @@ index 508cab2d0817914d454958f92167d350c74d9a5d..987b1f5b999b0ecb68b6ce741b8e3ddb req->alpha2[0], req->alpha2[1]); return; -From 61ebef6e190a40281e1656239bd2e9ec4857a988 Mon Sep 17 00:00:00 2001 +From 204880552bc98809db25aa96a8909d944455afea Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 094/169] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 094/173] 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. @@ -109204,10 +109204,10 @@ index c0e4e26dc30d7c3c6a771b7b86df88c8cf763646..7308287259eedcaf229f8a496a0e3826 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From 01522a9df44beb0d3df260673c0ed4c56519a7af Mon Sep 17 00:00:00 2001 +From 3d5a9a0780536d87f097a3f335fa12f7a0cdbf31 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 095/169] config: Add default configs +Subject: [PATCH 095/173] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1312 +++++++++++++++++++++++++++++++++++ @@ -111859,10 +111859,10 @@ index 0000000000000000000000000000000000000000..29fd2abc2cbfcaed37cb630b5edffaa5 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 48a3a00caee439d3af891ca0d1bd6bdeeed68d1e Mon Sep 17 00:00:00 2001 +From 6031b0e3eab5792428a5524c2b472e291e538d33 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 096/169] Add arm64 configuration and device tree differences. +Subject: [PATCH 096/173] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -113276,10 +113276,10 @@ index 0000000000000000000000000000000000000000..e6b09fafa27eed2b762e3d53b55041f7 +CONFIG_LIBCRC32C=y +CONFIG_BCM2835_VCHIQ=n -From bf191b388a5dc3509c31ec71c7ba87867580f7e9 Mon Sep 17 00:00:00 2001 +From 9bfca08d57450a009619d9f09f122eaf7a2d6b51 Mon Sep 17 00:00:00 2001 From: Electron752 Date: Thu, 12 Jan 2017 07:07:08 -0800 -Subject: [PATCH 097/169] ARM64: Make it work again on 4.9 (#1790) +Subject: [PATCH 097/173] 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. @@ -113688,10 +113688,10 @@ index e6b09fafa27eed2b762e3d53b55041f793683d27..c7e891d72969a388d9b135a36dbfc9c9 CONFIG_LIBCRC32C=y -CONFIG_BCM2835_VCHIQ=n -From 987125bbe7e6a14cc9c2cbf5b9b60ed5fb2d3aa9 Mon Sep 17 00:00:00 2001 +From 6f4480e5261edce6b429ab707f2dac0ab552ec71 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:10:07 -0800 -Subject: [PATCH 098/169] ARM64: Enable HDMI audio and vc04_services in +Subject: [PATCH 098/173] ARM64: Enable HDMI audio and vc04_services in bcmrpi3_defconfig Signed-off-by: Michael Zoran @@ -113720,10 +113720,10 @@ index c7e891d72969a388d9b135a36dbfc9c9cb609bf8..4b90f9b64abe9f089ba56b13d5a00de3 CONFIG_BCM2835_MBOX=y # CONFIG_IOMMU_SUPPORT is not set -From 58a22992d37b4d0797efa70f7b6abbbf8cb8413c Mon Sep 17 00:00:00 2001 +From 60a74e93ffc38d51a5b23579609e467cfd96a17c Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:14:03 -0800 -Subject: [PATCH 099/169] ARM64: Run bcmrpi3_defconfig through savedefconfig. +Subject: [PATCH 099/173] ARM64: Run bcmrpi3_defconfig through savedefconfig. Signed-off-by: Michael Zoran --- @@ -113768,10 +113768,10 @@ index 4b90f9b64abe9f089ba56b13d5a00de33343bfb9..dac962ca1634662ce7d966f1ffb53b5b CONFIG_FB_TFT_AGM1264K_FL=m CONFIG_FB_TFT_BD663474=m -From 03498f386635be43dbea18a02febecedddb6e351 Mon Sep 17 00:00:00 2001 +From 78a1933e279cd17786d75c5e63f3ae1e1397a6ab Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 14 Jan 2017 02:54:26 -0800 -Subject: [PATCH 100/169] ARM64: Enable Kernel Address Space Randomization +Subject: [PATCH 100/173] ARM64: Enable Kernel Address Space Randomization (#1792) Randomization allows the mapping between virtual addresses and physical @@ -113803,10 +113803,10 @@ index dac962ca1634662ce7d966f1ffb53b5bfa27c506..aae33b4b3c3e736ea7cd3ca242158ad6 CONFIG_BINFMT_MISC=y CONFIG_COMPAT=y -From e17d10235b6151e94db332798ddf1c692f5ee581 Mon Sep 17 00:00:00 2001 +From c75ccfa97c9a4356bae6990f509160d4b8d545c3 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sun, 15 Jan 2017 07:31:59 -0800 -Subject: [PATCH 101/169] ARM64: Enable RTL8187/RTL8192CU wifi in build config +Subject: [PATCH 101/173] 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 @@ -113831,10 +113831,10 @@ index aae33b4b3c3e736ea7cd3ca242158ad6ba558aff..b7d762df19b85e369a32cd823dfd0621 CONFIG_ZD1211RW=m CONFIG_MAC80211_HWSIM=m -From d19645c1c9fcbd71916697f2df44ff03fd5020f9 Mon Sep 17 00:00:00 2001 +From 6dc1c3f25ed53972e92756e0f77b501f657587eb Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 102/169] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 102/173] 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 @@ -114177,10 +114177,10 @@ index 6b2c7d0c93f36a63863ff4b0ecc1f3eab77e058b..d7b700ff17821ad1944e36721fe6b2db /** The OS page size */ #define DWC_OS_PAGE_SIZE PAGE_SIZE -From 9a1bbd353b4ded53e1ac1dbadd96bb7ab7a9b3a1 Mon Sep 17 00:00:00 2001 +From af9f2e803b10ea66483a2657cdaae7c80e2db38b Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 103/169] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 103/173] 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 @@ -114254,10 +114254,10 @@ index c4e151451cf8c8ebde5225515eac2786d6f61d46..9a7ee04ee0d9b7aa734cf3159ed59c19 .name = "bcm2836-gpu", .irq_mask = bcm2836_arm_irqchip_mask_gpu_irq, -From 95c1b09397a9abeb755da0227bbce4a416075b09 Mon Sep 17 00:00:00 2001 +From bbef82d6d6d43effe46c23ddecdf256997e5e897 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:45:03 -0800 -Subject: [PATCH 104/169] ARM64: Enable DWC_OTG Driver In ARM64 Build +Subject: [PATCH 104/173] ARM64: Enable DWC_OTG Driver In ARM64 Build Config(bcmrpi3_defconfig) Signed-off-by: Michael Zoran @@ -114278,10 +114278,10 @@ index b7d762df19b85e369a32cd823dfd062145bdefa7..4d85c231c5ea0244e1b05fb4a5e3c8fd CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From 1ed7c35be7c0d39557409093f024db1a0e741ae2 Mon Sep 17 00:00:00 2001 +From b47d49f18038295e2663507f5a5164c58679edd6 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 11 Feb 2017 01:18:31 -0800 -Subject: [PATCH 105/169] ARM64: Force hardware emulation of deprecated +Subject: [PATCH 105/173] ARM64: Force hardware emulation of deprecated instructions. --- @@ -114309,10 +114309,10 @@ index f0e6d717885b1fcf3b22f64c10c38f19c25f809d..0cb830d30fb6d2bd26ab572efe893649 case INSN_OBSOLETE: insn->current_mode = INSN_UNDEF; -From f4bdc41c4aedbfc509d166378290705b6c59f744 Mon Sep 17 00:00:00 2001 +From 8cce45f66fdb5e0f234b34ddc998a7610caf6e87 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Feb 2017 17:57:08 -0800 -Subject: [PATCH 106/169] build/arm64: Add rules for .dtbo files for dts +Subject: [PATCH 106/173] build/arm64: Add rules for .dtbo files for dts overlays We now create overlays as .dtbo files. @@ -114337,10 +114337,10 @@ index 9b41f1e3b1a039cd45fe842e10abff0181186fdf..dc2859b8eed168ed52e95c503e7a5ce3 dtbs: prepare scripts -From 6acf00465a941834b17346c8bb35f70bcffcfda5 Mon Sep 17 00:00:00 2001 +From 054c1c5aae70d90c5978b7884985a2e5401a15fe Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 107/169] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 107/173] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -114378,10 +114378,10 @@ index 336f8c9c44325d0a94e591a8557f7af246adc857..caa05e5ad0b7b5cd683e04fb3591a3df * rate changes on at least of the parents. */ -From 8142234889f46fce16f970207245d21aa6b92309 Mon Sep 17 00:00:00 2001 +From c1e1a37f0ff127453c4298f34b8ff431251c96a3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 108/169] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 108/173] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -114414,10 +114414,10 @@ index a9d480df32562defbf8be0faf0a39bfe06ff71f9..18c92bae3b2e7e9f8208ca0d4487b08b .suppress_bind_attrs = true, }, -From 9cdf0519a1977ab0efb47114710ee71742f1cd80 Mon Sep 17 00:00:00 2001 +From 1c361294095f221e8a6147ed42f196ac8c3b40a6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 10:06:56 +0000 -Subject: [PATCH 109/169] ASoC: Add prompt for ICS43432 codec +Subject: [PATCH 109/173] 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 @@ -114442,10 +114442,10 @@ index aca3a53f08dba8762307f7c25a5d7c5561b9cf71..a3be6e005a895b995897cc007bb85c78 config SND_SOC_INNO_RK3036 tristate "Inno codec driver for RK3036 SoC" -From 272cee4f50da7f68980b2dc17c8833362e1ab1ab Mon Sep 17 00:00:00 2001 +From 0a604e2a2995902639ad3be5c55483ad9ffc8803 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 16:34:46 +0000 -Subject: [PATCH 110/169] bcm2835-aux: Add aux interrupt controller +Subject: [PATCH 110/173] 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 @@ -114609,10 +114609,10 @@ index bd750cf2238d61489811e7d7bd3b5f9950ed53c8..41e0702fae4692221980b0d02aed1ba6 BCM2835_AUX_CLOCK_COUNT, GFP_KERNEL); if (!onecell) -From 239748311b37a1cd302738011339ad939fd75eb8 Mon Sep 17 00:00:00 2001 +From 0cdc98f4ce35922843cd09793277e7366b4fdfe1 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 29 Apr 2016 10:32:17 -0700 -Subject: [PATCH 111/169] mmc: read mmc alias from device tree +Subject: [PATCH 111/173] mmc: read mmc alias from device tree To get the SD/MMC host device ID, read the alias from the device tree. @@ -114669,10 +114669,10 @@ index 1503412f826cd0e0e9ad37a0554b31596a49eb77..2f5b3cf86293b96b104eac7c6d48a583 kfree(host); return NULL; -From efc2243641834648e542f8aa36687942a5fa9477 Mon Sep 17 00:00:00 2001 +From d6fbbebab7881cc6f665a8becafa610b239ab0a9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 112/169] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 112/173] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards Some SD cards have been found that corrupt data when small blocks are erased. Add a quirk to indicate that ERASE should not be used, @@ -114702,7 +114702,7 @@ Signed-off-by: Phil Elwell 4 files changed, 40 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c -index f1bbfd389367ff4530137be199c4063c65f97f5c..376252c496cc697cb06d0a005d193250e4503d53 100644 +index 80d1ec693d2d7d798b1f3315b3c205b529f9a382..6c2476555be31a2dc03914b8b690a92545ab3835 100644 --- a/drivers/mmc/core/block.c +++ b/drivers/mmc/core/block.c @@ -125,6 +125,13 @@ static DEFINE_MUTEX(open_lock); @@ -114719,7 +114719,7 @@ index f1bbfd389367ff4530137be199c4063c65f97f5c..376252c496cc697cb06d0a005d193250 static inline int mmc_blk_part_switch(struct mmc_card *card, struct mmc_blk_data *md); -@@ -2250,6 +2257,7 @@ static int mmc_blk_probe(struct mmc_card *card) +@@ -2287,6 +2294,7 @@ static int mmc_blk_probe(struct mmc_card *card) { struct mmc_blk_data *md, *part_md; char cap_str[10]; @@ -114727,7 +114727,7 @@ index f1bbfd389367ff4530137be199c4063c65f97f5c..376252c496cc697cb06d0a005d193250 /* * Check that the card supports the command class(es) we need. -@@ -2257,7 +2265,16 @@ static int mmc_blk_probe(struct mmc_card *card) +@@ -2294,7 +2302,16 @@ static int mmc_blk_probe(struct mmc_card *card) if (!(card->csd.cmdclass & CCC_BLOCK_READ)) return -ENODEV; @@ -114745,7 +114745,7 @@ index f1bbfd389367ff4530137be199c4063c65f97f5c..376252c496cc697cb06d0a005d193250 md = mmc_blk_alloc(card); if (IS_ERR(md)) -@@ -2265,9 +2282,14 @@ static int mmc_blk_probe(struct mmc_card *card) +@@ -2302,9 +2319,14 @@ static int mmc_blk_probe(struct mmc_card *card) string_get_size((u64)get_capacity(md->disk), 512, STRING_UNITS_2, cap_str, sizeof(cap_str)); @@ -114812,10 +114812,10 @@ index 46c73e97e61f08a41d9753079345f5965caebbc5..388c551ed11e9d06ea1c25b6553d47a8 unsigned int erase_size; /* erase size in sectors */ -From 440525a2c6f3d9a730ecb4909bc953088bd8ddd5 Mon Sep 17 00:00:00 2001 +From aa5c0e2db268bef2f5e9fb8956e740f1c003d2f2 Mon Sep 17 00:00:00 2001 From: Yasunari Takiguchi Date: Fri, 14 Apr 2017 10:43:57 +0100 -Subject: [PATCH 113/169] This is the driver for Sony CXD2880 DVB-T2/T tuner + +Subject: [PATCH 113/173] 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. @@ -130947,10 +130947,10 @@ index 0000000000000000000000000000000000000000..82e122349055be817eb74ed5bbcd7560 +MODULE_AUTHOR("Sony Semiconductor Solutions Corporation"); +MODULE_LICENSE("GPL v2"); -From c5791e896511ceaccb6ee3dfb11d0d4da7489662 Mon Sep 17 00:00:00 2001 +From 89545809cf88162f50f536978fe66cf28e56fa50 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:18:09 +0100 -Subject: [PATCH 114/169] raspberrypi-firmware: Define the MBOX channel in the +Subject: [PATCH 114/173] raspberrypi-firmware: Define the MBOX channel in the header. Signed-off-by: Eric Anholt @@ -130972,10 +130972,10 @@ index c819c21b0158a59c1308882e5a40e3f3fe73cbdf..de2a3dcd562beb752266eaf0070e5586 enum rpi_firmware_property_status { -From 5eb575c26aba73b855918fae32ebd16a14ed11b0 Mon Sep 17 00:00:00 2001 +From 0cbb2f3541b1c00dd3f8b78968ba68d3ba639bcd Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 115/169] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 115/173] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -131019,10 +131019,10 @@ index de2a3dcd562beb752266eaf0070e55861d553f5f..dc7fd58afd5dddebf9b17065bb069a1d #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From 90b4f5f5f4bbd7d85b2dfe1e7728d3c35829492c Mon Sep 17 00:00:00 2001 +From a7e7e24154d1dd727ca3751ea2be290053bf7e32 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 116/169] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 116/173] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -131794,10 +131794,10 @@ index 0000000000000000000000000000000000000000..7dd233eed677c1689492ab95bc864753 + }, +}; -From 2400f665b5e4a8d90e458af3d7b4411e785155c8 Mon Sep 17 00:00:00 2001 +From 64404c0c8bd9aa12e1053397eaeccbce6722c671 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:09:18 -0800 -Subject: [PATCH 117/169] drm/vc4: Name the primary and cursor planes in fkms. +Subject: [PATCH 117/173] drm/vc4: Name the primary and cursor planes in fkms. This makes debugging nicer, compared to trying to remember what the IDs are. @@ -131821,10 +131821,10 @@ index 7dd233eed677c1689492ab95bc86475330d2d63b..e6097046fb25361bc61d657083d95b63 if (type == DRM_PLANE_TYPE_PRIMARY) { vc4_plane->fbinfo = -From 2e4d457fc8f8f41ae9975651e8151aa30e2663aa Mon Sep 17 00:00:00 2001 +From 984a6e4b560e9efc47b72e000a9dda620e1402d1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:10:09 -0800 -Subject: [PATCH 118/169] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of +Subject: [PATCH 118/173] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. Trying to debug weston on fkms involved figuring out what calls I was @@ -131894,10 +131894,10 @@ index e6097046fb25361bc61d657083d95b634232aabc..72d0b9cffe3d2997d69040c46f4aee11 RPI_FIRMWARE_SET_CURSOR_STATE, &packet_state, -From e0e37afe839420eb2861fa223ec3f064678afa3e Mon Sep 17 00:00:00 2001 +From c8032eb7bdfe55dc01da2c1b41731b4cd85c6e25 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Feb 2017 09:42:18 -0800 -Subject: [PATCH 119/169] drm/vc4: Fix sending of page flip completion events +Subject: [PATCH 119/173] 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 @@ -131939,10 +131939,10 @@ index 72d0b9cffe3d2997d69040c46f4aee11e22aa213..185f9bd3c1b2d47d0c1fc5293db4199b static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc) -From 928bd8f10c017dd4776a8881749409d87457d037 Mon Sep 17 00:00:00 2001 +From e825d071200644afd6390299f1b11c815105646c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 18 Apr 2017 21:43:46 +0100 -Subject: [PATCH 120/169] vc4_fkms: Apply firmware overscan offset to hardware +Subject: [PATCH 120/173] vc4_fkms: Apply firmware overscan offset to hardware cursor --- @@ -131999,10 +131999,10 @@ index 185f9bd3c1b2d47d0c1fc5293db4199bd8963023..072f377b7423ee603d73ace2bf6d620f return 0; -From f649e7fb9a7b5015cc4ce35e63c07a188c24aca7 Mon Sep 17 00:00:00 2001 +From 1f15126e99c74eed107b8b18276644ae6f1561db Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 16 May 2017 14:39:49 +0100 -Subject: [PATCH 121/169] mmc: Change downstream MMC driver CONFIG option +Subject: [PATCH 121/173] mmc: Change downstream MMC driver CONFIG option The upstream SDHOST driver has now claimed CONFIG_MMC_BCM2835, which clashes with the downstream MMC driver. Rename the downstream option to @@ -132050,10 +132050,10 @@ index cd3a47d8965958ccf3ac3d186a05bbd437494154..9ba643d3b2e12960f5ce4b0eb5d75c1c obj-$(CONFIG_MMC_WBSD) += wbsd.o obj-$(CONFIG_MMC_AU1X) += au1xmmc.o -From 1f9fb9c252f931f548dbc109db1b72a1edfafc1c Mon Sep 17 00:00:00 2001 +From ad7225203c787b66329949cc019a49b94fb9991f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 May 2017 19:34:52 +0100 -Subject: [PATCH 122/169] config: Add CONFIG_I2C_ROBOTFUZZ_OSIF +Subject: [PATCH 122/173] config: Add CONFIG_I2C_ROBOTFUZZ_OSIF --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132085,10 +132085,10 @@ index 29fd2abc2cbfcaed37cb630b5edffaa5b4994f6e..05d6d108cb2d013588ccc971c83dcd21 CONFIG_SPI_BCM2835=m CONFIG_SPI_BCM2835AUX=m -From c98e2962b7018a38fabe5f791cffe00d020652a5 Mon Sep 17 00:00:00 2001 +From 24bdec8f7e5cf4888bf1c985c69fafb1d0a8ffbb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 18 May 2017 11:40:43 +0100 -Subject: [PATCH 123/169] config: Add FB_TFT_ST7789V module +Subject: [PATCH 123/173] config: Add FB_TFT_ST7789V module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132120,10 +132120,10 @@ index 05d6d108cb2d013588ccc971c83dcd212308f230..54175b3c558e89d56b7d65752bccc6bd CONFIG_FB_TFT_TLS8204=m CONFIG_FB_TFT_UC1701=m -From fec038317ecd9b5385ab69da2c85a65998862b86 Mon Sep 17 00:00:00 2001 +From e902671ca75131a122c828d5e0437eb6f71d7ad4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 18 May 2017 15:36:46 +0100 -Subject: [PATCH 124/169] staging: bcm2835-audio: Fix memory corruption +Subject: [PATCH 124/173] staging: bcm2835-audio: Fix memory corruption I'm all for fixing memory leaks, but freeing a block while it is still being used is a recipe for hard-to-debug kernel exeptions. @@ -132158,10 +132158,10 @@ index 5f3d8f2339e34834d11edfa8de1d5819e3e32b4f..89f96f3c02805f4114ec9b488e18d00e return ret; } -From cf13749b0c0f728bb1c7df804dc7466f29aa454e Mon Sep 17 00:00:00 2001 +From 7f62afd1e4aabab3178f85c27957bc55658405cd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 15 May 2017 16:40:05 +0100 -Subject: [PATCH 125/169] config: Add CONFIG_TOUCHSCREEN_GOODIX +Subject: [PATCH 125/173] config: Add CONFIG_TOUCHSCREEN_GOODIX --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132193,10 +132193,10 @@ index 54175b3c558e89d56b7d65752bccc6bdaebcfd5a..1d2d27cb950b5e799370b7ca557f4bcb CONFIG_TOUCHSCREEN_RPI_FT5406=m CONFIG_TOUCHSCREEN_USB_COMPOSITE=m -From 56b823c881b4b705e3e63549ae171fbbcf00273e Mon Sep 17 00:00:00 2001 +From fd8783536a67fd457a061d56b5b71e5c6648d7b4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 May 2017 15:58:00 +0100 -Subject: [PATCH 126/169] config: Add CONFIG_TOUCHSCREEN_EDT_FT5X06 +Subject: [PATCH 126/173] config: Add CONFIG_TOUCHSCREEN_EDT_FT5X06 --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132228,10 +132228,10 @@ index 1d2d27cb950b5e799370b7ca557f4bcb2508169b..de0b998202e23eec39fafce0e8cd346e CONFIG_TOUCHSCREEN_USB_COMPOSITE=m CONFIG_TOUCHSCREEN_STMPE=m -From 3c60fb1bde22f36a241a48e6d674be4c6674f93c Mon Sep 17 00:00:00 2001 +From 82a2499cdc02adfbce7656107afc9404a0db2ac9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 22 May 2017 13:35:28 +0100 -Subject: [PATCH 127/169] config: Add CONFIG_IPV6_SIT_6RD +Subject: [PATCH 127/173] config: Add CONFIG_IPV6_SIT_6RD --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132263,10 +132263,10 @@ index de0b998202e23eec39fafce0e8cd346e68817f6c..c4d82bec0aefc191c6049500fbeda6ea CONFIG_IPV6_MULTIPLE_TABLES=y CONFIG_IPV6_SUBTREES=y -From 74546d6cacced73dea57acdda09d952b8929b95c Mon Sep 17 00:00:00 2001 +From 7d66336ef9ba2e376f53d34c4a36d79ca370883a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 22 May 2017 15:28:27 +0100 -Subject: [PATCH 128/169] config: Add CONFIG_IPV6_ROUTE_INFO +Subject: [PATCH 128/173] config: Add CONFIG_IPV6_ROUTE_INFO --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132298,10 +132298,10 @@ index c4d82bec0aefc191c6049500fbeda6ea0a47f590..7d3522df2b28e53cb63a081316891879 CONFIG_INET6_ESP=m CONFIG_INET6_IPCOMP=m -From 011503ac1735fb587dad871a9389d22f05480f30 Mon Sep 17 00:00:00 2001 +From e8b2f7bdab68e037b17bb194537b185f4499b42a Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 25 May 2017 16:04:53 +0100 -Subject: [PATCH 129/169] dwc_otg: make periodic scheduling behave properly for +Subject: [PATCH 129/173] dwc_otg: make periodic scheduling behave properly for FS buses If the root port is in full-speed mode, transfer times at 12mbit/s @@ -132472,10 +132472,10 @@ index 85a6d431ca54b47dc10573aa72d1ad69d06f2e36..4b1dd9de99e9e08b2e006fb5f8a7ef92 status = check_max_xfer_size(hcd, qh); if (status) { -From 4e598934050dddb5f9de7607b0bea59b38b33ec5 Mon Sep 17 00:00:00 2001 +From 9d474972423ff0179633ffff81af1bc33757c040 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 26 May 2017 12:50:31 +0100 -Subject: [PATCH 130/169] dwc_otg: fiq_fsm: Make isochronous compatibility +Subject: [PATCH 130/173] dwc_otg: fiq_fsm: Make isochronous compatibility checks work properly Get rid of the spammy printk and local pointer mangling. @@ -132539,10 +132539,10 @@ index 38bf5fc792d32352f9e208e0e90f968599b9bc31..71834cf365e67d7ad995bba7869216c4 return 1; } -From 337e9224e0e21833549e3e19505bf5ba3995b172 Mon Sep 17 00:00:00 2001 +From a02e595b0af6ce144e11390159cf026d9e26df98 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 12 Jun 2017 13:05:43 +0100 -Subject: [PATCH 131/169] config: Add CONFIG_CAN_GS_USB +Subject: [PATCH 131/173] config: Add CONFIG_CAN_GS_USB --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132574,10 +132574,10 @@ index 7d3522df2b28e53cb63a0813168918792b65becb..bf0d3fd830a0a0cc9443ef52e7f167eb CONFIG_IRLAN=m CONFIG_IRNET=m -From caa84713e963c5e217f13da0f31468faea44b533 Mon Sep 17 00:00:00 2001 +From 747f6605146b4a9db182eb46917900d11f532159 Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 12 Jun 2017 16:10:03 +0100 -Subject: [PATCH 132/169] dwc_otg: add module parameter int_ep_interval_min +Subject: [PATCH 132/173] dwc_otg: add module parameter int_ep_interval_min Add a module parameter (defaulting to ignored) that clamps the polling rate of high-speed Interrupt endpoints to a minimum microframe interval. @@ -132659,10 +132659,10 @@ index 4b1dd9de99e9e08b2e006fb5f8a7ef92f20c2553..fe8e8f841f03660c2ad49ab8e66193be DWC_DEBUGPL(DBG_HCD, "DWC OTG HCD QH Initialized\n"); -From 9e752ff30611fc5e118a2e87eee132fa4af80897 Mon Sep 17 00:00:00 2001 +From 11549b4be96bc0ea0ea384464df19609c1b2e771 Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 20 Jun 2017 13:44:01 +0100 -Subject: [PATCH 133/169] dwc_otg: fiq_fsm: Add non-periodic TT exclusivity +Subject: [PATCH 133/173] dwc_otg: fiq_fsm: Add non-periodic TT exclusivity constraints Certain hub types do not discriminate between pipe direction (IN or OUT) @@ -132829,10 +132829,10 @@ index 71834cf365e67d7ad995bba7869216c4091c3a74..7710370b30363e3170bf9bf522597c5f st->fsm = FIQ_PER_SSPLIT_STARTED; } else { -From 998f91e624467055499c8c274365989c7232458c Mon Sep 17 00:00:00 2001 +From ee07f71ef4d4e5136469dfe5aa94e7569b39e71e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 26 May 2017 13:03:41 +0100 -Subject: [PATCH 134/169] BCM270X_DT: Add midi-uart1 overlay +Subject: [PATCH 134/173] BCM270X_DT: Add midi-uart1 overlay Add a scaler to the ttyS0 clock so that requesting 38400 baud results in an approximately 31250 baud signal. This is analagous to @@ -132930,10 +132930,10 @@ index 0000000000000000000000000000000000000000..e0bc410acbff3a7a175dd5d53b3ab0d0 + }; +}; -From 271032f7cfa424f5c7ba35936e201ec9d1ae452a Mon Sep 17 00:00:00 2001 +From 50e48895aa71b1a6513db5bee8faf8329f6c3d63 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sat, 20 May 2017 22:10:14 +0100 -Subject: [PATCH 135/169] overlays: README: remove vestigial SDIO parameters +Subject: [PATCH 135/173] overlays: README: remove vestigial SDIO parameters Signed-off-by: Phil Elwell --- @@ -132987,10 +132987,10 @@ index ec9e7b1941678796facf625b3770c20ed0b15b25..499cd1920fd373702cfbc9f6e0fcaebc (default on: polling once at boot-time) -From 070ae702d77debb301f11cef4e2a7aebb1764d2f Mon Sep 17 00:00:00 2001 +From 74952345a83baa8d5306f18164bf71920ba85242 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 27 Jun 2017 15:07:14 +0100 -Subject: [PATCH 136/169] SQUASH: mmc: Apply ERASE_BROKEN quirks correctly +Subject: [PATCH 136/173] SQUASH: mmc: Apply ERASE_BROKEN quirks correctly Squash with: mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards @@ -133020,10 +133020,10 @@ index 05c8d7381fff5ae88531129d9a5ddd554bddb43e..c9d5d644688c1509d7febcff0322fbab END_FIXUP }; -From cf14f6250e512520402233c0c8a737a9d6671cd2 Mon Sep 17 00:00:00 2001 +From cbd28e52ef09b0aa52f60be1f0d31d368c6582db Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 11:34:26 +0200 -Subject: [PATCH 137/169] ASoC: bcm2835: Add support for TDM modes +Subject: [PATCH 137/173] 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 @@ -133425,10 +133425,10 @@ index 56df7d8a43d0aac055a91b0d24aca8e1b4e308e4..dcacf7f83c9371df539a788ea33fedcf dev->dev = &pdev->dev; dev_set_drvdata(&pdev->dev, dev); -From 2e77d2d03274ec712f3ef5d7c0ebfc687af41c46 Mon Sep 17 00:00:00 2001 +From 292318196d3d046e4027237e1c2fcce572a4ef00 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 15:30:50 +0200 -Subject: [PATCH 138/169] ASoC: bcm2835: Support left/right justified and DSP +Subject: [PATCH 138/173] ASoC: bcm2835: Support left/right justified and DSP modes DSP modes and left/right justified modes can be supported @@ -133674,10 +133674,10 @@ index dcacf7f83c9371df539a788ea33fedcf97d64690..3a706fda4f39e42efbe12f19d87af9b1 } -From 3f5d7adccb7b5811a9b6e5be1f6906b764052b20 Mon Sep 17 00:00:00 2001 +From 2429efb483826991f64adef9aa3d75fc2406b975 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:19:54 +0200 -Subject: [PATCH 139/169] ASoC: bcm2835: Support additional samplerates up to +Subject: [PATCH 139/173] ASoC: bcm2835: Support additional samplerates up to 384kHz Sample rates are only restricted by the capabilities of the @@ -133720,10 +133720,10 @@ index 3a706fda4f39e42efbe12f19d87af9b100a348a5..43f5715a0d5dda851731ecf7ff27e76c | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE -From 0cb966f11ce190ada68ab164f65c4c5a8293b32d Mon Sep 17 00:00:00 2001 +From 9efb3aa8829f59e3280b79b862ed1a5052d1ad69 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:24:57 +0200 -Subject: [PATCH 140/169] ASoC: bcm2835: Enforce full symmetry +Subject: [PATCH 140/173] 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. @@ -133759,10 +133759,10 @@ index 43f5715a0d5dda851731ecf7ff27e76c48fb6e57..2e449d7173fcecbcd647f90a26bd58b6 static bool bcm2835_i2s_volatile_reg(struct device *dev, unsigned int reg) -From 3a40121d2418936191d148f062203a84e86a8239 Mon Sep 17 00:00:00 2001 +From 72fdd092044ebf5668ce9696b824975f1af38b76 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Thu, 6 Jul 2017 18:52:16 +0200 -Subject: [PATCH 141/169] config: add missing arizona regulator modules +Subject: [PATCH 141/173] config: add missing arizona regulator modules In kernel 4.12 CONFIG_REGULATOR_ARIZONA was replaced by 2 separate options for LDO1 and MICSUPP regulators. Enable these, they are @@ -133812,10 +133812,10 @@ index bf0d3fd830a0a0cc9443ef52e7f167eb704ed152..06d0520e332f21afaa27ac112c0eee6c CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_ANALOG_TV_SUPPORT=y -From 8b43a1788b04e1c42551eb311b9f0939368d76dd Mon Sep 17 00:00:00 2001 +From c8af621b7500a5cca544d186addc9740a73a7d86 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Tue, 4 Apr 2017 19:20:59 +1000 -Subject: [PATCH 142/169] Audioinjector : make the octo and pi sound cards have +Subject: [PATCH 142/173] Audioinjector : make the octo and pi sound cards have different driver names This patch gives the audioinjector octo and pi soundcards different driver @@ -133852,10 +133852,10 @@ index ef54e0f07ea03f59e9957b5d98f3e7fdc998e469..491906bbf446826e55dd843f28e4860f .of_match_table = audioinjector_pi_soundcard_of_match, }, -From 12ae7eb386eb9be39c28b1ad64c4656bb56967d8 Mon Sep 17 00:00:00 2001 +From 2687303bdb543f57852c0e430091d439de193a73 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Tue, 4 Apr 2017 19:23:04 +1000 -Subject: [PATCH 143/169] Audioinjector octo : Make the playback and capture +Subject: [PATCH 143/173] Audioinjector octo : Make the playback and capture symmetric This patch ensures that the sample rate and channel count of the audioinjector @@ -133878,10 +133878,10 @@ index 49115c8e20ce1a2ba5a99feb8983a1cafb052ca2..5e79f4eff93a21ed3495c77a90f73525 }; -From fd131230ad31b9226f446787232c2faa6c3c92e4 Mon Sep 17 00:00:00 2001 +From aed80efdc1bdd305ecc7a95db90bbfa5f129c8f6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sun, 23 Apr 2017 19:36:53 +0100 -Subject: [PATCH 144/169] BCM270X_DT: Add bme280 and bmp180 to i2c-sensor +Subject: [PATCH 144/173] BCM270X_DT: Add bme280 and bmp180 to i2c-sensor overlay Signed-off-by: Phil Elwell @@ -133955,10 +133955,10 @@ index 606b2d5012abf2e85712be631c42ea40a0b512c5..e23e34b32a0a8927c14203d7384e8008 lm75 = <&lm75>,"status"; lm75addr = <&lm75>,"reg:0"; -From 10e54ddec8cfa0b351b3c1f30cb33cba714bb93d Mon Sep 17 00:00:00 2001 +From 35f7dc9b58a86b13cb6d8e41f42bdc1bc6f59936 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sun, 23 Apr 2017 19:38:06 +0100 -Subject: [PATCH 145/169] config: Add CONFIG_BMP280 (and CONFIG_BMP280_I2C) +Subject: [PATCH 145/173] config: Add CONFIG_BMP280 (and CONFIG_BMP280_I2C) Signed-off-by: Phil Elwell --- @@ -133991,10 +133991,10 @@ index 06d0520e332f21afaa27ac112c0eee6c36a9a9df..515f335d2a638de60d07a45df19ce52a CONFIG_PWM_PCA9685=m CONFIG_RASPBERRYPI_FIRMWARE=y -From 5fa80bfd8e623fc7a6c3759a2d36051608c84008 Mon Sep 17 00:00:00 2001 +From f5068bb7fba6b6486ec9fff4a58b73f59dcac640 Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Tue, 25 Apr 2017 10:46:09 -0400 -Subject: [PATCH 146/169] config: Enable TI TMP102 temp sensor module +Subject: [PATCH 146/173] config: Enable TI TMP102 temp sensor module Signed-off-by: Scott Ellis --- @@ -134027,10 +134027,10 @@ index 515f335d2a638de60d07a45df19ce52a7579f9ca..bfda35e4c4bce99b5125eab80f97c73a CONFIG_BCM2835_THERMAL=y CONFIG_WATCHDOG=y -From 428571d47eaf1573b7e8dd68513fb248e50298bf Mon Sep 17 00:00:00 2001 +From 60d7a504ec420bc35ab1d89fb7b2f79f12c48f37 Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Tue, 25 Apr 2017 13:05:42 -0400 -Subject: [PATCH 147/169] BCM270X_DT: Add tmp102 to i2c sensor overlay +Subject: [PATCH 147/173] BCM270X_DT: Add tmp102 to i2c sensor overlay Signed-off-by: Scott Ellis --- @@ -134110,10 +134110,10 @@ index e23e34b32a0a8927c14203d7384e800878627347..e86a13f92c3f75c14fa4425cdfb081d6 }; }; -From 23ee35570b29916963e033e90771f6e60cb76917 Mon Sep 17 00:00:00 2001 +From 3f9e6ce75654b504992221064c227d66bab34198 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 8 May 2017 16:43:40 +0100 -Subject: [PATCH 148/169] irq_bcm2836: Send event when onlining sleeping cores +Subject: [PATCH 148/173] 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 @@ -134149,10 +134149,10 @@ index 9a7ee04ee0d9b7aa734cf3159ed59c19a338de0d..014f13f89eb896f5cfc75ed9891787d0 } -From 45bb7dc3e4598a5765176cd7e271f64e7845058c Mon Sep 17 00:00:00 2001 +From b1dec084cbe58993a13dce4fd20e4af13163b08e Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Mon, 15 May 2017 17:10:53 +0200 -Subject: [PATCH 149/169] overlays: Add Goodix overlay +Subject: [PATCH 149/173] overlays: Add Goodix overlay Add support for I2C connected Goodix gt9271 multiple touch controller using GPIOs 4 and 17 (pins 7 and 11 on GPIO header) for interrupt and reset. @@ -134249,10 +134249,10 @@ index 0000000000000000000000000000000000000000..084f74042ed6379ebd9281374d5391a7 + }; +}; -From e8fbf239664f6ba08ee18e71e6de4055d535ff48 Mon Sep 17 00:00:00 2001 +From 258e40c541804f264f9231f4adf37cc8ccefbcbd Mon Sep 17 00:00:00 2001 From: chenzhiwo Date: Wed, 17 May 2017 16:34:57 +0800 -Subject: [PATCH 150/169] Add device tree overlay for GPIO connected rotary +Subject: [PATCH 150/173] Add device tree overlay for GPIO connected rotary encoder. See Documentation/input/rotary-encoder.txt for more information. --- @@ -134344,10 +134344,10 @@ index 0000000000000000000000000000000000000000..c0c6bccff60cc15d9a9bf59d2c7cba41 + }; +}; -From 49e4eaf81ff8ba8b1647f386a56177604216c0c4 Mon Sep 17 00:00:00 2001 +From ff66680b0a779a434e62d2d8fb0fe2d6b55aa68e Mon Sep 17 00:00:00 2001 From: Anton Onishchenko Date: Tue, 23 May 2017 18:55:46 +0300 -Subject: [PATCH 151/169] mpu6050 device tree overlay (#2031) +Subject: [PATCH 151/173] mpu6050 device tree overlay (#2031) Add overlay and config options for InvenSense MPU6050 6-axis motion detector. @@ -134462,10 +134462,10 @@ index bfda35e4c4bce99b5125eab80f97c73a159de969..a9841b71a4b633a81392c533578845d6 CONFIG_PWM_BCM2835=m CONFIG_PWM_PCA9685=m -From 6ed6999c1274758d4ce58215335d5fe838c0c940 Mon Sep 17 00:00:00 2001 +From 25df40e2400af28e6b3ed89d13d8c6407907b244 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 31 May 2017 09:33:55 +0100 -Subject: [PATCH 152/169] config: Adding SENSOR_JC42 +Subject: [PATCH 152/173] config: Adding SENSOR_JC42 The jc42 module supports a number of I2C-based temperature sensor modules. @@ -134505,10 +134505,10 @@ index a9841b71a4b633a81392c533578845d62f6aa78f..2ba46a28c2e7b21a401cc3544353937e CONFIG_SENSORS_SHT21=m CONFIG_SENSORS_SHTC1=m -From a95658fd36e721d0a3663a33073e8c303a2ddff2 Mon Sep 17 00:00:00 2001 +From a3af8d37eddec052358b96c494edc237c75e5eff Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 31 May 2017 15:27:39 +0100 -Subject: [PATCH 153/169] BCM270X_DT: Improve i2c-sensor and i2c-rtc overlay +Subject: [PATCH 153/173] BCM270X_DT: Improve i2c-sensor and i2c-rtc overlay Use the "__dormant__" feature to permit multiple instances of each overlay, which is more useful now that changing the "reg" property @@ -134873,10 +134873,10 @@ index e86a13f92c3f75c14fa4425cdfb081d6795ff76a..d2f0008addfadac8f6ed774a6e4f3f97 }; }; -From 5cb63a1ee2591894c353c39b411122a10b9dad2d Mon Sep 17 00:00:00 2001 +From 71567bc05831b9c5e66dfcc4940f07e42e67aad9 Mon Sep 17 00:00:00 2001 From: Stefan Tatschner Date: Mon, 29 May 2017 21:46:16 +0200 -Subject: [PATCH 154/169] Add device tree config for htu21 +Subject: [PATCH 154/173] Add device tree config for htu21 See: https://github.com/raspberrypi/linux/pull/2041 @@ -134958,10 +134958,10 @@ index d2f0008addfadac8f6ed774a6e4f3f97871c0d61..17c27e3b666a7a83619471b50c63bb93 }; }; -From 5be8f70b0ae57a70c708430061f3db2fc935d199 Mon Sep 17 00:00:00 2001 +From 5fc4aef857b07cf0f7a7b7de0b67bf6d22ac9044 Mon Sep 17 00:00:00 2001 From: sandeepal Date: Fri, 2 Jun 2017 18:59:46 +0530 -Subject: [PATCH 155/169] Allo Digione Driver (#2048) +Subject: [PATCH 155/173] Allo Digione Driver (#2048) Driver for the Allo Digione soundcard --- @@ -135392,10 +135392,10 @@ index 0000000000000000000000000000000000000000..e3664e44c699d0102120ecf99e8b780a +MODULE_DESCRIPTION("ASoC Driver for Allo DigiOne"); +MODULE_LICENSE("GPL v2"); -From a8ced2215bbe88a7a1a94a5bb234cf107143b5c1 Mon Sep 17 00:00:00 2001 +From d17a7c01fcdc7c4355bad8b476effceda574ade9 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Mon, 5 Jun 2017 16:40:38 +0100 -Subject: [PATCH 156/169] dma-bcm2708: Fix module compilation of +Subject: [PATCH 156/173] dma-bcm2708: Fix module compilation of CONFIG_DMA_BCM2708 bcm2708-dmaengine.c defines functions like bcm_dma_start which are @@ -135438,10 +135438,10 @@ index c5bfff2765be4606077e6c8af73040ec13ee8974..6ca874d332a8bc666b1c9576ac51f479 #endif /* _PLAT_BCM2708_DMA_H */ -From 152da9df9f73b68959c7787368dc230f986ed18b Mon Sep 17 00:00:00 2001 +From afb853a8d4cab559dde0529a278f97ca1b164627 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 20 Jun 2017 17:51:47 +0100 -Subject: [PATCH 157/169] bcm2835-cpufreq: Change licence to GPLv2 +Subject: [PATCH 157/173] bcm2835-cpufreq: Change licence to GPLv2 Signed-off-by: Eben Upton Signed-off-by: Dom Cobley @@ -135494,10 +135494,10 @@ index 414fbdc10dfbfc6e4bb47870a7af3fd5780f9c9a..99345969b0e4d651fd9033d67de2febb /* ---------- INCLUDES ---------- */ #include -From eeb3a44ddb2e83823629ff86a0800318ce8bcc02 Mon Sep 17 00:00:00 2001 +From 0df7f21e0e9ca2a0c421066ba0f44fc14438fc2a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 21 Jun 2017 09:03:51 -0700 -Subject: [PATCH 158/169] bcm2708: Drop CMA alignment from FKMS mode as well. +Subject: [PATCH 158/173] bcm2708: Drop CMA alignment from FKMS mode as well. I dropped it from KMS mode in d88274d88ed81de1ade8e18e4c0ed91792ec82ea and should have done both of them at that time. @@ -135553,10 +135553,10 @@ index 95a595a35cb4fbb707bf4b18161f6a46860aa4ae..36fbf6c8c2e612a6dc5aa02d77cc8173 }; -From c1f55ae7bf28f71aae41edaffd4dd21cb6c554a8 Mon Sep 17 00:00:00 2001 +From 8ba71536dc98fbd938de9d824472c6bf16662d47 Mon Sep 17 00:00:00 2001 From: Steve Conner Date: Thu, 29 Jun 2017 15:56:19 +0100 -Subject: [PATCH 159/169] New i2c-rtc-gpio device overlay (#2092) +Subject: [PATCH 159/173] New i2c-rtc-gpio device overlay (#2092) Created new i2c-rtc-gpio device overlay by combining i2c-rtc and i2c-gpio. Tested with PCF2127 on CM3. --- @@ -135820,10 +135820,10 @@ index 0000000000000000000000000000000000000000..8415e6081428fba9a47682964174fc02 + }; +}; -From 7e26479fa07c37f1fb07ed9a53c5a309f63c8fb4 Mon Sep 17 00:00:00 2001 +From 315a9332b4ab580198542c4d5fd61f6b20ce946d Mon Sep 17 00:00:00 2001 From: Allo Date: Mon, 3 Jul 2017 15:45:20 +0530 -Subject: [PATCH 160/169] PianoPlus: Dual Mono & Dual Stereo features added +Subject: [PATCH 160/173] PianoPlus: Dual Mono & Dual Stereo features added (#2069) --- @@ -136112,10 +136112,10 @@ index 56e43f98846b41e487b3089813f7edc3c08517eb..d4e99e3c6a383d92fb0cf9e8c1cd1e76 } -From 80f440e704f2b22da3577e2cf869452776748fb8 Mon Sep 17 00:00:00 2001 +From da12fa5d9cc8f8fc6f5be7470d4ebc15595e4052 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sun, 9 Jul 2017 15:15:22 +0200 -Subject: [PATCH 161/169] overlays: Add gpio-shutdown overlay (#2103) +Subject: [PATCH 161/173] overlays: Add gpio-shutdown overlay (#2103) This overlay facilitates the addition of a powerbutton by converting GPIO edges into KEY_POWER keypresses, which can be handled by @@ -136271,10 +136271,10 @@ index 0000000000000000000000000000000000000000..863fb395c8539734b658682b900e1fbd + +}; -From e8638fc0b36de212c68d9545f912ab0e56fe04e6 Mon Sep 17 00:00:00 2001 +From c0136a9cc3689fd42c157db85a37227312b03571 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Mon, 10 Jul 2017 11:05:17 +0200 -Subject: [PATCH 162/169] config: enable generic S/PDIF codec drivers (#2104) +Subject: [PATCH 162/173] config: enable generic S/PDIF codec drivers (#2104) These drivers can be used as dummy ADC/DAC drivers for attaching general codecs that don't need to be configured. @@ -136331,10 +136331,10 @@ index efdb0fbc1b07c7b679cb20d8c1270c77d5d3c684..472a330439a19ac5d4f70c22059f0158 CONFIG_SND_SIMPLE_CARD=m CONFIG_HIDRAW=y -From ca8134191ce14edd1cb1fc59ccb1ce0c7e226fa1 Mon Sep 17 00:00:00 2001 +From 90fed6dc088f2ba9bb454133e4439109b4752e67 Mon Sep 17 00:00:00 2001 From: Bilal Amarni Date: Wed, 24 May 2017 10:52:50 +0200 -Subject: [PATCH 163/169] [ARM64] enable drivers for GPIO expander and vcio +Subject: [PATCH 163/173] [ARM64] enable drivers for GPIO expander and vcio --- arch/arm64/configs/bcmrpi3_defconfig | 3 +++ @@ -136362,10 +136362,10 @@ index 4d85c231c5ea0244e1b05fb4a5e3c8fd3e651ddf..9dcb58a519d041fadae99c81a7bda621 CONFIG_GPIO_ARIZONA=m CONFIG_GPIO_STMPE=y -From 69ceb1e213964ca9139d4c52b17d77fb5348eab3 Mon Sep 17 00:00:00 2001 +From b8703c3fbc811454ce0274b25b65ce48277ad7a5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 14 Jul 2017 12:59:55 +0100 -Subject: [PATCH 164/169] bcm2835-mmc: Fix DMA usage +Subject: [PATCH 164/173] bcm2835-mmc: Fix DMA usage The previous change ("bcm2835-mmc: Only claim one DMA channel") used an incorrect variable, the effect of which was to prevent @@ -136400,10 +136400,10 @@ index 4fe8d1fe44578fbefcd48f8c327ba3d03f3d0a2a..981db05de1ff52a83550e41ab362eecf } #endif -From 48d9773abc9d2f23c9e457de2cede49a7d3d760f Mon Sep 17 00:00:00 2001 +From 857cd6089a8d6b2f2faa79cdcce1ccbeda877e0f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 16 Jul 2017 21:39:16 +0100 -Subject: [PATCH 165/169] BCM270X_DT: Use the upstream thermal-zones DT node +Subject: [PATCH 165/173] BCM270X_DT: Use the upstream thermal-zones DT node Signed-off-by: Phil Elwell --- @@ -136456,10 +136456,10 @@ index 29dde110e769082a24640d3c7284afb8e99b226c..8cc83a350d02bb485f7a4fcb129df9e0 + /delete-node/ trips; +}; -From 052087ae18423c49e048db0779adb91f3209948a Mon Sep 17 00:00:00 2001 +From d1bdf7cb59248ef6749ab49601e3b19ad39a2daf Mon Sep 17 00:00:00 2001 From: Conn Date: Mon, 17 Jul 2017 03:25:43 +0100 -Subject: [PATCH 166/169] config: enhance DualShock3 controller support +Subject: [PATCH 166/173] config: enhance DualShock3 controller support Enable rumble support in Sony HID & HID battery strength. --- @@ -136508,10 +136508,10 @@ index 472a330439a19ac5d4f70c22059f015816823694..e0dd8723047ff488e81a03ef42fdbc68 CONFIG_HID_SUNPLUS=m CONFIG_HID_GREENASIA=m -From 0ee493f6074e0aa9272148d7d4b2fbae42767fa9 Mon Sep 17 00:00:00 2001 +From df5a12aa921ee833fefd7c193538442361d15e4f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 19 Jul 2017 15:20:50 +0100 -Subject: [PATCH 167/169] overlays: i2c1-bcm2708: Don't overwrite i2c1 pins +Subject: [PATCH 167/173] overlays: i2c1-bcm2708: Don't overwrite i2c1 pins node It is bad practise to overwrite an entire node in an overlay. Instead, @@ -136556,10 +136556,10 @@ index e303b9c61c82a28eab7b48f6b085661574d5a849..7c69047bcd88a5c900dddd08e60ad075 }; }; -From 8f0db9e2fe42a1c8fee5494aded0a933d10b9fa7 Mon Sep 17 00:00:00 2001 +From f29a18e54f081ba9682244752232aa2305710293 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 18 Jul 2017 15:30:48 +0100 -Subject: [PATCH 168/169] bcm2835-mmc: Prevent DMA race condition +Subject: [PATCH 168/173] bcm2835-mmc: Prevent DMA race condition The end of a read operation is triggered by the completion of the DMA transfer, but writes are complete when the data IRQ is raised. The @@ -136626,10 +136626,10 @@ index 981db05de1ff52a83550e41ab362eecf99cafa29..c4a5e992c6fb4a40b933239350ed4bfc static void bcm2835_mmc_finish_command(struct bcm2835_host *host) -From d3cefa7273fd25058011b21fa08fdef757fd3c9d Mon Sep 17 00:00:00 2001 +From 4aacd30f306b56f016aa09d848da71eb8f5fd822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sven=20K=C3=B6hler?= Date: Mon, 7 Aug 2017 18:49:20 +0200 -Subject: [PATCH 169/169] Fix dependencies broken since driver was renamed +Subject: [PATCH 169/173] Fix dependencies broken since driver was renamed --- drivers/mmc/host/Kconfig | 2 +- @@ -136648,3 +136648,299 @@ index d47cce77c0551d78fa51f50e2c8086f26c7b9e56..dc41121c101e2ac6fe000fe2ab556561 range 0 256 default 2 help + +From 348eeb5533bba92ee6eeb46b1cbb87bf70b90994 Mon Sep 17 00:00:00 2001 +From: Eric Anholt +Date: Thu, 18 Dec 2014 16:07:15 -0800 +Subject: [PATCH 170/173] mm: Remove the PFN busy warning + +See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is +expected sometimes when using CMA. However, that commit still spams +my kernel log with these warnings. + +Signed-off-by: Eric Anholt +--- + mm/page_alloc.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/mm/page_alloc.c b/mm/page_alloc.c +index 7a58eb5757e3bd61d9dadfd8d851b9641454552d..90864578fa0b2511f9573158f5cc27da21c73c29 100644 +--- a/mm/page_alloc.c ++++ b/mm/page_alloc.c +@@ -7689,8 +7689,6 @@ int alloc_contig_range(unsigned long start, unsigned long end, + + /* Make sure the range is really isolated. */ + if (test_pages_isolated(outer_start, end, false)) { +- pr_info_ratelimited("%s: [%lx, %lx) PFNs busy\n", +- __func__, outer_start, end); + ret = -EBUSY; + goto done; + } + +From 2ef8f79ad0afb4b42d601551862a8915f7044301 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Fri, 25 Aug 2017 19:18:13 +0100 +Subject: [PATCH 171/173] cache: export clean and invalidate + +--- + arch/arm/mm/cache-v6.S | 4 ++-- + arch/arm/mm/cache-v7.S | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/arch/arm/mm/cache-v6.S b/arch/arm/mm/cache-v6.S +index 24659952c2784de64a53dc2e889ab616bd19b12b..1ee5bc3a101884132a65adae32d6ef7417667ffc 100644 +--- a/arch/arm/mm/cache-v6.S ++++ b/arch/arm/mm/cache-v6.S +@@ -201,7 +201,7 @@ ENTRY(v6_flush_kern_dcache_area) + * - start - virtual start address of region + * - end - virtual end address of region + */ +-v6_dma_inv_range: ++ENTRY(v6_dma_inv_range) + #ifdef CONFIG_DMA_CACHE_RWFO + ldrb r2, [r0] @ read for ownership + strb r2, [r0] @ write for ownership +@@ -246,7 +246,7 @@ v6_dma_inv_range: + * - start - virtual start address of region + * - end - virtual end address of region + */ +-v6_dma_clean_range: ++ENTRY(v6_dma_clean_range) + bic r0, r0, #D_CACHE_LINE_SIZE - 1 + 1: + #ifdef CONFIG_DMA_CACHE_RWFO +diff --git a/arch/arm/mm/cache-v7.S b/arch/arm/mm/cache-v7.S +index de78109d002db1a5e7c94a6c1bc8bb94161d07b8..4c850aa3af2b2439fced4e130441329a724fb370 100644 +--- a/arch/arm/mm/cache-v7.S ++++ b/arch/arm/mm/cache-v7.S +@@ -349,7 +349,7 @@ ENDPROC(v7_flush_kern_dcache_area) + * - start - virtual start address of region + * - end - virtual end address of region + */ +-v7_dma_inv_range: ++ENTRY(v7_dma_inv_range) + dcache_line_size r2, r3 + sub r3, r2, #1 + tst r0, r3 +@@ -377,7 +377,7 @@ ENDPROC(v7_dma_inv_range) + * - start - virtual start address of region + * - end - virtual end address of region + */ +-v7_dma_clean_range: ++ENTRY(v7_dma_clean_range) + dcache_line_size r2, r3 + sub r3, r2, #1 + bic r0, r0, r3 + +From 8bc70a26e064109f6650679cd23a99e99d0a4b48 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Fri, 25 Aug 2017 19:18:26 +0100 +Subject: [PATCH 172/173] vcsm: Provide new ioctl to clean/invalidate a 2D + block + +--- + drivers/char/broadcom/vc_sm/vmcs_sm.c | 91 ++++++++++++++++++++++++++++++++-- + include/linux/broadcom/vmcs_sm_ioctl.h | 16 ++++++ + 2 files changed, 104 insertions(+), 3 deletions(-) + +diff --git a/drivers/char/broadcom/vc_sm/vmcs_sm.c b/drivers/char/broadcom/vc_sm/vmcs_sm.c +index fd2ca788dcd56b1702454d71b7bedd4203179500..e16958e0d4094dbc37f2389f0aefdff0ef4253d1 100644 +--- a/drivers/char/broadcom/vc_sm/vmcs_sm.c ++++ b/drivers/char/broadcom/vc_sm/vmcs_sm.c +@@ -142,6 +142,7 @@ struct SM_RESOURCE_T { + struct list_head map_list; /* Maps associated with a resource. */ + + struct SM_PRIV_DATA_T *private; ++ bool map; /* whether to map pages up front */ + }; + + /* Private file data associated with each opened device. +@@ -1376,6 +1377,20 @@ static int vc_sm_mmap(struct file *file, struct vm_area_struct *vma) + vcsm_vma_open(vma); + resource->res_stats[MAP]++; + vmcs_sm_release_resource(resource, 0); ++ ++ if (resource->map) { ++ /* We don't use vmf->pgoff since that has the fake offset */ ++ unsigned long addr; ++ for (addr = vma->vm_start; addr < vma->vm_end; addr += PAGE_SIZE) { ++ /* Finally, remap it */ ++ unsigned long pfn = (unsigned long)resource->res_base_mem & 0x3FFFFFFF; ++ pfn += mm_vc_mem_phys_addr; ++ pfn += addr - vma->vm_start; ++ pfn >>= PAGE_SHIFT; ++ ret = vm_insert_pfn(vma, addr, pfn); ++ } ++ } ++ + return 0; + + error: +@@ -1394,10 +1409,18 @@ int vc_sm_ioctl_alloc(struct SM_PRIV_DATA_T *private, + struct SM_RESOURCE_T *resource; + VC_SM_ALLOC_T alloc = { 0 }; + VC_SM_ALLOC_RESULT_T result = { 0 }; ++ enum vmcs_sm_cache_e cached = ioparam->cached; ++ bool map = false; ++ ++ /* flag to requst buffer is mapped up front, rather than lazily */ ++ if (cached & 0x80 ) { ++ map = true; ++ cached &= ~0x80; ++ } + + /* Setup our allocation parameters */ +- alloc.type = ((ioparam->cached == VMCS_SM_CACHE_VC) +- || (ioparam->cached == ++ alloc.type = ((cached == VMCS_SM_CACHE_VC) ++ || (cached == + VMCS_SM_CACHE_BOTH)) ? VC_SM_ALLOC_CACHED : + VC_SM_ALLOC_NON_CACHED; + alloc.base_unit = ioparam->size; +@@ -1455,7 +1478,8 @@ int vc_sm_ioctl_alloc(struct SM_PRIV_DATA_T *private, + resource->res_handle = result.res_handle; + resource->res_base_mem = result.res_mem; + resource->res_size = alloc.base_unit * alloc.num_unit; +- resource->res_cached = ioparam->cached; ++ resource->res_cached = cached; ++ resource->map = map; + + /* Kernel/user GUID. This global identifier is used for mmap'ing the + * allocated region from user space, it is passed as the mmap'ing +@@ -2790,6 +2814,67 @@ static long vc_sm_ioctl(struct file *file, unsigned int cmd, unsigned long arg) + } + } + break; ++ /* Flush/Invalidate the cache for a given mapping. */ ++ case VMCS_SM_CMD_CLEAN_INVALID2: ++ { ++ int i, j; ++ struct vmcs_sm_ioctl_clean_invalid2 ioparam; ++ struct vmcs_sm_ioctl_clean_invalid_block *block = NULL; ++ ++ /* Get parameter data. */ ++ if (copy_from_user(&ioparam, ++ (void *)arg, sizeof(ioparam)) != 0) { ++ pr_err("[%s]: failed to copy-from-user header for cmd %x\n", ++ __func__, cmdnr); ++ ret = -EFAULT; ++ goto out; ++ } ++ block = kzalloc(ioparam.op_count * sizeof(struct vmcs_sm_ioctl_clean_invalid_block), GFP_KERNEL); ++ if (!block) { ++ ret = -EFAULT; ++ goto out; ++ } ++ if (copy_from_user(block, ++ (void *)(arg + sizeof(ioparam)), ioparam.op_count * sizeof(struct vmcs_sm_ioctl_clean_invalid_block)) != 0) { ++ pr_err("[%s]: failed to copy-from-user payload for cmd %x\n", ++ __func__, cmdnr); ++ ret = -EFAULT; ++ goto out; ++ } ++ ++ for (i=0; iblock_count; ++j) { ++ ++ ++ extern void v6_dma_inv_range(void *start, void *end); ++ extern void v6_dma_clean_range(void *start, void *end); ++ unsigned long base = (unsigned long)op->start_address + j * op->inter_block_stride; ++ unsigned long end = base + op->block_size; ++ /* L1/L2 cache clean */ ++ if (op->invalidate_mode & 2) { ++#if defined(CONFIG_CPU_CACHE_V7) ++ extern void v7_dma_clean_range(void *start, void *end); ++ v7_dma_clean_range((void *)base, (void *)end); ++#elif defined(CONFIG_CPU_CACHE_V6) ++ extern void v6_dma_clean_range(void *start, void *end); ++ v6_dma_clean_range((void *)base, (void *)end); ++#endif ++ /* L1/L2 cache invalidate */ ++ } else if (op->invalidate_mode & 1) { ++#if defined(CONFIG_CPU_CACHE_V7) ++ extern void v7_dma_inv_range(void *start, void *end); ++ v7_dma_inv_range((void *)base, (void *)end); ++#elif defined(CONFIG_CPU_CACHE_V6) ++ extern void v6_dma_inv_range(void *start, void *end); ++ v6_dma_inv_range((void *)base, (void *)end); ++#endif ++ } ++ } ++ } ++ kfree(block); ++ } ++ break; + + default: + { +diff --git a/include/linux/broadcom/vmcs_sm_ioctl.h b/include/linux/broadcom/vmcs_sm_ioctl.h +index 334f36d0d697b047df2922b5f2db67f38cf76564..2de7f1f41070689c99cad3bd43d117458549cb51 100644 +--- a/include/linux/broadcom/vmcs_sm_ioctl.h ++++ b/include/linux/broadcom/vmcs_sm_ioctl.h +@@ -62,6 +62,7 @@ enum vmcs_sm_cmd_e { + VMCS_SM_CMD_HOST_WALK_PID_MAP, + + VMCS_SM_CMD_CLEAN_INVALID, ++ VMCS_SM_CMD_CLEAN_INVALID2, + + VMCS_SM_CMD_LAST /* Do no delete */ + }; +@@ -175,6 +176,18 @@ struct vmcs_sm_ioctl_clean_invalid { + } s[8]; + }; + ++struct vmcs_sm_ioctl_clean_invalid2 { ++ uint8_t op_count; ++ uint8_t zero[3]; ++ struct vmcs_sm_ioctl_clean_invalid_block { ++ uint16_t invalidate_mode; ++ uint16_t block_count; ++ void * start_address; ++ uint32_t block_size; ++ uint32_t inter_block_stride; ++ } s[0]; ++}; ++ + /* IOCTL numbers */ + #define VMCS_SM_IOCTL_MEM_ALLOC\ + _IOR(VMCS_SM_MAGIC_TYPE, VMCS_SM_CMD_ALLOC,\ +@@ -206,6 +219,9 @@ struct vmcs_sm_ioctl_clean_invalid { + #define VMCS_SM_IOCTL_MEM_CLEAN_INVALID\ + _IOR(VMCS_SM_MAGIC_TYPE, VMCS_SM_CMD_CLEAN_INVALID,\ + struct vmcs_sm_ioctl_clean_invalid) ++#define VMCS_SM_IOCTL_MEM_CLEAN_INVALID2\ ++ _IOR(VMCS_SM_MAGIC_TYPE, VMCS_SM_CMD_CLEAN_INVALID2,\ ++ struct vmcs_sm_ioctl_clean_invalid2) + + #define VMCS_SM_IOCTL_SIZE_USR_HDL\ + _IOR(VMCS_SM_MAGIC_TYPE, VMCS_SM_CMD_SIZE_USR_HANDLE,\ + +From 8f6a2e02b62b04526598f5f758acc0257ac8ed49 Mon Sep 17 00:00:00 2001 +From: Olivier Schonken +Date: Mon, 28 Aug 2017 10:52:32 +0200 +Subject: [PATCH 173/173] Fix DTB overlay compilation for arm64 broadcom + +The dts-dirs variable was overwritten by the assignment of the +stingray directory after the overlays directory, thus no overlays +were being built + +Signed-off-by: Olivier Schonken +--- + arch/arm64/boot/dts/broadcom/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile +index 97af2ececc52ca3aad7b84dc2fdb5c269a45bde0..3b76320112196a1fce7a0941c696fd1ec43b817f 100644 +--- a/arch/arm64/boot/dts/broadcom/Makefile ++++ b/arch/arm64/boot/dts/broadcom/Makefile +@@ -11,7 +11,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b.dtb + + dts-dirs += ../overlays + +-dts-dirs := stingray ++dts-dirs += stingray + always := $(dtb-y) + subdir-y := $(dts-dirs) + clean-files := *.dtb