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


Groups > linux.kernel > #1263757

[PATCH 2/2] usb: host: ehci-msm: Use posted data writes on AHB

From Andy Gross <agross@codeaurora.org>
Newsgroups linux.kernel
Subject [PATCH 2/2] usb: host: ehci-msm: Use posted data writes on AHB
Date 2015-11-06 07:10 +0100
Message-ID <qrInM-JI-11@gated-at.bofh.it> (permalink)
References <qrInL-JI-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch sets the AHBMODE to allow for posted data writes.  This
results in higher performance.

Signed-off-by: Andy Gross <agross@codeaurora.org>
---
 drivers/usb/host/ehci-msm.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c
index c4f84c8..c23e285 100644
--- a/drivers/usb/host/ehci-msm.c
+++ b/drivers/usb/host/ehci-msm.c
@@ -57,8 +57,8 @@ static int ehci_msm_reset(struct usb_hcd *hcd)
 
 	/* bursts of unspecified length. */
 	writel(0, USB_AHBBURST);
-	/* Use the AHB transactor */
-	writel(0, USB_AHBMODE);
+	/* Use the AHB transactor, allow posted data writes */
+	writel(0x8, USB_AHBMODE);
 	/* Disable streaming mode and select host mode */
 	writel(0x13, USB_USBMODE);
 
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH 0/2] Configure AHB to post data transfers Andy Gross <agross@codeaurora.org> - 2015-11-06 07:10 +0100
  [PATCH 2/2] usb: host: ehci-msm: Use posted data writes on AHB Andy Gross <agross@codeaurora.org> - 2015-11-06 07:10 +0100
    Re: [PATCH 2/2] usb: host: ehci-msm: Use posted data writes on AHB Georgi Djakov <georgi.djakov@linaro.org> - 2015-11-06 11:20 +0100
      Re: [PATCH 2/2] usb: host: ehci-msm: Use posted data writes on AHB Alan Stern <stern@rowland.harvard.edu> - 2015-11-06 16:50 +0100

csiph-web