summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorMichael Roth <michael.roth@amd.com>2024-05-28 23:58:09 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2024-06-03 19:36:52 +0300
commitfebff040b1a6781c46b3670e73fbcb707e731e7e (patch)
treee7e8c57f1066aaadef2b33d740aa46db55dbc15e /drivers/fpga/fpga-mgr.c
parent6f627b425378915b6eda30908bedefc21b70b8c4 (diff)
downloadlinux-febff040b1a6781c46b3670e73fbcb707e731e7e.tar.xz
KVM: SEV: Automatically switch reclaimed pages to shared
Currently there's a consistent pattern of always calling host_rmp_make_shared() immediately after snp_page_reclaim(), so go ahead and handle it automatically as part of snp_page_reclaim(). Also rename it to kvm_rmp_make_shared() to more easily distinguish it as a KVM-specific variant of the more generic rmp_make_shared() helper. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Michael Roth <michael.roth@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions