From patchwork Thu Feb 10 11:30:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 541430 Delivered-To: patch@linaro.org Received: by 2002:ad5:420f:0:0:0:0:0 with SMTP id e15csp2148161imo; Thu, 10 Feb 2022 03:33:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJykAO7Nx8B0qClcBX4uyBuH+qCw+k+dCCkhp1td5KcFjJ4d+wCSLOXu5n9rms1xNxRdvH1C X-Received: by 2002:a81:34c8:: with SMTP id b191mr6607845ywa.12.1644492795581; Thu, 10 Feb 2022 03:33:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644492795; cv=none; d=google.com; s=arc-20160816; b=PHzH9MSfOTQtHcuz5qoQR9j30BSNwUfk/dTtuYbcdYOQM994iiE9/2Bi2afFOWyrG7 0uUEpZu2/iYf47Km98GL2jkYfEl2u4GAjIiYusXMRS1wC9HbmKoXpLuqcRHQX3bZPla6 78TGSImJ4I1nHmAAyJunsPuQURxQUeP1l9c0HRWk4wfpXxMVaArIifQoQq0jkrr9tqBQ QOoXlW7Dx8/cCSC9XXnXUOmtbWfTyvkE304CvgG2vhkweXoMyI9k93ixEtsgfN3I1W5V POmx4r1PlkCAqexJ5qAX7mzuqhrV3gdN39jRv3ejU/hZ5b+h5z3lkjVcyfntAp9MD6Zl Uu8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=g7ZSGCxN+8THvk0kgxS/JbTzR49GfLMA1s7p1Trh+TE=; b=fdALuE/OK3pESbGjYSnZf668OyA4JqPPzUYxu749CQHRtbkAFiSqG9j+gxU1GyqW+P +fsrubvAiWZlEYZuhtqQQbO0a8oFIaaeCqUTsVsmbpc0d1MuwvJmQOGiBV1F34tELRJJ uWxlHJT4leBWxuhEXcaG91j2HoAVwUd/90AZgHijk0mSCmybnFudCf+6VpCIl56l31Hn 8gov1dRLUvTro+GJzZ31yA8zzDUjr6c1zZCFTKu49TLaR/44pVW3aCAysYMxfFMRzSZ8 nwpceBLVPO+hs6SoGQsLAzDUcN66HNI2WzkwGVG5J8LTQYAL94tLPIAQ0+HmTclhTmHb xLOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cDlGHmJv; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t5si3597939ybu.490.2022.02.10.03.33.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Feb 2022 03:33:15 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cDlGHmJv; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:57998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nI7hL-0003i4-2k for patch@linaro.org; Thu, 10 Feb 2022 06:33:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI7ed-0003hb-25 for qemu-devel@nongnu.org; Thu, 10 Feb 2022 06:30:27 -0500 Received: from [2a00:1450:4864:20::530] (port=36402 helo=mail-ed1-x530.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nI7ea-0002VD-RW for qemu-devel@nongnu.org; Thu, 10 Feb 2022 06:30:26 -0500 Received: by mail-ed1-x530.google.com with SMTP id s7so10400828edd.3 for ; Thu, 10 Feb 2022 03:30:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=g7ZSGCxN+8THvk0kgxS/JbTzR49GfLMA1s7p1Trh+TE=; b=cDlGHmJvYT0sKxVQOIgPN5s5bOIZil4zyIKP9CYV2EhsrKT09GpBJDuSCe3nJN2HU4 2asfD9tw0FJ4pmv4otFjfDu+zFP8XcMDwT8NiFdMbB6aWVT4xEAMYZIhc8/GQymtWzhn MvuttGqsLJvquLtsQv3CUAcsvLxLyeey2v5U5X9M2fWz1sUS3ex5MP74r9EGd0SBYF7h QXBd2eMUqFP0D7KG1DQFhauxYq8Cnq8WBG50f7JLeJ3m9NG42rhQKitNlSguIFqcS8mK 1YoHwmOp0EpJ6nIDU+zGYbCHMr52cquJLxyP2kzQ4neJIw91ErQsPaKqBCcosdvvOYpQ lpxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=g7ZSGCxN+8THvk0kgxS/JbTzR49GfLMA1s7p1Trh+TE=; b=h1htMKazJCWlpv2f96KrgxTXodwpUQFfToIOhiWqFgTDBCcPrpzFMOc/zuox6DJN8n eFnnwhNZ5cNeDZNrS5io7gjMNGDMk4ofUwdc3F/Ev121ptHdFPAF5uAs7La4qSl3989g jhxrlBK2Imljf46CqSDyL9Y/jggAgr0CpQGEIdP392GTpLwKCEF+iwAEndcEI3K1Y37i psLsNAkmbjL8fdilPY+Q7ibiVIyA7VXHvhFbwu1HHz7cnDd2QJmWjSIUvN3rIKi6sRQY qZf646vWdrzkfxtap037sL5njBDA06bmMZnnAV2jHT5Ct6RoaMBeChzDPOem9Vkpy2cD mRZA== X-Gm-Message-State: AOAM533n161kpTkgaBNPKaA8fkeITejlz9OGlvlk6g83uglk4uj68oUB cj3riTHbsgiOA4FV1MoC179i3Q== X-Received: by 2002:a05:6402:40d2:: with SMTP id z18mr7717920edb.152.1644492623272; Thu, 10 Feb 2022 03:30:23 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id eg11sm8146530edb.17.2022.02.10.03.30.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 03:30:22 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 8612C1FFB7; Thu, 10 Feb 2022 11:30:21 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org, peter.maydell@linaro.org Subject: [PATCH v5 0/2] semihosting/next (SYS_HEAPINFO) Date: Thu, 10 Feb 2022 11:30:19 +0000 Message-Id: <20220210113021.3799514-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::530 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::530; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x530.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, I'm working through the backlog of stalled patches in my queue so here is the latest version of the semihosting info fixes with Peter's comments addressed. Both patches are still missing their elusive r-b tags ;-) Alex Bennée (2): semihosting/arm-compat: replace heuristic for softmmu SYS_HEAPINFO tests/tcg: port SYS_HEAPINFO to a system test include/hw/loader.h | 14 +++ hw/core/loader.c | 86 +++++++++++++++++++ semihosting/arm-compat-semi.c | 129 +++++++++++++++------------- tests/tcg/aarch64/system/semiheap.c | 93 ++++++++++++++++++++ MAINTAINERS | 1 + 5 files changed, 262 insertions(+), 61 deletions(-) create mode 100644 tests/tcg/aarch64/system/semiheap.c