From patchwork Fri Mar 17 12:49:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "sundongxu (A)" X-Patchwork-Id: 13179041 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 21F4DC74A5B for ; Fri, 17 Mar 2023 12:50:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Socr+f8hRV/0JZb4aDmONNrvYPYRZEuwiwZIU6ZWio8=; b=1b0MGfzbrpL6jI zlU/dNq0RKivQRi+iT/49hTXKC9jk/k6w0xKaka27bW/yRfd5tqTRJ48+YHFiQLPPpdJnpwsdYN4u 4v0lUsO+AjDWRAwUPEXY5WIL8iF02A0Pg9ewgDMheewu/IPgrk8wHaFyl7SxJ9UU1rHCSsiP+Q/nF paD476Pud/BZDva9ZdzMArJ090OQEw38glM91jRQk4iWtnZIwtqdLztmAo2vlvw41kFPFWx08yNgw QJ4H14xp2TTUi+s6amXEx3nw8I8XnpukGRsAG+66rUkjLay6jTIMkQh8BENaKh4huFnl6LynRD77Z CzNTnGgG3cbGM1OSwFJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pd9Wc-002GGt-2q; Fri, 17 Mar 2023 12:49:38 +0000 Received: from szxga02-in.huawei.com ([45.249.212.188]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pd9WZ-002GDy-31 for linux-arm-kernel@lists.infradead.org; Fri, 17 Mar 2023 12:49:37 +0000 Received: from dggpeml500004.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4PdP664CHRzHwxW; Fri, 17 Mar 2023 20:47:10 +0800 (CST) Received: from DESKTOP-EJM108K.china.huawei.com (10.174.186.25) by dggpeml500004.china.huawei.com (7.185.36.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 17 Mar 2023 20:49:22 +0800 From: Dongxu Sun To: , , CC: , , , Dongxu Sun Subject: [PATCH 0/4] arm64: Use specific checking for TPIDR2 and some comments update Date: Fri, 17 Mar 2023 20:49:11 +0800 Message-ID: <20230317124915.1263-1-sundongxu3@huawei.com> X-Mailer: git-send-email 2.33.0.windows.2 MIME-Version: 1.0 X-Originating-IP: [10.174.186.25] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpeml500004.china.huawei.com (7.185.36.140) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230317_054936_162056_19830494 X-CRM114-Status: UNSURE ( 5.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org We should use system_supports_tpidr2() for TPIDR2 handling. And this series update some comments for sigcontext and ARM SME. Dongxu Sun (4): arm64/signal: Use system_supports_tpidr2() to check TPIDR2 arm64/signal: Alloc tpidr2 sigframe after checking system_supports_tpidr2() arm64/signal: Add tpidr2/za/zt sigframe size in comment arm64/sme: Fix some comments of ARM SME arch/arm64/include/uapi/asm/sigcontext.h | 5 ++++- arch/arm64/kernel/fpsimd.c | 4 ++-- arch/arm64/kernel/signal.c | 18 ++++++++++-------- 3 files changed, 16 insertions(+), 11 deletions(-)