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

2015-06-11 Thread Mark Rutland
On Thu, Jun 11, 2015 at 08:17:15AM +0100, Siva Durga Prasad Paladugu wrote: > > Hi Mark, > > > -Original Message- > > From: Mark Rutland [mailto:mark.rutl...@arm.com] > > Sent: Thursday, May 28, 2015 3:10 PM > > To: Siva Durga Prasad Paladugu > > Cc: u-boot@lists.denx.de; Michal Simek; Si

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

2015-06-11 Thread Siva Durga Prasad Paladugu
Hi Mark, > -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Thursday, May 28, 2015 3:10 PM > To: Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Michal Simek; Siva Durga Prasad Paladugu > Subject: Re: [PATCH v3] armv8: caches: Added routine to set non c

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

2015-05-28 Thread Mark Rutland
Hi, > +void mmu_set_region_dcache_behaviour(phys_addr_t start, size_t size, > + enum dcache_option option) > +{ > + u64 *page_table = arch_get_page_table(); > + u64 upto, end; > + > + if (page_table == NULL) > + return; > + > + end = ALI

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

2015-05-25 Thread Siva Durga Prasad Paladugu
Added routine mmu_set_region_dcache_behaviour() to set a particular region as non cacheable. Define dummy routine for mmu_set_region_dcache_behaviour() to handle incase of dcache off. Signed-off-by: Siva Durga Prasad Paladugu Acked-by: Michal Simek --- Changes in v3: - Removed board depenedency