From patchwork Wed Sep 29 15:19:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 514857 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:4087:0:0:0:0 with SMTP id m7csp131067jam; Wed, 29 Sep 2021 08:21:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQeYJwvl1nM0i6H7Bhm2vWf8T+jz6b7MwtLILBrKwRWU8nRdbeVxTHyaO27b4TCuPmKrkO X-Received: by 2002:aa7:d303:: with SMTP id p3mr566278edq.174.1632928862658; Wed, 29 Sep 2021 08:21:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632928862; cv=none; d=google.com; s=arc-20160816; b=OR8UZ4C1UgEYV8Wnh/usYb3I4mp7BpEkr7P9ag4famskV1P60inO5CTaYULWfaSSP8 HAF7qxWrz+I+UzCWkpY5ZnvupXC9NWP3tIyIxn7+5XB3oq+DsrGRhpCq8OPXHwj9w5R1 NvItFXyuSbzRHtLi5Xei6LMrzK2jQVvs+2q4bhNDQk9bxFfaNKQWWcHHvF6IW4rfKELB jmRA14DA7DZh61iUIHy5rBDEi4bdQW7YCI0noPrLRjSScY2doNX+98Gj+uN8V765DTPo 4rNnixQtkD4GFfFSodIhpH0uP71aByJKd/OIjrzXSle+9PpLiV02QDzEDqfpe2+umr9p jABA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=7oxGSXPLHN3zfVZPFGpANoAx271VinFt1NTee7Acm8E=; b=t9jeZHGZohLlNElS/8lKT3ACY/fF30xnhSOnE0bAuvrXh80cLiZyxQgcUDTn9UIKU8 K42RlfDC0EsVJwf2jhYEW0hKRljlL33980vF8yWrsuWu1BaP9mBdZvdU9YVyBLczVTCJ XAa00JZcBeFQbg6ZhA9PIgS69bENNnCKAvH3xSHPBAtG4jaSoLNY98gnMcVh5cyg9tTO nz7doGy534hm3k3kl3SagZkbp3NoDlxh6J2pNYgsYgLJBsobsY5baVmo0JAn9ik1bldX lNlkeP2wVcccCA4n09xlpzbuKe/EejGijDA2b+fZZWsfFJlovfvPn2+rwDfRFE7nMzSu 375w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=klTJ2tpP; spf=pass (google.com: domain of linux-kselftest-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kselftest-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w8si263244ede.307.2021.09.29.08.21.02; Wed, 29 Sep 2021 08:21:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kselftest-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=klTJ2tpP; spf=pass (google.com: domain of linux-kselftest-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kselftest-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345067AbhI2PWm (ORCPT + 5 others); Wed, 29 Sep 2021 11:22:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:33198 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345050AbhI2PWm (ORCPT ); Wed, 29 Sep 2021 11:22:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 59781613D0; Wed, 29 Sep 2021 15:21:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632928860; bh=0laa9Q9iEd73V8q37+sSzQnxV7PEKjUrKEAHxjP+ib4=; h=From:To:Cc:Subject:Date:From; b=klTJ2tpP8uAqqs4LxOvwwTUyKpPJXgbSeQbLpUziegI2WF7Qh8BsuayYzWbBD/8L2 XAki/g2lrqvfdWoiuQykC5dT6ZRqQw8f+bgFuKkhws5SbMjz+6DZUAro1kE1j1BIo/ m5ktIPf+EAFmSF8jIsW5bsiZmXec9R2APSOR/Oi0zlK8gXfVdfehnqCo1CFmXV6b5L NVzA0Jo48ExiWFfQmNzEgpjGRKbFpgLJm0jdU+3pZH/g17CnawRhrFsZriWl9gX/t1 ntRXrLw56Zts42zgQEFAQVeFDi9br19Y4TCBEIA9GXd+ofJ0T95+0X9/ZX0YSunWkl VxCERfNqs3jJA== From: Mark Brown To: Catalin Marinas , Will Deacon , Shuah Khan , Shuah Khan Cc: linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, misono.tomohiro@fujitsu.com, Mark Brown Subject: [PATCH v3 0/4] selftests: arm64: vec-syscfg updates Date: Wed, 29 Sep 2021 16:19:21 +0100 Message-Id: <20210929151925.9601-1-broonie@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1116; h=from:subject; bh=0laa9Q9iEd73V8q37+sSzQnxV7PEKjUrKEAHxjP+ib4=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBhVIP42b1nIW6DP8taU4r9aeRYPBKTeks6COsuV6WW X7rjmgOJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYVSD+AAKCRAk1otyXVSH0FPVB/ kByW8j8MYoIflFMF7eoE9doo3WKtvoAHu8j3TkwVXRXXd0/qQSxCllPwpRu0EIKpHW0k/rpiKfcD/V W1yw2S0bj0iS09ATILN09vbsnoq4iMSXXNMR8rlniq8QMwXm0bem8M1TutiemTc9rmtE8tPNfPvl6i R+9HbsFRVF+K6diEvIk6ZupUr/4iUPIVS/mq0e+r4CbVrduMxb+zKRXHiDzQNnVgz8PVH/ZPzOTq8K KfQlbO3dhVEAyj/8jvUILWobPKgMtEMREm/msOr2jqlAoYgJ41VMs2zxZIBEA5AC/2qouo6BMpoUlT R2kzETFY8U0AjeqXNPhloqvZuieQOU X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org This series fixes up a few issues introduced into vec-syscfg during refactoring in the review process, then adds a new test which ensures that the behaviour when we attempt to set a vector length which is not supported by the current system matches what is documented in the SVE ABI documentation. v3: - Rebased onto v5.14-rc3. - Check to see if we discovered the system vector lengths before trying to set all possible vector lengths since we need that information to validate the results. v2: - Fix handling of missing VLs when checking that vector length setting works as expected. Mark Brown (4): selftests: arm64: Fix printf() format mismatch in vec-syscfg selftests: arm64: Remove bogus error check on writing to files selftests: arm64: Fix and enable test for setting current VL in vec-syscfg selftests: arm64: Verify that all possible vector lengths are handled tools/testing/selftests/arm64/fp/vec-syscfg.c | 95 ++++++++++++++++--- 1 file changed, 82 insertions(+), 13 deletions(-) base-commit: 5816b3e6577eaa676ceb00a848f0fd65fe2adc29 -- 2.20.1