From patchwork Fri May 5 05:05:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fathi Boudra X-Patchwork-Id: 98599 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp17451qge; Thu, 4 May 2017 22:06:10 -0700 (PDT) X-Received: by 10.84.224.10 with SMTP id r10mr38026945plj.25.1493960770427; Thu, 04 May 2017 22:06:10 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f21si4251985pfk.205.2017.05.04.22.06.09; Thu, 04 May 2017 22:06:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755091AbdEEFF6 (ORCPT + 25 others); Fri, 5 May 2017 01:05:58 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:34049 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751030AbdEEFF4 (ORCPT ); Fri, 5 May 2017 01:05:56 -0400 Received: by mail-lf0-f52.google.com with SMTP id 99so2115658lfu.1 for ; Thu, 04 May 2017 22:05: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; bh=L+OwtKSAgNzT/oIUciRve9SL5ehQIwnRk8zA7YPRhSk=; b=O3ec0LpI4G0VbX2UfyRQEcWXN8HYUARnqZZV1o7Cd04mgLL0x7SmczyGJkDWlC2g5l KXNWtNQhVRQ9fBdTg+vZk99gGvrey6GSjGTAUWJBpTGD0nHrQS52+8hq7xG8MK15k2XL nbS2d4tz7hniGPE2MkkX+a2yWEx5j1egteudA= 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; bh=L+OwtKSAgNzT/oIUciRve9SL5ehQIwnRk8zA7YPRhSk=; b=P9pLmjkzD5jvhHqNrnHjMF8358/wUcgXYXHwz5u4yTAEmT+l82MtcyDjgy9qHCQQpE H0gJ9qaovRYyGDMFKI77tcBxNbGsKXumBSCbI3OKuCNFIB6PQW7tTB2XbM7XXSpgRM26 w9tFMPiSGtQq3rcRUdC693r6k9DZR+oC0OWHvq36cknE8oRWw5WfIwtpRb7X8Cq6mu/d m2+7jAjXlhez761olg8DHw76C1Kp2eirbUUJtP1lswA1jGzyBKwP7M4p89ZQRlIYJ9Kx G4/WNLMPPh9PWOC8QoY/eVDlTB6a/WdK3DSFnXzKF0Aor4Vzyocm5NICecm6GIsi1oen UdHA== X-Gm-Message-State: AN3rC/6nhJyCtHnDK/CHBP+NZ3PTAtlFa/BFRdsA8rEd+EB/7zi5pzKF 1N8KL3vTBhJMl5Yz2TSsAA== X-Received: by 10.25.21.193 with SMTP id 62mr6441446lfv.82.1493960755178; Thu, 04 May 2017 22:05:55 -0700 (PDT) Received: from localhost.localdomain (a91-156-68-16.elisa-laajakaista.fi. [91.156.68.16]) by smtp.gmail.com with ESMTPSA id m190sm809452lfm.45.2017.05.04.22.05.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 May 2017 22:05:53 -0700 (PDT) From: Fathi Boudra To: linux-kselftest@vger.kernel.org, Shuah Khan Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Emilio_L=C3=B3pez?= , Sumit Semwal , Fathi Boudra Subject: [PATCH 1/1] selftests: sync: add config fragment for testing sync framework Date: Fri, 5 May 2017 08:05:50 +0300 Message-Id: <20170505050550.30102-1-fathi.boudra@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Unless the software synchronization objects (CONFIG_SW_SYNC) is enabled, the sync test will fail: Additional Information: Running tests in sync -- 2.11.0 ======================================== [RUN] Testing sync framework [RUN] Executing test_alloc_timeline [ERROR] Failure allocating timeline [RUN] Executing test_alloc_fence [ERROR] Failure allocating timeline [RUN] Executing test_alloc_fence_negative [ERROR] Failure allocating timeline [RUN] Executing test_fence_one_timeline_wait [ERROR] Failure allocating timeline [RUN] Executing test_fence_one_timeline_merge [ERROR] Failure allocating fences [RUN] Executing test_fence_merge_same_fence [ERROR] Failure allocating timeline [RUN] Executing test_fence_multi_timeline_wait [ERROR] Failure merging fence from various timelines [RUN] Executing test_stress_two_threads_shared_timeline [ERROR] Failure allocating timeline [RUN] Executing test_consumer_stress_multi_producer_single_consumer [ERROR] Failure merging fences [ERROR] Failure creating fence [ERROR] Failure creating fence [ERROR] Failure creating fence [ERROR] Failure creating fence [ERROR] Failure creating fence [RUN] Executing test_merge_stress_random_merge [ERROR] Failure creating fence [FAIL] sync errors: 10 selftests: sync_test [FAIL] Add a config fragment with the relevant configuration required in order to run the sync test. Signed-off-by: Fathi Boudra --- tools/testing/selftests/sync/config | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tools/testing/selftests/sync/config diff --git a/tools/testing/selftests/sync/config b/tools/testing/selftests/sync/config new file mode 100644 index 000000000000..1ab7e8130db2 --- /dev/null +++ b/tools/testing/selftests/sync/config @@ -0,0 +1,4 @@ +CONFIG_STAGING=y +CONFIG_ANDROID=y +CONFIG_SYNC=y +CONFIG_SW_SYNC=y