From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-188.mta1.migadu.com (out-188.mta1.migadu.com [95.215.58.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 80E533BB48 for ; Fri, 13 Jun 2025 16:28:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749832098; cv=none; b=EYilOObnqU+jzTzqiqIwkmvfDGjfhziHkbkIlpDwZNPccXO3oSC6VgHhG4FokLSxDTKexZEsB6t5eM0oTVLDcww2DMCdgUROzm0NxbaeruZSSNRvdVWxqrEUa23hJ3KZ1gczAaDWCB+741p9funv3+SkCkI3tIKA6R6ezITLcc8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749832098; c=relaxed/simple; bh=oBdNAj0QtAfBfiBdOhBtL6PzLu+q2pxrR0228ms+eow=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NKYn77+v4vCsl08cf9Lp++Lcw0KabkBBNb4aYrDww/biN6HCxiYB54gENF9oF/ibi9VGqY/uklk6OygRgveOaxwgUDxysewVAqlJOkoYSOHgzNB0IcQCw2uENjWX+C9RCn0kQyCCG7HbX3Gokjc8YE1PRoZIj9gJ8OnPmbxMXLI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=L3fLw5q6; arc=none smtp.client-ip=95.215.58.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="L3fLw5q6" Date: Fri, 13 Jun 2025 18:27:59 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1749832093; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gwJb0imNaDB4wZxKL2FWvnsxmxhY/MZ4QeoknxKLKUM=; b=L3fLw5q6e7Y2Vm6lBu+gtX2N6Z1Yoi6IJQZL2yjNDwbGm3nZzmJTlYZp724rNI6/UhYZ28 kjbPUF0nf6bZCnD+svYbhJ7v6aaunpU3lhk4yZHDMMkSpNCvJMbqbMSq8KBHR0iFlVMk32 6ubBPziJd9SGxVB47zh992wG19nDKQ0= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Andrew Jones To: Jesse Taube Cc: kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-kselftest@vger.kernel.org, Atish Patra , Anup Patel , Palmer Dabbelt , =?utf-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , Himanshu Chauhan , Charlie Jenkins Subject: Re: [kvm-unit-tests PATCH v2] riscv: Allow SBI_CONSOLE with no uart in device tree Message-ID: <20250613-8809c9eccfc2000c01f298e1@orel> References: <20250613150313.2042132-1-jesse@rivosinc.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250613150313.2042132-1-jesse@rivosinc.com> X-Migadu-Flow: FLOW_OUT On Fri, Jun 13, 2025 at 08:03:13AM -0700, Jesse Taube wrote: > When CONFIG_SBI_CONSOLE is enabled and there is no uart defined in the > device tree kvm-unit-tests fails to start. > > Only abort when uart is not found in device tree if SBI_CONSOLE is false > > Signed-off-by: Jesse Taube > --- > lib/riscv/io.c | 25 +++++++++++++++++++------ > 1 file changed, 19 insertions(+), 6 deletions(-) > Applied to riscv/sbi https://gitlab.com/jones-drew/kvm-unit-tests/-/commits/riscv/sbi Thanks, drew