aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ep0.c
diff options
context:
space:
mode:
authorShaoqin Huang <shahuang@redhat.com>2024-07-23 03:20:01 -0400
committerMarc Zyngier <maz@kernel.org>2024-08-25 17:48:44 +0100
commite8d164974cfa46fe5ec87869c8a7113641f322d5 (patch)
treec2c6eb57a4b4e262d789a11afc54cb2597691617 /drivers/usb/cdns3/cdns3-ep0.c
parentffe68b2d19a5a84440fea99a732cfc3b157559eb (diff)
KVM: arm64: Use kvm_has_feat() to check if FEAT_SSBS is advertised to the guest
Currently KVM use cpus_have_final_cap() to check if FEAT_SSBS is advertised to the guest. But if FEAT_SSBS is writable and isn't advertised to the guest, this is wrong. Update it to use kvm_has_feat() to check if FEAT_SSBS is advertised to the guest, thus the KVM can do the right thing if FEAT_SSBS isn't advertised to the guest. Signed-off-by: Shaoqin Huang <shahuang@redhat.com> Link: https://lore.kernel.org/r/20240723072004.1470688-3-shahuang@redhat.com Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions