Re: [PATCH v2] KVM: arm64: nvhe: Fix build with profile optimization

2022-10-13 Thread Denis Nikitin
Thank you Marc for figuring out the filtering-out solution! It fixed the build on ChromeOS. I will update the patch and also filter out `-fprofile-use` which will avoid a similar problem with the instrumented PGO in the future. Thanks, Denis On Thu, Oct 13, 2022 at 4:09 AM Marc Zyngier wrote: >

Re: [PATCH] KVM: arm64: vgic: fix wrong loop condition in scan_its_table()

2022-10-13 Thread Eric Auger
Hi Eric, On 10/12/22 20:33, Marc Zyngier wrote: > Hi Eric, > > Before I comment on this patch, a couple of things that need > addressing: > >> "Cc: marc.zyng...@arm.com, cd...@linaro.org" > > None of these two addresses are valid anymore, and haven't been for > several years. > > Please consul

[REPOST][URGENT] kvmarm mailing list migration

2022-10-13 Thread Marc Zyngier
[Reposting this, as it has been almost two weeks since the initial announcement and we're still at sub-10% of the users having subscribed to the new list] Hi all, As you probably all know, the kvmarm mailing has been hosted on Columbia's machines for as long as the project existed (over 13 yea

Re: [PATCH v9 09/14] KVM: selftests: Use the right memslot for code, page-tables, and data allocations

2022-10-13 Thread Andrew Jones
On Tue, Oct 11, 2022 at 01:06:23AM +, Ricardo Koller wrote: > Now that kvm_vm allows specifying different memslots for code, page tables, > and data, use the appropriate memslot when making allocations in > common/libraty code. Change them accordingly: > > - code (allocated by lib/elf) use the

Re: [PATCH v9 08/14] KVM: selftests: Fix alignment in virt_arch_pgd_alloc() and vm_vaddr_alloc()

2022-10-13 Thread Andrew Jones
On Tue, Oct 11, 2022 at 01:06:22AM +, Ricardo Koller wrote: > Refactor virt_arch_pgd_alloc() and vm_vaddr_alloc() in both RISC-V and > aarch64 to fix the alignment of parameters in a couple of calls. This will > make it easier to fix the alignment in a future commit that adds an extra > paramet

Re: [PATCH] KVM: arm64: pkvm: Fixup boot mode to reflect that the kernel resumes from EL1

2022-10-13 Thread Vincent Donnefort
On Tue, Oct 11, 2022 at 09:58:22PM +0100, Marc Zyngier wrote: > On Tue, 11 Oct 2022 19:48:39 +0100, > Oliver Upton wrote: > > > > On Tue, Oct 11, 2022 at 05:54:00PM +0100, Marc Zyngier wrote: > > > The kernel has an awfully complicated boot sequence in order to cope > > > with the various EL2 con

[GIT PULL] KVM/arm64 fixes for 6.1, take #1

2022-10-13 Thread Marc Zyngier
Paolo, Here's the first set of fixes for 6.1. The most interesting bit is Oliver's fix limiting the S2 invalidation batch size the the largest block mapping, solving (at least for now) the RCU stall problems we have been seeing for a while. We may have to find another solution when (and if) we dec

Re: [PATCH] KVM: selftests: Fix number of pages for memory slot in memslot_modification_stress_test

2022-10-13 Thread Marc Zyngier
On Thu, 13 Oct 2022 14:30:20 +0800, Gavin Shan wrote: > It's required by vm_userspace_mem_region_add() that memory size > should be aligned to host page size. However, one guest page is > provided by memslot_modification_stress_test. It triggers failure > in the scenario of 64KB-page-size-host and

Re: [PATCH v2] KVM: arm64: nvhe: Fix build with profile optimization

2022-10-13 Thread Marc Zyngier
On Tue, 11 Oct 2022 03:15:36 +0100, Denis Nikitin wrote: > > On Sat, Oct 8, 2022 at 7:22 PM Marc Zyngier wrote: > > > > On Thu, 06 Oct 2022 17:28:17 +0100, > > Denis Nikitin wrote: > > > > > > Hi Mark, > > > > s/k/c/ > > > > > > > > This problem currently blocks the PGO roll on the ChromeOS ker