Changeset 1f5714e in mainline


Ignore:
Timestamp:
2011-12-11T16:52:11Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0e78394
Parents:
d8f1545
Message:

sparc64: Kernel non-identity needs to be resolved by walking page tables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/mm/sun4u/tlb.c

    rd8f1545 r1f5714e  
    258258                            "Dereferencing NULL pointer.");
    259259                } else if (page_8k >= end_of_identity) {
    260                         /*
    261                          * The kernel is accessing the I/O space.
    262                          * We still do identity mapping for I/O,
    263                          * but without caching.
    264                          */
    265                         dtlb_insert_mapping(page_8k, KA2PA(page_8k),
    266                             PAGESIZE_8K, false, false);
    267                         return;
     260                        /* Kernel non-identity, fall through. */
     261                } else {
     262                        do_fast_data_access_mmu_miss_fault(istate, tag,
     263                    "Unexpected kernel page fault.");
    268264                }
    269                 do_fast_data_access_mmu_miss_fault(istate, tag, "Unexpected "
    270                     "kernel page fault.");
    271265        }
    272266
Note: See TracChangeset for help on using the changeset viewer.