Re: [PATCH] mmc: omap_hsmmc: MAINTAINERS: update

2013-01-31 Thread Venkatraman S
On Thu, Jan 31, 2013 at 2:22 PM, Balaji T K balaj...@ti.com wrote: Update Maintainer email for omap_hsmmc, as Venkatraman will no longer be able to maintain omap_hsmmc driver. Signed-off-by: Venkatraman S svenk...@gmail.com Signed-off-by: Balaji T K balaj...@ti.com Balaji, My sign-off

[PATCH] mmc: omap_hsmmc: MAINTAINERS: change omap_hsmmc maintenance to orphan

2013-01-16 Thread Venkatraman S
The specified email id is no longer in service. Update the OMAP HSMMC entry from the MAINTAINERS file as I will no longer be able to maintain this driver. Signed-off-by: Venkatraman S svenk...@gmail.com --- MAINTAINERS |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [PATCH 1/7] mmc: omap_hsmmc: Fix Oops in case of data errors

2012-11-26 Thread Venkatraman S
On Mon, Nov 26, 2012 at 2:19 AM, Chris Ball c...@laptop.org wrote: Hi Venkat, On Mon, Nov 19 2012, Venkatraman S wrote: From: Balaji T K balaj...@ti.com commit ae4bf788ee9bf7c2d51b0309117d1fcccbdd50a2 mmc: omap_hsmmc: consolidate error report handling of HSMMC IRQ sets both end_cmd

Re: [PATCH 0/5] mmc: omap_hsmmc: Few patches for omap_hsmmc

2012-11-19 Thread Venkatraman S
On Sun, Nov 18, 2012 at 6:39 AM, Chris Ball c...@laptop.org wrote: Hi Venkat, On Tue, Nov 06 2012, Venkatraman S wrote: Hi Chris, Please review and merge the below patches. The first one is a bug fix that would be required to be sent for 3.7-rcX, others are intended for 3.8. There have

[PATCH 1/7] mmc: omap_hsmmc: Fix Oops in case of data errors

2012-11-19 Thread Venkatraman S
has previously been handled. Set end_cmd only in case of command Timeout/CRC. Moreover host-cmd-error should not be updated on data error case, only host-data-error needs to be updated. Signed-off-by: Balaji T K balaj...@ti.com Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Venkatraman S

[PATCH 2/7] mmc: omap_hsmmc: no reset of cmd state machine for DCRC

2012-11-19 Thread Venkatraman S
From: Balaji T K balaj...@ti.com Avoid soft reset of command internal state machine on data errors. Signed-off-by: Balaji T K balaj...@ti.com Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 2 +- 1 file changed, 1 insertion

[PATCH 3/7] mmc: omap_hsmmc: update error code for response_busy cmd

2012-11-19 Thread Venkatraman S
From: Balaji T K balaj...@ti.com update error code to cmd-error for commands with response_busy and no data Signed-off-by: Balaji T K balaj...@ti.com Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 4 ++-- 1 file changed, 2

[PATCH 4/7] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-11-19 Thread Venkatraman S
-by: Venkatraman S svenk...@ti.com --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 1 + arch/arm/plat-omap/include/plat/mmc.h | 1 + drivers/mmc/host/omap_hsmmc.c | 30 +- 3 files changed, 31 insertions(+), 1 deletion(-) diff --git

[PATCH 6/7] mmc: omap_hsmmc: convert critical failure reports to dev_err

2012-11-19 Thread Venkatraman S
Fatal errors for the driver are not reported when just error debug is enabled. Convert selected dev_dbg to dev_err for accurate error reporting. Reported-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 12 ++-- 1 file

[PATCH v2 7/7] mmc: omap_hsmmc: Cleanup up bitmap definitions of Interrupt Register

2012-11-19 Thread Venkatraman S
-by: Venkatraman S svenk...@ti.com Acked-by: Felipe Balbi ba...@ti.com --- v1-v2: Balaji's comments to not set ERR_EN for INT_EN_MASK is now handled. drivers/mmc/host/omap_hsmmc.c | 56 --- 1 file changed, 32 insertions(+), 24 deletions(-) diff --git a/drivers/mmc/host

Re: [PATCH 4/5] mmc: omap_hsmmc: cleanup the bitmap definitions of Interrupt Register

2012-11-08 Thread Venkatraman S
On Wed, Nov 7, 2012 at 6:54 PM, Balaji T K balaj...@ti.com wrote: On Tuesday 06 November 2012 10:22 PM, Venkatraman S wrote: Define the most frequently used bitmasks of the Interrupt Enable / Interrupt Status register with consistent naming ( with _EN suffix). Use meaningful concatenation

