
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@arm.com] Sent: Wednesday, April 29, 2015 10:00 PM To: Michal Simek Cc: u-boot@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?
Do you ever hand the memory back (and hence need to make it cacehable again)?
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.
Thanks, Mark.