Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp37200imu; Mon, 10 Dec 2018 15:34:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/U+j5MbLXem6HArnGvagFxmS9OT8u7oa1KkWXgQOp5CzYqnkZJqbYib0r4pKdd0wRSV/teA X-Received: by 2002:a62:644:: with SMTP id 65mr14238724pfg.161.1544484850700; Mon, 10 Dec 2018 15:34:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544484850; cv=none; d=google.com; s=arc-20160816; b=JlyEHmcfCNcWhmVlb9R9MU5i7/JBiqahoLPBrZTGM7ZJ/UjgXdcVzF4HJOWP1c3/Pg /8gRSL7XbtwTztGEf5gSglVBRiJXtcM5G7CmHgtkJilhjENcp1f0Tx4dh+iv3xxX2IbQ z9OQ/xvk++ztbuGR5uB6HVEouMVch0/oSk9FlHQRxDxrQvoMG6IkDqlk5p5h8kLaE+Mm gIews2pFXbH9tQxGeIMhFZRnABhJ9rXfH/hSWzuK25qhNhhNTUQI9rwyPWWfLOXEBc1P jkfiK2AYb9Mav0QDZ6fxUOVWXW0BPIaP3jgO7khn3Cr5XfczGtpaQy01iPZX5ch0HOvl XySQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject:dkim-signature; bh=ITwyA1ilb+xLe3ITBXhrAEwj01XyjVw7cJczqLzd8aM=; b=mHNSLJ1JB5AJmqRb09/9oIax8XB9ftkDbb/IZ2Frs8uP8U9O3BMXZpALJyg4EjLgBH Ar5CKDoQcFpC8ZL0FWY8QEZy2PC9I0WP4ZAuoluy0pjyQgRpvPtZM/ckOSqwVh5k6fOu lK5n96DOffeFWToSc8mEdpehYOLy5c7F+v1ndt4EQMD/oZbwt5r05IilW4eo5v0UsdUb B+48HOGHhny+0SymdV4Lb9/yfs2sB3L/vvVPGvWYkoH0Bg3Iq7DL/vdwuIKGJ2Ed3xjl 4hfHMK6fQRt0O1FvMzQtmHZxXObjK4jUXDVmGMnI8Aa5YGSgfygIsUVb9DwNwTWwQzE1 ieOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TMywv58c; 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 l30si11098481plg.113.2018.12.10.15.33.55; Mon, 10 Dec 2018 15:34:10 -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=TMywv58c; 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 S1729394AbeLJUWH (ORCPT + 99 others); Mon, 10 Dec 2018 15:22:07 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:34368 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728324AbeLJUWG (ORCPT ); Mon, 10 Dec 2018 15:22:06 -0500 Received: by mail-oi1-f196.google.com with SMTP id h25so10135263oig.1 for ; Mon, 10 Dec 2018 12:22:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ITwyA1ilb+xLe3ITBXhrAEwj01XyjVw7cJczqLzd8aM=; b=TMywv58cDbyz74X2fVktWd9KNCIRxRjGMPZmKnDO798MrBSj6XII/IBrgxmHv14eAW yHUfciBPAIKUi9mvcUWWhEQOAR841wLQnXntoCktGmT5IGKVf9WTcpmsKOu2MozV37u8 EBs1tGzyidWTJ0Qt4j+g0NfHREb+gA0TQw9UQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ITwyA1ilb+xLe3ITBXhrAEwj01XyjVw7cJczqLzd8aM=; b=K4C0KiB6AZG6aBkWnwzhWeU16rqq2BfXQEmhXDInCOtxgwYHTGT4QDxxPww9/LkxZ/ mB4kleaq5Opw+LFweUl/sU1R2+0O/FJN/FTxkXlb4uN5XMuNQNfxARFhi8NuHIi72FLu 30zjYu9r4KdfG59Q0HDoGBcXoblrGY15pU8RcCWO9ZcXXxbKT941qvjEWLOAetmHsDp9 yjPoez0rh6b4IPJ0+8e771chA3ZgLNxM3M5M3ILtSz5O0tLRKVR4BKxpw2AgLRRnZb+L n8tHbIGxz/xM3phEOWE0ptA7Dl0/IRTiYYEcR8RB2bZ5qSgBwm7ZnzpsR9ZVG8C4G7lZ i6Rw== X-Gm-Message-State: AA+aEWYgHjBRHKRmkbMpM0IxYyVdH/UrvuFFDKCvrCoT/3KVXGqpmsS1 Rvw3NaJdXdmEsBUKDm1RQRCUxZO4n5eq4w== X-Received: by 2002:aca:4a56:: with SMTP id x83mr7843904oia.11.1544473325046; Mon, 10 Dec 2018 12:22:05 -0800 (PST) Received: from cloudburst.twiddle.net ([187.217.227.243]) by smtp.gmail.com with ESMTPSA id l1sm5864845oib.10.2018.12.10.12.22.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 12:22:04 -0800 (PST) Subject: Re: [PATCH v6 04/13] arm64/kvm: hide ptrauth from guests To: Kristina Martsenko Cc: linux-arm-kernel@lists.infradead.org, Adam Wallis , Amit Kachhap , Andrew Jones , Ard Biesheuvel , Catalin Marinas , Christoffer Dall , Cyrill Gorcunov , Dave P Martin , Jacob Bramley , Kees Cook , Marc Zyngier , Mark Rutland , Ramana Radhakrishnan , Suzuki K Poulose , Will Deacon , kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org References: <20181207183931.4285-1-kristina.martsenko@arm.com> <20181207183931.4285-5-kristina.martsenko@arm.com> <57966497-d21c-5439-e4ba-d75f5552282f@linaro.org> From: Richard Henderson Openpgp: preference=signencrypt Message-ID: <1f179017-4237-0d36-7adc-0a1470b5fd46@linaro.org> Date: Mon, 10 Dec 2018 14:22:00 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. >> It seems like the header comment here, and > Sorry, which header comment? Sorry, the patch commit message. r~