Re: [RFC/PATCH] mmc: omap_hsmmc: introduce omap_hsmmc_prepare/complete

2012-11-06 Thread Venkatraman S
On Mon, Oct 22, 2012 at 6:29 PM, Felipe Balbi ba...@ti.com wrote: prepare() is supposed to prevent new children from being registered. On the MMC subsystem, children (new cards) registration starts with the card detect IRQ. Move card detect IRQ disabling to prepare() so that no new cards

[PATCH 0/5] mmc: omap_hsmmc: Few patches for omap_hsmmc

2012-11-06 Thread Venkatraman S
: omap_hsmmc: Enable HSPE bit for high speed cards Venkatraman S (3): mmc: omap_hsmmc: Avoid host-cmd dereference during data transfer failures mmc: omap_hsmmc: cleanup the bitmap definitions of Interrupt Register mmc: omap_hsmmc: convert critical failure reports to dev_err

[PATCH 1/5] mmc: omap_hsmmc: Avoid host-cmd dereference during data transfer failures

2012-11-06 Thread Venkatraman S
has not been handled before, else a NULL pointer dereference occurs. CC: sta...@vger.kernel.org Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host

[PATCH 2/5] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-11-06 Thread Venkatraman S
-by: Venkatraman S svenk...@ti.com --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 1 + arch/arm/plat-omap/include/plat/mmc.h | 1 + drivers/mmc/host/omap_hsmmc.c | 30 +- 3 files changed, 31 insertions(+), 1 deletion(-) diff --git

[PATCH 3/5] mmc: omap_hsmmc: introduce omap_hsmmc_prepare/complete

2012-11-06 Thread Venkatraman S
to suspend. Likewise, move card detect IRQ enabling to complete() so we only try to register new children after our MMC IP is back up. Signed-off-by: Felipe Balbi ba...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 44

[PATCH 4/5] mmc: omap_hsmmc: cleanup the bitmap definitions of Interrupt Register

2012-11-06 Thread Venkatraman S
-by: Venkatraman S svenk...@ti.com Acked-by: Felipe Balbi ba...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 54 +-- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index e91e85a..d16ef0f 100644

[PATCH 5/5] mmc: omap_hsmmc: convert critical failure reports to dev_err

2012-11-06 Thread Venkatraman S
Fatal errors for the driver are not reported when just error debug is enabled. Convert selected dev_dbg to dev_err for accurate error reporting. Reported-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 12 ++-- 1 file

Re: [PATCH V3] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-10-31 Thread Venkatraman S
On Wed, Oct 31, 2012 at 5:56 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Wed, Oct 31, 2012 at 05:27:36PM +0530, Hebbar, Gururaja wrote: HSMMC IP on AM33xx need a special setting to handle High-speed cards. Other platforms like TI81xx, OMAP4 may need this as-well. This depends on the HSMMC IP

Re: [RFC/PATCH] mmc: omap_hsmmc: introduce omap_hsmmc_prepare/complete

2012-10-26 Thread Venkatraman S
On Thursday 25 October 2012 11:34 PM, Felipe Balbi wrote: Hi, On Mon, Oct 22, 2012 at 04:27:08PM +0300, Felipe Balbi wrote: On Mon, Oct 22, 2012 at 03:59:28PM +0300, Felipe Balbi wrote: prepare() is supposed to prevent new children from being registered. On the MMC subsystem, children (new

[PATCH 1/4] MMC: omap_hsmmc: claim pinctrl at probe time

2012-10-15 Thread Venkatraman S
From: Daniel Mack zon...@gmail.com This allows DT-driven board to set up the pin mux only when the driver is in use. Signed-off-by: Daniel Mack zon...@gmail.com Cc: Venkatraman S svenk...@ti.com Cc: Chris Ball c...@laptop.org Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr

[PATCH 2/4] MMC: omap_hsmmc: add DT property for max bus frequency

2012-10-15 Thread Venkatraman S
From: Daniel Mack zon...@gmail.com Maximum bus frequency can be limited by external circuitry like level shifters etc. Allow passing this value from DT. Signed-off-by: Daniel Mack zon...@gmail.com Cc: Venkatraman S svenk...@ti.com Cc: Chris Ball c...@laptop.org Cc: Grant Likely grant.lik

[PATCH 3/4] mmc: omap_hsmmc: fix host reference after mmc_free_host

2012-10-15 Thread Venkatraman S
From: Balaji T K balaj...@ti.com struct omap_hsmmc_host *host should not be accessed after mmc_free_host(). Reorder mmc_free_host() after iounmap(host-base). Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 2 +- 1 file

[PATCH 4/4] mmc: omap_hsmmc: Fix NULL pointer dereference for dt boot

2012-10-15 Thread Venkatraman S
From: Balaji T K balaj...@ti.com dev-platform_data is NULL in case of device tree boot, instead use the saved version in struct omap_hsmmc_host. Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 17 +++-- 1

Re: [PATCH 0/4] MMC: some omap_hsmmc fixes

2012-10-15 Thread Venkatraman S
Daniel, On Sat, Oct 13, 2012 at 2:31 PM, Daniel Mack zon...@gmail.com wrote: On 12.10.2012 12:58, Daniel Mack wrote: Here are some assorted patches for the omap_hsmmc driver that I need on top Linus' current development branch to make it work on a AM33xx board. 1/4 and 2/4 qualify as bug

Error when building modules for omap2plus_defconfig in mainline

2012-10-11 Thread Venkatraman S
Daily build on Linus's tree is failing for the past 2-3 days make modules with omap2plus_defconfig.. ERROR: snd_hwparams_to_dma_slave_config [sound/soc/omap/snd-soc-omap.ko] undefined! ERROR: snd_dmaengine_pcm_pointer [sound/soc/omap/snd-soc-omap.ko] undefined! ERROR: snd_dmaengine_pcm_open

Re: [PATCH 09/16] ARM: OMAP: Split plat/mmc.h into local headers and platform_data

2012-10-05 Thread Venkatraman S
On Fri, Oct 5, 2012 at 3:34 AM, Tony Lindgren t...@atomide.com wrote: We need to remove this from plat for ARM common zImage support. Cc: Chris Ball c...@laptop.org Cc: Venkatraman S svenk...@ti.com Cc: linux-...@vger.kernel.org Signed-off-by: Tony Lindgren t...@atomide.com Thanks Tony. I

[PATCHv2 1/2] mmc: omap_hsmmc: convert from IP timer to hrtimer

2012-08-28 Thread Venkatraman S
, and the arbitary timing of 100ms is used only when the timeout is not explicitly specified by core. A trivial change to get rid of unnecessary dealiasing of host-data in omap_hsmmc_do_irq is also included. Signed-off-by: Venkatraman S svenk...@ti.com --- v1-v2: Fix typos in commit message. Add checks

[PATCH 2/2] mmc: omap_hsmmc: cleanup the bitmap definitions of Interrupt Register

2012-08-28 Thread Venkatraman S
-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 51 --- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 57e86a4..03c2362 100644 --- a/drivers/mmc/host/omap_hsmmc.c

[PATCH 00/10] Assorted MMC / OMAP HSMMC patches

2012-08-17 Thread Venkatraman S
is in draft state and needs more testing. These patches are also available at git://github.com/svenkatr/linux.git my/mmc/3.6/hrtimer_updates Venkatraman S (10): mmc: core: Add TRANsfer state to non-HPI state mmc: debugfs: Print ext_csd in ascending order mmc: omap: remove unused variables

[PATCH 01/10] mmc: core: Add TRANsfer state to non-HPI state

2012-08-17 Thread Venkatraman S
HPI can be issued only in programming state to bring the card to transfer state. If the card is already in transfer state, doing a HPI is redundant. Fix this by adding transfer state to the list of exceptions to doing HPI and return without error. Signed-off-by: Venkatraman S svenk...@ti.com

[PATCH 02/10] mmc: debugfs: Print ext_csd in ascending order

2012-08-17 Thread Venkatraman S
ext_csd exported through debugfs is printed in reverse order (from byte 511 to 0), which causes confusion. Fix the for loop to print ext_csd in natural order. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/core/debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 03/10] mmc: omap: remove unused variables and includes

2012-08-17 Thread Venkatraman S
Get rid of some unnecessary includes in the driver and a few unused variables. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index 50e08f0..0ec4e55 100644

[PATCH 04/10] mmc: omap: fix mmc_omap_report_irq to use dev_dbg macros

2012-08-17 Thread Venkatraman S
The function mmc_omap_report_irq uses raw printks and the actual output was disabled by a static variable. Make the function use dev_vdbg macro and use it under the standard CONFIG_MMC_DEBUG flag. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap.c | 29

[PATCH 05/10] mmc: omap_hsmmc: remove unused vars and includes

2012-08-17 Thread Venkatraman S
Some straight forward cleanup of unnecessary #include's and host variables. Some of the verbose and redundant debug messages are converted to use dev_vdbg. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 14 -- 1 file changed, 4 insertions(+), 10

