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 X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8521C2D0DB for ; Wed, 29 Jan 2020 16:46:34 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A3F9020732 for ; Wed, 29 Jan 2020 16:46:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=keithp.com header.i=@keithp.com header.b="RD6TMZnT"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=keithp.com header.i=@keithp.com header.b="evulIWUc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A3F9020732 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=nongnu.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:48778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwqU5-0001nZ-NU for qemu-devel@archiver.kernel.org; Wed, 29 Jan 2020 11:46:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44123) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwqT8-0001EQ-Su for qemu-devel@nongnu.org; Wed, 29 Jan 2020 11:45:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwqT5-0008A1-7Z for qemu-devel@nongnu.org; Wed, 29 Jan 2020 11:45:32 -0500 Received: from home.keithp.com ([63.227.221.253]:50190 helo=elaine.keithp.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iwqT4-00083r-EP; Wed, 29 Jan 2020 11:45:31 -0500 Received: from localhost (localhost [127.0.0.1]) by elaine.keithp.com (Postfix) with ESMTP id 45B923F2A8ED; Wed, 29 Jan 2020 08:45:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1580316328; bh=AQ7qwDOrgr4oCXbypzhvadC6PyJ4NatHch4UA6L6ykA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=RD6TMZnTWaEtpPa8vpmhDA325+sxDObVt6pBKjRYrKmD2EudMif7/dvxGt/0SJXk3 gvs/KnKnQy4fg9WUygIzpkweabR8QAjHxY0AgHsg0IjXhkdtcBBwouN4ca1SLIXSdf AoZ9yyezBd2SSFdSA3XGiRMaQatReORhRpKIafKg2Br0vn1GpIJp/JHlgcC/bejcZ0 FKvmyTLy5eKcIDqoBcC6mXw0L9/DxyyhBN0wywXoQsE6OVehm6AEfwr+ynC7VqA/g3 FMjTFYeMCUctqsN8lns4mV55IevXZjLHviQ11c8Gsxyko+cfiIxrFw2DAiadnDL/zM mx3GWeJnG90XQ== X-Virus-Scanned: Debian amavisd-new at keithp.com Received: from elaine.keithp.com ([127.0.0.1]) by localhost (elaine.keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Tmxo_cOdKbCG; Wed, 29 Jan 2020 08:45:28 -0800 (PST) Received: from keithp.com (koto.keithp.com [10.0.0.2]) by elaine.keithp.com (Postfix) with ESMTPSA id DD9A03F2A8EB; Wed, 29 Jan 2020 08:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1580316327; bh=AQ7qwDOrgr4oCXbypzhvadC6PyJ4NatHch4UA6L6ykA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=evulIWUclSre/ENP/QGh8RQhduNzs7DvX6qSDlEIkRJjZqGyWm83WPN7l+9AUF3DU //rJs4qOZW8U6HMs2IN5QJAhM19/q1agc9rdD0hicMUzvhUNuzY3YUadfGyO1/ngXD VyH88ZNC6mPijOWhJlygOiny+YtFsAJLk+oSetMsVsijGCQtvBUBbh3Jq2gXBcxty4 mnDCZQr1172K6NVu5zJv6kbgRaxk2hNG3XafWR4DQDtFU1xOR+nXWjVnfDTaEduAT9 So6UARstWlV6A1svI1bLt++qzDCmwoRX0UJlPiRi7MkxcNA4ljD9ID+7+FiZDm2Csw QVoWS+VKZhu/A== Received: by keithp.com (Postfix, from userid 1000) id BEAF61582162; Wed, 29 Jan 2020 08:45:27 -0800 (PST) To: Peter Maydell Cc: QEMU Developers , Riku Voipio , Laurent Vivier , Palmer Dabbelt , Alistair Francis , Sagar Karandikar , Bastian Koppelmann , "open list\:RISC-V" Subject: Re: [PATCH] riscv: Add semihosting support [v4] In-Reply-To: References: <20200128233224.515233-1-keithp@keithp.com> Date: Wed, 29 Jan 2020 08:45:27 -0800 Message-ID: <877e1arz2w.fsf@keithp.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 63.227.221.253 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Reply-to: "Keith Packard" From: "Keith Packard" via --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Peter Maydell writes: > True but irrelevant. You need to refer to a proper > risc-v specification for your semihosting. The RISC-V Foundation defined semihosting as relative to the existing ARM specification, so using a link to that is appropriate here. Here's the current specification of the unprivileged ISA, which includes the definition of semihosting https://riscv.org/specifications/ While it may be nice in some abstract sense to create a "better" semihosting spec, that's not what the RISC-V foundation has decided to do. =2D-=20 =2Dkeith --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAl4xtqcACgkQ2yIaaQAA ABGTww//fZsnRw7sJLy7xuY29NXr60SREv4ldVOQktPdPEJFbkLwz7e+Iqvbfm6q pg/4Okfp6wDvCip+mduu7PFSjIbRG3yoqpChCJWaHcmPUJQJ5xcsZJ2v2TE5XdbU WJvBXaaf3PkTdPNmcSMjCiTiksSjqePNAYPn3b5xNz9LhlVwzo5tWDopbdHLEbWQ aSLhCFZwm7mq39Fia9thnTUuXkyZkDTAYbwdW30mEonBtnZ6PoJGcrTM+4JvdIR9 A8uur3hkJDyFoF7ykw783tI9Z8rIqGGNxvEpLvudQlbBn9x8/z/GcgGWIojlYfVf gQLhSEK8PGkaiAkZ6huA3sPkeMoC72x3vnB5uCondbxTS42KEtLIUBnwSvuBUlwd y3O3H02kClAiOcsGLRccMuYpw9s+7dSDAXqerwS3dIl4gxXYzI17c5BG0cwn8OOX sbTNBoZoEyERrLnOXQs1q9NKMG6xkvVUvIsYwBnEMMoM+Ve2fhd/N0AmIj7yhnKj i8ahgFGORWyCNQOqL/oO33yNKMERoPJl8XBonwGweb45KRZ0wKq6eNUxr67fGmv/ R7biHBPW86tVoMRIXYK4HyUEeAbFiIMUWf8OhPA96iHt0hqK3/iV/Kj+daoc9j4a tnZ5QmcozYWNRHa+XghS3jO4tlxFSLeUvYfKHM6RrHnoyqk2Cec= =KogH -----END PGP SIGNATURE----- --=-=-=--