From patchwork Fri Jun 8 12:32:58 2018 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: 137994 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp855083lji; Fri, 8 Jun 2018 06:09:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJGIfCoq+EwX8I5hsvS6i3BNRmH3CeCtItAQ0Mle0av2uHP5vOY0uuUkaOCYTarmSLfJc8b X-Received: by 2002:a37:6303:: with SMTP id x3-v6mr5007699qkb.430.1528463393021; Fri, 08 Jun 2018 06:09:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528463393; cv=none; d=google.com; s=arc-20160816; b=aW37yuQNOZeIsheQ+Eky9bHzWC7+AFZIrTKufE8s0EGoMAfe8VH9k9+eur0HjxNnx1 x85DEcv5Vv/9ILfW3K2faBGRs7q5swXXW2Rms9xhg/i4OM2oSKNwet9KKHfB9UYzn1vA 85vVa1QMM9rnvO+QOA8ku29yPQQKvA5Un6fiX1vYUgnOqiRg5ED2pJfhPRG98eUMixin CFECrbGMKzuZTM6P5qGbb7ilGn0jpGEqnB58fhziO4UumsAZwqfzo/KN5VVoV4tk4iNy 1Bmo9LxVilqCpCAyiLYo9J5BWIeUfWeBx2HTYJgd45HwTp5HZ9aUdPGo9K3zxuHXmzzU FWVw== 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:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=YtiC5hDpAdlA7hdzdRfTNt4zHcu7hoVDplFrp8k/8+c=; b=kEglPVHTZ349OTrAz/yvq1XtpBeZAdsErgEYC8Knx7BYdQ48BoX+VHDat7/DeIOX6R 7pRP6dXV7TAjdT5lWTndeWfU7KisLsz7oW7kRls/ic4rN2SnR+ctoUOzphRM9dPS9RFC Kcvu+CAh9itQNlSFJ1gMsBnbDABKx7GFF48/SmC8BdJVKyrbx/pIf32NFTDfg5fE7/lZ 5I82WB6fKsInVNdRQygq7lpsPfhDheTiKoLLxDM4zsSzGn3MI89LXgnXJiyLmK4Kb2Vj EwDT7E7KK3Na2XXLIEZv72pLaMm2oaM5vlBwy8y/bK9IKS8Yeqmk5+PZC+QKeOLgAq5u 8QCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CS5k8myl; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id u11-v6si5879094qtg.246.2018.06.08.06.09.52 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Jun 2018 06:09:53 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CS5k8myl; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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]:35558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRH9M-00060F-9d for patch@linaro.org; Fri, 08 Jun 2018 09:09:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRGfm-0005pS-GT for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:39:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRGfl-0000xg-8I for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:39:18 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:34573) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRGfl-0000wr-0Q for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:39:17 -0400 Received: by mail-wr0-x243.google.com with SMTP id a12-v6so13261990wro.1 for ; Fri, 08 Jun 2018 05:39:16 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=YtiC5hDpAdlA7hdzdRfTNt4zHcu7hoVDplFrp8k/8+c=; b=CS5k8myl2s3mbB6zFCdGtpWOGkJ5Knoyw3kKKqYtPPUo+8Fqq2eLB2FNf2Jr9jYVMK /kmiH98o6EstgOIwa2KFl4bpmY4OC4EfDpAzM3WCuZp6RJTXn0XOsU84wClseBIFQW78 wW9aC+vJC9AihzxBE1pFB50bmZdBZCo2J9GVI= 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:mime-version:content-transfer-encoding; bh=YtiC5hDpAdlA7hdzdRfTNt4zHcu7hoVDplFrp8k/8+c=; b=GFIXkYe3WpMSI/U/WYYmq/st1Qsx49++oMG0dltKgdF5859KIfT/2Q06dMP1pcPs8O 994oIUKcgBF2eu9fXRsmu4WSqrJ7axd6T7GhYHne67XsjKIqyJPkaMtIXkfDdYHAe8Bw 1ed/1yoTzA9bryIMFq1755Wh+ghXARb1rg0/Ko8nIw6HTAWz/xrDcVu+3Wf2zHMI6uRs JcWpyTanXegOKFnK9njz5A9OA5qJCMU38Md67SeSI3bgBGeIQEbN+RNWihG9x/TiobPu HHV5T74JNRKPYbkLOri/XOjYvp4+BTHiguETZFhHLnj/6iksgucueEbdBovhnL91bPql 7RUQ== X-Gm-Message-State: APt69E0bqZdj7eVuTtCu3e8sgkgeQVi8Sl1p0uJixWAvx72Z42/4KwuG sVrHq8zjeRnyInpAgygtRwwD/w== X-Received: by 2002:adf:9383:: with SMTP id 3-v6mr4784249wrp.220.1528461555940; Fri, 08 Jun 2018 05:39:15 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id a184-v6sm1651636wmf.30.2018.06.08.05.39.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jun 2018 05:39:12 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id A14213E0D45; Fri, 8 Jun 2018 13:33:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Fri, 8 Jun 2018 13:32:58 +0100 Message-Id: <20180608123307.24773-41-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608123307.24773-1-alex.bennee@linaro.org> References: <20180608123307.24773-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::243 Subject: [Qemu-devel] [PATCH v6 40/49] tests/tcg: enable building for PowerPC 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Now we have restored debian-image-powerpc-cross using Debian SID compilers we can build for 32 bit powerpc. Although PPC32 supports a range of pages sizes currently only 4k works so the others are commented out for now. We can also merge the ppc64 support under the base architecture directory to avoid too much proliferation of directories. Signed-off-by: Alex Bennée --- v5 - new for v5 --- tests/tcg/ppc/Makefile.include | 7 +++++++ tests/tcg/ppc/Makefile.target | 12 ++++++++++++ tests/tcg/ppc64le/Makefile.include | 2 -- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 tests/tcg/ppc/Makefile.include create mode 100644 tests/tcg/ppc/Makefile.target delete mode 100644 tests/tcg/ppc64le/Makefile.include -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/tests/tcg/ppc/Makefile.include b/tests/tcg/ppc/Makefile.include new file mode 100644 index 0000000000..b062c30dd3 --- /dev/null +++ b/tests/tcg/ppc/Makefile.include @@ -0,0 +1,7 @@ +ifeq ($(TARGET_NAME),ppc) +DOCKER_IMAGE=debian-powerpc-cross +DOCKER_CROSS_COMPILER=powerpc-linux-gnu-gcc +else ifeq ($(TARGET_NAME),ppc64le) +DOCKER_IMAGE=debian-ppc64el-cross +DOCKER_CROSS_COMPILER=powerpc64le-linux-gnu-gcc +endif diff --git a/tests/tcg/ppc/Makefile.target b/tests/tcg/ppc/Makefile.target new file mode 100644 index 0000000000..f5e08c7376 --- /dev/null +++ b/tests/tcg/ppc/Makefile.target @@ -0,0 +1,12 @@ +# -*- Mode: makefile -*- +# +# PPC - included from tests/tcg/Makefile +# + +ifneq (,$(findstring 64,$(TARGET_NAME))) +# On PPC64 Linux can be configured with 4k (default) or 64k pages (currently broken) +EXTRA_RUNS+=run-test-mmap-4096 #run-test-mmap-65536 +else +# On PPC32 Linux supports 4K/16K/64K/256K (but currently only 4k works) +EXTRA_RUNS+=run-test-mmap-4096 #run-test-mmap-16384 run-test-mmap-65536 run-test-mmap-262144 +endif diff --git a/tests/tcg/ppc64le/Makefile.include b/tests/tcg/ppc64le/Makefile.include deleted file mode 100644 index d71cfc9aa7..0000000000 --- a/tests/tcg/ppc64le/Makefile.include +++ /dev/null @@ -1,2 +0,0 @@ -DOCKER_IMAGE=debian-ppc64el-cross -DOCKER_CROSS_COMPILER=powerpc64le-linux-gnu-gcc