diff --git a/projects/RPi/patches/linux/linux-01-RPi_support-b04d3b1.patch b/projects/RPi/patches/linux/linux-01-RPi_support-0e20c99.patch similarity index 99% rename from projects/RPi/patches/linux/linux-01-RPi_support-b04d3b1.patch rename to projects/RPi/patches/linux/linux-01-RPi_support-0e20c99.patch index d1ba3eb691..13472c3fdb 100644 --- a/projects/RPi/patches/linux/linux-01-RPi_support-b04d3b1.patch +++ b/projects/RPi/patches/linux/linux-01-RPi_support-0e20c99.patch @@ -1,7 +1,7 @@ From c8c2c38e2e6f946c4eb5bec85a4d119f9e4187fb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 01/99] Main bcm2708 linux port +Subject: [PATCH 001/102] Main bcm2708 linux port Signed-off-by: popcornmix --- @@ -8262,7 +8262,7 @@ index b838ffc..f3a39c1 100644 From ebc13205d511583860ae7ba112a89135329c4dda Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 02/99] Add dwc_otg driver +Subject: [PATCH 002/102] Add dwc_otg driver Signed-off-by: popcornmix --- @@ -65344,7 +65344,7 @@ index 0000000..abcf284 From e5b4e5d798579eb1f9e596acf6c17b0549e2f873 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:54:32 +0100 -Subject: [PATCH 03/99] bcm2708 watchdog driver +Subject: [PATCH 003/102] bcm2708 watchdog driver Signed-off-by: popcornmix --- @@ -65781,7 +65781,7 @@ index 0000000..dd33c35 From 378f91f6bc45eb06c549f8cf1b09995715327701 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:55:09 +0100 -Subject: [PATCH 04/99] bcm2708 framebuffer driver +Subject: [PATCH 004/102] bcm2708 framebuffer driver Signed-off-by: popcornmix --- @@ -68819,7 +68819,7 @@ index 3c14e43..7626beb 100644 From da834fbe72658bafb431c63b0160b0a57a0ea06d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Jul 2013 23:42:01 +0100 -Subject: [PATCH 05/99] bcm2708 vchiq driver +Subject: [PATCH 005/102] bcm2708 vchiq driver Signed-off-by: popcornmix --- @@ -81270,7 +81270,7 @@ index 0000000..b6bfa21 From 00bd6a3906ca51ab52a07aad2c908fc76b1da39c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 06/99] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 006/102] cma: Add vc_cma driver to enable use of CMA Signed-off-by: popcornmix --- @@ -82569,7 +82569,7 @@ index 0000000..bdc9d79 From d7f919d0ce6207f0e98520ca9045f4dc18de52c9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 07/99] bcm2708: alsa sound driver +Subject: [PATCH 007/102] bcm2708: alsa sound driver Signed-off-by: popcornmix --- @@ -84895,7 +84895,7 @@ index 0000000..af3e6eb From bf8b3a360e26791caa1d9114df7c80d5c27a0711 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 08/99] Allow mac address to be set in smsc95xx +Subject: [PATCH 008/102] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -84992,7 +84992,7 @@ index 3f38ba8..60076fe 100644 From 43f606bf172f727d4d65c74c4f42cf58db19fcf8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 8 May 2012 23:12:13 +0100 -Subject: [PATCH 09/99] possible fix for sdcard missing status. Thank naren +Subject: [PATCH 009/102] possible fix for sdcard missing status. Thank naren --- drivers/mmc/host/sdhci-bcm2708.c | 9 +++++++++ @@ -85032,7 +85032,7 @@ index e79723d..a405114 100644 From d725e274b999e4326449ff3629066edb42d00c3a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 17 May 2012 14:44:19 +0100 -Subject: [PATCH 10/99] sdcard patch improvements from naren +Subject: [PATCH 010/102] sdcard patch improvements from naren --- drivers/mmc/host/sdhci-bcm2708.c | 23 +++++++---------------- @@ -85094,7 +85094,7 @@ index a405114..ae8edf7 100644 From 14a9f7efae05898a45ac550af36323e2c9682e28 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Mon, 4 Jun 2012 04:27:48 +0200 -Subject: [PATCH 11/99] sdhci-bcm2708: speed up DMA sync +Subject: [PATCH 011/102] sdhci-bcm2708: speed up DMA sync Experiments show that it doesn't really take that long to sync, so we can reduce the poll interval slightly. Might improve performance a bit. @@ -85122,7 +85122,7 @@ index ae8edf7..a6bdc25 100644 From ad970a2722da54be80dc810d81c75a6938d3e58a Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Mon, 11 Jun 2012 18:52:04 +0200 -Subject: [PATCH 12/99] sdhci-bcm2708: remove custom clock handling +Subject: [PATCH 012/102] sdhci-bcm2708: remove custom clock handling The custom clock handling code is redundant and buggy. The MMC/SDHCI subsystem does a better job than it, so remove it for good. @@ -85223,7 +85223,7 @@ index a6bdc25..0ed4d85 100644 From 38cd27c91c8ea233aec8ae9477a2108a3ca519ea Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Mon, 11 Jun 2012 18:53:59 +0200 -Subject: [PATCH 13/99] sdhci-bcm2708: add additional quirks +Subject: [PATCH 013/102] sdhci-bcm2708: add additional quirks Some additional quirks are needed for correct operation. There's no SDHCI capabilities register documented, and it always reads @@ -85256,7 +85256,7 @@ index 0ed4d85..3001836 100644 From f14d342ff13c3262cb31b9138cd1d3833c75a5a7 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Mon, 11 Jun 2012 18:57:13 +0200 -Subject: [PATCH 14/99] sdhci-bcm2708: add allow_highspeed parameter +Subject: [PATCH 014/102] sdhci-bcm2708: add allow_highspeed parameter Add a parameter to disable high-speed mode for the few cards that still might have problems. High-speed mode is enabled by default. @@ -85307,7 +85307,7 @@ index 3001836..c64de21 100644 From 02fd8aacce57a8c77e02ceb3e6aff3e46fb06a72 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Mon, 11 Jun 2012 18:58:40 +0200 -Subject: [PATCH 15/99] sdhci-bcm2708: assume 50 MHz eMMC clock +Subject: [PATCH 015/102] sdhci-bcm2708: assume 50 MHz eMMC clock 80 MHz clock isnt't suited well to be dividable to get SD clocks of 25 MHz (default mode) or 50 MHz (high speed mode). 50 MHz are perfect to @@ -85336,7 +85336,7 @@ index c64de21..d174938 100644 From 2186ee5f876aad0d666d6f31692ad2a883f60196 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 16 Jun 2012 22:31:55 +0100 -Subject: [PATCH 16/99] Allow emmc clock to be specified as command line +Subject: [PATCH 016/102] Allow emmc clock to be specified as command line parameter --- @@ -85386,7 +85386,7 @@ index d174938..0ee983c 100644 From bd13f67e2f81a783890c9083fcba77dde0b29809 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 16 Jun 2012 22:35:38 +0100 -Subject: [PATCH 17/99] sdhci-bcm2708: raise DMA sync timeout +Subject: [PATCH 017/102] sdhci-bcm2708: raise DMA sync timeout Commit d64b84c by accident reduced the maximum overall DMA sync timeout. The maximum overall timeout was reduced from 100ms to 30ms, @@ -85419,7 +85419,7 @@ index 0ee983c..b0cdd7d 100644 From a892f560e785c614c47ef60fc38950e47cf644be Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 22 Jun 2012 12:57:42 +0100 -Subject: [PATCH 18/99] Use ndelay rather than udelay. Thanks lb +Subject: [PATCH 018/102] Use ndelay rather than udelay. Thanks lb --- drivers/mmc/host/sdhci-bcm2708.c | 8 ++++---- @@ -85469,7 +85469,7 @@ index b0cdd7d..7bba950 100644 From 20c684aea3aafbbb1424905b7cd63e241db44b88 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:41:10 +0100 -Subject: [PATCH 19/99] Backport of Chris Boot's i2c and spi drivers. +Subject: [PATCH 019/102] Backport of Chris Boot's i2c and spi drivers. --- arch/arm/configs/bcmrpi_cutdown_defconfig | 10 + @@ -86761,7 +86761,7 @@ index 0000000..9f1580e From fa218dd798563865e7d1845fbd3cdf88ddac4568 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 19 Jul 2012 16:00:28 +0100 -Subject: [PATCH 20/99] Add SPI_SPI_DEV module +Subject: [PATCH 020/102] Add SPI_SPI_DEV module --- arch/arm/configs/bcmrpi_defconfig | 1 + @@ -86786,9 +86786,9 @@ index 6219df3..31f5afaa 100644 From 65bfccc3a8523cef7b80230e972f4d6fff68bcc8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 13 Jul 2012 18:34:18 +0100 -Subject: [PATCH 21/99] Fix for quitting X hang. Interrupted mailbox reads are - not something we can reliably recover from, so down_interruptable is not a - safe call. +Subject: [PATCH 021/102] Fix for quitting X hang. Interrupted mailbox reads + are not something we can reliably recover from, so down_interruptable is not + a safe call. --- arch/arm/mach-bcm2708/vcio.c | 12 ++++-------- @@ -86824,7 +86824,7 @@ index 799a0ac..3874051 100644 From 98a3d88e3a7f8e3e51f0a7e87bacf9779bbeac06 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 17 Jul 2012 00:48:27 +0100 -Subject: [PATCH 22/99] Add sync_after_dma module parameter +Subject: [PATCH 022/102] Add sync_after_dma module parameter --- drivers/mmc/host/sdhci-bcm2708.c | 60 +++++++++++++++++++++------------------- @@ -86944,7 +86944,7 @@ index 7bba950..3792b9f 100644 From 53a6e2c9df4180d614cd49425b0387569788f4a8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:25:52 +0100 -Subject: [PATCH 23/99] sdhci-bcm2708: use extension FIFO to buffer DMA +Subject: [PATCH 023/102] sdhci-bcm2708: use extension FIFO to buffer DMA transfers The additional FIFO might speed up transfers in some cases. @@ -86999,8 +86999,8 @@ index 3792b9f..326b962 100644 From 889c54183fcb491aa8738f73b569c8f64a2f83b6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:42:49 +0100 -Subject: [PATCH 24/99] sdhci-bcm2708: use multiblock-type transfers for single - blocks +Subject: [PATCH 024/102] sdhci-bcm2708: use multiblock-type transfers for + single blocks There are issues with both single block reads (missed completion) and writes (data loss in some cases!). Just don't do single block @@ -87058,7 +87058,7 @@ index e326ae2..70020e3 100644 From 3dbb84a60f62598345aa3a5aa0478753c8d2058f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 Aug 2012 19:02:14 +0100 -Subject: [PATCH 25/99] Add module parameter for missing_status quirk. +Subject: [PATCH 025/102] Add module parameter for missing_status quirk. sdhci-bcm2708.missing_status=0 may improve interrupt latency --- @@ -87117,7 +87117,7 @@ index c6d6bb0..8243593 100644 From 669d28370d45ac6cfe4dc07b2889abffbd1aff52 Mon Sep 17 00:00:00 2001 From: ddv2005 Date: Sun, 5 Aug 2012 10:42:12 -0400 -Subject: [PATCH 26/99] Fix spinlock recursion in sdhci-bcm2708.c +Subject: [PATCH 026/102] Fix spinlock recursion in sdhci-bcm2708.c --- drivers/mmc/host/sdhci-bcm2708.c | 14 +++++++------- @@ -87189,7 +87189,7 @@ index 8243593..7a703c2 100644 From bb9a79055bf7d1596b9f1c6d08c9526fa3d616ed Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 21 Aug 2012 18:49:44 +0100 -Subject: [PATCH 27/99] Read memory size for vc_mem through mailbox property +Subject: [PATCH 027/102] Read memory size for vc_mem through mailbox property channel --- @@ -87363,7 +87363,7 @@ index fd9d4be..7a7748e 100644 From 375ad1bb17db91b98602924bbbbc6a9ac7fa5e11 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 28/99] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 028/102] enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module) --- @@ -87429,7 +87429,7 @@ index 510be0b..d61e747 100644 From 4154023606fb33c371aca4c5075218b0df54d864 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:27:48 +0100 -Subject: [PATCH 29/99] Add low-latency mode to sdcard driver. Disable with +Subject: [PATCH 029/102] Add low-latency mode to sdcard driver. Disable with sdhci-bcm2708.enable_llm=0. Thanks ddv2005. --- @@ -87955,7 +87955,7 @@ index f3a39c1..58bfab0 100644 From 681651078bf2d1cad92b3eb803ccb5f141b06db0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:46:42 +0100 -Subject: [PATCH 30/99] Add FIQ patch to dwc_otg driver. Enable with +Subject: [PATCH 030/102] Add FIQ patch to dwc_otg driver. Enable with dwc_otg.fiq_fix_enable=1. Should give about 10% more ARM performance. Thanks to Gordon and Costas @@ -89118,7 +89118,7 @@ index a7e9076..bb1c42d 100644 From 02516ae111bbdec2a3e03ef8f42e6a54f7ebc48d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Apr 2013 23:58:47 +0100 -Subject: [PATCH 33/99] Add verious user config requests. +Subject: [PATCH 033/102] Add verious user config requests. CONFIG_DEVTMPFS_MOUNT, CONFIG_NFS_V4_1=y CONFIG_NFSD_V3_ACL=y CONFIG_NFSD_V4=y, drbd and IPSEC modules @@ -89531,8 +89531,8 @@ index 31f5afaa..ef43466 100644 From d9f05b5596f47c80bebf7acd9a2bbce6d4521375 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 8 Sep 2012 15:17:53 +0100 -Subject: [PATCH 34/99] Avoid dynamic memory allocation for channel lock in USB - driver. Thanks ddv2005. +Subject: [PATCH 034/102] Avoid dynamic memory allocation for channel lock in + USB driver. Thanks ddv2005. --- drivers/usb/host/dwc_otg/dwc_otg_hcd.c | 6 +++--- @@ -89641,7 +89641,7 @@ index f1658fa..21e8f09 100644 From b7e56e22e1128f99388c5869769590c812ee3467 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 35/99] Add cpufreq driver +Subject: [PATCH 035/102] Add cpufreq driver --- arch/arm/Kconfig | 1 + @@ -90171,7 +90171,7 @@ index 0000000..aa6fc66 From bde86bb81df0a9119108b8baadd3c87bc7394167 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 8 Apr 2013 21:12:48 +0100 -Subject: [PATCH 36/99] Add NAK holdoff scheme. Enabled by default, disable +Subject: [PATCH 036/102] Add NAK holdoff scheme. Enabled by default, disable with dwc_otg.nak_holdoff_enable=0. Thanks gsh --- @@ -90384,7 +90384,7 @@ index ac10323..e6b2a7b 100644 From c9748c8b0dab670e3e963708b253b471a14cc4b6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 37/99] Added hwmon/thermal driver for reporting core +Subject: [PATCH 037/102] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian --- @@ -90911,7 +90911,7 @@ index 0000000..f1ecdb2 From 278f0aa4868514d23a3c21fd71782638105b3cc1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Apr 2013 23:59:27 +0100 -Subject: [PATCH 38/99] Add config options for thermal sensor, L2TP, +Subject: [PATCH 038/102] Add config options for thermal sensor, L2TP, RT2800USB_UNKNOWN, and various I2C and SPI RTCs. Tidy of thermal driver. --- @@ -91082,7 +91082,7 @@ index f1ecdb2..3f9a733 100644 From cb7b29a8bab3312bea4b37cff8fb08477a9dd280 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 28 Mar 2013 01:19:54 +0000 -Subject: [PATCH 39/99] 2708fb: Remove some unnecessary dmesg output. +Subject: [PATCH 039/102] 2708fb: Remove some unnecessary dmesg output. --- drivers/video/bcm2708_fb.c | 34 +++++++++++++++++++--------------- @@ -91212,7 +91212,7 @@ index c82dd90..08d9238 100644 From 317d5b4df2b5ef8a2227d778a3d267657940d8f5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 28 Mar 2013 01:20:34 +0000 -Subject: [PATCH 40/99] cpufreq: Remove some unnecessary dmesg output. +Subject: [PATCH 040/102] cpufreq: Remove some unnecessary dmesg output. --- drivers/cpufreq/bcm2835-cpufreq.c | 2 +- @@ -91238,8 +91238,8 @@ index aa6fc66..6ff1edb 100755 From 371d191f321a252cfac87e7ffb09e24cc6e0f452 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 17 Sep 2012 22:57:29 +0100 -Subject: [PATCH 41/99] Switch to powersave governor. We'll enable ondemand in - the distribution +Subject: [PATCH 041/102] Switch to powersave governor. We'll enable ondemand + in the distribution --- arch/arm/configs/bcmrpi_defconfig | 5 +++-- @@ -91269,7 +91269,7 @@ index d11f688..c1afa47 100644 From 707f3a7af88b74b654c77687f276e1afbc480e82 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Apr 2013 12:16:36 +0100 -Subject: [PATCH 42/99] Enable multiple ALSA channels +Subject: [PATCH 042/102] Enable multiple ALSA channels --- arch/arm/mach-bcm2708/bcm2708.c | 54 ++++++++++++++++++++++++++++++++++++----- @@ -91347,7 +91347,7 @@ index 2875cd2..27e9553 100644 From a6db2e423dc8ce4d6fa43c2237258805a1146ee5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Oct 2012 20:08:19 +0100 -Subject: [PATCH 43/99] set i2c speed via module-parameter or menuconfig. +Subject: [PATCH 043/102] set i2c speed via module-parameter or menuconfig. Thanks FrankBoesing --- @@ -91425,7 +91425,7 @@ index 7cae615..3391889 100644 From 1d18bb9dd8c8b62e45cad2d0dcc30eaecc2c6a69 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Oct 2012 21:31:48 +0100 -Subject: [PATCH 44/99] Allow the number of cycles delay between sdcard +Subject: [PATCH 044/102] Allow the number of cycles delay between sdcard peripheral writes to be specified on command line with sdhci-bcm2708.cycle_delay @@ -91470,7 +91470,7 @@ index 7ce2829..ffd7310 100644 From 4aecef94dd8c0705a023c89db4c370500f340e10 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Apr 2013 14:37:25 +0100 -Subject: [PATCH 45/99] Fix vc-mem by using module parameters +Subject: [PATCH 045/102] Fix vc-mem by using module parameters --- arch/arm/mach-bcm2708/bcm2708.c | 12 ++--- @@ -91708,7 +91708,7 @@ index 5ef68b3..057f74f 100644 From d4d52a1403731c1c673e97be27b28d9e3a8a4136 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 5 Oct 2012 22:44:47 +0100 -Subject: [PATCH 46/99] Support dummy vc-mem ioctl used by vcdbg +Subject: [PATCH 046/102] Support dummy vc-mem ioctl used by vcdbg --- arch/arm/mach-bcm2708/include/mach/vc_mem.h | 1 + @@ -91759,8 +91759,8 @@ index 057f74f..aeae4d5 100644 From ea6d83f5c4fa383d86f7b8c410c62cceea3ecb36 Mon Sep 17 00:00:00 2001 From: dero Date: Mon, 19 Nov 2012 12:46:06 +0100 -Subject: [PATCH 47/99] Lazy CRC quirk: Implemented retrying mechanisms for SD - SSR and SCR, disabled missing_status and spurious CRC ACMD51 quirks by +Subject: [PATCH 047/102] Lazy CRC quirk: Implemented retrying mechanisms for + SD SSR and SCR, disabled missing_status and spurious CRC ACMD51 quirks by default (should be fixed by the retrying-mechanishm) --- @@ -91994,7 +91994,7 @@ index ffd7310..3556ed3 100644 From 3bcecc233a96399a4e88a2a209a34fcfac8dc3fd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 28 Mar 2013 00:10:32 +0000 -Subject: [PATCH 48/99] bcm2708: Add vc_cma driver to enable use of CMA +Subject: [PATCH 048/102] bcm2708: Add vc_cma driver to enable use of CMA --- arch/arm/mach-bcm2708/bcm2708.c | 18 ++++++++++++++++++ @@ -92058,7 +92058,7 @@ index e010515..9d38d40 100644 From 027f6c9ff7ef276abc540ad4269803884d3099e2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 24 Oct 2012 22:00:43 +0100 -Subject: [PATCH 49/99] Fix reboot with new restart method of machine driver +Subject: [PATCH 049/102] Fix reboot with new restart method of machine driver --- arch/arm/mach-bcm2708/bcm2708.c | 18 +++++++++++++++++- @@ -92139,7 +92139,7 @@ index bc9d458..2d0b821 100644 From 5a11b596dde3ab3f1ed7e3bc26ba213461c5aa35 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Sun, 4 Nov 2012 15:55:01 +0000 -Subject: [PATCH 50/99] Make sure we wait for the reset to finish +Subject: [PATCH 050/102] Make sure we wait for the reset to finish --- drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 2 ++ @@ -92165,7 +92165,7 @@ index 3e762e2..e8c91e7 100644 From 4b12c94e5ad7ea1e93ba52d7c6160cc0fefd4c61 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 19 Nov 2012 18:27:05 +0000 -Subject: [PATCH 51/99] Add Simon Hall's dma helper module, useful in future +Subject: [PATCH 051/102] Add Simon Hall's dma helper module, useful in future for X acceleration --- @@ -93506,7 +93506,7 @@ index 0000000..5cb1335 From 7ba8d6a7442791f9c67095d49705ce9fa94c58a3 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 52/99] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 052/102] lirc: added support for RaspberryPi GPIO --- drivers/staging/media/lirc/Kconfig | 6 + @@ -94244,8 +94244,8 @@ index 0000000..96acab0 From 8372f6fe360b00d43a27f3fce9b24a47d088dd75 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 25 Nov 2012 18:28:09 +0000 -Subject: [PATCH 53/99] Allow mailbox driver to be called from user code though - ioctl +Subject: [PATCH 053/102] Allow mailbox driver to be called from user code + though ioctl --- arch/arm/mach-bcm2708/include/mach/vcio.h | 33 +++++++ @@ -94484,7 +94484,7 @@ index 468fdef..09b78b5 100644 From 3182ee5f146dddc9bbcbb4d73c670b5a5b6c2866 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 11 Dec 2012 18:23:03 +0000 -Subject: [PATCH 54/99] Default to dwc_otp.lpm_enable=0 +Subject: [PATCH 054/102] Default to dwc_otp.lpm_enable=0 --- drivers/usb/host/dwc_otg/dwc_otg_driver.c | 2 +- @@ -94510,7 +94510,7 @@ index d353a9a..cea8fcb 100644 From d25b264279de2a98dfeb74d68dd8b6bb8838ef93 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 11 Dec 2012 19:04:27 +0000 -Subject: [PATCH 55/99] Increase default coherent pool so vchiq starts up +Subject: [PATCH 055/102] Increase default coherent pool so vchiq starts up --- arch/arm/mach-bcm2708/bcm2708.c | 4 +--- @@ -94538,7 +94538,7 @@ index 9f456e9..87fd348 100644 From 540d544c17f3ee3614f50c7807989639ba15fc91 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Jan 2013 21:34:59 +0000 -Subject: [PATCH 56/99] Add mutex around bcm_mailbox_property function +Subject: [PATCH 056/102] Add mutex around bcm_mailbox_property function --- arch/arm/mach-bcm2708/vcio.c | 5 ++++- @@ -94581,7 +94581,7 @@ index 09b78b5..599eb63 100644 From db66ac826bbca8163eaa233ae74d93611a1d6830 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 9 Jan 2013 16:12:04 +0000 -Subject: [PATCH 57/99] dwc_otg: fix bug in dwc_otg_hcd.c resulting in silent +Subject: [PATCH 057/102] dwc_otg: fix bug in dwc_otg_hcd.c resulting in silent kernel memory corruption, escalating to OOPS under high USB load. --- @@ -94621,7 +94621,7 @@ index e6b2a7b..b337e1b 100644 From 6be8954eb70b616249353fdf4ea69d4c43df36aa Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 21 Jan 2013 23:03:53 +0000 -Subject: [PATCH 58/99] Return error value from bcm2708_setup_state. Thanks +Subject: [PATCH 058/102] Return error value from bcm2708_setup_state. Thanks notro --- @@ -94647,7 +94647,7 @@ index 9f1580e..8513704 100644 From 1962bb39b3a61eac199da29f057c5998a3b3fb26 Mon Sep 17 00:00:00 2001 From: Kamal Mostafa Date: Mon, 22 Oct 2012 15:52:44 -0700 -Subject: [PATCH 59/99] spi/spi-bcm2708: respect per-transfer SPI clock +Subject: [PATCH 059/102] spi/spi-bcm2708: respect per-transfer SPI clock speed_hz value The bcm2708 SPI driver's bcm2708_process_transfer() was ignoring the @@ -94695,7 +94695,7 @@ index 8513704..b74aa32 100644 From 2b5353b5e7245753a6709986b79f413838ad38e4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:51:55 +0100 -Subject: [PATCH 60/99] Add hwrng (hardware random number generator) driver +Subject: [PATCH 060/102] Add hwrng (hardware random number generator) driver --- arch/arm/mach-bcm2708/include/mach/platform.h | 1 + @@ -94876,7 +94876,7 @@ index 0000000..1ffa7d7 From 1a7fa1b69ae87ca896420024791322ad9eb53184 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 7 Feb 2013 17:04:13 +0000 -Subject: [PATCH 61/99] Add missing newlines to log messages +Subject: [PATCH 061/102] Add missing newlines to log messages --- drivers/cpufreq/bcm2835-cpufreq.c | 20 ++++++++++---------- @@ -94978,7 +94978,7 @@ index 6ff1edb..5a19212 100755 From 91d1e7dc598707cc207231eb3da6af7fb4220dfe Mon Sep 17 00:00:00 2001 From: Technion Date: Mon, 11 Feb 2013 22:08:53 +1100 -Subject: [PATCH 62/99] Changed wording on logging. Previously, we received +Subject: [PATCH 062/102] Changed wording on logging. Previously, we received errors like this: mmc0: could read SD Status register (SSR) at the 3th attempt A more sensible response is now returned. A typo also fixed in comments. @@ -95016,7 +95016,7 @@ index 1ee6cf3..90228f9 100644 From c7d43ef857410811f7e87deca3cae3ede61a6960 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 15 Feb 2013 22:36:47 +0000 -Subject: [PATCH 63/99] dwc_otg: Fix unsafe access of QTD during URB enqueue +Subject: [PATCH 063/102] dwc_otg: Fix unsafe access of QTD during URB enqueue In dwc_otg_hcd_urb_enqueue during qtd creation, it was possible that the transaction could complete almost immediately after the qtd was assigned @@ -95106,7 +95106,7 @@ index b337e1b..b3e6e52 100644 From 0d56c0c2af666dbc6760d0ac1da67b4da2556fc3 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 15 Feb 2013 22:38:40 +0000 -Subject: [PATCH 64/99] dwc_otg: Fix incorrect URB allocation error handling +Subject: [PATCH 064/102] dwc_otg: Fix incorrect URB allocation error handling If the memory allocation for a dwc_otg_urb failed, the kernel would OOPS because for some reason a member of the *unallocated* struct was set to @@ -95150,7 +95150,7 @@ index e653d84..fcec97f 100644 From 317fc23a9cd49bbf6afd6fadf89edddb817db9a9 Mon Sep 17 00:00:00 2001 From: pjennings Date: Wed, 20 Feb 2013 17:51:43 -0600 -Subject: [PATCH 65/99] Added inverted transmitter support +Subject: [PATCH 065/102] Added inverted transmitter support --- drivers/staging/media/lirc/lirc_rpi.c | 17 +++++++++++------ @@ -95234,7 +95234,7 @@ index 96acab0..5bb0dfe 100644 From 95ed7f785da984ace8ccf7524fb450d0a44e9d9c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 24 Feb 2013 16:30:57 +0000 -Subject: [PATCH 66/99] Add retry on error and tidy of temperature driver +Subject: [PATCH 066/102] Add retry on error and tidy of temperature driver --- drivers/thermal/bcm2835-thermal.c | 78 ++++++++++++++------------------------- @@ -95364,8 +95364,8 @@ index 3f9a733..85fceb5 100644 From f6c2e77434c76596ffd86e09ccd5d108ea124a0b Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 28 Feb 2013 16:52:51 +0000 -Subject: [PATCH 67/99] dwc_otg: fix potential use-after-free case in interrupt - handler +Subject: [PATCH 067/102] dwc_otg: fix potential use-after-free case in + interrupt handler If a transaction had previously aborted, certain interrupts are enabled to track error counts and reset where necessary. On IN @@ -95399,8 +95399,8 @@ index e8c91e7..0c81a64 100644 From 749b88c3d2636de12adfdb247f0da98f331dbe88 Mon Sep 17 00:00:00 2001 From: P33M Date: Sun, 3 Mar 2013 14:45:53 +0000 -Subject: [PATCH 68/99] dwc_otg: add handling of SPLIT transaction data toggle - errors +Subject: [PATCH 068/102] dwc_otg: add handling of SPLIT transaction data + toggle errors Previously a data toggle error on packets from a USB1.1 device behind a TT would result in the Pi locking up as the driver never handled @@ -95457,7 +95457,7 @@ index 0c81a64..16e8c6c 100644 From 39c5e0cc5dec38fb9c530fad0250c3047c752dc0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 21:14:28 +0100 -Subject: [PATCH 69/99] Add bitbanging pullups, use them for w1-gpio +Subject: [PATCH 069/102] Add bitbanging pullups, use them for w1-gpio Allows parasite power to work, uses module option pullup=1 --- @@ -95599,7 +95599,7 @@ index e10acc2..667fdd5 100644 From b8fab4e6dfef8a0c150536a9232477c67cdd8065 Mon Sep 17 00:00:00 2001 From: notro Date: Sat, 26 Jan 2013 20:38:03 +0100 -Subject: [PATCH 70/99] spi-bcm2708: add 9-bit support using LoSSI mode +Subject: [PATCH 070/102] spi-bcm2708: add 9-bit support using LoSSI mode --- drivers/spi/spi-bcm2708.c | 30 ++++++++++++++++++++++++++++-- @@ -95672,7 +95672,7 @@ index b74aa32..abaa5a6 100644 From d9028dd04d2ad83ebc5713159603fffd24f3a22b Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 21 Mar 2013 19:36:17 +0000 -Subject: [PATCH 71/99] dwc_otg: implement tasklet for returning URBs to +Subject: [PATCH 071/102] dwc_otg: implement tasklet for returning URBs to usbcore hcd layer The dwc_otg driver interrupt handler for transfer completion will spend @@ -95917,8 +95917,8 @@ index 9702f81..7bb133a 100644 From c71f14fd40a4fadb40a7449f583de733895dc2e2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 Apr 2013 15:36:01 +0100 -Subject: [PATCH 73/99] Add v6wbi_flush_kern_tlb_range to allow zsmalloc to be - built as a module +Subject: [PATCH 073/102] Add v6wbi_flush_kern_tlb_range to allow zsmalloc to + be built as a module --- arch/arm/kernel/armksyms.c | 4 ++++ @@ -95943,7 +95943,7 @@ index 60d3b73..cba4d28 100644 From 07b4444a2c199eebf90b6d3556c06be61162a4aa Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 22 Apr 2013 00:08:36 +0100 -Subject: [PATCH 74/99] dwc_otg: fix NAK holdoff and allow on split +Subject: [PATCH 074/102] dwc_otg: fix NAK holdoff and allow on split transactions only This corrects a bug where if a single active non-periodic endpoint @@ -96016,7 +96016,7 @@ index 91eefecd..eaa8f38 100644 From 847b720d29f170f59838851ef89fa16d4e8be328 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 26 Apr 2013 10:08:31 -0700 -Subject: [PATCH 75/99] Merge pull request #286 from +Subject: [PATCH 075/102] Merge pull request #286 from martinezjavier/rpi-3.6.y-dev add mmap support and some cleanups to bcm2835 ALSA driver @@ -96500,7 +96500,7 @@ index b966e28..08c763d 100755 From b084004a4e4956baa6caae26892c987a814e5b86 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 7 May 2013 22:20:24 +0100 -Subject: [PATCH 76/99] Add quick config. +Subject: [PATCH 076/102] Add quick config. This is designed for quick compiling when developing. No modules are needed and it includes all Pi specific drivers @@ -96719,7 +96719,7 @@ index 0000000..e5efe75 From ce78b69a10967de55daa264905bf5c3c082fa58e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 10 May 2013 19:42:38 +0100 -Subject: [PATCH 77/99] mmc: suppress sdcard warnings we are happy about by +Subject: [PATCH 077/102] mmc: suppress sdcard warnings we are happy about by default --- @@ -96788,7 +96788,7 @@ index 3556ed3..c2409b9 100644 From 82a33c8bf57a7973e6a9e691b26b2302623cc283 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 14 May 2013 11:42:25 +0100 -Subject: [PATCH 78/99] Allow reboot=q on command line to set a flag that +Subject: [PATCH 078/102] Allow reboot=q on command line to set a flag that bootcode.bin can use to boot from alternate partition --- @@ -96822,7 +96822,7 @@ index 87fd348..1ed4d73 100644 From c59cd6c169dbd7bfbaac7f0db70202d1ea77f998 Mon Sep 17 00:00:00 2001 From: hutorny Date: Mon, 13 May 2013 10:26:14 +0300 -Subject: [PATCH 80/99] Update bcm2708.c to use CONFIG_BCM2708_SPIDEV rather +Subject: [PATCH 080/102] Update bcm2708.c to use CONFIG_BCM2708_SPIDEV rather than CONFIG_SPI --- @@ -96875,7 +96875,7 @@ index 1ed4d73..68c577a 100644 From f49ef700428e660617cb2af4c5ac3b7b21422d3e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 8 Jun 2013 22:14:13 +0100 -Subject: [PATCH 82/99] Only init gpio pins of selected i2c bus +Subject: [PATCH 082/102] Only init gpio pins of selected i2c bus --- drivers/i2c/busses/i2c-bcm2708.c | 8 +++++--- @@ -96922,7 +96922,7 @@ index 3391889..edc90c0 100644 From 10bf7045ddd880bbe4f7dde8b4f49598d83b6efa Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 13 Jun 2013 16:46:54 +0100 -Subject: [PATCH 83/99] Avoid responding to unexpected I2C interrupts +Subject: [PATCH 083/102] Avoid responding to unexpected I2C interrupts --- drivers/i2c/busses/i2c-bcm2708.c | 6 ++++++ @@ -96959,7 +96959,7 @@ index edc90c0..33f4e7d 100644 From 2b64a5202b8a2de9976bea21b8b2274bd42ef958 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 84/99] Speed up console framebuffer imageblit function +Subject: [PATCH 084/102] 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 @@ -97174,7 +97174,7 @@ index baed57d..ce91bf2 100644 From e61adeb1dbd2011d96b2c0be749694577232a547 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 85/99] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 085/102] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -97273,7 +97273,7 @@ index fb795c3..fa72af0 100644 From c989cdcb64873668a5fd83cf853c0a229ee55292 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 16:00:25 +0300 -Subject: [PATCH 86/99] bcm2708_fb: DMA acceleration for fb_copyarea +Subject: [PATCH 086/102] bcm2708_fb: DMA acceleration for fb_copyarea Based on http://www.raspberrypi.org/phpBB3/viewtopic.php?p=62425#p62425 Also used Simon's dmaer_master module as a reference for tweaking DMA @@ -97520,8 +97520,8 @@ index 08d9238..c10c5ee 100644 From d1ea37d0b0639cce0beae86bae421df4d55701ee Mon Sep 17 00:00:00 2001 From: Mike Bradley Date: Mon, 17 Jun 2013 11:31:42 -0700 -Subject: [PATCH 87/99] dwc_otg: Call usb_hcd_unlink_urb_from_ep with lock held - in completion handler +Subject: [PATCH 087/102] dwc_otg: Call usb_hcd_unlink_urb_from_ep with lock + held in completion handler usb_hcd_unlink_urb_from_ep must be called with the HCD lock held. Calling it asynchronously in the tasklet was not safe (regression in @@ -97610,7 +97610,7 @@ index 7bb133a..fef557d 100644 From 3a7b4e1205985ac992799c956d9a9e2085a43f06 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Thu, 4 Apr 2013 11:05:21 +0100 -Subject: [PATCH 88/99] USB fix using a FIQ to implement split transactions +Subject: [PATCH 088/102] USB fix using a FIQ to implement split transactions This commit adds a FIQ implementaion that schedules the split transactions using a FIQ so we don't get @@ -99032,7 +99032,7 @@ index 27061d3..9720937 100644 From ba0e64bf9cdac248ffe00961a6fa07e3fbdbdf7b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 11:39:46 +0100 -Subject: [PATCH 89/99] dwc_otg: fix device attributes and avoid kernel +Subject: [PATCH 089/102] dwc_otg: fix device attributes and avoid kernel warnings on boot --- @@ -99104,7 +99104,7 @@ index 95eb7f8..9602fda 100644 From 36657f543f34a08f35d438911997ac6eab7a9bfd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 13:55:00 +0100 -Subject: [PATCH 90/99] hack: fix for incorrect uart fifo size detection +Subject: [PATCH 090/102] hack: fix for incorrect uart fifo size detection --- drivers/tty/serial/amba-pl011.c | 2 +- @@ -99127,10 +99127,409 @@ index e2774f9..5254f10 100644 1.8.1.6 +From 3881972318c5363731d977d69e70c131cb15d49d Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Sat, 6 Jul 2013 15:25:50 +0100 +Subject: [PATCH 091/102] Re-enable RTL8192CU driver + +--- + arch/arm/configs/bcmrpi_defconfig | 230 +++++++------------------------------- + 1 file changed, 42 insertions(+), 188 deletions(-) + +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index c1afa47..f488d9e 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -1,12 +1,13 @@ + # CONFIG_ARM_PATCH_PHYS_VIRT is not set +-CONFIG_EXPERIMENTAL=y + # CONFIG_LOCALVERSION_AUTO is not set + CONFIG_SYSVIPC=y + CONFIG_POSIX_MQUEUE=y +-CONFIG_BSD_PROCESS_ACCT=y +-CONFIG_BSD_PROCESS_ACCT_V3=y + CONFIG_FHANDLE=y + CONFIG_AUDIT=y ++CONFIG_NO_HZ=y ++CONFIG_HIGH_RES_TIMERS=y ++CONFIG_BSD_PROCESS_ACCT=y ++CONFIG_BSD_PROCESS_ACCT_V3=y + CONFIG_IKCONFIG=y + CONFIG_IKCONFIG_PROC=y + CONFIG_CGROUP_FREEZER=y +@@ -28,10 +29,10 @@ CONFIG_MODVERSIONS=y + CONFIG_MODULE_SRCVERSION_ALL=y + # CONFIG_BLK_DEV_BSG is not set + CONFIG_BLK_DEV_THROTTLING=y ++CONFIG_PARTITION_ADVANCED=y ++CONFIG_MAC_PARTITION=y + CONFIG_CFQ_GROUP_IOSCHED=y + CONFIG_ARCH_BCM2708=y +-CONFIG_NO_HZ=y +-CONFIG_HIGH_RES_TIMERS=y + CONFIG_AEABI=y + CONFIG_SECCOMP=y + CONFIG_CC_STACKPROTECTOR=y +@@ -98,10 +99,8 @@ CONFIG_NETFILTER_XT_TARGET_AUDIT=m + CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m + CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m + CONFIG_NETFILTER_XT_TARGET_CONNMARK=m +-CONFIG_NETFILTER_XT_TARGET_CT=m + CONFIG_NETFILTER_XT_TARGET_DSCP=m + CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m +-CONFIG_NETFILTER_XT_TARGET_LED=m + CONFIG_NETFILTER_XT_TARGET_MARK=m + CONFIG_NETFILTER_XT_TARGET_NFLOG=m + CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m +@@ -167,12 +166,7 @@ CONFIG_IP_NF_MATCH_ECN=m + CONFIG_IP_NF_MATCH_TTL=m + CONFIG_IP_NF_FILTER=m + CONFIG_IP_NF_TARGET_REJECT=m +-CONFIG_IP_NF_TARGET_LOG=m + CONFIG_IP_NF_TARGET_ULOG=m +-CONFIG_NF_NAT=m +-CONFIG_IP_NF_TARGET_MASQUERADE=m +-CONFIG_IP_NF_TARGET_NETMAP=m +-CONFIG_IP_NF_TARGET_REDIRECT=m + CONFIG_IP_NF_MANGLE=m + CONFIG_IP_NF_TARGET_ECN=m + CONFIG_IP_NF_TARGET_TTL=m +@@ -191,7 +185,6 @@ CONFIG_IP6_NF_MATCH_IPV6HEADER=m + CONFIG_IP6_NF_MATCH_MH=m + CONFIG_IP6_NF_MATCH_RT=m + CONFIG_IP6_NF_TARGET_HL=m +-CONFIG_IP6_NF_TARGET_LOG=m + CONFIG_IP6_NF_FILTER=m + CONFIG_IP6_NF_TARGET_REJECT=m + CONFIG_IP6_NF_MANGLE=m +@@ -282,8 +275,6 @@ CONFIG_USB_IRDA=m + CONFIG_SIGMATEL_FIR=m + CONFIG_MCS_FIR=m + CONFIG_BT=m +-CONFIG_BT_L2CAP=y +-CONFIG_BT_SCO=y + CONFIG_BT_RFCOMM=m + CONFIG_BT_RFCOMM_TTY=y + CONFIG_BT_BNEP=m +@@ -315,7 +306,6 @@ CONFIG_BLK_DEV_DRBD=m + CONFIG_BLK_DEV_NBD=m + CONFIG_BLK_DEV_RAM=y + CONFIG_CDROM_PKTCDVD=m +-CONFIG_MISC_DEVICES=y + CONFIG_SCSI=y + # CONFIG_SCSI_PROC_FS is not set + CONFIG_BLK_DEV_SD=m +@@ -324,45 +314,16 @@ CONFIG_SCSI_MULTI_LUN=y + # CONFIG_SCSI_LOWLEVEL is not set + CONFIG_MD=y + CONFIG_NETDEVICES=y ++CONFIG_NETCONSOLE=m + CONFIG_TUN=m +-CONFIG_PHYLIB=m + CONFIG_MDIO_BITBANG=m +-CONFIG_NET_ETHERNET=y +-# CONFIG_NETDEV_1000 is not set +-# CONFIG_NETDEV_10000 is not set +-CONFIG_LIBERTAS_THINFIRM=m +-CONFIG_LIBERTAS_THINFIRM_USB=m +-CONFIG_AT76C50X_USB=m +-CONFIG_USB_ZD1201=m +-CONFIG_USB_NET_RNDIS_WLAN=m +-CONFIG_RTL8187=m +-CONFIG_MAC80211_HWSIM=m +-CONFIG_ATH_COMMON=m +-CONFIG_ATH9K=m +-CONFIG_ATH9K_HTC=m +-CONFIG_CARL9170=m +-CONFIG_B43=m +-CONFIG_B43LEGACY=m +-CONFIG_HOSTAP=m +-CONFIG_IWM=m +-CONFIG_LIBERTAS=m +-CONFIG_LIBERTAS_USB=m +-CONFIG_LIBERTAS_SDIO=m +-CONFIG_P54_COMMON=m +-CONFIG_P54_USB=m +-CONFIG_RT2X00=m +-CONFIG_RT2500USB=m +-CONFIG_RT73USB=m +-CONFIG_RT2800USB=m +-CONFIG_RT2800USB_RT53XX=y +-CONFIG_RT2800USB_UNKNOWN=y +-CONFIG_WL1251=m +-CONFIG_WL12XX_MENU=m +-CONFIG_ZD1211RW=m +-CONFIG_MWIFIEX=m +-CONFIG_MWIFIEX_SDIO=m +-CONFIG_RTL8192CU=m +-CONFIG_WIMAX_I2400M_USB=m ++CONFIG_PPP=m ++CONFIG_PPP_BSDCOMP=m ++CONFIG_PPP_DEFLATE=m ++CONFIG_PPP_ASYNC=m ++CONFIG_PPP_SYNC_TTY=m ++CONFIG_SLIP=m ++CONFIG_SLIP_COMPRESSED=y + CONFIG_USB_CATC=m + CONFIG_USB_KAWETH=m + CONFIG_USB_PEGASUS=m +@@ -389,14 +350,32 @@ CONFIG_USB_NET_INT51X1=m + CONFIG_USB_IPHETH=m + CONFIG_USB_SIERRA_NET=m + CONFIG_USB_VL600=m +-CONFIG_PPP=m +-CONFIG_PPP_ASYNC=m +-CONFIG_PPP_SYNC_TTY=m +-CONFIG_PPP_DEFLATE=m +-CONFIG_PPP_BSDCOMP=m +-CONFIG_SLIP=m +-CONFIG_SLIP_COMPRESSED=y +-CONFIG_NETCONSOLE=m ++CONFIG_LIBERTAS_THINFIRM=m ++CONFIG_LIBERTAS_THINFIRM_USB=m ++CONFIG_AT76C50X_USB=m ++CONFIG_USB_ZD1201=m ++CONFIG_USB_NET_RNDIS_WLAN=m ++CONFIG_RTL8187=m ++CONFIG_MAC80211_HWSIM=m ++CONFIG_B43=m ++CONFIG_B43LEGACY=m ++CONFIG_HOSTAP=m ++CONFIG_LIBERTAS=m ++CONFIG_LIBERTAS_USB=m ++CONFIG_LIBERTAS_SDIO=m ++CONFIG_P54_COMMON=m ++CONFIG_P54_USB=m ++CONFIG_RT2X00=m ++CONFIG_RT2500USB=m ++CONFIG_RT73USB=m ++CONFIG_RT2800USB=m ++CONFIG_RT2800USB_RT53XX=y ++CONFIG_RT2800USB_UNKNOWN=y ++CONFIG_ZD1211RW=m ++CONFIG_MWIFIEX=m ++CONFIG_MWIFIEX_SDIO=m ++CONFIG_RTL8192CU=m ++CONFIG_WIMAX_I2400M_USB=m + CONFIG_INPUT_POLLDEV=m + # CONFIG_INPUT_MOUSEDEV_PSAUX is not set + CONFIG_INPUT_JOYDEV=m +@@ -405,7 +384,6 @@ CONFIG_INPUT_EVDEV=m + # CONFIG_INPUT_MOUSE is not set + CONFIG_INPUT_MISC=y + CONFIG_INPUT_AD714X=m +-CONFIG_INPUT_ATI_REMOTE=m + CONFIG_INPUT_ATI_REMOTE2=m + CONFIG_INPUT_KEYSPAN_REMOTE=m + CONFIG_INPUT_POWERMATE=m +@@ -440,115 +418,6 @@ CONFIG_THERMAL_BCM2835=y + CONFIG_WATCHDOG=y + CONFIG_BCM2708_WDT=m + CONFIG_MEDIA_SUPPORT=m +-CONFIG_VIDEO_DEV=m +-CONFIG_DVB_CORE=m +-CONFIG_RC_ATI_REMOTE=m +-CONFIG_IR_IMON=m +-CONFIG_IR_MCEUSB=m +-CONFIG_IR_REDRAT3=m +-CONFIG_IR_STREAMZAP=m +-CONFIG_RC_LOOPBACK=m +-CONFIG_MEDIA_ATTACH=y +-CONFIG_USB_VIDEO_CLASS=m +-CONFIG_USB_M5602=m +-CONFIG_USB_STV06XX=m +-CONFIG_USB_GL860=m +-CONFIG_USB_GSPCA_BENQ=m +-CONFIG_USB_GSPCA_CONEX=m +-CONFIG_USB_GSPCA_CPIA1=m +-CONFIG_USB_GSPCA_ETOMS=m +-CONFIG_USB_GSPCA_FINEPIX=m +-CONFIG_USB_GSPCA_JEILINJ=m +-CONFIG_USB_GSPCA_KINECT=m +-CONFIG_USB_GSPCA_KONICA=m +-CONFIG_USB_GSPCA_MARS=m +-CONFIG_USB_GSPCA_MR97310A=m +-CONFIG_USB_GSPCA_NW80X=m +-CONFIG_USB_GSPCA_OV519=m +-CONFIG_USB_GSPCA_OV534=m +-CONFIG_USB_GSPCA_OV534_9=m +-CONFIG_USB_GSPCA_PAC207=m +-CONFIG_USB_GSPCA_PAC7302=m +-CONFIG_USB_GSPCA_PAC7311=m +-CONFIG_USB_GSPCA_SE401=m +-CONFIG_USB_GSPCA_SN9C2028=m +-CONFIG_USB_GSPCA_SN9C20X=m +-CONFIG_USB_GSPCA_SONIXB=m +-CONFIG_USB_GSPCA_SONIXJ=m +-CONFIG_USB_GSPCA_SPCA500=m +-CONFIG_USB_GSPCA_SPCA501=m +-CONFIG_USB_GSPCA_SPCA505=m +-CONFIG_USB_GSPCA_SPCA506=m +-CONFIG_USB_GSPCA_SPCA508=m +-CONFIG_USB_GSPCA_SPCA561=m +-CONFIG_USB_GSPCA_SPCA1528=m +-CONFIG_USB_GSPCA_SQ905=m +-CONFIG_USB_GSPCA_SQ905C=m +-CONFIG_USB_GSPCA_SQ930X=m +-CONFIG_USB_GSPCA_STK014=m +-CONFIG_USB_GSPCA_STV0680=m +-CONFIG_USB_GSPCA_SUNPLUS=m +-CONFIG_USB_GSPCA_T613=m +-CONFIG_USB_GSPCA_TV8532=m +-CONFIG_USB_GSPCA_VC032X=m +-CONFIG_USB_GSPCA_VICAM=m +-CONFIG_USB_GSPCA_XIRLINK_CIT=m +-CONFIG_USB_GSPCA_ZC3XX=m +-CONFIG_VIDEO_PVRUSB2=m +-CONFIG_VIDEO_HDPVR=m +-CONFIG_VIDEO_EM28XX=m +-CONFIG_VIDEO_EM28XX_ALSA=m +-CONFIG_VIDEO_EM28XX_DVB=m +-CONFIG_VIDEO_TLG2300=m +-CONFIG_VIDEO_CX231XX=m +-CONFIG_VIDEO_CX231XX_ALSA=m +-CONFIG_VIDEO_CX231XX_DVB=m +-CONFIG_VIDEO_USBVISION=m +-CONFIG_USB_ET61X251=m +-CONFIG_USB_SN9C102=m +-CONFIG_USB_PWC=m +-CONFIG_USB_ZR364XX=m +-CONFIG_USB_STKWEBCAM=m +-CONFIG_USB_S2255=m +-CONFIG_USB_DSBR=m +-CONFIG_RADIO_SI470X=y +-CONFIG_USB_SI470X=m +-CONFIG_USB_MR800=m +-CONFIG_DVB_USB=m +-CONFIG_DVB_USB_A800=m +-CONFIG_DVB_USB_DIBUSB_MB=m +-CONFIG_DVB_USB_DIBUSB_MC=m +-CONFIG_DVB_USB_DIB0700=m +-CONFIG_DVB_USB_UMT_010=m +-CONFIG_DVB_USB_CXUSB=m +-CONFIG_DVB_USB_M920X=m +-CONFIG_DVB_USB_GL861=m +-CONFIG_DVB_USB_AU6610=m +-CONFIG_DVB_USB_DIGITV=m +-CONFIG_DVB_USB_VP7045=m +-CONFIG_DVB_USB_VP702X=m +-CONFIG_DVB_USB_GP8PSK=m +-CONFIG_DVB_USB_NOVA_T_USB2=m +-CONFIG_DVB_USB_TTUSB2=m +-CONFIG_DVB_USB_DTT200U=m +-CONFIG_DVB_USB_OPERA1=m +-CONFIG_DVB_USB_AF9005=m +-CONFIG_DVB_USB_AF9005_REMOTE=m +-CONFIG_DVB_USB_DW2102=m +-CONFIG_DVB_USB_CINERGY_T2=m +-CONFIG_DVB_USB_ANYSEE=m +-CONFIG_DVB_USB_DTV5100=m +-CONFIG_DVB_USB_AF9015=m +-CONFIG_DVB_USB_CE6230=m +-CONFIG_DVB_USB_FRIIO=m +-CONFIG_DVB_USB_EC168=m +-CONFIG_DVB_USB_AZ6027=m +-CONFIG_DVB_USB_LME2510=m +-CONFIG_DVB_USB_TECHNISAT_USB2=m +-CONFIG_SMS_SIANO_MDTV=m +-CONFIG_SMS_USB_DRV=m +-CONFIG_DVB_B2C2_FLEXCOP=m +-CONFIG_DVB_B2C2_FLEXCOP_USB=m + CONFIG_FB=y + CONFIG_FB_BCM2708=y + CONFIG_FRAMEBUFFER_CONSOLE=y +@@ -575,8 +444,6 @@ CONFIG_SND_USB_UA101=m + CONFIG_SND_USB_CAIAQ=m + CONFIG_SND_USB_6FIRE=m + CONFIG_SOUND_PRIME=m +-CONFIG_HID_PID=y +-CONFIG_USB_HIDDEV=y + CONFIG_HID_A4TECH=m + CONFIG_HID_ACRUX=m + CONFIG_HID_APPLE=m +@@ -607,7 +474,6 @@ CONFIG_HID_ORTEK=m + CONFIG_HID_PANTHERLORD=m + CONFIG_HID_PETALYNX=m + CONFIG_HID_PICOLCD=m +-CONFIG_HID_QUANTA=m + CONFIG_HID_ROCCAT=m + CONFIG_HID_SAMSUNG=m + CONFIG_HID_SONY=m +@@ -617,10 +483,10 @@ CONFIG_HID_GREENASIA=m + CONFIG_HID_SMARTJOYPLUS=m + CONFIG_HID_TOPSEED=m + CONFIG_HID_THRUSTMASTER=m +-CONFIG_HID_WACOM=m +-CONFIG_HID_WIIMOTE=m + CONFIG_HID_ZEROPLUS=m + CONFIG_HID_ZYDACRON=m ++CONFIG_HID_PID=y ++CONFIG_USB_HIDDEV=y + CONFIG_USB=y + CONFIG_USB_ANNOUNCE_NEW_DEVICES=y + CONFIG_USB_MON=m +@@ -639,8 +505,6 @@ CONFIG_USB_STORAGE_ONETOUCH=m + CONFIG_USB_STORAGE_KARMA=m + CONFIG_USB_STORAGE_CYPRESS_ATACB=m + CONFIG_USB_STORAGE_ENE_UB6250=m +-CONFIG_USB_UAS=m +-CONFIG_USB_LIBUSUAL=y + CONFIG_USB_MDC800=m + CONFIG_USB_MICROTEK=m + CONFIG_USB_SERIAL=m +@@ -717,10 +581,6 @@ CONFIG_MMC_SDHCI=y + CONFIG_MMC_SDHCI_PLTFM=y + CONFIG_MMC_SDHCI_BCM2708=y + CONFIG_MMC_SDHCI_BCM2708_DMA=y +-CONFIG_LEDS_GPIO=y +-CONFIG_LEDS_TRIGGER_TIMER=m +-CONFIG_LEDS_TRIGGER_HEARTBEAT=m +-CONFIG_LEDS_TRIGGER_DEFAULT_ON=m + CONFIG_RTC_CLASS=y + CONFIG_RTC_DRV_DS1307=m + CONFIG_RTC_DRV_DS1374=m +@@ -798,7 +658,6 @@ CONFIG_SQUASHFS_XATTR=y + CONFIG_SQUASHFS_LZO=y + CONFIG_SQUASHFS_XZ=y + CONFIG_NFS_FS=y +-CONFIG_NFS_V3=y + CONFIG_NFS_V3_ACL=y + CONFIG_NFS_V4=y + CONFIG_ROOT_NFS=y +@@ -812,9 +671,6 @@ CONFIG_CIFS_XATTR=y + CONFIG_CIFS_POSIX=y + CONFIG_9P_FS=m + CONFIG_9P_FS_POSIX_ACL=y +-CONFIG_PARTITION_ADVANCED=y +-CONFIG_MAC_PARTITION=y +-CONFIG_EFI_PARTITION=y + CONFIG_NLS_DEFAULT="utf8" + CONFIG_NLS_CODEPAGE_437=y + CONFIG_NLS_CODEPAGE_737=m +@@ -862,7 +718,6 @@ CONFIG_DEBUG_INFO=y + CONFIG_DEBUG_MEMORY_INIT=y + CONFIG_BOOT_PRINTK_DELAY=y + CONFIG_LATENCYTOP=y +-CONFIG_SYSCTL_SYSCALL_CHECK=y + CONFIG_IRQSOFF_TRACER=y + CONFIG_SCHED_TRACER=y + CONFIG_STACK_TRACER=y +@@ -878,7 +733,6 @@ CONFIG_CRYPTO_HMAC=y + CONFIG_CRYPTO_XCBC=m + CONFIG_CRYPTO_MD5=y + CONFIG_CRYPTO_SHA1=y +-CONFIG_CRYPTO_SHA256=m + CONFIG_CRYPTO_SHA512=m + CONFIG_CRYPTO_TGR192=m + CONFIG_CRYPTO_WP512=m +-- +1.8.1.6 + + From 894b002d9f89d5e68ef2b28fb190b4a983096ec7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 10 Jul 2013 23:53:31 +0100 -Subject: [PATCH 93/99] sdhci-bcm2807: Increase sync_after_dma timeout +Subject: [PATCH 093/102] sdhci-bcm2807: Increase sync_after_dma timeout The current timeout is being hit with some cards that complete successfully with a longer timeout. The timeout is not handled well, and is believed to be a code path that causes corruption. @@ -99159,7 +99558,7 @@ index c2409b9..4770680 100644 From 7d1ed3501217a5c3d40fbdf2d8168ceca2517c54 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 15 Jul 2013 23:55:52 +0100 -Subject: [PATCH 94/99] dcw_otg: avoid logging function that can cause panics +Subject: [PATCH 094/102] dcw_otg: avoid logging function that can cause panics See: https://github.com/raspberrypi/firmware/issues/21 Thanks to cleverca22 for fix @@ -99187,7 +99586,7 @@ index 9602fda..c6966af 100644 From 2b902d2bcd1ae9e5801a24615aaaa9129680a639 Mon Sep 17 00:00:00 2001 From: P33M Date: Sat, 13 Jul 2013 20:41:26 +0100 -Subject: [PATCH 95/99] dwc_otg: mask correct interrupts after transaction +Subject: [PATCH 095/102] dwc_otg: mask correct interrupts after transaction error recovery The dwc_otg driver will unmask certain interrupts on a transaction @@ -99257,7 +99656,7 @@ index e8b4d35..27b673f 100644 From 07ce82f9461cb966d2ee549bcd44e59d4019bf5e Mon Sep 17 00:00:00 2001 From: P33M Date: Sat, 13 Jul 2013 21:48:41 +0100 -Subject: [PATCH 96/99] dwc_otg: fiq: prevent FIQ thrash and incorrect state +Subject: [PATCH 096/102] dwc_otg: fiq: prevent FIQ thrash and incorrect state passing to IRQ In the case of a transaction to a device that had previously aborted @@ -99317,7 +99716,7 @@ index 27b673f..d655363 100644 From 2538878c1c3ec2da6d3cbf13d3e2820b06ce5ac5 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Mon, 8 Jul 2013 04:12:19 +0100 -Subject: [PATCH 97/99] Fix function tracing +Subject: [PATCH 097/102] Fix function tracing --- drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 12 ++++++------ @@ -99385,7 +99784,7 @@ index d655363..765451b 100644 From 3199ec63629973afe0dc99a9f11cf83b0f0a3c12 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 18 Jul 2013 16:32:41 +0100 -Subject: [PATCH 98/99] dwc_otg: whitespace cleanup in dwc_otg_urb_enqueue +Subject: [PATCH 098/102] dwc_otg: whitespace cleanup in dwc_otg_urb_enqueue --- drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c | 59 ++++++++++++++-------------- @@ -99479,7 +99878,7 @@ index 0d6f5f4..0f72bd5 100644 From b04d3b18742ce3a66b166c4bd7dabce67950c0ec Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 18 Jul 2013 17:07:26 +0100 -Subject: [PATCH 99/99] dwc_otg: prevent OOPSes during device disconnects +Subject: [PATCH 099/102] dwc_otg: prevent OOPSes during device disconnects The dwc_otg_urb_enqueue function is thread-unsafe. In particular the access of urb->hcpriv, usb_hcd_link_urb_to_ep, dwc_otg_urb->qtd and @@ -99619,3 +100018,184 @@ index 8125307..5aed416 100644 -- 1.8.1.6 + +From 2fa6869094ea6b6a84a7b4e1cd20cb0c2f823f8b Mon Sep 17 00:00:00 2001 +From: Alexander Kolesen +Date: Mon, 22 Jul 2013 15:23:32 +0300 +Subject: [PATCH 100/102] bcm_vc_cma: create_proc_entry replaced by proc_create + +Commit 80e928f7 kills create_proc_entry, so need to get rid if it and replace by proc_create + +drivers/char/broadcom/vc_cma/vc_cma.c: In function 'vc_cma_init': +drivers/char/broadcom/vc_cma/vc_cma.c:1088:2: error: implicit declaration of function 'create_proc_entry' [-Werror=implicit-function-declaration] +drivers/char/broadcom/vc_cma/vc_cma.c:1088:20: error: assignment makes pointer from integer without a cast [-Werror] +drivers/char/broadcom/vc_cma/vc_cma.c:1095:19: error: dereferencing pointer to incomplete type +drivers/char/broadcom/vc_cma/vc_cma.c: In function 'vc_cma_exit': +drivers/char/broadcom/vc_cma/vc_cma.c:1134:38: error: dereferencing pointer to incomplete type +cc1: all warnings being treated as errors +distcc[13074] ERROR: compile drivers/char/broadcom/vc_cma/vc_cma.c on localhost failed +make[4]: *** [drivers/char/broadcom/vc_cma/vc_cma.o] Error 1 +make[3]: *** [drivers/char/broadcom/vc_cma] Error 2 +make[2]: *** [drivers/char/broadcom] Error 2 +make[1]: *** [drivers/char] Error 2 +make: *** [drivers] Error 2 +--- + drivers/char/broadcom/vc_cma/vc_cma.c | 10 ++++------ + 1 file changed, 4 insertions(+), 6 deletions(-) + +diff --git a/drivers/char/broadcom/vc_cma/vc_cma.c b/drivers/char/broadcom/vc_cma/vc_cma.c +index 6d8b4df..fe80887 100644 +--- a/drivers/char/broadcom/vc_cma/vc_cma.c ++++ b/drivers/char/broadcom/vc_cma/vc_cma.c +@@ -1085,15 +1085,13 @@ static int vc_cma_init(void) + goto out_class_destroy; + } + +- vc_cma_proc_entry = create_proc_entry(DRIVER_NAME, 0444, NULL); ++ vc_cma_proc_entry = proc_create(DRIVER_NAME, 0444, NULL, &vc_cma_proc_fops); + if (vc_cma_proc_entry == NULL) { + rc = -EFAULT; +- LOG_ERR("%s: create_proc_entry failed", __func__); ++ LOG_ERR("%s: proc_create failed", __func__); + goto out_device_destroy; + } +- +- vc_cma_proc_entry->proc_fops = &vc_cma_proc_fops; +- ++ + vc_cma_inited = 1; + return 0; + +@@ -1131,7 +1129,7 @@ static void __exit vc_cma_exit(void) + LOG_DBG("%s: called", __func__); + + if (vc_cma_inited) { +- remove_proc_entry(vc_cma_proc_entry->name, NULL); ++ remove_proc_entry(DRIVER_NAME, NULL); + device_destroy(vc_cma_class, vc_cma_devnum); + class_destroy(vc_cma_class); + cdev_del(&vc_cma_cdev); +-- +1.8.1.6 + + +From 66b432c09a26d3952d3ed847aa8924f3b8178cc8 Mon Sep 17 00:00:00 2001 +From: P33M +Date: Mon, 22 Jul 2013 14:08:26 +0100 +Subject: [PATCH 101/102] dwc_otg: prevent BUG() in TT allocation if hub + address is > 16 + +A fixed-size array is used to track TT allocation. This was +previously set to 16 which caused a crash because +dwc_otg_hcd_allocate_port would read past the end of the array. + +This was hit if a hub was plugged in which enumerated as addr > 16, +due to previous device resets or unplugs. + +Also add #ifdef FIQ_DEBUG around hcd->hub_port_alloc[], which grows +to a large size if 128 hub addresses are supported. This field is +for debug only for tracking which frame an allocate happened in. +--- + drivers/usb/host/dwc_otg/dwc_otg_hcd.c | 7 ++++++- + drivers/usb/host/dwc_otg/dwc_otg_hcd.h | 6 ++++-- + drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 3 ++- + 3 files changed, 12 insertions(+), 4 deletions(-) + +diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd.c +index a1970dc..3c619b4 100644 +--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd.c ++++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd.c +@@ -983,7 +983,9 @@ int dwc_otg_hcd_init(dwc_otg_hcd_t * hcd, dwc_otg_core_if_t * core_if) + hcd->periodic_qh_count = 0; + + DWC_MEMSET(hcd->hub_port, 0, sizeof(hcd->hub_port)); ++#ifdef FIQ_DEBUG + DWC_MEMSET(hcd->hub_port_alloc, -1, sizeof(hcd->hub_port_alloc)); ++#endif + + out: + return retval; +@@ -1317,7 +1319,9 @@ int dwc_otg_hcd_allocate_port(dwc_otg_hcd_t * hcd, dwc_otg_qh_t *qh) + qh->skip_count = 0; + hcd->hub_port[hub_addr] |= 1 << port_addr; + fiq_print(FIQDBG_PORTHUB, "H%dP%d:A %d", hub_addr, port_addr, DWC_CIRCLEQ_FIRST(&qh->qtd_list)->urb->pipe_info.ep_num); ++#ifdef FIQ_DEBUG + hcd->hub_port_alloc[hub_addr * 16 + port_addr] = dwc_otg_hcd_get_frame_number(hcd); ++#endif + return 0; + } + } +@@ -1331,8 +1335,9 @@ void dwc_otg_hcd_release_port(dwc_otg_hcd_t * hcd, dwc_otg_qh_t *qh) + hcd->fops->hub_info(hcd, DWC_CIRCLEQ_FIRST(&qh->qtd_list)->urb->priv, &hub_addr, &port_addr); + + hcd->hub_port[hub_addr] &= ~(1 << port_addr); ++#ifdef FIQ_DEBUG + hcd->hub_port_alloc[hub_addr * 16 + port_addr] = -1; +- ++#endif + fiq_print(FIQDBG_PORTHUB, "H%dP%d:RO%d", hub_addr, port_addr, DWC_CIRCLEQ_FIRST(&qh->qtd_list)->urb->pipe_info.ep_num); + + } +diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd.h b/drivers/usb/host/dwc_otg/dwc_otg_hcd.h +index d3d6e997..80a3af2 100644 +--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd.h ++++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd.h +@@ -577,8 +577,10 @@ struct dwc_otg_hcd { + uint32_t *frame_list; + + /** Hub - Port assignment */ +- int hub_port[16]; +- int hub_port_alloc[256]; ++ int hub_port[128]; ++#ifdef FIQ_DEBUG ++ int hub_port_alloc[2048]; ++#endif + + /** Frame List DMA address */ + dma_addr_t frame_list_dma; +diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c +index 765451b..dbff763 100644 +--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c ++++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c +@@ -1419,8 +1419,9 @@ static void release_channel(dwc_otg_hcd_t * hcd, + } + + hcd->hub_port[hc->hub_addr] &= ~(1 << hc->port_addr); ++#ifdef FIQ_DEBUG + hcd->hub_port_alloc[hc->hub_addr * 16 + hc->port_addr] = -1; +- ++#endif + fiq_print(FIQDBG_PORTHUB, "H%dP%d:RR%d", hc->hub_addr, hc->port_addr, endp); + } + +-- +1.8.1.6 + + +From 0e20c990dd161db77006bb77bb75335a5e55e6a8 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Tue, 23 Jul 2013 12:29:27 +0100 +Subject: [PATCH 102/102] config: Add back in CONFIG_TASKSTATS + +--- + arch/arm/configs/bcmrpi_defconfig | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index f488d9e..194c0d6 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -8,6 +8,10 @@ CONFIG_NO_HZ=y + CONFIG_HIGH_RES_TIMERS=y + CONFIG_BSD_PROCESS_ACCT=y + CONFIG_BSD_PROCESS_ACCT_V3=y ++CONFIG_TASKSTATS=y ++CONFIG_TASK_DELAY_ACCT=y ++CONFIG_TASK_XACCT=y ++CONFIG_TASK_IO_ACCOUNTING=y + CONFIG_IKCONFIG=y + CONFIG_IKCONFIG_PROC=y + CONFIG_CGROUP_FREEZER=y +-- +1.8.1.6 +