[PATCH] riscv: remove unused SBI helpers and exports

Paolo Bonzini pbonzini at redhat.com
Thu May 27 06:15:09 PDT 2021


On 27/05/21 15:10, Anup Patel wrote:
>> -
>> -/**
>> - * sbi_remote_hfence_vvma_asid() - Execute HFENCE.VVMA instructions on given
>> - * remote harts for current guest virtual address range belonging to a specific
>> - * ASID.
>> - *
>> - * @hart_mask: A cpu mask containing all the target harts.
>> - * @start: Start of the current guest virtual address
>> - * @size: Total size of the current guest virtual address range.
>> - * @asid: The value of address space identifier (ASID).
>> - *
>> - * Return: None
>> - */
>> -int sbi_remote_hfence_vvma_asid(const unsigned long *hart_mask,
>> -                               unsigned long start,
>> -                               unsigned long size,
>> -                               unsigned long asid)
>> -{
>> -       return __sbi_rfence(SBI_EXT_RFENCE_REMOTE_HFENCE_VVMA_ASID,
>> -                           hart_mask, start, size, asid, 0);
>> -}
>> -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)?

Paolo




More information about the linux-riscv mailing list