From patchwork Fri Jul 24 06:44:53 2020 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: 247109 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2182882ilg; Thu, 23 Jul 2020 23:45:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmv0k3Tj6DTHtT2A+lYovM2qFz48LJQTKIWU/j/ahWEcLv7cM9gCvTfpFa/SYMKy1GMN9P X-Received: by 2002:a25:bfc5:: with SMTP id q5mr13415778ybm.475.1595573142103; Thu, 23 Jul 2020 23:45:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595573142; cv=none; d=google.com; s=arc-20160816; b=GsiMn1j3DK5p2wbHszdR5VY7WCB+BMkVsxc5l14621ftdCbVx8DxAOa+zcOtkW2Xc7 /r0mOOJarQUq52IeaIiMFfqLqIu/IL5kMK+G+2zm1bXCj9uA53M+AuL4awaz11Th4nUz A8kKmE43DuFamk2ujQR1FAEkFeHM9bguwMI3xxiAEO78tbqFLSmoArq3lrNb8wuub/f/ ZOl5nBIvdrMDKBmZqlVPT73i9+/49MH/N9bnR68ytkQ/X60uZ/7WF8/rPV64diQ3rMJF c7SR46FXBAfBBt5IleNhuQAWbvZv4uBW6oPDHrhEjNdMFu9Y0rYOoGQ3mZmcFEKTP6Op DXhg== 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=VAi8k5Zol/wiE3ERKKx5W1VAkElXOLsOF468dnZNkJU=; b=PWRJ1nAWXYoeqVj8QsKTRS8c3ahuG7QMB1hk6Dz+qAtvXFFOkdgnOiyhT7kZkjH6VY UJp8HdXlv86zdJcsWu6SmEH1ZD5mHups3Z9T/PNynvKoOq7KM+7rpupur8pzMAQR/A9X S2Nr6Jl14eCKXyKgTJAHkrl6+iOVkqVUVfP78UHh0E18Pg2tBOZrPJnur5fz5fwD3T+0 aS5u9oUiF9HhpoGMIm3BBLSvGNEFLMgR01aLBZ1nOiLgw7NMEy9qWiT9o9gHbO03xZ0+ Pzl9kgh4UYEmkmE/seE4XXnIDDOqd5G2CgA067tHvdYndUXSJL4Aaa3hcZ70YrJaqFoN 5JbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=e3tC+Xrt; 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=fail (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 d78si5279743ybc.58.2020.07.23.23.45.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Jul 2020 23:45:42 -0700 (PDT) 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=fail header.i=@linaro.org header.s=google header.b=e3tC+Xrt; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyrSf-00040x-HE for patch@linaro.org; Fri, 24 Jul 2020 02:45:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyrSF-00040C-OK for qemu-devel@nongnu.org; Fri, 24 Jul 2020 02:45:15 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:38964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyrSD-0000Du-Kl for qemu-devel@nongnu.org; Fri, 24 Jul 2020 02:45:15 -0400 Received: by mail-wr1-x444.google.com with SMTP id q5so7250056wru.6 for ; Thu, 23 Jul 2020 23:45:12 -0700 (PDT) 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=VAi8k5Zol/wiE3ERKKx5W1VAkElXOLsOF468dnZNkJU=; b=e3tC+XrtW/b7mySKTX2+JH/Ih4Ex9znfGvCcXz2JAqRYj2s3A2skCQbmhu1+mKp58L zxE6H2zDjsnQYlEePdhcS1JSiFBEHn/8asSDGsaBkTam0JaquvJ+jjgj5uxe6a5eSqER 35LcyWCUBzCBz0deKHQYLSa1uPKffE8m2iFPkLuOcRo05kloksXPN6VGraE/VuBfXnfI 7QFaFk5PqmM3kE9Cm7wfRoOQh9giDN3Wn34LhfoZHe9GzxTN5mOEwUYsdfJBE0nd1WFP aQvPzcCzp2/I4pZ1pEOBc660504MpBtZHj+pVB+3dZklm56JbXwxoBjEyBPLwNp/LDg4 Fi+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VAi8k5Zol/wiE3ERKKx5W1VAkElXOLsOF468dnZNkJU=; b=q7TmXU8tmlYaIjSVu1KM8imTD7wUOQMOE6h9t1o81OHaBea18Rqe/TPcxRzREiRmZO cZix9OMjTa84SUW+srd+Izen5ztHrYRzQCH2DSXHevgl421OYszkKjTqbN5jgbyLJ91i oLNBwuN8VrLGJrc6U/arFJ5RKbNxYOP36WmpQxsO4UxtfoW/W2aJCP5aoBLAaWUhNMVp iRzj7UKwMRVtqcSah3SbzDXiMEZI6Swj+0OmzWZuZtzkV3m4nzPAiyXBxotDnp3p043c yRNblBaufWXCJEp1vYcoC0hnetB9PqaVMZ6Div8wcA9koHEa79NuhKzTBsvhN1B7OvS0 T8DA== X-Gm-Message-State: AOAM532xnCVEbpFoj6wj7uk/31Oa+vzUf/WWFZsuZVKFoWrX81zXcM5H 9Er9U0iAi1hbyz4I9LtdMeQWTw== X-Received: by 2002:a5d:464a:: with SMTP id j10mr7537417wrs.187.1595573111320; Thu, 23 Jul 2020 23:45:11 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id k10sm130745wrm.74.2020.07.23.23.45.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 23:45:09 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 363761FF7E; Fri, 24 Jul 2020 07:45:09 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v3 00/16] candidate fixes for 5.1-rc1 (testing, semihosting, OOM tcg, x86 fpu) Date: Fri, 24 Jul 2020 07:44:53 +0100 Message-Id: <20200724064509.331-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::444; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x444.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, URIBL_BLOCKED=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: fam@euphon.net, berrange@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, This is the current state of my candidate fixes for 5.1. Apart from the revisions following reviews for v2: https://patchew.org/QEMU/20200722062902.24509-1-alex.bennee@linaro.org/ this includes a new version of Laurent's nanosleep fix and some clean-ups to the python console drain code which should sort out some of the 100% cpu spins Peter was seeing. Other minor tweaks noted bellow -- in the patches themselves. The following are still un-reviewed: - tests/docker: fix update command due to python3 str/bytes distinction - accel/tcg: better handle memory constrained systems - util/oslib-win32: add qemu_get_host_physmem implementation Alex Bennée (8): shippable: add one more qemu to registry url util: add qemu_get_host_physmem utility function util/oslib-win32: add qemu_get_host_physmem implementation accel/tcg: better handle memory constrained systems linux-user: don't use MAP_FIXED in pgd_find_hole_fallback tests/docker: fix update command due to python3 str/bytes distinction tests/docker: fix binfmt_misc image building tests/docker: add support for DEB_KEYRING KONRAD Frederic (2): semihosting: defer connect_chardevs a little more to use serialx semihosting: don't send the trailing '\0' Laszlo Ersek (1): target/i386: floatx80: avoid compound literals in static initializers Laurent Vivier (2): linux-user: fix clock_nanosleep() linux-user,ppc: fix clock_nanosleep() for linux-user-ppc Robert Foley (3): python/qemu: Cleanup changes to ConsoleSocket python/qemu: Change ConsoleSocket to optionally drain socket. tests/vm: add shutdown timeout in basevm.py include/fpu/softfloat.h | 1 + include/qemu/osdep.h | 15 + accel/tcg/translate-all.c | 7 +- hw/semihosting/console.c | 4 +- linux-user/elfload.c | 10 +- linux-user/syscall.c | 15 +- softmmu/vl.c | 5 +- target/i386/fpu_helper.c | 426 +++++++++--------- util/oslib-posix.c | 15 + util/oslib-win32.c | 11 + .shippable.yml | 2 +- python/qemu/console_socket.py | 137 +++--- python/qemu/machine.py | 14 +- python/qemu/pylintrc | 2 +- tests/docker/Makefile.include | 2 +- tests/docker/docker.py | 13 +- tests/docker/dockerfiles/debian-bootstrap.pre | 7 + tests/vm/basevm.py | 15 +- 18 files changed, 390 insertions(+), 311 deletions(-) -- 2.20.1