WDT3 is used as a way to detect dsp hangs, as of now its
control is left to arm side driver, so, no requests should
be received by the dsp to enable/disable this clock.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/services/clk.c |6 --
1 files changed, 4
DSP can request between 5 types of clocks: IVA2, GPT (5-8), WDT (3),
MCBSP (1-5) or SSI clock. This function will be useful in case
a specific clock framework is associated with the clock.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/services/clk.c | 89
This patch moves and simplifies the code used to enable/disable
all the requested peripheral clocks.
Signed-off-by: Omar Ramirez Luna omar.rami...@hotmail.com
---
arch/arm/plat-omap/include/dspbridge/clk.h |4 ++
drivers/dsp/bridge/rmgr/drv_interface.c|1 +
drivers/dsp/bridge/wmd
On 4/27/2010 8:34 PM, Nishanth Menon wrote:
On 04/27/2010 08:29 PM, Omar Ramirez Luna wrote:
This set of patches remove clk module from the services layer.
Now:
- GPT 5-8 are controlled through DM Timer framework.
- MCBSP clocks are enabled by requesting the proper mcbsp device.
- WDT is left
On 4/28/2010 2:46 AM, Felipe Contreras wrote:
On Wed, Apr 28, 2010 at 4:29 AM, Omar Ramirez Lunaomar.rami...@ti.com wrote:
This patch switches to use DM timer framework instead of
a custom one for GPT timers, currently dsp can make use of
gpt 5, 6, 7 or 8.
I heard someone that was using gpt
This is only used for GPTs and should be addressed once
those clocks are requested using DM timer framework.
This patch might break functionality.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/clk.h | 14 +-
drivers/dsp/bridge
If we fail if a clk handle is NULL during initialization
then there is no need to keep checking every time if the
handle is NULL for enable/disable/set_32k/get_use_cnt.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/services/clk.c | 68
Since it is not used, remove.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/rmgr/drv_interface.c |9 -
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c
b/drivers/dsp/bridge/rmgr/drv_interface.c
index
Instead of querying the use count, balanced number of
enable/disable should be enforced across the system.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/clk.h | 13 -
drivers/dsp/bridge/services/clk.c | 23
Remove unusued struct and typedef.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/clk.h |2 --
drivers/dsp/bridge/services/clk.c |7 ---
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/arch/arm/plat-omap/include
Rename file and move it outside services layer.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/Makefile |4 +-
drivers/dsp/bridge/rmgr/drv_interface.c |2 +
drivers/dsp/bridge/services/clk.c | 334 ---
drivers
to be
called only when dsp is requesting a MCBSP clock.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/services/clk.c | 52 +
drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 77 ---
2 files changed, 52 insertions(+), 77
This patch fixes the wrong name for ssi clock,
now it has been split into ssr and sst for fck. It
handle ick/ssr_fck/sst_fck clocks with one call to
disable/enable.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/services/clk.c | 56
This patch moves and simplifies the code used to enable/disable
all the requested peripheral clocks.
Signed-off-by: Omar Ramirez Luna omar.rami...@hotmail.com
---
arch/arm/plat-omap/include/dspbridge/clk.h |4 ++
drivers/dsp/bridge/rmgr/drv_interface.c|1 +
drivers/dsp/bridge/wmd
Change the way iva2 clock is handled and since the rate is needed
for this clock only, make the function get_rate to be specific for
iva clock.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/clk.h | 16 +--
drivers/dsp/bridge/services/clk.c
This patch ensure a balanced number of enable/disable
calls is made.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/services/clk.c | 37 +
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/drivers/dsp/bridge
This patch switches to use DM timer framework instead of
a custom one for GPT timers, currently dsp can make use of
gpt 5, 6, 7 or 8.
Signed-off-by: Omar Ramirez Luna omar.rami...@hotmail.com
---
drivers/dsp/bridge/services/clk.c | 25 ---
drivers/dsp/bridge/wmd
DSP can request between 5 types of clocks: IVA2, GPT (5-8), WDT (3),
MCBSP (1-5) or SSI clock. This function will be useful in case
a specific clock framework is associated with the clock.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/services/clk.c | 89
WDT3 is used as a way to detect dsp hangs, as of now its
control is left to arm side driver, so, no requests should
be received by the dsp to enable/disable this clock.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/services/clk.c |6 --
1 files changed, 4
Use omap mcbsp to enable mcbsp clocks
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/services/clk.c | 24 ++--
1 files changed, 10 insertions(+), 14 deletions(-)
diff --git a/drivers/dsp/bridge/services/clk.c
b/drivers/dsp/bridge/services
Remove unused clock sys_ck
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/clk.h |1 -
drivers/dsp/bridge/services/clk.c |1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/arm/plat-omap/include/dspbridge/clk.h
Instead of two calls to enable/disable for ick and fck use
one call to enable/disable both.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/clk.h | 35 +--
drivers/dsp/bridge/services/clk.c | 14
Rename services_clk_* to dsp_clk_*
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/clk.h | 78
drivers/dsp/bridge/services/clk.c | 88 ++--
drivers/dsp/bridge/services/services.c
The value returned by clk_get on error is not NULL.
This checks if the value returned is an error or not.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/services/clk.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dsp/bridge
On 4/28/2010 11:36 AM, Menon, Nishanth wrote:
Kevin Hilman had written, on 04/28/2010 11:29 AM, the following:
Omar Ramirez Lunaomar.rami...@ti.com writes:
On 4/28/2010 2:46 AM, Felipe Contreras wrote:
On Wed, Apr 28, 2010 at 4:29 AM, Omar Ramirez Lunaomar.rami...@ti.com wrote:
This
Replace CHNL_E_WAITTIMEOUT with ETIMEDOUT
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dspdefs.h |2 +-
drivers/dsp/bridge/core/chnl_sm.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/plat-omap
Replace CHNL_E_NOIORPS with EIO
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dspdefs.h |2 +-
drivers/dsp/bridge/core/chnl_sm.c |2 +-
drivers/dsp/bridge/rmgr/strm.c |4 ++--
3 files changed, 4 insertions
Replace CHNL_E_INVALIDMEMBASE with EINVAL
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/chnl.h |2 +-
arch/arm/plat-omap/include/dspbridge/io.h |2 +-
drivers/dsp/bridge/core/io_sm.c |4 ++--
drivers/dsp/bridge/pmgr/io.c
Replace CHNL_E_INVALIDWORDSIZE with EINVAL
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/chnl.h |2 +-
arch/arm/plat-omap/include/dspbridge/io.h |2 +-
drivers/dsp/bridge/pmgr/chnl.c |2 +-
drivers/dsp/bridge/pmgr/io.c
Replace CHNL_E_NOEOS with EPERM
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dspdefs.h |2 +-
drivers/dsp/bridge/core/chnl_sm.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/plat-omap/include
Replace CHNL_E_ISR with EIO
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/chnl.h|2 +-
arch/arm/plat-omap/include/dspbridge/dspdefs.h |2 +-
arch/arm/plat-omap/include/dspbridge/io.h |2 +-
drivers/dsp/bridge/core/io_sm.c
Replace CHNL_E_BADCHANID with ECHRNG
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dspdefs.h |4 ++--
drivers/dsp/bridge/core/chnl_sm.c |4 ++--
drivers/dsp/bridge/rmgr/strm.c |2 +-
3 files changed, 5
Replace CHNL_E_MAXCHANNELS with ECHRNG
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/chnl.h |2 +-
drivers/dsp/bridge/pmgr/chnl.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/plat-omap/include
Replace COD_E_ZLCREATEFAILED with ESPIPE
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/cod.h |2 +-
arch/arm/plat-omap/include/dspbridge/dev.h |4 ++--
drivers/dsp/bridge/pmgr/cod.c |2 +-
3 files changed, 4 insertions
Replace CHNL_E_OUTOFSTREAMS with ENOSR
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dspdefs.h |2 +-
drivers/dsp/bridge/core/chnl_sm.c |2 +-
drivers/dsp/bridge/rmgr/strm.c |2 +-
3 files changed, 3
Replace CHNL_E_EOS with EPIPE
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dspdefs.h |4 ++--
drivers/dsp/bridge/core/chnl_sm.c |2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/plat-omap/include
Replace DSP_ETRANSLATE with ESRCH
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/rmgr/node.c |6 +++---
drivers/dsp/bridge/rmgr/strm.c |8
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr/node.c b/drivers/dsp
This are not used anymore, removing header file with
custom error codes.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/errbase.h | 177
arch/arm/plat-omap/include/dspbridge/ntfy.h|1 -
arch/arm/plat-omap/include
Replace DSP_ECHANGEDURINGENUM with EIDRM
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/mgr.h |2 +-
drivers/dsp/bridge/rmgr/dbdcd.c|2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/plat-omap/include
Replace DSP_EWRONGSTATE with EBADR
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/node.h | 12 ++--
arch/arm/plat-omap/include/dspbridge/proc.h |6 +++---
drivers/dsp/bridge/core/msg_sm.c|2 +-
drivers/dsp/bridge/rmgr
Some comments and pieces of code make reference to the same
error code, this was removed to just have one instance where
the code won't get too nested or complicated.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/cfg.h |9 ++-
arch/arm
Replace DSP_ESYMBOL with ESPIPE
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/nldrdefs.h |2 +-
arch/arm/plat-omap/include/dspbridge/node.h |8
drivers/dsp/bridge/rmgr/nldr.c |4 ++--
3 files changed, 7
Document which specifies the uses of kernel error codes within
bridge driver, in some case it also contains a common use case
were the error might be seen.
It was generated from a previously deleted errbase.h file.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
Documentation
Only removed error codes which now does not exist,
previously those were not used in the code.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/chnl.h |1 -
arch/arm/plat-omap/include/dspbridge/cod.h |3 ---
arch/arm/plat-omap/include
Replace DSP_EDCDLOADBASE with EACCES
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dbdcd.h |8
drivers/dsp/bridge/rmgr/dbdcd.c |4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/plat-omap
Replace DSP_EDCDGETSECT with EACCES
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dbdcd.h |2 +-
drivers/dsp/bridge/rmgr/dbdcd.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/plat-omap/include
Replace DSP_EPENDING with EPIPE
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/strm.h |2 +-
drivers/dsp/bridge/rmgr/strm.c |6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/plat-omap/include
Replace DSP_ENOTFOUND with ENOENT
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/proc.h |6 +++---
drivers/dsp/bridge/pmgr/dmm.c |6 +++---
drivers/dsp/bridge/rmgr/drv.c |8
drivers/dsp/bridge/rmgr
Replace DSP_ENOSECT with ENXIO
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dblldefs.h |8
drivers/dsp/bridge/pmgr/dbll.c |4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/plat-omap
Replace DSP_EDCDNOAUTOREGISTER with EACCES
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dbdcd.h |6 +++---
drivers/dsp/bridge/rmgr/dbdcd.c |2 +-
drivers/dsp/bridge/rmgr/proc.c |4 ++--
3 files changed, 6
Replace DSP_EOVERLAYMEMORY with ENXIO
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/nldrdefs.h |2 +-
arch/arm/plat-omap/include/dspbridge/rmm.h |2 +-
drivers/dsp/bridge/rmgr/rmm.c |2 +-
3 files changed, 3
Replace DSP_EDCDPARSESECT with EACCES
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dbdcd.h |2 +-
drivers/dsp/bridge/rmgr/dbdcd.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/plat-omap/include
Replace DSP_EDCDREADSECT with EACCES
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dbdcd.h | 12 ++--
drivers/dsp/bridge/rmgr/dbdcd.c |4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/arm/plat
Replace DSP_EDPMSUSPEND with EPERM
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/rmgr/drv_interface.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c
b/drivers/dsp/bridge/rmgr/drv_interface.c
index
Replace DSP_EBADSEGID with EBADR
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/rmgr/node.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr/node.c b/drivers/dsp/bridge/rmgr/node.c
index 159ea2b..1c7742a 100644
Replace COD_E_SYMBOLNOTFOUND with ESPIPE
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/cod.h |4 ++--
arch/arm/plat-omap/include/dspbridge/dev.h |2 +-
drivers/dsp/bridge/pmgr/cod.c |2 +-
drivers/dsp/bridge/rmgr/node.c
Replace DSP_EDYNLOAD with EILSEQ
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dblldefs.h |2 +-
arch/arm/plat-omap/include/dspbridge/nldrdefs.h |2 +-
drivers/dsp/bridge/pmgr/dbll.c |8
drivers/dsp/bridge/rmgr
Replace CHNL_E_NOMEMMAP with EFAULT
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dspdefs.h |2 +-
drivers/dsp/bridge/core/io_sm.c| 22 +++---
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git
Replace COD_E_NOSYMBOLSLOADED with ESPIPE
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/cod.h |6 +++---
arch/arm/plat-omap/include/dspbridge/dev.h |2 +-
drivers/dsp/bridge/pmgr/cod.c |6 +++---
3 files changed, 7
Replace CHNL_E_MGREXISTS with EEXIST
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/chnl.h |2 +-
drivers/dsp/bridge/pmgr/chnl.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/plat-omap/include
Replace CHNL_E_BUFSIZE with EINVAL
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dspdefs.h |2 +-
drivers/dsp/bridge/core/chnl_sm.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/plat-omap
Replace CHNL_E_NOIOC with EREMOTEIO
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dspdefs.h |2 +-
drivers/dsp/bridge/core/chnl_sm.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/plat-omap
This is not an error code, however the way it is coded
it doesn't expects a success (zero) either, return a positive
number on this case given that this is not an error code.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dbdcd.h |2 +-
drivers
the error is not descriptive enough, and
it also lists a common scenario where the error might be seen.
Finally, the last patch replaces a custom typedef (dsp_status)
with an int type as now those errors can have a negative value.
Omar Ramirez Luna (40):
DSPBRIDGE: Remove success codes
DSPBRIDGE
Split the functions to have cleaner error handling paths, this
will aslo cover a case where bridge initialization has failed but
device entry is still available which leads to unknown behavior.
Omar Ramirez Luna (2):
DSPRBIDGE: split probe from bridge initializations
DSPBRIDGE: reorganize
.
Reported-by: Ameya Palande ameya.pala...@nokia.com
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/rmgr/drv_interface.c | 178 ++-
1 files changed, 105 insertions(+), 73 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c
b
Renaming and deleting unused variables, few enhancement on
error path.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/rmgr/drv_interface.c | 28 +++-
1 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr
Mismatch between index for gpt clocks will result in writting
out of bounds into dsp clock timer array when requesting gpt8,
for the other gpt the bogus code is being masked as it falls
within the array's range.
Discovered-by: Ernesto Ramos Falcon erne...@ti.com
Signed-off-by: Omar Ramirez Luna
after jiffes macro.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
Signed-off-by: Ernesto Ramos Falcon erne...@ti.com
---
arch/arm/plat-omap/include/dspbridge/clk.h |2 +
drivers/dsp/bridge/core/dsp-clock.c| 38 ++
drivers/dsp/bridge/core/ue_deh.c
driver version 0.3
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/rmgr/drv_interface.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c
b/drivers/dsp/bridge/rmgr/drv_interface.c
index cdc7f1b..f0f089b
On 7/4/2010 5:53 AM, Felipe Contreras wrote:
On Thu, Jun 24, 2010 at 1:41 AM, Greg KHg...@kroah.com wrote:
The default is always 'n' so you don't need this.
Also, this enables the driver to be built on x86, which fails horribly,
and I don't think is what you really want to have happen :)
So
From: Menon, Nishanth n...@ti.com
Remove custom globaltypes.h header
Signed-off-by: Nishanth Menon n...@ti.com
---
drivers/staging/tidspbridge/hw/GlobalTypes.h | 291 --
drivers/staging/tidspbridge/hw/MMURegAcM.h |1 -
drivers/staging/tidspbridge/hw/hw_defs.h
From: Menon, Nishanth n...@ti.com
Remove yet another custom definition header
Signed-off-by: Nishanth Menon n...@ti.com
---
.../staging/tidspbridge/include/dspbridge/dbdefs.h |1 -
.../staging/tidspbridge/include/dspbridge/dbtype.h | 69
From: Menon, Nishanth n...@ti.com
Signed-off-by: Nishanth Menon n...@ti.com
---
drivers/staging/tidspbridge/core/chnl_sm.c |4 ++--
drivers/staging/tidspbridge/core/io_sm.c |2 +-
drivers/staging/tidspbridge/core/msg_sm.c |2 +-
Rebased version of the patches that couldn't be applied.
Original set:
[1] http://marc.info/?l=linux-kernelm=127897548706686w=2
[2] http://marc.info/?l=linux-kernelm=127982129204138w=2
Fixed unexpected change while replacing IN modifier
[3] http://marc.info/?l=linux-kernelm=127972475532227w=2
From: Omar Ramirez Luna x0084...@ti.com
Currently, we walk through the entire page table
translating the addresses from virtual to physical
whenever we map a buffer. This custom implementation
is meant to be optimized for performance, but it bypasses
the standard memory management subsystem
There is no need to keep sending notifications once an mmu fault
or sys error was sent, one notification should be enough to
signal the reload of baseimage for recovery.
Signed-off-by: Omar Ramirez Luna x00o...@ti.com
Acked-by: Hari Kanigeri h-kanige...@ti.com
---
drivers/dsp/bridge/wmd/ue_deh.c
From: Guzman Lugo Fernando x0095...@ti.com
This patch removes the SEEK_* redefinitions in host_os.h
Signed-off-by: Guzman Lugo Fernando x0095...@ti.com
Acked-by: Omar Ramirez Luna x00o...@ti.com
---
arch/arm/plat-omap/include/dspbridge/host_os.h |6 --
1 files changed, 0 insertions
From: Fernando Guzman Lugo x0095...@ti.com
Added support for reloading the base image after DSP error
Signed-off-by: Hari Kanigeri h-kanige...@ti.com
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
Signed-off-by: Omar Ramirez Luna x00o...@ti.com
---
arch/arm/plat-omap/include/dspbridge
From: Hari Kanigeri h-kanige...@ti.com
Changed the Bridge boot process in order to avoid the
usage of the IDLE boot mode and the DSP ROM.
Signed-off-by: Hari Kanigeri h-kanige...@ti.com
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/dsp/bridge/wmd/tiomap3430.c | 60
From: Guzman Lugo Fernando x0095...@ti.com
This patch removes some variables that are not used.
Signed-off-by: Guzman Lugo Fernando x0095...@ti.com
Signed-off-by: Omar Ramirez Luna x00o...@ti.com
---
arch/arm/plat-omap/include/dspbridge/cfgdefs.h | 10 --
drivers/dsp/bridge/rmgr/drv.c
From: Guzman Lugo Fernando x0095...@ti.com
This patch change the call to RD_MEM_32_VOLATILE and
WR_MEM_32_VOLATILE with __raw_readl and __raw_writel
Signed-off-by: Guzman Lugo Fernando x0095...@ti.com
Acked-by: Omar Ramirez Luna x00o...@ti.com
---
drivers/dsp/bridge/hw/MLBRegAcM.h| 41
From: Guzman Lugo Fernando x0095...@ti.com
This patch changes address resources to void __iomem *
Ported for linux-omap-pm bridge-2.6.29 branch.
Signed-off-by: Guzman Lugo Fernando x0095...@ti.com
Signed-off-by: Omar Ramirez Luna x00o...@ti.com
---
arch/arm/plat-omap/include/dspbridge
From: Armando Uribe de Leon x0095...@ti.com
This patch increases the supported opp numbers within bridge driver,
it will also fix the opp table to be fully populated in the shared memory;
before, it was causing the QOS test reported numbers to be inaccurate.
Signed-off-by: Armando Uribe de Leon
From: Omar Ramirez Luna omar.rami...@ti.com
Fixed typo in Bridge traces for Msg and Nldr.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
Acked-by: Hari Kanigeri h-kanige...@ti.com
---
drivers/dsp/bridge/pmgr/msg.c |2 +-
drivers/dsp/bridge/rmgr/nldr.c |2 +-
2 files changed, 2
From: Omar Ramirez Luna omar.rami...@ti.com
trivial spacing cleanup for memory module
Signed-off-by: Omar Ramirez Luna x00o...@ti.com
---
drivers/dsp/bridge/services/mem.c | 26 +-
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/dsp/bridge
From: Omar Ramirez Luna omar.rami...@ti.com
There is no need to walk the process context list
on exit, remove all process instead without exception.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/rmgr/drv_interface.c | 32 +-
1 files
From: Omar Ramirez Luna omar.rami...@ti.com
This patch defines a new DSP_PWRERROR event which can be
registered for notification. It uses the same mechanism
as MMUFAULT or SYSERROR. And will notify to ayn client registered
if there was any error when entering forced sleep state.
Signed-off
From: Omar Ramirez Luna omar.rami...@ti.com
This patch implements the DSP Reset procedure to be made
on bridge exit before unregistering the constraints set by dsp.
Signed-off-by: Hari Kanigeri h-kanige...@ti.com
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/rmgr
From: Omar Ramirez Luna omar.rami...@ti.com
Trivial patch to change spaces for tabs, and a proper indentation
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/wmd/tiomap3430.c | 280 +++---
drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 402
-by: Omar Ramirez Luna omar.rami...@ti.com
Acked-by: Hari Kanigeri h-kanige...@ti.com
---
drivers/dsp/bridge/rmgr/proc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr/proc.c b/drivers/dsp/bridge/rmgr/proc.c
index d4d20ae..43f2d29 100644
--- a/drivers
From: Hari Kanigeri h-kanige...@ti.com
This patch increases the DMM from 64MB to 256MB.
Signed-off-by: Hari Kanigeri h-kanige...@ti.com
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dmm.h |2 +-
drivers/dsp/bridge/pmgr/dmm.c
to 256MB
DSPBRIDGE: Keep DMM resources for other nodes on PROC_Detach
Omar Ramirez Luna (2):
DSPBRIDGE: Removing UTIL module
DSPBRIDGE: Shared memory size increased to 5MB
arch/arm/plat-omap/include/dspbridge/dmm.h |2 +-
arch/arm/plat-omap/include/dspbridge/util.h | 122
From: Fernando Guzman Lugo x0095...@ti.com
Allow separate load/run addresses for Dynamic Loader.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/pmgr/dbll.c | 17 +
1 files changed, 13 insertions
From: Hari Kanigeri h-kanige...@ti.com
Removed resource cleanup for DMM on PROC_Detach due to LCML
detaching the processor when it deletes each node, therefore
resource cleanup was freeing DMM resources of other nodes that
might be still in use, this would cause unexpected behavior,
possibly MMU
From: Fernando Guzman Lugo x0095...@ti.com
This patch resets MMU and DSP by writintg into those registers,
this will solve MMU faults occured when the processor is stopped.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
Signed-off-by: Fernando Guzman x0095...@ti.com
---
drivers/dsp/bridge
From: Hari Kanigeri h-kanige...@ti.com
This patch fixes bridge crash in UUID_UuidToString function. This
error was due to user pointers not handled properly.
Signed-off-by: Hari Kanigeri h-kanige...@ti.com
---
drivers/dsp/bridge/pmgr/wcd.c | 147 ++---
1
Increase the shared memory size to 5MB, bridge
initialization should reserve 5MB of shared memory
by default.
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/rmgr/drv_interface.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dsp
less code nesting for MemUnMap
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com
---
drivers/dsp/bridge/wmd/tiomap3430.c | 271 +--
1 files changed, 130 insertions(+), 141 deletions(-)
diff --git a/drivers/dsp/bridge/wmd/tiomap3430.c
b/drivers/dsp/bridge/wmd
From: Hari Kanigeri h-kanige...@ti.com
Physical address is not needed anymore since Mapping migration
to open source API, this patch removes the physical table entry.
Signed-off-by: Hari Kanigeri h-kanige...@ti.com
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
401 - 500 of 688 matches
Mail list logo