All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Sukumar Ghorai <s-ghorai@ti.com>
Cc: Vimal Singh <vimalsingh@ti.com>,
	linux-omap@vger.kernel.org, linux-mtd@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v5 2/5] omap3: nand: prefetch in irq mode support
Date: Tue, 28 Sep 2010 15:29:33 -0700	[thread overview]
Message-ID: <20100928222933.GT3117@atomide.com> (raw)
In-Reply-To: <1285594634-19277-3-git-send-email-s-ghorai@ti.com>

* Sukumar Ghorai <s-ghorai@ti.com> [100927 06:30]:
>  This patch enable prefetch-irq mode for NAND.

> --- a/drivers/mtd/nand/Kconfig
> +++ b/drivers/mtd/nand/Kconfig
> @@ -112,6 +112,9 @@ config MTD_NAND_OMAP_PREFETCH
>  	help
>  	 The NAND device can be accessed for Read/Write using GPMC PREFETCH engine
>  	 to improve the performance.
> +	 GPMC PREFETCH can be configured eigther in MPU interrupt mode or in DMA
> +	 interrupt mode. If not selected any of them prefetch will be used in
> +	 polling mode.
>  
>  config MTD_NAND_OMAP_PREFETCH_DMA
>  	depends on MTD_NAND_OMAP_PREFETCH
> @@ -120,7 +123,16 @@ config MTD_NAND_OMAP_PREFETCH_DMA
>  	help
>  	 The GPMC PREFETCH engine can be configured eigther in MPU interrupt mode
>  	 or in DMA interrupt mode.
> -	 Say y for DMA mode or MPU mode will be used
> +	 Say y for DMA mode
> +
> +config MTD_NAND_OMAP_PREFETCH_IRQ
> +	depends on MTD_NAND_OMAP_PREFETCH && !MTD_NAND_OMAP_PREFETCH_DMA
> +	bool "IRQ mode"
> +	default n
> +	help
> +	 The GPMC PREFETCH engine can be configured eigther in MPU interrupt mode
> +	 or in DMA interrupt mode.
> +	 Say y for IRQ mode
>  
>  config MTD_NAND_IDS
>  	tristate

The configuration to use the prefetch IRQ should be passed in the platform_data
from the board-*.c files. What if you want to to boot a distro kernel on
omap2, 3 and 4 and only some of the boards can use the prefetch interrupt?

Tony

WARNING: multiple messages have this Message-ID (diff)
From: Tony Lindgren <tony@atomide.com>
To: Sukumar Ghorai <s-ghorai@ti.com>
Cc: linux-omap@vger.kernel.org, linux-mtd@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	Vimal Singh <vimalsingh@ti.com>
Subject: Re: [PATCH v5 2/5] omap3: nand: prefetch in irq mode support
Date: Tue, 28 Sep 2010 15:29:33 -0700	[thread overview]
Message-ID: <20100928222933.GT3117@atomide.com> (raw)
In-Reply-To: <1285594634-19277-3-git-send-email-s-ghorai@ti.com>

* Sukumar Ghorai <s-ghorai@ti.com> [100927 06:30]:
>  This patch enable prefetch-irq mode for NAND.

> --- a/drivers/mtd/nand/Kconfig
> +++ b/drivers/mtd/nand/Kconfig
> @@ -112,6 +112,9 @@ config MTD_NAND_OMAP_PREFETCH
>  	help
>  	 The NAND device can be accessed for Read/Write using GPMC PREFETCH engine
>  	 to improve the performance.
> +	 GPMC PREFETCH can be configured eigther in MPU interrupt mode or in DMA
> +	 interrupt mode. If not selected any of them prefetch will be used in
> +	 polling mode.
>  
>  config MTD_NAND_OMAP_PREFETCH_DMA
>  	depends on MTD_NAND_OMAP_PREFETCH
> @@ -120,7 +123,16 @@ config MTD_NAND_OMAP_PREFETCH_DMA
>  	help
>  	 The GPMC PREFETCH engine can be configured eigther in MPU interrupt mode
>  	 or in DMA interrupt mode.
> -	 Say y for DMA mode or MPU mode will be used
> +	 Say y for DMA mode
> +
> +config MTD_NAND_OMAP_PREFETCH_IRQ
> +	depends on MTD_NAND_OMAP_PREFETCH && !MTD_NAND_OMAP_PREFETCH_DMA
> +	bool "IRQ mode"
> +	default n
> +	help
> +	 The GPMC PREFETCH engine can be configured eigther in MPU interrupt mode
> +	 or in DMA interrupt mode.
> +	 Say y for IRQ mode
>  
>  config MTD_NAND_IDS
>  	tristate

The configuration to use the prefetch IRQ should be passed in the platform_data
from the board-*.c files. What if you want to to boot a distro kernel on
omap2, 3 and 4 and only some of the boards can use the prefetch interrupt?

Tony

WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 2/5] omap3: nand: prefetch in irq mode support
Date: Tue, 28 Sep 2010 15:29:33 -0700	[thread overview]
Message-ID: <20100928222933.GT3117@atomide.com> (raw)
In-Reply-To: <1285594634-19277-3-git-send-email-s-ghorai@ti.com>

