summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-31ENGR00293588 OTA failed to update in Kitkatkk4.4.2_1.0.0-alphaguoyin.chen
Kitkat introduce set_metadata and set_metadata_recursive into recovery.git, which need kernel have below config update: Add CONFIG_EXT4_FS_SECURITY for imx6dlq Align imx6s's ext4 config with imx6 Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-12-26ENGR00293329 Audio will block when HDMI-DVI interface pluggedShengjiu Wang
Don't send hdmi_audio uevent when HDMI-DVI connected. Signed-off-by: Shengjiu Wang <b02247@freescale.com>
2013-12-20ENGR00292372 Add consumer IR support in android 4.4Ke Qinghua
Fix EVK SL build failed. Signed-off-by: Ke Qinghua <qinghua.ke@freescale.com>
2013-12-19ENGR00292372 Add consumer IR support in android 4.4Ke Qinghua
Add IR char driver,mx6_ir driver,epit driver and update configuration for support IR. Signed-off-by: Ke Qinghua <qinghua.ke@freescale.com>
2013-12-18ENGR00292598 Enable EPIT driverKe Qinghua
Add EPIT driver Signed-off-by: Ke Qinghua <qinghua.ke@freescale.com>
2013-12-12ENGR00283354 Wifi:fix one suspend&resume for new wifi driverJianzheng Zhou
In rtl8723as new driver, it introduce CONFIG_MMC_PM_KEEP_POWER , in fact our platform is using boarddata->keep_power_at_suspend to config mmc host's MMC_PM_KEEP_POWER capability.Just remove it will make suspend&resume OK. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-12-11ENGR00284562 Net:adjust net configJianzheng Zhou
Android vpn API setFwmarkRule needs enable CONFIG_IP_MULTIPLE_TABLES. Or it will throw the following exception: I/LegacyVpnRunner( 2685): Aborting I/LegacyVpnRunner( 2685): java.lang.IllegalStateException: command '32 interface fwmark rule add ppp0' failed with '400 32 Failed to add fwmark rule (Success)' I/LegacyVpnRunner( 2685):at com.android.server.NetworkManagementService. setMarkedForwarding(NetworkManagementService.java:1475) I/LegacyVpnRunner( 2685):at com.android.server.ConnectivityService$VpnCallback .setMarkedForwarding(ConnectivityService.java:3779) I/LegacyVpnRunner( 2685):at com.android.server.connectivity.Vpn$LegacyVpnRunne .execute(Vpn.java:1101) Additionally, I clean up net config to strictly align with AOSP's new recommended kernel config in http://source.android.com/devices/tech/kernel.html Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-12-04ENGR00281863 config:enable two enable ARM_ERRATAJianzheng Zhou
Align with two commits in BSP branch: dec85ef ENGR00271977-2 imx6{s}_defconfig: enable ARM_ERRATA_775420 c483abd ENGR00271977-1 imx6_defconfig: enable PL310_ERRATA_769419 Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-12-04ENGR00290619 ethernet:Tune ethernet performanceJianzheng Zhou
According to AOSP's recommended kernel config, RT scheduler is only needed. Strictly align with AOSP, it will contribute about 40M in Gigabit net performance. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-12-04ENGR00290615 Wifi:Update rtl8723as wifi driverJianzheng Zhou
Update rtl8723as driver from realtek. New version is 20131126_RTL8723A_WiFi_linux_v4.1.8_9660_BT_V2.15_P17. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-12-04ENGR00290463 revert exact pages allocator to fix system reboot issueXianzhong
System reboot occur during 1080p recording if exit MovieStudio after play a mixed clip with single HDMI, Vivante's intial feedback is alloc_pages_exact/free_pages_exact APIs are not stable in some kernel, In other side, need check if some memory size miscalculated is hided by this optimization. Temporarily this optimization shall be reverted to fix the critical issue. Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-11-29ENGR00215174 HDMI video: use default video mode when HDMI cable plug.Liu Xiaowen
In original implement, HDMI driver will use the last video mode when cable plugin. Change the mechanism, use default video mode seting in bootargs. Signed-off-by: Liu Xiaowen <b37945@freescale.com>
2013-11-29ENGR00289999 fixed gc880 invalid command state messageXianzhong
gpu kernel dump the error message when enable DEBUG mode: gckCONTEXT_Update(1493): State 0x0518 is not mapped. gckCONTEXT_Update(1493): State 0x0520 is not mapped. gckCONTEXT_Update(1493): State 0x0518 is not mapped. gckCONTEXT_Update(1493): State 0x0520 is not mapped. align gpu kernel driver to fix the error message Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-11-29ENGR00288588 fixed system reboot when run webGL testXianzhong
this is a fake recovery to cause system reboot, when run http://people.mozilla.org/~sicking/webgl/ray.html the fix is to disable GPU recovery in Chrome browser, Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-11-29ENGR00283031 [GPU]Integrate 4.6.9p13 release kernel driverXianzhong
Integrate GPU 4.6.9p13 release kernel driver for Android. Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-11-22workqueue: convert BUG_ON()s in __queue_delayed_work() to WARN_ON_ONCE()sTejun Heo
commit fc4b514f2727f74a4587c31db87e0e93465518c3 upstream. 8852aac25e ("workqueue: mod_delayed_work_on() shouldn't queue timer on 0 delay") unexpectedly uncovered a very nasty abuse of delayed_work in megaraid - it allocated work_struct, casted it to delayed_work and then pass that into queue_delayed_work(). Previously, this was okay because 0 @delay short-circuited to queue_work() before doing anything with delayed_work. 8852aac25e moved 0 @delay test into __queue_delayed_work() after sanity check on delayed_work making megaraid trigger BUG_ON(). Although megaraid is already fixed by c1d390d8e6 ("megaraid: fix BUG_ON() from incorrect use of delayed work"), this patch converts BUG_ON()s in __queue_delayed_work() to WARN_ON_ONCE()s so that such abusers, if there are more, trigger warning but don't crash the machine. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Xiaotian Feng <xtfeng@gmail.com> Signed-off-by: Shuah Khan <shuah.khan@hp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 3ff0aeceb49aca3f99c37189e949bf43bfd393a0)
2013-10-25ENGR00284988 Camera recording kernel crash on WFD sourcejb4.3_1.0.0-gaRichard Liu
Fix kernel crash issue meet when do 720p Camera recording on WFD source side, the crash is related with timer schedule, fixed by add protection code in gckOS_StartTimer function. Kernel crash log: [<c004ffec>] (__bug+0x1c/0x28) from [<c00a7e00>] (queue_delayed_work_on+0x10c/0x148) [<c00a7e00>] (queue_delayed_work_on+0x10c/0x148) from [<c046f4d0>] (gckOS_StartTimer+0x44/0x84) [<c046f4d0>] (gckOS_StartTimer+0x44/0x84) from [<c047f4ac>] (gckHARDWARE_SetPowerManagementState+0xa24/0xa5c) [<c047f4ac>] (gckHARDWARE_SetPowerManagementState+0xa24/0xa5c) from [<c046e608>] (gckOS_Broadcast+0xb8/0xe8) [<c046e608>] (gckOS_Broadcast+0xb8/0xe8) from [<c0475734>] (_TryToIdleGPU+0xd8/0x18c) [<c0475734>] (_TryToIdleGPU+0xd8/0x18c) from [<c0476cdc>] (gckEVENT_Notify+0x2dc/0x4c8) [<c0476cdc>] (gckEVENT_Notify+0x2dc/0x4c8) from [<c047d494>] (gckHARDWARE_Interrupt+0x58/0x68) [<c047d494>] (gckHARDWARE_Interrupt+0x58/0x68) from [<c04693a8>] (threadRoutine+0x20/0x78) [<c04693a8>] (threadRoutine+0x20/0x78) from [<c00ad0c8>] (kthread+0x80/0x88) [<c00ad0c8>] (kthread+0x80/0x88) from [<c004d408>] (kernel_thread_exit+0x0/0x8) Signed-off-by: Richard Liu <r66033@freescale.com> Acked-by: Jason Liu
2013-10-23ENGR00278452 PU: fix system hang if run Audio loop testRobin Gong
cpufreq and pu power management will oprate the same register, it looks should keep them operating in order not concurrent. Then use the cpufreq mutex in xPU driver to make sure. Another code bug is in pu power management which base regulator framework, we set the reister directly not regulator, then there is the chance set_volatage will miss the chance if this time voltage setting as the last time setting before PU disable, but we have to do this, so add regulator_sync_voltage to force sync the voltage setting. The drawback is setting twice... Note: This patch is temporary and supposed to be replaced it once we find the root cause. Signed-off-by: Robin Gong <b38343@freescale.com> Acked-by: Jason Liu
2013-10-15ENGR00275869 wifi: update new rtl8723as wifi driverJianzheng Zhou
Base on rtl8723as driver(v4.1.8_9180.20130927_BTCOEX20130528_ver3.3_beta) still do the following changes for imx6: 1.add imx6 in Makefile. 2.fix suspend/resume issue.Just refactor runtime_pm in suspend. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-10-15ENGR00277333 gpu: Enable OT limitation for gc880Loren HUANG
Enable OT limitation for gc880, without this limitation 3D core may stall system bus when it is running at a very low clock. Signed-off-by: Loren HUANG <b02279@freescale.com> Acked-by: Shawn Guo
2013-09-26netfilter: qtaguid: rate limit some of the printksJP Abgrall
Some of the printks are in the packet handling path. We now ratelimit the very unlikely errors to avoid kmsg spamming. Signed-off-by: JP Abgrall <jpa@google.com> Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-09-26netfilter: xt_qtaguid: Allow tracking loopbackJP Abgrall
In the past it would always ignore interfaces with loopback addresses. Now we just treat them like any other. This also helps with writing tests that check for the presence of the qtaguid module. Signed-off-by: JP Abgrall <jpa@google.com> Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-09-26netfilter: xt_qtaguid: extend iface stat to report protocolsJP Abgrall
In the past the iface_stat_fmt would only show global bytes/packets for the skb-based numbers. For stall detection in userspace, distinguishing tcp vs other protocols makes it easier. Now we report ifname total_skb_rx_bytes total_skb_rx_packets total_skb_tx_bytes total_skb_tx_packets {rx,tx}_{tcp,udp,ohter}_{bytes,packets} Bug: 6818637 Signed-off-by: JP Abgrall <jpa@google.com> Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-09-26netfilter: xt_qtaguid: remove AID_* dependency for access controlJP Abgrall
qtaguid limits what can be done with /ctrl and /stats based on group membership. This changes removes AID_NET_BW_STATS and AID_NET_BW_ACCT, and picks up the groups from the gid of the matching proc entry files. Signed-off-by: JP Abgrall <jpa@google.com> Change-Id: I42e477adde78a12ed5eb58fbc0b277cdaadb6f94 Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-09-26netfilter: qtaguid: Don't BUG_ON if create_if_tag_stat failsPontus Fuchs
If create_if_tag_stat fails to allocate memory (GFP_ATOMIC) the following will happen: qtaguid: iface_stat: tag stat alloc failed ... kernel BUG at xt_qtaguid.c:1482! Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com> Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-09-26netfilter: xt_qtaguid: fix error exit that would keep a spinlock.JP Abgrall
qtudev_open() could return with a uid_tag_data_tree_lock held when an kzalloc(..., GFP_ATOMIC) would fail. Very unlikely to get triggered AND survive the mayhem of running out of mem. Signed-off-by: JP Abgrall <jpa@google.com>
2013-09-25ENGR00278899: IPU: fix screen black issue on mx6dqRichard Liu
black screen occurs sometimes during 720p recording when wifi display enable and WFD source is HDMI 720p or 1080p output. This patch is a workaround to fix IPU CSC done on IPU0. console log is below when black screen happen: imx-ipuv3 imx-ipuv3.1: IPU Warning - IPU_INT_STAT_10 = 0x00080000 imx-ipuv3 imx-ipuv3.1: IPU Warning - IPU_INT_STAT_5 = 0x00800000 imx-ipuv3 imx-ipuv3.1: IPU Warning - IPU_INT_STAT_5 = 0x00800000 Signed-off-by: Richard Liu <r66033@freescale.com> Acked-by: Jason Liu
2013-09-18ENGR00278701 use alloc_pages instead of alloc_pages_exactRichard Liu
alloc_pages_exact is added by Vivante in gpu git commit e3debfdf4c3f29519ee66d60ac9b5e4db4c41026. alloc_pages_exact is more easy make memory fragment, video playback and camera recording case need large physical continue memory, using alloc_pages_exact will easy make memory fragment and no large physical continue memory, it will impact video playback and camera case. Signed-off-by: Richard Liu <r66033@freescale.com>
2013-09-13ENGR00279566: ARM: i.MX6: Enable L2 cache I/D prefetch functionJason Liu
This patch enable the L2 cache I/D prefetch function on the i.MX6 family. Based on Android test result, it has the performance improvement: Before the change: JB4.3 RC1: Browser Vellamo scores See The Sun Canvas: 51.16 Browser Vellamo scores Deep Sea Canvas: 65.41 Browser Vellamo scores Aquarium Canvas: 50.23 After the change: Browser Vellamo scores See The Sun Canvas: 70.28 Browser Vellamo scores Deep Sea Canvas: 78.57 Browser Vellamo scores Aquarium Canvas: 53.73 Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit a51f75c318241c26bf7d41ad92c0e255b925863c)
2013-09-12ENGR00278179 query gpu memory with seperate typesXianzhong
In this new implementation, gpu memory can be queried with seperate types, root@sabresd_6dq:/ # ./gmem_info Pid Total Reserved Contiguous Virtual Nonpaged Name 2367 143,845,248 42,575,232 98,124,288 0 3,145,728 /system/bin/surfaceflinger 3870 46,297,952 19,706,720 26,066,944 0 524,288 com.android.email 2794 32,802,656 9,753,952 22,524,416 0 524,288 com.android.inputmethod.latin 2844 21,292,240 20,767,952 0 0 524,288 com.android.launcher 2735 15,037,248 14,512,960 0 0 524,288 com.android.systemui 2658 13,812,480 10,273,536 0 0 3,538,944 system_server 3706 10,759,776 10,235,488 0 0 524,288 com.android.settings 3654 10,742,656 10,218,368 0 0 524,288 com.android.contacts 3725 10,719,552 10,195,264 0 0 524,288 com.android.gallery3d 3793 10,715,456 10,191,168 0 0 524,288 com.android.calendar 3837 10,707,904 10,183,616 0 0 524,288 com.android.mms 3774 10,707,072 10,182,784 0 0 524,288 com.android.calculator2 2370 262,144 0 0 0 262,144 /system/bin/mediaserver ------------------------------------------------------------------------------ 13 337,702,384 178,797,040 146,715,648 0 12,189,696 Summary - - 5,752,336 - - - Availabe Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-08-30ENGR00277045-2 align gpu baseaddr with ram base addressjb4.3_1.0.0-betaXianzhong
2G above address will be converted to gpu virtual address in i.MX6, gpu baseaddr can be used to reduce contiguous memory address conversion, the benifit for gpu applications and external memory consumers(VPU/IPU) have, - gpu mmu performance penalty is reduce in most cases, - more system memory can be exported for external use Signed-off-by: Xianzhong <b07117@freescale.com>
2013-08-30ENGR00277045-1 fix system reboot with video playbackXianzhong
gpu virtual memory cannot be allocated for external use this issue occurs in ARD board with 2G above memory address Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-08-29ENGR00277238 Make default ION memory to be 16Mguoyin.chen
ION memory is only used in camera for taking picture. Default size is met for two buffers of 5M pixel YUV420. Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-08-28ENGR00277003 IPUv3: Update IC RGB2YUV CSC matrix parametersLiu Ying
This patch updates IPUv3 IC RGB to YUV color space conversion matrix's parameters to align with the default VIV GPU CSC implementation so that we may pass relevant Android CTS test cases. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 17b6dbef8eea2051a6c3819f3690c21948bd0e93)
2013-08-27ENGR00275429 Recovery: Screen flashing found when wipe data in recovery modeguoyin.chen
Android Recovery UI framework uses FBIOPUT_VSCREENINFO with yoffset update to update display. Both elcdif and ipuv3 FB will set var.activate to be FB_ACTIVATE_FORCE in driver's probe. User space will get the VSCREENINFO with activate been set to FB_ACTIVE_FORCE. Each FBIOPUT_VSCREENINFO with only yoffset update will make the driver reinit.The activate should be cleared once set_par() been finished. HDMI driver should only reinit hdmi only when the mode changed. fbmem will broadcast MODE_CHANGE for each FBIOPUT_VSCREENINFO ioctl even it only have yoffset update. Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-08-27ENGR00276811 mx6-msl: usb: add 2ns delay between clear PHY CLKGATE and PHY_PWDPeter Chen
It can fix the bugs that there is no SOF after resume sometimes. Without SOF after resume the device will go to suspend again, and host assumes it is disconnected and sends reset later. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2013-08-23ENGR00274478 fix gpu memory multi-lock failureXianzhong
this issue cause system boot with multi-user switch on JB4.3, root cause is gpu memory cannot be multi-locked in same process, gpu memory lock reference is added to allow multi-lock in kernel driver. Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-08-22ENGR00276339 - [evk_6sl]: enable usb cameraFang Hui
add USB_VIDEO to kernel Signed-off-by: Fang Hui <b31070@freescale.com>
2013-08-22ENGR00276287 Adjust key mapping for 6sl evkguoyin.chen
Make onboard key pad can be met the normal android usage: SW6: Volume +, SW7: Volume -, SW11: POWER, SW10: UP SW13: DOWN, SW12: BACK, SW9:LEFT, SW8: RIGHT Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-08-22ENGR00275991-2 wifi: Modify config to support rtl8723as wifiJianzheng Zhou
Change rule of cfg80211 and wireless driver to support rtl8723as. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-08-22ENGR00275991-1 config:update defconfig for imx6slJianzheng Zhou
Use savedefconfig to create imx6sl's compact defconfig.this will make config real and clean. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-08-19ENGR00275613 [EVK_6SL]: system crash when boot without 5640 cameraFang Hui
Fixed by add check for cam->sensor Signed-off-by: Fang Hui <b31070@freescale.com>
2013-08-16ENGR00275408 Wifi: fix rtl8723as reopen error issueJianzheng Zhou
We enable WOW mode last commit, it will try to set mmc host's power capability to keep power on at some points. Delete this act which is bond with one force scan action. For we didn't add force scan function in it. We are using runtime_pm feature to trigger scan when doing init. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-08-16Merge remote-tracking branch 'fsl-linux-sdk/imx_3.0.35_4.1.0' into ↵guoyin.chen
imx_3.0.35_android
2013-08-16ENGR00275459 mx6sl: csi/v4l: fix kernel dump when do repeated streamon/streamoffrel_imx_3.0.35_4.1.0_rc3rel_imx_3.0.35_4.1.0Robby Cai
When do stream on/off in pair repeatedly without close the v4l device, the kernel dump happens: Unable to handle kernel paging request at virtual address 00200200 pgd = c0004000 [00200200] *pgd=00000000 Internal error: Oops: 805 [#1] PREEMPT Modules linked in: CPU: 0 Not tainted (3.0.35-06027-gbbea887-dirty #21) PC is at camera_callback+0x15c/0x1c8 LR is at 0x200200 pc : [<c03747d0>] lr : [<00200200>] psr: 20000193 sp : c0b0fed0 ip : 00200200 fp : daf1102c r10: daf11034 r9 : 00100100 r8 : daf11098 r7 : daf11100 r6 : daf11034 r5 : daf11000 r4 : c0b0e000 r3 : 00000000 r2 : 00000001 r1 : 00000001 r0 : daf114b8 Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 10c53c7d Table: 8cc8c059 DAC: 00000015 ... Process swapper (pid: 0, stack limit = 0xc0b0e2e8) Stack: (0xc0b0fed0 to 0xc0b10000) fec0: c0374674 822a4000 daf11000 c0b87eb4 fee0: 00000000 00000027 c0b73904 c0b305e0 00000001 c0374090 da2bbbe0 c0b0e000 ff00: 00000000 c00acc58 00000000 c0098058 00989680 c0b305e0 c0b0e000 00000000 ff20: 00000002 00000001 c0b0e000 00000000 00000000 c00acdf8 00000000 c0b0e000 ff40: 9e4e7881 c0b305e0 c0b0e000 c00aee44 c00aed9c c0b43c6c 00000027 c00ac634 ff60: 00000270 c004257c ffffffff f2a00100 00000027 c00417cc 20000000 00000006 ff80: f40c4000 00000000 c0b0e000 c0b6a924 c0b1876c c0b18764 80004059 412fc09a ffa0: 00000000 00000000 c0063a40 c0b0ffc0 c004f758 c0042690 80000013 ffffffff ffc0: c004266c c004294c c0b1013c 00000000 c10960c0 c00088ec c0008334 00000000 ffe0: 00000000 c00337d4 10c53c7d c0b10060 c00337d0 80008040 00000000 00000000 [<c03747d0>] (camera_callback+0x15c/0x1c8) from [<c0374090>] (csi_irq_handler+ 0x7c/0x160) [<c0374090>] (csi_irq_handler+0x7c/0x160) from [<c00acc58>] ( handle_irq_event_percpu+0x50/0x19c) [<c00acc58>] (handle_irq_event_percpu+0x50/0x19c) from [<c00acdf8>] ( handle_irq_event+0x54/0x84) [<c00acdf8>] (handle_irq_event+0x54/0x84) from [<c00aee44>] (handle_fasteoi_irq +0xa8/0x160) [<c00aee44>] (handle_fasteoi_irq+0xa8/0x160) from [<c00ac634>] ( generic_handle_irq+0x2c/0x40) [<c00ac634>] (generic_handle_irq+0x2c/0x40) from [<c004257c>] (handle_IRQ +0x30/0x84) [<c004257c>] (handle_IRQ+0x30/0x84) from [<c00417cc>] (__irq_svc+0x4c/0xa8) [<c00417cc>] (__irq_svc+0x4c/0xa8) from [<c0042690>] (default_idle+0x24/0x28) [<c0042690>] (default_idle+0x24/0x28) from [<c004294c>] (cpu_idle+0x8c/0xc0) [<c004294c>] (cpu_idle+0x8c/0xc0) from [<c00088ec>] (start_kernel+0x294/0x2e4) [<c00088ec>] (start_kernel+0x294/0x2e4) from [<80008040>] (0x80008040) Code: e88c4200 e595c030 e5858030 e8881800 (e58c8000) ---[ end trace 224150c26d2bd5f7 ]--- The root cause is cam->enc_counter is not re-initialized to 0 when calls STREAMOFF ioctl, and then in DQBUF ioctl wait_event_interruptible_timeout() sees the condition is true and access cam->done_q queue which has no strict check and could be empty. This patch adds the re-initialization and the sanity check. Also, add the pointer check for memcpy because the destination may be NULL on UERSPTR mode. Signed-off-by: Robby Cai <R63905@freescale.com>
2013-08-16ENGR00275432 [Android_MX6SL_EVK] Failed to boot if extsd card attached to SDguoyin.chen
Register boot SD's SDHC first Make boot SD as no removeable and always present Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-08-15ENGR00275391 i.mx6d/q: disable the double linefill feature of PL310Jason Liu
The L2 cache controller(PL310) version on the i.MX6D/Q is r3p1-50rel0 The L2 cache controller(PL310) version on the i.MX6DL/SOLO/SL is r3p2 But according to ARM PL310 errata: 752271 ID: 752271: Double linefill feature can cause data corruption Fault Status: Present in: r3p0, r3p1, r3p1-50rel0. Fixed in r3p2 Workaround: The only workaround to this erratum is to disable the double linefill feature. This is the default behavior. [in the commit:c483abdca0011c1342bad42f16925dd5a2c7c091] ENGR00271977-1 imx6_defconfig: enable PL310_ERRATA_769419 There is one error in the commit log, the correct PL310 version in i.MX6DL/SOLO should be r3p2, not r3p1-50rel0. so, PL310_ERRATA_769419, will not apply to i.MX6DL/SOLO. But since we build one image to support both i.MX6Q and i.MX6DL/SOLO, the ideal solution is to manage this errata in dynamic way. Someone did post the patches here: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-January/145593.html As the discussion on the above link, Russell King, the ARM arch maintainer said: "As I already said, there is _no_ point making the barrier conditional; it's probably more expensive to make it conditional than just to execute it every time. But we still might as well optimize it away if we are running _only_ on platforms which _do_ _not_ have that errata." So, we will turn on the PL310_ERRATA_769419 on both i.MX6D/Q and i.MX6DL/SOLO. Signed-off-by: Jason Liu <r64343@freescale.com>
2013-08-13ENGR00275011 Make V4L2_PIX_FMT_YUYV visiable as CSI output formatRobby Cai
V4L2_PIX_FMT_YUYV is the original format from camera and the source format for CSI. This format may be needed on Android to do CSC before encoding. We can now choose V4L2_PIX_FMT_YUYV or V4L2_PIX_FMT_UYVY for the CSI output format. Signed-off-by: Robby Cai <R63905@freescale.com>
2013-08-13ENGR00275011 - [EVK_6SL]: enable cameraFang Hui
enable ion device for evk_6sl, so takepicture can use it's memory Signed-off-by: Fang Hui <b31070@freescale.com>
2013-08-13ENGR00215174 wifi:fix rtl8723as suspend resume fail issueJianzheng Zhou
Fix "Timeout Waiting for Hardware Interrupt on mmc1" issue in suspend/resume which is caused by not keep power in host. Enable WOW mode in card side to enable MMC_KEEP_POWER capability of host will tackle this issue. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>