Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1736381rwd; Sun, 28 May 2023 01:26:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7XDpt70In182qG3cojYwzAf3kI2eWuKUtbjOHBKM3VH+Tgi1r4AjKVwCEiiohdMt60q4VC X-Received: by 2002:a17:90b:157:b0:256:4207:5041 with SMTP id em23-20020a17090b015700b0025642075041mr5522247pjb.28.1685262386508; Sun, 28 May 2023 01:26:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685262386; cv=none; d=google.com; s=arc-20160816; b=JvDf+yzxsJa01rUFREPAeddvr0M7fqOer5exXdAV8PLAW+qvFGncnelhGUbPlE9YW2 iBTasfbTk6T5UD0wcQ0i6kiwaaDUTyBYnamGqRekkItJLO+lSP+y8B8NOcfQhifUut3I GNlbHVZ+SgT/XnXIpEFgib6DWRiB8csLyd+IWWslqUrNJnz8dZIzeIH1b8YrF+WI58v5 zpCOEUnZYBkyR8vVlEL11KRqpc1JmmJaA6nh/HYHUp6oRNcyRVxpkSEsSPYkyhTtZjY0 iR06s9NNzKEw3gb+1D0lJMVqKhVHPntvfEN5NrBTZ1QhvtMBfw7xDmMwfSGMPnAuYEM2 yTMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=O6xoab9Ie9yxlzzhKyhjQTGIrEx/d5T+ww1g5SMnnXo=; b=i1VSAnBqZo/kl8w3lZt2CpTzHbpZVIJLO9VVIb6Hy3y/dsVckeL9qeIDP+SuKLPizc SD7gyQ0sKG+FVtD2C1TNlYBgapp1OYBdAFC14mgrN+1VQ4b1KDc85+xsesNGQ2VbFewj 3NmhzURv8mCdjHlFC4kfStSybmT0hKbQdQG3sbdjkX9vMZB7mzB8XDJtxv8K1dOEEliL TDo3E6jqYU+q3NcAtDJyYFDMMqSu3N5G8t/KWzfmwU7Tpgq/5NX4Ke9ZHhDm4zNeojdN +DT3onJZTw7bhiY7Dg6sYEqyfUvm7XsiE8v453Ce+NOHc1zM504RDaZTcrMRujT9DGEm xi7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v1-20020a17090a7c0100b002507aba141asi6817535pjf.171.2023.05.28.01.26.12; Sun, 28 May 2023 01:26:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229615AbjE1Hxl (ORCPT + 99 others); Sun, 28 May 2023 03:53:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbjE1Hxb (ORCPT ); Sun, 28 May 2023 03:53:31 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7811F1BF; Sun, 28 May 2023 00:53:17 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 34S7qZL7001986; Sun, 28 May 2023 09:52:35 +0200 Date: Sun, 28 May 2023 09:52:35 +0200 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Zhangjin Wu , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@dabbelt.com, paul.walmsley@sifive.com Subject: Re: [PATCH 06/13] selftests/nolibc: allow specify a bios for qemu Message-ID: <20230528075235.GD1956@1wt.eu> References: <63bee74a7b3754a1b0e82bc57de52c18d2de003d.1684949268.git.falcon@tinylab.org> <2ab94136-d341-4a26-964e-6d6c32e66c9b@t-8ch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2ab94136-d341-4a26-964e-6d6c32e66c9b@t-8ch.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 26, 2023 at 09:00:02AM +0200, Thomas Wei?schuh wrote: > On 2023-05-25 01:52:29+0800, Zhangjin Wu wrote: > > riscv qemu has a builtin bios (opensbi), but it may not match the latest > > kernel and some old versions may hang during boot, let's allow user pass > > a newer version to qemu via the -bios option. > > Nitpick: > > This seems very specific and hopefully only necessary temporarily. > > Instead it could be changed to some generic mechanim like > "QEMU_ARGS_EXTRA"? FWIW I, too, think that QEMU_ARGS_EXTRA could be very convenient for various test cases on any architecture (change number of CPUs, RAM size, boot options etc). Willy