Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5250662imu; Wed, 19 Dec 2018 08:03:07 -0800 (PST) X-Google-Smtp-Source: AFSGD/VKc7B8YW3PcKPadUBV00Vn5Lm05C6S7swZK92gKegDncBe24WaONqLazZuhS78DRyUL5/h X-Received: by 2002:a17:902:7882:: with SMTP id q2mr21376876pll.305.1545235387526; Wed, 19 Dec 2018 08:03:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545235387; cv=none; d=google.com; s=arc-20160816; b=RhtSntzzYNdyq8vYt7PTKkI1Z9geWy+0G/T/KGkgwSDM8lrrDDgHKceTp3B7MmOoYZ fct4BgKq6SqTC2SpjTUy1Ay8CXUsNOx6kMomcOqfaVr0n4xrq6PUYyJvWkG/nkfpDvHk KfYS5blxF1dfjmoQrIMj0rh8QLLz2pKuBxPW9VbtwYwXZRp7Ygdwb950V0UoK+g78YQO Ic3/LX2UneM9RV7LMTQqdauqZ8dcNWYkwwY9DChIowTyB9Ok8RfkynBJuLCbo/lEVgbc /4THwFKoyydVHMD2wwTgdYJK+RlB4n9cageScIoyFCZfPY35K5c9v4zCeR1O1Q1Zok6E yxeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=4juBtjJ0FVQs8o2MBppal6kfTqbhKLpXoQje4ojS/yg=; b=X9lUCXBmivR27GzoyrCMMDap+XuwrcCANUvOhEvYv/EuiaO1D6CdxYaJkOWBqQs6/k y56QtfGzj+XZbOT8CI1j7Op1aPyLQUuq4MpQttQled5g3p2Cjki7HceSSITXn8DFdo8U /fHocxj2R4CCk2xGJEdy8HSd5chjTr8hA3MBaVwTnyeS2O93n8Ie6B5wnzb66fE1Dx3K NOimlUbR2dyHIosNELJYfknJlrsMHdyCOS0dD6aNJCL2fOGzrsc8EQTkxyMq1doajzqw 3O9SlbsEcGFUkxcdwIzdY7s3zy+2MPeHfYTKH5jgURw8pdnreh0rFB4c33oJxsJMPhpH urNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RCf8c7Cq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b27si15975407pgb.107.2018.12.19.08.02.46; Wed, 19 Dec 2018 08:03:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RCf8c7Cq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728811AbeLSPWB (ORCPT + 99 others); Wed, 19 Dec 2018 10:22:01 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:45838 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727722AbeLSPWB (ORCPT ); Wed, 19 Dec 2018 10:22:01 -0500 Received: by mail-ot1-f66.google.com with SMTP id 32so19377633ota.12 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=T5nHj0yxYY18fKwt4FTGzuA9hMDtQFMy5GpJQLH4e6IPFy/MQfv18vckpe3eaKYvUb pYE+p3VxEh5UsvFiPD6a4f36zRgDfF8LAQgXQhX7gEqy2XB9Ay1M1gLDwoiDKcWGqEew 3jo5+Hz2Zo1WpxYS2sfvi0SrFA8pW2J+IsYNW3uxM3W9wajbPTvzRYITXpeRt7U7n/DJ /NMSlHdu7qx9ys4DKB2IbeJtiA+X7Cj2xuShJNDUoeB9iE2mpjEB4PA3BrUXW5YA+B9A 0TfRJXvkYWkfTgMXIpUTebRxC0yEqSwhVTUK9TG6YrN1196gY4uWfISlikEatq9MhshS LdAw== X-Gm-Message-State: AA+aEWaNm3ImJaT1XaBxqz5v5V/o/r44I3Toulme1FQ0AqkmTo93GZlD gkTiy2hsx9DWIOYThIjV5Sw4cyVTtUiFe6KFhOsIcTlN4hU= 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 Cc: Kristina Martsenko , lkml - Kernel Mailing List , Jacob Bramley , Ard Biesheuvel , Marc Zyngier , Catalin Marinas , awallis@codeaurora.org, Will Deacon , kvmarm@lists.cs.columbia.edu, Cyrill Gorcunov , Ramana Radhakrishnan , amit.kachhap@arm.com, Dave P Martin , arm-mail-list , keescook@chromium.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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