From patchwork Fri Sep 17 12:08:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 514171 Delivered-To: patch@linaro.org Received: by 2002:a17:906:f46:0:0:0:0 with SMTP id h6csp2076103ejj; Fri, 17 Sep 2021 05:09:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyva6NjCnYRc9rjHpeXLZw2NG7+XCm4/ggJFdZ0QuGHY/zJYiRUpylcccx6rgkF8E/meoDa X-Received: by 2002:a50:c006:: with SMTP id r6mr11988409edb.289.1631880599079; Fri, 17 Sep 2021 05:09:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631880599; cv=none; d=google.com; s=arc-20160816; b=noZpZUELI1vfWOIdcPq54MC7gWS5XTMaFoFeuUcfcSU3VyOP7wYHW7VkAxvig9vf5J 85tgqX6iYTaodCjIXgE9bQz3wSgw4htDpY0K6GsajmFfRTnQlSTCSdKEVmJkrQTLqmIP sbqAZpbvg06mTYvfsKZ5udHQmN4uQ2rFBx3N41UPrkFtMjT6pZQgzXrn0KBRuNt4vMgx Ih8PhsiY+AJzEsAkBjP3nJ7sV50HlxwCSuKpdM8de0zS72J5fvs6SFxkEAGQE+IGr8yn repmU5yIH7PTt/ocSqqA+kt6ZK7h22F9aNGrMxyvwl2MaOhKzPlJ4Idt8GDS3BlRRgw0 zY0Q== 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=pcMZrR+NPTL+uJB3wD2oAxlGH59TnyQ/OO/5og12nyU=; b=hidT315Z8dMm4EMP2jC9D5erHw3i9TjfJhLsPpkieh+8GjR0AgEXT9WneLgnkadCVc gf8BTO5xPcjUpp/LGk/nSWDSSSPxv6Nkmiv6tfQ9VgM6CrGYSVTr94YfuQs88MthD31D LLjSUykBK4XMLMYIaeDr6aMmZW4JKuGrecNHTVcsGS4EwvYHPdKKJjaWtV/LFfpm3aN2 SsV4poP7V9n1UGNCEIsg8GvDjfRwq/+Lz/yyw33kI0pAp5I/zf26gJJqyHsh/0ZxsUu3 CZ2c0XdX3qzZMXB3uBt76HwwsbrO/8+0WTxuWgNXUBWVdLLjtSqxAK5Nhd32lVzTfwxE BqlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NvSjDT0T; 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 p31si8992252edb.554.2021.09.17.05.09.58; Fri, 17 Sep 2021 05:09:59 -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=NvSjDT0T; 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 S229462AbhIQMLU (ORCPT + 5 others); Fri, 17 Sep 2021 08:11:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:47990 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbhIQMLT (ORCPT ); Fri, 17 Sep 2021 08:11:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3FE2F60187; Fri, 17 Sep 2021 12:09:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631880597; bh=eqg/nDhFJayhUYdR3eTgL9JXj5aAu9NgVnQhmHor+MM=; h=From:To:Cc:Subject:Date:From; b=NvSjDT0TZatazYAOK421dNGJza2GvUpVfqtqnBsHUGy/0llYhEMaHi+lIIIPiEHmV eD2zUr9qzNaNtbMKzSbzyXaSxkQ/i9JxbSUVjO5w6zdIFWOXR9JGsnKjQ/3tAD9XDe s3ae29F2gc5N7z0hYAvpycuYXRM075Dcj3opyexIvv7mC2HMf5hv2ORccAJPZgVWfT f8GBiGmhLBBCTbWnVzQPXvC2c+fzO1Gph/xAqvIVx1PHd0VSzJYjWdW10Wi0M3neJp urEa1b3CtxSLir5diJ7U0y9m0ElpPFJ3x5b/quEUajRW8hZPseQ6nel94qwcerfZiD vr0yAXfDzSbjA== 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 v2 0/4] selftests: arm64: vec-syscfg updates Date: Fri, 17 Sep 2021 13:08:51 +0100 Message-Id: <20210917120855.13858-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=910; h=from:subject; bh=eqg/nDhFJayhUYdR3eTgL9JXj5aAu9NgVnQhmHor+MM=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBhRIVRICuTTOTtT5mOuYFGcjIkmsm4ibuRsYG9ZoO6 6sSThDyJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYUSFUQAKCRAk1otyXVSH0D7JB/ 95WoFMZVB393/u8DprskS8KjRsaBJsVgufi4niZEuSU/b+sah766hvmHpkVjsApRhR0YZ3QekMlah/ WLhMXuLQuHtYysky4uhWt3DjOYl8Jvfnzkdfr0YnGnXHOKDDTG7hOGorRTGFZEUbcN2ZBGRmxSuBDh 8nDJPI7oCXHmAtX8vYDHMcdVIpFLYsWqelEe9ApfMHf8lz5X08jWxgjhHgiWrdvu7srI/umryLP7nN feIdWXhuYA1ZOhI3/uHA5v1VMZKLDk7PLlmue0JZkjG+LpqVtcOSOnXyFKD4G1RVene8shjIT1QTeJ fCYMBYPtZ7or+/Ea1yJ8g8s8L1ygbB 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. 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 | 89 ++++++++++++++++--- 1 file changed, 76 insertions(+), 13 deletions(-) base-commit: 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f -- 2.20.1