From patchwork Fri Jun 7 09:04:59 2019 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: 166080 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp380742ili; Fri, 7 Jun 2019 02:09:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5OWsMAEPTsOZlrDqrg0HIb19ZwDPivN316WN+caT9P/VYjwgTHa/nxN+9YB3NJHLZUQ3t X-Received: by 2002:a05:620a:1107:: with SMTP id o7mr12873531qkk.324.1559898576991; Fri, 07 Jun 2019 02:09:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559898576; cv=none; d=google.com; s=arc-20160816; b=M1YBC3H1lxLnzjAKlX3sbY/kS1Q6OcQFoTrGo9wpg/V9Hdp8KLHcdwNclJpj2NfiR4 dJlxXuREZceNQyhfdxDRz8ib/kXPIsr78X8typYI8WHlxlfue8o7JwjFsbQv7siAlzgi Yf501si4oEpqV3ZE3N7qifewBpNWMqMR0ugUxc8CVKtDI2KDJ1MUBU7oVKwMUEYNEgix 63ZzhIjJbE3mduld69AWCF0F75g1v9R+9Bl54JN4MvpAc5xq+T6Eo7W35rjwRNGD6hTm KfYYUHNH5rOLyCQehj0JyY9f6O1xtWEF9JgRmXERmFzZxtl2iEy5y6WoShg4LgqQs43W HiZQ== 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:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature; bh=DbNqj0r2bAfwFlR25KVQZjxbggWeTpP31ghmGKBlEbw=; b=aMqbEiLw2qshHGe3+v+CrXqY18qzP/kvUT2GS7FmmnIKl/HOpeEj090arUwfDMSMsq gh2EiJCzSNG1VUsfG7E1tjcv0o0fvgNuwmcfh6wRgaiw1RlqnrIjjt6KjOKp7ug/wCTR w1o+Z9b9Dq0TmVcydWyGGga3hnVDNeulMIDhGdrUCuoxtZjC58IIlS7faaqYUIbwlxKA sR/jhGLJAwp8L9ApOLqTw8Rqe+UpxKfHfKm/DkQ+R1aOA2PEetTQEetwpS0O1dMLjlE7 w/6x/VQ/nS8xZO2fEINB1+8CyR2nhC1G25N+VyTLtROtI89TbM5qkViS49DTZWEy3vHo lseg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SsrXm3Kp; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.47 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.47]) by mx.google.com with ESMTPS id s72si858275qke.96.2019.06.07.02.09.36 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Jun 2019 02:09:36 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.47 as permitted sender) client-ip=209.51.188.47; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SsrXm3Kp; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.47 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]:47140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZAsS-0007gq-JE for patch@linaro.org; Fri, 07 Jun 2019 05:09:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39331) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZAoz-00047L-R0 for qemu-devel@nongnu.org; Fri, 07 Jun 2019 05:06:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hZAox-0004GN-8M for qemu-devel@nongnu.org; Fri, 07 Jun 2019 05:06:01 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:32778) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hZAov-0003rN-OE for qemu-devel@nongnu.org; Fri, 07 Jun 2019 05:05:58 -0400 Received: by mail-wr1-x429.google.com with SMTP id n9so1377508wru.0 for ; Fri, 07 Jun 2019 02:05:54 -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=DbNqj0r2bAfwFlR25KVQZjxbggWeTpP31ghmGKBlEbw=; b=SsrXm3Kp2mr9lvF/6Luvc4iTOkdtQT2JtB6qL7TsYbGKTK7NhDHsh7gL8PbkhM3ikI p6IuMNu5zSz/4NFiREZWuFimSPrara4rR3Kc+l7m+7LlMRZxCKonCorWRtSMYWTaEYMB jVkTXDUGG3zIEBBJKsMyUyJetbDxTCUjl+BZGG44jZ8UySTHM0h/VMUKaTQKmTJ3RIEO 7ijNx+9GHHKe2tqiYrjCSgJ3qX8vUWhQVLUnB5IeSJh+26W00oZaEtoUzXii9O5Ag8DB B8r2BY2xPJtD9ZYmCI2FDRazz43yrzAXVTOP3YKh109q0XrvvcSI3okNDXEWtsEOn/Qg Wo7w== 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=DbNqj0r2bAfwFlR25KVQZjxbggWeTpP31ghmGKBlEbw=; b=nrYUbtubrleov5XX2Zsakk9dkrHQ6b6WZo87jKlOJZ4M4KJLooZZq21gzjsFG/4hc+ UPKsxmbfECfFsUGIum/j8MOUioL8J87zbpnDBCBWXQda46EZYxHyeJ2zd9Sdiqg9TQLO chmBQb31nunlB5gbUyHc4JKAHABisQDSyIkeT6BKFKoXZPLFC+oi3EMO+kqBn3xE4fVE 3QEaTu/EEaIMtLj9d7Bx36mWO7xBj1bqV7Inpqwsswmo0Nn8qiCTZY2O6SCUWTEQ664q 6r4DHbXBeCwLvNr5YSlOSIhHJfCjrmiqyySYo8jXqgoWeoCap7O3lr3VgjAunP4cuEUX YBww== X-Gm-Message-State: APjAAAUVChZVq4fQRwdp7+Rdb5TvYCgdAEosmtHPWcChCW++cG3ZfTwQ HBtt4f4S/AH25iYfaVBAJTcr0w== X-Received: by 2002:adf:9ed3:: with SMTP id b19mr9823910wrf.292.1559898352996; Fri, 07 Jun 2019 02:05:52 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id c17sm1161191wrv.82.2019.06.07.02.05.52 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 07 Jun 2019 02:05:52 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0AF971FF87; Fri, 7 Jun 2019 10:05:52 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Fri, 7 Jun 2019 10:04:59 +0100 Message-Id: <20190607090552.12434-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::429 Subject: [Qemu-devel] [PULL 00/52] testing, gdbstub and cputlb fixes 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The following changes since commit 0d74f3b4277a7ecb0ccb80c865797d11f8e466f5: Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-pull-request' into staging (2019-06-06 14:09:14 +0100) are available in the Git repository at: https://github.com/stsquad/qemu.git tags/pull-testing-gdbstub-cputlb-070619-1 for you to fetch changes up to 611a3db380ef9f670c5c82837c4889f7e19ded10: gdbstub: Implement qemu physical memory mode (2019-06-07 08:39:03 +0100) ---------------------------------------------------------------- Various fixes and updates: - editor config tweak for shell scripts - iotest updates (still not default for make check) - various docker updates - gcc/ubsan updates for travis - clean-ups for tests/vm including autoinstall - semihosting fix for Coverity - fixes for cputlb in 64-on-32 cases - gdbstub re-factor + maintainership update ---------------------------------------------------------------- Alex Bennée (13): editorconfig: add setting for shell scripts qemu-io-cmds: use clock_gettime for benchmarking tests/docker: Update the Fedora cross compile images to 30 tests/docker: Update the Ubuntu image to 19.04 .travis.yml: bump gcc sanitiser job to gcc-9 .travis.yml: add clang ubsan job semihosting: split console_out into string and char versions cputlb: use uint64_t for interim values for unaligned load tests/tcg: better detect truncated reads tests/tcg: clean-up VPATH/TESTS for i386 tests/tcg/x86_64: add a PVH crt.o for x86_64 system tests MAINTAINERS: put myself forward for gdbstub cputlb: cast size_t to target_ulong before using for address masks Gerd Hoffmann (14): scripts: use git archive in archive-source tests/vm: python3 fixes tests/vm: send proxy environment variables over ssh tests/vm: use ssh with pty unconditionally tests/vm: run test builds on snapshot tests/vm: proper guest shutdown tests/vm: add vm-boot-{ssh,serial}- targets tests/vm: add DEBUG=1 to help text tests/vm: serial console support helpers tests/vm: openbsd autoinstall, using serial console tests/vm: freebsd autoinstall, using serial console tests/vm: netbsd autoinstall, using serial console tests/vm: fedora autoinstall, using serial console tests/vm: ubuntu.i386: apt proxy setup Jon Doron (20): gdbstub: Add infrastructure to parse cmd packets gdbstub: Implement deatch (D pkt) with new infra gdbstub: Implement thread_alive (T pkt) with new infra gdbstub: Implement continue (c pkt) with new infra gdbstub: Implement continue with signal (C pkt) with new infra gdbstub: Implement set_thread (H pkt) with new infra gdbstub: Implement breakpoint commands (Z/z pkt) with new infra gdbstub: Implement set register (P pkt) with new infra gdbstub: Implement get register (p pkt) with new infra gdbstub: Implement write memory (M pkt) with new infra gdbstub: Implement read memory (m pkt) with new infra gdbstub: Implement write all registers (G pkt) with new infra gdbstub: Implement read all registers (g pkt) with new infra gdbstub: Implement file io (F pkt) with new infra gdbstub: Implement step (s pkt) with new infra gdbstub: Implement v commands with new infra gdbstub: Implement generic set/query (Q/q pkt) with new infra gdbstub: Implement target halted (? pkt) with new infra gdbstub: Clear unused variables in gdb_handle_packet gdbstub: Implement qemu physical memory mode Philippe Mathieu-Daudé (1): tests/docker: Update the Fedora image to Fedora 30 Wainer dos Santos Moschetta (4): tests/vm: Use python configured on build tests/vm: Port basevm to Python 3 tests/vm: Fix build-centos docker-based tests run tests/vm: Add missing variables on help .editorconfig | 4 + .travis.yml | 17 +- MAINTAINERS | 4 +- accel/tcg/cputlb.c | 4 +- gdbstub.c | 1761 +++++++++++++++------ hw/semihosting/console.c | 34 +- include/hw/semihosting/console.h | 25 +- linux-user/arm/semihost.c | 31 +- qemu-io-cmds.c | 77 +- scripts/archive-source.sh | 72 +- target/arm/arm-semi.c | 4 +- tests/docker/dockerfiles/fedora-cris-cross.docker | 2 +- tests/docker/dockerfiles/fedora-i386-cross.docker | 2 +- tests/docker/dockerfiles/fedora.docker | 2 +- tests/docker/dockerfiles/ubuntu.docker | 19 +- tests/tcg/i386/Makefile.softmmu-target | 10 +- tests/tcg/multiarch/system/memory.c | 36 +- tests/tcg/x86_64/system/boot.S | 277 ++++ tests/tcg/x86_64/system/kernel.ld | 33 + tests/vm/Makefile.include | 37 +- tests/vm/basevm.py | 147 +- tests/vm/centos | 6 +- tests/vm/fedora | 187 +++ tests/vm/freebsd | 179 ++- tests/vm/netbsd | 187 ++- tests/vm/openbsd | 158 +- tests/vm/ubuntu.i386 | 4 + 27 files changed, 2635 insertions(+), 684 deletions(-) create mode 100644 tests/tcg/x86_64/system/boot.S create mode 100644 tests/tcg/x86_64/system/kernel.ld create mode 100755 tests/vm/fedora -- 2.20.1