On Mon, Oct 30, 2017 at 10:49 AM, Will Deacon <will.deacon@xxxxxxx> wrote: > > FWIW, we discussed some of this back in 2015, because the TLB invalidation > looks busted to me too: Yeah, I think the basic issue is that ioremap() is not supposed to map *over* an existing mapping, it's designed to map pages into a new mapping. I think *every* other user of "ioremap_page_range()" is literally the architecture-specific implementation of "ioremap()" (which does the whole "allocate new VM area, then remap page range into that". So the GHES driver use of this function really looks very wrong on so many levels. Checking.. Oh, git grep shows "drivers/pci/host/pci-tegra.c". I'm afraid to even look into that file. And pci_remap_iospace() looks potentially like a problem spot too - but hopefully is done only at driver init time (but it could possibly have the TLB issue). Linus -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html