Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1115667rdb; Wed, 6 Dec 2023 09:01:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IGswT3/3EdEr/5BBfARIB//Tjgc+wZ8JRI/Lm3FvUoqC3h8EAGwMQqtZu8jywSrutxPzW+N X-Received: by 2002:a17:902:e54b:b0:1d0:cec3:4569 with SMTP id n11-20020a170902e54b00b001d0cec34569mr1123710plf.100.1701882065709; Wed, 06 Dec 2023 09:01:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701882065; cv=none; d=google.com; s=arc-20160816; b=lkinR2oFa+ZNvETRxIa/ZtCNVMnX8n2kT8KQhv6e8+OSsr86pqNrdjGOCmutZQAkML wCVEHvtjAbcHLUMt+vaxO+WFeQTUgxgGgPOk57wBV+fAP5Dhh2/n81RtGM5uef2t78Ox kB+3tuNb2umHPUbSHYwIe2ZkHwHjxwbw/EHmYHPKjpAzXRJ55xpKKvwbcAwltw0vc6rp haVkE+meWIiFagvulAoNoaL+fS89Llhy0CweyVHaJEN1Vzvo3IAAatOnaKFcQBO893A0 2E6C+9Oi08W5zHn//IGi5+9B2xmdZs2JQo8AdwwB5yTtYLP8jMuChb1zzN1n+y7seMhM B4NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=yJsFNn6bxRvypUst0hU4StBfKL8hvANcLo4YwGGRK1g=; fh=C3zs6ix6z7Dhr3T7bxzns8JNLUPajGTPn/lpl1vGU6I=; b=fYH/vuxIq/V4cmDdeL/jeYJmSr1hmF74cLrHXnT4pBi4rM7C4T1/eR9t/0uNrsI/IL 2Enf1zL3KMCC1A8dlSHJZtH8wepW3ql/V7p0nmMYCOdZk6lzCmvGnvdAhTombbQoI77C Wk/YfTcYVFnXGTMYNVNpdMhrWapSlQ+EUdtwaF6ZC62zDyMv81xUkD1u0F2leIaGlfAF HZZYH0hRvhqLqMW+SU5umjspwzPHm/WCI8p0L6S0sIcaPXiioYIPpA+i7B2E4MICiqfR 4ED2bJPxGE5iDYHi8c2+Y7s9rBhH81VaRqYZh1QrBh00eDfFBFpFo7jkXQPvmHsMyCEu GAHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=IYEKtFAF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id iw22-20020a170903045600b001cfc9c9f736si82576plb.93.2023.12.06.09.01.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 09:01:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=IYEKtFAF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 74F05807E53B; Wed, 6 Dec 2023 09:00:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378465AbjLFRAj (ORCPT + 99 others); Wed, 6 Dec 2023 12:00:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229533AbjLFRAi (ORCPT ); Wed, 6 Dec 2023 12:00:38 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12B51D3 for ; Wed, 6 Dec 2023 09:00:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=yJsFNn6bxRvypUst0hU4StBfKL8hvANcLo4YwGGRK1g=; b=IYEKtFAFCxzUALthJ9Q+GOzjSd HJ5+akHIzs/03HgK39YaysIzN21wjdO753OHedk5YtxvkvXkOnyJyFG2hT4oLD7PmdDexlMB0okcu YgwXoCmVZhp8FR6w1K/eSWQAGb6b/SIN4VvaqKcLe9Qd/dAR36JN39xOE0QOBu1SZMQ2tXfI8HaOH LdF83+If9YxU4YJrry47YVus8aRokVnAAFJULJA/s8dc6YjuAEUu2BWDwdb/o0haCjdHwIIfsaH0s kWN6A/s9au54+NoqJTmo1kpjKXBO2GLKFp10LFCC5mtGh6t5FZ/JqKPbXLlxa0ZgYOTaiNMvS7aXA uj98gcdg==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rAvGJ-00Apsm-1J; Wed, 06 Dec 2023 17:00:40 +0000 Message-ID: <7b27e5db-16b8-400e-a94b-a36f65205654@infradead.org> Date: Wed, 6 Dec 2023 09:00:38 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] Support rv32 ULEB128 test Content-Language: en-US To: Charlie Jenkins , Paul Walmsley , Palmer Dabbelt , Albert Ou , Ron Economos Cc: Palmer Dabbelt , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org References: <20231122-module_fixup-v2-1-dfb9565e9ea5@rivosinc.com> From: Randy Dunlap In-Reply-To: <20231122-module_fixup-v2-1-dfb9565e9ea5@rivosinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 06 Dec 2023 09:00:58 -0800 (PST) Hi, On 11/22/23 15:35, Charlie Jenkins wrote: > Use opcodes available to both rv32 and rv64 in uleb128 module linking > test. > > Fixes: af71bc194916 ("riscv: Add tests for riscv module loading") > Signed-off-by: Charlie Jenkins > Reported-by: Randy Dunlap > Closes: https://lore.kernel.org/lkml/1d7c71ee-5742-4df4-b8ef-a2aea0a624eb@infradead.org/ > Tested-by: Randy Dunlap # build-tested > --- > Support module linking tests on rv32 toolchains with uleb128 support. I'm still seeing build errors on this test module. Can someone get this patch merged, please? Thanks. > --- > Changes in v2: > - Drop patch covered in different series > - Link to v1: https://lore.kernel.org/r/20231117-module_fixup-v1-0-62bb777f6825@rivosinc.com > --- > arch/riscv/kernel/tests/module_test/test_uleb128.S | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/riscv/kernel/tests/module_test/test_uleb128.S b/arch/riscv/kernel/tests/module_test/test_uleb128.S > index 90f22049d553..8515ed7cd8c1 100644 > --- a/arch/riscv/kernel/tests/module_test/test_uleb128.S > +++ b/arch/riscv/kernel/tests/module_test/test_uleb128.S > @@ -6,13 +6,13 @@ > .text > .global test_uleb_basic > test_uleb_basic: > - ld a0, second > + lw a0, second > addi a0, a0, -127 > ret > > .global test_uleb_large > test_uleb_large: > - ld a0, fourth > + lw a0, fourth > addi a0, a0, -0x07e8 > ret > > @@ -22,10 +22,10 @@ first: > second: > .reloc second, R_RISCV_SET_ULEB128, second > .reloc second, R_RISCV_SUB_ULEB128, first > - .dword 0 > + .word 0 > third: > .space 1000 > fourth: > .reloc fourth, R_RISCV_SET_ULEB128, fourth > .reloc fourth, R_RISCV_SUB_ULEB128, third > - .dword 0 > + .word 0 > > --- > base-commit: 9bacdd8996c77c42ca004440be610692275ff9d0 > change-id: 20231117-module_fixup-699787d9c567 -- ~Randy