* Sukumar Ghorai <s-ghorai@ti.com> [100927 06:30]:
>  This patch enable prefetch-irq mode for NAND.

> --- a/drivers/mtd/nand/Kconfig
> +++ b/drivers/mtd/nand/Kconfig
> @@ -112,6 +112,9 @@ config MTD_NAND_OMAP_PREFETCH
>  	help
>  	 The NAND device can be accessed for Read/Write using GPMC PREFETCH engine
>  	 to improve the performance.
> +	 GPMC PREFETCH can be configured eigther in MPU interrupt mode or in DMA
> +	 interrupt mode. If not selected any of them prefetch will be used in
> +	 polling mode.
>  
>  config MTD_NAND_OMAP_PREFETCH_DMA
>  	depends on MTD_NAND_OMAP_PREFETCH
> @@ -120,7 +123,16 @@ config MTD_NAND_OMAP_PREFETCH_DMA
>  	help
>  	 The GPMC PREFETCH engine can be configured eigther in MPU interrupt mode
>  	 or in DMA interrupt mode.
> -	 Say y for DMA mode or MPU mode will be used
> +	 Say y for DMA mode
> +
> +config MTD_NAND_OMAP_PREFETCH_IRQ
> +	depends on MTD_NAND_OMAP_PREFETCH && !MTD_NAND_OMAP_PREFETCH_DMA
> +	bool "IRQ mode"
> +	default n
> +	help
> +	 The GPMC PREFETCH engine can be configured eigther in MPU interrupt mode
> +	 or in DMA interrupt mode.
> +	 Say y for IRQ mode
>  
>  config MTD_NAND_IDS
>  	tristate

The configuration to use the prefetch IRQ should be passed in the platform_data
from the board-*.c files. What if you want to to boot a distro kernel on
omap2, 3 and 4 and only some of the boards can use the prefetch interrupt?

Tony

  reply	other threads:[~2010-09-28 22:29 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-27 13:37 [PATCH v5 0/5] nand prefetch-irq support and ecc layout chanage Sukumar Ghorai
2010-09-27 13:37 ` Sukumar Ghorai
2010-09-27 13:37 ` [PATCH v5 1/5] omap gpmc: enable irq mode in gpmc Sukumar Ghorai
2010-09-27 13:37   ` Sukumar Ghorai
2010-09-28 22:27   ` Tony Lindgren
2010-09-28 22:27     ` Tony Lindgren
2010-09-29  6:37     ` Ghorai, Sukumar
2010-09-29  6:37       ` Ghorai, Sukumar
2010-10-28 14:11     ` Ghorai, Sukumar
2010-10-28 14:11       ` Ghorai, Sukumar
2010-11-05 21:12       ` Tony Lindgren
2010-11-05 21:12         ` Tony Lindgren
2010-11-16 14:32         ` Ghorai, Sukumar
2010-11-16 14:32           ` Ghorai, Sukumar
2010-09-27 13:37 ` [PATCH v5 2/5] omap3: nand: prefetch in irq mode support Sukumar Ghorai
2010-09-27 13:37   ` Sukumar Ghorai
2010-09-27 13:37   ` Sukumar Ghorai
2010-09-28 22:29   ` Tony Lindgren [this message]
2010-09-28 22:29     ` Tony Lindgren
2010-09-28 22:29     ` Tony Lindgren
2010-09-29  6:02     ` Ghorai, Sukumar
2010-09-29  6:02       ` Ghorai, Sukumar
2010-09-29  6:02       ` Ghorai, Sukumar
2010-09-27 13:37 ` [PATCH v5 3/5] omap3: nand: configurable fifo threshold to gain the throughput Sukumar Ghorai
2010-09-27 13:37   ` Sukumar Ghorai
2010-09-27 13:37   ` Sukumar Ghorai
2010-09-27 13:37 ` [PATCH v5 4/5] omap: nand: ecc layout select from board file Sukumar Ghorai
2010-09-27 13:37   ` Sukumar Ghorai
2010-09-27 13:37   ` Sukumar Ghorai
2010-09-27 13:37 ` [PATCH v5 5/5] omap: nand: making ecc layout as compatible with romcode ecc Sukumar Ghorai
2010-09-27 13:37   ` Sukumar Ghorai
2010-09-27 13:37   ` Sukumar Ghorai
2010-09-27 13:58   ` Premi, Sanjeev
2010-09-27 13:58     ` Premi, Sanjeev
2010-09-27 13:58     ` Premi, Sanjeev
2010-09-27 14:02     ` Ghorai, Sukumar
2010-09-27 14:02       ` Ghorai, Sukumar
2010-09-27 14:02       ` Ghorai, Sukumar
2010-09-27 14:53 ` uninstall Aggarwal, Anuj
2010-09-27 14:54 ` uninstall Aggarwal, Anuj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100928222933.GT3117@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=s-ghorai@ti.com \
    --cc=vimalsingh@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.