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 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A350DC10F0E for ; Tue, 9 Apr 2019 08:11:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 67E1A20883 for ; Tue, 9 Apr 2019 08:11:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ozlabs.org header.i=@ozlabs.org header.b="boL01k+6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726767AbfDIILS (ORCPT ); Tue, 9 Apr 2019 04:11:18 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:42205 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726079AbfDIILS (ORCPT ); Tue, 9 Apr 2019 04:11:18 -0400 Received: by ozlabs.org (Postfix, from userid 1003) id 44dg3S27CPz9sRY; Tue, 9 Apr 2019 18:11:16 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1554797476; bh=xFGsYyMOVtmziFzxDXRT7Ndt/DrmKqE7hgB8LHw8XAM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=boL01k+6euQV119oGHdawNRYqgOUhmQmfZF2SaiKzOcYpcSTAvG9Q9N8YY5EJioGR mJLf+e3sL4pVXeRWtLf+gmYcEG4a0NdK7ers9/wIZaKd0Ic0ezMHob7MichEj3lSBG rk55HIQkhfV7hh6lBOWIyHnVHBW728XkFsdtvomJqtuqwVMDjkgxtpzT0bwBv6Mz0B KPJ3S0xZAtfhvKlKPr/L1vsl4tkivAnZGjeoKmA/0pkgBP9wgAPhRGVs06+l2x9OB0 gMEtQHBIPtyqo1SBr7KT/cZHetpoOc4mjG9clsME72fiGZJAceE8CQpLNDCGthJTAI KqPv+vixJRn7Q== Date: Tue, 9 Apr 2019 16:19:16 +1000 From: Paul Mackerras To: =?iso-8859-1?Q?C=E9dric?= Le Goater Cc: kvm-ppc@vger.kernel.org, David Gibson , kvm@vger.kernel.org, Michael Ellerman , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v4 10/17] KVM: PPC: Book3S HV: XIVE: add get/set accessors for the VP XIVE state Message-ID: <20190409061916.GA3429@blackberry> References: <20190320083751.27001-1-clg@kaod.org> <20190320083751.27001-11-clg@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190320083751.27001-11-clg@kaod.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Wed, Mar 20, 2019 at 09:37:44AM +0100, Cédric Le Goater wrote: > The state of the thread interrupt management registers needs to be > collected for migration. These registers are cached under the > 'xive_saved_state.w01' field of the VCPU when the VPCU context is > pulled from the HW thread. An OPAL call retrieves the backup of the > IPB register in the underlying XIVE NVT structure and merges it in the > KVM state. Since you're adding a new one_reg identifier value, you need to update the list in Documentation/virtual/kvm/api.txt. Paul.