Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp157402lqe; Tue, 9 Apr 2024 19:06:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVNv4fb6Z9SMCMngYJd6Ky2NrH9f8ToaPIUDQDimmWo7S7Aqgcxwj/SOsEQtwXfCEXSlsjKoi9Asg2KosHVSImXdbf7vVSgOvXE9WtfoA== X-Google-Smtp-Source: AGHT+IHvibQJl2Egn9NqwFHT1tzimzSOjjKNNaGg6o7ZycMSHj+V6hzXKyCsbuL+uZO04pxDw72P X-Received: by 2002:a05:6102:1488:b0:471:2478:71fd with SMTP id d8-20020a056102148800b00471247871fdmr1212030vsv.33.1712714796834; Tue, 09 Apr 2024 19:06:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712714796; cv=pass; d=google.com; s=arc-20160816; b=WNgxHGU7vqH0h+8/JK9XoY0u33VZLdAuoONiaHtjoEUmEbFpmnxN/i4OTVVB4YvtLu x70WCUSxR0dP8VuOJYxady/dTvZgvsKU1f8JWT1H8cya83KFs8oWIInmC4rbBmn9YKGu GvinNYQX/eiTh+HKAVzuz4jnqqHIOV2FiK1WghBLM8yQbE1xPlr5quNAyeqjF+DQvv+l ez44Q9N85udRHYwGsomQRz8z3TgLReoZX+ePf17Z1VoGe6OCDWpRFXiT41fmpcu41izU db9tQ8CmN2Xi/lKqWcKdZhyJd8FIVitT0hn6zu3Don3R/pBZGw+9FZhvP3LF0aT981dp rOsg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id; bh=XhPesm0nmBWAOxi9NWzmE0sIfxrzGcspGA+bRMGdreo=; fh=r+21laWnJMzjHr323MKDhq76tk+yTmwJI9mlG1wRPZM=; b=J9AQSscrXgr2cmey0JDYLAgywdrLHV4kqS8duEXIm12VvEopL0G/XoFZgqYdllUAhJ xoKeBMXRlKq7i5lgX1RDmLr/4MH4wkPl6Oz4FrYxz/hwlkZx6bu3HqxSFZKENLQ/8l06 AcT4f6ur4Ao7zu8CuofVPNip3nUu7cv2MUqWHxky0CtwCSACm2Bv4g1LuOozOkZ43dwd rNcscXdUn9p/T6KCQ8fq5xWN5GOntJMXCLQn3r/1Z+lBxkzNFTkcuVvrDg+LgbKveNxS i5NBgHgC2G+tDsZBdmlChxzka+juMUp3tCMTBSlMT3JOEY7BwYrCPmJctjsWXvCGQX+Z VCvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-137814-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137814-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f11-20020ad4558b000000b0069946e09e78si10223590qvx.115.2024.04.09.19.06.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 19:06:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137814-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-137814-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137814-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8FED81C219C7 for ; Wed, 10 Apr 2024 02:06:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C29B4523A; Wed, 10 Apr 2024 02:06:30 +0000 (UTC) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) (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 4FBD21C2E for ; Wed, 10 Apr 2024 02:06:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712714790; cv=none; b=YS+dO75RK1uiWLSKRNEtbPnxabj+3mCuZAc+ri1PQQ+i6PqFdJK3Sj4jgkNXaRpd0F7CiTMqDheiefdkxoXo+AzyJqV1N6o9cYhHg4e46X0Q1z0dp8xoS7sFZwksNWTHVSvK7X426a/DgJYWB7XPUKdE+IJLx2O6Xn/3fPQQqJ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712714790; c=relaxed/simple; bh=IJseWqJozQjmQNwa4w8msgsxtQ0jKAXnnc/pU58tpTc=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=EMA83iKzw6IuqfFbqJVoPxQxsVA5sPLjUg1PxtEvN9YirUBX7TAbgk+AAZN6uI9FGjQPDsS015T5ASqBIqbq62R1kjUD9KXAiMW/G/5JvBxIB4AckPhD+jiEs2M1vcEdMsOX/CJXyXd3aqyREMGXQ9OOeraKFElwh1g001kZNgA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.194]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4VDmPg5hYnzFrKD; Wed, 10 Apr 2024 10:05:27 +0800 (CST) Received: from kwepemd200013.china.huawei.com (unknown [7.221.188.133]) by mail.maildlp.com (Postfix) with ESMTPS id C02941403D3; Wed, 10 Apr 2024 10:06:25 +0800 (CST) Received: from [10.67.110.108] (10.67.110.108) by kwepemd200013.china.huawei.com (7.221.188.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Wed, 10 Apr 2024 10:06:23 +0800 Message-ID: <522e857e-ed62-fb77-7aa2-00a872c4deb1@huawei.com> Date: Wed, 10 Apr 2024 10:06:23 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH 1/9] arm64/sysreg: Add definitions for immediate versions of MSR ALLINT To: Mark Brown CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <20240409012344.3194724-1-liaochang1@huawei.com> <20240409012344.3194724-2-liaochang1@huawei.com> <5d06c9d8-a903-4cd9-be08-d7681e7928be@sirena.org.uk> From: "Liao, Chang" In-Reply-To: <5d06c9d8-a903-4cd9-be08-d7681e7928be@sirena.org.uk> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemd200013.china.huawei.com (7.221.188.133) Mark, 在 2024/4/9 20:28, Mark Brown 写道: > On Tue, Apr 09, 2024 at 01:23:36AM +0000, Liao Chang wrote: >> From: Mark Brown >> >> Encodings are provided for ALLINT which allow setting of ALLINT.ALLINT >> using an immediate rather than requiring that a register be loaded with >> the value to write. Since these don't currently fit within the scheme we >> have for sysreg generation add manual encodings like we currently do for >> other similar registers such as SVCR. >> >> Since it is required that these immediate versions be encoded with xzr >> as the source register provide asm wrapper which ensure this is the >> case. >> >> Signed-off-by: Mark Brown >> --- >> arch/arm64/include/asm/nmi.h | 27 +++++++++++++++++++++++++++ > > You've not provided a Signed-off-by for this so people can't do anything > with it, please see Documentation/process/submitting-patches.rst for > details on what this is and why it's important. Acked, thanks for the heads-up. I'll add Signed-off-by tags to the relevant patches in the next revision. This includes patches from your FEAT_NMI patchset and Jinjie's contribution. -- BR Liao, Chang