From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-171.mta1.migadu.com (out-171.mta1.migadu.com [95.215.58.171]) (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 B89773093DA for ; Wed, 2 Jul 2025 14:46:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751467579; cv=none; b=QP+n6ye9vj74GakOPqNCDQ9SuIFd7GgEeoNWFBRDxDADVB1l0Lr5ED2Tff2Q/gEFVEUHoBuTPu/Ch65DH0b4Ets0sRqiEjzAmNIhJIDpriakj01eWlsi8nebQqNKyo59hORH+4kuL+pgrxuxg4PMXn+7RmbAdm0BA6luUcBG2hE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751467579; c=relaxed/simple; bh=4C1J+Ay8wQrDLJ+yQO9wgrVdpaRPJfpxJwGo3ccxVio=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=k+K89jMh/1Pfq/8EYgYgL+Wy2NB6V8WrTrbCWIvMikBX8eZRphWpQNfGrvZNhyl7wXkKMNxJLNXD39tNF31Xukzkzvzms2Qpm/1iztABI5m4UsGs1NEZdwMNX3/r70elvZfDJPz6ROZLqFUCOM67xPQ+LPdvb0z2L06+AsrmAxo= 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=R7tVbKS0; arc=none smtp.client-ip=95.215.58.171 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="R7tVbKS0" Date: Wed, 2 Jul 2025 16:46:07 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1751467573; 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=hWVk+mWXjNoWAcO7yRaMljb1CdNmQ9EOBU3D+Ap2Yw8=; b=R7tVbKS0GuZdnm4Um1TDnU4JRqJ2BW+VpknYouN4TZ9qbKamZnbJ+ORstVhvpmq+D8UBAt JfC+mSgjoFVJGQiVFd+izGlmoar7YiPdHtU9QdvpVDm+cah9o1JkRZRK0y3iqpz2P2OQKG sAY0xc130ftLxucS9M3rVvQWIgVc9eM= 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: <20250702-7efa8f9a74c2014fc94f35c3@orel> References: <20250613150313.2042132-1-jesse@rivosinc.com> Precedence: bulk X-Mailing-List: linux-kselftest@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(-) > Merged. Thanks