From nobody Sun Feb 8 19:56:52 2026 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1511734499505337.60332239862385; Sun, 26 Nov 2017 14:14:59 -0800 (PST) Received: from localhost ([::1]:58230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJ5CI-0003PB-Nb for importer@patchew.org; Sun, 26 Nov 2017 17:14:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJ4y9-0007Rn-JO for qemu-devel@nongnu.org; Sun, 26 Nov 2017 17:00:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJ4y1-00032u-UA for qemu-devel@nongnu.org; Sun, 26 Nov 2017 17:00:09 -0500 Received: from mail-io0-x242.google.com ([2607:f8b0:4001:c06::242]:40552) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJ4y1-00032J-Qr; Sun, 26 Nov 2017 17:00:01 -0500 Received: by mail-io0-x242.google.com with SMTP id d21so12098727ioe.7; Sun, 26 Nov 2017 14:00:01 -0800 (PST) Received: from localhost.localdomain (173-29-146-33.client.mchsi.com. [173.29.146.33]) by smtp.gmail.com with ESMTPSA id n184sm6517218itg.9.2017.11.26.14.00.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Nov 2017 14:00:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=1Pzg0ugFmn+AJy+ohyCzHJaGYX46O3pZarttnJ8Hesw=; b=S+/eUiQWY4EXFUqS4VdX6AwzELYsFG2FcZMg9og80Y+hweGWrA8U1z3HETooQgAe4v x9GYj7hQyrBQjrhL+UBfqhUq8qQ6oaa8gTP5SRrrH7i29wxpjJwjuX5Nnemvh2piipUI c/3LmVucp0XMnS+9b72AbPQYYhVS/y8A74yusvLQk7kQGGVJRK6r6sIgrwYu29yOiAcm uT7QFWkh8kOJjBJ/UbFyMx3GIcgXsJwkP6DojksqRI4H+zE4ImtWkFG0O9dnIJhpY6zR p8xgb+lk/FujNNl7BXHSRHERAJjMbDD6Dbn3RgpXVgCEUE9rKyL1j/+5f8EJ7QLLnsrZ 7TSQ== 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:in-reply-to :references:in-reply-to:references; bh=1Pzg0ugFmn+AJy+ohyCzHJaGYX46O3pZarttnJ8Hesw=; b=dbAySykmHE5GiUXzJgZzzUBuho3nKll26oRoOVXsM4DlYPOk6GhsyFkXAFymX+/r2T HVHtWXK5+Wyqlnn0FYoifrdFyv8kevNV/kM2a2fghgeWLB2apWiu0P7v54D0isRJ1vtO MGNzibQDTZLA2pjllN3ib/d8VxesCIbTFN7eYoZ3voHR7nYJszqom3MoAWwQhhKR2MIG aubh/qT9/nJDasjuslP5YYpoUslfrXvCEw9vflTZshY7dhaH/5PuKqHgNz+L1mu2npb5 3lid/nGFkDvYWt81V9d/4iljqey3Jj5GcAzoPFaUpoUq70VjkPBNwgENzRlXX5Ha8CCu mETw== X-Gm-Message-State: AJaThX4QDuqh7vFRp2YSgh/9OSJ4Y6yYHoGL95lleMN7+wGHfTCCmQH9 w0Lc5qmR49m5pkTaVn8EQcw= X-Google-Smtp-Source: AGs4zMZ8E7QEsJM7BXFInL1iz+p7QkpemGmArlMfDUuEaRTyheImZvMETNmaCuyj+7GD8EVIc7a4Ig== X-Received: by 10.107.166.3 with SMTP id p3mr38983718ioe.53.1511733601190; Sun, 26 Nov 2017 14:00:01 -0800 (PST) From: Michael Davidsaver To: Alexander Graf , David Gibson Date: Sun, 26 Nov 2017 15:59:14 -0600 Message-Id: <890b7a4e88ca271acd6f19ce20a7979fbac424ae.1511731946.git.mdavidsaver@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::242 Subject: [Qemu-devel] [PATCH 16/17] tests: run ds-rtc-i2c-test w/ ppc/mvme3100 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Davidsaver , qemu-ppc@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_6 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Michael Davidsaver Reviewed-by: David Gibson --- tests/Makefile.include | 3 ++- tests/ds-rtc-i2c-test.c | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index 56045cdf09..062d4e5b7b 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -308,6 +308,7 @@ check-qtest-ppc-y +=3D tests/boot-order-test$(EXESUF) check-qtest-ppc-y +=3D tests/prom-env-test$(EXESUF) check-qtest-ppc-y +=3D tests/drive_del-test$(EXESUF) check-qtest-ppc-y +=3D tests/boot-serial-test$(EXESUF) +check-qtest-ppc-y +=3D tests/ds-rtc-i2c-test$(EXESUF) =20 check-qtest-ppc64-y =3D tests/spapr-phb-test$(EXESUF) gcov-files-ppc64-y =3D ppc64-softmmu/hw/ppc/spapr_pci.c @@ -745,7 +746,7 @@ tests/bios-tables-test$(EXESUF): tests/bios-tables-test= .o \ tests/boot-sector.o tests/acpi-utils.o $(libqos-obj-y) tests/pxe-test$(EXESUF): tests/pxe-test.o tests/boot-sector.o $(libqos-obj= -y) tests/tmp105-test$(EXESUF): tests/tmp105-test.o $(libqos-omap-obj-y) -tests/ds-rtc-i2c-test$(EXESUF): tests/ds-rtc-i2c-test.o $(libqos-imx-obj-y) +tests/ds-rtc-i2c-test$(EXESUF): tests/ds-rtc-i2c-test.o $(libqos-imx-obj-y= ) $(libqos-e500-obj-y) tests/m25p80-test$(EXESUF): tests/m25p80-test.o tests/i440fx-test$(EXESUF): tests/i440fx-test.o $(libqos-pc-obj-y) tests/q35-test$(EXESUF): tests/q35-test.o $(libqos-pc-obj-y) diff --git a/tests/ds-rtc-i2c-test.c b/tests/ds-rtc-i2c-test.c index 0586dbd467..f7dab1863e 100644 --- a/tests/ds-rtc-i2c-test.c +++ b/tests/ds-rtc-i2c-test.c @@ -18,6 +18,9 @@ #define IMX25_I2C_0_BASE 0x43F80000 #define DS1338_ADDR 0x68 =20 +#define E500_CCSR_BASE 0xff700000 +#define DS1375_ADDR 0xd0 + static I2CAdapter *i2c; static uint8_t addr; static bool use_century; @@ -148,6 +151,11 @@ int main(int argc, char *argv[]) addr =3D DS1338_ADDR; use_century =3D false; =20 + } else if (strcmp(arch, "ppc") =3D=3D 0) { + qtest_start("-machine mvme3100-1152"); + i2c =3D e500_i2c_create(E500_CCSR_BASE); + addr =3D DS1375_ADDR; + use_century =3D true; } =20 qtest_add_data_func("/ds-rtc-i2c/set24", test_time_24, test_rtc_set); --=20 2.11.0