Skip to content

patina-v14.1.1

Choose a tag to compare

@github-actions github-actions released this 31 Oct 18:02
· 570 commits to refs/heads/main since this release

What's Changed

  • chore: Update repo version to 14.1.0 @[patina-automation[bot]](https://github.com/apps/patina-automation) (#992)
    Change Details
      An automatically created pull request to update the version of the repo due to a release.

🐛 Bug Fixes

  • patina\_internal\_cpu: Update Paging API to Always Return Cache Attrs @os-d (#984)
    Change Details
      ## Description

    Currently patina_internal_cpu will not return MTRR cache attributes if a page is unmapped; it will simply return an error. However, the GCD code needs to send the cache attribute changed event to MpDxe to wake up the APs and sync MTRRs whenever the cache attributes change. The GCD took the approach of always sending the event when a page was unmapped and is getting mapped; that resulted in large numbers of the event getting fired, each having to wake up the APs.

    This changes the patina_internal_cpu API to return the cache attributes if covered by MTRRs even when the page is unmapped. For ARM64, where the cache attributes are entirely contained within the page table and the MP code starts cores fresh every time with the BSP page table, so syncing is not required, cache attributes will never be returned if the page is unmapped.

    This greatly reduces the number of times the event is fired to only the times it needs to.

    This PR also updates to paging v10, which just included a breaking change to update the API to not use a custom Result type.

    Closes #899 .

    • Impacts functionality?
    • Impacts security?
    • Breaking change?
    • Includes tests?
    • Includes documentation?

    How This Was Tested

    Tested booting Q35, SBSA, and a physical Intel platform to Windows and observing the number of cache attribute change events decreasing (on Q35 from 403 -> 2).

    Integration Instructions

    N/A.

      </blockquote>
      <hr>
    </details>
    

📖 Documentation Updates

  • Add Patina DXE Core Platform Requirement Checklist @makubacki (#991)
    Change Details
      ## Description

    The checklist summarizes Patina's DXE Core requirements and is an easy way for a platform to track if they've met all requirements.

    • Impacts functionality?
    • Impacts security?
    • Breaking change?
    • Includes tests?
    • Includes documentation?

    How This Was Tested

    • cargo make all

    Integration Instructions

    • If you are a platform owner, review the checklist to see if the platform meets all Patina DXE Core requirements.


Full Changelog: patina-v14.1.0...v14.1.1