[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1304316260.1589.2.camel@vkoul-udesk3>
Date: Mon, 02 May 2011 11:34:20 +0530
From: "Koul, Vinod" <vinod.koul@...el.com>
To: 康剑斌 <kjbmail@...il.com>
Cc: linux-kernel@...r.kernel.org, dan.j.williams@...el.com
Subject: Re: Can I/OAT DMA engineer access PCI MMIO space
On Fri, 2011-04-29 at 18:13 +0800, 康剑斌 wrote:
> I try to use ioatdam to copy data from system memory to pci MMIO space:
> If dst points to a memory space, the operation would pass.
> But if dst points to a pci MMIO space, it failed with kernel oops.
> It seems the code:
> BUG_ON(is_ioat_bug(chanerr));
> in drivers/dma/ioat/dma_v3.c, line 365 cause the oops.
> Is there anyway to access pci MMIO space using ioat?
> The datasheet says that ioat supports MMIO access.
Did you map the IO memory in kernel using ioremap and friends first?
--
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists