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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC9ECC433EF for ; Tue, 9 Nov 2021 13:22:04 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 9E57C61165 for ; Tue, 9 Nov 2021 13:22:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9E57C61165 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=F0Y9VFIJlI6CV3JDNENz5RvfPQjELMOmg0YGj1oRESM=; b=RckzygXMZXcQsZ +c7+d9HbToa5x4kPtsGnsnLMZQY1jwBJ7uJJamB3cVIIc1NUDMbo9bDkZgz5Ud5QMxwxslQD9Z9Vv pPLkHsbwtAmhRMArwnRA7cyJ/wwdMSoTl89BtBRKhyM8F6hWnyxsPvQXT+yhcAkgCV2HmWKHFihdt j/+iepXmKJvheSaXHAFT+7eQAIOWEq4ubNW/rSIAsoQfn9AeBX147XyVaR+McC9bGlvE9dop9YVLu Q7FT7rbGjeslDLArM6IH+eyHq4dJpg0apfn+rDNVVy9WTKkzxWuyAq1dvKS4WajRded4IbPmSvSLC PpwCfDPg9DValhasM8JQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkR3V-002JKI-A7; Tue, 09 Nov 2021 13:20:53 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkR3R-002JJF-RC for linux-arm-kernel@lists.infradead.org; Tue, 09 Nov 2021 13:20:51 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5E9C961130; Tue, 9 Nov 2021 13:20:47 +0000 (UTC) Date: Tue, 9 Nov 2021 13:20:44 +0000 From: Catalin Marinas To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Mark Brown , Will Deacon , maz@kernel.org, Dave.Martin@arm.com, tanxiaofei@huawei.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH AUTOSEL 4.19 41/47] arm64/sve: Add stub for sve_max_virtualisable_vl() Message-ID: References: <20211108175031.1190422-1-sashal@kernel.org> <20211108175031.1190422-41-sashal@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211108175031.1190422-41-sashal@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211109_052049_924486_2E4EE3DA X-CRM114-Status: GOOD ( 14.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Nov 08, 2021 at 12:50:25PM -0500, Sasha Levin wrote: > From: Mark Brown > > [ Upstream commit 49ed920408f85fb143020cf7d95612b6b12a84a2 ] > > Fixes build problems for configurations with KVM enabled but SVE disabled. > > Reported-by: Catalin Marinas > Signed-off-by: Mark Brown > Link: https://lore.kernel.org/r/20211022141635.2360415-2-broonie@kernel.org > Signed-off-by: Will Deacon > Signed-off-by: Sasha Levin > --- > arch/arm64/include/asm/fpsimd.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h > index dd1ad3950ef5d..5bd799ea683b4 100644 > --- a/arch/arm64/include/asm/fpsimd.h > +++ b/arch/arm64/include/asm/fpsimd.h > @@ -130,6 +130,11 @@ static inline void fpsimd_release_task(struct task_struct *task) { } > static inline void sve_sync_to_fpsimd(struct task_struct *task) { } > static inline void sve_sync_from_fpsimd_zeropad(struct task_struct *task) { } > > +static inline int sve_max_virtualisable_vl(void) > +{ > + return 0; > +} IIRC this fix was only needed for 5.16-rc1. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel