Re: BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8 in nilfs_segctor_do_co

2020-04-30 Thread Hideki EIRAKU
> 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

Re: [PATCH v6 1/4] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2013-02-05 Thread Hideki EIRAKU
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

[PATCH v6 1/4] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2013-01-21 Thread Hideki EIRAKU
. - 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

[PATCH v6 2/4] ARM: mach-shmobile: sh7372: Add IPMMU device

2013-01-21 Thread Hideki EIRAKU
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

[PATCH v6 4/4] ARM: mach-shmobile: r8a7740: Add IPMMU device

2013-01-21 Thread Hideki EIRAKU
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

[PATCH v6 0/4] Renesas IPMMU driver for sh7372, sh73a0 and r8a7740

2013-01-21 Thread Hideki EIRAKU
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

[PATCH v6 3/4] ARM: mach-shmobile: sh73a0: Add IPMMU device

2013-01-21 Thread Hideki EIRAKU
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

[PATCH] ARM: shmobile: armadillo800eva: set clock rates before timer init

2013-01-17 Thread Hideki EIRAKU
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

[PATCH v5 1/4] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2012-12-25 Thread Hideki EIRAKU
. - 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

[PATCH v5 4/4] ARM: mach-shmobile: r8a7740: Add IPMMU device

2012-12-25 Thread Hideki EIRAKU
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

[PATCH v5 3/4] ARM: mach-shmobile: sh73a0: Add IPMMU device

2012-12-25 Thread Hideki EIRAKU
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

[PATCH v5 2/4] ARM: mach-shmobile: sh7372: Add IPMMU device

2012-12-25 Thread Hideki EIRAKU
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

[PATCH v5 0/4] Renesas IPMMU driver for sh7372, sh73a0 and r8a7740

2012-12-25 Thread Hideki EIRAKU
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

Re: [PATCH v4 1/2] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2012-12-11 Thread Hideki EIRAKU
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

Re: [PATCH v4] fbdev: sh_mobile_lcdc: use dma_mmap_coherent

2012-12-10 Thread Hideki EIRAKU
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

[PATCH v4 2/2] ARM: mach-shmobile: sh7372: Add IPMMU device

2012-10-15 Thread Hideki EIRAKU
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(

[PATCH v4 1/2] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2012-10-15 Thread Hideki EIRAKU
. - 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

[PATCH v4 0/2] Renesas IPMMU driver for sh7372

2012-10-15 Thread Hideki EIRAKU
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

Re: [PATCH v3 1/2] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2012-09-27 Thread Hideki EIRAKU
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

[PATCH v3 2/2] ARM: mach-shmobile: sh7372: Add IPMMU device

2012-09-10 Thread Hideki EIRAKU
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

[PATCH v3 1/2] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2012-09-10 Thread Hideki EIRAKU
. - 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

[PATCH v3 0/2] Renesas IPMMU driver for sh7372

2012-09-10 Thread Hideki EIRAKU
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

[PATCH v4] fbdev: sh_mobile_lcdc: use dma_mmap_coherent

2012-08-16 Thread Hideki EIRAKU
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

Re: [PATCH v3 3/4] media: videobuf2-dma-contig: use dma_mmap_coherent if available

2012-08-16 Thread 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

[PATCH v2 1/2] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2012-08-16 Thread Hideki EIRAKU
. - 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

[PATCH v2 2/2] ARM: mach-shmobile: sh7372: Add IPMMU device

2012-08-16 Thread Hideki EIRAKU
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(

[PATCH v2 0/2] Renesas IPMMU driver for sh7372

2012-08-16 Thread Hideki EIRAKU
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

[PATCH v3 3/4] media: videobuf2-dma-contig: use dma_mmap_coherent if available

2012-08-06 Thread Hideki EIRAKU
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

[PATCH v3 2/4] ALSA: pcm - Don't define ARCH_HAS_DMA_MMAP_COHERENT privately for ARM

2012-08-06 Thread Hideki EIRAKU
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

[PATCH v3 1/4] ARM: dma-mapping: define ARCH_HAS_DMA_MMAP_COHERENT

2012-08-06 Thread Hideki EIRAKU
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

[PATCH v3 4/4] fbdev: sh_mobile_lcdc: use dma_mmap_coherent if available

2012-08-06 Thread Hideki EIRAKU
. 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

[PATCH v3 0/4] Use dma_mmap_coherent to support IOMMU mapper

2012-08-06 Thread Hideki EIRAKU
: - 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

[PATCH v2 3/4] media: videobuf2-dma-contig: use dma_mmap_coherent if available

2012-07-26 Thread Hideki EIRAKU
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

[PATCH v2 4/4] fbdev: sh_mobile_lcdc: use dma_mmap_coherent if available

2012-07-26 Thread Hideki EIRAKU
. 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

[PATCH v2 2/4] ALSA: pcm - Don't define ARCH_HAS_DMA_MMAP_COHERENT privately for ARM

2012-07-26 Thread Hideki EIRAKU
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

[PATCH v2 0/4] Use dma_mmap_coherent to support IOMMU mapper

2012-07-26 Thread Hideki EIRAKU
: - 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

[PATCH v2 1/4] ARM: dma-mapping: define ARCH_HAS_DMA_MMAP_COHERENT

2012-07-26 Thread Hideki EIRAKU
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

[PATCH 2/2] ARM: mach-shmobile: sh7372: Add IPMMU device

2012-07-24 Thread Hideki EIRAKU
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(

[PATCH 0/2] Renesas IPMMU driver for sh7372

2012-07-24 Thread Hideki EIRAKU
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

[PATCH 2/3] media: videobuf2-dma-contig: use dma_mmap_coherent if available

2012-07-24 Thread Hideki EIRAKU
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

[PATCH 3/3] fbdev: sh_mobile_lcdc: use dma_mmap_coherent if available

2012-07-24 Thread Hideki EIRAKU
. 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

[PATCH 0/3] Use dma_mmap_coherent to support IOMMU mapper

2012-07-24 Thread Hideki EIRAKU
. 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

[PATCH 1/3] ARM: dma-mapping: define ARCH_HAS_DMA_MMAP_COHERENT

2012-07-24 Thread Hideki EIRAKU
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

[PATCH 1/2] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2012-07-24 Thread Hideki EIRAKU
. - 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