.
-Version 2
* Wait untill there is no more rproc users before realoding the FW again
in order to make sure the recovery will work fine. As suggested by
Sjur BRENDELAND
Fernando Guzman Lugo (3):
remoteproc: add rproc_report_crash function to notify rproc crashes
remoteproc: recover a remoteproc
the remoteproc once using recover.
This will not change the state of the recovery entry, it will
only recovery the rproc if its state is RPROC_CRASHED
$ echo recover debugfs/remoteproc/remoteproc0/recovery
Signed-off-by: Fernando Guzman Lugo fernando.l...@ti.com
---
drivers/remoteproc/remoteproc_core.c
by an enum. I have only added mmufault
crash type. Remoteproc low-level drivers can add more types when needed.
Signed-off-by: Fernando Guzman Lugo fernando.l...@ti.com
---
Documentation/remoteproc.txt |7 +++
drivers/remoteproc/remoteproc_core.c | 80
-by: Fernando Guzman Lugo fernando.l...@ti.com
---
drivers/remoteproc/remoteproc_core.c | 37 +-
drivers/remoteproc/remoteproc_internal.h |1 +
include/linux/remoteproc.h |2 +
3 files changed, 39 insertions(+), 1 deletions(-)
diff --git
dma_alloc_coherent function.
Signed-off-by: Fernando Guzman Lugo fernando.l...@ti.com
---
drivers/rpmsg/virtio_rpmsg_bus.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/rpmsg/virtio_rpmsg_bus.c b/drivers/rpmsg/virtio_rpmsg_bus.c
index 590cfaf..1859f71 100644
the remoteproc once using recover.
This will not change the state of the recovery entry, it will
only recovery the rproc if its state is RPROC_CRASHED
$ echo recover debugfs/remoteproc/remoteproc0/recovery
Signed-off-by: Fernando Guzman Lugo fernando.l...@ti.com
---
drivers/remoteproc/remoteproc_core.c
.
Fernando Guzman Lugo (3):
remoteproc: add rproc_report_crash function to notify rproc crashes
remoteproc: recover a remoteproc when it has crashed
remoteproc: create debugfs entry to disable/enable recovery
dynamically
Documentation/remoteproc.txt |7 ++
drivers/remoteproc
-by: Fernando Guzman Lugo fernando.l...@ti.com
---
drivers/remoteproc/remoteproc_core.c | 28 +++-
drivers/remoteproc/remoteproc_internal.h |1 +
2 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/drivers/remoteproc/remoteproc_core.c
b/drivers/remoteproc
by an enum. I have only added mmufault
crash type. Remoteproc low-level drivers can add more types when needed.
Signed-off-by: Fernando Guzman Lugo fernando.l...@ti.com
---
Documentation/remoteproc.txt |7 +++
drivers/remoteproc/remoteproc_core.c | 80
-off-by: Ramesh Gupta grgu...@ti.com
Signed-off-by: Hari Kanigeri h-kanige...@ti.com
Signed-off-by: Fernando Guzman Lugo fernando.l...@ti.com
---
arch/arm/plat-omap/iommu.c | 41 ++---
1 files changed, 10 insertions(+), 31 deletions(-)
diff --git a/arch/arm/plat
From: Ramesh Gupta grgu...@ti.com
Signed-off-by: Ramesh Gupta grgu...@ti.com
Signed-off-by: Hari Kanigeri h-kanige...@ti.com
---
arch/arm/plat-omap/iommu.c | 22 --
1 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/arch/arm/plat-omap/iommu.c
From: Hari Kanigeri h-kanige...@ti.com
pgd and pte entries weren't getting flushed out leading to MMU faults.
Signed-off-by: Hari Kanigeri h-kanige...@ti.com
---
arch/arm/plat-omap/iommu.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git
-by: Felipe Contreras felipe.contre...@nokia.com
Signed-off-by: Fernando Guzman Lugo fernando.l...@ti.com
Signed-off-by: Felipe Contreras felipe.contre...@nokia.com
---
drivers/staging/tidspbridge/core/tiomap3430.c |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/drivers
Guzman Lugo fernando.l...@ti.com
Signed-off-by: Felipe Contreras felipe.contre...@nokia.com
---
drivers/staging/tidspbridge/core/tiomap3430.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/tidspbridge/core/tiomap3430.c
b/drivers/staging/tidspbridge/core
Version 6:
* Rebase on Russell King branch.
- for details see:
http://marc.info/?l=linux-omapm=129228495723001w=2
Version 5:
* Changes in iommu: create new api to set valid da range
- Change range variables to platform data structure.
Version 4:
* Changes in iommu: create new api to set valid
From: Guzman Lugo, Fernando x0095...@ti.com
If some fixed da address is wanted to be mapped and the page
is freed but it is used as gap, the mapping will fail.
This patch is fixing that and olny keeps the gap for
not fixed address.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
Acked
From: Guzman Lugo, Fernando x0095...@ti.com
This patch adds superpages support to fixed ad address
inside iommu_kmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
Acked-by: Hiroshi DOYU hiroshi.d...@nokia.com
---
arch/arm/plat-omap/iovmm.c | 62
From: Guzman Lugo, Fernando x0095...@ti.com
__iounmap function is wrong for OMAP architecture,
instead use iounmap which will call to the correct function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
Acked-by: Hiroshi DOYU hiroshi.d...@nokia.com
---
arch/arm/plat-omap/iovmm.c |2
From: Guzman Lugo, Fernando x0095...@ti.com
Some IOMMUs cannot use the whole 0x0 - 0x rage.
With this new API the valid range can be set.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
Acked-by: Hiroshi DOYU hiroshi.d...@nokia.com
---
arch/arm/plat-omap/include/plat/iommu.h |3
Misc fixes found while working with iovmm module. They are
needed in order to tidspbridge can work properly along with
iovmm module.
Version 7:
* Change 4/4 patch base on Felipe Contreras comments about
having start/end in platform data and struct iommu.
Version 6:
* Rebase on Russell King
From: Guzman Lugo, Fernando x0095...@ti.com
This patch adds superpages support to fixed ad address
inside iommu_kmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
Acked-by: Hiroshi DOYU hiroshi.d...@nokia.com
---
arch/arm/plat-omap/iovmm.c | 62
From: Guzman Lugo, Fernando x0095...@ti.com
Some IOMMUs cannot use the whole 0x0 - 0x range.
With this new API the valid range can be set.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
Acked-by: Hiroshi DOYU hiroshi.d...@nokia.com
---
arch/arm/mach-omap2/omap-iommu.c|8
From: Guzman Lugo, Fernando x0095...@ti.com
__iounmap function is wrong for OMAP architecture,
instead use iounmap which will call to the correct function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
Acked-by: Hiroshi DOYU hiroshi.d...@nokia.com
---
arch/arm/plat-omap/iovmm.c |2
From: Guzman Lugo, Fernando x0095...@ti.com
If some fixed da address is wanted to be mapped and the page
is freed but it is used as gap, the mapping will fail.
This patch is fixing that and olny keeps the gap for
not fixed address.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
Acked
Omap platform is omap_iounmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c
index 93a34d9..5489ca9 100644
--- a/arch
This patch adds superpages support to fixed ad address
inside iommu_kmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c | 62 +--
1 files changed, 36 insertions(+), 26 deletions(-)
diff --git a/arch/arm/plat
Some IOMMUs cannot use the whole 0x0 - 0x rage.
With this new API the valid range can be set.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/include/plat/iommu.h |3 ++
arch/arm/plat-omap/iommu.c | 33 +++
arch
on Davin Cohen's comments and rename it
to a proper name that describes what it is doing now.
*** BLURB HERE ***
Fernando Guzman Lugo (4):
iovmm: no gap checking for fixed address
iovmm: add superpages support to fixed da address
iovmm: replace __iounmap with omap_iounmap
iommu: create new api
If some fixed da address is wanted to be mapped and the page
is freed but it is used as gap, the mapping will fail.
This patch is fixing that and olny keeps the gap for
not fixed address.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c |4 ++--
1 files
on Davin Cohen's comments and rename it
to a proper name that describes what it is doing now.
*** BLURB HERE ***
Fernando Guzman Lugo (4):
iovmm: no gap checking for fixed address
iovmm: add superpages support to fixed da address
iovmm: replace __iounmap with omap_iounmap
iommu: create new api
This patch adds superpages support to fixed ad address
inside iommu_kmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c | 62 +--
1 files changed, 36 insertions(+), 26 deletions(-)
diff --git a/arch/arm/plat
Omap platform is omap_iounmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c
index 93a34d9..5489ca9 100644
--- a/arch
Some IOMMUs cannot use the whole 0x0 - 0x rage.
With this new API the valid range can be set.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/include/plat/iommu.h |3 ++
arch/arm/plat-omap/iommu.c | 33 +++
arch
If some fixed da address is wanted to be mapped and the page
is freed but it is used as gap, the mapping will fail.
This patch is fixing that and olny keeps the gap for
not fixed address.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c |4 ++--
1 files
-kernelm=128735502205183w=2
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/dsp-mmu.c |2 +-
drivers/staging/tidspbridge/rmgr/node.c|2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/tidspbridge/core/dsp-mmu.c
b
This set of patches fix some issues found in lastest tree.
Fernando Guzman Lugo (8):
staging: tidspbridge - remove req_addr from proc_map
staging: tidspbridge - add kconfig parameter for DMM size
staging: tidspbridge - change mmufault tasklet to a workqueue
staging: tidspbridge - fix
Timeout was not being initialized correctly and should
use time_is-before_jiffies, also make it a parameter
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/dsp-clock.c | 13 +++--
drivers/staging/tidspbridge/core/dsp-mmu.c |5
Now the SHM segments are not in lock tlbs, instead
they are in translation tables. So we cannot disable
twl in order to get the DSP stack dump.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/dsp-mmu.c |8
1 files changed, 0 insertions(+), 8
We don't need to manage the mmufault inside a tasklet
it is safer using a workqueue.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/dsp-mmu.c | 34 ++--
1 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/drivers
DSP stack dump is changed to GTP7 due to GPT8 is used
by DSP side apps
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/dsp-mmu.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/tidspbridge/core/dsp-mmu.c
b
The device address is assigned by tidspbridge no need for that parameter
anymore.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
.../tidspbridge/include/dspbridge/dspapi-ioctl.h |1 -
.../staging/tidspbridge/include/dspbridge/proc.h |3 --
drivers/staging/tidspbridge/pmgr
:
omap: iommu - create new api to set valid da range
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/Kconfig|8
drivers/staging/tidspbridge/core/tiomap3430.c | 20 ++--
.../tidspbridge/include/dspbridge/dsp
So that avoid non-killable process.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
.../staging/tidspbridge/include/dspbridge/sync.h | 13 +++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/tidspbridge/include/dspbridge/sync.h
b/drivers
This patch adds superpages support to fixed ad address
inside iommu_kmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c | 62 +--
1 files changed, 36 insertions(+), 26 deletions(-)
diff --git a/arch/arm/plat
Some IOMMUs cannot use the whole 0x0 - 0x range.
With this new API the valid range can be set.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/include/plat/iommu.h |3 +++
arch/arm/plat-omap/iommu.c | 29 +
arch
If some fixed da address is wanted to be mapped and the page
is freed but it is used as gap, the mapping will fail.
This patch is fixing that and olny keeps the gap for
not fixed address.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c |4 ++--
1 files
Omap platform is omap_iounmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c
index 93a34d9..5489ca9 100644
--- a/arch
.
Version 2:
* Removed iovmm: fixes for iovmm module that patch was already
sent.
* Modified iovmm: fix roundup for next area and end check for the
last area patch, base on Davin Cohen's comments and rename it
to a proper name that describes what it is doing now.
Fernando Guzman Lugo (4):
iovmm
mbox field of omap_mbox_queue structure is never assigned to
the mailbox owner. Causing kernel panic when dereference it.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/mailbox.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat
If some fixed da address is wanted to be mapped and the page
is freed but it is used as gap, the mapping will fail.
This patch is fixing that and olny keeps the gap for
not fixed address.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c |4 ++--
1 files
.
Version 2:
* Removed iovmm: fixes for iovmm module that patch was already
sent.
* Modified iovmm: fix roundup for next area and end check for the
last area patch, base on Davin Cohen's comments and rename it
to a proper name that describes what it is doing now.
Fernando Guzman Lugo (4
This patch adds superpages support to fixed ad address
inside iommu_kmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c | 62 +--
1 files changed, 36 insertions(+), 26 deletions(-)
diff --git a/arch/arm/plat
Omap platform is omap_iounmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c
index 93a34d9..5489ca9 100644
--- a/arch
Some IOMMUs cannot use the whole 0x0 - 0x rage.
With this new API the valid range can be set.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/include/plat/iommu.h |3 +++
arch/arm/plat-omap/iommu.c | 29 +
arch/arm
IV2 MMU capable addresses start from 0x1100
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c
index 75965a1..c0344f4 100644
Now these functions only map user space addresses to dsp virtual
addresses, so now the functions have a more meaningful name.
Also now user_to_dsp_map returns the mapped address.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/_tiomap.h | 24
We don't need to map iva2 iommu register base address
anymore.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/tiomap3430.c |3 ---
drivers/staging/tidspbridge/core/tiomap_io.c |3 +--
.../tidspbridge/include/dspbridge/cfgdefs.h
Now what iommu memory usage is kept track by iommu module
the functions reserve/unreserve_memory are not needed anymore.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
.../staging/tidspbridge/include/dspbridge/proc.h | 46
drivers/staging/tidspbridge/pmgr/dspapi.c
Dmm custom module is not needed anymore.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/Makefile |2 +-
drivers/staging/tidspbridge/core/tiomap3430.c |1 -
.../staging/tidspbridge/include/dspbridge/dev.h| 24 -
.../staging
hw directory was only being used for custom iommu implementation
APIs, so after the iommu module migration this directory is not
needed anymore.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/Makefile |3 +-
drivers/staging/tidspbridge/core
Now iommv module keeps track of iommu memory used,
we do not need resource cleanup for reserved
memories anymore.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
.../staging/tidspbridge/include/dspbridge/drv.h|4 --
drivers/staging/tidspbridge/rmgr/drv.c | 11
Now the tidspbridge uses the API's from
iovmm module.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/_tiomap.h |4 +-
drivers/staging/tidspbridge/core/io_sm.c | 121 ++
drivers/staging/tidspbridge/core/tiomap3430.c | 522
This patch removes all the custom mmu code remaining in
tiomap3430.c which is not needed anymore.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/_tiomap.h|2 -
drivers/staging/tidspbridge/core/tiomap3430.c | 425 -
2
Create dsp-mmu module and moves all the iommu code related to
this module.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/Makefile |2 +-
drivers/staging/tidspbridge/core/_deh.h|3 -
drivers/staging/tidspbridge/core/_tiomap.h
With changes for iommu migration mmufault report and dsp track
dump is broken, this patch fixes that.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/_deh.h |2 +
drivers/staging/tidspbridge/core/tiomap3430.c |2 +
drivers/staging
will be
sent.
- Rebase to the latest tidspbridge.
Version2
- Rebase to the latest staging-next tree commit:
a747d4b817daf95c64ac6396e27fddc66c83a811
Fernando Guzman Lugo (11):
staging: tidspbridge: replace iommu custom for opensource
implementation
staging: tidspbridge - move shared
Now iommu maps of shared memory segments are done in
bridge_brd_start and unmaped in bridge_brd_stop.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/_tiomap.h| 13 +++
drivers/staging/tidspbridge/core/io_sm.c | 125
IOMMU module most be selected when using tidspbridge, because
now tidsbridge depends on iommu module.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/Kconfig |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/tidspbridge
This patch adds superpages support to fixed ad address
inside iommu_kmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c | 61 ++-
1 files changed, 37 insertions(+), 24 deletions(-)
diff --git a/arch/arm/plat
If some fixed da address is wanted to be mapped and the page
is freed but it is used as gap, the mapping will fail.
This patch is fixing that and olny keeps the gap for
not fixed address.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c |4 ++--
1 files
.
Fernando Guzman Lugo (3):
iovmm: no gap checking for fixed address
iovmm: add superpages support to fixed da address
iovmm: replace __iounmap with omap_iounmap
arch/arm/plat-omap/iovmm.c | 67 ++-
1 files changed, 40 insertions(+), 27 deletions
Omap platform is omap_iounmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c
index 8006a19..75965a1 100644
--- a/arch
Now iommv module keeps track of iommu memory used,
we do not need resource cleanup for reserved
memories anymore.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
.../staging/tidspbridge/include/dspbridge/drv.h|4 --
drivers/staging/tidspbridge/rmgr/drv.c | 11
will be
sent.
- Rebase to the latest tidspbridge.
Fernando Guzman Lugo (11):
staging: tidspbridge: replace iommu custom for opensource
implementation
staging: tidspbridge - move shared memory iommu maps to tiomap3430.c
staging: tidspbridge - rename bridge_brd_mem_map/unmap to a proper
name
hw directory was only being used for custom iommu implementation
APIs, so after the iommu module migration this directory is not
needed anymore.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/Makefile |3 +-
drivers/staging/tidspbridge/core
Now what iommu memory usage is kept track by iommu module
the functions reserve/unreserve_memory are not needed anymore.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
.../staging/tidspbridge/include/dspbridge/proc.h | 46
drivers/staging/tidspbridge/pmgr/dspapi.c
With changes for iommu migration mmufault report and dsp track
dump is broken, this patch fixes that.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/_deh.h |2 +
drivers/staging/tidspbridge/core/tiomap3430.c |2 +
drivers/staging
Create dsp-mmu module and moves all the iommu code related to
this module.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/Makefile |2 +-
drivers/staging/tidspbridge/core/_deh.h|3 -
drivers/staging/tidspbridge/core/_tiomap.h
Now iommu maps of shared memory segments are done in
bridge_brd_start and unmaped in bridge_brd_stop.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/_tiomap.h| 13 +++
drivers/staging/tidspbridge/core/io_sm.c | 125
Now the tidspbridge uses the API's from
iovmm module.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/_tiomap.h |4 +-
drivers/staging/tidspbridge/core/io_sm.c | 121 ++
drivers/staging/tidspbridge/core/tiomap3430.c | 522
This patch removes all the custom mmu code remaining in
tiomap3430.c which is not needed anymore.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/staging/tidspbridge/core/_tiomap.h|2 -
drivers/staging/tidspbridge/core/tiomap3430.c | 425 -
2
As da_end does not belongs to the area the roundup should
be done to da_end and not to da_end + 1.
Also the end check for the last area should be
ULONG_MAX - start + 1 = bytes.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c |6 +++---
1 files changed, 3
This patch adds superpages support to fixed ad address
inside iommu_kmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c | 61 ++-
1 files changed, 37 insertions(+), 24 deletions(-)
diff --git a/arch/arm/plat
remove CONFIG_MPU_BRIDGE_IOMMU in order to create iommu_device
for iva2.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/mach-omap2/omap-iommu.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/omap-iommu.c b/arch/arm/mach-omap2/omap
Omap platform is omap_iounmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
mode change 100644 = 100755 arch/arm/plat-omap/iovmm.c
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat
This patches are needed in order to tidspbridge can
use iovmm with no issues.
Fernando Guzman Lugo (4):
iommu: remove CONFIG_MPU_BRIDGE_IOMMU
iovmm: fix roundup for next area and end check for the last area
iovmm: add superpages support to fixed da address
iovmm: replace __iounmap
Define SG chain for ARM architecture in order to work
with big buffers. This patch is needed in order to
iovmm users can pass a big buffer to map it and ARM
architecture has not issues using SG chain.
This change was suggested by FUJITA Tomonori.
Signed-off-by: Fernando Guzman Lugo x0095
it is used to get area size in
several places.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
Acked-by: Hiroshi DOYU hiroshi.d...@nokia.com
---
arch/arm/plat-omap/iovmm.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap
As pointed by Ohad Ben-Cohen, the variable rq_full flag is a
global variable, so if there are multiple mailbox users
there will be conflics. Now there is a full flag per
mailbox queue.
Version 2:
- Rebase to the latest.
Reported-by: Ohad Ben-Cohen o...@wizery.com
Signed-off-by: Fernando Guzman
This patch replace the call to custom dsp mmu implemenation
for the once on iommu module.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/dsp/bridge/core/_tiomap.h| 16 +
drivers/dsp/bridge/core/io_sm.c | 114 ++--
drivers/dsp/bridge/core/tiomap3430.c | 501
Now these functions only map user space addresses to dsp virtual
addresses, so now the functions have a more meaningful name
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dspdefs.h | 44
drivers/dsp/bridge/core/_tiomap.h
This set of patches remove the dspbridge custom mmu implementation
and use iommu module instead.
NOTE: in order to dspbridge can work properly the patch
0001-iovmm-add-superpages-support-to-fixed-da-address.patch
is needed (specifically iommu_kmap calls need this patch).
Fernando Guzman Lugo (9
This patch moves all the code related to iommu in the
dsp-mmu.c file
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dsp-mmu.h | 90 ++
arch/arm/plat-omap/include/dspbridge/dspdeh.h |1 -
drivers/dsp/bridge/Makefile
With changes for iommu migration mmu fault report and dsp track
dump is broken, this patch fixes that.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/dsp/bridge/core/mmu_fault.c | 93 ++---
drivers/dsp/bridge/core/mmu_fault.h |5 +-
drivers
This patch adds superpages support to fixed ad address
inside iommu_kmap function.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/iovmm.c | 52 +++-
1 files changed, 32 insertions(+), 20 deletions(-)
diff --git a/arch/arm
this patch cleans up cfg_hostres and bridge_dev_context
structures of custom mmu code not needed anymore.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/include/dspbridge/cfgdefs.h |1 -
drivers/dsp/bridge/core/_tiomap.h |5 -
drivers/dsp
due to a restriction in scatter gather lists, it can
not be created a list for a buffer bigger than 1MB.
This patch is spliting big mappings into 1MB mappings.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
arch/arm/plat-omap/include/dspbridge/dsp-mmu.h |2 +-
drivers/dsp/bridge
This patch removes all the custom mmu code remaining in
tiomap3430.c which is not needed anymore.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/dsp/bridge/core/_tiomap.h|1 -
drivers/dsp/bridge/core/tiomap3430.c | 470 --
2 files changed
Now the iommu map of shared memory segments are done in
bridge_brd_start and unmaped in bridge_brd_stop.
NOTE: video sequencer reset is not done in dspbridge anymore,
due to dspbridge does not manage it.
Signed-off-by: Fernando Guzman Lugo x0095...@ti.com
---
drivers/dsp/bridge/core/_tiomap.h
This set of patches remove the dspbridge custom mmu implementation
and use iommu module instead.
NOTE: in order to dspbridge can work properly the patch
0001-iovmm-add-superpages-support-to-fixed-da-address.patch
is needed (specifically iommu_kmap calls need this patch).
Fernando Guzman Lugo (9
1 - 100 of 116 matches
Mail list logo