[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141211.152756.1471877201690056873.davem@davemloft.net>
Date: Thu, 11 Dec 2014 15:27:56 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: linux@....linux.org.uk
Cc: B38611@...escale.com, fabio.estevam@...escale.com,
ezequiel.garcia@...e-electrons.com, netdev@...r.kernel.org
Subject: Re: Bug: mv643xxx fails with highmem
From: Russell King - ARM Linux <linux@....linux.org.uk>
Date: Thu, 11 Dec 2014 20:25:07 +0000
> Would other drivers need fixing for this as well? Eg, fec_main.c
> does the following, and this driver is used on iMX6 which can also have
> highmem:
>
> static int
> fec_enet_txq_submit_frag_skb(struct fec_enet_priv_tx_q *txq,
> struct sk_buff *skb,
> struct net_device *ndev)
> {
> bufaddr = page_address(this_frag->page.p) + this_frag->page_offset;
> ...
> addr = dma_map_single(&fep->pdev->dev, bufaddr, frag_len,
> DMA_TO_DEVICE);
Probably, yes.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists