From: Stefan Agner Date: Wed, 03 Aug 2016 18:27:26 -0700 Subject: [U-Boot] [PATCH] arm: cache: always flush cache line size for page table In-Reply-To: References: <20160802070735.25533-1-stefan@agner.ch> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2016-08-03 18:22, Simon Glass wrote: > Hi, > > On 3 August 2016 at 10:32, Fabio Estevam wrote: >> On Tue, Aug 2, 2016 at 4:07 AM, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> The page table is maintained by the CPU, hence it is safe to always >>> align cache flush to a whole cache line size. This allows to use >>> mmu_page_table_flush for a single page table, e.g. when configure >>> only small regions through mmu_set_region_dcache_behaviour. >>> >>> Signed-off-by: Stefan Agner >> >> Tested-by: Fabio Estevam > > I'm OK with this, or a change in mmu_set_region_dcache_behaviour() to > align he addresses. Ok will move to mmu_set_region_dcache_behaviour as Marek seems to prefer that solution. -- Stefan > > Reviewed-by: Simon Glass > > Regards, > Simon