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 ECF41C433F5 for ; Sun, 14 Nov 2021 14:04:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CC67F61177 for ; Sun, 14 Nov 2021 14:04:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236148AbhKNOHY (ORCPT ); Sun, 14 Nov 2021 09:07:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:52720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236075AbhKNOGy (ORCPT ); Sun, 14 Nov 2021 09:06:54 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id CCE9660F41; Sun, 14 Nov 2021 14:04:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636898641; bh=245MT4XVirZg+94461vHVsulF9jwtDm/r94gUncM7b8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FCIIk0JJKGGxpANARLoXy7XEZIrLYtOyaIdbnMJRifN0kdTM+kIoQNMgKZ7JMNLBV B14FR8Pc8L9p1CjdyEVsIV5r7tHUWM//9/ZHOqXuHu8jOp5/8JTS87WbCuE2qvH6Wl 5g4c1E/H4SYWGiMyQQgxgdDFkvbBPD6YUj3DhZq71OsqV043fDq+BcB9pAnWhR84/z 2PAC7ypIgy7zjBc4unOXwslNG2ASHVOomaNGwnrjyuP6aP1Wz9b2cXaU8eXgoyvvu3 Ny1KbqGJAwevRPZyq7O46XuEpX1XXcyqujY1e5oqs/L1iWTnFVyY7lwyYnDuM2rj6n Qvcujz3CXHAuw== Date: Sun, 14 Nov 2021 09:04:00 -0500 From: Sasha Levin To: Catalin Marinas 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-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 09, 2021 at 01:20:44PM +0000, Catalin Marinas wrote: >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. I'll drop it, thanks! -- Thanks, Sasha 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 098BAC433EF for ; Sun, 14 Nov 2021 14:05:27 +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 C311460F41 for ; Sun, 14 Nov 2021 14:05:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C311460F41 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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-Type: Content-Transfer-Encoding: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=uW497DzjGqKTt6hsPWAtKmwGZFZtUC/Yi1GMLBMxgxo=; b=vsKGDTbFXHnPRskGFp+lSunxlR BdKMcBZScv2a+ybUV9QvCrWaPDFna/ATg4LbuywSe4bp2v7aQU5Z/ovS1v99Ub/Hf+hKT4nobu5ri dqDidvK/joFvbbUPDA8HzcGLURmTw6vnnHIcMLevYuuDTONXhl6qbwcz8DDh+5fkXwsTVEbOUJZ/6 wObFrltVuH8tG5xHcbDtMFLMhTDbQ7BQKIPvOLWjnTlS9FbSNG2J96lVjauAPpnkFJiehwR7oxEbv rgzwMzSU239AX01IfI349+A7sds7+4F3v/9DpHjBBeWYnh3+WJNK6lQqH24GxLvy7OF4kl2ILkCtD f7UnLBKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmG73-00DjhC-Mu; Sun, 14 Nov 2021 14:04:05 +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 1mmG6z-00DjgY-Lp for linux-arm-kernel@lists.infradead.org; Sun, 14 Nov 2021 14:04:03 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id CCE9660F41; Sun, 14 Nov 2021 14:04:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636898641; bh=245MT4XVirZg+94461vHVsulF9jwtDm/r94gUncM7b8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FCIIk0JJKGGxpANARLoXy7XEZIrLYtOyaIdbnMJRifN0kdTM+kIoQNMgKZ7JMNLBV B14FR8Pc8L9p1CjdyEVsIV5r7tHUWM//9/ZHOqXuHu8jOp5/8JTS87WbCuE2qvH6Wl 5g4c1E/H4SYWGiMyQQgxgdDFkvbBPD6YUj3DhZq71OsqV043fDq+BcB9pAnWhR84/z 2PAC7ypIgy7zjBc4unOXwslNG2ASHVOomaNGwnrjyuP6aP1Wz9b2cXaU8eXgoyvvu3 Ny1KbqGJAwevRPZyq7O46XuEpX1XXcyqujY1e5oqs/L1iWTnFVyY7lwyYnDuM2rj6n Qvcujz3CXHAuw== Date: Sun, 14 Nov 2021 09:04:00 -0500 From: Sasha Levin To: Catalin Marinas 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211114_060401_751894_85EB3063 X-CRM114-Status: GOOD ( 11.15 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Nov 09, 2021 at 01:20:44PM +0000, Catalin Marinas wrote: >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. I'll drop it, thanks! -- Thanks, Sasha _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel