linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv1 0/2] mmc: Move broken-hpi also to the chipset level
@ 2016-04-19  7:12 Olliver Schinagl
  2016-04-19  7:12 ` [PATCH 1/2] mmc: core: Improve marking broken HPI through devicetree Olliver Schinagl
  2016-04-19  7:12 ` [PATCH 2/2] mmc: sunxi: Mark the HPI of the mmc controller broken by default Olliver Schinagl
  0 siblings, 2 replies; 15+ messages in thread
From: Olliver Schinagl @ 2016-04-19  7:12 UTC (permalink / raw)
  To: Ulf Hansson, Maxime Ripard, Chen-Yu Tsai, Venu Byravarasu,
	Adrian Hunter, Michal Hocko, Lars-Peter Clausen, Sudeep Holla,
	Sergei Shtylyov, Wolfram Sang, Wenkai Du, Chaotian Jing,
	Kuninori Morimoto, Hans de Goede, Jaehoon Chung, Michal Suchanek
  Cc: linux-mmc, linux-kernel, linux-arm-kernel, Olliver Schinagl

A few months ago, hans de Goede and I where talking about the behavior of HPI on
eMMC modules. We came to the conclusion that more often then not, the mmc
chipset might be the problem and not the eMMC module itself. To remedy this the
broken-hpi parameter is now also checked on the chipset level.

On the sunxi platform, all the eMMC users with emmc modules that support HPI
need the broken-hpi flag, indicating that the sunxi mmc controller is likely
not properly supporting HPI. We disable this on the chipset level for these
chipsets.

As for the broken-hpi flag in the devicetree's, those should in theory be
removed from the boards in question in a separate patch when in agreement, as
technically, the eMMC module supports HPI just fine and thus the we are lying
about what really is broken.

This was tested on an OLinuXino Lime2 with 4GB industrial grade Micron eMMC
flash.

Olliver Schinagl (2):
  mmc: core: Improve marking broken HPI through devicetree
  mmc: sunxi: Mark the HPI of the mmc controller broken by default

 drivers/mmc/core/host.c      | 2 ++
 drivers/mmc/core/mmc.c       | 2 +-
 drivers/mmc/host/sunxi-mmc.c | 4 ++--
 include/linux/mmc/host.h     | 1 +
 4 files changed, 6 insertions(+), 3 deletions(-)

-- 
2.8.0.rc3

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-04-19 19:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-19  7:12 [PATCHv1 0/2] mmc: Move broken-hpi also to the chipset level Olliver Schinagl
2016-04-19  7:12 ` [PATCH 1/2] mmc: core: Improve marking broken HPI through devicetree Olliver Schinagl
2016-04-19  9:29   ` Ulf Hansson
2016-04-19  9:42     ` Olliver Schinagl
2016-04-19  9:49       ` Jaehoon Chung
2016-04-19 12:20         ` Olliver Schinagl
2016-04-19 12:44           ` Jaehoon Chung
2016-04-19  9:51       ` Ulf Hansson
2016-04-19 11:22       ` Hans de Goede
2016-04-19 12:45         ` Olliver Schinagl
2016-04-19 19:20           ` Ulf Hansson
2016-04-19 10:52   ` Sergei Shtylyov
2016-04-19 12:21     ` Olliver Schinagl
2016-04-19 13:23       ` Sergei Shtylyov
2016-04-19  7:12 ` [PATCH 2/2] mmc: sunxi: Mark the HPI of the mmc controller broken by default Olliver Schinagl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).