Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp945501rdg; Fri, 11 Aug 2023 05:16:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFPhXJ14DwSFWE9NcftDkArWzswaCR2JuebM7qcBAGRN2M/2EXau8DRJQuKdSeNqIn2b4Qw X-Received: by 2002:a17:902:c94b:b0:1bb:c5b5:8353 with SMTP id i11-20020a170902c94b00b001bbc5b58353mr1594274pla.4.1691756173468; Fri, 11 Aug 2023 05:16:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691756173; cv=none; d=google.com; s=arc-20160816; b=mBfmhtEdShjisF5aewB0XEkwWfn09ozCCOA/C5M2BHKTKm6slUmMHTlEUkTXnbYXXO ZN3cgNoqIbRijUmMg7GcTsiY6fEqCt6+F7Zl0A+KMeXHs0HwSqmUlcxjFsVUsMduFru9 VEXbY2p064rpSV+re6l6xSZOMdLGZMIruH+/avm0tdFZjNXx87F505irHNNtb/UBsf7O tkTP7NElEWwpMteUyisvjAPvTrPZfzJcwMS9CNqUc0tQUv/vwLPHNKVbdZJVxlRk19/L IwxDgGdDMSee6d/LhHtNTy6WmJns3/fZx/mL7e3jtZ9axfz8DmexSMsj9Y2lk8vTzWC/ I2Dw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eo7irlASjH1LQWWjA9apuJjRUfAZoT8R1KPlm1triKs=; fh=SwgpvE6drMCn3wtnH97l+XBvm/JDP6vbgFPDW9HLm0U=; b=kK7egb/a5sYt6JVku8SEijveEVQkTdvAwc5XKJ6lRGjgrmAlWanoUqFAVvr+QKW+gx Ejj/yQtD63l3iCwli7Ysm551scCPZzmtVwdpi62w/fyWW9W+NnZnG9W6NuBlKYyvh/qU 5C+wVcmhNnXJDcGmNGYvBh8hMKdpVd0pUT1dzuJzDQq8EPRmSxgXGBgdC4Anla0oRbQE JiHCJ/V/HN1AAFE9YzrgLjDJQM8uGymfwqz6hm2PnUwp6jR9036PM1A9xNncGMYEih7d cna9IyZrq9yPYHYqx6xs2VCiJN6Mf5+Ai9s/uRodaMRht7mRt0utbXQOIoJk2lCe6MRY YEPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LYeNVu3J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k12-20020a170902d58c00b001b9d5f07068si3250511plh.585.2023.08.11.05.16.00; Fri, 11 Aug 2023 05:16:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LYeNVu3J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S235821AbjHKLpL (ORCPT + 99 others); Fri, 11 Aug 2023 07:45:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234818AbjHKLpI (ORCPT ); Fri, 11 Aug 2023 07:45:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 123CCFA; Fri, 11 Aug 2023 04:45:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9CB2167064; Fri, 11 Aug 2023 11:45:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A5BCC433D9; Fri, 11 Aug 2023 11:45:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691754307; bh=418faWU9VVOtzIX2nlLZNpYrRaUT/xniXjwpmQwga8w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LYeNVu3JuQMDzVU8xiq4meoKzJzWJkjn7nqaZOuMamrZ/SwhQ+fa1Hx/a+LWB/J4L 9eaVMWZOMt+XBokFR4GYnXqXzIr7bw0S5BBzB9o85krVXb60V/K2oRZ0vad1vnayMo jcJ8gJRCT9k1+DkSbd3/GwZDtkfH6hegYraaYVKCQq17CVs1LZWdqCLjjJPLTe/LHY /vSKnDm6DMvc4TAmeYR6Zbd91sFO+JewrYIVwcCqeLVIdpSOM2UIBood2h/VIxJoG2 derFMCWeLa914ygFa7tua9kfB1qH00MYUAY1xiLaPmIVppwNdC/Gc3nOo8VfSV0BNH GZrXJ75maXN/w== From: Will Deacon To: Mark Brown , Catalin Marinas , Shuah Khan Cc: kernel-team@android.com, Will Deacon , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] kselftest/arm64: Size sycall-abi buffers for the actual maximum VL Date: Fri, 11 Aug 2023 12:44:52 +0100 Message-Id: <169175309213.3101777.18103736933706442373.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230810-arm64-syscall-abi-perf-v1-1-6a0d7656359c@kernel.org> References: <20230810-arm64-syscall-abi-perf-v1-1-6a0d7656359c@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Aug 2023 12:39:19 +0100, Mark Brown wrote: > Our ABI opts to provide future proofing by defining a much larger > SVE_VQ_MAX than the architecture actually supports. Since we use > this define to control the size of our vector data buffers this results > in a lot of overhead when we initialise which can be a very noticable > problem in emulation, we fill buffers that are orders of magnitude > larger than we will ever actually use even with virtual platforms that > provide the full range of architecturally supported vector lengths. > > [...] Applied to arm64 (for-next/selftests), thanks! [1/1] kselftest/arm64: Size sycall-abi buffers for the actual maximum VL https://git.kernel.org/arm64/c/358b763ee64b Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev