Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp554219rdf; Tue, 21 Nov 2023 09:32:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIF+g8o12bY/9vhbRddt1+kYS8Id6pygpCYvGV2qbZeTNvXswwuNXj43EjGpqFnVdLoEGA X-Received: by 2002:a17:90b:38cb:b0:27d:1376:3ae1 with SMTP id nn11-20020a17090b38cb00b0027d13763ae1mr10478884pjb.0.1700587943681; Tue, 21 Nov 2023 09:32:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700587943; cv=none; d=google.com; s=arc-20160816; b=LwPBiCAtMu99AZLL8r9BrvXaXORij4MBgADl2k5F4OEMBXzxKs+707MyB7EWMnkiLN 8Z/qEnR65XmHjzC10Kal9s7At6lZkDy8rr1nGlLL2b5eyHLr2oBO/c/zUR2ZRW5qziEP ZC56kd8k2r2L69/Uc1+6nrB5Ly0My5XFuzY2tW+Jq5WhmnwDovX9m8FrvfavhSyNxSh4 i556N2VYbtXK5LEobAFd97C/KUeE3x2CjKOZIKk3zIHsPcXkmFrvr4PUcURIDE1HRQAn vNVldBvJjgZ+dFjKzzW3eSKB1iqHJctA4Vi3L9dZj0O6zd3PFJOXaWSTNaw6knkS3P+Y 66/Q== 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=ZAL9dKnpF2ahjvBFKbedpgAAAyCrsmHVHqmzV1GMUOI=; fh=yZHzeM5IYeVzwhzIDd8+X7jH0Pfl88wIpZ2p2Cq73bQ=; b=MjxLLe0Y1k96W4PYQG+lZacISSgp54TjN7I5z2cuYCdNZ7YtcWRZ+9w68a5Q1nAGGw EmVVOpAl83JKEboZTyRiZs9rNt9swkfbGiJPnra7ObNok1U0Pd5zhV70ubHQbYIbb3yB F8SKH2A0oEXSSAWy5e+yC8a+iiRqgcIp0EV4JdME/gd1qyS4MsnX/A8x7qH84waGZKOn oUKVrmMVkH97Wq42eEUg0AzDOcyMmK1FAa+6geCZqUcvrapgonetR/gbkrVAQAL34+/p Hx5x3PnnyXZy86USY0Zdb7OnHuLwQgLAoOBd/EPom6AWsm3k+0/bmp7xIf39Kto1tzyL Gp5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=UoiQqT8i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id ca11-20020a17090af30b00b00283a1ef6feasi8754093pjb.147.2023.11.21.09.32.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 09:32:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=UoiQqT8i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 80AC88028A73; Tue, 21 Nov 2023 09:32:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234196AbjKURb0 (ORCPT + 99 others); Tue, 21 Nov 2023 12:31:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231178AbjKURbY (ORCPT ); Tue, 21 Nov 2023 12:31:24 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90D6EC1 for ; Tue, 21 Nov 2023 09:31:20 -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=ZAL9dKnpF2ahjvBFKbedpgAAAyCrsmHVHqmzV1GMUOI=; b=UoiQqT8ica+PbDUU4t2T39jz3B QDK3+NM6mXtG5imeilghnFe0t7aCBGqfDVrCWmB9jhF6hbA+lDaQlz120X3Pd6Edyf/ScAKRcuPuT f1v03a9zQnRjVtOy+FOQyu/W9dB+9i8VkQSyfEBfZ2MLXlSGtbrqDtQl/VlrdwdMECfFYxSlQyrWz yWZluZoyZV2B8FvJ5eYTl+W5kRayjRUGUG3gusBP9sCNcOfFDRzsDNatqwmH/7oxDuj8AccbvTugp qSs/mD7o6hTs+FJQk2k/Bfzf4LlAfa8fUrIEUwdiGmUUpk8NIOSRlO83n7I/TvNuHblg+Se6wQG7s O4++ZvcQ==; 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 1r5Ual-00HOYU-0u; Tue, 21 Nov 2023 17:31:19 +0000 Message-ID: <24a07872-ca92-431e-a81b-3e9815aa3c9a@infradead.org> Date: Tue, 21 Nov 2023 09:31:18 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] Support rv32 ULEB128 test Content-Language: en-US To: Charlie Jenkins , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Palmer Dabbelt , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org References: <20231117-module_fixup-v1-0-62bb777f6825@rivosinc.com> <20231117-module_fixup-v1-1-62bb777f6825@rivosinc.com> From: Randy Dunlap In-Reply-To: <20231117-module_fixup-v1-1-62bb777f6825@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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 21 Nov 2023 09:32:21 -0800 (PST) On 11/17/23 11:56, 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 Tested-by: Randy Dunlap # build-tested Thanks. > --- > 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 > -- ~Randy