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 20735C433F5 for ; Tue, 9 Nov 2021 01:32:00 +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 E3B7D610A3 for ; Tue, 9 Nov 2021 01:31:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E3B7D610A3 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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=alM2ke6+iRq4lYnFXyAQ4iMqy5tjupQ7BhS2y8RCMyQ=; b=yxD8c/yFjNEgU5 LgrCNdKP0IAxN2nDXrcIumujxTGXM/wGs8jNq3IvOvrCAg8J62Atz2kjOWeN4qDwh3/wVwTPAX/JS z3V2w9lWVK2a5gsnDHDFhCerYGTO9/j/Jst5aLq+WsS5f+3BthKaNLEFc+UDtf094bwMJ44nSZ2A4 1xg1QOznkT/4vvWD+sdRE1sWgW74NMMqSih3lhnh7yoA2lE3NqKwxeV3e0l6QeLbQrL4gsc7/XMQ9 rx/3x6BKLv0dAdnMoDgzhQjiCrL1Td+Uy8D6xLprBEFhlr0zdFOIYUftu0RJD2uDqtf45iHWn8a1V KwAzzA9EijEeN5gAtscQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkFy7-000M1t-AQ; Tue, 09 Nov 2021 01:30:36 +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 1mkFat-000DJB-JJ for linux-arm-kernel@lists.infradead.org; Tue, 09 Nov 2021 01:06:37 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id CE533619E8; Tue, 9 Nov 2021 01:06:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636419994; bh=jK+KlWA15rDlMjhrFyJCeP1LJpavxjun6T9le43kq+0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rMWIZfnhMEp7rja3Yxrvw8LaOvDcT75uYobuQdsd3z2udVkhakStEQRiVjGp/Z1mo mjQZy/a2u+2L7mDsLPJm5s6uz4k4beXpgGlA+68ToFKZMg5hNsOz8bRF0t4pJf965F VQDt8pRizt06DTzAHVURuR8d8+mj2bFCGUox7wI9R1duzcYXWBXbhbOHRBzGEyStM3 RY3yql8KD1pKu84sNbdshDu8L4pNaVJ0is6c2k6aH93Ux2cP3emaKSc2H6WK6mVKr7 iLeXOg1WQfX4eeHGVIFHq1m4UNm7deDKhk7WvCpetVEyJHdsjkdmacBurShyzjiT6k gHn4UkTzPg/5A== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Mark Brown , Catalin Marinas , Will Deacon , Sasha Levin , maz@kernel.org, Dave.Martin@arm.com, tanxiaofei@huawei.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 4.19 41/47] arm64/sve: Add stub for sve_max_virtualisable_vl() Date: Mon, 8 Nov 2021 12:50:25 -0500 Message-Id: <20211108175031.1190422-41-sashal@kernel.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211108175031.1190422-1-sashal@kernel.org> References: <20211108175031.1190422-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211108_170635_698308_34FDF287 X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. 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 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; +} + static inline int sve_set_current_vl(unsigned long arg) { return -EINVAL; -- 2.33.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel