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=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,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 367C8C433DB for ; Fri, 8 Jan 2021 22:34:46 +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 BF74E23A74 for ; Fri, 8 Jan 2021 22:34:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BF74E23A74 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]:47104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ky0LE-0002Ne-JR for qemu-devel@archiver.kernel.org; Fri, 08 Jan 2021 17:34:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ky0Ji-0001Pc-QX for qemu-devel@nongnu.org; Fri, 08 Jan 2021 17:33:10 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:39611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ky0Jg-0004tb-Vz for qemu-devel@nongnu.org; Fri, 08 Jan 2021 17:33:10 -0500 Received: by mail-wr1-x436.google.com with SMTP id c5so10368857wrp.6 for ; Fri, 08 Jan 2021 14:33:08 -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=JV+V99tt4EQveY06Mm4McJZehVQDN620TryUZlVZr5U=; b=ZXkAe5PL5VggHFWOH407981UnXQ/rWErsV9kbX2N6oAwXK7eTTCsnp25uo17z5SNea j+1sIo3SaCMWZjlhqyM/YskpQieW2oTfL0WAS0CPpfDtc+C2B/q0t6sowRuet6YaMp24 XFWY6TmZvD+AUjniaTNh5KyDmGDQTPb49an3BRsME7K7TavXb6YTu5L/LcKNa9EL8cCu 9RKNlPE76N6SCulGWcdaIjfMoX/Rh5g8oQmhOL39m+0oLLQ2+wUBC+ad92U1mBXHBnNC HYVkOn3pnqRasr3JS5bXQu0oMYpLGcfNU2SoNn77W4Mfa4q2D5Lx1SBva01Q4qTK6va9 +yfw== 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=JV+V99tt4EQveY06Mm4McJZehVQDN620TryUZlVZr5U=; b=NiolapqACiTMy86tg+oqoi2ObcdVxkXt854AP0PDe2KsjjCLmnAR9c8zXDSilEbJWl aMlkAlyb0BGNEfLWMm3VEy1lWVCKFnKM6rqr3cnRrE5rqq4VBYmNpvs5HwEa1CMB4B8P rgN1iA6aSHq6PEfvqs5emoK88OGRIHgn/wDixJn5LPQUHlkbHFGRtj/dJr7x42opQzv+ 0GpvXse9rreqjBygwYZbIm8y/H8nUqiDAmYtqdCgMjSTQjEdcaZBvhtkZlxvzj4LScvY zl9BNtgq7Zdzg3tg/+1OGSrTybF1WJhfmrUE1PspmUgqnTAQAwlErS31UtubyY0EaNER MxaA== X-Gm-Message-State: AOAM530h1bGrk15fD7JwMo71I3YdQx8GJkbH77NFBMDXB+qFphVZiHiH L06UMFsdXp7MRKNFFwYGVG4DFg== X-Google-Smtp-Source: ABdhPJztM2AwqFao3hRN6xK5I88EEJLwP7ACRM+wdZ3IwRSwmVPLuc5oBddOreaQZtM09re12VwuYA== X-Received: by 2002:a5d:6045:: with SMTP id j5mr5361404wrt.223.1610145187532; Fri, 08 Jan 2021 14:33:07 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id c81sm13843090wmd.6.2021.01.08.14.33.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 14:33:06 -0800 (PST) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E5FC71FF7E; Fri, 8 Jan 2021 22:33:05 +0000 (GMT) References: <20210107170717.2098982-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/9] Add RISC-V semihosting 0.2. Finish ARM semihosting 2.0 Date: Fri, 08 Jan 2021 22:32:57 +0000 In-reply-to: <20210107170717.2098982-1-keithp@keithp.com> Message-ID: <87turrys7y.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::436; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x436.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=ham 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 > specified 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-6. Add RISC-V semihosting implementation > 7-9. Add missing semihosting operations from release 2.0 Queued to semihosting/next, thanks. --=20 Alex Benn=C3=A9e