[PATCH 06/10] mmc: omap_hsmmc: remove access to SYSCONFIG register

2012-08-17 Thread Venkatraman S
SYSCONFIG register of HSMMC IP is managed by the omap hwmod abstraction layer. Resetting the IP and configuring the correct SYSCONFIG mode is centrally managed by hwmod. Remove code which manipulates IP reset and SYSCONFIG directly in the driver. Signed-off-by: Venkatraman S svenk...@ti.com

[PATCH 07/10] mmc: omap_hsmmc: consolidate flush posted writes for HSMMC IRQs

2012-08-17 Thread Venkatraman S
Flushing spurious IRQs from HSMMC IP is done twice in omap_hsmmc_irq and omap_hsmmc_do_irq. Consolidate them to one location. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git

[PATCH 08/10] mmc: omap_hsmmc: consolidate error report handling of HSMMC IRQ

2012-08-17 Thread Venkatraman S
Consolidate the duplicated code around the handling of CMD_TIMEOUT, CMD_CRC, DATA_TIMEOUT, DATA_CRC and CARD_ERR handling into a single function. This generally shrinks code bloat, but is also required for implementing software based guard timers. Signed-off-by: Venkatraman S svenk...@ti.com

[PATCH 10/10] mmc: omap_hsmmc: Move to Maintained state in MAINTAINERS

2012-08-17 Thread Venkatraman S
I can continue to look after this driver. Signed-off-by: Venkatraman S svenk...@ti.com --- MAINTAINERS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 72c2681..75e3c3e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4933,8 +4933,10 @@ S

[PATCH 09/10] mmc: omap_hsmmc: convert from IP timer to hrtimer

2012-08-17 Thread Venkatraman S
when the timeout is not explicitly specified by core. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 96 ++- 1 file changed, 50 insertions(+), 46 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host

[PATCH 1/2] ARM: OMAP2+: fix naming collision of variable nr_irqs

2012-06-25 Thread Venkatraman S
Using nr_irqs as local variable name triggers the sparse warning.. ./arch/arm/mach-omap2/irq.c:265:6: warning: symbol 'nr_irqs' shadows an earlier one ./linux/include/linux/irqnr.h:26:12: originally declared here Signed-off-by: Venkatraman S svenk...@ti.com --- arch/arm/mach-omap2/irq.c

[PATCH 2/2] ARM: OMAP2+: use proper type for keymap data in boardfiles.

2012-06-25 Thread Venkatraman S
This fixes the sparse warnings... arch/arm/mach-omap2/board-igep0020.c:482:14: warning: incorrect type in initializer (different signedness) arch/arm/mach-omap2/board-4430sdp.c:200:14: warning: incorrect type in initializer (different signedness) Signed-off-by: Venkatraman S svenk...@ti.com

[PATCH] spi: omap2-mcspi: fix section mismatch regression in probe

2012-06-19 Thread Venkatraman S
.init.text:omap2_mcspi_master_setup() Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/spi/spi-omap2-mcspi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index 46ef5fe..1618e89 100644 --- a/drivers/spi/spi-omap2

[PATCH 0/3] mmc: omap: driver registration cleanups

2012-05-08 Thread Venkatraman S
Cleanups for the legacy omap mmc driver to remove clutter and make it well behaved as module. Venkatraman S (3): mmc: omap: convert to per instance workqueue mmc: omap: make it behave well as module mmc: omap: convert to module_platform_driver drivers/mmc/host/omap.c | 48

[PATCH 1/3] mmc: omap: convert to per instance workqueue

2012-05-08 Thread Venkatraman S
Currently, a global mmc_omap_wq is created for all instances of omap hosts, which can lead to races and doesn't lend itself to unload the module cleanly. Instead, create per instance workqueue and remove the common workqueue. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host

[PATCH 2/3] mmc: omap: make it behave well as module

2012-05-08 Thread Venkatraman S
Use proper __devinit and __devexit annotation for driver functions. Instantiate the probe function for driver_ops instead of a probe in the register function. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap.c |9 + 1 files changed, 5 insertions(+), 4 deletions

[PATCH 3/3] mmc: omap: convert to module_platform_driver

2012-05-08 Thread Venkatraman S
Get rid of boilerplate code by using module_platform_driver macro, no functional changes. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap.c | 14 +- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host

[PATCH v2 15/16] mmc: Update preempted request with CORRECTLY_PRG_SECTORS_NUM info

