aboutsummaryrefslogtreecommitdiff
path: root/arch/arc/mm/tlb.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-09ARC: [build] Fix warnings with CONFIG_DEBUG_SECTION_MISMATCHVineet Gupta1-2/+2
Signed-off-by: Vineet Gupta <[email protected]>
2013-02-15ARC: Boot #2: Verbose Boot reporting / feature verificationVineet Gupta1-0/+38
Signed-off-by: Vineet Gupta <[email protected]>
2013-02-15ARC: SMP supportVineet Gupta1-0/+6
ARC common code to enable a SMP system + ISS provided SMP extensions. ARC700 natively lacks SMP support, hence some of the core features are are only enabled if SoCs have the necessary h/w pixie-dust. This includes: -Inter Processor Interrupts (IPI) -Cache coherency -load-locked/store-conditional ... The low level exception handling would be completely broken in SMP because we don't have hardware assisted stack switching. Thus a fair bit of this code is repurposing the MMU_SCRATCH reg for event handler prologues to keep them re-entrant. Many thanks to Rajeshwar Ranga for his initial "major" contributions to SMP Port (back in 2008), and to Noam Camus and Gilad Ben-Yossef for help with resurrecting that in 3.2 kernel (2012). Note that this platform code is again singleton design pattern - so multiple SMP platforms won't build at the moment - this deficiency is addressed in subsequent patches within this series. Signed-off-by: Vineet Gupta <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Rajeshwar Ranga <[email protected]> Cc: Noam Camus <[email protected]> Cc: Gilad Ben-Yossef <[email protected]>
2013-02-15ARC: TLB flush HandlingVineet Gupta1-0/+311
Signed-off-by: Vineet Gupta <[email protected]>
2013-02-15ARC: MMU Exception HandlingVineet Gupta1-0/+267
* MMU I-TLB / D-TLB Miss Exceptions - Fast Path TLB Refill Handler - slowpath TLB creation via do_page_fault() -> update_mmu_cache() * Duplicate PD Exception Handler Signed-off-by: Vineet Gupta <[email protected]>
2013-02-15ARC: MMU Context ManagementVineet Gupta1-0/+23
ARC700 MMU provides for tagging TLB entries with a 8-bit ASID to avoid having to flush the TLB every task switch. It also allows for a quick way to invalidate all the TLB entries for task useful for: * COW sementics during fork() * task exit()ing Signed-off-by: Vineet Gupta <[email protected]>