From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH 2/9] dma: pl330: use dma_addr_t for describing bus addresses Date: Tue, 11 Jun 2013 23:32:02 +0100 Message-ID: <20130611223202.CDCEB3E0D8D@localhost> References: <1370889285-22799-1-git-send-email-will.deacon@arm.com> <1370889285-22799-3-git-send-email-will.deacon@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1370889285-22799-3-git-send-email-will.deacon-5wv7dgnIgG8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Cc: Vinod Koul , Jassi Brar , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Will Deacon , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org On Mon, 10 Jun 2013 19:34:38 +0100, Will Deacon wrote: > The microcode bus address (pl330_dmac.mcode_bus) is currently a u32, > which fails to compile when building on a system with 64-bit bus > addresses. > > This patch uses dma_addr_t to represent the address instead. > > Cc: Jassi Brar > Cc: Vinod Koul > Signed-off-by: Will Deacon Acked-by: Grant Likely > --- > drivers/dma/pl330.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c > index 22e2a8f..f1bc593 100644 > --- a/drivers/dma/pl330.c > +++ b/drivers/dma/pl330.c > @@ -501,7 +501,7 @@ struct pl330_dmac { > /* Maximum possible events/irqs */ > int events[32]; > /* BUS address of MicroCode buffer */ > - u32 mcode_bus; > + dma_addr_t mcode_bus; > /* CPU address of MicroCode buffer */ > void *mcode_cpu; > /* List of all Channel threads */ > -- > 1.8.2.2 > > _______________________________________________ > devicetree-discuss mailing list > devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org > https://lists.ozlabs.org/listinfo/devicetree-discuss -- Grant Likely, B.Sc, P.Eng. Secret Lab Technologies, Ltd.