Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp767228rwd; Thu, 15 Jun 2023 01:35:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6uo8N476D7GpGMhaHF8K61UL3hOq4F8T9+jV4xvKvB99hCeo8fvcXXjqkuYQDEhNlZBiYL X-Received: by 2002:a05:6358:5b:b0:128:b20f:f965 with SMTP id 27-20020a056358005b00b00128b20ff965mr11083109rwx.18.1686818141735; Thu, 15 Jun 2023 01:35:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686818141; cv=none; d=google.com; s=arc-20160816; b=O20lNuqO9lyTlxQNtIRcc1s4Z4ab3nSgEdje3xJiDEpMcskc9YEGka2ny2sng9+GmB F957j0p1gvuOnPCMLnPKX4U3qV3YMPINEduPxKhLEX6njPVXWe3sXK+ztQJZ9PiQQHd5 CPhBOx6L5X4tnEv8ltt7mwpaeiDsLA2SU0XrotaNqg0rvAJ/4/g6qXQ1vmhYYmTvKP3A 22Wwz5hrftf2XAY2a+VvBfw5s47UvLmAr/fEArG/GNyoJpXX8Z7F3b09ZbGcH44Me4QO 2zPfQU/VAROk0F94MyKAn0cNUTROWRW4RawcHLuQ0fu2SqZlOt2vSa3UotcFR8RQLXzL Yqiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zMvFbd2Dmpe15HsekBKSTxJnEfVLCvXumharhvUUlYA=; b=CBqwO6BCUDRgO+Qx68o0b83fTw7ZV6tYzAtUOL/rIZdvToRI6wm+MFR3jyzfYy/u4W nC6rYRxxNsvYFgTTlOuR6fQnMnEVQbUo6z4K4u8qxWiiJ2Auh2GA/r07ZHPLLLbW/3Zd og7kUutOqzKsC6YnNAb7BGtqCMVXIu+pQI9uycde+KP19spVjEeLYU5xJHBIIfB+njFB o8d1kTsB9qSqSCyzkQVfc42tT8SgBsSn2amTZfFzxVMLiigiJBlwqgDg8iD+Akx9LIYA D8rLD5zS7EGj7OgHmVLAOPt6l1XhiqdyRro9HRduu6X56vTtxbw+YNXg/S3w7inRE4Mm vm2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=a+i04VAK; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u189-20020a6385c6000000b0054fe3f7a065si1824170pgd.244.2023.06.15.01.35.27; Thu, 15 Jun 2023 01:35:41 -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=@microchip.com header.s=mchp header.b=a+i04VAK; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239145AbjFOIMF (ORCPT + 99 others); Thu, 15 Jun 2023 04:12:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230304AbjFOIMD (ORCPT ); Thu, 15 Jun 2023 04:12:03 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A6201A3 for ; Thu, 15 Jun 2023 01:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1686816722; x=1718352722; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=zMvFbd2Dmpe15HsekBKSTxJnEfVLCvXumharhvUUlYA=; b=a+i04VAKZ+lswVJS/ju2CUH5dH6piOUR+PybJHguGncfgnLA5Kcj2NZ2 umxO5DKwNejettNutk9KlDKKxUZX556q6SSuvkRyXTgCYiDCUgTJW2o0t CCBsIdMboJUoPGcKR3bmqvsN4GnDmXqUZBFftd/iXtsgu/qF58ERneF8H AfQKgtoDw3i7aqnIJ7nXe2bYiYAdSIKhqy9TBZhK76MQcEpB4hllkOhD5 hih/VwwsceztFzL9C8FVZDTQ0diL3kiDeHb8OAP20347Oa/Kd6R54nujY ny+FBg9+radyUUFZ2s9t57JOADN84EjAWu505PCI2pbZOrCwH937UTQHd g==; X-IronPort-AV: E=Sophos;i="6.00,244,1681196400"; d="asc'?scan'208";a="230254116" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Jun 2023 01:12:02 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 15 Jun 2023 01:12:01 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 15 Jun 2023 01:11:59 -0700 Date: Thu, 15 Jun 2023 09:11:33 +0100 From: Conor Dooley To: Nylon Chen CC: , , , , , , , , , , Subject: Re: [PATCH v2] RISC-V: Support 32_PCREL relocation type in kernel module Message-ID: <20230615-luxurious-rewire-84ff9d639fea@wendy> References: <20230615072302.25638-1-nylon.chen@sifive.com> <20230615-unvisited-deceit-9beab8ce987a@wendy> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="h6NhA6OhD5BBwWq3" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,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 --h6NhA6OhD5BBwWq3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey Nylon, Firstly, no html emails please :/ On Thu, Jun 15, 2023 at 03:52:27PM +0800, Nylon Chen wrote: > Conor Dooley > =E6=96=BC 2023=E5=B9=B46=E6=9C=8815=E6=97=A5 =E9=80=B1=E5=9B=9B =E4=B8= =8B=E5=8D=883:38=E5=AF=AB=E9=81=93=EF=BC=9A > > On Thu, Jun 15, 2023 at 03:23:02PM +0800, Nylon Chen wrote: > > > Fix the 'unsupported relocation type' error caused by > > > enabling the -fasynchronous-unwind-tables flag, > > > which generates relocation types that are not supported. > > > > What commit adds the -fasynchronous-unwind-tables flag? > sorry my description is not correct, please allow me to add >=20 > I mean, when we use the flag "-fasynchronous-unwind-tables," it generates > the relocation type R_RISCV_32_PCCREL. However, this type is currently not > supported, so an error will occur. (snip) > > Should there be a Fixes: tag for that commit? > yes, I will do it. What mainline commit actually enables this flag? Cheers, Conor. --h6NhA6OhD5BBwWq3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZIrHtQAKCRB4tDGHoIJi 0kYXAP4vjUBQC0nRI2nk+JJ2TuSAyNZbfK027v2MExRK2/XFZQD8Dsh0kgG+u+mL zmBMKAzwFIGn34kWR9aFPZrhGcm0HAY= =HQMi -----END PGP SIGNATURE----- --h6NhA6OhD5BBwWq3--