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=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED 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 0E4FBC43387 for ; Wed, 19 Dec 2018 15:22:22 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D4414218D0 for ; Wed, 19 Dec 2018 15:22:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fRXlAjOu"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=linaro.org header.i=@linaro.org header.b="RCf8c7Cq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D4414218D0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=G4at+UAVaIKV6iVayjAy6lI13cAyd01f8LQeX4PxjlY=; b=fRXlAjOuWHc/hM dAu9YVi/KJ8T4lqn4AoosnISCWrh3w8NltPbWVru/FBjZKbRdy+3yRHS0EUo0f6hhQ0rQlBDtjHKT twZsyjHGlXOpzt/SityJWOzIFHwL2Vv1Qr7R3ndyemD5uLoYLRriHK4gW7qq/4wlirpu2bPTEqddj qsSVOVs+Z6Mb2IVCwG54T6/0kaKmx/cH4B/sliEZy7crVyGEJnuvPTGSQTze3VCHeAQZDiYcRTPwE UDW5Sacyz4r9UkECaAnKge0uiErfCBKwcIW7gLD4vx5R7WCa/2c38ST13TNZWU+n9WI9w+7o+jjsY nYf9Onx/l7pbuDYtT0+A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZdfr-0005It-Ql; Wed, 19 Dec 2018 15:22:15 +0000 Received: from mail-ot1-x342.google.com ([2607:f8b0:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZdfo-0005G8-45 for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2018 15:22:13 +0000 Received: by mail-ot1-x342.google.com with SMTP id u16so19398156otk.8 for ; Wed, 19 Dec 2018 07:22:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4juBtjJ0FVQs8o2MBppal6kfTqbhKLpXoQje4ojS/yg=; b=RCf8c7Cqy1WpX0Ybs82FuwaHwFlQ67QA9XMi8QAXKohbrAfBlEe5vpBqLELzlh4too 24TUdkDuvqMEHNP07jdNYqN3IkQoOeg6ew/X5eWparduSUMsEJswwk8RGbTRCi7IEJJW ff1zTNbz2f5BPEudXMyAmhCsrAAEEOjqemilQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4juBtjJ0FVQs8o2MBppal6kfTqbhKLpXoQje4ojS/yg=; b=dQTreVsk74aNfbT6EA7w4Tc/GE5y4ynxpskkTnYACBqu3TMV7iJxKwyAdTT686boez flUfCNLdj1Ghnv7LUbHZzGHw85zA5JnZDVrjJwu3JzM7mO/HEZIdbolCFRVbRyfhqyYj Xsg22cizTZNF8rPq2VzyzfjfNRnrq/S3n+rfrLSq6K+WeGBXJZWw/7EStdpPRr+Rq5LK NDKRPBZJOYcR8DewE6QJTwnWn5niM+CS5ovON8n6X8sioTl4yx619B3l7oluQHOUyiHr cosnnD/ux6MPq67tMKt9r8R/guQvKq7qt3AaFcM7IjMeUKqUyFu9ZISgIRpcaFRKdOm0 QIkQ== X-Gm-Message-State: AA+aEWbPrbkrSfZ7TS1QvkN7awRNWCoc9UaTVvaNBY6zGqKCyezotGlR Pv/WZbhZuOJtcqc5O1zn0mE49Wls+/H8fSqQuntq+g== X-Google-Smtp-Source: AFSGD/WcyZXa9/1TGJNU/0CI8EpRkr+4nRMHIRgYKGsy/55g7A3emXa4Tqf2mjfoPrvtxAB1bp0ZiPDORMwivfaXEkU= X-Received: by 2002:a9d:5a81:: with SMTP id w1mr341117oth.317.1545232920951; Wed, 19 Dec 2018 07:22:00 -0800 (PST) MIME-Version: 1.0 References: <20181207183931.4285-1-kristina.martsenko@arm.com> <20181207183931.4285-5-kristina.martsenko@arm.com> <57966497-d21c-5439-e4ba-d75f5552282f@linaro.org> <1f179017-4237-0d36-7adc-0a1470b5fd46@linaro.org> In-Reply-To: <1f179017-4237-0d36-7adc-0a1470b5fd46@linaro.org> From: Peter Maydell Date: Wed, 19 Dec 2018 15:21:49 +0000 Message-ID: Subject: Re: [PATCH v6 04/13] arm64/kvm: hide ptrauth from guests To: Richard Henderson X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181219_072212_163659_75DEC6BC X-CRM114-Status: GOOD ( 11.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jacob Bramley , Ard Biesheuvel , Marc Zyngier , Catalin Marinas , awallis@codeaurora.org, Will Deacon , lkml - Kernel Mailing List , Kristina Martsenko , Dave P Martin , Cyrill Gorcunov , Ramana Radhakrishnan , amit.kachhap@arm.com, kvmarm@lists.cs.columbia.edu, arm-mail-list , keescook@chromium.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 10 Dec 2018 at 20:22, Richard Henderson wrote: > > On 12/10/18 2:12 PM, Kristina Martsenko wrote: > > The plan was to disable trapping, yes. However, after that thread there > > was a retrospective change applied to the architecture, such that the > > XPACLRI (and XPACD/XPACI) instructions are no longer trapped by > > HCR_EL2.API. (The public documentation on this has not been updated > > yet.) This means that no HINT-space instructions should trap anymore. > > Ah, thanks for the update. I'll update my QEMU patch set. Just to follow up on this loose end, this change to HCR_EL2.API trap behaviour is documented in the 00bet9 release of the system register XML which came out today: https://developer.arm.com/products/architecture/cpu-architecture/a-profile/exploration-tools/system-registers-for-armv8-a thanks -- PMM _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel