From patchwork Thu Jun 14 09:57:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 138532 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1896169lji; Thu, 14 Jun 2018 02:57:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJfQyA1yWCx5IKHr4rFwTp0WPLMDzMkakF4JDN04vagVq2VcTf/Qr2dGakw03YHEdGuR6MQ X-Received: by 2002:a17:902:981:: with SMTP id 1-v6mr2272739pln.11.1528970249655; Thu, 14 Jun 2018 02:57:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528970249; cv=none; d=google.com; s=arc-20160816; b=p26YrD1z2FxsAi7MTvWJ2+vwqufjrWq7hll6Fprsj/u0P43OKP98Vcx6TwPQVuG52U yNsBwPVJovMC2aEHat8WfRUXdTcFA3t6slgDuKadHE24boCxGoXI+i0PWG7IXNOhV4a3 50drCmhs0aVmE9//AVGJqdNREC5j3jEbE70igDJSAuFfi7ExR8n7Sf1lq18S34y9s5UU 8rA/XrlAoLGvTFKqvroXqfZ/kcUTUlcfc3CbEsBowid/PCEajyzs5EESJJljh7cV6uEP 5ZrZelNZBrq/++CfHWD9Z1aCRCMHhPEusKuMvME0FBdKoTG/245RCkJp4uzUTocy7wSh 67ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=yAsqvOE4YE4eGK8LdxFdK1v7y2AA9dYScZLkNbVtZSA=; b=cZUAC22y/W3O659UueFXlQpkug8+c9hCmW7DESTC6W1os+h1F+hMCfD/zEEdGXFPll ERUTf9fqDJ7jiybeKJ2hDIVABpEWECMOxdw/nVVE58lSW94+PstEijS51zmyq/LH9sNJ cgrqapod7G99MHWLNU6kh88xEZcuoSgHwoKIw3WdiVZoQQxJyAyHdUtCE4QYn0fqeH5K pCsv+ARis1h0Ae0/0Q7oxwjgeu0bSmNKoB+Z6+2c2bSStuZDfre9r5KBgGmiD4WNerj0 E+hg9pqJue5aGK8sudaob61sQqai3lH+IVk2lJeg9jX9YiPBJstfNiCRmtRjgGXv96do AyKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Sc6CRvCM; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k8-v6si4288147pgc.182.2018.06.14.02.57.29; Thu, 14 Jun 2018 02:57:29 -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 header.s=google header.b=Sc6CRvCM; 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 S1754821AbeFNJ51 (ORCPT + 30 others); Thu, 14 Jun 2018 05:57:27 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:42345 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754665AbeFNJ5Z (ORCPT ); Thu, 14 Jun 2018 05:57:25 -0400 Received: by mail-lf0-f67.google.com with SMTP id v135-v6so8440078lfa.9 for ; Thu, 14 Jun 2018 02:57:24 -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=yAsqvOE4YE4eGK8LdxFdK1v7y2AA9dYScZLkNbVtZSA=; b=Sc6CRvCM9XhIBM5E/9m9KzqmB8UTIqaJ/YKhc1BM6/5FhaS0lvry47+8IOpxbMf6vB PuvrXahlsyPDDbL0/M9n6VzxzzRbHd8txOxXh7AZDqlb8j7+KfKxTsHGm3oEJMnCn/sv VnHXt4cPCT1mLRa2oEp4QJsvRke0oCd2SHeBw= 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=yAsqvOE4YE4eGK8LdxFdK1v7y2AA9dYScZLkNbVtZSA=; b=Qjb5sU1s01om3K/+THsOB9dxqGT42YYzSpxl+UKn23jPobqUFEomo4aPe/RUshWFDE Ha6H3KFH1Z4NjY8KLkoO7Bci1Y20pkmrxkCTkwjY0rU3Cqob02UL5yGDLCfaTeSMesiP bcC/70MNqXqNsSoXR1eDcJvDgygJgp4n4Ve6mIRDTrOz+hhgO6czrtM8L8Vz9QmP45fa l9vM9AadU9tt4rygyUbbyW6e1xoKkYxEvvKUOotC1lSBGT8etMyd6W4SI6Mm6qdKUdn3 kQkz+UoyPWPjhRigL8t7wg668IdiiOyNwRN8HGAUSLXCZ8CpQgvCN/cHvUXOY6ffU5Fq 2g/Q== X-Gm-Message-State: APt69E3S/Lm2wOv63Nrwir2CgukfLXGYMw3sWsArQ8SY4BcmnKxs0HTh ooBfE3fFG0MnQMnuYDCl7JwE6Q== X-Received: by 2002:a19:1460:: with SMTP id k93-v6mr5820380lfi.23.1528970243860; Thu, 14 Jun 2018 02:57:23 -0700 (PDT) Received: from localhost (c-4c3770d5.07-21-73746f28.bbcust.telenor.se. [213.112.55.76]) by smtp.gmail.com with ESMTPSA id c20-v6sm884892lji.82.2018.06.14.02.57.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Jun 2018 02:57:22 -0700 (PDT) From: Anders Roxell To: shuah@kernel.org Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Fathi Boudra , Anders Roxell Subject: [PATCH v2] selftests: sync: add config fragment for testing sync framework Date: Thu, 14 Jun 2018 11:57:08 +0200 Message-Id: <20180614095708.27645-1-anders.roxell@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 From: Fathi Boudra Unless the software synchronization objects (CONFIG_SW_SYNC) is enabled, the sync test will be skipped: TAP version 13 1..0 # Skipped: Sync framework not supported by kernel Add a config fragment file to be able to run "make kselftest-merge" to enable relevant configuration required in order to run the sync test. Signed-off-by: Fathi Boudra Link: https://lkml.org/lkml/2017/5/5/14 Signed-off-by: Anders Roxell --- tools/testing/selftests/sync/config | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tools/testing/selftests/sync/config -- 2.11.0 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