Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp368358rdh; Thu, 26 Oct 2023 04:46:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbQsguN/IVBusqvxtVlLgwgrscv/MDCFnFLXp6fryHbxQlEtGKUaLYKvEP//bFKDiz0cVW X-Received: by 2002:a0d:c887:0:b0:5a8:5824:b952 with SMTP id k129-20020a0dc887000000b005a85824b952mr18533864ywd.44.1698320774849; Thu, 26 Oct 2023 04:46:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698320774; cv=none; d=google.com; s=arc-20160816; b=a3v3/cNv+h1dazvyMTZg2MBQlt4bBNaL8Lvh6DnsJdeQs5YSSh4pNXkoO82xpy/HK8 fekWu69ct994AdAekSSXcOkeu1X1911n7zOmLQVDPHduE4/M0LIXpfUgjqSJRNZqgDen cR0Og1fY4BZV9kvSejpwBYYgSvxD5fnHHVcZRzz3bcD67xIqdI/jqpUzFq7TFGXpOTay 7xJb6ynC2nZg4B8NUtfd3s+rml81DjoZuDDdmmwuCC+Y2tzuE8awldApd8McWDg4+sPw FkPYgyhS5YNNSzLgpjE6k2zhu4Lasiw5mSFhmpAXv84hAnh9G+ZTpLhf3UzGuNNb6+ZX V1wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=hbq5ISd2R+AXvDSCjmuOGXVZ3O743wGNqRlaaTrvtfk=; fh=thu5tedXMFDXZ5j7xg4DAEx4u9COksnmMcPGGZChnAY=; b=p9Y2t8zz57PU+DiTZ2O5Wpw4ZXhNpWQZHMeVZFxfrHl+3mAiw4V8bOWk5TyHhyrWtF scnVTm6zbC263jg6aQX5yB//cLGeSW0zkOhi1/8/5s2zeXHFnALvoqLc4bPsHujZGoV9 ckix9LvrMMW7hdq36Xwnhq4LUkE7dKUoVk+6iBWZ9ffGPBB6csvlCnK+TL6+J6a6fxsj jqGSmni4HghY4ANqXG7zZZL/GJB5IJvfX91esOSP3j0taWWE3K56PS+HIoZt9oK/fcXj +WrzXyt//7ZiFi8UNBihEtM1c5LUMhHlf114aqtNcjZOg4hroVViKe04ncxC2eMlGiVj dKaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id x62-20020a817c41000000b005a7fbac35c5si13946030ywc.451.2023.10.26.04.46.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 04:46:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 61A24807469E; Thu, 26 Oct 2023 04:45:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344844AbjJZLpL (ORCPT + 99 others); Thu, 26 Oct 2023 07:45:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344830AbjJZLpK (ORCPT ); Thu, 26 Oct 2023 07:45:10 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4672A1B2 for ; Thu, 26 Oct 2023 04:45:06 -0700 (PDT) Received: from loongson.cn (unknown [111.9.175.10]) by gateway (Coremail) with SMTP id _____8DxVug_UTpl9840AA--.2296S3; Thu, 26 Oct 2023 19:45:03 +0800 (CST) Received: from localhost.localdomain (unknown [111.9.175.10]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Dx3t47UTpl7bMzAA--.4952S3; Thu, 26 Oct 2023 19:45:03 +0800 (CST) From: Huang Pei To: Huacai Chen , Mathieu Desnoyers Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] LoongArch: Add RSEQ_SIG break code definition Date: Thu, 26 Oct 2023 19:44:46 +0800 Message-Id: <20231026114446.5932-2-huangpei@loongson.cn> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20231026114446.5932-1-huangpei@loongson.cn> References: <20231026114446.5932-1-huangpei@loongson.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8Dx3t47UTpl7bMzAA--.4952S3 X-CM-SenderInfo: xkxd0whshlqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBj9xXoWrWF18Gw17ZrWDAw1UAF1kJFc_yoWxGFX_Jw 13Jw48CrWxWFWxJ3Wqv3sxJr1jgw48Krn0vF9Iqr1UuF98tr43Jws7JasrZr1qk3yDur4r ZFyFvrWY9w1YkosvyTuYvTs0mTUanT9S1TB71UUUUUDqnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUb7AYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_JF0_JFyl8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVWUCVW8JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E14v2 6r4UJVWxJr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44I27w Aqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jrv_JF1lYx0Ex4A2jsIE 14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x 0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E 7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcV C0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF 04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7 CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7IU88HUDUUUUU== X-Spam-Status: No, score=-0.8 required=5.0 tests=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 howler.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 (howler.vger.email [0.0.0.0]); Thu, 26 Oct 2023 04:45:35 -0700 (PDT) Signed-off-by: Huang Pei --- arch/loongarch/include/uapi/asm/break.h | 2 ++ 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 */ -- 2.20.1