From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2FF10C6FD19 for ; Mon, 13 Mar 2023 18:05:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UC0fXo1uB/4HZJb4JAOwtuN/9TIWy83v9kI/hGQOL1U=; b=GLKCbXSuUA0qty 8CmFqqnMHGL6Zdu7zNHW33+ZGbqbjSP4xhVK1h/IZTQHUEJv3utL6UYfYPS1ISME2DK/65ilSC3Is EtBQsP1QU912eusp8JnoR0SfIH8SK6GEsD3hSzFgni1AFVh1/x0+ZaiNsR3KHTZa94mw8lQrKNqj/ jYlm0isM07kfR/oCkK6SW6zBAyFj3p+NR3fILtmcsPNm1xhS92YvYygJgVieWltU0J5rfmc2WaPHB 12zVyUhpxdN5LUSf5HiadO4V2Mn/NrlwDWDRVQpypDIKr9ClurdR1OrUmk5BqDQq/FHR+4czOSJzv BDGBpsqYgWPXyET+OQ4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbmX1-007E7f-Qj; Mon, 13 Mar 2023 18:04:23 +0000 Received: from out-14.mta1.migadu.com ([95.215.58.14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbmWx-007E2b-18 for linux-arm-kernel@lists.infradead.org; Mon, 13 Mar 2023 18:04:21 +0000 Date: Mon, 13 Mar 2023 18:04:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1678730652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vQYUbvnE136yUkG/cwkOWkXNIYV1jlaCbhEZUeHbp7E=; b=Ik/1GQ51Np77wdQJzc9ewDSJ17t7iO+Af6WIzQFIwZdtQlCVEeJvsoGYtSqXqBs4y6pVmT A5w9KSDLQOeU0XytCO9Dt+dN4wDXLx8HMFOfoSIT3G/L3n/dtPvL14nrESxcR9xeCxd5uo jvFneSLxcu72ZtmJarrzOB049rn6dQw= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Reiji Watanabe Cc: Marc Zyngier , kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, James Morse , Alexandru Elisei , Zenghui Yu , Suzuki K Poulose , Paolo Bonzini , Ricardo Koller , Jing Zhang , Raghavendra Rao Anata , Will Deacon Subject: Re: [PATCH v2 0/2] KVM: arm64: PMU: Preserve vPMC registers properly on migration Message-ID: References: <20230313032905.1474705-1-reijiw@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230313032905.1474705-1-reijiw@google.com> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230313_110419_689313_EFCB5298 X-CRM114-Status: GOOD ( 15.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Reiji, On Sun, Mar 12, 2023 at 08:29:03PM -0700, Reiji Watanabe wrote: > The series fixes two problems in preserving vPMU counter (vPMC) > registers (PMCCNTR_EL0/PMEVCNTR_EL0) during migration. > > One of the problems is that KVM may not return the current values > of the vPMC registers for KVM_GET_ONE_REG. > > The other one might cause KVM to reset the vPMC registers on the > first KVM_RUN on the destination. This is because userspace might > save PMCR_EL0 with PMCR_EL0.{C,P} bits set on the source, and > restore it on the destination. > > See patch-1 and patch-2 for details on these issues respectively. > > The series is based on v6.3-rc2. > > v2: > - Collect Marc's r-b tags (Thank you!) > - Added "Fixes:" tags > - Added Cc: to stable > - Cosmetics change (remove one line break in kvm_pmu_handle_pmcr()) > > v1: https://lore.kernel.org/all/20230302055033.3081456-1-reijiw@google.com/ > > Reiji Watanabe (2): > KVM: arm64: PMU: Fix GET_ONE_REG for vPMC regs to return the current > value > KVM: arm64: PMU: Don't save PMCR_EL0.{C,P} for the vCPU I received both of these patches as indepentent emails instead of replies to the cover letter (i.e. In-Reply-To header is missing). I was able to find both patches but just wanted to let you know so you can debug your tooling. -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel