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=-5.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_MUTT autolearn=ham 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 980D9C04AAF for ; Mon, 20 May 2019 06:42:43 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 41EC120644 for ; Mon, 20 May 2019 06:42:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=ozlabs.org header.i=@ozlabs.org header.b="bBJ0iHd3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 41EC120644 Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=ozlabs.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 456q8K4dw5zDqBc for ; Mon, 20 May 2019 16:42:41 +1000 (AEST) Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 456q6t6jmxzDqCM for ; Mon, 20 May 2019 16:41:26 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="bBJ0iHd3"; dkim-atps=neutral Received: by ozlabs.org (Postfix) id 456q6t61hZz9s6w; Mon, 20 May 2019 16:41:26 +1000 (AEST) Received: by ozlabs.org (Postfix, from userid 1003) id 456q6t54mdz9s9N; Mon, 20 May 2019 16:41:26 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1558334486; bh=QEuNNwxQBX41d0QJRz4odHqyh4NW3Ru3samHQRyhn0k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bBJ0iHd3/nTI8DR4svY+hZf7RDgH3Tzy0Ww33EomKBSwWbs4XjXP1f6ijK3PrKUPH pZfcEuJkvw0BDQEmco8CYR2SHhWVAdpbYl7G+XCDyYJxplq5sBeHOmOXEnRlY/qS+e SmmDqNZ68THRzsoreo4nWUXUC+MwNCrtHlxI2/VilcjTMQt/Hwcg9xi7Hbk9m7UiEi Zjs+OSmtWoElgbaDDrqEw+M0H5YncGBs0AkOTTMAJnkIxKsf+6s8xvxy8PMOZnA1lA yGuONvY4nBSHaA3222J7h9dvetMvZhJw/obXydl9ofW80MYWIsaaFrYh0Q58HCRCkS CDopIqWSk3yww== Date: Mon, 20 May 2019 16:40:23 +1000 From: Paul Mackerras To: Claudio Carvalho Subject: Re: [RFC PATCH v2 09/10] KVM: PPC: Book3S HV: Fixed for running secure guests Message-ID: <20190520064023.GD21382@blackberry> References: <20190518142524.28528-1-cclaudio@linux.ibm.com> <20190518142524.28528-10-cclaudio@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190518142524.28528-10-cclaudio@linux.ibm.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Madhavan Srinivasan , Michael Anderson , Ram Pai , kvm-ppc@vger.kernel.org, Bharata B Rao , linuxppc-dev@ozlabs.org, Sukadev Bhattiprolu , Thiago Jung Bauermann , Anshuman Khandual Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Sat, May 18, 2019 at 11:25:23AM -0300, Claudio Carvalho wrote: > From: Paul Mackerras > > - Pass SRR1 in r11 for UV_RETURN because SRR0 and SRR1 get set by > the sc 2 instruction. (Note r3 - r10 potentially have hcall return > values in them.) > > - Fix kvmppc_msr_interrupt to preserve the MSR_S bit. > > Signed-off-by: Paul Mackerras > Signed-off-by: Claudio Carvalho This should be folded into the previous patch. Paul.