On Tue, Jun 30, 2015 at 10:13 AM, Paul Mansfield wrote:
>
> Hello,
>
> I am trying to get a baytrail-t based convertible tablet working with
> linux, using kernel 4.1 built for 32 bit Debian Jessie. I've made
> good progress, making my Toshiba Click Mini work
> sufficiently well to be useable with
On Sat, Sep 27, 2014 at 12:41 PM, Oleksij Rempel wrote:
>
> This driver is based on documentation which was based on my RE-work and
> comparision with other MMC drivers.
> It works in legacy mode and can provide 20MB/s R/W spead for most modern
> SD cards, even if at least 40MB/s should be possibl
On Thu, Jan 31, 2013 at 2:22 PM, Balaji T K wrote:
> Update Maintainer email for omap_hsmmc,
> as Venkatraman will no longer be able to maintain omap_hsmmc driver.
>
> Signed-off-by: Venkatraman S
> Signed-off-by: Balaji T K
Balaji,
My sign-off is incorrect, as I did not w
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
---
MAINTAINERS |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/MAINTAINERS b
On Mon, Nov 26, 2012 at 2:19 AM, Chris Ball wrote:
> Hi Venkat,
>
> On Mon, Nov 19 2012, Venkatraman S wrote:
>> From: Balaji T K
>>
>> "commit ae4bf788ee9bf7c2d51b0309117d1fcccbdd50a2
>> mmc: omap_hsmmc: consolidate error report handling of HSMMC IRQ&qu
On Tuesday 20 November 2012 03:12 AM, Andreas Fenkart wrote:
Signed-off-by: Andreas Fenkart
---
drivers/mmc/host/omap_hsmmc.c |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 21ca331..13ef4a0 1006
: Venkatraman S
Acked-by: Felipe Balbi
---
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/omap_hsmmc.c b/dri
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
Signed-off-by: Venkatraman S
---
drivers/mmc/host/omap_hsmmc.c | 12 ++--
1 file changed, 6 insertions(+), 6
spend.
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
Signed-off-by: Venkatraman S
---
drivers/mmc/host/omap_hsmmc.c | 44 +++
1 file changed, 24 inser
roller should support High-Speed-Enable Bit and
- Controller should not be using DDR Mode and
- Controller should advertise that it supports High Speed in
capabilities register and
- MMC/SD clock coming out of controller > 25MHz
Signed-off-by: Hebbar, Gururaja
Signed-off-by: Venkatraman S
---
From: Balaji T K
update error code to cmd->error for commands with response_busy and no data
Signed-off-by: Balaji T K
Reviewed-by: Felipe Balbi
Signed-off-by: Venkatraman S
---
drivers/mmc/host/omap_hsmmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/
From: Balaji T K
Avoid soft reset of command internal state machine on data errors.
Signed-off-by: Balaji T K
Reviewed-by: Felipe Balbi
Signed-off-by: Venkatraman S
---
drivers/mmc/host/omap_hsmmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host
complete 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
Reviewed-by: Felipe Balbi
Signed-off-by: Venkatraman S
---
driv
On Sun, Nov 18, 2012 at 6:39 AM, Chris Ball 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
On Wed, Nov 7, 2012 at 6:54 PM, Balaji T K 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).
>>
>>
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
Signed-off-by: Venkatraman S
---
drivers/mmc/host/omap_hsmmc.c | 12 ++--
1 file changed, 6 insertions(+), 6
: Venkatraman S
Acked-by: Felipe Balbi
---
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
--- a/drivers/mmc/host
spend.
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
Signed-off-by: Venkatraman S
---
drivers/mmc/host/omap_hsmmc.c | 44 +++
1 file changed, 24 inser
roller should support High-Speed-Enable Bit and
- Controller should not be using DDR Mode and
- Controller should advertise that it supports High Speed in
capabilities register and
- MMC/SD clock coming out of controller > 25MHz
Signed-off-by: Hebbar, Gururaja
Signed-off-by: Venkatraman S
---
ete has not been handled
before, else a NULL pointer dereference occurs.
CC: sta...@vger.kernel.org
Signed-off-by: Venkatraman S
---
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/omap_hsmmc.c
in
: 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_
On Mon, Oct 22, 2012 at 6:29 PM, Felipe Balbi 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 will be
On Wed, Oct 31, 2012 at 5:56 PM, Felipe Balbi 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 tim
On Thu, Oct 25, 2012 at 8:32 PM, Per Förlin wrote:
> On 10/25/2012 03:28 PM, Konstantin Dorfman wrote:
>> On 10/24/2012 07:07 PM, Per Förlin wrote:
>>> On 10/24/2012 11:41 AM, Konstantin Dorfman wrote:
Hello Per,
On Mon, October 22, 2012 1:02 am, Per Forlin wrote:
>> When mmcqt
On Thu, Oct 25, 2012 at 6:58 PM, Konstantin Dorfman
wrote:
> On 10/24/2012 07:07 PM, Per Förlin wrote:
>> On 10/24/2012 11:41 AM, Konstantin Dorfman wrote:
>>> Hello Per,
>>>
>>> On Mon, October 22, 2012 1:02 am, Per Forlin wrote:
> When mmcqt reports on completion of a request there should be
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 car
On Thursday 25 October 2012 06:29 PM, wang.jing.windsdae...@gmail.com wrote:
From: Jing Wang
Some description of the actual effect of the change here would be nice.
For example, "Trim the error handling path in mmc_alloc_sg".
But what's the point of this patch anyway ? There are 2 "return" stat
Daniel,
On Sat, Oct 13, 2012 at 2:31 PM, Daniel Mack 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 fixes and I'
From: Balaji T K
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
Signed-off-by: Venkatraman S
---
drivers/mmc/host/omap_hsmmc.c | 17 +++--
1 file changed, 11 insertions(+), 6 deleti
From: Balaji T K
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
Signed-off-by: Venkatraman S
---
drivers/mmc/host/omap_hsmmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
From: Daniel Mack
Maximum bus frequency can be limited by external circuitry like level
shifters etc. Allow passing this value from DT.
Signed-off-by: Daniel Mack
Cc: Venkatraman S
Cc: Chris Ball
Cc: Grant Likely
Cc: Rob Herring
Cc: linux-o...@vger.kernel.org
Signed-off-by: Venkatraman S
From: Daniel Mack
This allows DT-driven board to set up the pin mux only when the driver
is in use.
Signed-off-by: Daniel Mack
Cc: Venkatraman S
Cc: Chris Ball
Cc: Grant Likely
Cc: Rob Herring
Cc: Linus Walleij
Cc: linux-o...@vger.kernel.org
Acked-by: Linus Walleij
Signed-off-by
On Fri, Oct 5, 2012 at 3:34 AM, Tony Lindgren wrote:
> We need to remove this from plat for ARM common zImage
> support.
>
> Cc: Chris Ball
> Cc: Venkatraman S
> Cc: linux-mmc@vger.kernel.org
> Signed-off-by: Tony Lindgren
Thanks Tony. I suppose this should go into
: Venkatraman S
---
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
+++ b/drivers/mmc
d 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
---
v1->v2:
Fix typos in commit message.
Add check
ms
is used only when the timeout is not explicitly specified by core.
Signed-off-by: Venkatraman S
---
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/oma
I can continue to look after this driver.
Signed-off-by: Venkatraman S
---
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: Maintained
F
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
---
drivers/mmc
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
---
drivers/mmc/host/omap_hsmmc.c | 17 -
1 file changed, 4 insertions(+), 13 deletions(-)
diff --git a/drivers/mmc/host
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
---
drivers/mmc
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
---
drivers/mmc/host/omap_hsmmc.c | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
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
---
drivers/mmc/host/omap.c | 29 +
1
Get rid of some unnecessary includes in the driver and
a few unused variables.
Signed-off-by: Venkatraman S
---
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
--- a/drivers
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
---
drivers/mmc/core/debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
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
---
drivers/mmc
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 and
-Off-by: Venkatraman S
CC: Ulf Hansson
CC: Subhash Jadavani
CC: Saugata Das
---
drivers/mmc/core/mmc.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 258b203..4f4489a 100644
--- a/drivers/mmc/core
t the end of sending the command itself.
Specify the default timeout for the actual sending of HPI
command, and then use OUT_OF_INTERRUPT_TIME to wait for
the transition out of PRG state.
Reported-by: Alex Lemberg
Signed-off-by: Venkatraman S
Reviewed-by: Namjae Jeon
Acked-by: Jaehoon Chun
t the end of sending the command itself.
Specify the default timeout for the actual sending of HPI
command, and then use OUT_OF_INTERRUPT_TIME to wait for
the transition out of PRG state.
Reported-by: Alex Lemberg
Signed-off-by: Venkatraman S
Reviewed-by: Namjae Jeon
Acked-by: Jaehoon Chun
t the end of sending the command itself.
Specify the default timeout for the actual sending of HPI
command, and then use OUT_OF_INTERRUPT_TIME to wait for
the transition out of PRG state.
Reported-by: Alex Lemberg
Signed-off-by: Venkatraman S
Reviewed-by: Namjae Jeon
Acked-by: Jaehoon Chun
Get rid of boilerplate code by using module_platform_driver macro,
no functional changes.
Signed-off-by: Venkatraman S
---
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/omap.c
index
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
---
drivers/mmc/host/omap.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git
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
---
drivers/mmc/host/omap.c |
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
From: Ilan Smith
Add attribute to identify demand paging requests.
Mark readpages with demand paging attribute.
Signed-off-by: Ilan Smith
Signed-off-by: Alex Lemberg
Signed-off-by: Venkatraman S
---
fs/mpage.c|2 ++
include/linux/bio.h |7 +++
include/linux
From: Ilan Smith
When exp_swapin and exp_dmpg are set, treat read requests
marked with DMPG and SWAPIN as high priority and move to
the front of the queue.
Signed-off-by: Ilan Smith
Signed-off-by: Alex Lemberg
Signed-off-by: Venkatraman S
---
block/blk-core.c | 18
quest.
Signed-off-by: Venkatraman S
---
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/core/core.c
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
---
drivers/mmc/card/block.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card
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
---
Documentation/ABI/testing/sysfs-devices-mmc | 12
1 file changed, 12
command normally.
Signed-off-by: Venkatraman S
---
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
index 11833e4
hpi_time_threshold
sysfs entry.
Signed-off-by: Venkatraman S
---
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 100644
--- a
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
---
include/linux/mmc/core.h | 13 +
1 file changed, 13 insertions
sysfs entries for DPMG and SWAPIN requests so that they can
be set/reset from userspace.
Signed-off-by: Venkatraman S
---
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
--- a/block/blk
Add description on the usage of expedite_dmpg and
expedite_swapin.
Signed-off-by: Venkatraman S
---
Documentation/ABI/testing/sysfs-block | 12
1 file changed, 12 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-block
b/Documentation/ABI/testing/sysfs-block
index
Add block queue properties to identify and manage demand paging
and swapin requests differently.
Signed-off-by: Ilan Smith
Signed-off-by: Alex Lemberg
Signed-off-by: Venkatraman S
---
include/linux/blkdev.h |8
1 file changed, 8 insertions(+)
diff --git a/include/linux/blkdev.h
From: Ilan Smith
Add attribute to identify swapin requests
Mark memory management requests with swapin requests
Signed-off-by: Ilan Smith
Signed-off-by: Alex Lemberg
Signed-off-by: Venkatraman S
---
include/linux/bio.h |1 +
include/linux/blk_types.h |2 ++
mm/page_io.c
MM: 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: Documentat
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
---
drivers/mmc/host/omap_hsmmc.c | 55 ++---
1 file changed, 51 insertions(+), 4 deletions
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
---
d
etc. The implementation is controller dependant
Signed-off-by: Venkatraman S
---
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 100644
--- a
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
e end of sending the command itself.
Specify the default timeout for the actual sending of HPI
command, and then use OUT_OF_INTERRUPT_TIME to wait for
the transition out of PRG state.
Reported-by: Alex Lemberg
Signed-off-by: Venkatraman S
---
v1->v2: Fix formatting inside debu
From: Viswanath Puttagunta
Add mmc functional clock frequency to list of
internal state variables to display for debug.
Signed-off-by: Viswanath Puttagunta
Signed-off-by: Venkatraman S
---
v1 -> v2: Restored indentation to be consistent
as the rest of the f
e end of sending the command itself.
Specify the default timeout for the actual sending of HPI
command, and then use OUT_OF_INTERRUPT_TIME to wait for
the transition out of PRG state.
Reported-by: Alex Lemberg
Signed-off-by: Venkatraman S
---
v1->v2: Fix formatting inside debu
e end of sending the command itself.
Specify the default timeout for the actual sending of HPI
command, and then use OUT_OF_INTERRUPT_TIME to wait for
the transition out of PRG state.
Reported-by: Alex Lemberg
Signed-off-by: Venkatraman S
---
drivers/mmc/core/core.c|
Signed-off-by: Venkatraman S
---
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
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host
From: Rajendra Nayak
Giving out debug messages even in case of probe failure seems
not very useful. Make them error messages instead.
Signed-off-by: Rajendra Nayak
Signed-off-by: Venkatraman S
Cc: Chris Ball
Cc:
---
drivers/mmc/host/omap_hsmmc.c |6 +++---
1 file changed, 3 insertions
From: Viswanath Puttagunta
Add mmc functional clock frequency to list of
internal state variables to display for debug.
Signed-off-by: Viswanath Puttagunta
Signed-off-by: Venkatraman S
---
drivers/mmc/host/omap_hsmmc.c |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
: Russell King
Signed-off-by: Venkatraman S
---
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
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc
From: Ilan Smith
When expedite_swapin and expedite_dmpg are set, move the
requests ahead of the queue.
Signed-off-by: Ilan Smith
Signed-off-by: Alex Lemberg
Signed-off-by: Venkatraman S
---
block/blk-core.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/block/blk
From: Ilan Smith
Add attribute to identify swap page read requests.
Mark swap read requests with swapin attributes.
Signed-off-by: Ilan Smith
Signed-off-by: Alex Lemberg
Signed-off-by: Venkatraman S
---
include/linux/bio.h |1 +
include/linux/blk_types.h |2 ++
mm/page_io.c
From: Ilan Smith
Add attribute to identify demand paging requests.
Mark readpages with demand paging attribute.
Signed-off-by: Ilan Smith
Signed-off-by: Alex Lemberg
Signed-off-by: Venkatraman S
---
fs/mpage.c|2 ++
include/linux/bio.h |7 +++
include/linux
Signed-off-by: Venkatraman S
---
include/linux/mmc/mmc.h |2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/mmc/mmc.h b/include/linux/mmc/mmc.h
index b822a2c..ec2f195 100644
--- a/include/linux/mmc/mmc.h
+++ b/include/linux/mmc/mmc.h
@@ -280,6 +280,8 @@ struct _mmc_csd
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
---
drivers/mmc/card/block.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card
Add a routine to invoke hpi command after invoking host
controller abort.
Signed-off-by: Venkatraman S
---
drivers/mmc/core/core.c | 15 +++
include/linux/mmc/core.h |2 ++
2 files changed, 17 insertions(+)
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index
etc. The implementation is controller dependant
Signed-off-by: Venkatraman S
---
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 6cefa01..1963305 100644
--- a
which requires it to
wait till the card is back to transfer state after completing
the write.
Signed-off-by: Venkatraman S
---
drivers/mmc/card/block.c | 126 ++
drivers/mmc/card/queue.h |1 +
2 files changed, 117 insertions(+), 10 deletions(-)
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
According to Table 30 in eMMC spec, only some commands
can be preempted by HPI. Provide a helper function for
the HPI procedure to identify if the command is
preemptible.
Signed-off-by: Venkatraman S
---
include/linux/mmc/core.h | 13 +
1 file changed, 13 insertions(+)
diff --git
Add block queue properties to identify and manage demand paging
and swap read requests differently. sysfs entries are included
to enable or disable this feature at runtime.
Signed-off-by: Venkatraman S
Signed-off-by: Ilan Smith
Signed-off-by: Alex Lemberg
---
block/blk-sysfs.c | 16
y/mmc/3.4/foreground-hpiv1
Ilan Smith (3):
fs: Add demand paging markers to filesystem
mm: Add page swapping markers to memory management
block: Expedite DMPG and SWAPIN requests ahead of the queue
Venkatraman S (8):
block: Add queue attributes to manage dpmg and swapin requests
mmc: Add
e end of sending the command itself.
Specify the default timeout for the actual sending of HPI
command, and then use OUT_OF_INTERRUPT_TIME to wait for
the transition out of PRG state.
Reported-by: Alex Lemberg
Signed-off-by: Venkatraman S
CC: Namjae Jeon
CC: Jae hoon Chung
CC: Chris
Lemberg
Signed-off-by: Venkatraman S
---
drivers/mmc/core/core.c | 34 ++
1 file changed, 18 insertions(+), 16 deletions(-)
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index e541efb..ceabef5 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc
Not needed to memset, as they are pointers and are assigned
to proper values in the next line anyway.
Signed-off-by: Venkatraman S
---
drivers/mmc/card/queue.c |2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/mmc/card/queue.c b/drivers/mmc/card/queue.c
index 49af43c..e360a97
Include the corresponding header file in cd-gpio.c
for prototype consistency. This gets rid of some
sparse warnings.
Signed-off-by: Venkatraman S
---
drivers/mmc/core/cd-gpio.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/core/cd-gpio.c b/drivers/mmc/core/cd-gpio.c
index
The name mmc_request is used for both the issue function
and a data structure, which creates conflicts in symbol lookups
in editors. Rename the function to mmc_request_fn
Signed-off-by: Venkatraman S
---
drivers/mmc/card/queue.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
The first 3 are straight forward / trivial fixes.
The last one is a functional change on how HPI should be invoked
on the card. This is required for my future foreground HPI series
that'll follow.
Also available at git://github.com/svenkatr/linux.git my/mmc/cleanups-v2
Venkatraman
the
dbclk clock pointer to know if a valid debounce clock
exists for the platform.
Signed-off-by: Rajendra Nayak
Signed-off-by: Venkatraman S
---
drivers/mmc/host/omap_hsmmc.c | 39 +--
1 file changed, 17 insertions(+), 22 deletions(-)
diff --git a/driver
Prevent possible races between HSMMC/DMA IRQs and next requests.
Signed-off-by: Venkatraman S
---
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
index 9e701f3
From: Balaji T K
Add Dual data rate support for omap_hsmmc
Signed-off-by: Balaji T K
Signed-off-by: Venkatraman S
---
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 1fcacb6..9e701f3
1 - 100 of 163 matches
Mail list logo