Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp126525pxx; Tue, 27 Oct 2020 23:51:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJww9KGixyBvzZqgl8ug6UDjactTAi5joQMdT+KLpJOU/v1g/75AQKbyiAspg0GbiezpmklF X-Received: by 2002:aa7:dc42:: with SMTP id g2mr6280433edu.11.1603867890289; Tue, 27 Oct 2020 23:51:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603867890; cv=none; d=google.com; s=arc-20160816; b=UmTp9MVLrqbf0+8G4jkqwQPvr+A7zT0rS7SR67TMfod9EqrmhMWOwbBosx0YUjU1Jl 8vJKyVo0P0wdieSyTbinZ9w4Ee7VrWFIP5Xjgm8PKUaak9UZfuf0Lu2TiSk6veOsdrKS 10k7+HVdy9zgOu3pv353/hkpw8YmSF4ncuDi5unb7C9WCsHokvsCsCCnS2N0w6uXFYo2 VB9fhqtjiMLlUXIfCC1ymR+W1Whbv0/AwEg55QdPN2eZhgf4q/UB/xCQNJQqJ9oeAXub 4ufGe2RIc2S2FVMx9cu8Brf/ca+dZ3cGOo6LglCe7113IPvX+JnSruc1n/rTlTKxcOts /0uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=8U2Sn2+VF8BZ471gQ+WKG9BxRbVN2Ei9bR+qlJ2QBF8=; b=bCljl/QzNTXKxRG0oadeWJGkhdb5pWKlUQxDODezqKAE/2rhVrjHpuJGK8PxB3IFYy biFWHpgXv8w6Vls4rt+2a3hA5mn5CefBbU0d2arum/ZQfPO+E+lzWqVw3vnSxUdUaN4n IiCvG3XWiAAspHGITOrxAwSwXruBGpDatncDT7SVRkF+KN0TQw3vPALB5/OiZJEpCfhG nkSmEBkqyjT5fjttOrXOP1mAJKls/QxWeGSBSeyi8Fj1zHaoUy6/PrEk0MUpFUoZwLQm ULOpJKiWfsl7tdg61pfh605PezbEcbCcw9emi6NKaC+eY7JJPEDRA+CNQjdjOu+FnfLO awtQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y20si2582811edv.92.2020.10.27.23.51.08; Tue, 27 Oct 2020 23:51:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2898102AbgJ0K1N (ORCPT + 99 others); Tue, 27 Oct 2020 06:27:13 -0400 Received: from foss.arm.com ([217.140.110.172]:37612 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2898092AbgJ0K1M (ORCPT ); Tue, 27 Oct 2020 06:27:12 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1F84530E; Tue, 27 Oct 2020 03:27:12 -0700 (PDT) Received: from [10.57.11.195] (unknown [10.57.11.195]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2ED633F66E; Tue, 27 Oct 2020 03:27:08 -0700 (PDT) Subject: Re: [PATCH 2/6] kselftest/arm64: Fix check_tags_inclusion test To: Vincenzo Frascino , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Cc: Shuah Khan , Catalin Marinas , Will Deacon , Gabor Kertesz References: <20201026121248.2340-1-vincenzo.frascino@arm.com> <20201026121248.2340-3-vincenzo.frascino@arm.com> From: Amit Kachhap Message-ID: <4783a06c-f9a1-73fa-9cf3-73f8e258989d@arm.com> Date: Tue, 27 Oct 2020 15:57:06 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20201026121248.2340-3-vincenzo.frascino@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/26/20 5:42 PM, Vincenzo Frascino wrote: > The check_tags_inclusion test reports the error below because the test > plan is not declared correctly: > > # Planned tests != run tests (0 != 4) > > Fix the test adding the correct test plan declaration. This change is required and got missed earlier. Acked by: Amit Daniel Kachhap > > Fixes: f3b2a26ca78d ("kselftest/arm64: Verify mte tag inclusion via prctl") > Cc: Shuah Khan > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Gabor Kertesz > Cc: Amit Daniel Kachhap > Signed-off-by: Vincenzo Frascino > --- > tools/testing/selftests/arm64/mte/check_tags_inclusion.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tools/testing/selftests/arm64/mte/check_tags_inclusion.c b/tools/testing/selftests/arm64/mte/check_tags_inclusion.c > index 94d245a0ed56..deaef1f61076 100644 > --- a/tools/testing/selftests/arm64/mte/check_tags_inclusion.c > +++ b/tools/testing/selftests/arm64/mte/check_tags_inclusion.c > @@ -170,6 +170,9 @@ int main(int argc, char *argv[]) > /* Register SIGSEGV handler */ > mte_register_signal(SIGSEGV, mte_default_handler); > > + /* Set test plan */ > + ksft_set_plan(4); > + > evaluate_test(check_single_included_tags(USE_MMAP, MTE_SYNC_ERR), > "Check an included tag value with sync mode\n"); > evaluate_test(check_multiple_included_tags(USE_MMAP, MTE_SYNC_ERR), >