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

caprevoke: remove store side revocation #1743

Closed
wants to merge 25 commits into from

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    226d7e2 View commit details
    Browse the repository at this point in the history
  2. cheribsdtest: remove cheri_revoke_capdirty

    This test depends on store-side behavior which will be removed shortly.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    255af11 View commit details
    Browse the repository at this point in the history
  3. cheri_revoke(2): remove load/store-side interface

    Always revoke load-side.  CHERI_REVOKE_FORCE_LOAD_SIDE and
    CHERI_REVOKE_FORCE_STORE_SIDE are no longer defined and currently
    ignored as flags.  We should likely restrict flags to valids ones for
    the release.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    dfb2e8d View commit details
    Browse the repository at this point in the history
  4. caprevoke: remove store-side states

    Delete the CHERI_REVOKE_ST_SS_* states from the enum and remove all code
    that referenced them.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    8ba61b7 View commit details
    Browse the repository at this point in the history
  5. caprevoke: remove VM_CHERI_REVOKE_INCREMENTAL flag

    Nothing sets this any more so remove it and the code that depends on it.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    6559ebd View commit details
    Browse the repository at this point in the history
  6. cheri_revoke(2): remove CHERI_REVOKE_EARLY_SYNC

    This was a store-side specific flag so remove it.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    60b1674 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4d1a55b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    46f5bb2 View commit details
    Browse the repository at this point in the history
  9. caprevoke: reclaim a bit from revoker state

    We can now revoke 2^60 times more before the epoch counter wraps...
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    af5f373 View commit details
    Browse the repository at this point in the history
  10. kern_cheri_revoke: rename close_already_inited

    Drop the ls_ prefix as we're always doing load-side revocation.
    
    Add an comment on the cause of the goto since I spent quite a few
    minutes failing to parse the label.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    82ea079 View commit details
    Browse the repository at this point in the history
  11. caprevoke: remove a few mentions of load-side

    We're always doing load-side revocation so there's no need to keep it.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    6b4c570 View commit details
    Browse the repository at this point in the history
  12. caprevoke: remove VM_CHERI_REVOKE_LOAD_SIDE flag

    We're always doing a load-side scan so drop the flag to indicate we're
    doing one.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    46a2706 View commit details
    Browse the repository at this point in the history
  13. caprevoke: remove VM_CHERI_REVOKE_TLB_FLUSH flag

    This flag was unused so drop it.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    8128768 View commit details
    Browse the repository at this point in the history
  14. vm_cheri_revoke_pass: compress flag space

    More flags have been removed so renumber the remaining ones.
    
    It might make sense to remove VM_CHERI_REVOKE_BARRIERED as it's
    implemented, but unused.  For now keep it as it's described as a debug
    flag.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    0932736 View commit details
    Browse the repository at this point in the history
  15. caprevoke: rewrite state machine comment

    The whole comment was store side focused with an aside about the
    possibility of load side revocation.  Rewrite to be be purely
    load side.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    17b6d41 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    804334e View commit details
    Browse the repository at this point in the history
  17. Makefile.inc1: Reduce diffs

    Installing all kernels by their own name is useful, but not what we're
    merging so remove from the branch.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    d1323f6 View commit details
    Browse the repository at this point in the history
  18. cheribsdtest: Trim verbose stats

    These are useful in the development branch long with cycle counts,
    but probably not something we want in production.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    36cd2ab View commit details
    Browse the repository at this point in the history
  19. FETT: remove nonsense std.CHERI-CAPREVOKE include

    std.CHERI-CAPREVOKE doesn't do anyting useful without CHERI support.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    d58ebef View commit details
    Browse the repository at this point in the history
  20. morello: Default to enabling CAPREVOKE

    Make GENERIC-MORELLO include std.CHERI-CAPREVOKE.
    
    Add -NOCAPREVOKE variants that disable CAPREVOKE entierly.
    
    To aid script transitions, retain -CAPREVOKE variants. Update them to
    assume they inherit CAPREVOKE from GENERIC-MORELLO.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    867e535 View commit details
    Browse the repository at this point in the history
  21. morello: Remove -CAPREVOKE kernel variants

    GENERIC-MORELLO now enables CAPREVOKE so we don't need these.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    bc15f05 View commit details
    Browse the repository at this point in the history
  22. morello: Expand std.CHERI-CAPREVOKE in place

    Add the contents of std.CHERI-CAPREVOKE to GENERIC-MORELLO and remove
    std.CHERI-CAPREVOKE.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    e7a2b54 View commit details
    Browse the repository at this point in the history
  23. riscv: Default to enabling CAPREVOKE

    Make std.CHERI include std.CHERI-CAPREVOKE.
    
    Add -NOCAPREVOKE variants that disable CAPREVOKE entierly.
    
    To aid script transitions, retain -CAPREVOKE variants. Update them to
    assume they inherit CAPREVOKE from std.CHERI.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    c79178a View commit details
    Browse the repository at this point in the history
  24. riscv: Remove -CAPREVOKE kernel variants

    All non-NOCAPREVOKE kernels now enable CAPREVOKE so they are unneeded.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    66f9693 View commit details
    Browse the repository at this point in the history
  25. riscv: Expand std.CHERI-CAPREVOKE in place

    Add the contents of std.CHERI-CAPREVOKE to std.CHERI and remove
    std.CHERI-CAPREVOKE.
    brooksdavis committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    a3426b9 View commit details
    Browse the repository at this point in the history