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=-13.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 EE5E2C4361B for ; Mon, 14 Dec 2020 11:26:18 +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 58142229C6 for ; Mon, 14 Dec 2020 11:26:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 58142229C6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:40860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kolzc-0002qH-Fs for qemu-devel@archiver.kernel.org; Mon, 14 Dec 2020 06:26:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kolxz-00022w-Uq for qemu-devel@nongnu.org; Mon, 14 Dec 2020 06:24:35 -0500 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:50203) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kolxx-0000gQ-SH for qemu-devel@nongnu.org; Mon, 14 Dec 2020 06:24:35 -0500 Received: by mail-wm1-x343.google.com with SMTP id 190so3147600wmz.0 for ; Mon, 14 Dec 2020 03:24:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=/NSCbVd6e+qy7O5FsCXeMvWhTocDoPTA0meXlZiMzKs=; b=aRrUqYobwatuHi3+9cDc9iVJGCqBEx/OELizaPOvMviYNarPJOlHlFuHM2j8IgbkLN Bm/EiTvD0znwCxZ5nV+BaAZIEi2EoC1pVDMi7eW73OKYuLlGCziQC2qoXPCZTLFcMRxP YI5sru7kH+Ct7XLEIQ4pngv3ZstC1RRDFAn6lXUyWbkTveKUiW0lZwwj33LXHfqIGr+R KA98c4h/iHzVDtqqxuz3hkMwNEb9OlMTXWZLZoZHuqMvu1oq/j1rqjQmvWIvqyb3YzFc KW3bKk1NmcvqX6Mc1XPErkFEPlp3Y1rZ+N4Zab+J4+sRwamZ3TnGix6sfhYFD0Pyoy4H w3aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=/NSCbVd6e+qy7O5FsCXeMvWhTocDoPTA0meXlZiMzKs=; b=HYWNsQjeegsBcqQGNSQpo5+mX/4wDzFm9wwns9kgcgFOwImawDPGhspvHVepw5Dk8b sJTpR03LC4JX7DZLCE4EWsSdWrF65Dl/uvkQs76oO24axTwCWDwgeti5Lkdy0FNmSt+P aIll0SEmtH7JDmxhZUYYvYF5RSJKiDKzSyU1Pc8je7fCsq7O8utf8DXiSDFVhOkmWJl5 3Xs0TjIrvsxvKjuXxNQF8jrnULkgACqQ3V62YyVInAgMCzz5Bl1q1cPbkUpBsKSc2fIo SrczZRWavC8DzBpZnQGcMt/nTumMcDePs1YnJq7/LVGH/BtmIIqBaucbMVy+orUXHjvM U+Ow== X-Gm-Message-State: AOAM530YjGfAwCqr1tUqSm0bKSQW+ZdNayX71S7LnJEUssnJpktdsGQF l7dCnqkz54lUKEPwEqlOH0sf0Q== X-Google-Smtp-Source: ABdhPJxDXaswVqVsM0ax+x3tQzf8x3zaSBsmlR+J2v6KKfevaSAm5B/vu+/MlzTVUWcXfly3BLeQaA== X-Received: by 2002:a7b:c925:: with SMTP id h5mr26756072wml.43.1607945072176; Mon, 14 Dec 2020 03:24:32 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u10sm28839144wmd.43.2020.12.14.03.24.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Dec 2020 03:24:30 -0800 (PST) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 285731FF7E; Mon, 14 Dec 2020 11:24:30 +0000 (GMT) References: <20201125213617.2496935-1-keithp@keithp.com> User-agent: mu4e 1.5.7; emacs 28.0.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Keith Packard Subject: Re: [PATCH 0/8] Add RISC-V semihosting 0.2. Finish ARM semihosting 2.0 Date: Mon, 14 Dec 2020 11:24:23 +0000 In-reply-to: <20201125213617.2496935-1-keithp@keithp.com> Message-ID: <873608vde9.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::343; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x343.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action 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: , Cc: Peter Maydell , qemu-riscv@nongnu.org, Sagar Karandikar , Bastian Koppelmann , qemu-devel@nongnu.org, Laurent Vivier , qemu-arm@nongnu.org, Palmer Dabbelt , Alistair Francis Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Keith Packard writes: > This series adds support for RISC-V Semihosting, version 0.2 as > specified here: > > https://github.com/riscv/riscv-semihosting-spec/releases/tag/0.2 > > This specification references the ARM semihosting release 2.0 as specifie= d here: > > https://static.docs.arm.com/100863/0200/semihosting.pdf > > That specification includes several semihosting calls which were not > previously implemented. This series includes implementations for the > remaining calls so that both RISC-V and ARM versions are now complete. > > Tests for release 2.0 can be found in picolibc on the semihost-2.0-all > branch: > > https://github.com/picolibc/picolibc/tree/semihost-2.0-all > > These tests uncovered a bug in the SYS_HEAPINFO implementation for > ARM, which has been fixed in this series as well. > > The series is structured as follows: > > 1. Move shared semihosting files > 2. Change public common semihosting APIs > 3. Change internal semihosting interfaces > 4. Fix SYS_HEAPINFO crash on ARM > 5. Add RISC-V semihosting implementation > 6-8. Add missing semihosting operations from release 2.0 > > Signed-off-by: Keith Packard Queued to semihosting/next, thanks. --=20 Alex Benn=C3=A9e