Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1257510rdb; Mon, 19 Feb 2024 09:02:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVTa8QQtKiqCu6aGoNGSAMBCOkW2i0jEZbp7BicVpo7QWUgDal5zlQASMs5RvL9UoC5wBEMz4jMmFiX7ETZdCT2kiyAgxdb+Lf2o/Ghig== X-Google-Smtp-Source: AGHT+IG39u4lDg+W0j353MQOqJRETjwbZnCR2d+lFY69skhhdfcQfR9N3M9ZHVCLPLrAKg6jdD2l X-Received: by 2002:a17:902:cf01:b0:1db:aebd:5e2e with SMTP id i1-20020a170902cf0100b001dbaebd5e2emr11676178plg.28.1708362124463; Mon, 19 Feb 2024 09:02:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708362124; cv=pass; d=google.com; s=arc-20160816; b=xuIVi+0uEfIwjBc4tsyItYLlhNo7QwcL8zgN+0hAqXV/hXO+V0zDDHcYat5T4EiG6M kCgci6/hrgm5Abn3GV8SWAEXaafXfIwEgQmwY8Jpzu0OnGcSaIYzLwwxreQscaQlW2Kw KcjpR5yPTAEY/E5EWKDFCjXR00hGB274RLjRSItz646+gBOcNueyYavQSrxIAOaTrN/L NfNagR3qrcpLSvuq7L/V/GLAXtAO8zjnhOuXVE/5nkLEMY4myXUfyjxDC+kp2UNxqvXJ LJt4lM39V/zalrf5fJLrAqDO+N48PnY5T/KQx0aCwK7cDyyYmRyUcOAvCcuZbV6CmSvK x3tQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=PBXO5XSWWx3dT7HqFrQEvr+mkZnlaSFUsZUTnXk8Exg=; fh=+EryieX297tDHpAZGdprpBMhIH6TDcA3vMHlSLnzZNU=; b=Y48mdyKiEmUUBaaZrzdiZS5HmnxIsGSZ6ItRJF9REUtIdT5ZEKo10Gapcbr4m1GkE3 wXNwTRMPx/UeMnE081ketM4hR6CyGCS6SFFaybDYB+JZkEHLLa7g+tdhdaVq1WJvRjtp 5tD4ie9SKhCqdns450UDd89EeJuCnxQzR28uGAFCEbwYZx+K4U0yJ1fDk/qazMTVouwp W3TDyyWll3iYbtrz38qczWYuykI69YYafcp70LMHeyUekUbmRhqFa75JzBG04hgbaFfv fX4nl8thIGKm3oDaKHAj02a6qrgomX8u5eidV7lFpaSoiJdnnZ+5BLd6+dBFivf5MKuK neDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-71706-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71706-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id h22-20020a170902ac9600b001d50ecf8686si4591542plr.520.2024.02.19.09.02.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 09:02:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71706-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-71706-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71706-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id ED339B24C2E for ; Mon, 19 Feb 2024 16:49:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4562F41C91; Mon, 19 Feb 2024 16:49:22 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BECF741C7D; Mon, 19 Feb 2024 16:49:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708361361; cv=none; b=fi2oFL1BGqDo6ZIFD/1Rn1Gi9AOFTs4vBD+yq67qnh+9ZRL8zz944KbuD91vAKpGandeq9jL/v+HcuZGNaD/2mVa1ugTybSCFDZ7FcdJhsSUbV/62I4zodQYgdmfqM596PB95UEGzGxt7sXcWQaJKVeoVcjTAeMym/6l5Jq3QLI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708361361; c=relaxed/simple; bh=1Dg7pxDMbg8XS4tLmwzr2u4mMw8LyERdAhO8F+8W8eU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qaD+qqMuA+2ft8YFfdIdgySktw97ly7pSnsqcXVfF6NaeJLCQm9AkTYPZMB9WBpUltJkl5Uk7j5C4IYUNzWcP5jpxy8hFUnouK/qxC93rqD8f+SmAXf9pToLJNPdlTlG3ls1p+O1eoDumXBSobVM4rekhNqYKybIEB3rd027E9c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 302C4C433F1; Mon, 19 Feb 2024 16:49:18 +0000 (UTC) Date: Mon, 19 Feb 2024 16:49:16 +0000 From: Catalin Marinas To: Marc Zyngier Cc: Stephen Rothwell , Christoffer Dall , Will Deacon , Ard Biesheuvel , Linux Kernel Mailing List , Linux Next Mailing List , Oliver Upton , Mark Rutland Subject: Re: linux-next: manual merge of the kvm-arm tree with the arm64 tree Message-ID: References: <20240219135805.1c4138a3@canb.auug.org.au> <86bk8c4gyh.wl-maz@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86bk8c4gyh.wl-maz@kernel.org> On Mon, Feb 19, 2024 at 03:22:14PM +0000, Marc Zyngier wrote: > From f24638a5f41424faf47f3d9035e6dcbd3800fcb6 Mon Sep 17 00:00:00 2001 > From: Marc Zyngier > Date: Mon, 19 Feb 2024 15:13:22 +0000 > Subject: [PATCH] arm64: Use Signed/Unsigned enums for TGRAN{4,16,64} and > VARange > > Open-coding the feature matching parameters for LVA/LVA2 leads to > issues with upcoming changes to the cpufeature code. > > By making TGRAN{4,16,64} and VARange signed/unsigned as per the > architecture, we can use the existing macros, making the feature > match robust against those changes. > > Signed-off-by: Marc Zyngier Thanks Marc. I applied it on top of the arm64 for-next/stage1-lpa2 branch. -- Catalin