Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • include
  • uapi
  • linux
  • kvm.h
Find file BlameHistoryPermalink
  • Marc Zyngier's avatar
    KVM: Add KVM_CAP_DIRTY_LOG_RING_ACQ_REL capability and config option · 17601bfe
    Marc Zyngier authored Sep 26, 2022
    
    
    In order to differenciate between architectures that require no extra
    synchronisation when accessing the dirty ring and those who do,
    add a new capability (KVM_CAP_DIRTY_LOG_RING_ACQ_REL) that identify
    the latter sort. TSO architectures can obviously advertise both, while
    relaxed architectures must only advertise the ACQ_REL version.
    
    This requires some configuration symbol rejigging, with HAVE_KVM_DIRTY_RING
    being only indirectly selected by two top-level config symbols:
    - HAVE_KVM_DIRTY_RING_TSO for strongly ordered architectures (x86)
    - HAVE_KVM_DIRTY_RING_ACQ_REL for weakly ordered architectures (arm64)
    
    Suggested-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
    Reviewed-by: default avatarGavin Shan <gshan@redhat.com>
    Reviewed-by: default avatarPeter Xu <peterx@redhat.com>
    Link: https://lore.kernel.org/r/20220926145120.27974-3-maz@kernel.org
    17601bfe
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7