From patchwork Sat Jan 15 20:37:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1580398 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4Jbqk80NJtz9t6g for ; Sun, 16 Jan 2022 07:38:06 +1100 (AEDT) Received: from localhost ([::1]:47838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8poH-000264-C6 for incoming@patchwork.ozlabs.org; Sat, 15 Jan 2022 15:38:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8pnv-00025o-1e for qemu-devel@nongnu.org; Sat, 15 Jan 2022 15:37:39 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:58255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8pnt-0002Mj-5y for qemu-devel@nongnu.org; Sat, 15 Jan 2022 15:37:38 -0500 Received: from quad ([82.142.13.186]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MQuPJ-1mvyBU31Ud-00O3T4; Sat, 15 Jan 2022 21:37:27 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PATCH 0/3] m68k: virt: fix reboot Date: Sat, 15 Jan 2022 21:37:22 +0100 Message-Id: <20220115203725.3834712-1-laurent@vivier.eu> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:yZ+o07rXCmefW0wW15hmqpx5UVulQtXmJN42vf23aR6J2ISVXPF mRyxYAESP0r/GfoiMFd3MdHhZzUe26Rl4RWAliQ65Gzxu4qp+5JRnR3gVUkNLQQuMA8vkae t1JpPOReV+u3Slg1SHVrXfYesonSaXRBbKtBfLCeqqBqVbAs3IR5N3WiPSxON3MkZOmv9Gp 7xysTtls1HnGP5Oh6XxSQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:P3sDFbGrX4M=:8cYXeKdGo8iY75O5A2oySu AmfuRuKCr4/MOkbgoJhGqhBdOM/paXo6JN5rcOMKZ+cqHt3FlM/HkTkX/SrSUdDUxG87PYTHc UTNI5G2TH+nPiEtDdIgMNeLDd3F6etSHfWfYJICrzsamiEM3WR6RS5gIuuMzDyTsocME2L+sU jjonlQUELrGXGP30JAec0rVgzLYnsCIlv7SRtczXDlhAmatretYQ/7C6ouZfbAOjytGalQUjq W1s8/MvzY84oDQHu07BVnRRIWBjj7a/9PBzFYc19YwPhy0cIOfrvsxq2lZ4OTIC0Uh2UQui5p K+S72J9+Rim0UplrGYC/XrbHYGyX69arNJirOBaM5cvLZFcwBuI+xMJe+iOSEiHV27NXXex9g 2BIrjd3xealoVDdYru01APVupSEiSSHHrTydXrnB0sWgf1RQBTqcARcb73VJ48ac8eW/KnGxz BQwhkG4YfJWNYcFmwSvjb6ZGIF3i6C/4xOIKWQ0GXDddENomP/KKJg3eSLw+K18Kb4Xd4Aa/I bn3ZwTcPMVL7Wv7eaOe4IUXb5UPQDvW01ExzqpUAcFCfZjAwTPbd3Ih9NJe2D7z1MkLE5opz/ wwmlVs47h1SP00htERIt70n7Ap+SaiZwsdI9qPum/1lQC8bXraB+W2dyNfeQVHo/I6UHC2qi3 7shKVj0p/4U5aW9LQjNRoXrymVYggiqk+RDkotlsCOstsuIe76zNuVbI1HgJ3l4xVjjo= Received-SPF: none client-ip=212.227.17.13; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham 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: Paolo Bonzini , David Hildenbrand , Laurent Vivier , Peter Xu , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" This series fixes the reboot of the virt-m68k machine by correctly initializing the start address and fixing the ELF kernel image. The two first patches were already sent last year and never merged: https://patchwork.kernel.org/project/qemu-devel/cover/20210429141326.69245-1-laurent@vivier.eu/ Thanks, Laurent Laurent Vivier (2): hw/elf_ops: clear uninitialized segment space m68k: virt: correctly set the initial PC Philippe Mathieu-Daudé (1): exec/memory: Extract address_space_set() from dma_memory_set() include/exec/memory.h | 16 ++++++++++++++++ include/hw/elf_ops.h | 13 +++++++++++++ hw/core/loader.c | 4 ++++ hw/m68k/virt.c | 22 +++++++++++++++++----- softmmu/dma-helpers.c | 15 +-------------- softmmu/physmem.c | 19 +++++++++++++++++++ 6 files changed, 70 insertions(+), 19 deletions(-)