From nobody Wed Feb 11 03:43:37 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) 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=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1529564112644226.94571752156025; Wed, 20 Jun 2018 23:55:12 -0700 (PDT) Received: from localhost ([::1]:53391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtUt-0006nz-S8 for importer@patchew.org; Thu, 21 Jun 2018 02:55:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVt8P-0005es-5f for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:31:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVt8O-0003jF-78 for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:31:57 -0400 Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:40757) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVt8O-0003ie-0Z for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:31:56 -0400 Received: by mail-wr0-x22f.google.com with SMTP id g18-v6so1831628wro.7 for ; Wed, 20 Jun 2018 23:31:55 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 11-v6sm4808337wmd.35.2018.06.20.23.31.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 23:31:51 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 09C543E14F2; Thu, 21 Jun 2018 07:26:09 +0100 (BST) 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=3c2PYiEtkzUbL8MovllCMD1CMKTNPnQP4Y71J9h1be4=; b=gNn8mI6IEvglMQRDpVCe5ySUq3s/YencuUYtT7ZVXKROkN8KoiFjJJ85M91lCx23yW +t8azUeDAtzUQYwrHG8KwYN5rUp9d86fuEyIkjVvKZqb0xpedbK9ppNDxS+/2loBrLRM 8yC8oYXqrX/ID2mrgbfIwR/3n58fvNav3eS2k= 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=3c2PYiEtkzUbL8MovllCMD1CMKTNPnQP4Y71J9h1be4=; b=Ej7XUABFNx4oCA4xlCuOtkNtGrlTjKb87Apwo0pq3B5Lj4+odXdnJQngrShN7RZG1d GY3XCmPZ1tIs0xR+deYdqL2wcN+4aM6CXnTpqhGf6/JPz4yBRZNo6ADECpiGIhNeY6KV SImSeGNt9zOE4l1PfSXTXT73BQzEvfTGECaZX5QLCti8yjuhYMeiHG+1bKPeWw/3CHPW K+f6g89wMQzjkHmNEbG8tC0BUODyHfbRm18QQzzC9TExaIA50MguZL+iJIr1LWRujHak Ahbt1MjnAN0CRInaxVwG1Fow8B8+vmE4ry5WWhNLmxCYZwGdPw+IlNHKdSHJtlwjRmA8 JWNA== X-Gm-Message-State: APt69E2AgIbeJa0JGIq2oJF3iDIX7zdukdWWmmpVDcS6c+nDvQyp7vtb OfGf5QytxZC0Wr5nBUUWq45yXw== X-Google-Smtp-Source: ADUXVKI4m+5fFy2eVg29iPxdNoXA8vE0FbwF/hhb+Pjt4M1Xk87I+YqteUWtrRpBhBf0hpL5nX7ipw== X-Received: by 2002:adf:87d7:: with SMTP id c23-v6mr3010684wrc.246.1529562714927; Wed, 20 Jun 2018 23:31:54 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Thu, 21 Jun 2018 07:25:51 +0100 Message-Id: <20180621062605.941-44-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180621062605.941-1-alex.bennee@linaro.org> References: <20180621062605.941-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22f Subject: [Qemu-devel] [PULL v2 43/57] 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: agraf@suse.de, =?UTF-8?q?Alex=20Benn=C3=A9e?= , richard.henderson@linaro.org, qemu-devel@nongnu.org, f4bug@amsat.org, cota@braap.org, famz@redhat.com, aurelien@aurel32.net 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_0 Z_629925259 SPT_0 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=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 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=3Ddebian-powerpc-cross +DOCKER_CROSS_COMPILER=3Dpowerpc-linux-gnu-gcc +else ifeq ($(TARGET_NAME),ppc64le) +DOCKER_IMAGE=3Ddebian-ppc64el-cross +DOCKER_CROSS_COMPILER=3Dpowerpc64le-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 (current= ly broken) +EXTRA_RUNS+=3Drun-test-mmap-4096 #run-test-mmap-65536 +else +# On PPC32 Linux supports 4K/16K/64K/256K (but currently only 4k works) +EXTRA_RUNS+=3Drun-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/Makefil= e.include deleted file mode 100644 index d71cfc9aa7..0000000000 --- a/tests/tcg/ppc64le/Makefile.include +++ /dev/null @@ -1,2 +0,0 @@ -DOCKER_IMAGE=3Ddebian-ppc64el-cross -DOCKER_CROSS_COMPILER=3Dpowerpc64le-linux-gnu-gcc --=20 2.17.1