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;
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;