On Sun, 11 Apr 2021 14:41:07 -0700 (PDT)
Palmer Dabbelt wrote:
>
>
> On Sun, 28 Mar 2021 18:55:09 PDT (-0700), l...@jiuyang.me wrote:
> > This patch implements flush_cache_vmap and flush_cache_vunmap for
> > RISC-V, since these functions might modify PTE. Without this patch,
> > SFENCE.VMA
On Sunday, April 11, 2021 9:41:07 PM UTC you wrote:
> On Sun, 28 Mar 2021 18:55:09 PDT (-0700), l...@jiuyang.me wrote:
> > This patch implements flush_cache_vmap and flush_cache_vunmap for
> > RISC-V, since these functions might modify PTE. Without this patch,
> > SFENCE.VMA won't be added to
On Sun, 28 Mar 2021 18:55:09 PDT (-0700), l...@jiuyang.me wrote:
This patch implements flush_cache_vmap and flush_cache_vunmap for
RISC-V, since these functions might modify PTE. Without this patch,
SFENCE.VMA won't be added to related codes, which might introduce a bug
in some out-of-order
On Mon, Mar 29, 2021 at 01:55:09AM +, Jiuyang Liu wrote:
> +/*
> + * flush_cache_vmap and flush_cache_vunmap might modify PTE, needs
> SFENCE.VMA.
> + * - flush_cache_vmap is invoked after map_kernel_range() has installed the
> page table entries.
> + * - flush_cache_vunmap is invoked before
Hi Jiuyang,
Le 3/28/21 à 9:55 PM, Jiuyang Liu a écrit :
This patch implements flush_cache_vmap and flush_cache_vunmap for
RISC-V, since these functions might modify PTE. Without this patch,
SFENCE.VMA won't be added to related codes, which might introduce a bug
in some out-of-order
This patch implements flush_cache_vmap and flush_cache_vunmap for
RISC-V, since these functions might modify PTE. Without this patch,
SFENCE.VMA won't be added to related codes, which might introduce a bug
in some out-of-order micro-architecture implementations.
Signed-off-by: Jiuyang Liu
---
6 matches
Mail list logo