Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp629023rdh; Thu, 26 Oct 2023 11:07:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEaQ5eb1sb9FfgI+5fRMYjeONRC0khla4bIQO+kEhz3AR6Ok0q3MtjoJjhlJnDG+jX5Ubdk X-Received: by 2002:a1f:a754:0:b0:49d:fab:fa37 with SMTP id q81-20020a1fa754000000b0049d0fabfa37mr620702vke.4.1698343651820; Thu, 26 Oct 2023 11:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698343651; cv=none; d=google.com; s=arc-20160816; b=lJeSEaFFMeLnAYCi1x+kRGb7adh658aK7wdRBDI+ZDCMqo6sYzci9hfThWQFy19lbA cJ8smZ+8uJS7+ypv7j/KRxaoEqoInWnfPe03FRPyLLchnB1CINZG2dXezLjURGS8Jz8F neJ0NgXc7OFBQjHBRwWkAuLEuxS1wSuIdn8ion2j9jIDnA/o7PoEyJKEsTWVAMCpOA77 4SRX4SF211P/p2ID7LEmdD5Io3mCcBUsuHLsDmHCFaqQIPcsgzJt7XoF30uqzL+hu1WL dUQiqHp4qN7JZAupqalg9t8ngFkkgCpOECSvTbHB2GxxcaRwtLbc7AYxsOJz2WUmCTvE lTOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=kq7YNGYbBUafpY8ul4b5je0htMYp+LQs/HJIZ0xiroI=; fh=YY/rGLLmPWIsZ2p4W3q/6f8QDk1mE0xPS/1gHgdiIP4=; b=UpqL58Xuellr4/U9cTQyppkEcS+ubW0y7+0vboKxhZci5TzswuOQ+EcpNIv6kGD1NH 2wApQ+72lADajwZWrWA/fR0cNfZoZKxEs6RdRgsGlqM+jtwhJK6wsRGwMaG+BfpfZywO ISPOykLuFK+AUeMxc5qVW90kkco+FgppamBSdOlGUnSuvTpkpNC1fG4x1IyWLFuoTiJ0 LBKal4S9iG01h89TkT/fxPynwIaE08eoj1+Lk59Efu014wToymqcbmKGovwwsSR/8HtA RvAd96s3qgyTSCWtQDkjRhw20uSV/0FoyReIZIxKNs1O9rtOTiJgrbvt1YAwiiWuEhJd XV+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=K4auNB9d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id k18-20020a05622a03d200b0041810764755si9614617qtx.797.2023.10.26.11.07.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 11:07:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=K4auNB9d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id BFFA280EE733; Thu, 26 Oct 2023 11:07:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230330AbjJZSHU (ORCPT + 99 others); Thu, 26 Oct 2023 14:07:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229785AbjJZSHT (ORCPT ); Thu, 26 Oct 2023 14:07:19 -0400 Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9400D9C for ; Thu, 26 Oct 2023 11:07:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1698343634; bh=/XdUvlNTO4zdDZMBAOycXXb/ghIDFkL5KXud5WJOJc4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=K4auNB9dGJnlskO2Zlz6XOvE90XuJNpL4S2HKXCG5Du14gafVhIS3wMyRL8NGp6X0 Oc9UuWh0KL6K1OEAuNCtXKMP7hLj4PsS9T+FC89krzyVtj1HsYJgZe4pLHsL+/ymvZ V7nkW4CxZ+tHh/6+jIc/uhuXdw/hwtIo+obgqa4IbQhZwS3zg49xbEu/IXeLFrFsmY v5Fcu+aXsIMjCf+sUPJ36WY9RxqQYqylTb2BqnPzXtZPGMu8lr7xZzDvzA6X3s86K3 Y9yNaLIaS6ngFOVdJKVeUu/QA7GEXopXnys6rECU8aez2xMPoZ4v3cUKADTFZplIUe wZhkiQdA9xffA== Received: from [172.16.0.134] (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4SGYfT6Y2Kz1ZZL; Thu, 26 Oct 2023 14:07:13 -0400 (EDT) Message-ID: <0e0cbc68-2b4c-462d-aff4-abd795b3b63d@efficios.com> Date: Thu, 26 Oct 2023 14:07:28 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/3] LoongArch: Add RSEQ_SIG break code definition Content-Language: en-US To: Huang Pei , Huacai Chen Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org References: <20231026114446.5932-1-huangpei@loongson.cn> <20231026114446.5932-2-huangpei@loongson.cn> From: Mathieu Desnoyers In-Reply-To: <20231026114446.5932-2-huangpei@loongson.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 26 Oct 2023 11:07:28 -0700 (PDT) On 2023-10-26 07:44, Huang Pei wrote: > Signed-off-by: Huang Pei > --- > arch/loongarch/include/uapi/asm/break.h | 2 ++ Why is this part of the uapi ? None of the other architecture has this as part of uapi. It's only defined in the rseq selftest arch-specific header file. Thanks, Mathieu > 1 file changed, 2 insertions(+) > > diff --git a/arch/loongarch/include/uapi/asm/break.h b/arch/loongarch/include/uapi/asm/break.h > index bb9b82ba59f2..e0fcfc304834 100644 > --- a/arch/loongarch/include/uapi/asm/break.h > +++ b/arch/loongarch/include/uapi/asm/break.h > @@ -20,4 +20,6 @@ > #define BRK_UPROBE_BP 12 /* See */ > #define BRK_UPROBE_XOLBP 13 /* See */ > > +#define BRK_RSEQ_SIG 16 /* See rseq */ > + > #endif /* __UAPI_ASM_BREAK_H */ -- Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com