Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1382223

[PATCHv1 0/2] mmc: Move broken-hpi also to the chipset level

Path csiph.com!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Olliver Schinagl <oliver@schinagl.nl>
Newsgroups linux.kernel
Subject [PATCHv1 0/2] mmc: Move broken-hpi also to the chipset level
Date Tue, 19 Apr 2016 09:30:01 +0200
Message-ID <rpygF-33S-3@gated-at.bofh.it> (permalink)
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=schinagl.nl; s=7of9; t=1461050010; bh=QWi0PAPwBXl1N6hHcel7ptRJMA6UpZBr9OfIeXtFQCI=; h=From:To:Cc:Subject:Date; b=G7niKV60Z9oMyGS4zX8ch8dvJf8MY5KT6aVHw81bnO+aU++ejgKPa/Qt4v77DRsHx cA5HHuttbtH/PZXhCJriosnw6gMv0SYOgFluRe2YlA/BhmLewJuDmhlRorfT2u5r41 4RmoStZZaVRgnXYdxdGnfmD7tqeMqjKY6rbKvjo0=
X-Mailer git-send-email 2.8.0.rc3
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 30
Organization linux.* mail to news gateway
X-Original-Cc linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Olliver Schinagl <oliver@schinagl.nl>
X-Original-Date Tue, 19 Apr 2016 09:12:12 +0200
X-Original-Message-ID <1461049934-12848-1-git-send-email-oliver@schinagl.nl>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1382223

Show key headers only | View raw


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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCHv1 0/2] mmc: Move broken-hpi also to the chipset level Olliver Schinagl <oliver@schinagl.nl> - 2016-04-19 09:30 +0200
  [PATCH 2/2] mmc: sunxi: Mark the HPI of the mmc controller broken by default Olliver Schinagl <oliver@schinagl.nl> - 2016-04-19 09:30 +0200
  [PATCH 1/2] mmc: core: Improve marking broken HPI through devicetree Olliver Schinagl <oliver@schinagl.nl> - 2016-04-19 09:30 +0200
    Re: [PATCH 1/2] mmc: core: Improve marking broken HPI through devicetree Ulf Hansson <ulf.hansson@linaro.org> - 2016-04-19 11:30 +0200
      Re: [PATCH 1/2] mmc: core: Improve marking broken HPI through  devicetree Olliver Schinagl <oliver@schinagl.nl> - 2016-04-19 11:50 +0200
        Re: [PATCH 1/2] mmc: core: Improve marking broken HPI through  devicetree Jaehoon Chung <jh80.chung@samsung.com> - 2016-04-19 11:50 +0200
          Re: [PATCH 1/2] mmc: core: Improve marking broken HPI through  devicetree Olliver Schinagl <oliver@schinagl.nl> - 2016-04-19 14:30 +0200
            Re: [PATCH 1/2] mmc: core: Improve marking broken HPI through  devicetree Jaehoon Chung <jh80.chung@samsung.com> - 2016-04-19 14:50 +0200
        Re: [PATCH 1/2] mmc: core: Improve marking broken HPI through devicetree Ulf Hansson <ulf.hansson@linaro.org> - 2016-04-19 12:00 +0200
        Re: [PATCH 1/2] mmc: core: Improve marking broken HPI through  devicetree Hans de Goede <hdegoede@redhat.com> - 2016-04-19 13:30 +0200
          Re: [PATCH 1/2] mmc: core: Improve marking broken HPI through  devicetree Olliver Schinagl <oliver@schinagl.nl> - 2016-04-19 14:50 +0200
            Re: [PATCH 1/2] mmc: core: Improve marking broken HPI through devicetree Ulf Hansson <ulf.hansson@linaro.org> - 2016-04-19 21:30 +0200
    Re: [PATCH 1/2] mmc: core: Improve marking broken HPI through  devicetree Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-04-19 13:00 +0200
      Re: [PATCH 1/2] mmc: core: Improve marking broken HPI through  devicetree Olliver Schinagl <oliver@schinagl.nl> - 2016-04-19 14:30 +0200
        Re: [PATCH 1/2] mmc: core: Improve marking broken HPI through  devicetree Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-04-19 15:30 +0200

csiph-web