[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 04/39] xen/riscv: request a G-stage flush on vmenter when VMIDs are disabled



On Wed, 30 Sep 2026 18:18:46 +0200, Oleksii Kurochko 
<oleksii.kurochko@xxxxxxxxx> wrote:
> vmid_handle_vmenter() reports that no flush is needed when VMIDs are
> unavailable (e.g. vmid=off, or hardware with no more than one VMID bit).
> Every domain then runs under VMID 0 with nothing flushed in between, so as
> soon as a hart runs more than one domain, a domain entered there can use
> the G-stage translations left behind by the domain which ran before it.
> 
> Report that a flush is needed on every entry instead.
> 
> [...]

Reviewed-by: Baptiste Le Duc <baptiste.le-duc@xxxxxxxxxx>

-- 
Baptiste Le Duc <baptiste.le-duc@xxxxxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.