diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index c41bcc4a38..037fadc678 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 c634fd749f31b5b522e2d3f8daae2aa2b2dfb3e6 Mon Sep 17 00:00:00 2001 +From 60daaca019d6547bafdbe68f49a1c319a8314d96 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/179] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/182] 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 2dfca96a63b60283b89efab676932a711024a499..88843b36182f0f12175df06e3a6fb55a usbnet_skb_return(dev, ax_skb); } -From 90ad189574c93264e8df051bd6cc5dffe3e1a13a Mon Sep 17 00:00:00 2001 +From 3237e5699975a690d46125d271c52b9a5e207ed0 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 002/179] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 002/182] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -94,10 +94,10 @@ index 88843b36182f0f12175df06e3a6fb55a3a8f47e5..27813c57707c4b001646a26d8b1174a0 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From b9e96c85b0b055242bdd0fe6d822ccd67876b17c Mon Sep 17 00:00:00 2001 +From ce631b3a4f49408c3336da30d8204ac50b9fd963 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 003/179] Allow mac address to be set in smsc95xx +Subject: [PATCH 003/182] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -193,10 +193,10 @@ index 27813c57707c4b001646a26d8b1174a0162c55ec..fac7a5f8642030a7dca7807e6c4808ea eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From 58fd399e01d88d3f6b5f299d157566bd9aa578a8 Mon Sep 17 00:00:00 2001 +From ce95c515a0f9398d4813be6ecba562fd4bb43356 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 004/179] Protect __release_resource against resources without +Subject: [PATCH 004/182] 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 9a603ae3d7b4e80e093673ca6ad0d927b7133047 Mon Sep 17 00:00:00 2001 +From a1523be81be0e7add48b0da9e649fc99c29057f2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 005/179] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 005/182] 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 cea2b4e03871473316d915e03228c604828f61f0 Mon Sep 17 00:00:00 2001 +From 6473a846ce9cf03db58f95667b3fa8d8758639c7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:33:30 +0000 -Subject: [PATCH 006/179] irq-bcm2836: Avoid "Invalid trigger warning" +Subject: [PATCH 006/182] 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 9f33f8c58607fd80421017fd5a5b3df3e5796cf8 Mon Sep 17 00:00:00 2001 +From f21622cbca97a106394a65a4edb7e154db34649d 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/179] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 007/182] 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 a9a2b28acf8839db92c1efe4bb8e4e4b6f28903e Mon Sep 17 00:00:00 2001 +From 1c1a74f6279ce17eab4197e0783e3b469223415e 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/179] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 008/182] 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 23d5cf8dd8e2764ec00f33fe3d27edecc958c00e Mon Sep 17 00:00:00 2001 +From f29338e45f540430f4d1e03c7dc72fe913438faf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 009/179] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 009/182] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -539,10 +539,10 @@ index 9a2a79a871ba009fcfa8b7e2b52002c8845d94ce..4ffd24e8c50fd0df03cbb1257448c202 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 3eb1e69cf18694f74be8936906c22e7f693937c0 Mon Sep 17 00:00:00 2001 +From e8a1d78ca0157824f219ac45319193bf8108c5ce Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 3 Jan 2017 18:25:01 +0000 -Subject: [PATCH 010/179] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" +Subject: [PATCH 010/182] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" This reverts commit 85ae9e512f437cd09bf61564bdba29ab88bab3e3. --- @@ -836,10 +836,10 @@ index 85d0091128644c446aed878e87769e82c77c3ebf..4f2621272bfd5cbc0d691d2fabe89e2e if (IS_ERR(pc->pctl_dev)) { gpiochip_remove(&pc->gpio_chip); -From 08f48b390efaedf7abbdc46d2113742979eb0fd8 Mon Sep 17 00:00:00 2001 +From caa52dc534697693e173a40b5e6694bc46f9e97b Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 011/179] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 011/182] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -861,10 +861,10 @@ index 4f2621272bfd5cbc0d691d2fabe89e2ee428d6db..5b7cb4c415e19f98e25b221ab0ad36b6 .can_sleep = false, }; -From 31b6aec34d83166fc13239aac888254e2c659f2f Mon Sep 17 00:00:00 2001 +From 42fe50269f828e4144efbb8ecfd5329a78b34c44 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 012/179] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 012/182] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -891,10 +891,10 @@ index 5b7cb4c415e19f98e25b221ab0ad36b6885dae4c..6351fe7f8e314ac5ebb102dd20847b38 pc->irq_data[i].irqgroup = i; -From caaf19a6ec0e4e57d3c10f0f70032bfb7544dd07 Mon Sep 17 00:00:00 2001 +From 9bd1202aa5df6ce977a481026d36dd0f31cf300e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 013/179] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 013/182] 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 @@ -975,10 +975,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 7966042c662736eb46465b393c5623c5618c3f3e Mon Sep 17 00:00:00 2001 +From c6d57fbf7fd351af43e211dc18bd04bfe0be7d43 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 014/179] spi-bcm2835: Disable forced software CS +Subject: [PATCH 014/182] 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 @@ -1012,10 +1012,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From ac0fc3ed29098d48c1c37b86f8f3a605e4a37aa1 Mon Sep 17 00:00:00 2001 +From 9dbb4db2f31a97a7587182324b0ff673ecfab7a2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 015/179] spi-bcm2835: Remove unused code +Subject: [PATCH 015/182] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -1103,10 +1103,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From 00625060ac6615de6048f7c5706f1cf070d07c87 Mon Sep 17 00:00:00 2001 +From 9771768da1aec6eb4f13ce608bc79c299670807a 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/179] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 016/182] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1159,10 +1159,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From e5d4e6d17742e025cf38b042409c17b60eefa76e Mon Sep 17 00:00:00 2001 +From c6896ccea012aeb279a7ae00f55a334000313d2d 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/179] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 017/182] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1265,10 +1265,10 @@ index 6204cc32d09c5096df8aec304c3c37b3bcb6be44..599c218dc8a73172dd4bd4a058fc8f95 MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From f3c25b49193e52c0db5a8a850cec3b807938ab32 Mon Sep 17 00:00:00 2001 +From efe0bd25e23b81a5b1809e8063db8e1e2225e744 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 018/179] firmware: Updated mailbox header +Subject: [PATCH 018/182] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 9 +++++++++ @@ -1329,10 +1329,10 @@ index cb979ad90401e299344dd5fae38d09c489d8bd58..30fb37fe175df604a738258a2a632bca RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, -From 97c54ad83e18839a99d9a8e9c7d9a5b802b89643 Mon Sep 17 00:00:00 2001 +From f2d2aea44f42e73d0dbfbe2ef98b10d0e1945810 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 019/179] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 019/182] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1352,10 +1352,10 @@ index 8895f77726e8da5444afcd602dceff8f25a9b3fd..1833b8853ceb0e6147cceb93a00e558c MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From f37c1f69d5225e1cdbee5fe52053e1aef2dfaf11 Mon Sep 17 00:00:00 2001 +From 56ce42071b8b6eea28ffab346bbbd1cbbcb68a3d 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/179] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 020/182] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1457,10 +1457,10 @@ index b339e0e67b4c1275fd4992fea4f1e24c0575b783..26b7177573fac2af1cd4ab5488d2686f static int bcm2835_wdt_probe(struct platform_device *pdev) -From c164f6c90fff77a2c9e95526d32dee92288802e5 Mon Sep 17 00:00:00 2001 +From 58df7e252efa8fe809a29ad643f92f312ed034f1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 021/179] reboot: Use power off rather than busy spinning when +Subject: [PATCH 021/182] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1483,10 +1483,10 @@ index 3b2aa9a9fe268d45335f781c4aa22cf573753a1b..0180d89a34af45c56243fe0f17fbe209 /* -From e1d03942f7be7e0ec7d4a5fb0e512f32a5165a28 Mon Sep 17 00:00:00 2001 +From fd89a560ebb8037580c125724ed5364b09efb1b3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 022/179] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 022/182] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1505,10 +1505,10 @@ index a39b0d58ddd0fdf0ac1cc7295f8aafb12546e226..e037a6dd79d1881a09e3ca9115782709 help This enables support for the RPi power domains which can be enabled -From 8de05b2cb1b55d362631df0c828da58cb15a33bd Mon Sep 17 00:00:00 2001 +From 90476f6f4fb2c0ac47774adb9c8db0c2a15ef624 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 023/179] Register the clocks early during the boot process, so +Subject: [PATCH 023/182] 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. @@ -1553,10 +1553,10 @@ index 02585387061967ac9408e18ac1bce67e9e9414c0..283d2de45e4f29406d01f24ab1cae3f9 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From e2852207f3c67de899be2835f8961350c4ac001d Mon Sep 17 00:00:00 2001 +From 67a1dac6aea666cbf65040e1746ba2c465d712e8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 024/179] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 024/182] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1582,10 +1582,10 @@ index 574211a495491d9d6021dcaefe4274a63ed02055..e66c0fca8c6090e32f72796c0877a1cf err = hwrng_register(&bcm2835_rng_ops); if (err) { -From f2288b2d381d63fb357821a96040d5eed7aacd1a Mon Sep 17 00:00:00 2001 +From 4be74e2db5889c9364c35b8b7e6e92b3596c1c8f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 025/179] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 025/182] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -1605,10 +1605,10 @@ index 61f87a99bf0a1c512e572d3cbdcf4b4b5d7ae785..0a5e36778eacf7dc589486f8bc8033f5 esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From 47e879c15e0e023c7dc691e39fef66af625c922e Mon Sep 17 00:00:00 2001 +From 1129d313485edba157233217c74e2d533173cbac Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 026/179] BCM2835_DT: Fix I2S register map +Subject: [PATCH 026/182] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -1646,10 +1646,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 1ec481d474273979a31fa07d1db25bbe01384373 Mon Sep 17 00:00:00 2001 +From b6d64f6dc79e21322526fc48ab5b6cd0d631c750 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 027/179] clk-bcm2835: Mark used PLLs and dividers CRITICAL +Subject: [PATCH 027/182] 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 @@ -1677,10 +1677,10 @@ index 283d2de45e4f29406d01f24ab1cae3f9f879234a..85df8c74a309f0b877ef65f1c55b086f divider->data = data; -From 1e8fea6bbeaf0215e579c3841a252cd5cd7d1df1 Mon Sep 17 00:00:00 2001 +From fbb141c4319fbdf5d49246a0d3b0d6f5105daa98 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 028/179] clk-bcm2835: Add claim-clocks property +Subject: [PATCH 028/182] 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, @@ -1782,10 +1782,10 @@ index 85df8c74a309f0b877ef65f1c55b086f1bb774a1..eec6735505c074c0a76ae647bf0e1bb6 sizeof(cprman_parent_names)); of_clk_parent_fill(dev->of_node, cprman->real_parent_names, -From bc1bbfa753af42cfe15a66657dbc7eff8755b273 Mon Sep 17 00:00:00 2001 +From 8a9b8630302a1cdba890c8e4d7e0f0b885672855 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:06:53 +0000 -Subject: [PATCH 029/179] clk-bcm2835: Correct the prediv logic +Subject: [PATCH 029/182] clk-bcm2835: Correct the prediv logic If a clock has the prediv flag set, both the integer and fractional parts must be scaled when calculating the resulting frequency. @@ -1812,10 +1812,10 @@ index eec6735505c074c0a76ae647bf0e1bb68ab3a488..e0d28add45efdf70d1eba590282a3a26 return bcm2835_pll_rate_from_divisors(parent_rate, ndiv, fdiv, pdiv); } -From b7f578f4ecbf43f728e219fe3c075ffa0b1b6622 Mon Sep 17 00:00:00 2001 +From 18ef046c047bdefb5f7721ccb6920f08e5379c56 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Mar 2017 09:06:18 +0000 -Subject: [PATCH 030/179] clk-bcm2835: Read max core clock from firmware +Subject: [PATCH 030/182] 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 @@ -1930,10 +1930,10 @@ index e0d28add45efdf70d1eba590282a3a2654af328d..39f72da6ba1f6ec6ec41d5dc1bf46344 for (i = 0; !of_property_read_u32_index(pdev->dev.of_node, "claim-clocks", -From 7bef972e9191ba312be2801cf66eb2ea4cbbc1c7 Mon Sep 17 00:00:00 2001 +From fb7e40f68c04dab2355d91bb12babc6f3eac3f93 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:36:44 +0000 -Subject: [PATCH 031/179] sound: Demote deferral errors to INFO level +Subject: [PATCH 031/182] 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. @@ -1968,10 +1968,10 @@ index d05acc8eed1fdc1f24cba7282bc61bcb3471c084..5578e501505fe86eb67d5b066854a13d goto _err_defer; } -From 3881a7b4b8f14f8403054097a23254de35f78d08 Mon Sep 17 00:00:00 2001 +From 754bd320941bc0bca32cf4bce8b5fbc00f47da34 Mon Sep 17 00:00:00 2001 From: Claggy3 Date: Sat, 11 Feb 2017 14:00:30 +0000 -Subject: [PATCH 032/179] Update vfpmodule.c +Subject: [PATCH 032/182] 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 @@ -2108,10 +2108,10 @@ index a71a48e71fffa8626fe90106815376c44bbe679b..d6c0a5a0a5ae3510db3ace5e3f5d3410 /* * Save the userland NEON/VFP state. Under UP, -From ede2d24ae557cf912e41f84d494188592bddea4f Mon Sep 17 00:00:00 2001 +From 755f450130cafde8c208d6a362da31506795964a Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 21:13:24 +1100 -Subject: [PATCH 033/179] ASoC: bcm2835_i2s.c: relax the ch2 register setting +Subject: [PATCH 033/182] 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. @@ -2132,10 +2132,10 @@ index 6ba20498202ed36906b52096893a88867a79269f..56df7d8a43d0aac055a91b0d24aca8e1 format |= BCM2835_I2S_CH1(BCM2835_I2S_CHPOS(ch1pos)); format |= BCM2835_I2S_CH2(BCM2835_I2S_CHPOS(ch2pos)); -From 9c53f79a2eb4fe0b88b4c1e95608f62f83106238 Mon Sep 17 00:00:00 2001 +From c875764497acb1842d8cef504175f25fda9aa25f 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 034/179] i2c: bcm2835: Add debug support +Subject: [PATCH 034/182] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2324,10 +2324,10 @@ index cd07a69e2e9355540442785f95e90823b05c9d10..47167f403cc8329bd811b47c7011c299 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From 75d0f8f913b781ce7ed5bfd718d1b9ee31d9ad7d Mon Sep 17 00:00:00 2001 +From fd52262df6666258b142075e44266514d81cb59e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 035/179] Main bcm2708/bcm2709 linux port +Subject: [PATCH 035/182] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2515,10 +2515,10 @@ index cfb4b4496dd9f61362dea012176c146120fada07..d9c6c217c4d6a2408abe2665bf7f2700 MODULE_AUTHOR("Lubomir Rintel "); MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); -From ff09f70e82f7b10c82e1a4f064ae421d17c9b6a4 Mon Sep 17 00:00:00 2001 +From 97533fa9e8c282238b8d81b61a48907f1ba08906 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 036/179] Add dwc_otg driver +Subject: [PATCH 036/182] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -63660,10 +63660,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From d7783126a1da31ade67e127cf33c554944594234 Mon Sep 17 00:00:00 2001 +From d6a62cbf93112d518af434a3627b4b5616ff57cf Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 037/179] bcm2708 framebuffer driver +Subject: [PATCH 037/182] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67122,10 +67122,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 97f8a04f3c7bf95eb20325f10086c901e83ba35c Mon Sep 17 00:00:00 2001 +From b96cc5f64752cc5d69a3990c4f69481960c4241b Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 038/179] dmaengine: Add support for BCM2708 +Subject: [PATCH 038/182] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67756,10 +67756,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From 0e80c0d37c83fbd60b00a99d6691e6663b623176 Mon Sep 17 00:00:00 2001 +From 4e1bd4f24a1e1c29aec90f92cd08bf85f59bf8d0 Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 039/179] MMC: added alternative MMC driver +Subject: [PATCH 039/182] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69481,10 +69481,10 @@ index 0000000000000000000000000000000000000000..4fe8d1fe44578fbefcd48f8c327ba3d0 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From 3e9dfa7d6c507ac68fc91f844aa53568e2a7e6af Mon Sep 17 00:00:00 2001 +From b57c2dbd22926dbe1f74b04802371ff92642bbcf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 040/179] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 040/182] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -71890,10 +71890,10 @@ index 0000000000000000000000000000000000000000..9c6f199a7830959f31012d86bc1f8b1a +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From 56cf60f83031689a420c95c2ed83060d76df9df7 Mon Sep 17 00:00:00 2001 +From 5a66d1744bf765f29dedd9eba347c4926b7735cb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 041/179] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 041/182] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -72418,10 +72418,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From b478d73e6d13350ea1ec0311a63bf29a08541a37 Mon Sep 17 00:00:00 2001 +From 297d9b74cc3f8f0538020d3ff67eca24dfee9896 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 042/179] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 042/182] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -76876,10 +76876,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From fb70b79de0324fc300c541a7105fc3c294bb0eef Mon Sep 17 00:00:00 2001 +From b4ee8e20894b8b490d76fb69f8e64b9a25c6d7b9 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 043/179] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 043/182] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -77187,10 +77187,10 @@ index 0000000000000000000000000000000000000000..f5e7f1ba8fb6f18dee77fad06a17480c +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 7335a0c987db5d22602f2c3a4d53dedd60956ae6 Mon Sep 17 00:00:00 2001 +From 7c446ed20400f211fcc9c49a5fc77f0806831e7f Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 044/179] Add SMI driver +Subject: [PATCH 044/182] Add SMI driver Signed-off-by: Luke Wren --- @@ -79141,10 +79141,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From 2cf9dea3c85e2018be664a4baf4e3d22d5ab3fbf Mon Sep 17 00:00:00 2001 +From cd842447e08106d8b2a0dd379327c1f5818e2d2b Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 045/179] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 045/182] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -79314,10 +79314,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From 90d9e321c0c004f196cb8220b9e02b355bd5a7a1 Mon Sep 17 00:00:00 2001 +From cf57c3333df4f917f776943c4dacdd3136a6b886 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 046/179] Add SMI NAND driver +Subject: [PATCH 046/182] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -79682,10 +79682,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From 3dfbac6bcc97ba7b6b32e9ee330d010fe69d49a5 Mon Sep 17 00:00:00 2001 +From fa78e6578d18ae59225d91eb42cde42d9e25fa3a Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 047/179] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 047/182] 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 @@ -80546,10 +80546,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From 8331916dab161cc2bd266391c64991b8ad82b0d8 Mon Sep 17 00:00:00 2001 +From e363bdbf98fc1e32e682f2f3064c93215a479a4e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 048/179] Add cpufreq driver +Subject: [PATCH 048/182] Add cpufreq driver Signed-off-by: popcornmix --- @@ -80816,10 +80816,10 @@ index 0000000000000000000000000000000000000000..414fbdc10dfbfc6e4bb47870a7af3fd5 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 5b389626b3f440085c9a8411f3c85e1bf584aa36 Mon Sep 17 00:00:00 2001 +From 5d174c02e73c78c92c5afe6f24aa9ff5d0f30637 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 049/179] Added hwmon/thermal driver for reporting core +Subject: [PATCH 049/182] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -81002,10 +81002,10 @@ index 0000000000000000000000000000000000000000..25b78c3eac1503fbc9e679b963a6284b +MODULE_DESCRIPTION("Thermal driver for bcm2835 chip"); +MODULE_LICENSE("GPL"); -From da9f2dbfdc718b3aa35b3e6daf2c075d23e0f51d Mon Sep 17 00:00:00 2001 +From 6b63a95a01a16a3deec6f4e2da8a38500744554d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 050/179] Add Chris Boot's i2c driver +Subject: [PATCH 050/182] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81670,10 +81670,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From f7ae7e93cbe909b305122d6d8445520f0c958c36 Mon Sep 17 00:00:00 2001 +From 22a8f9698de48bd3d6b10ac7f43528a3c34c27fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 051/179] char: broadcom: Add vcio module +Subject: [PATCH 051/182] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81898,10 +81898,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From adf7defa7b014d16d685658506557323d083a8c5 Mon Sep 17 00:00:00 2001 +From 0c0a74575058729f2a80c6e732336ac6604fbec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 052/179] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 052/182] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81984,10 +81984,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From d68bc2af8fa0a8bbb998683497958c8595056076 Mon Sep 17 00:00:00 2001 +From 387e01eb746c0f60211a67b97bc3aacac7f4d14e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 053/179] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 053/182] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -82514,10 +82514,10 @@ index 0000000000000000000000000000000000000000..84be2593ec1de8f97b0167ff06b3e05d + return $trailer; +} -From 997f926bf2d1bce36c801e4887b100cc0d9189dc Mon Sep 17 00:00:00 2001 +From 7aadb94bfc66371f9b6fe935b02abc847bb05f31 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 054/179] BCM2708: Add core Device Tree support +Subject: [PATCH 054/182] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -93962,10 +93962,10 @@ index 58c05e5d9870b6c18a72da7dc44ff3112994946d..9842523b225a88505d796cc689c04f40 # Bzip2 -From efeec1ab4e602705edc21b2ad84fd7d0896decba Mon Sep 17 00:00:00 2001 +From 22d87129074f86493e9404d175f1d765ee276f95 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 055/179] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 055/182] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -94140,10 +94140,10 @@ index 64c56d454f7df9f864a5242ce4212df586f66886..3fd74c8737871cb56f0355c858fc135e /* set_brightness_work / blink_timer flags, atomic, private. */ unsigned long work_flags; -From dca34d59ac7bb4308edf5ae46381af135bb0d0a0 Mon Sep 17 00:00:00 2001 +From e11f33c3c840fb2c6b5adb442946f65b4192b20c Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 056/179] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 056/182] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -94411,10 +94411,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582 __u32 dx; /* screen-relative */ __u32 dy; -From 205a48a5576f0ee75acf96ae202374668db26eaa Mon Sep 17 00:00:00 2001 +From bfce562a8722518d593165063cf3ccf0b1927c7f Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 057/179] Speed up console framebuffer imageblit function +Subject: [PATCH 057/182] 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 @@ -94623,10 +94623,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 0cd4d3b0e0372c2640262b2c6c00fb6635e31685 Mon Sep 17 00:00:00 2001 +From 7ce792d07a5b5ec6e453554a00318d3bfc237cec Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 058/179] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 058/182] 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 @@ -94876,10 +94876,10 @@ index d58594a3232492e33f1dd4babd3798b03e0f0203..feae94256256316fd9d850c3d83325af unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 2ac8122d8f8301846ee5ab95e13f3070beccb4aa Mon Sep 17 00:00:00 2001 +From f4ad26b49544ccf783d471a4eb36919c88793d4f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 059/179] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 059/182] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -94911,10 +94911,10 @@ index 83772fa7d92a6f6178cd3a4a5c0fea28350040b5..3f4a7e34b3f775e712b1b4d6afe27a2a break; case HID_GD_JOYSTICK: -From 3f354f21d3246faf0cb82679fbd6b922b627b24a Mon Sep 17 00:00:00 2001 +From 868c83d92acecb9284aad4e39b3e25b61b4598cd Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 060/179] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 060/182] 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 @@ -95272,10 +95272,10 @@ index 30fb37fe175df604a738258a2a632bca3bfff33f..4a3d79d3b48eb483a4e4bf498f617515 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 916354b9957aa5511b89025da08b3f6f1ba737f5 Mon Sep 17 00:00:00 2001 +From bcaad92b7fc9663e80e01615a6b78ec8c6638494 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 061/179] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 061/182] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -96850,10 +96850,10 @@ index 567601148318bf4a5fbc581d6c9881d9e190c409..45ea7866761a71470bd335f6f37ea603 bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From d5480744868a64bb4ea5124c79c9f7a6c57130c1 Mon Sep 17 00:00:00 2001 +From c600e0663a01c7170c8c95676778d4052e7ee4cf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 062/179] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 062/182] 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 @@ -96888,10 +96888,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From 2821da678716f5703bf372bacbeb086c54c47619 Mon Sep 17 00:00:00 2001 +From 8aae4381045b2972d58a69262e483a51f91df2f3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 063/179] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 063/182] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -97756,10 +97756,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From d77aa2dc4e040e70ad40ba02c78aa96f4b8bd207 Mon Sep 17 00:00:00 2001 +From ff1c16f22f44f7354064eca759890cab84dd42c3 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 064/179] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 064/182] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -97934,10 +97934,10 @@ index 0000000000000000000000000000000000000000..ee9f133953544629282631e5ef3f73fe +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From 45b51aaa53be215a811c9b9a91f970477d1da76f Mon Sep 17 00:00:00 2001 +From acea370d43f5950a2b31598f778958d73548d6df Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 065/179] ASoC: Add support for Rpi-DAC +Subject: [PATCH 065/182] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -98221,10 +98221,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From ed645804ae702654c983c48d7196b4394b158620 Mon Sep 17 00:00:00 2001 +From c3afa38b80c5140c3dd5c1927cdf30112852f5e7 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 066/179] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 066/182] 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 @@ -98273,10 +98273,10 @@ index af95d648265b3e92e345101542b332aee35191d4..513f56ba132929662802d15cdc653af3 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From 48fa9127939e44b7c8040032b78563a57db68ebe Mon Sep 17 00:00:00 2001 +From e52084686b1472912c68db3734255c1028c19f27 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 067/179] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 067/182] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -98620,10 +98620,10 @@ index 0000000000000000000000000000000000000000..7620dd02de40b6d644ff038b445d375d +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From f8f0cbfac164090f3c58e268306df2ce94f100c0 Mon Sep 17 00:00:00 2001 +From 69bd69b6303fb7f77d44fb5b3ea89a57d405676e Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 068/179] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 068/182] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -98958,10 +98958,10 @@ index 0000000000000000000000000000000000000000..1ee4097c846376666775272ed692ca33 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From b6bc34585024c59d50ebc0224fdcb245b5a76afa Mon Sep 17 00:00:00 2001 +From 07738977cd5a7b4df6a0ec3a8c318ddbcd447e43 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 069/179] Added support for HiFiBerry DAC+ +Subject: [PATCH 069/182] 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. @@ -99591,10 +99591,10 @@ index 72b19e62f6267698aea45d2410d616d91c1825cb..c6839ef6e16754ed9de2698507b8986a dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From 9b1e0ea4b868995224b191f5c2570f9b666d9af8 Mon Sep 17 00:00:00 2001 +From d4bd382cf8edb374632f98171c352bd584b5a2b5 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 070/179] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 070/182] 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. @@ -100429,10 +100429,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 113971dd5399e40822791e7d774e467bc7d3155e Mon Sep 17 00:00:00 2001 +From b76db0c8d46c80dfc64f3843f8811bb51a5494ac Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 071/179] Add driver for rpi-proto +Subject: [PATCH 071/182] 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 @@ -100647,10 +100647,10 @@ index 0000000000000000000000000000000000000000..fadbfade100228aaafabb0d3bdf35c01 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From cbab130e1bdf7215bb70dc1df6a0d10983e54e00 Mon Sep 17 00:00:00 2001 +From 4d78beede63cf3a595c363bf3511fe09a0f84854 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 072/179] RaspiDAC3 support +Subject: [PATCH 072/182] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -100893,10 +100893,10 @@ index 0000000000000000000000000000000000000000..ad2b5b89bc8213dc2e277306ef50d6e3 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 560fc6c0bca39ff0cf19082e3c3aae0e61e30ca4 Mon Sep 17 00:00:00 2001 +From 83e7c8781a42d93e8918649dbb1024607774b8d8 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 073/179] Add Support for JustBoom Audio boards +Subject: [PATCH 073/182] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -101352,10 +101352,10 @@ index 0000000000000000000000000000000000000000..909cf8928f2f4313982316f9c5b8a709 +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From ed19596cd87028d0a23f19e5f278816341066100 Mon Sep 17 00:00:00 2001 +From 56ddb6217397745ec099e07042ca9254796670d2 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 074/179] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 074/182] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -101537,10 +101537,10 @@ index 0000000000000000000000000000000000000000..f3d7e5db7bb912e1d7ca6f8e8d42df5f +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From c5965eb7044a6ce88161b59e05c8abf5569cd91b Mon Sep 17 00:00:00 2001 +From 71874c2547e6f7859783349a5f08853311b54b2d Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 075/179] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 075/182] 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. @@ -101791,10 +101791,10 @@ index 0000000000000000000000000000000000000000..ef54e0f07ea03f59e9957b5d98f3e7fd +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From 5d08a61c34ef46366c7d6267842cd9d3a531e964 Mon Sep 17 00:00:00 2001 +From 40b5d53f4661103aef022623605d3ce077bbe7c9 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 076/179] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 076/182] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -102094,10 +102094,10 @@ index 0000000000000000000000000000000000000000..33aa2be8a43a12a12cfb5d844dd9732c +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From c1185d2a27e1dc75a988fad3d33d4fe8684d8259 Mon Sep 17 00:00:00 2001 +From f3e555f8b4a51cd51eba8ed34793133664c0005e Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 077/179] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 077/182] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -102570,10 +102570,10 @@ index 0000000000000000000000000000000000000000..f200688bb4ae32b90a0ced555aed94b0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From 5115c8bf41deec2e5b3871b38d9c2c9cffae9f95 Mon Sep 17 00:00:00 2001 +From d6b59500bd121c6998dbbd8ea75a7e6d41f6a52d Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 078/179] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 078/182] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -102746,10 +102746,10 @@ index 0000000000000000000000000000000000000000..65e03741d349a2dc5bd91f69855ea952 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From 6e69a1de41211f3a439a06ac857541d45c6cea54 Mon Sep 17 00:00:00 2001 +From 0b952028480d2f5283eced08b000b3b59590eb70 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 079/179] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 079/182] 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, @@ -102956,10 +102956,10 @@ index 0000000000000000000000000000000000000000..eaf50fb6dbca1970ae1c6f8662088b0f +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From 14fa140a4396fda0ca9d953bef9b6467af9646eb Mon Sep 17 00:00:00 2001 +From b017d95ae3a93a0bf75d9ccc1f7a25f521963644 Mon Sep 17 00:00:00 2001 From: Raashid Muhammed Date: Mon, 27 Mar 2017 12:35:00 +0530 -Subject: [PATCH 080/179] Add support for Allo Piano DAC 2.1 plus add-on board +Subject: [PATCH 080/182] 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. @@ -103704,10 +103704,10 @@ index 0000000000000000000000000000000000000000..56e43f98846b41e487b3089813f7edc3 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC Plus"); +MODULE_LICENSE("GPL v2"); -From 6d2d760bf4afa5f93b316a065920145cbff18606 Mon Sep 17 00:00:00 2001 +From bc4db3b4daeac0df191372546a5bafe9b3e0d6e5 Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Tue, 28 Mar 2017 20:04:42 +0530 -Subject: [PATCH 081/179] Add support for Allo Boss DAC add-on board for +Subject: [PATCH 081/182] Add support for Allo Boss DAC add-on board for Raspberry Pi. (#1924) Signed-off-by: Baswaraj K @@ -104410,10 +104410,10 @@ index 0000000000000000000000000000000000000000..203ab76c7045b081578e23bda1099dd1 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Boss DAC"); +MODULE_LICENSE("GPL v2"); -From ea975cb3645296353ee4bd94d5afe3a24fe4a280 Mon Sep 17 00:00:00 2001 +From fe7eb9fe1195c71d91976750ab68567a8fe8f6fc Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 082/179] Support for Blokas Labs pisound board +Subject: [PATCH 082/182] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -105612,10 +105612,10 @@ index 0000000000000000000000000000000000000000..06ff1e53dc9d860946965b6303577762 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From d771feccb6de053caf4dd2193002c650a68cf781 Mon Sep 17 00:00:00 2001 +From db6bcfa2ed277739f96a5ed8af060c9c5f297479 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:37 +0100 -Subject: [PATCH 083/179] ASoC: Add driver for Cirrus Logic Audio Card +Subject: [PATCH 083/182] 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 @@ -106680,10 +106680,10 @@ index 0000000000000000000000000000000000000000..ac8651ddff7bd3701dffe22c7fb88352 +MODULE_DESCRIPTION("ASoC driver for Cirrus Logic Audio Card"); +MODULE_LICENSE("GPL"); -From 9cd4d1fc74408ed80c25f2150b651bdff6a69f43 Mon Sep 17 00:00:00 2001 +From 286edbffaa15216436ff2964c9743b40b823182b Mon Sep 17 00:00:00 2001 From: Miquel Date: Fri, 24 Feb 2017 20:51:06 +0100 -Subject: [PATCH 084/179] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT +Subject: [PATCH 084/182] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT Signed-off-by: Miquel Blauw --- @@ -106878,10 +106878,10 @@ index 0000000000000000000000000000000000000000..a009c49477972a9832175d86f201b035 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO-V2"); +MODULE_LICENSE("GPL v2"); -From 99a762573dcc530b19efda9a2a1a67554e8b0f63 Mon Sep 17 00:00:00 2001 +From c1941cee0ea765961836c7aba9d9faefb9b3e159 Mon Sep 17 00:00:00 2001 From: Fe-Pi Date: Wed, 1 Mar 2017 04:42:43 -0700 -Subject: [PATCH 085/179] Add support for Fe-Pi audio sound card. (#1867) +Subject: [PATCH 085/182] 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. @@ -107095,10 +107095,10 @@ index 0000000000000000000000000000000000000000..015b56fd73cc36be5b5eecd17548fd03 +MODULE_DESCRIPTION("ASoC Driver for Fe-Pi Audio"); +MODULE_LICENSE("GPL v2"); -From 43e3b5e75017dc91ce7a2998cc51cfd98736bff0 Mon Sep 17 00:00:00 2001 +From d612360d3b21e316d319b34a57569c0155772e56 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 20:04:13 +1100 -Subject: [PATCH 086/179] Add support for the AudioInjector.net Octo sound card +Subject: [PATCH 086/182] Add support for the AudioInjector.net Octo sound card AudioInjector Octo: sample rates, regulators, reset @@ -107500,10 +107500,10 @@ index 0000000000000000000000000000000000000000..dcf403ab37639ba79e38278d7e4b1ade +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:audioinjector-octo-soundcard"); -From 4f70c2114092ee700bb7ba02ca5a36065200f791 Mon Sep 17 00:00:00 2001 +From 321e4c569fadfab0f088b239ea1cc085650d4fa7 Mon Sep 17 00:00:00 2001 From: Peter Malkin Date: Mon, 27 Mar 2017 16:38:21 -0700 -Subject: [PATCH 087/179] Driver support for Google voiceHAT soundcard. +Subject: [PATCH 087/182] Driver support for Google voiceHAT soundcard. --- sound/soc/bcm/Kconfig | 7 ++ @@ -107894,10 +107894,10 @@ index 0000000000000000000000000000000000000000..225854b8e5298b3c3018f59a49404354 +MODULE_DESCRIPTION("ASoC Driver for Google voiceHAT SoundCard"); +MODULE_LICENSE("GPL v2"); -From 4135a7a932ac6aa73ba3fd2699bdb6873d998917 Mon Sep 17 00:00:00 2001 +From fb8164c045f830ac20aad2c7954434b3b62d02fb Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 088/179] rpi_display: add backlight driver and overlay +Subject: [PATCH 088/182] 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 @@ -108066,10 +108066,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From bd49777e5b268eb158c1ed2ad6464dd74f5a2c87 Mon Sep 17 00:00:00 2001 +From 625404cc0c263328f23d5b87731b7407f987ed9b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 089/179] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 089/182] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -108343,10 +108343,10 @@ index 4a3d79d3b48eb483a4e4bf498f617515e3ad158f..5f34e1257117fb48013c9926a8a223d6 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 2a5c430ab972a28d357c03848d50869267359e67 Mon Sep 17 00:00:00 2001 +From 4d35090fc2138462c434a13119e346b2d35d0149 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 20 Feb 2017 17:01:21 +0000 -Subject: [PATCH 090/179] bcm2835-gpio-exp: Driver for GPIO expander via +Subject: [PATCH 090/182] bcm2835-gpio-exp: Driver for GPIO expander via mailbox service Pi3 and Compute Module 3 have a GPIO expander that the @@ -108672,10 +108672,10 @@ index 5f34e1257117fb48013c9926a8a223d64a598ab7..c819c21b0158a59c1308882e5a40e3f3 /* Dispmanx TAGS */ RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001, -From 7ee6ec71718ffd68a50fce1844946fb85bf58bfa Mon Sep 17 00:00:00 2001 +From 3c1bffa6c85acebdddd2c4ec84a7a27e15a679e1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 091/179] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 091/182] 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 @@ -108704,10 +108704,10 @@ index 8a857bb34fbb26c6d60784d3fe7576730a9aa5b3..0afd6f3ee7e8d021d6e324915af4dc7c uap->old_cr = 0; uap->port.dev = dev; -From f0a5e9fccbb9b1d38f4ab6120adf6c398b8ee327 Mon Sep 17 00:00:00 2001 +From a7a957756b9ab7bc7aca5ee2c8abdffd04fe6563 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:07:39 +0000 -Subject: [PATCH 092/179] amba_pl011: Round input clock up +Subject: [PATCH 092/182] 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 @@ -108793,10 +108793,10 @@ index 0afd6f3ee7e8d021d6e324915af4dc7c7db56083..be4aa91bac66982b1fd9a13e9f971b3b /* unregisters the driver also if no more ports are left */ static void pl011_unregister_port(struct uart_amba_port *uap) -From 6aa404ae46a11922a02d59b60e31768ecc1ef502 Mon Sep 17 00:00:00 2001 +From 92e16d450d7c8ac02ba9bdddd31cdc2f7ae6887a Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 093/179] OF: DT-Overlay configfs interface +Subject: [PATCH 093/182] 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. @@ -109228,10 +109228,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From b3109de42940e99da16830ba53c96f618a6e2b75 Mon Sep 17 00:00:00 2001 +From 3555a084fa522248f481f5f3801b154474aa1796 Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 094/179] brcm: adds support for BCM43341 wifi +Subject: [PATCH 094/182] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -109382,10 +109382,10 @@ index d44f59ef4f72b3324aa3deedf8746e10cf1cccc7..cb5292ede39c5f1e97df2a18d4883848 BRCMF_FW_NVRAM_ENTRY(BRCM_CC_43362_CHIP_ID, 0xFFFFFFFE, 43362), BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4339_CHIP_ID, 0xFFFFFFFF, 4339), -From df93f0c8b588896e053bd5b351770c19f3f426cb Mon Sep 17 00:00:00 2001 +From b61167b09c8d718ac3a582e9a3adb678cad4a883 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Feb 2017 15:26:13 +0000 -Subject: [PATCH 095/179] brcmfmac: Mute expected startup 'errors' +Subject: [PATCH 095/182] brcmfmac: Mute expected startup 'errors' The brcmfmac WiFi driver always complains about the '00' country code. Modify the driver to ignore '00' silently. @@ -109409,10 +109409,10 @@ index bc78593a611b6704aa88cc280cdaccd0873fc102..604744f7af9bd465822a93276088c96c req->alpha2[0], req->alpha2[1]); return; -From 02ec1afceb610c52c9319d73ad787a771226c895 Mon Sep 17 00:00:00 2001 +From 10f43417739024ffba9a5bc4b07dd147fb70ccf4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 096/179] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 096/182] 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. @@ -109435,10 +109435,10 @@ index 90d0456b67446bcc624fab4b1542c4eaf21531b1..f9adeac3bbba6418dcca298c55706356 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From 1fe940961df6b7012f13801724a33b4cea1fd076 Mon Sep 17 00:00:00 2001 +From b4b3499526ebbd3d24eadd2ec913c467bcdb409e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 097/179] config: Add default configs +Subject: [PATCH 097/182] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1314 +++++++++++++++++++++++++++++++++++ @@ -112096,10 +112096,10 @@ index 0000000000000000000000000000000000000000..ace19d6f5bc04091130bd28b65ce25e8 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 371a4e971c1d3c78b37a7b3325e8ff0512821476 Mon Sep 17 00:00:00 2001 +From 62ad425a9e74d4f4c0d3d0a2281dab6bfba83c20 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 098/179] Add arm64 configuration and device tree differences. +Subject: [PATCH 098/182] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -113513,10 +113513,10 @@ index 0000000000000000000000000000000000000000..e6b09fafa27eed2b762e3d53b55041f7 +CONFIG_LIBCRC32C=y +CONFIG_BCM2835_VCHIQ=n -From 65c9bc829beeed66154c1ab5f5f566f5ff828daa Mon Sep 17 00:00:00 2001 +From c1327de6924c6d98519be6fc3351226acdddcad3 Mon Sep 17 00:00:00 2001 From: Electron752 Date: Thu, 12 Jan 2017 07:07:08 -0800 -Subject: [PATCH 099/179] ARM64: Make it work again on 4.9 (#1790) +Subject: [PATCH 099/182] 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. @@ -113919,10 +113919,10 @@ index e6b09fafa27eed2b762e3d53b55041f793683d27..c7e891d72969a388d9b135a36dbfc9c9 CONFIG_LIBCRC32C=y -CONFIG_BCM2835_VCHIQ=n -From 48e8fe9eb995f5de35485383162b507bee3dc39a Mon Sep 17 00:00:00 2001 +From fd94a5a7a55d7ac3831068d2d25d0adea8e8b52e Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:10:07 -0800 -Subject: [PATCH 100/179] ARM64: Enable HDMI audio and vc04_services in +Subject: [PATCH 100/182] ARM64: Enable HDMI audio and vc04_services in bcmrpi3_defconfig Signed-off-by: Michael Zoran @@ -113951,10 +113951,10 @@ index c7e891d72969a388d9b135a36dbfc9c9cb609bf8..4b90f9b64abe9f089ba56b13d5a00de3 CONFIG_BCM2835_MBOX=y # CONFIG_IOMMU_SUPPORT is not set -From ec292f6654708a693fd1ad7c953ade9012cf384a Mon Sep 17 00:00:00 2001 +From f98d8f936cdcbdfdd98482ffb84991cb99565862 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:14:03 -0800 -Subject: [PATCH 101/179] ARM64: Run bcmrpi3_defconfig through savedefconfig. +Subject: [PATCH 101/182] ARM64: Run bcmrpi3_defconfig through savedefconfig. Signed-off-by: Michael Zoran --- @@ -113999,10 +113999,10 @@ index 4b90f9b64abe9f089ba56b13d5a00de33343bfb9..dac962ca1634662ce7d966f1ffb53b5b CONFIG_FB_TFT_AGM1264K_FL=m CONFIG_FB_TFT_BD663474=m -From ce86209efc8993b23695fd56c82c4bfb2184b7f1 Mon Sep 17 00:00:00 2001 +From aabceddd02aea50f66772f90b81d779696981a31 Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 14 Jan 2017 02:54:26 -0800 -Subject: [PATCH 102/179] ARM64: Enable Kernel Address Space Randomization +Subject: [PATCH 102/182] ARM64: Enable Kernel Address Space Randomization (#1792) Randomization allows the mapping between virtual addresses and physical @@ -114034,10 +114034,10 @@ index dac962ca1634662ce7d966f1ffb53b5bfa27c506..aae33b4b3c3e736ea7cd3ca242158ad6 CONFIG_BINFMT_MISC=y CONFIG_COMPAT=y -From 0d1f69192982d6197e399a5ff9f6a25e4c2f24ee Mon Sep 17 00:00:00 2001 +From 67f96718eb3ede2f1f16d6729fb30411eaa537bb Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sun, 15 Jan 2017 07:31:59 -0800 -Subject: [PATCH 103/179] ARM64: Enable RTL8187/RTL8192CU wifi in build config +Subject: [PATCH 103/182] 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 @@ -114062,10 +114062,10 @@ index aae33b4b3c3e736ea7cd3ca242158ad6ba558aff..b7d762df19b85e369a32cd823dfd0621 CONFIG_ZD1211RW=m CONFIG_MAC80211_HWSIM=m -From 415ce273b477a3e59b126e1957c31109947804ad Mon Sep 17 00:00:00 2001 +From 5ef2e3fd092c7a9464cc5873060a92507904fe7d Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 104/179] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 104/182] 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 @@ -114408,10 +114408,10 @@ index 6b2c7d0c93f36a63863ff4b0ecc1f3eab77e058b..d7b700ff17821ad1944e36721fe6b2db /** The OS page size */ #define DWC_OS_PAGE_SIZE PAGE_SIZE -From e4094a444c7a36879b8518c294b3b8be6e7f98f5 Mon Sep 17 00:00:00 2001 +From 0b06afa392932e72cab69b92f019e12224106aca Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 105/179] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 105/182] 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 @@ -114485,10 +114485,10 @@ index c4e151451cf8c8ebde5225515eac2786d6f61d46..9a7ee04ee0d9b7aa734cf3159ed59c19 .name = "bcm2836-gpu", .irq_mask = bcm2836_arm_irqchip_mask_gpu_irq, -From 1af7b9b94f3f376fed86e7423f6d2b5447a2bc53 Mon Sep 17 00:00:00 2001 +From 61a0bdbf07077b314ad8f98101c61905e28c7f07 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:45:03 -0800 -Subject: [PATCH 106/179] ARM64: Enable DWC_OTG Driver In ARM64 Build +Subject: [PATCH 106/182] ARM64: Enable DWC_OTG Driver In ARM64 Build Config(bcmrpi3_defconfig) Signed-off-by: Michael Zoran @@ -114509,10 +114509,10 @@ index b7d762df19b85e369a32cd823dfd062145bdefa7..4d85c231c5ea0244e1b05fb4a5e3c8fd CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From 430a45b5f47cf93863c9df61003513e78060d27c Mon Sep 17 00:00:00 2001 +From 53ec579e86710d01d83aa621c32ccc3c9b4e8b23 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 11 Feb 2017 01:18:31 -0800 -Subject: [PATCH 107/179] ARM64: Force hardware emulation of deprecated +Subject: [PATCH 107/182] ARM64: Force hardware emulation of deprecated instructions. --- @@ -114540,10 +114540,10 @@ index f0e6d717885b1fcf3b22f64c10c38f19c25f809d..0cb830d30fb6d2bd26ab572efe893649 case INSN_OBSOLETE: insn->current_mode = INSN_UNDEF; -From 65ecab023c7b773a1f05be307367fcd2312192d4 Mon Sep 17 00:00:00 2001 +From c14587d836213b44843bb4c943fe6b479b1730b7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Feb 2017 17:57:08 -0800 -Subject: [PATCH 108/179] build/arm64: Add rules for .dtbo files for dts +Subject: [PATCH 108/182] build/arm64: Add rules for .dtbo files for dts overlays We now create overlays as .dtbo files. @@ -114568,10 +114568,10 @@ index f839ecd919f934c54a73d8e9f8179aff3d3cba26..a4010b3cc8ef11d449bcff8018522667 dtbs: prepare scripts -From 54526b836af81b475f956af704ca0aa8bbe924af Mon Sep 17 00:00:00 2001 +From ed71346196f2efa5f59c9ea304c5fe94e6946c1c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 109/179] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 109/182] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -114609,10 +114609,10 @@ index 39f72da6ba1f6ec6ec41d5dc1bf46344aab008da..fe3298b54cdfb96bd90fb4f39e13921d * rate changes on at least of the parents. */ -From fb3717b6f555613453cdb92e57e9081c37fb191d Mon Sep 17 00:00:00 2001 +From df3933cf579c254542483bbb39fc206abda3ba44 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 110/179] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 110/182] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -114645,10 +114645,10 @@ index 6351fe7f8e314ac5ebb102dd20847b383fd5b857..28745af5aadf3cb91fa7ff39118385c3 }, }; -From e517425c53972346529b8271b4327c867571107d Mon Sep 17 00:00:00 2001 +From 86fe7a94b3ec729e0eac3e019b41995eaf332b26 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 10:06:56 +0000 -Subject: [PATCH 111/179] ASoC: Add prompt for ICS43432 codec +Subject: [PATCH 111/182] 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 @@ -114673,10 +114673,10 @@ index adf3b7b75e303430d6a03a2b457d389596f39c1a..ba4a36dd0196e8eece5e22ad6717c189 config SND_SOC_INNO_RK3036 tristate "Inno codec driver for RK3036 SoC" -From 309c43578e9d634f711aa9fd35585fc5f017946a Mon Sep 17 00:00:00 2001 +From 19f3100424b06dc9d387fab9b511c64e9e72fa81 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 16:34:46 +0000 -Subject: [PATCH 112/179] bcm2835-aux: Add aux interrupt controller +Subject: [PATCH 112/182] 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 @@ -114840,10 +114840,10 @@ index bd750cf2238d61489811e7d7bd3b5f9950ed53c8..41e0702fae4692221980b0d02aed1ba6 BCM2835_AUX_CLOCK_COUNT, GFP_KERNEL); if (!onecell) -From 1ccba6b42586ce3d42e09d2e51e9c0fa552d7807 Mon Sep 17 00:00:00 2001 +From ecff100d10f4ebb7da2b0fb1b01b63481724666c Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 29 Apr 2016 10:32:17 -0700 -Subject: [PATCH 113/179] mmc: read mmc alias from device tree +Subject: [PATCH 113/182] mmc: read mmc alias from device tree To get the SD/MMC host device ID, read the alias from the device tree. @@ -114900,10 +114900,10 @@ index 88fa03142e923c67967f7b51e0a90a32ae1cb6a6..393bb77d829d5da5556e2ef14a247042 kfree(host); return NULL; -From 7a46e24964288e35a955c8439c3534a20185392f Mon Sep 17 00:00:00 2001 +From b654e4bd1ed371c3b02df46a7ec802f324a36948 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 114/179] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 114/182] 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, @@ -115043,10 +115043,10 @@ index aad015e0152b7f1d32f92c500825b723498d1be9..d44a9c84a90a02388c05a427814fb8fc unsigned int erase_size; /* erase size in sectors */ -From a834d9a554b54692c414f6b08dea6c1ff16c5aa0 Mon Sep 17 00:00:00 2001 +From 8da446215b91e332378564d6f87878430d195dfe Mon Sep 17 00:00:00 2001 From: Yasunari Takiguchi Date: Fri, 14 Apr 2017 10:43:57 +0100 -Subject: [PATCH 115/179] This is the driver for Sony CXD2880 DVB-T2/T tuner + +Subject: [PATCH 115/182] 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. @@ -131178,10 +131178,10 @@ index 0000000000000000000000000000000000000000..82e122349055be817eb74ed5bbcd7560 +MODULE_AUTHOR("Sony Semiconductor Solutions Corporation"); +MODULE_LICENSE("GPL v2"); -From e242acc4c9dbea5edb27f26500fd7a1e2056c59d Mon Sep 17 00:00:00 2001 +From 845387abb930055cadf40c28fe78ed5b209a37b6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:18:09 +0100 -Subject: [PATCH 116/179] raspberrypi-firmware: Define the MBOX channel in the +Subject: [PATCH 116/182] raspberrypi-firmware: Define the MBOX channel in the header. Signed-off-by: Eric Anholt @@ -131203,10 +131203,10 @@ index c819c21b0158a59c1308882e5a40e3f3fe73cbdf..de2a3dcd562beb752266eaf0070e5586 enum rpi_firmware_property_status { -From 95ca060ae34686ac13c567007d1fbe4f3e66a302 Mon Sep 17 00:00:00 2001 +From ae6523d3383095dedc66c70e0e70e0fa9a429f42 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 117/179] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 117/182] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -131250,10 +131250,10 @@ index de2a3dcd562beb752266eaf0070e55861d553f5f..dc7fd58afd5dddebf9b17065bb069a1d #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From cf3ed5b55902fcfdf7bf45176002e4540e2e05f9 Mon Sep 17 00:00:00 2001 +From 37b829d36d9777b8068c16588f966e5f71434e41 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 118/179] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 118/182] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -132026,10 +132026,10 @@ index 0000000000000000000000000000000000000000..1e09980c61a91246156c4ab661c03779 + }, +}; -From b7f7cd39f187538cac313fd4eea949aca8fb5fb7 Mon Sep 17 00:00:00 2001 +From d9dce30c54aae0a04a1674ff49676176372a6d06 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:09:18 -0800 -Subject: [PATCH 119/179] drm/vc4: Name the primary and cursor planes in fkms. +Subject: [PATCH 119/182] drm/vc4: Name the primary and cursor planes in fkms. This makes debugging nicer, compared to trying to remember what the IDs are. @@ -132053,10 +132053,10 @@ index 1e09980c61a91246156c4ab661c03779baa1fc97..174a2f90c5bd78798ed47cca243b68a9 if (type == DRM_PLANE_TYPE_PRIMARY) { vc4_plane->fbinfo = -From a4c34162a6999e3b474914f89bf169e3e26f809b Mon Sep 17 00:00:00 2001 +From 5f10d2d55e86c00f9a161bff905adcb26208e917 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:10:09 -0800 -Subject: [PATCH 120/179] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of +Subject: [PATCH 120/182] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. Trying to debug weston on fkms involved figuring out what calls I was @@ -132126,10 +132126,10 @@ index 174a2f90c5bd78798ed47cca243b68a968e6e735..611a3c6d622deb9b511fe70c363d201b RPI_FIRMWARE_SET_CURSOR_STATE, &packet_state, -From ac4c970613118a65cc7f223327c05ca27ccb98fc Mon Sep 17 00:00:00 2001 +From f5d4f341ea89a456ba22522e180b234f916484ae Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Feb 2017 09:42:18 -0800 -Subject: [PATCH 121/179] drm/vc4: Fix sending of page flip completion events +Subject: [PATCH 121/182] 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 @@ -132171,10 +132171,10 @@ index 611a3c6d622deb9b511fe70c363d201b091c414a..eb97443533c5a8fb5e142541adb1165b static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc) -From d6eff8154cf0c88379d4ecc85e1ac3267c314c53 Mon Sep 17 00:00:00 2001 +From 69baa1c10e5a115437d3d42d78df1b153d10e6cc Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 18 Apr 2017 21:43:46 +0100 -Subject: [PATCH 122/179] vc4_fkms: Apply firmware overscan offset to hardware +Subject: [PATCH 122/182] vc4_fkms: Apply firmware overscan offset to hardware cursor --- @@ -132231,10 +132231,10 @@ index eb97443533c5a8fb5e142541adb1165b55e32aea..aa0ab7bcd904b775f64045c4d5baf39a return 0; -From 60d1328db1f07e7abd91514b4223f65bd7f88a76 Mon Sep 17 00:00:00 2001 +From c7f2e43ee67ecb456be1695dad4a3d0116d2ea7a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 15 May 2017 09:28:36 -0700 -Subject: [PATCH 123/179] drm/vc4: Mark the device as active when enabling +Subject: [PATCH 123/182] drm/vc4: Mark the device as active when enabling runtime PM. Failing to do so meant that we got a resume() callback on first use of @@ -132260,10 +132260,10 @@ index 7cc346ad9b0baed63701d1fae8f0306aa7713129..c82326ff994d03719a66d42f8f9ac0e2 pm_runtime_set_autosuspend_delay(dev, 40); /* a little over 2 frames. */ pm_runtime_enable(dev); -From 6908c1331cbaed5ba43adf8f2250faa2002607da Mon Sep 17 00:00:00 2001 +From c186caa85e25f28d751d3942f943ccb533e23da1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 16 May 2017 14:39:49 +0100 -Subject: [PATCH 124/179] mmc: Change downstream MMC driver CONFIG option +Subject: [PATCH 124/182] 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 @@ -132311,10 +132311,10 @@ index f4b8951af214fd0b0392d4fb38b29a0b41c7340e..d352fabf6b61c803fef3e10f974214bf obj-$(CONFIG_MMC_WBSD) += wbsd.o obj-$(CONFIG_MMC_AU1X) += au1xmmc.o -From 8436a5d1f063cdb4a8ed308cad804b9ae443a8ce Mon Sep 17 00:00:00 2001 +From cf8aae78dfe7e0b26d1346751f1da6730eb59a45 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 May 2017 19:34:52 +0100 -Subject: [PATCH 125/179] config: Add CONFIG_I2C_ROBOTFUZZ_OSIF +Subject: [PATCH 125/182] config: Add CONFIG_I2C_ROBOTFUZZ_OSIF --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132346,10 +132346,10 @@ index ace19d6f5bc04091130bd28b65ce25e863117a43..17952377907afac28fd982ca2f910206 CONFIG_SPI_BCM2835=m CONFIG_SPI_BCM2835AUX=m -From 97bd59c908c59e46f317db4ddbb8157281d38e38 Mon Sep 17 00:00:00 2001 +From d5dcb3231cba06bf16932a6801bfd3cbfb6d23e3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 18 May 2017 11:40:43 +0100 -Subject: [PATCH 126/179] config: Add FB_TFT_ST7789V module +Subject: [PATCH 126/182] config: Add FB_TFT_ST7789V module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132381,10 +132381,10 @@ index 17952377907afac28fd982ca2f9102067a062d6e..ef7bfc431c43eec6deb7c52e8cdac317 CONFIG_FB_TFT_TLS8204=m CONFIG_FB_TFT_UC1701=m -From e9b3ddbb48fc571df47cb1232c3036b62fd2ed2a Mon Sep 17 00:00:00 2001 +From 622ab82c516b0a293be9edef926f7b475881adf0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 18 May 2017 15:36:46 +0100 -Subject: [PATCH 127/179] staging: bcm2835-audio: Fix memory corruption +Subject: [PATCH 127/182] 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. @@ -132419,10 +132419,10 @@ index 5f3d8f2339e34834d11edfa8de1d5819e3e32b4f..89f96f3c02805f4114ec9b488e18d00e return ret; } -From 20c5acf02c1da64d57623557a57ee7522cf14f03 Mon Sep 17 00:00:00 2001 +From 1a93bb0eeffabfdb48dd5ec6bee4f1c32d188ad9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 15 May 2017 16:40:05 +0100 -Subject: [PATCH 128/179] config: Add CONFIG_TOUCHSCREEN_GOODIX +Subject: [PATCH 128/182] config: Add CONFIG_TOUCHSCREEN_GOODIX --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132454,10 +132454,10 @@ index ef7bfc431c43eec6deb7c52e8cdac31794ccccbe..573cbd71ca0990b7a7e48fa3bbc98eec CONFIG_TOUCHSCREEN_RPI_FT5406=m CONFIG_TOUCHSCREEN_USB_COMPOSITE=m -From 268953cacbbdf7a083b0635dd0b258818f35fb04 Mon Sep 17 00:00:00 2001 +From d5961c5aa8da0599800f956032126f181b082c5f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 May 2017 15:58:00 +0100 -Subject: [PATCH 129/179] config: Add CONFIG_TOUCHSCREEN_EDT_FT5X06 +Subject: [PATCH 129/182] config: Add CONFIG_TOUCHSCREEN_EDT_FT5X06 --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132489,10 +132489,10 @@ index 573cbd71ca0990b7a7e48fa3bbc98eec2d3d776f..6c4d62cdea7e4ed642e265861c6f1c1a CONFIG_TOUCHSCREEN_USB_COMPOSITE=m CONFIG_TOUCHSCREEN_STMPE=m -From 6a4e02ea56e2ddc20359127fb04ba74cea98a821 Mon Sep 17 00:00:00 2001 +From 21c3c05d928e59a1bbf20b220feb4b890e07a0e1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 22 May 2017 13:35:28 +0100 -Subject: [PATCH 130/179] config: Add CONFIG_IPV6_SIT_6RD +Subject: [PATCH 130/182] config: Add CONFIG_IPV6_SIT_6RD --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132524,10 +132524,10 @@ index 6c4d62cdea7e4ed642e265861c6f1c1a964e331c..676dfebfbab8f1cba521bc032b8d2137 CONFIG_IPV6_MULTIPLE_TABLES=y CONFIG_IPV6_SUBTREES=y -From 7e4d665a06fd3d2ef6101700149fe160c3dd7167 Mon Sep 17 00:00:00 2001 +From 7f26cc8424dae22c01c612f1012657d0270c9f15 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 22 May 2017 15:28:27 +0100 -Subject: [PATCH 131/179] config: Add CONFIG_IPV6_ROUTE_INFO +Subject: [PATCH 131/182] config: Add CONFIG_IPV6_ROUTE_INFO --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132559,10 +132559,10 @@ index 676dfebfbab8f1cba521bc032b8d21371c38abfa..4ae560370a972b9c56e8af38a537b1db CONFIG_INET6_ESP=m CONFIG_INET6_IPCOMP=m -From 821abbb68db759d1dd107bd9472d24d045bc0146 Mon Sep 17 00:00:00 2001 +From a6e774f1d857bac8ad667b4f2847332c83d02bd6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 26 Apr 2017 17:28:47 +0100 -Subject: [PATCH 132/179] clk: bcm2835: Limit PCM clock to OSC and PLLD_PER +Subject: [PATCH 132/182] clk: bcm2835: Limit PCM clock to OSC and PLLD_PER It is unwise to use sources other than the oscillator and PLLD_PER for the PCM peripheral (and perhaps others - TBD) because their rate can @@ -132607,10 +132607,10 @@ index fe3298b54cdfb96bd90fb4f39e13921d2e1d4356..c24b4defb2b046e4ecdc109befc2b224 [BCM2835_CLOCK_PWM] = REGISTER_PER_CLK( .name = "pwm", -From 370cdb7233448f6042a644a3a8e7deb42cc438d7 Mon Sep 17 00:00:00 2001 +From fef1de6afbe297708f0b6d4731a6ab6a7820f1a1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 May 2017 13:56:41 +0100 -Subject: [PATCH 133/179] clk: bcm2835: Minimise clock jitter for PCM clock +Subject: [PATCH 133/182] clk: bcm2835: Minimise clock jitter for PCM clock Fractional clock dividers generate accurate average frequencies but with jitter, particularly when the integer divisor is small. @@ -132735,10 +132735,10 @@ index c24b4defb2b046e4ecdc109befc2b22497060647..db3ba74acf78f4dfec0d2206b58bc7c3 .tcnt_mux = 23), [BCM2835_CLOCK_PWM] = REGISTER_PER_CLK( -From cf13ca679c0e989af3992bc7056859498d1a308f Mon Sep 17 00:00:00 2001 +From fe57b0bb2a19c0819a679c2afd0b485c136b93aa Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 25 May 2017 16:04:53 +0100 -Subject: [PATCH 134/179] dwc_otg: make periodic scheduling behave properly for +Subject: [PATCH 134/182] dwc_otg: make periodic scheduling behave properly for FS buses If the root port is in full-speed mode, transfer times at 12mbit/s @@ -132909,10 +132909,10 @@ index 85a6d431ca54b47dc10573aa72d1ad69d06f2e36..4b1dd9de99e9e08b2e006fb5f8a7ef92 status = check_max_xfer_size(hcd, qh); if (status) { -From 94e0e07aef292b7def9a7242a410ccbefd5d35e0 Mon Sep 17 00:00:00 2001 +From 8a8049e2226f9107b0f281dbcd206cfde69bce90 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 May 2017 16:07:23 +0100 -Subject: [PATCH 135/179] serial: 8250: Add CAP_MINI, set for bcm2835aux +Subject: [PATCH 135/182] serial: 8250: Add CAP_MINI, set for bcm2835aux commit d087e7a991f1f61ee2c07db1be7c5cc2aa373f5d upstream. @@ -132985,10 +132985,10 @@ index 68fd045a7025047726860547ecd661b95d61ac80..af954e278d78002cc5d07086dcc69608 baud = serial8250_get_baud_rate(port, termios, old); -From ab0b4f513f0def35b4cc2bcfd9162b4edd75683a Mon Sep 17 00:00:00 2001 +From 2c62b145c3a3cd1fa1950bf0ffe639254e1a7216 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 26 May 2017 12:50:31 +0100 -Subject: [PATCH 136/179] dwc_otg: fiq_fsm: Make isochronous compatibility +Subject: [PATCH 136/182] dwc_otg: fiq_fsm: Make isochronous compatibility checks work properly Get rid of the spammy printk and local pointer mangling. @@ -133052,10 +133052,10 @@ index 38bf5fc792d32352f9e208e0e90f968599b9bc31..71834cf365e67d7ad995bba7869216c4 return 1; } -From 02b6d5c7eb3f7d7f67685e85aa98a97b62c27017 Mon Sep 17 00:00:00 2001 +From dc7cdbfb0750e8a33ea7e0c5cbf2737036a50257 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 12 Jun 2017 13:05:43 +0100 -Subject: [PATCH 137/179] config: Add CONFIG_CAN_GS_USB +Subject: [PATCH 137/182] config: Add CONFIG_CAN_GS_USB --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -133087,10 +133087,10 @@ index 4ae560370a972b9c56e8af38a537b1dbebd5488a..8894ef2ed78968ea56d83d56ba4d770b CONFIG_IRLAN=m CONFIG_IRNET=m -From 08dd027b68a26fc96f76be2bdda8cd59a1511905 Mon Sep 17 00:00:00 2001 +From 1bb2f08764771f45b44d99eaa248d2acf8cd5a39 Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 12 Jun 2017 16:10:03 +0100 -Subject: [PATCH 138/179] dwc_otg: add module parameter int_ep_interval_min +Subject: [PATCH 138/182] 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. @@ -133172,10 +133172,10 @@ index 4b1dd9de99e9e08b2e006fb5f8a7ef92f20c2553..fe8e8f841f03660c2ad49ab8e66193be DWC_DEBUGPL(DBG_HCD, "DWC OTG HCD QH Initialized\n"); -From c43bfe3c905c87082d5a16282a50404abeb39f17 Mon Sep 17 00:00:00 2001 +From 77a71c11d882f751e004817b2d95cf857778a215 Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 20 Jun 2017 13:44:01 +0100 -Subject: [PATCH 139/179] dwc_otg: fiq_fsm: Add non-periodic TT exclusivity +Subject: [PATCH 139/182] dwc_otg: fiq_fsm: Add non-periodic TT exclusivity constraints Certain hub types do not discriminate between pipe direction (IN or OUT) @@ -133342,10 +133342,10 @@ index 71834cf365e67d7ad995bba7869216c4091c3a74..7710370b30363e3170bf9bf522597c5f st->fsm = FIQ_PER_SSPLIT_STARTED; } else { -From 4ec19ea842ac4f90aa2bb83624b2fd38db04467b Mon Sep 17 00:00:00 2001 +From b94ba074c2c4ac547769103c2baa41660c295c37 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 21 Jun 2017 17:19:04 +0100 -Subject: [PATCH 140/179] serial: 8250: Fix THRE flag usage for CAP_MINI +Subject: [PATCH 140/182] serial: 8250: Fix THRE flag usage for CAP_MINI The BCM2835 MINI UART has non-standard THRE semantics. Conventionally the bit means that the FIFO is empty (although there may still be a @@ -133389,10 +133389,10 @@ index af954e278d78002cc5d07086dcc69608ac3019ee..877b1a848b5a44e196cab5bfd435467b if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) -From aca413a79fc5df1d3716e6717c074f2da2c0a5f7 Mon Sep 17 00:00:00 2001 +From db2d611cdf654eaa37745bede877346dc112f85d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 26 May 2017 13:03:41 +0100 -Subject: [PATCH 141/179] BCM270X_DT: Add midi-uart1 overlay +Subject: [PATCH 141/182] 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 @@ -133490,10 +133490,10 @@ index 0000000000000000000000000000000000000000..e0bc410acbff3a7a175dd5d53b3ab0d0 + }; +}; -From 9eb662937baf0371281ce40148c0b0019cc3da8b Mon Sep 17 00:00:00 2001 +From 7ee03bbf8868563b9bb1c5a0c2b87a4bdd524a6e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sat, 20 May 2017 22:10:14 +0100 -Subject: [PATCH 142/179] overlays: README: remove vestigial SDIO parameters +Subject: [PATCH 142/182] overlays: README: remove vestigial SDIO parameters Signed-off-by: Phil Elwell --- @@ -133547,10 +133547,10 @@ index ec9e7b1941678796facf625b3770c20ed0b15b25..499cd1920fd373702cfbc9f6e0fcaebc (default on: polling once at boot-time) -From 99b7e59df2c07462b23d6fcb1416cfdee3f387b4 Mon Sep 17 00:00:00 2001 +From 078d547847bdfae0f6e021acb6d45a8f57161d9d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 27 Jun 2017 15:07:14 +0100 -Subject: [PATCH 143/179] SQUASH: mmc: Apply ERASE_BROKEN quirks correctly +Subject: [PATCH 143/182] SQUASH: mmc: Apply ERASE_BROKEN quirks correctly Squash with: mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards @@ -133580,10 +133580,10 @@ index 05c8d7381fff5ae88531129d9a5ddd554bddb43e..c9d5d644688c1509d7febcff0322fbab END_FIXUP }; -From 14e06f6161737d4da53709e6e5eaeff64d02fda0 Mon Sep 17 00:00:00 2001 +From a15e784c1d57cb54ee7e13a36a9ef793c0a4d784 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 11:34:26 +0200 -Subject: [PATCH 144/179] ASoC: bcm2835: Add support for TDM modes +Subject: [PATCH 144/182] 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 @@ -133985,10 +133985,10 @@ index 56df7d8a43d0aac055a91b0d24aca8e1b4e308e4..dcacf7f83c9371df539a788ea33fedcf dev->dev = &pdev->dev; dev_set_drvdata(&pdev->dev, dev); -From d74838eeafcc368a567057d50378766ec00e9602 Mon Sep 17 00:00:00 2001 +From a85ef01210201396ad32e24eef9b11a46ab2f49e Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 15:30:50 +0200 -Subject: [PATCH 145/179] ASoC: bcm2835: Support left/right justified and DSP +Subject: [PATCH 145/182] ASoC: bcm2835: Support left/right justified and DSP modes DSP modes and left/right justified modes can be supported @@ -134234,10 +134234,10 @@ index dcacf7f83c9371df539a788ea33fedcf97d64690..3a706fda4f39e42efbe12f19d87af9b1 } -From 1543ce06d8a262ce8582f38e8eac261695d468ce Mon Sep 17 00:00:00 2001 +From f9fe9ff221224d76892f41301c55b633aaebf637 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:19:54 +0200 -Subject: [PATCH 146/179] ASoC: bcm2835: Support additional samplerates up to +Subject: [PATCH 146/182] ASoC: bcm2835: Support additional samplerates up to 384kHz Sample rates are only restricted by the capabilities of the @@ -134280,10 +134280,10 @@ index 3a706fda4f39e42efbe12f19d87af9b100a348a5..43f5715a0d5dda851731ecf7ff27e76c | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE -From 70588df2caa291411f4377ba1bea037a92c1ebb6 Mon Sep 17 00:00:00 2001 +From 8bf3e213eca2f7484d46cb26c5a68b9f564b1cdd Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:24:57 +0200 -Subject: [PATCH 147/179] ASoC: bcm2835: Enforce full symmetry +Subject: [PATCH 147/182] 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. @@ -134319,10 +134319,10 @@ index 43f5715a0d5dda851731ecf7ff27e76c48fb6e57..2e449d7173fcecbcd647f90a26bd58b6 static bool bcm2835_i2s_volatile_reg(struct device *dev, unsigned int reg) -From c1b34ead624d5d93bfe5019f0ec0112485d59040 Mon Sep 17 00:00:00 2001 +From 77e7afa0c067b035c1889557769a25a4d02dfad0 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Thu, 6 Jul 2017 18:52:16 +0200 -Subject: [PATCH 148/179] config: add missing arizona regulator modules +Subject: [PATCH 148/182] 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 @@ -134372,10 +134372,10 @@ index 8894ef2ed78968ea56d83d56ba4d770b45bba5c2..7362d1a6e5759e45ebef3ba84a4454b8 CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_ANALOG_TV_SUPPORT=y -From c4d36f85ebbbe353449b865f219e5dafb64ea30d Mon Sep 17 00:00:00 2001 +From a6ff8b7100afb58283833352df58d84ed3f22982 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Tue, 4 Apr 2017 19:20:59 +1000 -Subject: [PATCH 149/179] Audioinjector : make the octo and pi sound cards have +Subject: [PATCH 149/182] Audioinjector : make the octo and pi sound cards have different driver names This patch gives the audioinjector octo and pi soundcards different driver @@ -134412,10 +134412,10 @@ index ef54e0f07ea03f59e9957b5d98f3e7fdc998e469..491906bbf446826e55dd843f28e4860f .of_match_table = audioinjector_pi_soundcard_of_match, }, -From c220c571d29a1bcf3092dac5bb63538b0eb96c31 Mon Sep 17 00:00:00 2001 +From cedc1e1770860971cc5dde0afcba4767e6026244 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Tue, 4 Apr 2017 19:23:04 +1000 -Subject: [PATCH 150/179] Audioinjector octo : Make the playback and capture +Subject: [PATCH 150/182] Audioinjector octo : Make the playback and capture symmetric This patch ensures that the sample rate and channel count of the audioinjector @@ -134438,10 +134438,10 @@ index 49115c8e20ce1a2ba5a99feb8983a1cafb052ca2..5e79f4eff93a21ed3495c77a90f73525 }; -From 79b7c20cd6195beb136a7fbf0323a1bd84c4bbb4 Mon Sep 17 00:00:00 2001 +From 093220f0f2228e78cc46d852e548b9bce8568d21 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sun, 23 Apr 2017 19:36:53 +0100 -Subject: [PATCH 151/179] BCM270X_DT: Add bme280 and bmp180 to i2c-sensor +Subject: [PATCH 151/182] BCM270X_DT: Add bme280 and bmp180 to i2c-sensor overlay Signed-off-by: Phil Elwell @@ -134515,10 +134515,10 @@ index 606b2d5012abf2e85712be631c42ea40a0b512c5..e23e34b32a0a8927c14203d7384e8008 lm75 = <&lm75>,"status"; lm75addr = <&lm75>,"reg:0"; -From 9b8ef941166da6130a714a5a7924f7fdc028ad6c Mon Sep 17 00:00:00 2001 +From b0f918db744f5795bd5366d2339691fce8c3a9e4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sun, 23 Apr 2017 19:38:06 +0100 -Subject: [PATCH 152/179] config: Add CONFIG_BMP280 (and CONFIG_BMP280_I2C) +Subject: [PATCH 152/182] config: Add CONFIG_BMP280 (and CONFIG_BMP280_I2C) Signed-off-by: Phil Elwell --- @@ -134551,10 +134551,10 @@ index 7362d1a6e5759e45ebef3ba84a4454b86e69a901..fab31f0fed0ec068e5249f4cebc34e48 CONFIG_PWM_PCA9685=m CONFIG_RASPBERRYPI_FIRMWARE=y -From 597dd30633e8ecdc97cd5314b02e29a8aeeec21a Mon Sep 17 00:00:00 2001 +From 0f75a7323eb92cd58b53f851402c5f94923c440d Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Tue, 25 Apr 2017 10:46:09 -0400 -Subject: [PATCH 153/179] config: Enable TI TMP102 temp sensor module +Subject: [PATCH 153/182] config: Enable TI TMP102 temp sensor module Signed-off-by: Scott Ellis --- @@ -134587,10 +134587,10 @@ index fab31f0fed0ec068e5249f4cebc34e48cfd29759..91a5234a5884f24f1a656d297a3d9064 CONFIG_BCM2835_THERMAL=y CONFIG_WATCHDOG=y -From a32c503e6d919594c6ae8066f8641f8f7b1628de Mon Sep 17 00:00:00 2001 +From 03de987537e1a63a692023e06d710035bff0f2de Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Tue, 25 Apr 2017 13:05:42 -0400 -Subject: [PATCH 154/179] BCM270X_DT: Add tmp102 to i2c sensor overlay +Subject: [PATCH 154/182] BCM270X_DT: Add tmp102 to i2c sensor overlay Signed-off-by: Scott Ellis --- @@ -134670,10 +134670,10 @@ index e23e34b32a0a8927c14203d7384e800878627347..e86a13f92c3f75c14fa4425cdfb081d6 }; }; -From 42d866ab314b04e0dfb526d901ba7ce4135c631d Mon Sep 17 00:00:00 2001 +From 7aa3d35245dc76a438285fea482de1f3f9e7c700 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 8 May 2017 16:43:40 +0100 -Subject: [PATCH 155/179] irq_bcm2836: Send event when onlining sleeping cores +Subject: [PATCH 155/182] 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 @@ -134709,10 +134709,10 @@ index 9a7ee04ee0d9b7aa734cf3159ed59c19a338de0d..014f13f89eb896f5cfc75ed9891787d0 } -From 0f25efd2d9d79774f19340ba5ea7a0e027623d9c Mon Sep 17 00:00:00 2001 +From 79c3dcdd6e75023be565a75549d8012db0e39743 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Mon, 15 May 2017 17:10:53 +0200 -Subject: [PATCH 156/179] overlays: Add Goodix overlay +Subject: [PATCH 156/182] 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. @@ -134809,10 +134809,10 @@ index 0000000000000000000000000000000000000000..084f74042ed6379ebd9281374d5391a7 + }; +}; -From 44909b977371f7797e245c9e2845eff526ddf56c Mon Sep 17 00:00:00 2001 +From 6cb23e0b23a95c24154ad2532771596187abb8b0 Mon Sep 17 00:00:00 2001 From: chenzhiwo Date: Wed, 17 May 2017 16:34:57 +0800 -Subject: [PATCH 157/179] Add device tree overlay for GPIO connected rotary +Subject: [PATCH 157/182] Add device tree overlay for GPIO connected rotary encoder. See Documentation/input/rotary-encoder.txt for more information. --- @@ -134904,10 +134904,10 @@ index 0000000000000000000000000000000000000000..c0c6bccff60cc15d9a9bf59d2c7cba41 + }; +}; -From d6789e0e55b0106e12fcfa11a513b61068f8d0ce Mon Sep 17 00:00:00 2001 +From 473dcc942c6a7464751566b8fb9f0197317ecff2 Mon Sep 17 00:00:00 2001 From: Anton Onishchenko Date: Tue, 23 May 2017 18:55:46 +0300 -Subject: [PATCH 158/179] mpu6050 device tree overlay (#2031) +Subject: [PATCH 158/182] mpu6050 device tree overlay (#2031) Add overlay and config options for InvenSense MPU6050 6-axis motion detector. @@ -135022,10 +135022,10 @@ index 91a5234a5884f24f1a656d297a3d906429477b5d..2a28b012696a955f4d275a9e0a9fa3e1 CONFIG_PWM_BCM2835=m CONFIG_PWM_PCA9685=m -From ef0d9d8e77b69aad62f2f284660e2c5fe087635b Mon Sep 17 00:00:00 2001 +From 1bae7614fc06d65b07b7ca8896032eaadc6187c9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 31 May 2017 09:33:55 +0100 -Subject: [PATCH 159/179] config: Adding SENSOR_JC42 +Subject: [PATCH 159/182] config: Adding SENSOR_JC42 The jc42 module supports a number of I2C-based temperature sensor modules. @@ -135065,10 +135065,10 @@ index 2a28b012696a955f4d275a9e0a9fa3e155e4a3c6..706bd883dd345a8ad32d30386f7dcf11 CONFIG_SENSORS_SHT21=m CONFIG_SENSORS_SHTC1=m -From 3527911eb8f98ec4a787086923de9dee059b1a49 Mon Sep 17 00:00:00 2001 +From 65a7780ef737ddea6127848967b7f03a0cc19052 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 31 May 2017 15:27:39 +0100 -Subject: [PATCH 160/179] BCM270X_DT: Improve i2c-sensor and i2c-rtc overlay +Subject: [PATCH 160/182] 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 @@ -135433,10 +135433,10 @@ index e86a13f92c3f75c14fa4425cdfb081d6795ff76a..d2f0008addfadac8f6ed774a6e4f3f97 }; }; -From 5a5562b2bc681680749ed1b2de42b11f825fd1d8 Mon Sep 17 00:00:00 2001 +From bb3216dabc2f6850f5c7a7a3dd68ff5b7aadfa32 Mon Sep 17 00:00:00 2001 From: Stefan Tatschner Date: Mon, 29 May 2017 21:46:16 +0200 -Subject: [PATCH 161/179] Add device tree config for htu21 +Subject: [PATCH 161/182] Add device tree config for htu21 See: https://github.com/raspberrypi/linux/pull/2041 @@ -135518,10 +135518,10 @@ index d2f0008addfadac8f6ed774a6e4f3f97871c0d61..17c27e3b666a7a83619471b50c63bb93 }; }; -From 84d30d25f920e42465a7ba4da64224e403a29847 Mon Sep 17 00:00:00 2001 +From d3b2fb185f77f74a5b209698313827f59f85eceb Mon Sep 17 00:00:00 2001 From: sandeepal Date: Fri, 2 Jun 2017 18:59:46 +0530 -Subject: [PATCH 162/179] Allo Digione Driver (#2048) +Subject: [PATCH 162/182] Allo Digione Driver (#2048) Driver for the Allo Digione soundcard --- @@ -135952,10 +135952,10 @@ index 0000000000000000000000000000000000000000..e3664e44c699d0102120ecf99e8b780a +MODULE_DESCRIPTION("ASoC Driver for Allo DigiOne"); +MODULE_LICENSE("GPL v2"); -From 02967a2eea25fd51460c594ae9fa6ecaa1a3870c Mon Sep 17 00:00:00 2001 +From 73a8b2633ca8baf3e561da1e4d623d2c9150f763 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Mon, 5 Jun 2017 16:40:38 +0100 -Subject: [PATCH 163/179] dma-bcm2708: Fix module compilation of +Subject: [PATCH 163/182] dma-bcm2708: Fix module compilation of CONFIG_DMA_BCM2708 bcm2708-dmaengine.c defines functions like bcm_dma_start which are @@ -135998,10 +135998,10 @@ index c5bfff2765be4606077e6c8af73040ec13ee8974..6ca874d332a8bc666b1c9576ac51f479 #endif /* _PLAT_BCM2708_DMA_H */ -From dad76c01f21c9cbedb3fd69fc89eee8914e66816 Mon Sep 17 00:00:00 2001 +From 18005ba6ecb2984e33bcffc97ef84568afc11fe1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 20 Jun 2017 17:51:47 +0100 -Subject: [PATCH 164/179] bcm2835-cpufreq: Change licence to GPLv2 +Subject: [PATCH 164/182] bcm2835-cpufreq: Change licence to GPLv2 Signed-off-by: Eben Upton Signed-off-by: Dom Cobley @@ -136054,10 +136054,10 @@ index 414fbdc10dfbfc6e4bb47870a7af3fd5780f9c9a..99345969b0e4d651fd9033d67de2febb /* ---------- INCLUDES ---------- */ #include -From b957210d89db10be4ca2574d4f431663638a182f Mon Sep 17 00:00:00 2001 +From e22fb4cd4c293f33543dd7eb4fc1498bb4ed73f2 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 21 Jun 2017 09:03:51 -0700 -Subject: [PATCH 165/179] bcm2708: Drop CMA alignment from FKMS mode as well. +Subject: [PATCH 165/182] 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. @@ -136113,10 +136113,10 @@ index 95a595a35cb4fbb707bf4b18161f6a46860aa4ae..36fbf6c8c2e612a6dc5aa02d77cc8173 }; -From f250c1eecc63203fbdbd2032c6d3fbbdfc6d3ec1 Mon Sep 17 00:00:00 2001 +From df5d582271e1f0555465a736c73a567bdde746a9 Mon Sep 17 00:00:00 2001 From: Steve Conner Date: Thu, 29 Jun 2017 15:56:19 +0100 -Subject: [PATCH 166/179] New i2c-rtc-gpio device overlay (#2092) +Subject: [PATCH 166/182] 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. --- @@ -136380,10 +136380,10 @@ index 0000000000000000000000000000000000000000..8415e6081428fba9a47682964174fc02 + }; +}; -From f1415524f318122221f7e2da028dbcfd61aabb08 Mon Sep 17 00:00:00 2001 +From 5cc977fc58b49534d68b0f6e33347676f904c4b3 Mon Sep 17 00:00:00 2001 From: Allo Date: Mon, 3 Jul 2017 15:45:20 +0530 -Subject: [PATCH 167/179] PianoPlus: Dual Mono & Dual Stereo features added +Subject: [PATCH 167/182] PianoPlus: Dual Mono & Dual Stereo features added (#2069) --- @@ -136672,10 +136672,10 @@ index 56e43f98846b41e487b3089813f7edc3c08517eb..d4e99e3c6a383d92fb0cf9e8c1cd1e76 } -From 63b2819da99accf8a0524af31f5306f2f517a250 Mon Sep 17 00:00:00 2001 +From 728c8629dd3e78eb32f8c0f84b177c55c90f17cd Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sun, 9 Jul 2017 15:15:22 +0200 -Subject: [PATCH 168/179] overlays: Add gpio-shutdown overlay (#2103) +Subject: [PATCH 168/182] 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 @@ -136831,10 +136831,10 @@ index 0000000000000000000000000000000000000000..863fb395c8539734b658682b900e1fbd + +}; -From e771ffb8d4a2f5d2ebd88af73d2b9a0fa59f3b4a Mon Sep 17 00:00:00 2001 +From 3ff3b2c2901070ef8fbf8ec183cb4eeb1be46c19 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Mon, 10 Jul 2017 11:05:17 +0200 -Subject: [PATCH 169/179] config: enable generic S/PDIF codec drivers (#2104) +Subject: [PATCH 169/182] 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. @@ -136891,10 +136891,10 @@ index cead8c64336bb4ce9656bb20384069917695852d..7c1be0e035105724a7774ac59e5195a0 CONFIG_SND_SIMPLE_CARD=m CONFIG_HIDRAW=y -From fe798a3d8e426e41de072b0d06ab8728b7f02e0a Mon Sep 17 00:00:00 2001 +From a7ced3aeb668ddda9570c231040e112632641575 Mon Sep 17 00:00:00 2001 From: Bilal Amarni Date: Wed, 24 May 2017 10:52:50 +0200 -Subject: [PATCH 170/179] [ARM64] enable drivers for GPIO expander and vcio +Subject: [PATCH 170/182] [ARM64] enable drivers for GPIO expander and vcio --- arch/arm64/configs/bcmrpi3_defconfig | 3 +++ @@ -136922,10 +136922,10 @@ index 4d85c231c5ea0244e1b05fb4a5e3c8fd3e651ddf..9dcb58a519d041fadae99c81a7bda621 CONFIG_GPIO_ARIZONA=m CONFIG_GPIO_STMPE=y -From fa55eec189218257d1dc41e7f7b74358da48312c Mon Sep 17 00:00:00 2001 +From 7564b74454702a04c7ef6a572fd68c0f486837a3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 14 Jul 2017 12:59:55 +0100 -Subject: [PATCH 171/179] bcm2835-mmc: Fix DMA usage +Subject: [PATCH 171/182] 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 @@ -136960,10 +136960,10 @@ index 4fe8d1fe44578fbefcd48f8c327ba3d03f3d0a2a..981db05de1ff52a83550e41ab362eecf } #endif -From e638e599a3329e0892b0ba3a39a1ecec4e0bbf7e Mon Sep 17 00:00:00 2001 +From 2f4b4961815f6569f4d76c04821cce15ed42019f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 17 Jul 2017 16:54:06 +0100 -Subject: [PATCH 172/179] Revert "bcm2835-mmc: Fix DMA usage" +Subject: [PATCH 172/182] Revert "bcm2835-mmc: Fix DMA usage" This reverts commit f4258b9352afc1480dd1c29a11528e53b73bf356. --- @@ -136993,10 +136993,10 @@ index 981db05de1ff52a83550e41ab362eecf99cafa29..4fe8d1fe44578fbefcd48f8c327ba3d0 } #endif -From be880469c21f393ee8282905d74b6222286c3526 Mon Sep 17 00:00:00 2001 +From 197f606831c120910fdbd7cee642c4d470071ed9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 18 Jul 2017 15:30:48 +0100 -Subject: [PATCH 173/179] bcm2835-mmc: Prevent DMA race condition +Subject: [PATCH 173/182] 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 @@ -137063,10 +137063,10 @@ index 4fe8d1fe44578fbefcd48f8c327ba3d03f3d0a2a..031ec56eee1a3dbc01cf31259e6d0d55 static void bcm2835_mmc_finish_command(struct bcm2835_host *host) -From 8117d5f491c50173b6603657c3e757dde1d520d6 Mon Sep 17 00:00:00 2001 +From fd714f757c45bd66b3deb838f3e964c74b891d27 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 19 Jul 2017 14:50:49 +0100 -Subject: [PATCH 174/179] Revert "Revert "bcm2835-mmc: Fix DMA usage"" +Subject: [PATCH 174/182] Revert "Revert "bcm2835-mmc: Fix DMA usage"" This reverts commit d52c1ae3a211386b5ec98804a468436e85b5b8af. --- @@ -137096,10 +137096,10 @@ index 031ec56eee1a3dbc01cf31259e6d0d555b6543b7..c4a5e992c6fb4a40b933239350ed4bfc } #endif -From ee0c9e3077872a379cb99e06005c1fe2caeaeff0 Mon Sep 17 00:00:00 2001 +From ab156ff547ee52ae7f8eb8a39770d0e6f2101f40 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 19 Jul 2017 15:43:05 +0100 -Subject: [PATCH 175/179] config: Add CONFIG_W1_SLAVE_DS2438 +Subject: [PATCH 175/182] config: Add CONFIG_W1_SLAVE_DS2438 See: https://github.com/raspberrypi/linux/pull/2100 @@ -137134,10 +137134,10 @@ index 7c1be0e035105724a7774ac59e5195a098b51796..5cb81c879eb0e1e1c369f284ccd41b80 CONFIG_W1_SLAVE_DS2780=m CONFIG_W1_SLAVE_DS2781=m -From 858550295e34d0fa50c581ebd94a2da37757b3fc Mon Sep 17 00:00:00 2001 +From defe621c6149a546650c4144bfb98541f4d75b56 Mon Sep 17 00:00:00 2001 From: Conn Date: Mon, 17 Jul 2017 03:25:43 +0100 -Subject: [PATCH 176/179] config: enhance DualShock3 controller support +Subject: [PATCH 176/182] config: enhance DualShock3 controller support Enable rumble support in Sony HID & HID battery strength. --- @@ -137186,10 +137186,10 @@ index 5cb81c879eb0e1e1c369f284ccd41b80bb1e44ce..3cd9dca829e6820ae9be35e4abe5ebc6 CONFIG_HID_SUNPLUS=m CONFIG_HID_GREENASIA=m -From 280a3801e6ef0bb0af9776270b45d7557a7397cd Mon Sep 17 00:00:00 2001 +From 3b57f7af3018b1404b169ffb3ae228548299fe05 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 19 Jul 2017 15:20:50 +0100 -Subject: [PATCH 177/179] overlays: i2c1-bcm2708: Don't overwrite i2c1 pins +Subject: [PATCH 177/182] overlays: i2c1-bcm2708: Don't overwrite i2c1 pins node It is bad practise to overwrite an entire node in an overlay. Instead, @@ -137234,10 +137234,10 @@ index e303b9c61c82a28eab7b48f6b085661574d5a849..7c69047bcd88a5c900dddd08e60ad075 }; }; -From 8cb3103cf86726940ee17b4fff5399d897ee42a0 Mon Sep 17 00:00:00 2001 +From 6d647ec0ae4af93ccf0471f3897d226b06325222 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Fri, 21 Jul 2017 09:55:12 +0100 -Subject: [PATCH 178/179] Sets the BCDC priority to constant 0 +Subject: [PATCH 178/182] Sets the BCDC priority to constant 0 This is to workaround for a possible issue in the wireless chip firmware where some packets with @@ -137263,10 +137263,10 @@ index 9f2d0b0cf6e5c452ad85a3caef58cf16a8cdad46..b009f3083490c2bc2733424f08f81b9f h->data_offset = offset; BCDC_SET_IF_IDX(h, ifidx); -From 942b834a5b439603349bae6805abace2505c9acb Mon Sep 17 00:00:00 2001 +From ebe2fa57cd6bd8462009fcae00753592b47e4821 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 179/179] Fix dependencies broken since driver was renamed +Subject: [PATCH 179/182] Fix dependencies broken since driver was renamed --- drivers/mmc/host/Kconfig | 2 +- @@ -137285,3 +137285,271 @@ index e577d20963bcb1f61756d5d7050328b967b522d4..324da890a83a43fdf2f8ac3621bfde78 range 0 256 default 2 help + +From df672fb43edb2cfcb1c8ae4ce7e766e78a45dedc Mon Sep 17 00:00:00 2001 +From: Eric Anholt +Date: Thu, 18 Dec 2014 16:07:15 -0800 +Subject: [PATCH 180/182] 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 4d16ef9d42a97b51b294f496927cf5c3fd1a6040..e51f3fc70c3fc212c66a5cc7ec43ea104ed25fea 100644 +--- a/mm/page_alloc.c ++++ b/mm/page_alloc.c +@@ -7571,8 +7571,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 b5f58bf80b0e2945cee41ad45ea5ea0228aa5685 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Fri, 25 Aug 2017 19:18:13 +0100 +Subject: [PATCH 181/182] 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 24f0e45bb8c33dcf4db92592369ea4c0570f9a6f Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Fri, 25 Aug 2017 19:18:26 +0100 +Subject: [PATCH 182/182] 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,\