From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CFB0319E971; Tue, 20 May 2025 12:52:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747745535; cv=none; b=hIseuWSiEPmxg+pnuteacGe36B3uge+ePiHkugKA7MHeaXzx9x+2ZAYE7gTkthfxDLQGtzJn28cNXQiMzj9NUhGWgb/8mApaNLteo5QfC0Yc3XzbioX3r1N54k9Cu78FDYYWd2fAUxElPyMaAGsl9gbjyxSW+Xr0/6UqVNtQsZI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747745535; c=relaxed/simple; bh=cndGM1XkNtcIDNZXZKNsY1qesIcrcvdhU2CzwqJpH3M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=J6RmxYREI+PHAjYrw1WWnWh2nfdW24eiU3OFyg+Hq0RdKypkLzzl43YOefX0MVmtwLVVHhymlB4NOexvBvTW3o0njVSBkqfRe7uvRx8NgeBOx3m4j4AV9vU7h91Mse7TIVHV8Kp/dPN67ags2RZ+YgVk0wtdkhJJQg/LC9FHJxA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 BA8D81516; Tue, 20 May 2025 05:51:59 -0700 (PDT) Received: from [10.1.36.74] (Suzukis-MBP.cambridge.arm.com [10.1.36.74]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BADF53F5A1; Tue, 20 May 2025 05:52:09 -0700 (PDT) Message-ID: <4f1d5bd0-f06a-408a-9468-307a83d05b7d@arm.com> Date: Tue, 20 May 2025 13:52:08 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 38/43] arm64: RME: Configure max SVE vector length for a Realm Content-Language: en-GB To: Steven Price , kvm@vger.kernel.org, kvmarm@lists.linux.dev Cc: Jean-Philippe Brucker , Catalin Marinas , Marc Zyngier , Will Deacon , James Morse , Oliver Upton , Zenghui Yu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Joey Gouly , Alexandru Elisei , Christoffer Dall , Fuad Tabba , linux-coco@lists.linux.dev, Ganapatrao Kulkarni , Gavin Shan , Shanker Donthineni , Alper Gun , "Aneesh Kumar K . V" References: <20250416134208.383984-1-steven.price@arm.com> <20250416134208.383984-39-steven.price@arm.com> From: Suzuki K Poulose In-Reply-To: <20250416134208.383984-39-steven.price@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 16/04/2025 14:42, Steven Price wrote: > From: Jean-Philippe Brucker > > Obtain the max vector length configured by userspace on the vCPUs, and > write it into the Realm parameters. By default the vCPU is configured > with the max vector length reported by RMM, and userspace can reduce it > with a write to KVM_REG_ARM64_SVE_VLS. > > Signed-off-by: Jean-Philippe Brucker > Signed-off-by: Steven Price Reviewed-by: Suzuki K Poulose