diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index 5f405b4ef1..b2ce34e411 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 addc66c9d6c64137caedb2c5618b30a7ef69393d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 001/116] Main bcm2708 linux port +Subject: [PATCH 001/114] Main bcm2708 linux port Signed-off-by: popcornmix --- @@ -8594,7 +8594,7 @@ index 362927c4..e23fffb 100644 From e6825c7dfd03f88be3be47d17bcd340fb5a0248c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 7 May 2013 22:20:24 +0100 -Subject: [PATCH 002/116] Add quick config. +Subject: [PATCH 002/114] Add quick config. This is designed for quick compiling when developing. No modules are needed and it includes all Pi specific drivers @@ -8813,7 +8813,7 @@ index 0000000..e5efe75 From 58c261a6ae25c540a58e8c4cf0c4b24560dc5fb0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 003/116] Add dwc_otg driver +Subject: [PATCH 003/114] Add dwc_otg driver Signed-off-by: popcornmix --- @@ -65888,7 +65888,7 @@ index 0000000..cdc9963 From 49dbd74f7df9a8668193a7e62fc4e05c94496d48 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:54:32 +0100 -Subject: [PATCH 004/116] bcm2708 watchdog driver +Subject: [PATCH 004/114] bcm2708 watchdog driver Signed-off-by: popcornmix --- @@ -66324,7 +66324,7 @@ index 0000000..2f19203 From b3c9936c9ad293b4518bf3c2fc38b6623a8b2998 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:55:09 +0100 -Subject: [PATCH 005/116] bcm2708 framebuffer driver +Subject: [PATCH 005/114] bcm2708 framebuffer driver Signed-off-by: popcornmix --- @@ -69374,7 +69374,7 @@ index 3c14e43..7626beb 100644 From 51d34c201c3fef71b03deeb17e63760390b1414f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Jul 2013 23:42:01 +0100 -Subject: [PATCH 006/116] bcm2708 vchiq driver +Subject: [PATCH 006/114] bcm2708 vchiq driver Signed-off-by: popcornmix @@ -81928,7 +81928,7 @@ index 0000000..b6bfa21 From 4402f12b88bf8e6b775784edb028b0bd1901a433 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 007/116] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 007/114] cma: Add vc_cma driver to enable use of CMA Signed-off-by: popcornmix --- @@ -83222,7 +83222,7 @@ index 0000000..5325832 From d94e06ed984ff6c92ab1b921782991727170d05b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 008/116] bcm2708: alsa sound driver +Subject: [PATCH 008/114] bcm2708: alsa sound driver Signed-off-by: popcornmix --- @@ -85589,7 +85589,7 @@ index 0000000..af3e6eb From 9eebd77e4ac82e12e5ecc6a08518d9162a004783 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 26 Apr 2013 10:08:31 -0700 -Subject: [PATCH 009/116] Merge pull request #286 from +Subject: [PATCH 009/114] Merge pull request #286 from martinezjavier/rpi-3.6.y-dev add mmap support and some cleanups to bcm2835 ALSA driver @@ -86073,7 +86073,7 @@ index 080bd5c..36afee3 100755 From 55332b6724f16824ba6033cc6b9688aae917fe49 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:51:55 +0100 -Subject: [PATCH 010/116] Add hwrng (hardware random number generator) driver +Subject: [PATCH 010/114] Add hwrng (hardware random number generator) driver --- arch/arm/mach-bcm2708/include/mach/platform.h | 1 + @@ -86257,7 +86257,7 @@ index 0000000..1ffa7d7 From 2141e65c2851cb6d8816e1897e726d097dca22b5 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 011/116] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 011/114] lirc: added support for RaspberryPi GPIO --- drivers/staging/media/lirc/Kconfig | 6 + @@ -87001,7 +87001,7 @@ index 0000000..8aee83f From 32c9b5e72691e9230e6981baff2c94568ada26dd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 8 May 2012 23:12:13 +0100 -Subject: [PATCH 012/116] Fixes for sdhci-bcm2708 +Subject: [PATCH 012/114] Fixes for sdhci-bcm2708 possible fix for sdcard missing status. Thank naren @@ -88278,7 +88278,7 @@ index e23fffb..b1b6537 100644 From a326bc6111cc920147014c40ab2ace1572513c56 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 013/116] Add cpufreq driver +Subject: [PATCH 013/114] Add cpufreq driver --- arch/arm/Kconfig | 1 + @@ -88583,7 +88583,7 @@ index 0000000..7bc55bd From 41e3681ce65dad43f38e94f723b2c193748f16a9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 014/116] Added hwmon/thermal driver for reporting core +Subject: [PATCH 014/114] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian --- @@ -89111,7 +89111,7 @@ index 0000000..85fceb5 From e783b663088d2ec93d1fc813733fefc6cdc1e57f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 015/116] Allow mac address to be set in smsc95xx +Subject: [PATCH 015/114] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -89208,7 +89208,7 @@ index 424db65e..fc1ef4e 100644 From 2f1ec05721e94a02784bba493d707467b4cff92f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 4 Nov 2013 18:56:10 +0000 -Subject: [PATCH 016/116] Add Chris Boot's i2c and spi drivers. +Subject: [PATCH 016/114] Add Chris Boot's i2c and spi drivers. --- arch/arm/configs/bcmrpi_cutdown_defconfig | 9 + @@ -90576,7 +90576,7 @@ index 0000000..180264a From d381d48be96b4bad2cb7bc45dee663d6ad85b4a3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 017/116] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 017/114] 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 @@ -90782,7 +90782,7 @@ index e10acc2..667fdd5 100644 From e36af474ac728847e5601275150363f878c931f7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:46:42 +0100 -Subject: [PATCH 018/116] Add FIQ patch to dwc_otg driver. Enable with +Subject: [PATCH 018/114] 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 @@ -91941,7 +91941,7 @@ index e46d9bb..6b2c7d0 100644 From 02ad7aa89bfd310c20da841745fe63740467a340 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 8 Sep 2012 15:17:53 +0100 -Subject: [PATCH 021/116] Avoid dynamic memory allocation for channel lock in +Subject: [PATCH 021/114] Avoid dynamic memory allocation for channel lock in USB driver. Thanks ddv2005. --- @@ -92051,7 +92051,7 @@ index b7b6b0c..76b5085 100644 From b42e9442277c203ad96624d05eee13173dac5bb8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Apr 2013 23:58:47 +0100 -Subject: [PATCH 022/116] config: add missing options from 3.6.y kernel +Subject: [PATCH 022/114] config: add missing options from 3.6.y kernel --- arch/arm/configs/bcmrpi_defconfig | 749 ++++++++++++++++++++++++++++++++------ @@ -93099,7 +93099,7 @@ index 31f5afaa..bbf3000 100644 From eb63d393c5b5dc1ec72ee74aebc1ab44dbe364b9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 8 Apr 2013 21:12:48 +0100 -Subject: [PATCH 023/116] Add NAK holdoff scheme. Enabled by default, disable +Subject: [PATCH 023/114] Add NAK holdoff scheme. Enabled by default, disable with dwc_otg.nak_holdoff_enable=0. Thanks gsh --- @@ -93312,7 +93312,7 @@ index a9dea55..ebee73a 100644 From f75ce5b4a54b9044fb743667e2e4e81ba67bbeaa Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Sun, 4 Nov 2012 15:55:01 +0000 -Subject: [PATCH 024/116] Make sure we wait for the reset to finish +Subject: [PATCH 024/114] Make sure we wait for the reset to finish --- drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 2 ++ @@ -93338,7 +93338,7 @@ index aff59df..1a23d4b 100644 From fa12b46ba1712fc60f6fd07211ec29833d1689d7 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 9 Jan 2013 16:12:04 +0000 -Subject: [PATCH 025/116] dwc_otg: fix bug in dwc_otg_hcd.c resulting in silent +Subject: [PATCH 025/114] dwc_otg: fix bug in dwc_otg_hcd.c resulting in silent kernel memory corruption, escalating to OOPS under high USB load. --- @@ -93378,7 +93378,7 @@ index ebee73a..b3efaf4 100644 From 0ed4934c2288697f0e7089334b2aaf4cdedd9f0f Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 15 Feb 2013 22:36:47 +0000 -Subject: [PATCH 026/116] dwc_otg: Fix unsafe access of QTD during URB enqueue +Subject: [PATCH 026/114] 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 @@ -93468,7 +93468,7 @@ index b3efaf4..1554be5 100644 From 652268d6625aa538499ddfe314977a335385ec4d Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 15 Feb 2013 22:38:40 +0000 -Subject: [PATCH 027/116] dwc_otg: Fix incorrect URB allocation error handling +Subject: [PATCH 027/114] 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 @@ -93512,7 +93512,7 @@ index 35d03d1..6fe30e3 100644 From 02a223008dff4cb7043144a22c24b9eba8509a84 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 28 Feb 2013 16:52:51 +0000 -Subject: [PATCH 028/116] dwc_otg: fix potential use-after-free case in +Subject: [PATCH 028/114] dwc_otg: fix potential use-after-free case in interrupt handler If a transaction had previously aborted, certain interrupts are @@ -93547,7 +93547,7 @@ index 1a23d4b..7af455d 100644 From eb91ab1b1f2b1fea552e77e8a51d838d829d2fcd Mon Sep 17 00:00:00 2001 From: P33M Date: Sun, 3 Mar 2013 14:45:53 +0000 -Subject: [PATCH 029/116] dwc_otg: add handling of SPLIT transaction data +Subject: [PATCH 029/114] dwc_otg: add handling of SPLIT transaction data toggle errors Previously a data toggle error on packets from a USB1.1 device behind @@ -93605,7 +93605,7 @@ index 7af455d..a27dacd 100644 From 8acb390d23060feb69b018deeca4a5cc613c2eb4 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 21 Mar 2013 19:36:17 +0000 -Subject: [PATCH 030/116] dwc_otg: implement tasklet for returning URBs to +Subject: [PATCH 030/114] dwc_otg: implement tasklet for returning URBs to usbcore hcd layer The dwc_otg driver interrupt handler for transfer completion will spend @@ -93850,7 +93850,7 @@ index 2b4a14e..39787e3 100644 From be97d965c166674b340f59811ae065b29c35f10a Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 22 Apr 2013 00:08:36 +0100 -Subject: [PATCH 032/116] dwc_otg: fix NAK holdoff and allow on split +Subject: [PATCH 032/114] dwc_otg: fix NAK holdoff and allow on split transactions only This corrects a bug where if a single active non-periodic endpoint @@ -93923,7 +93923,7 @@ index 533b17d..73f7643 100644 From eea09f6db33e18389d9bd1c50b3cdb719250467a Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 033/116] Speed up console framebuffer imageblit function +Subject: [PATCH 033/114] 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 @@ -94138,7 +94138,7 @@ index a2bb276..436494f 100644 From accaa9d0320394fab24f2580e1d72bb0501af83e Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 034/116] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 034/114] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -94237,7 +94237,7 @@ index fb795c3..fa72af0 100644 From dfaca52b36601cfcf4fbd41327556bf6307f8e56 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 16:00:25 +0300 -Subject: [PATCH 035/116] bcm2708_fb: DMA acceleration for fb_copyarea +Subject: [PATCH 035/114] 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 @@ -94698,7 +94698,7 @@ index 54cd760..798eb52 100644 From e9153861852ce3028f2e53ca10f0c2f56e17ca17 Mon Sep 17 00:00:00 2001 From: Mike Bradley Date: Mon, 17 Jun 2013 11:31:42 -0700 -Subject: [PATCH 036/116] dwc_otg: Call usb_hcd_unlink_urb_from_ep with lock +Subject: [PATCH 036/114] 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 @@ -94788,7 +94788,7 @@ index 39787e3..5e6a26a 100644 From 69736393e91814943cf2b9133ce6ada814570d07 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Thu, 4 Apr 2013 11:05:21 +0100 -Subject: [PATCH 037/116] USB fix using a FIQ to implement split transactions +Subject: [PATCH 037/114] 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 @@ -96194,7 +96194,7 @@ index 1b1f83c..c8590b5 100644 From 6edf83c3c2da1caa71689325962543ed25c8703c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 11:39:46 +0100 -Subject: [PATCH 038/116] dwc_otg: fix device attributes and avoid kernel +Subject: [PATCH 038/114] dwc_otg: fix device attributes and avoid kernel warnings on boot --- @@ -96266,7 +96266,7 @@ index fab2961..af1cd4d 100644 From 061206f98147c830d682ccc313cb7e50ac2755ee Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 15 Jul 2013 23:55:52 +0100 -Subject: [PATCH 039/116] dcw_otg: avoid logging function that can cause panics +Subject: [PATCH 039/114] dcw_otg: avoid logging function that can cause panics See: https://github.com/raspberrypi/firmware/issues/21 Thanks to cleverca22 for fix @@ -96294,7 +96294,7 @@ index af1cd4d..9da0c92 100644 From 71378cf016970bb2e30771c8211e38ab72b1e4e5 Mon Sep 17 00:00:00 2001 From: P33M Date: Sat, 13 Jul 2013 20:41:26 +0100 -Subject: [PATCH 040/116] dwc_otg: mask correct interrupts after transaction +Subject: [PATCH 040/114] dwc_otg: mask correct interrupts after transaction error recovery The dwc_otg driver will unmask certain interrupts on a transaction @@ -96364,7 +96364,7 @@ index 8e5789f..fd73e41 100644 From 228d7ce137d7fe2776e37196d66c255a6a3c9448 Mon Sep 17 00:00:00 2001 From: P33M Date: Sat, 13 Jul 2013 21:48:41 +0100 -Subject: [PATCH 041/116] dwc_otg: fiq: prevent FIQ thrash and incorrect state +Subject: [PATCH 041/114] 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 @@ -96424,7 +96424,7 @@ index fd73e41..2ec0565 100644 From 853edd8f7db9e9ebe4dce52c4c68493e0f0353e2 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Mon, 8 Jul 2013 04:12:19 +0100 -Subject: [PATCH 042/116] Fix function tracing +Subject: [PATCH 042/114] Fix function tracing --- drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 12 ++++++------ @@ -96492,7 +96492,7 @@ index 2ec0565..083b1c3 100644 From d1ab9ff922509f9494766189ecdc06925c101aa7 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 18 Jul 2013 16:32:41 +0100 -Subject: [PATCH 043/116] dwc_otg: whitespace cleanup in dwc_otg_urb_enqueue +Subject: [PATCH 043/114] dwc_otg: whitespace cleanup in dwc_otg_urb_enqueue --- drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c | 53 ++++++++++++++-------------- @@ -96582,7 +96582,7 @@ index d1c5c2b..315c803 100644 From ab13b0b2facb88c9c0eebe546068a65752480b12 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 18 Jul 2013 17:07:26 +0100 -Subject: [PATCH 044/116] dwc_otg: prevent OOPSes during device disconnects +Subject: [PATCH 044/114] 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 @@ -96726,7 +96726,7 @@ index 7b92025..db95851 100644 From 44f75a9f93fb90c5a3764a5a960555356501f2dd Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 22 Jul 2013 14:08:26 +0100 -Subject: [PATCH 045/116] dwc_otg: prevent BUG() in TT allocation if hub +Subject: [PATCH 045/114] dwc_otg: prevent BUG() in TT allocation if hub address is > 16 A fixed-size array is used to track TT allocation. This was @@ -96819,7 +96819,7 @@ index 083b1c3..c76910d 100644 From 04d2054ab7e03c487fbb9e801089cc129bd03ed0 Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 23 Jul 2013 14:15:32 +0100 -Subject: [PATCH 046/116] dwc_otg: make channel halts with unknown state less +Subject: [PATCH 046/114] dwc_otg: make channel halts with unknown state less damaging If the IRQ received a channel halt interrupt through the FIQ @@ -96867,7 +96867,7 @@ index c76910d..5fd8613 100644 From 9fce49c03337bd3bd1e05edce704451d68754070 Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 30 Jul 2013 09:58:48 +0100 -Subject: [PATCH 047/116] dwc_otg: fiq_split: use TTs with more granularity +Subject: [PATCH 047/114] dwc_otg: fiq_split: use TTs with more granularity This fixes certain issues with split transaction scheduling. @@ -96990,7 +96990,7 @@ index 5fd8613..a959a49 100644 From 71047e5abda9285e42d68add5511705d289bd679 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 2 Aug 2013 10:04:18 +0100 -Subject: [PATCH 048/116] dwc_otg: fix potential sleep while atomic during urb +Subject: [PATCH 048/114] dwc_otg: fix potential sleep while atomic during urb enqueue Fixes a regression introduced with eb1b482a. Kmalloc called from @@ -97022,7 +97022,7 @@ index 87e517d..88c0544 100644 From a5c87e121bbcbbe7dd4c5d62a8a4d59ed7c218af Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 5 Aug 2013 11:42:12 +0100 -Subject: [PATCH 049/116] dwc_otg: make fiq_split_enable imply fiq_fix_enable +Subject: [PATCH 049/114] dwc_otg: make fiq_split_enable imply fiq_fix_enable Failing to set up the FIQ correctly would result in "IRQ 32: nobody cared" errors in dmesg. @@ -97054,7 +97054,7 @@ index 176dc14..f06c3d22 100644 From f18f15ab3112eb42a4657f85693db631d751368a Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 5 Aug 2013 11:47:12 +0100 -Subject: [PATCH 050/116] dwc_otg: prevent crashes on host port disconnects +Subject: [PATCH 050/114] dwc_otg: prevent crashes on host port disconnects Fix several issues resulting in crashes or inconsistent state if a Model A root port was disconnected. @@ -97215,7 +97215,7 @@ index 88c0544..ae4271a 100644 From 576904e7d4b0f7f203b79457d18deb8da4d0253f Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 5 Aug 2013 13:17:58 +0100 -Subject: [PATCH 051/116] dwc_otg: prevent leaking URBs during enqueue +Subject: [PATCH 051/114] dwc_otg: prevent leaking URBs during enqueue A dwc_otg_urb would get leaked if the HCD enqueue function failed for any reason. Free the URB at the appropriate points. @@ -97254,7 +97254,7 @@ index ae4271a..ee8eec9 100644 From cff944f6584e49b666a5a3898e97a5fe89cb8c0a Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 20 Sep 2013 16:08:27 +0100 -Subject: [PATCH 052/116] dwc_otg: Enable NAK holdoff for control split +Subject: [PATCH 052/114] dwc_otg: Enable NAK holdoff for control split transactions Certain low-speed devices take a very long time to complete a @@ -97290,7 +97290,7 @@ index 3a549a1..f8dc4be 100644 From f195c257517b87246a31d0fe35a0d4bf4bb7c394 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 20 Sep 2013 19:07:56 +0100 -Subject: [PATCH 053/116] dwc_otg: Fix for occasional lockup on boot when doing +Subject: [PATCH 053/114] dwc_otg: Fix for occasional lockup on boot when doing a USB reset --- @@ -97319,7 +97319,7 @@ index f8dc4be..64d33a5 100644 From 04d1d1f181f33a0a1f8d5a321d7421a628530d58 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 27 Sep 2013 14:42:24 +0100 -Subject: [PATCH 054/116] dwc_otg: Don't issue traffic to LS devices in FS mode +Subject: [PATCH 054/114] dwc_otg: Don't issue traffic to LS devices in FS mode Issuing low-speed packets when the root port is in full-speed mode causes the root port to stop responding. Explicitly fail when @@ -97364,7 +97364,7 @@ index 1904f6a..22300f0 100644 From f97e9d01e90749a83b09c1ab77a373141adf730e Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 055/116] bcm2835: add v4l2 camera device +Subject: [PATCH 055/114] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -103355,7 +103355,7 @@ index 0000000..9d1d11e From 6f61a22cc20b1c0db398517399fa9cbe6c48fc0f Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 10:58:01 +0000 -Subject: [PATCH 056/116] V4L2: Fix EV values. Add manual shutter speed control +Subject: [PATCH 056/114] V4L2: Fix EV values. Add manual shutter speed control V4L2 EV values should be in units of 1/1000. Corrected. Add support for V4L2_CID_EXPOSURE_ABSOLUTE which should @@ -103551,7 +103551,7 @@ index c611b58..d8aace5 100644 From 9c9c39999c5dda6b6d91bcb261175cf91fe7d645 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 11:01:53 +0000 -Subject: [PATCH 057/116] V4L2: Correct JPEG Q-factor range +Subject: [PATCH 057/114] V4L2: Correct JPEG Q-factor range Should be 1-100, not 0-100 @@ -103592,7 +103592,7 @@ index 481d1f6..c2e4c64 100644 From b4c092b4c86e2c0853616f2fa543df9c4bcba74b Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 11:05:24 +0000 -Subject: [PATCH 058/116] V4L2: Fix issue of driver jamming if STREAMON failed. +Subject: [PATCH 058/114] V4L2: Fix issue of driver jamming if STREAMON failed. Fix issue where the driver was left in a partially enabled state if STREAMON failed, and would then reject many IOCTLs @@ -103631,7 +103631,7 @@ index 47fe45d..2743074 100644 From 20d3857da5854f327e7820aea36e7cc0bca7eab6 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 15:30:48 +0000 -Subject: [PATCH 059/116] V4L2: Fix ISO controls. +Subject: [PATCH 059/114] V4L2: Fix ISO controls. Driver was passing the index to the GPU, and not the desired ISO value. @@ -103687,7 +103687,7 @@ index c2e4c64..92863f7 100644 From 66813213f341e0f296923fcb450eb5914329cb0b Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 16:40:24 +0000 -Subject: [PATCH 060/116] V4L2: Add flicker avoidance controls +Subject: [PATCH 060/114] V4L2: Add flicker avoidance controls Add support for V4L2_CID_POWER_LINE_FREQUENCY to set flicker avoidance frequencies. @@ -103805,7 +103805,7 @@ index d8aace5..b3d2c39 100644 From e2aaee400655638542374b651632469e4d69f0e9 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 13 Dec 2013 15:54:13 +0000 -Subject: [PATCH 061/116] V4L2: Add support for frame rate control. +Subject: [PATCH 061/114] V4L2: Add support for frame rate control. Add support for frame rate (or time per frame as V4L2 inverts it) control via s_parm. @@ -104047,7 +104047,7 @@ index b3d2c39..0f2bd50 100644 From 6ed2a944a86f8d79e3c31f8ebd7abcd616f87685 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 17:30:09 +0000 -Subject: [PATCH 062/116] V4L2: Improve G_FBUF handling so we pass conformance +Subject: [PATCH 062/114] V4L2: Improve G_FBUF handling so we pass conformance Return some sane numbers for get framebuffer so that we pass conformance. @@ -104090,7 +104090,7 @@ index 8c38d03..c8d8742 100644 From 157ec9c10573f248eea3a7ccd941dc29504aa648 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 17:29:39 +0000 -Subject: [PATCH 063/116] V4L2: Fix information advertised through g_vidfmt +Subject: [PATCH 063/114] V4L2: Fix information advertised through g_vidfmt Width and height were being stored based on incorrect values. @@ -104133,7 +104133,7 @@ index c8d8742..4766a9c 100644 From d2779ae032f6fa457ea77ce10be6f811983b186e Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 11:03:54 +0000 -Subject: [PATCH 064/116] V4L2: Add support for inline H264 headers +Subject: [PATCH 064/114] V4L2: Add support for inline H264 headers Add support for V4L2_CID_MPEG_VIDEO_REPEAT_SEQ_HEADER to control H264 inline headers. @@ -104441,7 +104441,7 @@ index 0f2bd50..b08a4b0 100644 From ac68cd1875d79e9978e0ed9a800f4ebfd639dd21 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 19 Dec 2013 17:33:02 +0000 -Subject: [PATCH 065/116] V4L2: Fix JPEG timestamp issue +Subject: [PATCH 065/114] V4L2: Fix JPEG timestamp issue JPEG images were coming through from the GPU with timestamp of 0. Detect this and give current system time instead @@ -104482,7 +104482,7 @@ index 4766a9c..9fc90a2 100644 From 6079f9d2ba1d973ecabcf2c4c4b7764e362322e6 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 11:24:55 +0000 -Subject: [PATCH 066/116] V4L2: Fix issue when switching down JPEG resolution. +Subject: [PATCH 066/114] V4L2: Fix issue when switching down JPEG resolution. JPEG buffer size calculation is based on input resolution. Input resolution was being configured after output port @@ -104647,7 +104647,7 @@ index 9fc90a2..4780107 100644 From 47b01d550decdc5b9fd4bf3df8c1e871b2c9a9c4 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 23 Dec 2013 15:42:21 +0000 -Subject: [PATCH 067/116] V4L2: Enable MJPEG encoding +Subject: [PATCH 067/114] V4L2: Enable MJPEG encoding Requires GPU firmware update to support MJPEG encoder. @@ -104694,7 +104694,7 @@ index 856e80e..764bb12 100644 From 40a10a3e82cf9d805670fde253e7f79a0a6178d8 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 2 Jan 2014 15:57:06 +0000 -Subject: [PATCH 068/116] V4L2: Correct flag settings for compressed formats +Subject: [PATCH 068/114] V4L2: Correct flag settings for compressed formats Set flags field correctly on enum_fmt_vid_cap for compressed image formats. @@ -104793,7 +104793,7 @@ index 602b4a7..076f9a8 100644 From 1138f111fdc19ad04e298836f10973891409b40c Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 12 Feb 2014 11:18:20 +0000 -Subject: [PATCH 069/116] V4L2: H264 profile & level ctrls, FPS control and +Subject: [PATCH 069/114] V4L2: H264 profile & level ctrls, FPS control and auto exp pri Several control handling updates. @@ -105485,7 +105485,7 @@ index b08a4b0..ae8fef9 100644 From ef6c9ea1a6a616e1d068e04d68b87d33fbd2bd52 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 12 Feb 2014 11:39:20 +0000 -Subject: [PATCH 070/116] V4L2: Correct BGR24 to RGB24 in format table +Subject: [PATCH 070/114] V4L2: Correct BGR24 to RGB24 in format table Signed-off-by: Dave Stevenson --- @@ -105514,7 +105514,7 @@ index 6d0d77a..8285e6a 100644 From c2918c0f993db0a7f2f550bccbd71d1ad4a73576 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 12 Feb 2014 15:35:41 +0000 -Subject: [PATCH 071/116] V4L2: Add additional pixel formats. Correct +Subject: [PATCH 071/114] V4L2: Add additional pixel formats. Correct colourspace Adds the other flavours of YUYV, and NV12. @@ -105586,7 +105586,7 @@ index 8285e6a..3dea993 100644 From c6dda62a0161a85313ca4f280a1bc6522dead325 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 14 Feb 2014 17:08:18 +0000 -Subject: [PATCH 072/116] V4L2: Drop logging msg from info to debug +Subject: [PATCH 072/114] V4L2: Drop logging msg from info to debug Signed-off-by: Dave Stevenson --- @@ -105613,7 +105613,7 @@ index a06fb44..82752e6 100644 From 56869f118699b3b3b790755930a1a33bf85632e1 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 14 Feb 2014 17:12:08 +0000 -Subject: [PATCH 073/116] V4L2: Initial pass at scene modes. +Subject: [PATCH 073/114] V4L2: Initial pass at scene modes. Only supports exposure mode and metering modes. @@ -105981,7 +105981,7 @@ index 45cf790..b7a7e883 100644 From 8a3b5b5de9f9bb7c6c2c7dd010ea9dfae5532af6 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 25 Mar 2014 11:48:01 +0000 -Subject: [PATCH 074/116] V4L2: Add manual white balance control. +Subject: [PATCH 074/114] V4L2: Add manual white balance control. Adds support for V4L2_CID_RED_BALANCE and V4L2_CID_BLUE_BALANCE. Only has an effect if @@ -106112,7 +106112,7 @@ index ae8fef9..089f949 100644 From e31582fae97499372fb2519e6526ba7f5612f4dd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 2 Dec 2013 16:57:44 +0000 -Subject: [PATCH 075/116] config: Enable V4L / MMAL driver +Subject: [PATCH 075/114] config: Enable V4L / MMAL driver --- arch/arm/configs/bcmrpi_defconfig | 3 +++ @@ -106139,7 +106139,7 @@ index bbf3000..058a520 100644 From fc0867994651453170bd4527ccf8eb88d427ea7b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 076/116] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 076/114] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -106217,7 +106217,7 @@ index 5b6b003..56de606 100644 From 9bf28b4d48a842f02bc06d42e5be83ee61e2731d Mon Sep 17 00:00:00 2001 From: Julian Scheel Date: Wed, 19 Feb 2014 16:06:59 +0100 -Subject: [PATCH 077/116] snd-bcm2835: Add support for spdif/hdmi passthrough +Subject: [PATCH 077/114] snd-bcm2835: Add support for spdif/hdmi passthrough This adds a dedicated subdevice which can be used for passthrough of non-audio formats (ie encoded a52) through the hdmi audio link. In addition to this @@ -106691,7 +106691,7 @@ index 36afee3..8c2fe26 100755 From 7c3feac141a49ab6cddb38fc83236f9de1441aef Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 078/116] dmaengine: Add support for BCM2708 +Subject: [PATCH 078/114] dmaengine: Add support for BCM2708 Add support for DMA controller of BCM2708 as used in the Raspberry Pi. Currently it only supports cyclic DMA. @@ -107334,7 +107334,7 @@ index 0000000..b244293 From ece7b1506f65cada933dd3c24e2974c79603530b Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:33:38 +0100 -Subject: [PATCH 079/116] ASoC: Add support for BCM2708 +Subject: [PATCH 079/114] ASoC: Add support for BCM2708 This driver adds support for digital audio (I2S) for the BCM2708 SoC that is used by the @@ -108335,7 +108335,7 @@ index 0000000..ebaf3d6 From 39b42bad25b58832e2590311d977f644847e40b3 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:37:51 +0100 -Subject: [PATCH 080/116] BCM2708: Extend mach header +Subject: [PATCH 080/114] BCM2708: Extend mach header Extend the headers of the mach-bcm2708 in order to support I2S and DMA engine. @@ -108383,7 +108383,7 @@ index 992a630..2e7e1bb 100644 From a2da7a43972d1f38559ef062c82601494d26f1d1 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:59:51 +0100 -Subject: [PATCH 081/116] ASoC: Add support for PCM5102A codec +Subject: [PATCH 081/114] ASoC: Add support for PCM5102A codec Some definitions to support the PCM5102A codec by Texas Instruments. @@ -108514,7 +108514,7 @@ index 0000000..126f1e9 From 3fd1e8b4d2c8ca26ba2767e1b23be9937ca72ac3 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:04:54 +0100 -Subject: [PATCH 082/116] BCM2708: Add I2S support to board file +Subject: [PATCH 082/114] BCM2708: Add I2S support to board file Adds the required initializations for I2S to the board file of mach-bcm2708. @@ -108575,7 +108575,7 @@ index 2b11e9d..76d7505 100644 From ef43c24a0bde55df09a6c7b6fee50681d57b5f0d Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 083/116] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 083/114] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -108730,7 +108730,7 @@ index 0000000..4b70b45 From 2678c3b83c299da7d55300d478025b3e9b2ecf48 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:21:34 +0100 -Subject: [PATCH 084/116] BCM2708: Add HifiBerry DAC to board file +Subject: [PATCH 084/114] BCM2708: Add HifiBerry DAC to board file This adds the initalization of the HifiBerry DAC to the mach-bcm2708 board file. @@ -108784,7 +108784,7 @@ index 76d7505..45d0b4f 100644 From 80e5187b9e43007d2af072de4124e8f63b16d5f0 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 6 Dec 2013 18:55:53 +0100 -Subject: [PATCH 085/116] ASoC: BCM2708: Add 24 bit support +Subject: [PATCH 085/114] ASoC: BCM2708: Add 24 bit support This adds 24 bit support to the I2S driver of the BCM2708. Besides enabling the 24 bit flags, it includes two bug fixes: @@ -108862,7 +108862,7 @@ index ebaf3d6..a179216 100644 From 964ebf249b5e326b6c77572d2c2e8e12208ddc64 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 2 Dec 2013 20:28:22 +0100 -Subject: [PATCH 086/116] BCM2708: Add I2S and DMA support to default config +Subject: [PATCH 086/114] BCM2708: Add I2S and DMA support to default config This commit adds several modules that are needed for I2S support for the Raspberry Pi to the defconfig. @@ -108908,7 +108908,7 @@ index 5100760..cde1233 100644 From da10c944e0502fab618fef0fa26c7db3f8e47634 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 6 Dec 2013 20:50:28 +0100 -Subject: [PATCH 087/116] ASoC: BCM2708: Add support for RPi-DAC +Subject: [PATCH 087/114] ASoC: BCM2708: Add support for RPi-DAC This adds a machine driver for the RPi-DAC. @@ -109225,7 +109225,7 @@ index 0000000..b4eaa44 From c7731c2f29f509b782ac3f62d9c10af1ac4aeff4 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 088/116] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 088/114] 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 @@ -109345,7 +109345,7 @@ index 8ec14f5..e72d4f4 100644 From 655d361dd1e5815998bbab8c223af258c98a4164 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 089/116] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 089/114] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -109554,7 +109554,7 @@ index 0000000..e4f769d From 3f10115b5a3f40d12a4c1fc55c854f1fca811074 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:26:08 +0100 -Subject: [PATCH 090/116] BCM2708: Added support for HiFiBerry Digi board Board +Subject: [PATCH 090/114] BCM2708: Added support for HiFiBerry Digi board Board initalization by I2C Signed-off-by: Daniel Matuschek @@ -109607,7 +109607,7 @@ index b5e4272..d7055e1 100644 From b190833a3a062c42b60602141ed477a287feaea9 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:27:28 +0100 -Subject: [PATCH 091/116] BCM2708: Added HiFiBerry Digi configuration option It +Subject: [PATCH 091/114] BCM2708: Added HiFiBerry Digi configuration option It will be compiled as a module by default. This also includes the WM8804 driver. @@ -109638,7 +109638,7 @@ index b1536f2..b2b9def 100644 From 01395b0fd812f9264d274a7de030decf61ec7bb8 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:36:35 +0100 -Subject: [PATCH 092/116] ASoC: wm8804: Set idle_bias_off to false Idle bias +Subject: [PATCH 092/114] ASoC: wm8804: Set idle_bias_off to false Idle bias has been change to remove warning on driver startup Signed-off-by: Daniel Matuschek @@ -109666,7 +109666,7 @@ index c35b4f3..8915d08 100644 From 984df0b3c3e1c9b0d023432d2d7a78af1bfce92d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 12 Mar 2014 11:46:34 +0000 -Subject: [PATCH 093/116] ASoc: Don't report S24_LE support, it produces white +Subject: [PATCH 093/114] ASoc: Don't report S24_LE support, it produces white noise with xbmc --- @@ -109707,7 +109707,7 @@ index 126f1e9..7812d34 100644 From 513b3c2eb880f6d7b7d3c99c1266029af491bf32 Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 094/116] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 094/114] Add IQaudIO Sound Card support for Raspberry Pi --- arch/arm/configs/bcmrpi_defconfig | 1 + @@ -110802,7 +110802,7 @@ index 0000000..b2f518e From 23b8de5729d6fd06632b1c8cda762237c5a4f598 Mon Sep 17 00:00:00 2001 From: Howard Mitchell Date: Fri, 28 Mar 2014 16:27:57 +0000 -Subject: [PATCH 095/116] Fix volsw_range functions so SOC_DOUBLE_R_RANGE_TLV +Subject: [PATCH 095/114] Fix volsw_range functions so SOC_DOUBLE_R_RANGE_TLV works. This is so that the correct rabge of values as specified @@ -110881,7 +110881,7 @@ index fe1df50..c3f41e7 100644 From d1132a2af05264ec6b3a8f9a5be551d936116f50 Mon Sep 17 00:00:00 2001 From: Howard Mitchell Date: Fri, 28 Mar 2014 16:40:31 +0000 -Subject: [PATCH 096/116] Use a range macro for Playback Volume. +Subject: [PATCH 096/114] Use a range macro for Playback Volume. This allows limiting the output gain to avoid clipping in the DAC ouput stages. @@ -110911,7 +110911,7 @@ index 55b6200..2653311 100644 From 3875b103bd4cacbd3227a191edde9dc5a421b63a Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sun, 30 Mar 2014 13:52:33 +0100 -Subject: [PATCH 097/116] fix soc-core's inverse range and let IQaudIO DAC use +Subject: [PATCH 097/114] fix soc-core's inverse range and let IQaudIO DAC use this fixed SOC_DOUBLE_R_RANGE_TLV support --- @@ -110968,7 +110968,7 @@ index c3f41e7..a8a753f 100644 From fe6b4c622ba399582ded771df5c53eb53a638a2b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 22 Apr 2014 13:58:14 +0100 -Subject: [PATCH 098/116] lirc_rpi: Use read_current_timer to determine +Subject: [PATCH 098/114] lirc_rpi: Use read_current_timer to determine transmitter delay. Thanks to jjmz and others See: https://github.com/raspberrypi/linux/issues/525 @@ -111069,7 +111069,7 @@ index 8aee83f..57ffacf 100644 From 0a39a59618be7259fcdaf74bae59af50668d4e0e Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 19 Mar 2014 15:13:53 +0000 -Subject: [PATCH 099/116] Fix ARM architecture issue with local_irq_restore() +Subject: [PATCH 099/114] Fix ARM architecture issue with local_irq_restore() If local_fiq_enable() is called before a local_irq_restore(flags) where the flags variable has the F bit set, the FIQ will be erroneously disabled. @@ -111173,7 +111173,7 @@ index 0812d3a..6d01261 100644 From 65990a3ae3d98a428f3800a1e984a168082afed7 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 19 Mar 2014 12:58:23 +0000 -Subject: [PATCH 100/116] dwc_otg: fiq_fsm: Base commit for driver rewrite +Subject: [PATCH 100/114] dwc_otg: fiq_fsm: Base commit for driver rewrite This commit removes the previous FIQ fixes entirely and adds fiq_fsm. @@ -115978,7 +115978,7 @@ index ca17379..0000000 From c362e9eb74ade9b36550cc581e55d74dcf0d67b8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 1 May 2014 13:38:17 +0100 -Subject: [PATCH 101/116] config: enable CONFIG_DMA_CMA - it may fix cache +Subject: [PATCH 101/114] config: enable CONFIG_DMA_CMA - it may fix cache coherency issue in USB driver See: https://github.com/raspberrypi/linux/issues/575 @@ -116006,7 +116006,7 @@ index f0a5370..0d1cb49 100644 From f2e5f36c0b5cc96da426eb7c9471a507feed8e2a Mon Sep 17 00:00:00 2001 From: P33M Date: Sat, 3 May 2014 15:22:14 +0100 -Subject: [PATCH 102/116] fiq_fsm: fix dequeues for non-periodic split +Subject: [PATCH 102/114] fiq_fsm: fix dequeues for non-periodic split transactions If a dequeue happened between the SSPLIT and CSPLIT phases of the @@ -116056,7 +116056,7 @@ index e6b4a1e..4009f22 100644 From f50055667e9a183fad20a248f60a19b6ce70a693 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 13 May 2014 00:40:42 +0100 -Subject: [PATCH 103/116] fiq_fsm: Disable by default +Subject: [PATCH 103/114] fiq_fsm: Disable by default --- drivers/usb/host/dwc_otg/dwc_otg_driver.c | 2 +- @@ -116082,7 +116082,7 @@ index bbf63a4..144bbf8 100644 From 5a27d5cd18be14a07b512cda055c58ec59bd69d1 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 7 Jan 2014 12:36:07 +0000 -Subject: [PATCH 104/116] V4L2: Increase the MMAL timeout to 3sec +Subject: [PATCH 104/114] V4L2: Increase the MMAL timeout to 3sec MJPEG codec flush is now taking longer and results in a kernel panic if the driver has stopped waiting for @@ -116114,7 +116114,7 @@ index 82752e6..76f249e 100644 From d9a3da4df19d5d627f6d713b5a5b580f0a2e4ada Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 15 May 2014 14:56:56 +0100 -Subject: [PATCH 105/116] fiq_fsm: Handle HC babble errors +Subject: [PATCH 105/114] fiq_fsm: Handle HC babble errors The HCTSIZ transfer size field raises a babble interrupt if the counter wraps. Handle the resulting interrupt in this case. @@ -116203,7 +116203,7 @@ index be8ef1b..f9acef2 100644 From 3f454365196da40003cee26e06eef55123c13cb7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 12 May 2014 15:12:02 +0100 -Subject: [PATCH 106/116] vchiq: Avoid high load when blocked and unkillable +Subject: [PATCH 106/114] vchiq: Avoid high load when blocked and unkillable --- .../interface/vchiq_arm/vchiq_2835_arm.c | 1 + @@ -116370,7 +116370,7 @@ index c2eefef..05e7979 100644 From 9c4f941ba5430d433faecc4a215d804ead85da4a Mon Sep 17 00:00:00 2001 From: cbeytas Date: Mon, 24 Jun 2013 00:05:40 -0400 -Subject: [PATCH 107/116] Perform I2C combined transactions when possible +Subject: [PATCH 107/114] Perform I2C combined transactions when possible Perform I2C combined transactions whenever possible, within the restrictions of the Broadcomm Serial Controller. @@ -116433,7 +116433,7 @@ index 98bc4e7..3758024 100644 From d7833ff4ac78d58337461ede5205a5cec1695b34 Mon Sep 17 00:00:00 2001 From: brabl2 Date: Sat, 21 Dec 2013 21:25:36 +0100 -Subject: [PATCH 108/116] i2c-bcm2708: fixed baudrate +Subject: [PATCH 108/114] i2c-bcm2708: fixed baudrate Fixed issue where the wrong CDIV value was set for baudrates below 3815 Hz (for 250MHz bus clock). In that case the computed CDIV value was more than 0xffff. However the CDIV register width is only 16 bits. This resulted in incorrect setting of CDIV and higher baudrate than intended. Example: 3500Hz -> CDIV=0x11704 -> CDIV(16bit)=0x1704 -> 42430Hz @@ -116490,7 +116490,7 @@ index 3758024..fbf502a 100644 From 4c03428961980de9b35b0eae4fab0710b58e5bc2 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 19 May 2014 13:02:07 +0100 -Subject: [PATCH 109/116] V4L2: Add support for setting H264_I_PERIOD +Subject: [PATCH 109/114] V4L2: Add support for setting H264_I_PERIOD Adds support for the parameter V4L2_CID_MPEG_VIDEO_H264_I_PERIOD to set the frequency with which I frames are produced. @@ -116539,7 +116539,7 @@ index 9a40bd0..95c7647 100644 From fbf360b9f7a94f99995b43091969de63f003f4fa Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 12 Feb 2014 11:41:46 +0000 -Subject: [PATCH 110/116] V4L2: Enable GPU function for removing padding from +Subject: [PATCH 110/114] V4L2: Enable GPU function for removing padding from images. GPU can now support arbitrary strides, although may require @@ -116781,7 +116781,7 @@ index 089f949..aa0fd18 100644 From 72c0b6c97d821ae3f23d3064a8b297c328f128a9 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 9 Apr 2014 14:47:17 +0100 -Subject: [PATCH 111/116] V4L2: Add support for V4L2_PIX_FMT_BGR32 +Subject: [PATCH 111/114] V4L2: Add support for V4L2_PIX_FMT_BGR32 Signed-off-by: Dave Stevenson --- @@ -116814,7 +116814,7 @@ index d3a9075..56c017f 100644 From 937190a8995819357d817718a9d437c11b0ec5fc Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 19 May 2014 15:24:26 +0100 -Subject: [PATCH 112/116] V4L2: Set the colourspace to avoid odd YUV-RGB +Subject: [PATCH 112/114] V4L2: Set the colourspace to avoid odd YUV-RGB conversions Removes the amiguity from the conversion routines and stops @@ -116893,7 +116893,7 @@ index 764bb12..024d620 100644 From 972756fdc485cb8d843153b28a8dfca09c99f7bc Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 20 May 2014 18:45:52 +0100 -Subject: [PATCH 113/116] V4L2: Make video/still threshold a run-time param +Subject: [PATCH 113/114] V4L2: Make video/still threshold a run-time param Move the define for at what resolution the driver switches from a video mode capture to a stills mode @@ -116963,7 +116963,7 @@ index c644dec..95e1810 100644 From a0e9f880c44f41c068e7699e356dbff7bc2e850b Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Fri, 2 May 2014 16:13:59 +0100 -Subject: [PATCH 114/116] Move GPIO setup to hw_params. +Subject: [PATCH 114/114] Move GPIO setup to hw_params. This is used to stop the I2S driver from breaking the GPIO setup for other uses of the PCM interface @@ -117061,230 +117061,3 @@ index b25e158..9976571 100644 -- 1.9.3 - -From 2dc1458597396ac18ba59c674e139558675d653b Mon Sep 17 00:00:00 2001 -From: popcornmix -Date: Mon, 26 May 2014 16:15:48 +0100 -Subject: [PATCH 115/116] config: Add ISL12057 and PCF2127 RTC driver modules - ---- - arch/arm/configs/bcmrpi_defconfig | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index 0d1cb49..75aa56d 100644 ---- a/arch/arm/configs/bcmrpi_defconfig -+++ b/arch/arm/configs/bcmrpi_defconfig -@@ -918,7 +918,9 @@ CONFIG_RTC_DRV_MAX6900=m - CONFIG_RTC_DRV_RS5C372=m - CONFIG_RTC_DRV_ISL1208=m - CONFIG_RTC_DRV_ISL12022=m -+CONFIG_RTC_DRV_ISL12057=m - CONFIG_RTC_DRV_X1205=m -+CONFIG_RTC_DRV_PCF2127=m - CONFIG_RTC_DRV_PCF8523=m - CONFIG_RTC_DRV_PCF8563=m - CONFIG_RTC_DRV_PCF8583=m --- -1.9.3 - - -From e02f12bca4214c9119c52fce78b64941cfcd2a3c Mon Sep 17 00:00:00 2001 -From: P33M -Date: Thu, 22 May 2014 16:42:24 +0100 -Subject: [PATCH 116/116] dwc_otg: fix interrupt registration for fiq_enable=0 - -Additionally make the module parameter conditional for wherever -hcd->fiq_state is touched. ---- - arch/arm/mach-bcm2708/bcm2708.c | 5 +++++ - drivers/usb/host/dwc_otg/dwc_otg_driver.c | 4 ++-- - drivers/usb/host/dwc_otg/dwc_otg_hcd.c | 22 ++++++++++++---------- - drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 19 +++++++++++-------- - drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c | 4 ++-- - drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c | 4 ++-- - drivers/usb/host/dwc_otg/dwc_otg_pcd_linux.c | 8 +++++--- - 7 files changed, 39 insertions(+), 27 deletions(-) - -diff --git a/arch/arm/mach-bcm2708/bcm2708.c b/arch/arm/mach-bcm2708/bcm2708.c -index 887f732..0e71ac8 100644 ---- a/arch/arm/mach-bcm2708/bcm2708.c -+++ b/arch/arm/mach-bcm2708/bcm2708.c -@@ -326,6 +326,11 @@ static struct resource bcm2708_usb_resources[] = { - .end = IRQ_HOSTPORT, - .flags = IORESOURCE_IRQ, - }, -+ [3] = { -+ .start = IRQ_USB, -+ .end = IRQ_USB, -+ .flags = IORESOURCE_IRQ, -+ }, - }; - - -diff --git a/drivers/usb/host/dwc_otg/dwc_otg_driver.c b/drivers/usb/host/dwc_otg/dwc_otg_driver.c -index 144bbf8..f2195d2 100644 ---- a/drivers/usb/host/dwc_otg/dwc_otg_driver.c -+++ b/drivers/usb/host/dwc_otg/dwc_otg_driver.c -@@ -902,9 +902,9 @@ static int dwc_otg_driver_probe( - */ - - #if defined(PLATFORM_INTERFACE) -- devirq = platform_get_irq(_dev, 0); -+ devirq = platform_get_irq(_dev, fiq_enable ? 0 : 1); - #else -- devirq = _dev->irq; -+ devirq = _dev->irq; - #endif - DWC_DEBUGPL(DBG_CIL, "registering (common) handler for irq%d\n", - devirq); -diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd.c -index 4009f22..daea770 100644 ---- a/drivers/usb/host/dwc_otg/dwc_otg_hcd.c -+++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd.c -@@ -2016,17 +2016,19 @@ dwc_otg_transaction_type_e dwc_otg_hcd_select_transactions(dwc_otg_hcd_t * hcd) - * stop the FIQ from kicking us. We could potentially still have elements here if we - * ran out of host channels. - */ -- if (DWC_LIST_EMPTY(&hcd->non_periodic_sched_inactive)) { -+ if (fiq_enable) { -+ if (DWC_LIST_EMPTY(&hcd->non_periodic_sched_inactive)) { - hcd->fiq_state->kick_np_queues = 0; -- } else { -- /* For each entry remaining in the NP inactive queue, -- * if this a NAK'd retransmit then don't set the kick flag. -- */ -- if(nak_holdoff) { -- DWC_LIST_FOREACH(qh_ptr, &hcd->non_periodic_sched_inactive) { -- qh = DWC_LIST_ENTRY(qh_ptr, dwc_otg_qh_t, qh_list_entry); -- if (qh->nak_frame == 0xFFFF) { -- hcd->fiq_state->kick_np_queues = 1; -+ } else { -+ /* For each entry remaining in the NP inactive queue, -+ * if this a NAK'd retransmit then don't set the kick flag. -+ */ -+ if(nak_holdoff) { -+ DWC_LIST_FOREACH(qh_ptr, &hcd->non_periodic_sched_inactive) { -+ qh = DWC_LIST_ENTRY(qh_ptr, dwc_otg_qh_t, qh_list_entry); -+ if (qh->nak_frame == 0xFFFF) { -+ hcd->fiq_state->kick_np_queues = 1; -+ } - } - } - } -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 f9acef2..d3e2035 100644 ---- a/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c -+++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c -@@ -99,11 +99,12 @@ int32_t dwc_otg_hcd_handle_intr(dwc_otg_hcd_t * dwc_otg_hcd) - DWC_SPINLOCK(dwc_otg_hcd->lock); - /* Check if HOST Mode */ - if (dwc_otg_is_host_mode(core_if)) { -- local_fiq_disable(); -- /* Pull in from the FIQ's disabled mask */ -- gintmsk.d32 = gintmsk.d32 | ~(dwc_otg_hcd->fiq_state->gintmsk_saved.d32); -- dwc_otg_hcd->fiq_state->gintmsk_saved.d32 = ~0; -- -+ if (fiq_enable) { -+ local_fiq_disable(); -+ /* Pull in from the FIQ's disabled mask */ -+ gintmsk.d32 = gintmsk.d32 | ~(dwc_otg_hcd->fiq_state->gintmsk_saved.d32); -+ dwc_otg_hcd->fiq_state->gintmsk_saved.d32 = ~0; -+ } - - if (fiq_fsm_enable && ( 0x0000FFFF & ~(dwc_otg_hcd->fiq_state->haintmsk_saved.b2.chint))) { - gintsts.b.hcintr = 1; -@@ -114,8 +115,10 @@ int32_t dwc_otg_hcd_handle_intr(dwc_otg_hcd_t * dwc_otg_hcd) - gintsts.b.sofintr = 1; - } - gintsts.d32 &= gintmsk.d32; -+ -+ if (fiq_enable) -+ local_fiq_enable(); - -- local_fiq_enable(); - if (!gintsts.d32) { - goto exit_handler_routine; - } -@@ -328,8 +331,8 @@ int32_t dwc_otg_hcd_handle_sof_intr(dwc_otg_hcd_t * hcd) - } - } - } -- -- hcd->fiq_state->next_sched_frame = next_sched_frame; -+ if (fiq_enable) -+ hcd->fiq_state->next_sched_frame = next_sched_frame; - - tr_type = dwc_otg_hcd_select_transactions(hcd); - if (tr_type != DWC_OTG_TRANSACTION_NONE) { -diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c -index dc27b24..07b1808 100644 ---- a/drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c -+++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c -@@ -527,9 +527,9 @@ int hcd_init(dwc_bus_dev_t *_dev) - * IRQ line, and calls hcd_start method. - */ - #ifdef PLATFORM_INTERFACE -- retval = usb_add_hcd(hcd, platform_get_irq(_dev, 0), IRQF_SHARED | IRQF_DISABLED); -+ retval = usb_add_hcd(hcd, platform_get_irq(_dev, fiq_enable ? 0 : 1), IRQF_SHARED | IRQF_DISABLED); - #else -- retval = usb_add_hcd(hcd, _dev->irq, IRQF_SHARED | IRQF_DISABLED); -+ retval = usb_add_hcd(hcd, _dev->irq, IRQF_SHARED | IRQF_DISABLED); - #endif - if (retval < 0) { - goto error2; -diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c -index 4d5a24c..8706a5c 100644 ---- a/drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c -+++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c -@@ -634,7 +634,7 @@ static int schedule_periodic(dwc_otg_hcd_t * hcd, dwc_otg_qh_t * qh) - DWC_LIST_INSERT_TAIL(&hcd->periodic_sched_ready, &qh->qh_list_entry); - } - else { -- if(DWC_LIST_EMPTY(&hcd->periodic_sched_inactive) || dwc_frame_num_le(qh->sched_frame, hcd->fiq_state->next_sched_frame)) -+ if(fiq_enable && (DWC_LIST_EMPTY(&hcd->periodic_sched_inactive) || dwc_frame_num_le(qh->sched_frame, hcd->fiq_state->next_sched_frame))) - { - hcd->fiq_state->next_sched_frame = qh->sched_frame; - -@@ -830,7 +830,7 @@ void dwc_otg_hcd_qh_deactivate(dwc_otg_hcd_t * hcd, dwc_otg_qh_t * qh, - DWC_LIST_MOVE_HEAD(&hcd->periodic_sched_ready, - &qh->qh_list_entry); - } else { -- if(!dwc_frame_num_le(hcd->fiq_state->next_sched_frame, qh->sched_frame)) -+ if(fiq_enable && !dwc_frame_num_le(hcd->fiq_state->next_sched_frame, qh->sched_frame)) - { - hcd->fiq_state->next_sched_frame = qh->sched_frame; - } -diff --git a/drivers/usb/host/dwc_otg/dwc_otg_pcd_linux.c b/drivers/usb/host/dwc_otg/dwc_otg_pcd_linux.c -index 5d310df..4b32941 100644 ---- a/drivers/usb/host/dwc_otg/dwc_otg_pcd_linux.c -+++ b/drivers/usb/host/dwc_otg/dwc_otg_pcd_linux.c -@@ -59,6 +59,8 @@ - #include "dwc_otg_driver.h" - #include "dwc_otg_dbg.h" - -+extern bool fiq_enable; -+ - static struct gadget_wrapper { - dwc_otg_pcd_t *pcd; - -@@ -1222,13 +1224,13 @@ int pcd_init(dwc_bus_dev_t *_dev) - */ - #ifdef PLATFORM_INTERFACE - DWC_DEBUGPL(DBG_ANY, "registering handler for irq%d\n", -- platform_get_irq(_dev, 0)); -- retval = request_irq(platform_get_irq(_dev, 0), dwc_otg_pcd_irq, -+ platform_get_irq(_dev, fiq_enable ? 0 : 1)); -+ retval = request_irq(platform_get_irq(_dev, fiq_enable ? 0 : 1), dwc_otg_pcd_irq, - IRQF_SHARED, gadget_wrapper->gadget.name, - otg_dev->pcd); - if (retval != 0) { - DWC_ERROR("request of irq%d failed\n", -- platform_get_irq(_dev, 0)); -+ platform_get_irq(_dev, fiq_enable ? 0 : 1)); - free_wrapper(gadget_wrapper); - return -EBUSY; - } --- -1.9.3 -