[PATCH v2 2/4] ioremap: Implement TLB_INV before huge mapping
From: mark.rutland@arm.com (Mark Rutland)
Date: 2018-03-15 15:16:45
Also in:
linux-arch, lkml
From: mark.rutland@arm.com (Mark Rutland)
Date: 2018-03-15 15:16:45
Also in:
linux-arch, lkml
On Thu, Mar 15, 2018 at 06:55:32PM +0530, Chintan Pandya wrote:
On 3/15/2018 6:43 PM, Mark Rutland wrote:quoted
On Thu, Mar 15, 2018 at 06:15:04PM +0530, Chintan Pandya wrote:quoted
Huge mapping changes PMD/PUD which could have valid previous entries. This requires proper TLB maintanance on some architectures, like ARM64.Just to check, I take it that you mean we could have a valid table entry, but all the entries in that next level table must be invalid, right?That was my assumption but my assumption can be wrong if any VA gets block mapping for 1G directly (instead of the 2M cases we discussed so far), then this would go for a toss.
Ok. Just considering the 4K -> 2M case, is that an assumption, or a guarantee? Thanks, Mark.