[PATCH] riscv: remove unused SBI helpers and exports
Anup Patel
anup at brainfault.org
Thu May 27 06:24:10 PDT 2021
On Thu, May 27, 2021 at 6:47 PM Christoph Hellwig <hch at lst.de> wrote:
>
> On Thu, May 27, 2021 at 03:15:09PM +0200, Paolo Bonzini wrote:
> >>> -EXPORT_SYMBOL(sbi_remote_hfence_vvma_asid);
> >> All sbi_remote_hfence_xyz() calls are used by KVM RISC-V module.
> >>
> >
> > Why aren't all these added by the series that add the module (not talking
> > about KVM only)?
>
> Yes, that is the way to do it.
Actually SBI v0.2 RFENCE extension defines all these calls hence Atish
added it as part of SBI v0.2 patches.
All sbi_remote_hfence_xyz() are primarily for hypervisors only.
Regards,
Anup
More information about the linux-riscv
mailing list