Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ace: mm: tlb: Ignore unmapping error in driver initalization #78612

Merged
merged 2 commits into from
Oct 15, 2024

Commits on Oct 4, 2024

  1. ace: mm: tlb: Ignore unmappig error in driver initalization

    The sys_mm_drv_unmap_region_initial function is responsible for unmapping
    all unused virtual memory during tlb driver initialization. Most addresses
    will not have a mapped page. Ignore the error code indicating unmapped
    memory that will occur when trying to unmap.
    
    Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
    softwarecki committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    457afee View commit details
    Browse the repository at this point in the history
  2. ace: mm: tlb: Check tlb translation enabled before flushing cache

    Before unmapping a memory page, the cache is flushed. If the given memory
    page is not mapped, this operation ends with a cpu exception on the
    ptl platform. Add check if tlb translation is active before flushing.
    
    Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
    softwarecki committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    eba0eb7 View commit details
    Browse the repository at this point in the history