Re: [PATCH v4 4/8] KVM: PPC: Ultravisor: Use UV_WRITE_PATE ucall to register a PATE

2019-07-18 Thread Michael Ellerman
Claudio Carvalho writes: > On 7/11/19 9:57 AM, Michael Ellerman wrote: >>> static pmd_t *get_pmd_from_cache(struct mm_struct *mm) >>> diff --git a/arch/powerpc/mm/book3s64/radix_pgtable.c >>> b/arch/powerpc/mm/book3s64/radix_pgtable.c >>> index 8904aa1243d8..da6a6b76a040 100644 >>> ---

Re: [PATCH v4 4/8] KVM: PPC: Ultravisor: Use UV_WRITE_PATE ucall to register a PATE

2019-07-18 Thread Claudio Carvalho
On 7/11/19 9:57 AM, Michael Ellerman wrote: > >> >> static pmd_t *get_pmd_from_cache(struct mm_struct *mm) >> diff --git a/arch/powerpc/mm/book3s64/radix_pgtable.c >> b/arch/powerpc/mm/book3s64/radix_pgtable.c >> index 8904aa1243d8..da6a6b76a040 100644 >> ---

Re: [PATCH v4 4/8] KVM: PPC: Ultravisor: Use UV_WRITE_PATE ucall to register a PATE

2019-07-17 Thread Ryan Grimm
On Thu, 2019-07-11 at 22:57 +1000, Michael Ellerman wrote: > Claudio Carvalho writes: > > From: Michael Anderson > > > > When running under an ultravisor, the ultravisor controls the real > > partition table and has it in secure memory where the hypervisor > > can't > > access it, and therefore

Re: [PATCH v4 4/8] KVM: PPC: Ultravisor: Use UV_WRITE_PATE ucall to register a PATE

2019-07-11 Thread Michael Ellerman
Claudio Carvalho writes: > From: Michael Anderson > > When running under an ultravisor, the ultravisor controls the real > partition table and has it in secure memory where the hypervisor can't > access it, and therefore we (the HV) have to do a ucall whenever we want > to update an entry. > >

Re: [PATCH v4 4/8] KVM: PPC: Ultravisor: Use UV_WRITE_PATE ucall to register a PATE

2019-07-08 Thread janani
On 2019-06-28 15:08, Claudio Carvalho wrote: From: Michael Anderson When running under an ultravisor, the ultravisor controls the real partition table and has it in secure memory where the hypervisor can't access it, and therefore we (the HV) have to do a ucall whenever we want to update an

[PATCH v4 4/8] KVM: PPC: Ultravisor: Use UV_WRITE_PATE ucall to register a PATE

2019-06-28 Thread Claudio Carvalho
From: Michael Anderson When running under an ultravisor, the ultravisor controls the real partition table and has it in secure memory where the hypervisor can't access it, and therefore we (the HV) have to do a ucall whenever we want to update an entry. The HV still keeps a copy of its view of