> In Msg <874kuapb2s@logand.com>;
>Subject "Re: BUG: unable to handle kernel NULL pointer dereference at
> 00a8 in nilfs_segctor_do_construct":
>
>> Tomas Hlavaty writes:
> 2) Can you mount the corrupted(?) partition from a recent version of
> kernel ?
>>
>> I tried
Joerg Roedel,
From: Joerg Roedel
Subject: Re: [PATCH v6 1/4] iommu/shmobile: Add iommu driver for Renesas IPMMU
modules
Date: Fri, 1 Feb 2013 14:54:57 +0100
> On Mon, Jan 21, 2013 at 07:54:26PM +0900, Hideki EIRAKU wrote:
>> This is the Renesas IPMMU driver and IOMMU API imple
.
- the MMU function uses the IOMMU API while the PMB function does not.
- the two functions may be used independently.
Signed-off-by: Hideki EIRAKU
---
drivers/iommu/Kconfig | 74 ++
drivers/iommu/Makefile | 2 +
drivers/iommu/shmobile-iommu.c | 395
IPMMU module's MMU function is enabled.
Signed-off-by: Hideki EIRAKU
---
arch/arm/mach-shmobile/setup-sh7372.c | 39 +++
1 file changed, 39 insertions(+)
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c
b/arch/arm/mach-shmobile/setup-sh7372.c
index c9
IPMMU module's MMU function is enabled.
Signed-off-by: Hideki EIRAKU
---
arch/arm/mach-shmobile/setup-r8a7740.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c
b/arch/arm/mach-shmobile/setup-r8a7740.c
index 09
MiB page is mapped or unmapped.
- Add VEU devices as IP blocks on the ICB.
v2:
- Rebased on v3.6-rc1.
- Make variable names clear.
- Page table size can now be selected by config.
Hideki EIRAKU (4):
iommu/shmobile: Add iommu driver for Renesas IPMMU modules
ARM: mach-shmobile: sh7372: Add IPMM
IPMMU module's MMU function is enabled.
Signed-off-by: Hideki EIRAKU
---
arch/arm/mach-shmobile/setup-sh73a0.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c
b/arch/arm/mach-shmobile/setup-sh73a0.c
index db
Previously clock rates were set after initialization of timer.
Therefore the timer used the default extal1 clock rate (25MHz)
instead of the correct rate for this board (24MHz).
Signed-off-by: Hideki EIRAKU
---
arch/arm/mach-shmobile/board-armadillo800eva.c | 5 +++--
1 file changed, 3
.
- the MMU function uses the IOMMU API while the PMB function does not.
- the two functions may be used independently.
Signed-off-by: Hideki EIRAKU
---
drivers/iommu/Kconfig | 74 +++
drivers/iommu/Makefile | 2 +
drivers/iommu/shmobile-iommu.c | 341
IPMMU module's MMU function is enabled.
Signed-off-by: Hideki EIRAKU
---
arch/arm/mach-shmobile/setup-r8a7740.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c
b/arch/arm/mach-shmobile/setup-r8a7740.c
index 09
IPMMU module's MMU function is enabled.
Signed-off-by: Hideki EIRAKU
---
arch/arm/mach-shmobile/setup-sh73a0.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c
b/arch/arm/mach-shmobile/setup-sh73a0.c
index db
IPMMU module's MMU function is enabled.
Signed-off-by: Hideki EIRAKU
---
arch/arm/mach-shmobile/setup-sh7372.c | 39 +++
1 file changed, 39 insertions(+)
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c
b/arch/arm/mach-shmobile/setup-sh7372.c
index c9
ion for writing to a register of IPMMU.
- Add a lock to accessing the tlb_enabled member.
- Make unmap work correctly with size larger than map size.
- Free L2 page table when 1MiB page is mapped or unmapped.
- Add VEU devices as IP blocks on the ICB.
v2:
- Rebased on v3.6-rc1.
- Make variable names c
Hi Laurent,
Thank you for your comments.
From: Laurent Pinchart
Subject: Re: [PATCH v4 1/2] iommu/shmobile: Add iommu driver for Renesas IPMMU
modules
Date: Mon, 10 Dec 2012 16:55:58 +0100
> On Monday 15 October 2012 17:34:52 Hideki EIRAKU wrote:
>> This is the Renesas IPMMU driver
Hi Laurent,
From: Laurent Pinchart
Subject: Re: [PATCH v4] fbdev: sh_mobile_lcdc: use dma_mmap_coherent
Date: Thu, 16 Aug 2012 14:16:32 +0200
> Hi Eiraku-san,
>
> On Thursday 16 August 2012 19:13:20 Hideki EIRAKU wrote:
>> fb_mmap() implemented in fbmem.c uses smem_start
IPMMU module's MMU function is enabled.
Signed-off-by: Hideki EIRAKU
---
arch/arm/mach-shmobile/board-ap4evb.c |5 +
arch/arm/mach-shmobile/board-mackerel.c |5 +
arch/arm/mach-shmobile/setup-sh7372.c | 26 ++
3 files changed, 36 insertions(
.
- the MMU function uses the IOMMU API while the PMB function does not.
- the two functions may be used independently.
Signed-off-by: Hideki EIRAKU
---
arch/arm/mach-shmobile/Kconfig |6 +
arch/arm/mach-shmobile/Makefile |3 +
arch/arm/mach-shmobile/include/mach
table when 1MiB page is mapped or unmapped.
- Add VEU devices as IP blocks on the ICB.
v2:
- Rebased on v3.6-rc1.
- Make variable names clear.
- Page table size can now be selected by config.
Hideki EIRAKU (2):
iommu/shmobile: Add iommu driver for Renesas IPMMU modules
ARM: mach-shmobile
that it was better to define by kconfig.
> For example, following codes.
>
> +config SHMOBILE_IOMMU_L1SIZE
> + hex
> + default "0x2000" if SHMOBILE_IOMMU_L1SIZE_8192
> + default "0x1000" if SHMOBILE_IOMMU_L1SIZE_4096
> + d
IPMMU module's MMU function is enabled.
Signed-off-by: Hideki EIRAKU
Tested-by: Damian Hobson-Garcia
---
arch/arm/mach-shmobile/board-ap4evb.c |5 +
arch/arm/mach-shmobile/board-mackerel.c |5 +
arch/arm/mach-shmobile/setup-sh7372.c | 26 ++
3
.
- the MMU function uses the IOMMU API while the PMB function does not.
- the two functions may be used independently.
Signed-off-by: Hideki EIRAKU
Tested-by: Damian Hobson-Garcia
---
arch/arm/mach-shmobile/Kconfig |6 +
arch/arm/mach-shmobile/Makefile |3 +
arch/arm
table size can now be selected by config.
Hideki EIRAKU (2):
iommu/shmobile: Add iommu driver for Renesas IPMMU modules
ARM: mach-shmobile: sh7372: Add IPMMU device
arch/arm/mach-shmobile/Kconfig |6 +
arch/arm/mach-shmobile/Makefile |3 +
arch/arm/mach
fb_mmap() implemented in fbmem.c uses smem_start as the physical
address of the frame buffer. In the sh_mobile_lcdc driver, the
smem_start is a dma_addr_t that is not a physical address when IOMMU is
enabled. dma_mmap_coherent() maps the address correctly.
Signed-off-by: Hideki EIRAKU
Laurent's patch I sent because it was related
to ARCH_HAS_DMA_MMAP_COHERENT.
The remaining patch is sh_mobile_lcdc. I will remove ifdefs from the
patch and re-post it as a patch v4.
--
Hideki EIRAKU
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
t
.
- the MMU function uses the IOMMU API while the PMB function does not.
- the two functions may be used independently.
Signed-off-by: Hideki EIRAKU
---
arch/arm/mach-shmobile/Kconfig |6 +
arch/arm/mach-shmobile/Makefile |3 +
arch/arm/mach-shmobile/include/mach
IPMMU module's MMU function is enabled.
Signed-off-by: Hideki EIRAKU
---
arch/arm/mach-shmobile/board-ap4evb.c |5 +
arch/arm/mach-shmobile/board-mackerel.c |5 +
arch/arm/mach-shmobile/setup-sh7372.c | 22 ++
3 files changed, 32 insertions(
address translation including
tile-linear translation. This is implementation of the MMU function.
v2:
- Rebased on v3.6-rc1.
- Make variable names clear.
- Page table size can now be selected by config.
Hideki EIRAKU (2):
iommu/shmobile: Add iommu driver for Renesas IPMMU modules
ARM: mach
the address correctly.
It is available on ARM platforms.
Signed-off-by: Hideki EIRAKU
---
drivers/media/video/videobuf2-dma-contig.c | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/drivers/media/video/videobuf2-dma-contig.c
b/drivers/media/video/videobuf2
From: Laurent Pinchart
The ARM architecture now defines ARCH_HAS_DMA_MMAP_COHERENT, there's no
need to define it privately anymore.
Signed-off-by: Laurent Pinchart
---
sound/core/pcm_native.c |7 ---
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/sound/core/pcm_native.c
ARCH_HAS_DMA_MMAP_COHERENT indicates that there is dma_mmap_coherent() API
in this architecture. The name is already defined in PowerPC.
Signed-off-by: Hideki EIRAKU
---
arch/arm/include/asm/dma-mapping.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include
.
Signed-off-by: Hideki EIRAKU
---
drivers/video/sh_mobile_lcdcfb.c | 28
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c
index 8cb653b..c8cba7a 100644
--- a/drivers/video
:
- Remove an unnecessary line which sets page protection bits.
v2:
- Rebase on fbdev-next branch of
git://github.com/schandinat/linux-2.6.git.
- Initialize .fb_mmap in both sh_mobile_lcdc_overlay_ops and
sh_mobile_lcdc_ops.
- Add Laurent's clean up patch.
Hideki EIRAKU (3):
ARM: dma-ma
the address correctly.
It is available on ARM platforms.
Signed-off-by: Hideki EIRAKU
---
drivers/media/video/videobuf2-dma-contig.c | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/drivers/media/video/videobuf2-dma-contig.c
b/drivers/media/video/videobuf2
.
Signed-off-by: Hideki EIRAKU
---
drivers/video/sh_mobile_lcdcfb.c | 28
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c
index 8cb653b..c8cba7a 100644
--- a/drivers/video
From: Laurent Pinchart
The ARM architecture now defines ARCH_HAS_DMA_MMAP_COHERENT, there's no
need to define it privately anymore.
Signed-off-by: Laurent Pinchart
---
sound/core/pcm_native.c |7 ---
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/sound/core/pcm_native.c
:
- Rebase on fbdev-next branch of
git://github.com/schandinat/linux-2.6.git.
- Initialize .fb_mmap in both sh_mobile_lcdc_overlay_ops and
sh_mobile_lcdc_ops.
- Add Laurent's clean up patch.
Hideki EIRAKU (3):
ARM: dma-mapping: define ARCH_HAS_DMA_MMAP_COHERENT
media: videobuf2-dma-c
ARCH_HAS_DMA_MMAP_COHERENT indicates that there is dma_mmap_coherent() API
in this architecture. The name is already defined in PowerPC.
Signed-off-by: Hideki EIRAKU
---
arch/arm/include/asm/dma-mapping.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include
IPMMU module's MMU function is enabled.
Signed-off-by: Hideki EIRAKU
---
arch/arm/mach-shmobile/board-ap4evb.c |5 +
arch/arm/mach-shmobile/board-mackerel.c |5 +
arch/arm/mach-shmobile/setup-sh7372.c | 22 ++
3 files changed, 32 insertions(
address translation including
tile-linear translation. This is implementation of the MMU function.
Hideki EIRAKU (2):
iommu/shmobile: Add iommu driver for Renesas IPMMU modules
ARM: mach-shmobile: sh7372: Add IPMMU device
arch/arm/mach-shmobile/Kconfig |6 +
arch/arm/mach
the address correctly.
It is available on ARM platforms.
Signed-off-by: Hideki EIRAKU
---
drivers/media/video/videobuf2-dma-contig.c | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/drivers/media/video/videobuf2-dma-contig.c
b/drivers/media/video/videobuf2
.
Signed-off-by: Hideki EIRAKU
---
drivers/video/sh_mobile_lcdcfb.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c
index e672698..65732c4 100644
--- a/drivers/video/sh_mobile_lcdcfb.c
+++ b
.
Hideki EIRAKU (3):
ARM: dma-mapping: define ARCH_HAS_DMA_MMAP_COHERENT
media: videobuf2-dma-contig: use dma_mmap_coherent if available
fbdev: sh_mobile_lcdc: use dma_mmap_coherent if available
arch/arm/include/asm/dma-mapping.h |1 +
drivers/media/video/videobuf2-dma-contig.c | 18
ARCH_HAS_DMA_MMAP_COHERENT indicates that there is dma_mmap_coherent() API
in this architecture. The name is already defined in PowerPC.
Signed-off-by: Hideki EIRAKU
---
arch/arm/include/asm/dma-mapping.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include
.
- the MMU function uses the IOMMU API while the PMB function does not.
- the two functions may be used independently.
Signed-off-by: Hideki EIRAKU
---
arch/arm/mach-shmobile/Kconfig |6 +
arch/arm/mach-shmobile/Makefile |3 +
arch/arm/mach-shmobile/include/mach
44 matches
Mail list logo