Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.8-6 tag

2020-07-11 Thread pr-tracker-bot
The pull request you sent on Sat, 11 Jul 2020 21:50:20 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.8-6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/997c4431f04d8f0d6063bac3bcdceba8d939b879 Thank you! -- Deet-doot-do

[GIT PULL] Please pull powerpc/linux.git powerpc-5.8-6 tag

2020-07-11 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull another powerpc fix for 5.8: The following changes since commit 19ab500edb5d6020010caba48ce3b4ce4182ab63: powerpc/mm/pkeys: Make pkey access check work on execute_only_key (2020-06-29 16:17:02 +1000) are available in the

Re: [PATCH 11/20] Documentation: leds/ledtrig-transient: eliminate duplicated word

2020-07-11 Thread Pavel Machek
On Tue 2020-07-07 11:04:05, Randy Dunlap wrote: > Drop the doubled word "for". > > Signed-off-by: Randy Dunlap > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Jacek Anaszewski Acked-by: Pavel Machek (I expect documentation people take this, not me). -- (english) http://www.live

[v3 4/5] KVM: PPC: Book3S HV: retry page migration before erroring-out H_SVM_PAGE_IN

2020-07-11 Thread Ram Pai
The page requested for page-in; sometimes, can have transient references, and hence cannot migrate immediately. Retry a few times before returning error. H_SVM_PAGE_IN interface is enhanced to return H_BUSY if the page is not in a migratable state. Cc: Paul Mackerras Cc: Benjamin Herrenschmidt

[v3 0/5] Migrate non-migrated pages of a SVM.

2020-07-11 Thread Ram Pai
The time taken to switch a VM to Secure-VM, increases by the size of the VM. A 100GB VM takes about 7minutes. This is unacceptable. This linear increase is caused by a suboptimal behavior by the Ultravisor and the Hypervisor. The Ultravisor unnecessarily migrates all the GFN of the VM from norma

[v3 5/5] KVM: PPC: Book3S HV: migrate hot plugged memory

2020-07-11 Thread Ram Pai
From: Laurent Dufour When a memory slot is hot plugged to a SVM, PFNs associated with the GFNs in that slot must be migrated to the secure-PFNs, aka device-PFNs. kvmppc_uv_migrate_mem_slot() is called to accomplish this. UV_PAGE_IN ucall is skipped, since the ultravisor does not trust the conten

[v3 3/5] KVM: PPC: Book3S HV: migrate remaining normal-GFNs to secure-GFNs in H_SVM_INIT_DONE

2020-07-11 Thread Ram Pai
The Ultravisor is expected to explicitly call H_SVM_PAGE_IN for all the pages of the SVM before calling H_SVM_INIT_DONE. This causes a huge delay in tranistioning the VM to SVM. The Ultravisor is interested in the pages that contain the kernel, initrd and other important data structures. The rest o

[v3 1/5] KVM: PPC: Book3S HV: Disable page merging in H_SVM_INIT_START

2020-07-11 Thread Ram Pai
Merging of pages associated with each memslot of a SVM is disabled the page is migrated in H_SVM_PAGE_IN handler. This operation should have been done much earlier; the moment the VM is initiated for secure-transition. Delaying this operation, increases the probability for those pages to acquire n

[v3 2/5] KVM: PPC: Book3S HV: track the state of GFNs associated with secure VMs

2020-07-11 Thread Ram Pai
During the life of SVM, its GFNs transition through normal, secure and shared states. Since the kernel does not track GFNs that are shared, it is not possible to disambiguate a shared GFN from a GFN whose PFN has not yet been migrated to a secure-PFN. Also it is not possible to disambiguate a secur