From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [CFT] MM: Pass a PTE pointer to update_mmu_cache() rather than the PTE itself Date: Fri, 22 Jan 2010 14:50:19 +1100 Message-ID: <1264132219.3601.28.camel@pasglop> References: <20100120135202.GA20937@flint.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from gate.crashing.org ([63.228.1.57]:42720 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751275Ab0AVDuo (ORCPT ); Thu, 21 Jan 2010 22:50:44 -0500 In-Reply-To: <20100120135202.GA20937@flint.arm.linux.org.uk> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Russell King Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org On Wed, 2010-01-20 at 13:52 +0000, Russell King wrote: > On VIVT ARM, when we have multiple shared mappings of the same file > in the same MM, we need to ensure that we have coherency across all > copies. We do this via make_coherent() by making the pages > uncacheable. > > This used to work fine, until we allowed highmem with highpte - we > now have a page table which is mapped as required, and is not available > for modification via update_mmu_cache(). Looks good. I'll test when I'm back from LCA. Cheers, Ben.