Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp134300iob; Tue, 17 May 2022 21:24:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3pMaGHRtYPM+VZrEPXtlhCOHA6QYDclcrb09Iw6Ac2OHn9gjMpnO41YX1fFFopYZ/rubi X-Received: by 2002:a17:902:ea0c:b0:15e:afcf:d1b9 with SMTP id s12-20020a170902ea0c00b0015eafcfd1b9mr25212331plg.37.1652847854260; Tue, 17 May 2022 21:24:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652847854; cv=none; d=google.com; s=arc-20160816; b=ZDHGT9xQgKTVdHZfIA6+4wzUStTEUjB55mKWWL47Tx/Bgv4gZBfM+6OFEzpvG9zl9O jwPNExDGXqGzbq8rrxqopBO19rQwMJ7hge+zDJUQOTKVURZET2x3fPE7Jhvri0bEB9nf nlrR6IBs2rq2CRZVvmTnQvpQ4dL0MmclRVjhoLu3NwoZkBsH7bUxi3q6CPHuGSYU2ACf zrk+zADG7IA01iaa7TFYx9wHwsPpSgYfMHBLrt8F6GEToeQZwito1+Hg5rBUmuepjHKk Tko1ky3lQq/M6CRasujMUgwctSU9YsgNGoRrvN6Mzxlr3PnE+XBVhhrKSgXKiUKMTDpy UBXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:mime-version:user-agent:message-id :in-reply-to:date:references:cc:to:from; bh=fzpEECWONEr+K6LAUG6QLGzMQMn0lGQ5R307OwUMEGo=; b=zM3Smt68mM0Cx8RE97Ts3dEB5LlOLA6zdXTGM4hH1F8mDNZzOojPXP8cI2MpVRa0Nb DTnRw8j0oJ4M10N/flFp5WM5V3VwnGNa7Egr/03nXtiuYBW6BIg7J57oM+Q+tsegVkza 0KGxg2wa0yNzQgn1zm7OL+4qV3Fi+SNgDgfogdluyDKA8/p2cGkaDgWax24YR8SHsCDG MoKXUHqEw1jgZ6i+eU2ekojABDE6GEaYTOlPDDsWBiwEWfJBOv3PEMng43L6lWzBrbLW 8NIPmenXEbkCdX302vybeT+vPY6PWxIxCAH2vLBGiRCKLrzCYq3GzKKRCOKWexI/xkFY Xibg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xmission.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id ip14-20020a17090b314e00b001d9a086287esi5546339pjb.177.2022.05.17.21.24.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 21:24:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xmission.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5C4755C364; Tue, 17 May 2022 20:48:28 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350344AbiEQPiM (ORCPT + 99 others); Tue, 17 May 2022 11:38:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350412AbiEQPiA (ORCPT ); Tue, 17 May 2022 11:38:00 -0400 Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D06955047D; Tue, 17 May 2022 08:37:04 -0700 (PDT) Received: from in01.mta.xmission.com ([166.70.13.51]:55038) by out02.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1nqzFo-00HUt8-UL; Tue, 17 May 2022 09:36:56 -0600 Received: from ip68-227-174-4.om.om.cox.net ([68.227.174.4]:38510 helo=email.froward.int.ebiederm.org.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1nqzFn-00CCn9-VR; Tue, 17 May 2022 09:36:56 -0600 From: "Eric W. Biederman" To: Huacai Chen Cc: WANG Xuerui , Huacai Chen , Arnd Bergmann , Andy Lutomirski , Thomas Gleixner , Peter Zijlstra , Andrew Morton , David Airlie , Jonathan Corbet , Linus Torvalds , "" , "open list:DOCUMENTATION" , LKML , Xuefeng Li , Yanteng Si , Guo Ren , Jiaxun Yang , Stephen Rothwell , Al Viro References: <20220514080402.2650181-1-chenhuacai@loongson.cn> <20220514080402.2650181-15-chenhuacai@loongson.cn> <87bkvxd12b.fsf@email.froward.int.ebiederm.org> Date: Tue, 17 May 2022 10:36:48 -0500 In-Reply-To: (Huacai Chen's message of "Tue, 17 May 2022 10:08:18 +0800") Message-ID: <87v8u49nn3.fsf@email.froward.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1nqzFn-00CCn9-VR;;;mid=<87v8u49nn3.fsf@email.froward.int.ebiederm.org>;;;hst=in01.mta.xmission.com;;;ip=68.227.174.4;;;frm=ebiederm@xmission.com;;;spf=softfail X-XM-AID: U2FsdGVkX1/z8zdXGiWLxn4UIls5cu+131SNiPOvwrA= X-SA-Exim-Connect-IP: 68.227.174.4 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Virus: No X-Spam-DCC: XMission; sa01 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ***;Huacai Chen X-Spam-Relay-Country: X-Spam-Timing: total 363 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 4.7 (1.3%), b_tie_ro: 3.2 (0.9%), parse: 1.15 (0.3%), extract_message_metadata: 11 (2.9%), get_uri_detail_list: 1.35 (0.4%), tests_pri_-1000: 12 (3.2%), tests_pri_-950: 1.06 (0.3%), tests_pri_-900: 0.81 (0.2%), tests_pri_-90: 79 (21.8%), check_bayes: 78 (21.4%), b_tokenize: 6 (1.6%), b_tok_get_all: 7 (1.9%), b_comp_prob: 1.58 (0.4%), b_tok_touch_all: 60 (16.6%), b_finish: 0.73 (0.2%), tests_pri_0: 242 (66.6%), check_dkim_signature: 0.38 (0.1%), check_dkim_adsp: 1.88 (0.5%), poll_dns_idle: 0.50 (0.1%), tests_pri_10: 2.4 (0.7%), tests_pri_500: 7 (2.0%), rewrite_mail: 0.00 (0.0%) Subject: Re: [PATCH V10 14/22] LoongArch: Add signal handling support X-SA-Exim-Version: 4.2.1 (built Sat, 08 Feb 2020 21:53:50 +0000) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Huacai Chen writes: > Hi, Eric, > > On Mon, May 16, 2022 at 10:07 PM Eric W. Biederman > wrote: >> >> I can understand exporting these values but the names aren't very >> well namespaced at all. Which means they could accidentially >> conflict with things. >> >> It would probably be better to do: >> SC_USED_FP >> SC_ADDRERR_RD >> SC_ADDRERR_WR > SC_ prefix is good, but ADRERR_RD/ADRERR_WR is used together with > SIGSEGV/SIGBUS, so I want to keep the same as BUS_ADRERR (a single D) > if possible. Fair enough about the single D. Please add the prefix in the next version. Especially for kabi symbols in a namespace is a very good idea. >> Given that neither lsx_context nor lasx_context are used in the kernel >> code yet I would very much prefer that their inclusion wait until there >> is actual code that needs them. >> >> If nothing else that will put the definitions in context so people can >> more easily see the big picture and understand how the pieces fit. > OK, I will remove lsx_context/lasx_context in the next version. Thanks, Eric