RE: [PATCH 1/4 V2] powerpc/85xx: Add support for 85xx cpu type detection

2013-07-11 Thread Zhang Haijun-B42677
Thanks. Regards Haijun. -Original Message- From: David Laight [mailto:david.lai...@aculab.com] Sent: Thursday, July 11, 2013 4:44 PM To: Wood Scott-B07421; Zhang Haijun-B42677 Cc: Zhao Chenhui-B35336; linux-mmc@vger.kernel.org; Wrobel Heinz-R39252; Fleming Andy-AFLEMING; Zhang

[PATCH] mmc: dt: add host-off-card-on dt property

2013-07-11 Thread Wei Ni
Add host-off-card-on dt property and parse it to support the quirk SDHCI_QUIRK2_HOST_OFF_CARD_ON. Signed-off-by: Wei Ni w...@nvidia.com --- Documentation/devicetree/bindings/mmc/mmc.txt |2 ++ drivers/mmc/host/sdhci-pltfm.c|3 +++ 2 files changed, 5 insertions(+) diff

[RFC/PATCH 0/4] block: Add support for urgent request handling in CFQ

2013-07-11 Thread Tanya Brokhman
In order to decrease the latency of a prioritized request (such as READ requests) the device driver might decide to stop the transmission of a current low priority request in order to handle the high priority one. The urgency of the request is decided by the block layer I/O scheduler. When the

[RFC/PATCH 2/4] block: Add support for reinsert a dispatched req

2013-07-11 Thread Tanya Brokhman
Add support for reinserting a dispatched request back to the scheduler's internal data structures. This capability is used by the device driver when it chooses to interrupt the current request transmission and execute another (more urgent) pending request. For example: interrupting long write in

[RFC/PATCH 1/4] block: make rq-cmd_flags be 64-bit

2013-07-11 Thread Tanya Brokhman
From: Jens Axboe ax...@kernel.dk We have officially run out of flags in a 32-bit space. Extend it to 64-bit even on 32-bit archs. Signed-off-by: Jens Axboe ax...@kernel.dk diff --git a/block/blk-core.c b/block/blk-core.c index 93a18d1..cfa4dd3 100644 --- a/block/blk-core.c +++

[RFC/PATCH 3/4] block: Add API for URGENT request handling

2013-07-11 Thread Tanya Brokhman
This patch add support in block elevator layers for handling urgent requests. The decision if a request is urgent or not is taken by the scheduler. Request is marked as urgent in cmd_flags (by the scheduler) with a new flag - REQ_URGENT. Urgent request notification is passed to the underlying

[RFC/PATCH 4/4] block: Add URGENT request notification support to CFQ scheduler

2013-07-11 Thread Tanya Brokhman
When the scheduler reports to the block layer that there is an urgent request pending, the device driver may decide to stop the transmission of the current request in order to handle the urgent one. This is done in order to reduce the latency of an urgent request. For example: long WRITE may be

Re: [PATCH v2] mmc: omap_hsmmc: use the generic config for omap2plus devices

2013-07-11 Thread Felipe Balbi
On Wed, Jul 10, 2013 at 09:36:24PM +0530, a-bin...@ti.com wrote: From: Amarinder Bindra a-bin...@ti.com OMAP's hs_mmc driver is used for MMC controller operation on many omap2plus SoCs (OMAP2430, OMAP3, 4, 5 and AM335x). Considering that the device tree entries are already present for

[PATCH] mmc: omap_hsmmc: fix dependency on indirect header inclusion

2013-07-11 Thread Felipe Balbi
omap_hsmmc.c depends on linux/sizes.h being included indirectly by another header. Once we enable COMPILE_TEST for this driver, we might compile under architectures which won't include linux/sizes.h for us. In fact, one such case is x86. In order to prevent compile breakages, let's explicitly

Re: [PATCH 1/4 V2] powerpc/85xx: Add support for 85xx cpu type detection

2013-07-11 Thread Scott Wood
On 07/11/2013 03:43:35 AM, David Laight wrote: +#define IS_SVR_REV(svr, maj, min) \ + ((SVR_MAJ(svr) == (maj)) (SVR_MIN(svr) == (min))) I don't think IS_SVR_REV is needed. Callers can just do if (SVR_REV(svr) == 0x30) or whatever, especially since we're relying on them to do

Re: [RFC/PATCH 4/4] block: Add URGENT request notification support to CFQ scheduler

2013-07-11 Thread Jeff Moyer
Tanya Brokhman tlin...@codeaurora.org writes: When the scheduler reports to the block layer that there is an urgent request pending, the device driver may decide to stop the transmission of the current request in order to handle the urgent one. This is done in order to reduce the latency of

Re: [PATCH 04/12] drivers/mmc/host: don't use devm_pinctrl_get_select_default() in probe

2013-07-11 Thread Barry Song
2013/7/10 Wolfram Sang w...@the-dreams.de: Since commit ab78029 (drivers/pinctrl: grab default handles from device core), we can rely on device core for setting the default pins. Compile tested only. Acked-by: Linus Walleij linus.wall...@linaro.org (personally at LCE13) Signed-off-by: Wolfram