lkml.org 
[lkml]   [2019]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH v2 12/19] RISC-V: KVM: Implement stage2 page table programming
From
Date
On 02/08/19 09:48, Anup Patel wrote:
> + hgatp |= (k->vmid.vmid << HGATP_VMID_SHIFT) & HGATP_VMID_MASK;

This should use READ_ONCE.

Paolo

> + hgatp |= (k->pgd_phys >> PAGE_SHIFT) & HGATP_PPN;

\
 
 \ /
  Last update: 2019-08-02 11:18    [W:0.958 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site