Re: [RFC 0/2] mmc: sdhi: make use of CBSY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 26.01.2016 12:46, Wolfram Sang wrote:
Honestly, I still think this is a micro-optimization: Assuming SCLKDIVEN is
basically CBSY plus 8 SD clock cycles, then we'd save in the best case (SD
clock is slowest, 24 MHz) around 333ns while we are polling with 1 us
granularity...

However, in case I assumed something wrong and so you guys have something to
play with, here is an RFC. Let me know what you think.

Wolfram Sang (2):
  mmc: tmio/sdhi: introduce flag for RCar specific features
  mmc: sdhi: on RCar, make use of CBSY bit

 drivers/mmc/host/sh_mobile_sdhi.c | 19 +++++++++++++------
 drivers/mmc/host/tmio_mmc_pio.c   |  6 +++---
 include/linux/mfd/tmio.h          |  4 ++--
 include/linux/mmc/tmio.h          |  3 +++
 4 files changed, 21 insertions(+), 11 deletions(-)


Checking the recent kernel [1] it seems to me that this changes never made it into mainline.

Does anybody remember why and/or the history?

Best regards

Dirk

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/mmc/host/sh_mobile_sdhi.c#n509




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux