[U-Boot] [PATCH v2] armv8: caches: Added routine to set non cacheable region

Siva Durga Prasad Paladugu siva.durga.paladugu at xilinx.com
Thu May 14 07:01:22 CEST 2015


Hi Mark,

> -----Original Message-----
> From: Mark Rutland [mailto:mark.rutland at arm.com]
> Sent: Wednesday, May 13, 2015 11:01 PM
> To: Siva Durga Prasad Paladugu
> Cc: Michal Simek; u-boot at lists.denx.de; Albert Aribaud; Marek Vasut; Tom
> Rini; Varun Sethi; Thierry Reding; Arnab Basu; York Sun
> Subject: Re: [U-Boot] [PATCH v2] armv8: caches: Added routine to set non
> cacheable region
> 
> On Tue, May 12, 2015 at 04:46:49AM +0100, Siva Durga Prasad Paladugu
> wrote:
> > Hi Mark,
> >
> >
> > > -----Original Message-----
> > > From: Mark Rutland [mailto:mark.rutland at arm.com]
> > > Sent: Wednesday, April 29, 2015 10:00 PM
> > > To: Michal Simek
> > > Cc: u-boot at lists.denx.de; Albert Aribaud; Marek Vasut; Tom Rini;
> > > Siva Durga Prasad Paladugu; Varun Sethi; Thierry Reding; Arnab Basu;
> > > York Sun
> > > Subject: Re: [U-Boot] [PATCH v2] armv8: caches: Added routine to set
> > > non cacheable region
> > >
> > > Hi Michal,
> > >
> > > On Wed, Apr 29, 2015 at 09:35:35AM +0100, Michal Simek wrote:
> > > > Added routine mmu_set_region_dcache_behaviour() to set a
> > > > particular region as non cacheable.
> > >
> > > What's the intended use of this?
> > This is intended to mark a dynamically allocated region as non-cacheable
> region in runtime.
> 
> Sure, but why does that region need to be non-cacheable?
> 
> I assume you want to give the region to some device?
Yes, this is used for device.
> 
> Do you ever hand the memory back (and hence need to make it cacehable
> again)?

No, In my case , I don't need to make it cacheable back...

> 
> > There is same kind of routine for armv7 but not for armv8. Do you think
> that the same functionality to be addressed for armv8 too?
> >
> > As per below comment, you are correct, this looks like to be more board
> specific.
> 
> While the address of the tables might be board-specific I'd imagine that the
> manipulation routines can be shared.

Ok, I got it, I will check how to make these manipulation routines generic and will send v2.

Thanks,
Siva

> 
> Thanks,
> Mark.


More information about the U-Boot mailing list