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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D359C47071 for ; Fri, 17 Nov 2023 17:12:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346149AbjKQRMy (ORCPT ); Fri, 17 Nov 2023 12:12:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231779AbjKQRMw (ORCPT ); Fri, 17 Nov 2023 12:12:52 -0500 Received: from mail-oa1-x36.google.com (mail-oa1-x36.google.com [IPv6:2001:4860:4864:20::36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35D43D79 for ; Fri, 17 Nov 2023 09:12:48 -0800 (PST) Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-1f066fc2a28so1192856fac.0 for ; Fri, 17 Nov 2023 09:12:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1700241167; x=1700845967; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=n/hoNZwah8AjVjd5/pBBVUbPTzEhp3jSCj9zR0qy2e4=; b=GBnFo86C2MwYJwwdulrzBxjkPIjYEWNs/Pw34ZMv5CeqKPUVLW9XpWdUaFUda8lHKm 7sW8Z49wtDkqJ1GLwkUb6uTxD1uQ+3VDNjk+t09Jj/FnNF6NHerzCvyxRi/qCe+/bg4X epRIhDYVoMqsPIRjP9lxB0gK5eZxwYTtJxaPaWVweymuhEembLfRL+ioOe+JvhJtUESw b2csBPhqqGSPRnV3jZOds6eXYX0gDy9xStt9g/EkW2nGIBrjQjryJKGxEqIjyi7XY0Qz IAdaelAuVJlYdDBZQL8fHeppnZkFlmXgiEKNsRwvKqvfM5adCnCK6EE3RP2nKRxEpacz 8Y4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700241167; x=1700845967; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=n/hoNZwah8AjVjd5/pBBVUbPTzEhp3jSCj9zR0qy2e4=; b=Yi5F/RVi5gv9KtRofZAmXG6gisg7XTL+tA6zFzWghyYvVLECbfEAcldpucQiQHrsYN A2QnYfO9oBNUgw7cdMo7/xpy6qL02jICfMwm5FGzMHZrBMASfP016p/9N3diGHjSAlIJ VWV+fUqueUdOcpXBcdyYz1GtlBSvie/Z3d8Eq8Vxbx1QRqZxAUzBwtCXoeJBhfOHu6e7 Spy0MrxC2LebehSQ8euDw+AZCKOnJ4479OC1+fiXM0l3DXNyj5lhl+7q2shmgjbXRpLr ejLiSrpXHgaBevwjXVsS5tPjAJIKUeu5y9v3ImG/xE67gX5woJ7NdUB8GaoFQJgkVXZJ SMLw== X-Gm-Message-State: AOJu0YyzoolV4xjcfId4ONingUmGX3CGjI2LJ+7phWscq0ecuax6bR+h OYCmlwMWjRmiJNQYsdUhVFmRPQQMHYGCn8kTx4HvLg== X-Google-Smtp-Source: AGHT+IGZa62vapzDx4pgL5oXuVfeSgvxyZs/DOL/6iahwpimVnUoBkONoUtxcaOA8eIG11XXmAro9A== X-Received: by 2002:a05:6870:ff89:b0:1f0:36b6:ef25 with SMTP id qp9-20020a056870ff8900b001f036b6ef25mr20556215oab.23.1700241167452; Fri, 17 Nov 2023 09:12:47 -0800 (PST) Received: from ghost ([50.146.0.2]) by smtp.gmail.com with ESMTPSA id an41-20020a056871b1a900b001eb79fedbb1sm331092oac.17.2023.11.17.09.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 09:12:47 -0800 (PST) Date: Fri, 17 Nov 2023 12:12:45 -0500 From: Charlie Jenkins To: Randy Dunlap Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , linux-riscv Subject: Re: linux-next: Tree for Nov 15 (RV32: arch/riscv/kernel/tests/module_test/test_uleb128.S) Message-ID: References: <20231115122752.6b12654a@canb.auug.org.au> <1d7c71ee-5742-4df4-b8ef-a2aea0a624eb@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1d7c71ee-5742-4df4-b8ef-a2aea0a624eb@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 15, 2023 at 01:01:24PM -0800, Randy Dunlap wrote: > > > On 11/14/23 17:27, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20231114: > > > > (using gcc 13.2.0 from kernel.org) > > on riscv 32-bit: > > arch/riscv/kernel/tests/module_test/test_uleb128.S: Assembler messages: > arch/riscv/kernel/tests/module_test/test_uleb128.S:9: Error: unrecognized opcode `ld a0,second' > arch/riscv/kernel/tests/module_test/test_uleb128.S:15: Error: unrecognized opcode `ld a0,fourth' > riscv32-linux-ld: cannot find arch/riscv/kernel/tests/module_test/test_uleb128.o: No such file or directory > > > Full randconfig file is attached. > > Is this a toolchain problem? > > thanks. > -- > ~Randy I had an assumption when writing this code that uleb128 was only supported on rv64 toolchains. Since it appears that there do exist rv32 toolchains with uleb128 support I will modify this test to be supported on rv32 platforms. The config AS_HAS_ULEB128 in arch/riscv/kernel/tests/Kconfig.debug should be auto-set to N if the toolchain does not support ULEB128 even though the randconfig has CONFIG_AS_HAS_ULEB128=y. There are a couple of sparse warnings in this series that I will fix up and send out in a new series with this fix. - Charlie