From patchwork Fri May 25 14:19:10 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: 136935 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3678149lji; Fri, 25 May 2018 07:41:20 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI5h0DmhZPb0DeJH+rQEDShJ9gv+I7W57U2SqFejs4Y2vJB1UOFnnHWp1ePrXb1I6+XD6SI X-Received: by 2002:a37:a883:: with SMTP id r125-v6mr2317289qke.41.1527259280254; Fri, 25 May 2018 07:41:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527259280; cv=none; d=google.com; s=arc-20160816; b=rlqgSSpRpLrrUbdW7CIo4fpwENAjybZrVo9dg2dtkPDJHIUPV4q4d/w+G0khYZ8V4y BCdUXEgRsBaSGf1CqEG+CrPz8/sHPoMAyG5xbrYEdziLg8iw9M7dfKsbuqPfmoXx/PXP 5E0RT2hMe7lj0jmowjmr6AF+PPtwxq7iB1D0rPFHtz9DOZ6RY5yk5jTmuRjWeqX75orL IbuhfPN9EAd0xxdNhzAl9szuNkSdnZfrKK9L7qnOXcxuOsaxNZgHuklBkOuZf72t6OnU sSthmx6VzxCGtT0BmUEvpmA6nrWc9Jw7TXYeL7EE3Nk/BSL0gVOkLAu0IoJ4Llr87m1l WEAA== 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=QohshHYTl1wXjE1j14bYMFa2JpgZbJXiWEVtObpcAqA=; b=YnvV1+V85Ybk1JeLhWkuWfa4aHlQn+CvmHU+PwEqbZKKEuVH6Hq0qCcHp6YmmIjiw3 kOyWubg7wOWL5sOFXrF6JIC4pbZ+9vcw82B3o4vv08du+Nwvu9DtY6arlI4mRc3+CkBL /HSswNjNAapG13xApMVXHkgOB1o8Re5bU2aRa6x4Ja4kFir3F4pVE0xnRcvOGMgZ+0I+ Jsk0bYKYjH4Nqv8kVqyVXfH31LlxZRmVXOpzQzZvkTSVlvDvkPrK+QOqkWjZ9JziCBrn UNsQMUD8OaENoI1Cggqz9O8Y8scC0ZeYnsnnBumIeWR/BpT4ZPKxFuwg7QgmywHPKnwi 8Szg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JwBySprc; 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 d93-v6si477424qkh.339.2018.05.25.07.41.20 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 25 May 2018 07:41:20 -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=JwBySprc; 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]:44417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDuB-0002Gd-OU for patch@linaro.org; Fri, 25 May 2018 10:41:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDeL-0005lv-LV for qemu-devel@nongnu.org; Fri, 25 May 2018 10:24:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMDeK-0003vc-QT for qemu-devel@nongnu.org; Fri, 25 May 2018 10:24:57 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:40873) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMDeK-0003vB-K7 for qemu-devel@nongnu.org; Fri, 25 May 2018 10:24:56 -0400 Received: by mail-wr0-x243.google.com with SMTP id l41-v6so9590976wre.7 for ; Fri, 25 May 2018 07:24:56 -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=QohshHYTl1wXjE1j14bYMFa2JpgZbJXiWEVtObpcAqA=; b=JwBySprct2G0YB8fuzC9KjfJCSuotaCZo77kyxF6pDVX26hd6l69FlPm3/fat5+IPh nB1b0OmBytBtf1iEcoNBz6ihFKwin8OJG48K/bkOHgt7rpKlcOjX0bWSoAE72PhoP9G7 1U1hW02GxmaTGCbM15+pob1bWM2uwSwW/u5b8= 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=QohshHYTl1wXjE1j14bYMFa2JpgZbJXiWEVtObpcAqA=; b=li4YM1XMKnti61iB1T8EcmW/4MOlqFNa/9qU9QyomYhfmSEkP5YwREDa+LLnDXiD2A MrEIsPP+nSocTvfIB5AX+HF0sjMvnOL5upZL3skKeQz5P3Dc4MA5j06HKOFwCDUVWopH UNgKFH8smM4bFV3QlARtUVfLspfXQ6eKkW5YwWFUotp9ovyBquA7JSVRlH6A9fKPTpBO qqT47NVWCAnN+9uDESX079Zf2NIEchCYJ0PuK5r/GCouP5KK1VHNWu2kvjDIlXLO2SNp C672ETykLnEYgPOC+LEa8u9+hSJPJUhSOoQ7rv1pu8t9ZAuzgVeaEXyI5b8T2SdcABKL ARrA== X-Gm-Message-State: ALKqPwcTITgAwEx1Sxqf23RbaBwI3EP7iMvW5KbmYUMfr2IEwtq1JPpB 3Y/VvE9yuVKgYuaui9GKlMQijQ== X-Received: by 2002:adf:eb8f:: with SMTP id t15-v6mr2608745wrn.243.1527258295575; Fri, 25 May 2018 07:24:55 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id h81-v6sm13811706wmd.0.2018.05.25.07.24.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 May 2018 07:24:53 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 91C893E08BB; Fri, 25 May 2018 15:19:15 +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 Date: Fri, 25 May 2018 15:19:10 +0100 Message-Id: <20180525141915.6497-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180525141915.6497-1-alex.bennee@linaro.org> References: <20180525133851.27161-1-alex.bennee@linaro.org> <20180525141915.6497-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 v5 44/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.0 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