From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9B3ECDB482 for ; Mon, 16 Oct 2023 18:13:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Nf5Cz5OmwdZhicXhxqvtenAv3vXYMrN/atPO+GVcEak=; b=gP+VPetLRiaerG GmskPl90834EcS+CjRPiK03wc0zj82NFSUSAeDGAgvKHsxLSdA2asi2E6mqmpqlNau90HlIzUm2KZ 175nSn44wdDJBgwq8zx5gUzncK8nRlskdw3hae9r3BO4PHv2uGzVCxfzFQspd4cW9cGLAz06mzEY7 e2anM9IsJZ7aGKif+uxG+mL+Y87CQN0x81b8nzWZ2w026FMEaLvHFkJKGTh0OPlnGDcz4Zdmcy0pb /xW0jvtNZ+hL1tmcYnkJKmIsbYWj63NEKt1aGsuPeegKcD5sA0DTlruXUh4skIzI+off7j0R2vPZS Q8xGwBMPp0837b6FYqoQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qsS5E-00AImQ-0c; Mon, 16 Oct 2023 18:12:52 +0000 Received: from mail-out.m-online.net ([212.18.0.9]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qsS5B-00AIjn-1A for linux-riscv@lists.infradead.org; Mon, 16 Oct 2023 18:12:51 +0000 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231016_111249_570073_12CF7442 X-CRM114-Status: UNSURE ( 8.14 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 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." _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D77F6CDB465 for ; Mon, 16 Oct 2023 18:12:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 482928002B; Mon, 16 Oct 2023 14:12:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 432A880029; Mon, 16 Oct 2023 14:12:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 322238002B; Mon, 16 Oct 2023 14:12:41 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 1EFAD80029 for ; Mon, 16 Oct 2023 14:12:41 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id E0B47B5DC3 for ; Mon, 16 Oct 2023 18:12:40 +0000 (UTC) X-FDA: 81352120080.26.898F86F Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by imf03.hostedemail.com (Postfix) with ESMTP id A1EC420004 for ; Mon, 16 Oct 2023 18:12:38 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=none; spf=pass (imf03.hostedemail.com: domain of whitebox@nefkom.net designates 212.18.0.9 as permitted sender) smtp.mailfrom=whitebox@nefkom.net; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1697479959; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5CzQyM0KikL0aRWJqAO9VIWyPEn0HpdvSxw6zB1Bw28=; b=YZ0I3NPV12ALvX94C+DtHNsTAK2lm7zB9D4FJ6E+i277Zv3s7d47GXm3GAsgBXfgKGGWiB 4KhdKXuXMfS5TklkFIOU7KLRfqKhJqNwLXxswphCc1K/x+LICi/Nawn1Duyy0GcPFhxLYU vNkBp4cDCsR69ZJYqmwQfEablwN/IHc= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1697479959; a=rsa-sha256; cv=none; b=IXrudtp2+kSN8hMyyWddzwkFFnrhkBB2a5KS7fzf8hoYlQ5c7GBBioHWmcbyDpfSj2PRDT g6rqCEfNv3BTBG5Lh6hdEdAxX75TOwG1CspA3CT+X5I8WuqB3G0nj+eB7IE/DgnTVna6Db iD5diTDAd7+GgJJ6DiQIXVhJPRcSIRg= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=none; spf=pass (imf03.hostedemail.com: domain of whitebox@nefkom.net designates 212.18.0.9 as permitted sender) smtp.mailfrom=whitebox@nefkom.net; dmarc=none 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-Rspamd-Queue-Id: A1EC420004 X-Rspam-User: X-Stat-Signature: xbf7s5sagezge5qhwgwy53zz7t413qto X-Rspamd-Server: rspam03 X-HE-Tag: 1697479958-103009 X-HE-Meta: U2FsdGVkX1+pjRoRfm8MgPiWzmMWLvlZcPbHBQeU68RWcVPtATGaMB7fmEXo7hi5ApWGuZgqfVXKGj2vEWkOWDgmx6P7Ng7ye6cjA3dyeQHNkBRbkm6OuPKosImJErYvKlJ9VxqbtCn0jXNjouIczzd+2WA5Xk7e/Rly4aAgXUPKZ620G5vuDy/x9ZQL4+RUCOW8MhkRPQrKyVvLPyrMUGBeYawAUZ+nJCkWBQCwt2GeNISFE74P3PwcTpy6Pdj0fsnYYidEReMcvq22YW9topysZsT1hCzRcoWF2Bg4aZ44rFgL4gAweyqAH6yBQDS6OHUj0mAzOVJ356ON6xN2YtIp/vCoKCj4qi/RNT7x/0N6PIfiqo7shCBKPV8HtYkLxI5dyBj2S8w/cPlAKVzQEr5gfl9R++aQcJRwIrQpzfDHFset1Nzrer9UIXl9RBArztojO75UiaK5MhgPDJr+W4BGfpaG3JBJvENDBxMe0we2IMC7DvCUbrKPgcNKS/CFeJHmiBQy0Fttv58ua0nsfaAsG9jHWzpWz0hc3b2iMbnBA+z9JmNgIC4AT6FjacuvRuO6SyvVhuxQeqv/61IVUeQ+wNbQYbVqDNInm2Mjd3zLpo0+tGvYoYhG9aENZ9UcwCt6f55xVx9CUTraf2Bk1PYtFDIjBGNx6T7OAVG8PlnDLO6pCDKLjssQKSXZV3sLHSeS+NJ9KuGcXgWy2xRMX0BMjjpMHapxNLexkqd9CfhNYkmzSuMUH+xrKyQV9ymkIPDEfNDamZE3mQZ2l7YwycRRI5Ul9iX484aKX0B1hc3T7SkTujIDnINlWLcm4VKlbJel7szmI8GBm9VpcdyF7fhiC3VW64Kk1/z1NfNSqwqXDKq/JzO1s1IB/OohZL9gld6II0mnC+l7VHYOqdTudsH4rocTim7E0NPCh9v4KMQWLmSynBrwgn8ic5jr0tu5Ze21Z3xOae0N5IdSmmV ojZRM2I3 r8j+khgLpEuVjRhTUs49+jinuEtqV9hMGDqS59z/EtyEDpznTwem4rogj/aIKd6+nyTGcP6Qx/Fa+k0A5knl3lGhlJQYSPUtos7DPeiXaEHqBT11nhzy/TB9zd8ZCZavLVjKynVTb59LzvSGXWIQg5028Hjjl/YfZemcwK9CSpy3QmMfpXXLeA4Ki+ktMxTlFKWzS75FB1jxz8WHNIH9KcTINLPSifdpGjg3I1VDQKlNohLFJJyjDxi9bF5wIpEQVFR7UYdswDy7b68JUyhipx3sUjO0vl2xwk02vDuLxVxnPPCGm1LZvvpF43g== X-Bogosity: Ham, tests=bogofilter, spamicity=0.080044, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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."