2012-05-03 Thread Venkatraman S
Ongoing request that was preempted during 'programming' state is partially completed. Number of correctly programmed sectors is available in the ext_csd field CORRECTLY_PRG_SECTORS_NUM. Read this field to update the bytes_xfered field of the request Signed-off-by: Venkatraman S svenk...@ti.com

[PATCH v2 16/16] mmc: omap_hsmmc: Implement abort_req host_ops

2012-05-03 Thread Venkatraman S
is marked as an error (except when the command has almost completed while receiving the abort request, in which case finish the command normally). Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 55 ++--- 1 file changed, 51 insertions

[PATCHv2 00/16] [FS, MM, block, MMC]: eMMC High Priority Interrupt Feature

2012-05-03 Thread Venkatraman S
: Added page swapping markers to memory management block: treat DMPG and SWAPIN requests as special Venkatraman S (13): block: add queue attributes to manage dpmg and swapin requests block: add sysfs attributes for runtime control of dpmg and swapin block: Documentation: add

[PATCH v2 02/16] MM: Added page swapping markers to memory management

2012-05-03 Thread Venkatraman S
From: Ilan Smith ilan.sm...@sandisk.com Add attribute to identify swapin requests Mark memory management requests with swapin requests Signed-off-by: Ilan Smith ilan.sm...@sandisk.com Signed-off-by: Alex Lemberg alex.lemb...@sandisk.com Signed-off-by: Venkatraman S svenk...@ti.com --- include

[PATCH v2 03/16] block: add queue attributes to manage dpmg and swapin requests

2012-05-03 Thread Venkatraman S
Add block queue properties to identify and manage demand paging and swapin requests differently. Signed-off-by: Ilan Smith ilan.sm...@sandisk.com Signed-off-by: Alex Lemberg alex.lemb...@sandisk.com Signed-off-by: Venkatraman S svenk...@ti.com --- include/linux/blkdev.h |8 1 file

[PATCH v2 05/16] block: Documentation: add sysfs ABI for expedite_dmpg and expedite_swapin

2012-05-03 Thread Venkatraman S
Add description on the usage of expedite_dmpg and expedite_swapin. Signed-off-by: Venkatraman S svenk...@ti.com --- Documentation/ABI/testing/sysfs-block | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-block b/Documentation/ABI/testing/sysfs

[PATCH v2 04/16] block: add sysfs attributes for runtime control of dpmg and swapin

2012-05-03 Thread Venkatraman S
sysfs entries for DPMG and SWAPIN requests so that they can be set/reset from userspace. Signed-off-by: Venkatraman S svenk...@ti.com --- block/blk-sysfs.c | 16 1 file changed, 16 insertions(+) diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c index cf15001..764de9f 100644

[PATCH v2 07/16] mmc: core: helper function for finding preemptible command

2012-05-03 Thread Venkatraman S
According to table30 in eMMC spec, only some commands can be preempted by foreground HPI. Provide a helper function for the HPI procedure to identify if the command is preemptible. Signed-off-by: Venkatraman S svenk...@ti.com --- include/linux/mmc/core.h | 13 + 1 file changed, 13

[PATCH v2 08/16] mmc: core: add preemptibility tracking fields to mmc command

2012-05-03 Thread Venkatraman S
Set a preemptibility command atrribute to MMC commands. This can be later used by write (multi block), trim etc for evaluating if a HPI is applicable. Note the starting time of executing a command so a decision can be made if it is too late for preemption. Signed-off-by: Venkatraman S svenk

[PATCH v2 09/16] mmc: core: Add MMC abort interface

2012-05-03 Thread Venkatraman S
etc. The implementation is controller dependant Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/core/core.c |8 include/linux/mmc/host.h |1 + 2 files changed, 9 insertions(+) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index b4152ca..3f0e927

[PATCH v2 12/16] mmc: sysfs: Add sysfs entry for tuning preempt_time_threshold

2012-05-03 Thread Venkatraman S
the hpi_time_threshold sysfs entry. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/core/mmc.c | 25 + include/linux/mmc/card.h |1 + 2 files changed, 26 insertions(+) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index 54df5ad..b7dbea1

[PATCH v2 14/16] mmc: block: Implement HPI invocation and handling logic.

2012-05-03 Thread Venkatraman S
the command normally. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/card/block.c | 131 +++--- drivers/mmc/card/queue.h |1 + 2 files changed, 124 insertions(+), 8 deletions(-) diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c

[PATCH v2 13/16] mmc: Documentation: Add sysfs ABI for hpi_time_threshold

2012-05-03 Thread Venkatraman S
hpi_time_threshold can be set to configure elapsed time in ms, after which an ongoing request will not be preempted. Explain the hpi_time_threhold parameter for MMC devices. Signed-off-by: Venkatraman S svenk...@ti.com --- Documentation/ABI/testing/sysfs-devices-mmc | 12 1 file

