summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-06omap4: pm: Mask Secure interrupt which gate lowpower statesti-2.6.35-omap4-L24.9-p4Santosh Shilimkar
This patch masks the Secure interrupt at wakeupgen level. This interrupt is controlled only from secure SW and non-secure SW should be immune to it. Additinaly the L3 error interupts are masked since they are gating the lowpower states. This hack will be removed once the L3 error-handling is in place Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
2010-09-06omap4: pm: Fix the cpuidle barriers and restore CPUx stateSantosh Shilimkar
This patch fixes two issues. 1. Barriers in the cpudile path 2. Restoration of CPUx state, to avoid accidental transitions of CPUx power domain to low power states while executing WFI outside the idle thread. Secure software and hotplog path are examples of this problems Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
2010-09-06omap4: pm-debug: Fix the pwrdomain clockdomain countersSantosh Shilimkar
This patch fixes the lopw power powerdomain, clockdomain counters One can mount the debug fs and check the low-power state e.g $cat /proc/sys/debug/pm_debug/count | grep mpu $mpu_pwrdm (ON),OFF:87186,RET:2605909,INA:0,ON:2693096,RET-LOGIC-OFF:2605909 Additionaly MPU OFF is programmed to OFF instead of RET in suspend path Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
2010-08-31TILER: Don't assign mem struct inside kernel listti-2.6.35-omap4-L24.9-p3David Sin
It's possible that the mem struct assignment inside of the kernel list doesn't assigned properly (e.g. NULL), which causes a deref crash during the free call. Signed-off-by: David Sin <davidsin@ti.com>
2010-08-31TILER: Fix when get element from empty listFernando Guzman Lugo
If free_list is empty the element won't be assigned to NULL. Causing issues when freeing the pages. Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com> Signed-off-by: Bhavin Shah <bshah@ti.com> Signed-off-by: David Sin <davidsin@ti.com>
2010-08-31SYSLINK: ipc - Remove _ON_STACK from recovery completion declarationsAngela Stegmaier
This patch fixes the following kernel-hacking compile errors that are present when the kernel-hacking for mutexes and spinlocks is enabled: drivers/dsp/syslink/multicore_ipc/ipc_drv.c:76: error: braced-group within expression allowed only inside a function drivers/dsp/syslink/multicore_ipc/ipc_drv.c:77: error: braced-group within expression allowed only inside a function The fix is to change the DECLARE_COMPLETION_ON_STACK declarations to DECLARE_COMPLETION. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-08-31SYSLINK: ipc- check queue validity in messageq_putAngela Stegmaier
If there has been an MPU-side app failure and the message queue has been deleted, then obj could be NULL in the local put part of messageq_put. So, after setting obj, obj should be checked for NULL-ness before being de-referenced. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-08-26omap4: Disable auto gating for PER M3 dividerti-2.6.35-omap4-L24.9-p2Rajendra Nayak
Disable auto gating for PER M3 divider Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
2010-08-26OMAP4: file_permissions: Setting to 644 file permissionsRicardo Perez Olivares
Changing 755 file permissions to 644 proper ones Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
2010-08-26SYSLINK: notify - increase reserved events to 4Suman Anna
IPC uses the first 4 notify events for internal notifications. The Notify reserved events should therefore be 4, and not 3. Otherwise, it would allow the users to get notified and send a wrong value back using event 3. Signed-off-by: Suman Anna <s-anna@ti.com>
2010-08-26omap:iodmm-allow unconditional cache flushHari Kanigeri
This patch reverts back Russell King's patch to do the userspace buffer cache flush. This allows unconditional cache operations and this patch is considered as a hack patch until the new API is alinged with MM team Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
2010-08-26SYSLINK:IPU-PM: avoiding down_timeout when failingMiguel Vadillo
In ipu_pm_notifications the PID_DEATH/SUSPEND/RESUME event is sent to IPU and a semaphore is used to wait for IPU to respond. In the case when the send_event is failing, there is no need to called the semaphore and wait. Also if one of the proc (SYS/APP) is not responding an error is returned without sending the notification to the other proc. Signed-off-by: Miguel Vadillo <vadillo@ti.com> Signed-off-by: Juan Gutierrez <jgutierrez@ti.com> Signed-off-by: Angela Stegmaier <angelabaker@ti.com> Signed-off-by: Paul Hunt <hunt@ti.com>
2010-08-26omap:iodmm-exclude Tiler buffers from mapped informationHari Kanigeri
Exclude Tiler buffers from getting added to runtime mapped information since they are already pre-mapped in TLB. By including them in runtime leads to MMU fault during the process shutdown. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
2010-08-26Kernel changes for hwmod and omap_device initialization for GPU.Hemant Hariyani
2010-08-26Merge branch 'display-next' of ↵Ricardo Perez Olivares
git://dev.omapzoom.org/pub/scm/axelcx/kernel-display into L24x9-p2
2010-08-26Fix this compile warning when building with CONFIG_OMAP2_DSS_HDMIAnand Gadiyar
disabled. CC arch/arm/mach-omap2/board-4430sdp.o arch/arm/mach-omap2/board-4430sdp.c:459: warning: 'sdp4430_hdmi_device' defined but not used Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Cc: Mythri P K <mythripk@ti.com>
2010-08-26Fix this build warning when CONFIG_PANEL_PICO_DLP is disabled:Anand Gadiyar
CC arch/arm/mach-omap2/board-4430sdp.o arch/arm/mach-omap2/board-4430sdp.c:506: warning: 'sdp4430_picoDLP_device' defined but not used Signed-off-by: Anand Gadiyar <gadiyar@ti.com> CC: Mythri P K <mythripk@ti.com> CC: David Anders <x0132446@ti.com>
2010-08-26Assigning correct address to vma structMayuresh Janorkar
Wrong adress was getting assigned to vma struct So a dump was observed in FB with TILER buffers. Signed-off-by: Mayuresh Janorkar <mayur@ti.com>
2010-08-26OMAP4: CONFIG_ARM_THUMB: Setting default value as 'y'Ricardo Perez Olivares
Enabling with default value 'y' the macro: CONFIG_ARM_THUMB Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
2010-08-26OMAP4: DEVTMPFS_MOUNT: Setting macro with 'y'Ricardo Perez Olivares
Setting the DEVTMPFS_MOUNT option with default value 'y' This enable the mount of TMPFS. Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
2010-08-26Merge branch 'display-next' of ↵Ricardo Perez Olivares
git://dev.omapzoom.org/pub/scm/axelcx/kernel-display into L24x9-p2
2010-08-25quick fix from DaveRob Clark
(placeholder until someone sends a proper patch) Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: David Anders <x0132446@ti.com>
2010-08-25OMAP4:OMAPFB: register callback to get notified of resolution changeRob Clark
v2: now protect fb_set_var() with console-sem to avoid making console driver unhappy, and remove unneeded call to notify manager of the resolution change v3: change for updated notifier mechanism in dss, to make it work properly in case there are more than one framebuffer. Signed-off-by: Rob Clark <rob@ti.com>
2010-08-25OMAP4:DSS: add generic notifier mechanismRob Clark
A callback can be registered by the dssdev client in order to be notified of resolution changes, for example an external monitor that is hot-plugged. Multiple clients can now register for notification from one dssdev, and the notification mechanism can be extended in the future to add other events. Note that this patch supersedes the "OMAP4:DSS: add callback to notify client of resolution change" patch.
2010-08-20OMAP4: RLS_Notes: Updating RLS Notes for L24.9-p1 releaseti-2.6.35-omap4-L24.9-p1Ricardo Perez Olivares
Updating Release Notes for L24.9-p1 release Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
2010-08-20ASoC: ABE DAI: Remove modem from backend portMargarita Olaya Cabrera
The MODEM connection should be done only in the FE (front end) Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
2010-08-20ASoC: ABE DAI: Connect abe ports with McBSPMargarita Olaya Cabrera
Use abe hal api to make the following link BT_PORT -> McBSP1 MM_EXT -> McBSP2 Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
2010-08-20OMAP4: Add back OMAP4 ASoC component devicesMargarita Olaya Cabrera
The omap4 ASoC devices were removed are result of merge conflicts Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
2010-08-20ASoC: SDP4430: Set mcbsp as slaveMargarita Olaya Cabrera
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
2010-08-20omap:iodmm-fixes to unmap and general cleanupHari Kanigeri
Following fixes are handled by this patch. - Unmapping of buffers - Pages were allocated on 1K boundary instead of 4K - Use VM_IO to detect IO buffers (eg: Tiler) - Page_cache_release calls were missing for unmapping part. - find_containing_mapping function is extended to check based on da address as well. This is needed during unmap part - Cleanup of unused header files in iodmm.c - Cleanup of unused case to clear PTE entries. PTE entries would get cleaned during device release - Added function headers with description - Uncommented omap_delete_vmm_pool code. This patch still has a hack code to handle Tiler buffer. Tiler buffer should be handle dby VM_IO itself and doesn't need to depend on flags. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
2010-08-20omap:iommu-load cam register before flushing the entryHari Kanigeri
The flush_iotlb_page is not loading the cam register before flushing the cam entry. This causes wrong entry to be flushed out from the TLB, and if the entry happens to be a locked TLB entry it would lead to MMU faults. The fix is to load the cam register with the address to be flushed before flushing the TLB entry. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
2010-08-20SYSLINK:IPU-PM: set mpu cstrs for IVAHD/ISSMiguel Vadillo
When Ducati requests a resource to A9 the mpu wakeup latency needs to be raised. The mpu latency is set to IPU_PM_MAX_LAT when requesting IVAHD and ISS and to IPU_PM_MIN_LAT when both are released. Signed-off-by: Miguel Vadillo <vadillo@ti.com> Signed-off-by: Juan Gutierrez <jgutierrez@ti.com> Signed-off-by: Paul Hunt <hunt@ti.com>
2010-08-20omap: i2c: Avoid compilation error in case the header is included multiple ↵Subramaniam C.A
times. Added defines to avoid compliation error. Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
2010-08-20OMAP4:DSS:DISPC enable error recovery to disable enable the TV when sync_lostMythri P K
Signed-off-by: Mythri P K <mythripk@ti.com>
2010-08-19OMAP4: RLS_Notes: Updating release notes x-loader and PM sections:Ricardo Perez Olivares
Updating: About x-loader compilation for ES1.0 in the release notes The PM defconfig details in ection 3.5 Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
2010-08-19OMAP4: devices.c: Aligning display-next vs intgration branchRicardo Perez Olivares
Aligning the content of devices.c file under: arch/arm/mach-omap2/devices.c This patch ensures that all changes from display-next branch are included into integration branch. Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
2010-08-19Merge branch 'display-next' of ↵Ricardo Perez Olivares
git://dev.omapzoom.org/pub/scm/axelcx/kernel-display into L24.9-for-P1
2010-08-19Merge branch 'btfm_next' of git://dev.omapzoom.org/pub/scm/raja/L24x-btfm ↵Ricardo Perez Olivares
into L24.9-for-P1
2010-08-19OMAP4:DSS:HDMI:Patch to correct interlaced timing in HDMIMythri P K
Signed-off-by: Mythri P K <mythripk@ti.com> Sujeet Baranwal <s-baranwal@ti.com>
2010-08-19DPI HWMOD change for USE_DSI_PLLMayuresh Janorkar
Fix Compilation error after enabling CONFIG_OMAP2_DSS_USE_DSI_PLL Signed-off-by: Mayuresh Janorkar <mayur@ti.com>
2010-08-19OMAP4:DSS:DISPC Fix error introduced with hwmod changes for pico_DLPMythri P K
2010-08-18Staging: ti-st: Fix FM drv dependency in KconfigRaja-Mani
Add Video For Linux dependency for FM driver in Kconfig. This will fix the following errors in FM driver when V4L is disabled in defconfig. ERROR: "video_device_release" [drivers/staging/ti-st/fm_drv.ko] undefined! ERROR: "video_register_device" [drivers/staging/ti-st/fm_drv.ko] undefined! ERROR: "video_device_alloc" [drivers/staging/ti-st/fm_drv.ko] undefined! ERROR: "video_unregister_device" [drivers/staging/ti-st/fm_drv.ko] undefined! ERROR: "video_devdata" [drivers/staging/ti-st/fm_drv.ko] undefined! ERROR: "video_ioctl2" [drivers/staging/ti-st/fm_drv.ko] undefined! Signed-off-by: Raja-Mani <x0102026@ti.com>
2010-08-17OMAP4: RLS_Notes: Adding RLS notes for L24.9ti-2.6.35-omap4-L24.9Ricardo Perez Olivares
Adding Release Notes for L24.9 Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
2010-08-17SYSLINK: procmgr- add memcpy to proc4430_read and update proc4430_writeAngela Stegmaier
This patch adds a memcpy to proc4430_read and fixes the memcpy in proc4430_write to have the proper source and destination pointers. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-08-17SYSLINK: ipc - allow thread detach command during recoveryAngela Stegmaier
Allow thread detach ioctl command to go through even while recovering from faults so that userspace thread can exit. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-08-17omap:iommu-enable user to va supportHari Kanigeri
Enabled the support to map the buffer that is passed through mmap. Also comment out the vmm delete pool function as this is broken. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
2010-08-17Merge branch 'audio-for-24.9' of ↵Ricardo Perez Olivares
git://dev.omapzoom.org/pub/scm/misael/kernel-audio into L24x9
2010-08-17ASoC: report jack detect for SDP4430David Anders
Only report the jack detect signal for sdp4430. Signed-off-by: David Anders <x0132446@ti.com>
2010-08-17SYSLINK: ipc - track the heapbufmp allocationsSuman Anna
The heapbufmp allocations are currently not tracked, and so any call to getExtendedStats returns the wrong values. This patch enables the tracking, and also fixes a minor bug with tracking in the heapbufmp_alloc call. The bug is modifying the statistics in alloc not based on the tracking flag. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
2010-08-17omap:iommu-add spinlock protection to event list accessAngela Stegmaier
This patch adds spinlock protection to event list accesses in order to avoid list corruption. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>