From patchwork Tue Dec 3 12:27:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiang Zheng X-Patchwork-Id: 1203667 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=huawei.com 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 ozlabs.org (Postfix) with ESMTPS id 47S1b30xs6z9sRR for ; Tue, 3 Dec 2019 23:32:31 +1100 (AEDT) Received: from localhost ([::1]:52688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ic7Lw-0000Dn-0X for incoming@patchwork.ozlabs.org; Tue, 03 Dec 2019 07:32:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48812) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ic7JL-00083A-As for qemu-devel@nongnu.org; Tue, 03 Dec 2019 07:29:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ic7JJ-0003f9-Ls for qemu-devel@nongnu.org; Tue, 03 Dec 2019 07:29:46 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:40888 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ic7JC-0003Q6-Fn; Tue, 03 Dec 2019 07:29:39 -0500 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 493BF2DA8E0A56A3B62F; Tue, 3 Dec 2019 20:29:31 +0800 (CST) Received: from HGHY4Z004218071.china.huawei.com (10.133.224.57) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.439.0; Tue, 3 Dec 2019 20:29:21 +0800 From: Xiang Zheng To: , , Subject: [PATCH 0/5] tests: Enable fw_cfg tests on AArch64 Date: Tue, 3 Dec 2019 20:27:48 +0800 Message-ID: <20191203122753.19792-1-zhengxiang9@huawei.com> X-Mailer: git-send-email 2.15.1.windows.2 MIME-Version: 1.0 X-Originating-IP: [10.133.224.57] X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 45.249.212.35 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: lersek@redhat.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, kraxel@redhat.com, wanghaibin.wang@huawei.com, pbonzini@redhat.com, philmd@redhat.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" There are quite a few tests disabled on AArch64 such as fw_cfg-tests. This patch series fix some problems in test code and adapt it to virt machine. Xiang Zheng (5): tests: fw_cfg: Rename pc_fw_cfg_* to fw_cfg_* tests: fw_cfg: Support read/write of fw_cfg registers on aarch64 tests: fw_cfg: Use virt as default machine in fw_cfg-test.c hw/arm/virt: Add FW_CFG_RAM_SIZE and FW_CFG_MAX_CPUS into fw_cfg tests: Enable fw_cfg test on aarch64 hw/arm/virt.c | 3 ++ tests/Makefile.include | 1 + tests/fw_cfg-test.c | 113 ++++++++++++++++++++++++++------------- tests/hd-geo-test.c | 6 +-- tests/libqos/fw_cfg.c | 17 +++++- tests/libqos/fw_cfg.h | 20 +++++-- tests/libqos/malloc-pc.c | 4 +- 7 files changed, 115 insertions(+), 49 deletions(-)