[PATCH v2 10/16] mmc: block: Detect HPI support in card and host controller

2012-05-03 Thread Venkatraman S
If both the card and host controller support HPI related operations, set a flag in MMC queue to remember it. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/card/block.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/card/block.c b

[PATCH v2 11/16] mmc: core: Implement foreground request preemption procedure

2012-05-03 Thread Venkatraman S
. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/core/core.c | 32 include/linux/mmc/core.h |2 ++ 2 files changed, 34 insertions(+) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 3f0e927..e6430f8 100644 --- a/drivers/mmc

[PATCH v2 06/16] block: treat DMPG and SWAPIN requests as special

2012-05-03 Thread Venkatraman S
-by: Venkatraman S svenk...@ti.com --- block/blk-core.c | 18 ++ block/elevator.c | 14 +- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/block/blk-core.c b/block/blk-core.c index 1f61b74..7a1b98b 100644 --- a/block/blk-core.c +++ b/block/blk-core.c

[PATCH v2 01/16] FS: Added demand paging markers to filesystem

2012-05-03 Thread Venkatraman S
From: Ilan Smith ilan.sm...@sandisk.com Add attribute to identify demand paging requests. Mark readpages with demand paging attribute. Signed-off-by: Ilan Smith ilan.sm...@sandisk.com Signed-off-by: Alex Lemberg alex.lemb...@sandisk.com Signed-off-by: Venkatraman S svenk...@ti.com --- fs

[PATCH 1/3] mmc: omap_hsmmc: release correct resource

2012-04-18 Thread Venkatraman S
release_mem_region(). Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 4254b6f..d15b149

[PATCH 2/3] mmc: omap_hsmmc: Add fclk frequency to debufs

2012-04-18 Thread Venkatraman S
From: Viswanath Puttagunta vi...@ti.com Add mmc functional clock frequency to list of internal state variables to display for debug. Signed-off-by: Viswanath Puttagunta vi...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c |5 +++-- 1 file changed, 3

[PATCH 3/3] mmc: omap_hsmmc: If probe fails, give out error messages

2012-04-18 Thread Venkatraman S
From: Rajendra Nayak rna...@ti.com Giving out debug messages even in case of probe failure seems not very useful. Make them error messages instead. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com Cc: Chris Ball c...@laptop.org Cc: linux

[PATCH] mmc: omap_hsmmc: release correct resource

2012-04-18 Thread Venkatraman S
(). Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 4254b6f..d15b149 100644

[PATCH 1/2] mmc: omap_hsmmc: Add fclk frequency to debufs

2012-04-18 Thread Venkatraman S
From: Viswanath Puttagunta vi...@ti.com Add mmc functional clock frequency to list of internal state variables to display for debug. Signed-off-by: Viswanath Puttagunta vi...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- v1 - v2: Restored indentation to be consistent

[PATCH 0/4] mmc: omap_hsmmc: Additional cleanups / features

2012-04-09 Thread Venkatraman S
* for debounce_clock Venkatraman S (1): mmc: omap_hsmmc: use spinlock IRQ safe variant drivers/mmc/host/omap_hsmmc.c | 78 +--- 1 file changed, 45 insertions(+), 33 deletions(-) -- 1.7.10.rc2 -- To unsubscribe from this list: send the line

[PATCH RESEND 1/4] mmc: omap_hsmmc: Enable Auto CMD12

2012-04-09 Thread Venkatraman S
From: Balaji T K balaj...@ti.com Enable Auto-CMD12 for multi block read/write on HSMMC Tested on OMAP4430, OMAP3430 and OMAP2430 SDP Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 15 --- 1 file changed

[PATCH RESEND 2/4] mmc: omap_hsmmc: add DDR support to omap_hsmmc

2012-04-09 Thread Venkatraman S
From: Balaji T K balaj...@ti.com Add Dual data rate support for omap_hsmmc Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers

[PATCH 3/4] mmc: omap_hsmmc: use spinlock IRQ safe variant

2012-04-09 Thread Venkatraman S
Prevent possible races between HSMMC/DMA IRQs and next requests. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c

[PATCH 4/4] mmc: omap_hsmmc: Cleanup use of cpu_is_* for debounce_clock

2012-04-09 Thread Venkatraman S
the dbclk clock pointer to know if a valid debounce clock exists for the platform. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 39 +-- 1 file changed, 17 insertions(+), 22

[PATCH 0/8][git pull] mmc: omap: Assorted fixes for 3.4 merge window

