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 C74C9C433F5 for ; Fri, 22 Oct 2021 14:18:51 +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 95B416101C for ; Fri, 22 Oct 2021 14:18:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 95B416101C 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=mDBuPmnsQzb7mVol6AXex+ksRNiRVm9Yu0ryco4yxrY=; b=wARN5lTi23uaEc dtDEbSsU3f1X0PaMk5la98wjX3QFy+SHZ0/AqSs1jrEQuXcKOGESIczXFD/DSNMeGDeE5QWSKqBZd apkbp6gewkuP2yf/dGRiM6ZRHCg+K9m9Z7O88VrWGRi9Ye+aze2J404BZwNQvd1ph/Xs+ytSzikuA MgeOeG66AJThsPbbr0yAE0Z6NL7d3w9zJtl6A1rK2fDMFKSNqxhkupcpUn2f8ZpMfuX4YibGCkrK9 uQQN2JH2/j7OYsYti41wBkvzBrQjTpMjQIle02Fg8+qiTF1JxqtdZ67vuayoyOHJeuMNsOFlobLq3 h+hIOXpEZlbZ6DKGSMag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mdvMT-00BFmZ-8Z; Fri, 22 Oct 2021 14:17:33 +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 1mdvM1-00BFfa-Fd for linux-arm-kernel@lists.infradead.org; Fri, 22 Oct 2021 14:17:06 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id A56CE601FA; Fri, 22 Oct 2021 14:17:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634912225; bh=3FtygZP7VSOa6gyZFo4US+axQH95Cpodr7SfIOacnNk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kusqb4abqLYcQMv47NCFecqJSBSf36oQWdSnBiQGQEVpkLgcCxLfspLuHtDpUuyde DF3OOV0GsoCkAv70dEpXuwqeLBpS+48RI69tnsP6SpEoZStygAv5WrZzLDAQQMiotR AN7GdyRn9IhV/7qmyzAf1/CQTy3nkpIwRtPZQvVMbp+E6S1KSPJhPnPVVVeLLvMtHJ VcxCCgGquyXVYdcM/9L0tC+ZpHQ3/Tb4QTrKY9g0DJrToO63BHSVuvZ4QVdN2U0YD0 ie7Ya9PmxBNInniTJ3c8wIhNdFntu2LZ5B3at7AmiZMKDRZQ3G4YKOwySCCi+wyoLs SRWNp+mPkNgQA== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v1 1/2] arm64/sve: Add stub for sve_max_virtualisable_vl() Date: Fri, 22 Oct 2021 15:16:34 +0100 Message-Id: <20211022141635.2360415-2-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211022141635.2360415-1-broonie@kernel.org> References: <20211022141635.2360415-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=879; h=from:subject; bh=3FtygZP7VSOa6gyZFo4US+axQH95Cpodr7SfIOacnNk=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBhcsfB+FHN2yno9WKZDKoMEJBPMmXoqV6DI43VlJ7E HSjZkmKJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYXLHwQAKCRAk1otyXVSH0GWFB/ 4mW5FnZE/TY8iOCr8zddoEaRZZdoSARfzqXZMcNMlxhSKBl2yjFxvOvnhSsNzHqCrblEK0PNg1LELn A00e1KzwCrfKzVlfq+jk+61c0PSRBqH9kHHORQv+UiQn8c3iL3jHocMl5W1pbeL1p5Wy7DkcSLAQLZ rSE70YulFs3wAquNAovds7RHUEkuUfhs2Sxb4J5ul9VnRTxv54v/xzqT/hMoyqlWSF23ghi+7fhcWw +GPwaZxKx/vfaroZVJIs+b6UluwVd9ZXocIEul6ThTBUiVP9GwTt3ef8OtwT+xtwNMOLazyyi5x7oP oeI3pcXL0vW+40CkHdvSaZF53f57X3 X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211022_071705_574643_C09DD056 X-CRM114-Status: UNSURE ( 8.98 ) 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 Fixes build problems for configurations with KVM enabled but SVE disabled. Reported-by: Catalin Marinas Signed-off-by: Mark Brown --- 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 1d0b5fa253a0..dbb4b30a5648 100644 --- a/arch/arm64/include/asm/fpsimd.h +++ b/arch/arm64/include/asm/fpsimd.h @@ -215,6 +215,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.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel