1. 26 2月, 2010 2 次提交
  2. 25 2月, 2010 5 次提交
  3. 22 2月, 2010 3 次提交
  4. 21 2月, 2010 2 次提交
    • R
      ARM: make_coherent(): fix problems with highpte, part 2 · ae140202
      Russell King 提交于
      update_mmu_cache() is called with the page table for the faulted-in
      page still mapped.  We need to modify the PTE for this page to ensure
      coherency with other shared mappings when multiple shared mappings
      exist within a MM.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      ae140202
    • R
      MM: Pass a PTE pointer to update_mmu_cache() rather than the PTE itself · 4b3073e1
      Russell King 提交于
      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().
      
      Ralf Beache suggested getting rid of the PTE value passed to
      update_mmu_cache():
      
        On MIPS update_mmu_cache() calls __update_tlb() which walks pagetables
        to construct a pointer to the pte again.  Passing a pte_t * is much
        more elegant.  Maybe we might even replace the pte argument with the
        pte_t?
      
      Ben Herrenschmidt would also like the pte pointer for PowerPC:
      
        Passing the ptep in there is exactly what I want.  I want that
        -instead- of the PTE value, because I have issue on some ppc cases,
        for I$/D$ coherency, where set_pte_at() may decide to mask out the
        _PAGE_EXEC.
      
      So, pass in the mapped page table pointer into update_mmu_cache(), and
      remove the PTE value, updating all implementations and call sites to
      suit.
      
      Includes a fix from Stephen Rothwell:
      
        sparc: fix fallout from update_mmu_cache API change
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Acked-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      4b3073e1
  5. 19 2月, 2010 1 次提交
  6. 16 2月, 2010 1 次提交
  7. 15 2月, 2010 9 次提交
  8. 13 2月, 2010 1 次提交
  9. 05 2月, 2010 5 次提交
  10. 28 1月, 2010 6 次提交
  11. 26 1月, 2010 1 次提交
  12. 20 1月, 2010 4 次提交