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=-5.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 6C594C32771 for ; Wed, 15 Jan 2020 22:55:05 +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 3631E2081E for ; Wed, 15 Jan 2020 22:55:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PL7pvNqZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3631E2081E 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]:33718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irrZ2-0006PG-Ab for qemu-devel@archiver.kernel.org; Wed, 15 Jan 2020 17:55:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42053) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irrYR-0005wW-93 for qemu-devel@nongnu.org; Wed, 15 Jan 2020 17:54:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irrYQ-0007Dl-7Z for qemu-devel@nongnu.org; Wed, 15 Jan 2020 17:54:27 -0500 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:37661) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irrYQ-0007D3-05 for qemu-devel@nongnu.org; Wed, 15 Jan 2020 17:54:26 -0500 Received: by mail-pf1-x444.google.com with SMTP id p14so9216333pfn.4 for ; Wed, 15 Jan 2020 14:54:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tr5vJHb3uDT+O2mN2W7qy1j5IR9fMbuiG5JV2TeiUr8=; b=PL7pvNqZYzisEAhdEOkftzi/ZumRsvAnyjuFTdtl30UmaBIYM3t/zvw8CCIDEIEi60 qXLO+AIQQ/qYrzZTBZH5Tv+Hb9T+rhKA4d77opyveds+ojW6g/4u+Xagh5hvd3GpZnji AP1z5wVdmPJtdiBr6ClRPZNX95jrIy6iJ2BNGE8uIcVS6pA8T1bgr7hJjtP1RXIHMN6a uLtEZogzY/46nKzTVcjTTYseZ7uCmhGcSzFwIuvLNoHTq/JrUqh4f+cIH6R2guhl/ppg akRhfRENB6/A3mhv9j7RKUmJgpb3DMvrvpAUHzBmi4pVfDq6quDnkyFrrfSx3AynB7TX rKJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tr5vJHb3uDT+O2mN2W7qy1j5IR9fMbuiG5JV2TeiUr8=; b=Sjncv6+1g5fyLI7ll2aT/9gDl2rJeEM5Fjw2t1YxFTnW+N0PgAILLTeXHS7+X7QB4G 2cA6KWP7Jeu31iuLO5QtaObkFDuFAn4XZGO3rsc57FhUVAHFxv6BD8dT366g93rJfKE5 Nn0sloNbCEEzNXfCNHG7BDuVfzEyP8HKJ/Kzn5SAg/Q2yVjLHTQPSx2C3yGYYJwCD2iC Idns0nxlb2LX9dC40R4HlmuQkypND4ZyqEkCPagApPm275/Z2kuqhh+XGDp8xO1a4qVM /9lO/EN4vK+WlOibrJT3BZXppk/4IBKJ/JoN7gcgX0yQWBWrmLVG9Ja3roEe19H12avu ZCAw== X-Gm-Message-State: APjAAAXbEn1OBnT73yFrSvcHXm4DCTvuucRo3e+EpHUGz618Qc+/SEfT TF44HLq5ka170rMvsoTeNmRBLg== X-Google-Smtp-Source: APXvYqw2gAYd/tposAiiEU6ZWvd30UDLUYSbTm1FbuqOkRh6k4vE2lN9Ymo6SqV824In9X6xCS2ImQ== X-Received: by 2002:a63:1b54:: with SMTP id b20mr35484886pgm.312.1579128864652; Wed, 15 Jan 2020 14:54:24 -0800 (PST) Received: from [192.168.3.43] (rrcs-66-91-136-155.west.biz.rr.com. [66.91.136.155]) by smtp.gmail.com with ESMTPSA id x11sm22078793pfn.53.2020.01.15.14.54.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Jan 2020 14:54:24 -0800 (PST) Subject: Re: [PATCH v5 18/22] tests/tcg/aarch64: add a gdbstub testcase for SVE registers To: =?UTF-8?Q?Alex_Benn=c3=a9e?= , qemu-devel@nongnu.org References: <20200114150953.27659-1-alex.bennee@linaro.org> <20200114150953.27659-19-alex.bennee@linaro.org> From: Richard Henderson Message-ID: Date: Wed, 15 Jan 2020 12:54:20 -1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20200114150953.27659-19-alex.bennee@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::444 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-arm@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 1/14/20 5:09 AM, Alex Bennée wrote: > A very simple test case which sets and reads SVE registers while > running a test case. We don't really need to compile a SVE binary for > this case but we will later so keep it simple for now. > > Signed-off-by: Alex Bennée > > --- > v5 > - properly plumb in > - skip if fails to connect > --- > tests/.gitignore | 1 + > tests/tcg/aarch64/Makefile.target | 15 +++++ > tests/tcg/aarch64/gdbstub/test-sve.py | 81 +++++++++++++++++++++++++++ > 3 files changed, 97 insertions(+) > create mode 100644 tests/tcg/aarch64/gdbstub/test-sve.py I don't understand how this is working. What's the process that provides the container for the register state? I would have expected *some* binary to be used, even if it is only "int main() { return 0; }". r~