Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2675860rdg; Mon, 16 Oct 2023 11:12:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGqCVFfn+Cf6PFYIHkDCVIbr8qFkYwidL+pgVkK21tqDHwhA2uumV535XcHZG2SAPLbUUdH X-Received: by 2002:a05:6a20:3d8b:b0:13d:2f80:cf1c with SMTP id s11-20020a056a203d8b00b0013d2f80cf1cmr34585831pzi.17.1697479979042; Mon, 16 Oct 2023 11:12:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697479979; cv=none; d=google.com; s=arc-20160816; b=gcGNUCeZuxoBtiIkdwOfjjaNuD4/B1bH28ErU9NF01N4eKzl8RlOKN/Dgj+6xSyqOt K6TSO7HsLP7UqNsZOWhSnQ2zVOtJl2/P9sTJ27zht25JBWx9hRkzfFO9DZuhUufTZ9WH 0sOUl5f7NNYl59x02eUy3dEEYFrbGwGSZgxCv3IR5UEBas5xhzPDdZ3iJJ34vgGZndkw FC4HifGE31THLv8724tQ7dBiZr/kDxu4Atm9aSnHvn++5JO5jWIiZyzVO4hgoxHpqmaB 6ZXM0ARhujdkyvFEiOIJn9SsC21gxLTMst32xdsgs2vHar3j922LhQVy1crlY0DpuCY8 jZ2A== 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; bh=5CzQyM0KikL0aRWJqAO9VIWyPEn0HpdvSxw6zB1Bw28=; fh=G8Z8hiKw7HyTxGf2Ls+8oGJTQCg5ZicHV8+9Zruf9pc=; b=hfkY8FhSg2+fdUMv7h5ERnU/KD8Q1oyPbgo6rq0zmLC7XR52KFRRX25qmNDEQEaoht FieV0A0GmfcOUI6v+ep/ZiT90H3tRDzRef0xuNuOBfdxp/DxwLJNx1gpYUPyZBAKFtN5 skzguLd/sVmFWHva9Yrbe2EqmndgzM+hOd/gHwH4WN26EA33G4dFoBoC3AyJ17rEgpQh lpg9CFlpofb1YbM9JGGZRkH1RoMw/ewhUS1fDIspR6ws5w9tDkK9NhPDEjL6F6LXu7mv Txk0cY7jogTmHR5NAKLNZVQn1Lk9loAcboyA7J8gkIjN0MJ2/RARuWR9o9a4EMPJMlg1 YX5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id l185-20020a6388c2000000b005abe19be7e9si7691756pgd.543.2023.10.16.11.12.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 11:12:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 8441A80D7F6A; Mon, 16 Oct 2023 11:12:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232302AbjJPSMo (ORCPT + 99 others); Mon, 16 Oct 2023 14:12:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231611AbjJPSMm (ORCPT ); Mon, 16 Oct 2023 14:12:42 -0400 Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0018BA2 for ; Mon, 16 Oct 2023 11:12:38 -0700 (PDT) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4S8QFF6Mk6z1r1s0; Mon, 16 Oct 2023 20:12:33 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4S8QFF4hgYz1qqlS; Mon, 16 Oct 2023 20:12:33 +0200 (CEST) X-Virus-Scanned: amavis at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024) with ESMTP id nOUV3jjqwywP; Mon, 16 Oct 2023 20:12:32 +0200 (CEST) X-Auth-Info: de1F22Tx1RaWX4XjxP2PcfNuAuKKz9mapevqvNXhi42KR85gJB1zx+tHFwze0kZO Received: from igel.home (aftr-62-216-205-237.dynamic.mnet-online.de [62.216.205.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 16 Oct 2023 20:12:32 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 591EA2C1370; Mon, 16 Oct 2023 20:12:32 +0200 (CEST) From: Andreas Schwab To: Charlie Jenkins Cc: linux-riscv@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Eric Biederman , Kees Cook , Paul Walmsley , Palmer Dabbelt , Albert Ou Subject: Re: [PATCH v3 1/2] riscv: Add remaining module relocations In-Reply-To: <20231016-module_relocations-v3-1-a667fd6071e9@rivosinc.com> (Charlie Jenkins's message of "Mon, 16 Oct 2023 10:36:09 -0700") References: <20231016-module_relocations-v3-0-a667fd6071e9@rivosinc.com> <20231016-module_relocations-v3-1-a667fd6071e9@rivosinc.com> X-Yow: I'm ZIPPY the PINHEAD and I'm totally committed to the festive mode. Date: Mon, 16 Oct 2023 20:12:32 +0200 Message-ID: <87h6mqo2r3.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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 morse.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 (morse.vger.email [0.0.0.0]); Mon, 16 Oct 2023 11:12:56 -0700 (PDT) On Okt 16 2023, Charlie Jenkins wrote: > @@ -81,7 +82,7 @@ typedef union __riscv_fp_state elf_fpregset_t; > #define R_RISCV_ALIGN 43 > #define R_RISCV_RVC_BRANCH 44 > #define R_RISCV_RVC_JUMP 45 > -#define R_RISCV_LUI 46 > +#define R_RISCV_RVC_LUI 46 The latest ELF psABI defines 46 as reserved. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."