Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp812849rwd; Thu, 15 Jun 2023 02:20:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5B6iXDdBliRIMUhLOdoWDVuKui4MFORFZrlIGs+G/MxRr85SVoRX4iHtGQa40cZJAHxoBf X-Received: by 2002:ac8:5f92:0:b0:3f6:b0bd:2436 with SMTP id j18-20020ac85f92000000b003f6b0bd2436mr5443404qta.0.1686820857796; Thu, 15 Jun 2023 02:20:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686820857; cv=none; d=google.com; s=arc-20160816; b=ZOuCuVSEVG8jcU6olub2rOn0cxWRjO/pSW0wYowx+oTjSaHUcKtqI0n6qpQwgk6u2Q vSi+sM811vR/WL0eheHGm74dAvaArlq64aYotN82uIxM8h50UaoIcAk/2T5ElO5Ei3Hj /sGxdqZU8ElFWff5QU7A0b0iny5LJW8Owba/HksXRm/6ysFpLqq6Ylbls6GyQ+gisluU ho/0ytqmTIPQmauqXhgoGr/1a5rmX8APq7yK4mgcNt5YoBdk6KC5NFpSrsudA3UswVcz 8GMyRQKratvNg2A0fJA+KNZyBN7pIUDLjFcBZmgOJMQmNUt6UN7+El/mWebVVZnikPiR 61WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:dkim-signature :dkim-signature; bh=NjcdizOEFWmMO6xt7/fP21f8bxNsubkeN1M9YVs3Uy8=; b=VTXaDujCz9Nq9yG5thwRHGy0vYFR+CEMqjrPaPNVJbh08Mfv9wqO4G2RlMg6VYS1S0 frctiogup1Pz7HX1Zbvoce2bbRraZpCjFxoy3vBYqhvGYT8x1oCrihrgu1IaKz+L9nvd XVLf82KSpkok5bCBoiHuksC2UrHxhFwOmEK4pgAwG9aw8d56okgVMm2HZZzdu8djzmR8 wPacNJA3tCz77ZW9s08yVCBEym1bmW/hrE9DmwRRM0HEancoKeIS0xVkCul9w1Z5m7M/ +MXFs7L4dzGk/dAQ3UAIgIU4cYyV/qs7vOyNPZ0v5mb2uA5y/MKEw0WE0cRBv6oCAd7M pbTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="KhI4HW/O"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=p9O3Y2zn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 202-20020a6218d3000000b00666abc82894si136557pfy.320.2023.06.15.02.20.42; Thu, 15 Jun 2023 02:20:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="KhI4HW/O"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=p9O3Y2zn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245485AbjFOJMA (ORCPT + 99 others); Thu, 15 Jun 2023 05:12:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245488AbjFOJL4 (ORCPT ); Thu, 15 Jun 2023 05:11:56 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 418631FE8 for ; Thu, 15 Jun 2023 02:11:51 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id DBAE82189E; Thu, 15 Jun 2023 09:11:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1686820309; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NjcdizOEFWmMO6xt7/fP21f8bxNsubkeN1M9YVs3Uy8=; b=KhI4HW/OBeYkha3aAqTXigt/inAF1d7dCGQnkw3H5HDm3fYiynwA6/TqG2VPclvfgG3We5 Cz9/f8B3DcPId1cUgD9V3lfPxO0Nmh+/EHfxZ6V9VwaNfaxgy0jAJTFuzO0FPlRceehGY3 PHN6I7q+ezScnR5Im7GAyrke0+rWWdQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1686820309; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NjcdizOEFWmMO6xt7/fP21f8bxNsubkeN1M9YVs3Uy8=; b=p9O3Y2znZuj/32VZHJUBbjweXNIg+jNHag/4ZErWSkYLRjYIxhjfJw25CjTrAHGMs2e8ji RiPw/but4qaxJNDQ== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id B216B2C141; Thu, 15 Jun 2023 09:11:49 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id A367C4A037D; Thu, 15 Jun 2023 11:11:49 +0200 (CEST) From: Andreas Schwab To: Nylon Chen Cc: Conor Dooley , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, jszhang@kernel.org, ajones@ventanamicro.com, aou@eecs.berkeley.edu, palmer@dabbelt.com, paul.walmsley@sifive.com, greentime.hu@sifive.com, zong.li@sifive.com, nylon7717@gmail.com Subject: Re: [PATCH v2] RISC-V: Support 32_PCREL relocation type in kernel module In-Reply-To: <20230615084310.GA780@hsinchu15> (Nylon Chen's message of "Thu, 15 Jun 2023 16:43:11 +0800") References: <20230615072302.25638-1-nylon.chen@sifive.com> <20230615-unvisited-deceit-9beab8ce987a@wendy> <20230615-luxurious-rewire-84ff9d639fea@wendy> <20230615084310.GA780@hsinchu15> X-Yow: Not enough people play SKEE-BALL.. They're always thinking about COCAINE or and ALIEN BEINGS!! Date: Thu, 15 Jun 2023 11:11:49 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Jun 15 2023, Nylon Chen wrote: > Because LLVM currently has it enabled by default(https://reviews.llvm.org/D145164), it will generate this > relocation type. > >>From what I know, GCC will also enable it in the future. That's why the kernel explicitly disables it. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."