Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp850985pxu; Mon, 23 Nov 2020 05:53:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJyS42InUYSrlCYIE8MuaCGFCnZuPblFjbaHW3nKIilMw+dHH3uVs3PeWyVGL3YkQDKE2VWJ X-Received: by 2002:a17:906:1f44:: with SMTP id d4mr29236439ejk.368.1606139629705; Mon, 23 Nov 2020 05:53:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606139629; cv=none; d=google.com; s=arc-20160816; b=rUlE0TNE2eaBlsMUp2VSE54rvGpSEe4+EpzCT8ZL3sf09p8upPJJ4mC5zAnCbXRNi/ LHYCIWbuUH0S35w+9mfh23utVyHb8rHeqseudZjjHzqUop+ifXIPAkzCQTRvxykLBQdq g4yGre/K/3k11EOECuySX+3vhP3dSaKkiNh4viwi889S4YyVZmw95LiMDcKKdrdshjCa reu6ZQpfBuORx0tNT5atJNcZ5Vx5il/j2TaLHV0ZZsYebbwYg1TEbNraJ05l8om8RWVw pIKtnGGW2yz0HhcUUKWSVhGDp26MjBwF58f+qsSz7kBpGzvJQm9PTbQr3UtcNrmNdqYA zr8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iaau9hhA1KFwy2KDmDsX/sn+tVvl77lzzmCiDGToHck=; b=VPrOjwerTtss7nwgN5yJprV/eLPvVBGb9MLnaWZQFrDmUUid+nmJzm8v+zOErAYpVm GFm5KcLz38UkI1jyj4T3cY+rKhj8471jqcP0hh9Y/4zg97ccgREtOErkgoc4bClkLC2d D2E/E4dq5ievuO7a1wBP8tWmXXKmKLScrRqmn1/EZrkEcwxpdz9ZZFcGRAjj/3upzMo7 zhGsbb3jSpYNrFOIZQcbi2nWLgOY9ApGsMlzfhUiIXAiBT/dTc7odD6Ug57hI0ibj00j yqEYo1IKi9cxTSRTgaNsl35febg79fr8w+YdxowKe1KUEyoRplOdkvsyqnzSLfNAXhf2 jAaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=BgBnJ8EK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v7si8924799edj.402.2020.11.23.05.53.26; Mon, 23 Nov 2020 05:53:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=BgBnJ8EK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730017AbgKWNv6 (ORCPT + 99 others); Mon, 23 Nov 2020 08:51:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729455AbgKWNv4 (ORCPT ); Mon, 23 Nov 2020 08:51:56 -0500 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BC91C0613CF for ; Mon, 23 Nov 2020 05:51:56 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id x13so7744940wmj.1 for ; Mon, 23 Nov 2020 05:51:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=iaau9hhA1KFwy2KDmDsX/sn+tVvl77lzzmCiDGToHck=; b=BgBnJ8EK3bza/181q05p8iQXYs1RFznPl/Ry+CtkBEqrhmo0cDH+CdGkp84Kl7VtoZ 0MXDjoCuJ9ewJWRWvmxbHgQGAzkgtkHlr0ywKiw8rXqDO0ze1p7PzKWkFWH79bhxAqUI 6jIltWFyRts2sRBAUNyMtgisXoiwq3Nx0b7Lw2MIuZ2EflVqv6tUs2im41Nm2pDDGSjA Fa+wRpnl6JOqv2tiJ1BvZ3rfyLWW9eUD9WZ5Wyj/7MzePo1L4f3PEMUWioqIy/BYO5Nd 5RqoRi/8HhqjyyjHjaUmEyFGBFS2N9lGzNc7Zf9YgR/Viuf5HTyCR9maRGJ/6GB2ZKIh Jygw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=iaau9hhA1KFwy2KDmDsX/sn+tVvl77lzzmCiDGToHck=; b=ZxDzo+np/ItG1qS6Vj18FGToAC2NpTpq3OeIhLxrQ4AdQ9xl3JXJSEb+5+z03IU9e7 2EGS/KYuPsIpXegyPNi3NCflLQRreRnavfpbhepIRnw5LaLh6mXII+z+RiTN7AEFbVL+ +LWNZfcICBS5PqepfX0QDJmk6HWsgxAym6o3+Y5bVOJbxqFyxFwyoUKr1NAT4igtGL58 XmnPIcU1jEofnIT+FQrKo3f92H8VHR8s3g4PoN+CrWQTTS2XkGyQdk7dUlwSujc0jeT9 ZY7qf3eIHUpKjwpZZ4X6Q7Kg9cUqyAhdPicB12K8nJ0edzC6R9pA8ZvJg5fJo4yTb2uK gq/A== X-Gm-Message-State: AOAM533uCwHi2tV9O9R6RoC66FkfnlhTqFgZPNbfcJ/hMi1RqDrfsAmB 4OIy2FH5T+nCnTEoytFaAFZP/w== X-Received: by 2002:a7b:c0cc:: with SMTP id s12mr23506422wmh.41.1606139515051; Mon, 23 Nov 2020 05:51:55 -0800 (PST) Received: from google.com ([2a00:79e0:d:210:f693:9fff:fef4:a7ef]) by smtp.gmail.com with ESMTPSA id j71sm17278653wmj.10.2020.11.23.05.51.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 05:51:54 -0800 (PST) Date: Mon, 23 Nov 2020 13:51:51 +0000 From: Quentin Perret To: Fuad Tabba Cc: Catalin Marinas , Will Deacon , Marc Zyngier , James Morse , Julien Thierry , Suzuki K Poulose , Rob Herring , Frank Rowand , "moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)" , open list , "open list:KERNEL VIRTUAL MACHINE FOR ARM64 (KVM/arm64)" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE" , kernel-team@android.com, Android KVM Subject: Re: [RFC PATCH 13/27] KVM: arm64: Enable access to sanitized CPU features at EL2 Message-ID: <20201123135151.GA490744@google.com> References: <20201117181607.1761516-1-qperret@google.com> <20201117181607.1761516-14-qperret@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 23 Nov 2020 at 10:55:20 (+0000), Fuad Tabba wrote: > > diff --git a/arch/arm64/include/asm/kvm_cpufeature.h b/arch/arm64/include/asm/kvm_cpufeature.h > > new file mode 100644 > > index 000000000000..d34f85cba358 > > --- /dev/null > > +++ b/arch/arm64/include/asm/kvm_cpufeature.h > > @@ -0,0 +1,17 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +/* > > + * Copyright (C) 2020 - Google LLC > > + * Author: Quentin Perret > > + */ > > Missing include guard. Right, but on purpose :) See how arm.c includes this header twice with different definitions of KVM_HYP_CPU_FTR_REG for instance. Thanks, Quentin