From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00D47C433E6 for ; Mon, 31 Aug 2020 21:47:14 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BD1C82083E for ; Mon, 31 Aug 2020 21:47:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pYredtLW"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="HCYX9svx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD1C82083E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wbELOaS2hAHVy9USnIoA9hdvtEVCc5iD46J/m82+G1E=; b=pYredtLWxirwb0g5nU3THZJie FXIlAQUoJevr0OvPy4bhpzEHFYAAPY/0RZtatR+Rzy5teuoCb3eUOwA3ZVeVltZzFCjT9eXNXP4Qu FcHmwKZq5C9GMOA8Xw37OhRCovjqkavQDVAoNYS/qbdor4ds4CAKGlPt3vr+ONaytAHpnorcI9fXL iVzmAUw5QEKCsZrbdXq3dM4Mr68YifFcb+BgxOitRqzrbqxpDHV7ELrQpZzQTnMnI+J5sFQ360U1v zyPqtv5CbCmgyBCJXifJ3RtiDhxKZwj977EV0acSztIvJx9abYaYkHoXKWnvZdQq8Y3vcEGamDafY +FXiDP7ow==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kCrcf-0002cG-Iw; Mon, 31 Aug 2020 21:45:53 +0000 Received: from mail-io1-xd42.google.com ([2607:f8b0:4864:20::d42]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kCrcb-0002bR-UW for linux-arm-kernel@lists.infradead.org; Mon, 31 Aug 2020 21:45:51 +0000 Received: by mail-io1-xd42.google.com with SMTP id d18so7614236iop.13 for ; Mon, 31 Aug 2020 14:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=UHJyRFWfVCm6/zA6iOuXzbpaEsb6fqlByWRhLG6G4Ks=; b=HCYX9svxLV++H11XWPbK+Uv9kFI7bhxV52zcCRBX5i6g7xMgPw8jwkhm/LycsHANGs GKcoFofSPdNfkEFFfRDrfgDQ1hahrGryypGbiPwkXQJXxeGEUTyEwR1Wf+OV6o6wB8HY DCHedhzu1AD/2nwfHFAay9Mx5/9bz9kWDaYAc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UHJyRFWfVCm6/zA6iOuXzbpaEsb6fqlByWRhLG6G4Ks=; b=mzpr63PgbfdO91y4rztv35hztsLl3iTrvbR//e077HCbLnUmG05bvDjmkytJNIwzA2 uvYGYbk7OJiIynQlUCBhw5Rwdw4tln5VYo7XgYwSOrRoKqf5T4Wsjw4pPfszqo2gQ4GV HvsPNOesRyemGLMwdnxU9qAacT2+4imdSefkrGwWf1+BledfWczhkrkiZqyK1/C9YpIU PqiZAHSChxL2aDDizG3LGNX6xFxfK6De+3SuQR0/bqs4bXWQcNA34oAyZOBlE7fMm1Q8 ZuTpaswqloI6BAvD3FcW0AegO74i7RVZ/D8sh6RtctrCNlI30RaPQZommO9R6t6gZpbR 2FHg== X-Gm-Message-State: AOAM533UBkcLzcAWUHwnHWIuO5fw9c5SuGqL8RZ73Y3x0FsAAbtRHeiQ YuvhMu3UuylY0FP9y2joSf0zDQ== X-Google-Smtp-Source: ABdhPJzqVk5jRxl0P6uTanndD+W0euKg7bSlYk0S0EevAfybEpJf3ZyBwZlAzqNnfS0f0OQEn/MaiA== X-Received: by 2002:a02:749:: with SMTP id f70mr3024220jaf.82.1598910348332; Mon, 31 Aug 2020 14:45:48 -0700 (PDT) Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id r3sm4619394iov.22.2020.08.31.14.45.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Aug 2020 14:45:47 -0700 (PDT) Subject: Re: [PATCH v2 0/6] selftests: arm64: Add floating point selftests To: Mark Brown , Will Deacon , Catalin Marinas , Shuah Khan , Dave Martin References: <20200819114837.51466-1-broonie@kernel.org> From: Shuah Khan Message-ID: Date: Mon, 31 Aug 2020 15:45:46 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200819114837.51466-1-broonie@kernel.org> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200831_174550_027120_B759BC83 X-CRM114-Status: GOOD ( 22.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, "skh >> Shuah Khan" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 8/19/20 5:48 AM, Mark Brown wrote: > This series imports a series of tests for FPSIMD and SVE originally > written by Dave Martin to the tree. Since these extensions have some > overlap in terms of register usage and must sometimes be tested together > they're dropped into a single directory. I've adapted some of the tests > to run within the kselftest framework but there are also some stress > tests here that are intended to be run as soak tests so aren't suitable > for running by default and are mostly just integrated with the build > system. There doesn't seem to be a more suitable home for those stress > tests and they are very useful for work on these areas of the code so it > seems useful to have them somewhere in tree. > > v2: Rebased onto v5.9-rc1 > > Mark Brown (6): > selftests: arm64: Test case for enumeration of SVE vector lengths > selftests: arm64: Add test for the SVE ptrace interface > selftests: arm64: Add stress tests for FPSMID and SVE context > switching > selftests: arm64: Add utility to set SVE vector lengths > selftests: arm64: Add wrapper scripts for stress tests > selftests: arm64: Add build and documentation for FP tests > > tools/testing/selftests/arm64/Makefile | 2 +- > tools/testing/selftests/arm64/fp/.gitignore | 5 + > tools/testing/selftests/arm64/fp/Makefile | 17 + > tools/testing/selftests/arm64/fp/README | 100 +++ > .../testing/selftests/arm64/fp/asm-offsets.h | 11 + > tools/testing/selftests/arm64/fp/assembler.h | 57 ++ > .../testing/selftests/arm64/fp/fpsimd-stress | 60 ++ > .../testing/selftests/arm64/fp/fpsimd-test.S | 482 +++++++++++++ > .../selftests/arm64/fp/sve-probe-vls.c | 58 ++ > .../selftests/arm64/fp/sve-ptrace-asm.S | 33 + > tools/testing/selftests/arm64/fp/sve-ptrace.c | 336 +++++++++ > tools/testing/selftests/arm64/fp/sve-stress | 59 ++ > tools/testing/selftests/arm64/fp/sve-test.S | 672 ++++++++++++++++++ > tools/testing/selftests/arm64/fp/vlset.c | 155 ++++ > 14 files changed, 2046 insertions(+), 1 deletion(-) > create mode 100644 tools/testing/selftests/arm64/fp/.gitignore > create mode 100644 tools/testing/selftests/arm64/fp/Makefile > create mode 100644 tools/testing/selftests/arm64/fp/README > create mode 100644 tools/testing/selftests/arm64/fp/asm-offsets.h > create mode 100644 tools/testing/selftests/arm64/fp/assembler.h > create mode 100755 tools/testing/selftests/arm64/fp/fpsimd-stress > create mode 100644 tools/testing/selftests/arm64/fp/fpsimd-test.S > create mode 100644 tools/testing/selftests/arm64/fp/sve-probe-vls.c > create mode 100644 tools/testing/selftests/arm64/fp/sve-ptrace-asm.S > create mode 100644 tools/testing/selftests/arm64/fp/sve-ptrace.c > create mode 100755 tools/testing/selftests/arm64/fp/sve-stress > create mode 100644 tools/testing/selftests/arm64/fp/sve-test.S > create mode 100644 tools/testing/selftests/arm64/fp/vlset.c > Will, Patches look good to me from selftests perspective. My acked by for these patches to go through arm64. Acked-by: Shuah Khan If you would like me to take these through kselftest tree, give me your Acks. I can queue these up for 5.10-rc1 thanks, -- Shuah _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel