[RFC PATCH 0/2] staging: tidspbridge: detecting wdt from baseimage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is an alternate solution for:

WARNING: at arch/arm/mach-omap2/omap_l3_smx.c:162 omap3_l3_app_irq...
In-band Error seen by IVA_SS  at address 0

Instead of setting CONFIG_TIDSPBRIDGE_WDT3 to 'default y', these patches
include the code to be compiled for runtime detection of this feature
based on baseimage symbols.

As mentioned in the description of the first patch, we will lose the option
to set a current overflow timeout and the default will be kept as 5 seconds.
This can be replaced by a debugfs/sysfs entry if needed, I didn't include
such a patch as we first need to decide which fix to take (between this and
default y for CONFIG_TIDSPBRIDGE_WDT3[1]).

[1] http://www.mail-archive.com/linux-omap@xxxxxxxxxxxxxxx/msg62119.html

Omar Ramirez Luna (2):
  staging: tidspbridge: always compile dsp wdt code
  staging: tidspbridge: detect wdt3 feature at runtime

 drivers/staging/tidspbridge/Kconfig                |   16 -------------
 drivers/staging/tidspbridge/core/tiomap3430.c      |   10 +++++--
 drivers/staging/tidspbridge/core/wdt.c             |   24 +-------------------
 .../tidspbridge/include/dspbridge/_chnl_sm.h       |    4 ---
 4 files changed, 8 insertions(+), 46 deletions(-)

-- 
1.7.4.1

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux