Paolo Pisati | 26 Jun 2012 14:16
Favicon

[PATCH 0/3] [Q/master] omap3: mmc and ehci fixes

BugLink: http://bugs.launchpad.net/bugs/1017717

Patch 1 is a revert of PM related commit that killed usb on Beagle boards - 
	see http://permalink.gmane.org/gmane.linux.usb.general/66239.
Patch 2 disables generic ehci hdc code (USB_EHCI_HCD_PLATFORM) since we
	already compile-in platform/arch specific code (USB_EHCI_HCD_OMAP).

BugLink: http://bugs.launchpad.net/bugs/1017718

Patch 3 is a revert of an mmc-related commit that caused severe filesystem
	corruption - see https://lkml.org/lkml/2012/6/10/225.

None of the aforementioned patches are upstream yet, but they will be in one
of the next rc (see the respective discussions linked in the lp bugs).

With these 3 patches, omap3 kernel in Q is back in a good shape.

Ming Lei (1):
  UBUNTU: SAUCE: Revert "mmc: omap_hsmmc: Enable Auto CMD12"

Paolo Pisati (2):
  UBUNTU: SAUCE: Revert "Fix OMAP EHCI suspend/resume failure (i693)"
  UBUNTU: [Config] Disable generic USB_EHCI_HCD_PLATFORM on omap3

 debian.master/config/amd64/config.common.amd64     |    1 +
 debian.master/config/armel/config.common.armel     |    1 +
 debian.master/config/armhf/config.flavour.highbank |    1 +
 debian.master/config/armhf/config.flavour.omap     |    1 +
 debian.master/config/config.common.ubuntu          |    1 -
 debian.master/config/i386/config.common.i386       |    1 +
(Continue reading)

Paolo Pisati | 26 Jun 2012 14:16
Favicon

[PATCH 3/3] UBUNTU: SAUCE: Revert "mmc: omap_hsmmc: Enable Auto CMD12"

From: Ming Lei <ming.lei <at> canonical.com>

BugLink: http://bugs.launchpad.net/bugs/1017717

This patch reverts the commit dba3c29ea4a1d5d544.

After bisecting, this commit dba3c29 is found to ruin micro-SD card data
(writing incorrect file, or fs is corrupt after several times mount)
on the beagle-xm revB, and reverting the commit will fix the problem.

Also from TRM of OMAP3/OMAP4/DM37x, the below is mentioned about
the Auto CMD12 Enable bit.
        - SDIO does not support this feature.
        - SD card only.
Looks it is not suitable to always enable Auto CMD12 in host controller
driver.

Considered that the commit is not mature enough, so ask to revert it
first.

Cc: Balaji T K <balajitk <at> ti.com>
Cc: Venkatraman S <svenkatr <at> ti.com>
Buglink: https://lkml.org/lkml/2012/6/10/225
Reported-by: Paolo Pisati <p.pisati <at> gmail.com>
Reported-bisected-and-tested-by: Ming Lei <ming.lei <at> canonical.com>
Signed-off-by: Ming Lei <ming.lei <at> canonical.com>
Signed-off-by: Paolo Pisati <paolo.pisati <at> canonical.com>
---
 drivers/mmc/host/omap_hsmmc.c |   15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)
(Continue reading)

Paolo Pisati | 26 Jun 2012 14:16
Favicon

[PATCH 2/3] UBUNTU: [Config] Disable generic USB_EHCI_HCD_PLATFORM on omap3

Since we already compile-in support for platform specific code (USB_EHCI_HCD_OMAP).

Signed-off-by: Paolo Pisati <paolo.pisati <at> canonical.com>
---
 debian.master/config/amd64/config.common.amd64     |    1 +
 debian.master/config/armel/config.common.armel     |    1 +
 debian.master/config/armhf/config.flavour.highbank |    1 +
 debian.master/config/armhf/config.flavour.omap     |    1 +
 debian.master/config/config.common.ubuntu          |    1 -
 debian.master/config/i386/config.common.i386       |    1 +
 debian.master/config/powerpc/config.common.powerpc |    1 +
 debian.master/config/ppc64/config.common.ppc64     |    1 +
 8 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian.master/config/amd64/config.common.amd64 b/debian.master/config/amd64/config.common.amd64
index 9505334a..5ceae25 100644
--- a/debian.master/config/amd64/config.common.amd64
+++ b/debian.master/config/amd64/config.common.amd64
 <at>  <at>  -270,6 +270,7  <at>  <at>  CONFIG_USB_ARCH_HAS_EHCI=y
 CONFIG_USB_ARCH_HAS_OHCI=y
 CONFIG_USB_ARCH_HAS_XHCI=y
 CONFIG_USB_DWC3=m
+CONFIG_USB_EHCI_HCD_PLATFORM=y
 CONFIG_USB_EHCI_TT_NEWSCHED=y
 CONFIG_USB_GADGET=m
 CONFIG_USB_GPIO_VBUS=m
diff --git a/debian.master/config/armel/config.common.armel b/debian.master/config/armel/config.common.armel
index 23324d5..d244444 100644
--- a/debian.master/config/armel/config.common.armel
+++ b/debian.master/config/armel/config.common.armel
(Continue reading)

Paolo Pisati | 26 Jun 2012 14:16
Favicon

[PATCH 1/3] UBUNTU: SAUCE: Revert "Fix OMAP EHCI suspend/resume failure (i693)"

This reverts commit 354ab8567ae3107a8cbe7228c3181990ba598aac.

BugLink: http://bugs/launchpad.net/bugs/1017718

Here is the thread where they discuss the issue:

http://comments.gmane.org/gmane.linux.usb.general/66239
"OMAP: USB : Fix the EHCI enumeration and core retention issue"

Revert will come down in one of the following 3.5rcX, in the mean time
we do it on our own.

Signed-off-by: Paolo Pisati <paolo.pisati <at> canonical.com>
---
 drivers/usb/host/ehci-omap.c |  168 +-----------------------------------------
 1 file changed, 1 insertion(+), 167 deletions(-)

diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index 17cfb8a..a44294d 100644
--- a/drivers/usb/host/ehci-omap.c
+++ b/drivers/usb/host/ehci-omap.c
 <at>  <at>  -43,7 +43,6  <at>  <at> 
 #include <linux/regulator/consumer.h>
 #include <linux/pm_runtime.h>
 #include <linux/gpio.h>
-#include <linux/clk.h>

 /* EHCI Register Set */
 #define EHCI_INSNREG04					(0xA0)
 <at>  <at>  -56,15 +55,6  <at>  <at> 
(Continue reading)

Tim Gardner | 26 Jun 2012 14:44
Favicon

APPLIED: [PATCH 0/3] [Q/master] omap3: mmc and ehci fixes


--

-- 
Tim Gardner tim.gardner <at> canonical.com


Gmane