2012-03-16 Thread Venkatraman S
Chris, Here are a group of fixes posted by Felipe and Balaji for the OMAP hsmmc driver in the past few days. I've rebased them to the lastest mmc-next and posted them here again. These have also been tested on OMAP4 development platform. Please feel to apply directly or pull if that's

[PATCH v2 1/8] mmc: omap: Enable Auto CMD12

2012-03-16 Thread Venkatraman S
From: Balaji T K balaj...@ti.com Enable Auto-CMD12 for multi block read/write on HSMMC Tested on OMAP4430, OMAP3430 and OMAP2430 SDP Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 16 +--- 1 file changed

[PATCH v2 2/8] mmc: omap: add DDR support to omap_hsmmc

2012-03-16 Thread Venkatraman S
From: Balaji T K balaj...@ti.com Add Dual data rate support for omap_hsmmc Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers

[PATCH v2 3/8] mmc: omap: use runtime put sync in probe error patch

2012-03-16 Thread Venkatraman S
From: Balaji T K balaj...@ti.com pm_runtime_put_sync instead of autosuspend pm runtime API because iounmap(host-base) follows immediately. Reported-by: Rajendra Nayak rna...@ti.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com Cc: stable sta

[PATCH v2 4/8] mmc: omap: context save after enabling runtime pm

2012-03-16 Thread Venkatraman S
From: Balaji T K balaj...@ti.com call context save api after enabling runtime pm to make sure register access in context save api happens with clk enabled. Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com Cc: stable sta...@vger.kernel.org --- drivers/mmc

[PATCH v2 5/8] mmc: host: omap_hsmmc: trivial cleanups

2012-03-16 Thread Venkatraman S
From: Felipe Balbi ba...@ti.com a bunch of non-functional cleanups to the omap_hsmmc driver. It basically decreases indentation level, drop unneded dereferences and drop unneded accesses to the platform_device structure. Signed-off-by: Felipe Balbi ba...@ti.com Signed-off-by: Venkatraman S

[PATCH v2 6/8] mmc: host: omap_hsmmc: make it behave well as a module

2012-03-16 Thread Venkatraman S
Balbi ba...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index c16c552..bcb8c5d 100644 --- a/drivers/mmc/host

[PATCH v2 8/8] mmc: omap4: hsmmc: fix module re-insertion

2012-03-16 Thread Venkatraman S
this by updating the ioremap base address only. Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index

[PATCH v2 7/8] mmc: host: omap_hsmmc: convert to module_platform_driver

2012-03-16 Thread Venkatraman S
From: Felipe Balbi ba...@ti.com this will delete some boilerplate code, no functional changes. Signed-off-by: Felipe Balbi ba...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff

[PATCH 0/8][git pull] mmc: omap: Assorted fixes for 3.4 merge window

2012-03-15 Thread Venkatraman S
Chris, Here are a group of fixes posted by Felipe and Balaji for the OMAP hsmmc driver in the past few days. I've rebased them to the lastest mmc-next and posted them here again. These have also been tested on OMAP4 development platform. Please feel to apply directly or pull if that's

[PATCH RESEND 1/8] mmc: omap: Enable Auto CMD12

2012-03-15 Thread Venkatraman S
From: Balaji T K balaj...@ti.com Enable Auto-CMD12 for multi block read/write on HSMMC Tested on OMAP4430, OMAP3430 and OMAP2430 SDP Signed-off-by: Balaji T K balaj...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git

[PATCH RESEND 2/8] mmc: omap: add DDR support to omap_hsmmc

2012-03-15 Thread Venkatraman S
From: Balaji T K balaj...@ti.com Add Dual data rate support for omap_hsmmc Signed-off-by: Balaji T K balaj...@ti.com --- drivers/mmc/host/omap_hsmmc.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index b1e9be7..db8af43

[PATCH RESEND 3/8] mmc: omap: use runtime put sync in probe error patch

2012-03-15 Thread Venkatraman S
From: Balaji T K balaj...@ti.com pm_runtime_put_sync instead of autosuspend pm runtime API because iounmap(host-base) follows immediately. Reported-by: Rajendra Nayak rna...@ti.com Signed-off-by: Balaji T K balaj...@ti.com --- drivers/mmc/host/omap_hsmmc.c |3 +-- 1 file changed, 1

[PATCH RESEND 4/8] mmc: omap: context save after enabling runtime pm

