[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110804131015.GA6596@huya.qualcomm.com>
Date: Thu, 4 Aug 2011 06:10:15 -0700
From: David Brown <davidb@...eaurora.org>
To: Kumar Gala <galak@...nel.crashing.org>
Cc: David Brown <davidb@...eaurora.org>,
Grant Likely <grant.likely@...retlab.ca>,
devicetree-discuss@...ts.ozlabs.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org, David Miller <davem@...emloft.net>
Subject: Re: [PATCH v2] of/address: Add of_iomap_nocache
On Thu, Aug 04, 2011 at 07:44:07AM -0500, Kumar Gala wrote:
>
> On Aug 4, 2011, at 5:36 AM, David Brown wrote:
>
> > Add uncached mappings from devicetree nodes similar to regular io
> > mappings.
> >
> > SPARC is coherent, so there this call is the same as regular of_iomap.
> >
> > +extern void __iomem *of_iomap_nocache(struct device_node *device, int index);
>
> What about adding an of_iomap_prot() to match ioremap_prot().
It can be done, but I actually have a use for nocache. We can
probably add the prot version when first needed.
David
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
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