From patchwork Sat Oct 5 16:54:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 175272 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp2202915ill; Sat, 5 Oct 2019 09:55:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqyI1HrkqkwrbHzZIq31NXeiiaqWT0lpEFy/ZoLHNsMi/J4eg8tSBWBqLNKEO4yt2tpZQr73 X-Received: by 2002:a17:902:74cb:: with SMTP id f11mr21687812plt.5.1570294543865; Sat, 05 Oct 2019 09:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570294543; cv=none; d=google.com; s=arc-20160816; b=zjZxTu6sSRuU6LDhKLCg2cq/TTDJMU546rjVyQjJQ74XAruLMX5qf8Rq9iJuommvMK v2tt5NKjTO50cBnf2SpWVm7IiQTs/kHuNudeEIu3oy3owXqFOnmcbPKCy+Y0amBR49hR vb5F02Mr5QbEB30Ggl5izQDgckchrDTF7tDiqK8d6cAzpxKiL1JiPXmSaX0kHltKxnBX rfKXmQ83GE9vpBPSIpLot+Y4MIfWWFoqtQNzgM/bUy4GBOUfFc3lNdd7BJOTtHdf9MSr gISRzPTFw0Sjf90VtdyVDOh/2YqcoF9LlxmbQBCPLD5DHgIjFDYbtLM/mXACc+erMDvg /oAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=zAsUKe6lx7pU3gtCumWBQ2juH3F+aI5Sv6IEk9/9tqY=; b=vbnoL0zE90Vq2yjNPZLjisONemBPwhZgINqy237XQsWmDJdbPQtVGvVBuz3zLKM3sw 7hy3oSsM1hvqaSpbQczsKLP/MoflNRov+/aPMqpbPiU//9ya59AMq81qrZJwmGwiouND 500b7wHRvwaEv1L4Kc1hCYB3joy8TEhv9usSmiJEir20oJ18PrjqVfBfXLBFzXyZGSGT RZYu2jvNqpi9muiqTK6qI+540ANoB0m3WSzOVaxVUIo6BydWZ8D/eK3YZs9V3gtwP/96 pTnokEbVmKigvdvfH+lcR2yA/XCdTv0AaDKomOBU8ES6wn49p+csPl4cLCwIEnqVCMS6 GeVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=f8YQuDUw; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id z17si8853192pjt.3.2019.10.05.09.55.43; Sat, 05 Oct 2019 09:55:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=f8YQuDUw; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0D7447E507; Sat, 5 Oct 2019 16:55:38 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mail.openembedded.org (Postfix) with ESMTP id 2CBBF7DF61 for ; Sat, 5 Oct 2019 16:55:17 +0000 (UTC) Received: by mail-pg1-f176.google.com with SMTP id z12so5535350pgp.9 for ; Sat, 05 Oct 2019 09:55:18 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=atTOWQ9GWeYgNtl2YS3CrbZxyiBz5MTH7KM6faX0Di8=; b=f8YQuDUwVZ2MYqZDR6v5gULlEu2x/rqeC9q/UHvUfr4BA6TJ0GgBhl4onBSfKMJass x2V9/ewn9JPgEAH9F9nuU8O9xPovqE3z5GvPpcR+Hj6SR7f5Ju7R9P/LoTcIIjN3JUG7 NamdjxZXCCFoBp111dkXTzXXpjZz4xM/qWaC+/dnPvjfC68J5nu6LY8gu848LI5eUMgV c9O+UaV/ccoII+ixBn3KapBdvV+go4QTUOxzM6eHEEIyTe68W2OwUviHwgtNX4WhauoB ZgXWQnqKTQk37dJma98bgP9cW7gFU5Xk1K9REVgtsC1G6Jji+AYiKMjx2AUTLBrUY41a c8TA== 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=atTOWQ9GWeYgNtl2YS3CrbZxyiBz5MTH7KM6faX0Di8=; b=SuCzufwELptO1GY35lHbL0FHyt1cwBUGGiFclyXA1tlKV44+SE1iwCQFZWLtNbpu6a /O9F0yKb2bNam7ynXyf8bg0jPcgALBkotWgqgAbH3s3aX7lpiVRQw0Eu92CHu5LorjPA KX4oUFI03RhKY3vJLOJ59iLaqpZQlneCq0waCd3mSmkpgd855LnsiK3OeYuWrF9Ml7Ju 57MevPq+IMf24uIefWt9ssb+t/ChrtAWty/3lu3q4moMZGzCJlNGIHSyri6bIj8V0OFy LJKRy0Yt270uDoaT6dl1xhf6o+rGA6Yk41dOES3gjkZeLFMfF1ZxBUex3RfygOzv4SQ7 OBCg== X-Gm-Message-State: APjAAAX4Smqj2nTkWLVEUhkhZoNQlLqTe1yDJUw5Jw8DxzlZCniS0qNd VS+vPW5MpQwjsQun5fr4CvyCtZDMZNw= X-Received: by 2002:a63:40c7:: with SMTP id n190mr21533909pga.446.1570294517605; Sat, 05 Oct 2019 09:55:17 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::7275]) by smtp.gmail.com with ESMTPSA id c64sm10648338pfc.19.2019.10.05.09.55.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Oct 2019 09:55:17 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 5 Oct 2019 09:54:59 -0700 Message-Id: <20191005165459.1363427-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191005165459.1363427-1-raj.khem@gmail.com> References: <20191005165459.1363427-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 3/3] fio: Fix build when march is armv7ve X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...ch-arm-Consider-armv7ve-arch-as-well.patch | 28 +++++++++++++++++++ meta-oe/recipes-benchmark/fio/fio_3.16.bb | 1 + 2 files changed, 29 insertions(+) create mode 100644 meta-oe/recipes-benchmark/fio/files/0001-arch-arm-Consider-armv7ve-arch-as-well.patch -- 2.23.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-benchmark/fio/files/0001-arch-arm-Consider-armv7ve-arch-as-well.patch b/meta-oe/recipes-benchmark/fio/files/0001-arch-arm-Consider-armv7ve-arch-as-well.patch new file mode 100644 index 0000000000..983a76fb6d --- /dev/null +++ b/meta-oe/recipes-benchmark/fio/files/0001-arch-arm-Consider-armv7ve-arch-as-well.patch @@ -0,0 +1,28 @@ +From 2af58909cd9f2862d1dc07836e201361a2cd8d5d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 5 Oct 2019 08:53:22 -0700 +Subject: [PATCH] arch-arm: Consider armv7ve arch as well + +Upstream-Status: Submitted [] + +Signed-off-by: Khem Raj +--- + arch/arch-arm.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/arch-arm.h b/arch/arch-arm.h +index 78cb2ebe..4f722967 100644 +--- a/arch/arch-arm.h ++++ b/arch/arch-arm.h +@@ -11,7 +11,7 @@ + #define nop __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t") + #define read_barrier() __asm__ __volatile__ ("" : : : "memory") + #define write_barrier() __asm__ __volatile__ ("" : : : "memory") +-#elif defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_8A__) ++#elif defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_8A__) || defined(__ARM_ARCH_7VE__) + #define nop __asm__ __volatile__ ("nop") + #define read_barrier() __sync_synchronize() + #define write_barrier() __sync_synchronize() +-- +2.23.0 + diff --git a/meta-oe/recipes-benchmark/fio/fio_3.16.bb b/meta-oe/recipes-benchmark/fio/fio_3.16.bb index 0db4a2e878..adab618780 100644 --- a/meta-oe/recipes-benchmark/fio/fio_3.16.bb +++ b/meta-oe/recipes-benchmark/fio/fio_3.16.bb @@ -24,6 +24,7 @@ PACKAGECONFIG[numa] = ",--disable-numa,numactl" SRCREV = "92f75708b530989fdb13b50be6604f44b80d038d" SRC_URI = "git://git.kernel.dk/fio.git \ file://0001-update-the-interpreter-paths.patch \ + file://0001-arch-arm-Consider-armv7ve-arch-as-well.patch \ " S = "${WORKDIR}/git"