2012-03-15 Thread Venkatraman S
From: Balaji T K balaj...@ti.com call context save api after enabling runtime pm to make sure register access in context save api happens with clk enabled. Signed-off-by: Balaji T K balaj...@ti.com --- drivers/mmc/host/omap_hsmmc.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH RESEND 5/8] mmc: host: omap_hsmmc: trivial cleanups

2012-03-15 Thread Venkatraman S
From: Felipe Balbi ba...@ti.com a bunch of non-functional cleanups to the omap_hsmmc driver. It basically decreases indentation level, drop unneded dereferences and drop unneded accesses to the platform_device structure. Signed-off-by: Felipe Balbi ba...@ti.com ---

[PATCH RESEND 6/8] mmc: host: omap_hsmmc: make it behave well as a module

2012-03-15 Thread Venkatraman S
From: Felipe Balbi ba...@ti.com if we put probe() on __init section, that will never work for multiple module insertions/removals. In order to make it work properly, move probe to __devinit section and use platform_driver_register() instead of platform_driver_probe(). Signed-off-by: Felipe

[PATCH RESEND 7/8] mmc: host: omap_hsmmc: convert to module_platform_driver

2012-03-15 Thread Venkatraman S
From: Felipe Balbi ba...@ti.com this will delete some boilerplate code, no functional changes. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c

[PATCH RESEND 8/8] mmc: omap4: hsmmc: fix module re-insertion

2012-03-15 Thread Venkatraman S
From: Balaji T K balaj...@ti.com OMAP4 and OMAP3 HSMMC IP registers differ by 0x100 offset. Addng the offset to platform_device resource structure increments the start address for every insmod operation. MMC command fails on re-insertion as module due to incorrect register base. Fix this by

[PATCH] mmc: omap: remove clock rate hard coding

2011-12-20 Thread Venkatraman S
From: Balaji TK balaj...@ti.com MMC master clock rate can vary for each instance of the MMC controller on the device. Use clk_get_rate instead to get the value. Signed-off-by: Balaji TK balaj...@ti.com Reviewed-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c |7

[PATCH 1/2] omap: hsmmc: Normalize dma cleanup operations

2011-09-01 Thread Venkatraman S
Reuse omap_hsmmc_dma_cleanup even for normal dma teardown in omap_hsmmc_dma_cb. Consolidate multiple points of dma unmap into a single location in post_req function, to prevent double unmapping. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 20

[PATCH 0/2] omap: hsmmc: Cleanup omap hsmmc dma routines

2011-09-01 Thread Venkatraman S
The first patch substitutes the dma_cleanup function in place of the body of the code which does the same thing. The dma unmap operation is now restricted just to the post_req function. The second patch minimizes holding spin lock during dma configuration, where it is not necessary. Venkatraman

[PATCH 2/2] omap: hsmmc: Don't hold spinlock during dma configuration

2011-09-01 Thread Venkatraman S
No need to hold the spinlock during a rather long dma configuration sequence inside dma callback, which doesn't need it. Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host

[PATCH 0/2] OMAP: Update nr_irqs field in machine descriptors

2011-08-24 Thread Venkatraman S
. Eventually, the common irq handler code will only look at this field and not the compile time constant. [1]: https://blueprints.launchpad.net/ubuntu/+spec/kernel-maverick-arm-single-zimage Venkatraman S (2): omap2+: Populate nr_irqs field in machine descriptors omap1: Populate nr_irqs field

[PATCH 1/2] omap2+: Populate nr_irqs field in machine descriptors

2011-08-24 Thread Venkatraman S
Machine descriptors in board files should have valid nr_irqs value so that irq handler code can probe it. Signed-off-by: Venkatraman S svenk...@ti.com --- arch/arm/mach-omap2/board-2430sdp.c|1 + arch/arm/mach-omap2/board-3430sdp.c|1 + arch/arm/mach-omap2/board-3630sdp.c

[PATCH 2/2] omap1: Populate nr_irqs field in machine descriptors

2011-08-24 Thread Venkatraman S
Machine descriptors in board files should have valid nr_irqs value so that irq handler code can probe it. Signed-off-by: Venkatraman S svenk...@ti.com --- arch/arm/mach-omap1/board-ams-delta.c |1 + arch/arm/mach-omap1/board-fsample.c |1 + arch/arm/mach-omap1/board-generic.c |1

configuration warnings with omap_3630sdp_defconfig in 2.6.35-rc5

2010-07-20 Thread Venkatraman S
While trying to build omap_3630sdp_defconfig on Linus's 2.6.35-rc5, I get these warnings.. I understand these could be related to the recent defconfig changes. I will try to investigate; posted here to know if anyone has found a fix already.. -- scripts/kconfig/conf -s

  1   2   >