Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 1/2] MIPS: Netlogic: Fix USB block's coherent DMA mask
@ 2013-07-17 11:27 Jayachandran C
  2013-07-17 11:27 ` [PATCH 2/2] MIPS: Netlogic: Add XLP PIC irqdomain Jayachandran C
  0 siblings, 1 reply; 2+ messages in thread
From: Jayachandran C @ 2013-07-17 11:27 UTC (permalink / raw)
  To: ralf, linux-mips; +Cc: Ganesan Ramalingam, Jayachandran C

From: Ganesan Ramalingam <ganesanr@broadcom.com>

The on-chip USB controller on Netlogic XLP does not suppport
DMA beyond 32-bit physical address. Set the coherent_dma_mask
of the USB in its PCI fixup to support this.

Signed-off-by: Ganesan Ramalingam <ganesanr@broadcom.com>
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
---
 arch/mips/netlogic/xlp/usb-init.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/netlogic/xlp/usb-init.c b/arch/mips/netlogic/xlp/usb-init.c
index 9c401dd..ef3897e 100644
--- a/arch/mips/netlogic/xlp/usb-init.c
+++ b/arch/mips/netlogic/xlp/usb-init.c
@@ -119,7 +119,7 @@ static u64 xlp_usb_dmamask = ~(u32)0;
 static void nlm_usb_fixup_final(struct pci_dev *dev)
 {
 	dev->dev.dma_mask		= &xlp_usb_dmamask;
-	dev->dev.coherent_dma_mask	= DMA_BIT_MASK(64);
+	dev->dev.coherent_dma_mask	= DMA_BIT_MASK(32);
 	switch (dev->devfn) {
 	case 0x10:
 		dev->irq = PIC_EHCI_0_IRQ;
-- 
1.7.9.5

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

end of thread, other threads:[~2013-07-17 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-17 11:27 [PATCH 1/2] MIPS: Netlogic: Fix USB block's coherent DMA mask Jayachandran C
2013-07-17 11:27 ` [PATCH 2/2] MIPS: Netlogic: Add XLP PIC irqdomain Jayachandran C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox