Page MenuHomeFreeBSD

Make page size dynamic in libkvm for arm64
ClosedPublic

Authored by andrew on Mar 14 2022, 2:41 PM.
Tags
None
Referenced Files
F86939193: D34548.id103871.diff
Thu, Jun 27, 2:51 PM
F86939142: D34548.id103829.diff
Thu, Jun 27, 2:50 PM
Unknown Object (File)
Apr 9 2024, 8:14 PM
Unknown Object (File)
Mar 22 2024, 9:23 PM
Unknown Object (File)
Mar 22 2024, 9:23 PM
Unknown Object (File)
Mar 22 2024, 9:23 PM
Unknown Object (File)
Mar 22 2024, 9:23 PM
Unknown Object (File)
Mar 8 2024, 8:38 AM
Subscribers

Details

Summary

To allow for a future 16k or 64k page size we need to tell libkvm which
is being used. Add a flag field in unused space in minidumphdr and use
it to signal between the different options.

Test Plan

Kua tests pass & w -M <core> works

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44763
Build 41651: arc lint + arc unit

Event Timeline

lib/libkvm/kvm_minidump_aarch64.c
51

The line break doesn't seem to be needed.

108

Is it supposed to be vmst->hdr.version < 1?

189

Maybe define aarch64_trunc_page() to complement aarch64_round_page().

  • Remove a line break
  • Fix version check
  • Add aarch64_trunc_page
This revision is now accepted and ready to land.Mar 14 2022, 4:38 PM
This revision was automatically updated to reflect the committed changes.