Re: [PATCH V7 01/18] perf/core: Use static_call to optimize perf_guest_info_callbacks

2021-06-23 Thread Zhu, Lingshan
Thanks Boris, I will fix this in V8 On 6/23/2021 1:31 AM, Boris Ostrovsky wrote: On 6/22/21 5:38 AM, Zhu Lingshan wrote: -static int xen_is_user_mode(void) -{ - const struct xen_pmu_data *xenpmu_data = get_xenpmu_data(); + state |= PERF_GUEST_ACTIVE; - if (!xenpmu_data) { -

Re: [PATCH v17 5/6] KVM: arm64: ioctl to fetch/store tags in a guest

2021-06-23 Thread Steven Price
On 22/06/2021 11:56, Fuad Tabba wrote: > Hi Marc, > > On Tue, Jun 22, 2021 at 11:25 AM Marc Zyngier wrote: >> >> Hi Fuad, >> >> On Tue, 22 Jun 2021 09:56:22 +0100, >> Fuad Tabba wrote: >>> >>> Hi, >>> >>> >>> On Mon, Jun 21, 2021 at 12:18 PM Steven Price wrote: The VMM may not wish to

Re: [PATCH v17 0/6] MTE support for KVM guest

2021-06-23 Thread Steven Price
On 22/06/2021 15:21, Marc Zyngier wrote: > On Mon, 21 Jun 2021 12:17:10 +0100, Steven Price wrote: >> This series adds support for using the Arm Memory Tagging Extensions >> (MTE) in a KVM guest. >> >> Changes since v16[1]: >> >> - Dropped the first patch ("Handle race when synchronising tags") as

Re: [PATCH v4 6/9] KVM: arm64: vgic: Implement SW-driven deactivation

2021-06-23 Thread Alexandru Elisei
Hi Marc, On 6/22/21 5:12 PM, Marc Zyngier wrote: > On Thu, 17 Jun 2021 15:58:31 +0100, > Alexandru Elisei wrote: >> Hi Marc, >> >> On 6/1/21 11:40 AM, Marc Zyngier wrote: >>> In order to deal with these systems that do not offer HW-based >>> deactivation of interrupts, let implement a SW-based ap

Re: [PATCH v4 0/9] KVM: arm64: Initial host support for the Apple M1

2021-06-23 Thread Alexandru Elisei
Hi Marc, On 6/22/21 5:26 PM, Marc Zyngier wrote: > On Tue, 22 Jun 2021 17:03:22 +0100, > Alexandru Elisei wrote: >> Hi Marc, >> >> On 6/22/21 4:51 PM, Marc Zyngier wrote: >>> Hi Alex, >>> >>> On Tue, 22 Jun 2021 16:39:11 +0100, >>> Alexandru Elisei wrote: Hi Marc, On 6/1/21 11:39

Re: [PATCH 0/6] KVM: Remove uses of struct page from x86 and arm64 MMU

2021-06-23 Thread Paolo Bonzini
On 24/06/21 05:57, David Stevens wrote: KVM supports mapping VM_IO and VM_PFNMAP memory into the guest by using follow_pte in gfn_to_pfn. However, the resolved pfns may not have assoicated struct pages, so they should not be passed to pfn_to_page. This series removes such calls from the x86 and a