From patchwork Tue Mar 2 09:01:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 392257 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4750C433DB for ; Wed, 3 Mar 2021 01:31:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9DB1564E42 for ; Wed, 3 Mar 2021 01:31:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235299AbhCCB1r (ORCPT ); Tue, 2 Mar 2021 20:27:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:38716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378840AbhCBJCz (ORCPT ); Tue, 2 Mar 2021 04:02:55 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 21F4C64F16; Tue, 2 Mar 2021 09:01:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614675723; bh=aQQMjGFMp2Bb6EAdSE481XHUoiuLHHMb2JHfGrl7s/Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y9Y9skrG3ZpOLIg9ZjcKAdaEXs0t8IQQkjQ26AAYgJy3joZHYI1erC32NwWj/IVfk B2vVTvc1WQCHtoHkG4lmoXmb6zMppFOqrFtJE0E/XXhYkVMo2zIOpH5YsYgUiET+wn pR+lN3cFIW1oJdSOa4ftX5lU2+t4vvdFz++mUmPrOP7G+zss/qCeeI4cL6BPA6SuQV O/AOAG0Kisw/VBkFHhGRp53BVHBXBsq/xJ39RFC72L134+yWr9wQ8AUb5fcNB81LpA dHoWDOo3HqoJuy2M2wLTGjqYUJSV/smJu2qKRsK+BAbkAG23vLA2Ew1A3REpae9bwL lnsBLwt/fZPHw== From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel , Dave Martin , Mark Brown , Herbert Xu , Eric Biggers , Will Deacon , Catalin Marinas , Thomas Gleixner , Peter Zijlstra , Sebastian Andrzej Siewior , Ingo Molnar , Andy Lutomirski Subject: [PATCH v2 1/9] arm64: assembler: remove conditional NEON yield macros Date: Tue, 2 Mar 2021 10:01:10 +0100 Message-Id: <20210302090118.30666-2-ardb@kernel.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210302090118.30666-1-ardb@kernel.org> References: <20210302090118.30666-1-ardb@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The users of the conditional NEON yield macros have all been switched to the simplified cond_yield macro, and so the NEON specific ones can be removed. Signed-off-by: Ard Biesheuvel Acked-by: Will Deacon --- arch/arm64/include/asm/assembler.h | 70 -------------------- 1 file changed, 70 deletions(-) diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h index ca31594d3d6c..e0fc1d424f9b 100644 --- a/arch/arm64/include/asm/assembler.h +++ b/arch/arm64/include/asm/assembler.h @@ -692,76 +692,6 @@ USER(\label, ic ivau, \tmp2) // invalidate I line PoU isb .endm -/* - * Check whether to yield to another runnable task from kernel mode NEON code - * (which runs with preemption disabled). - * - * if_will_cond_yield_neon - * // pre-yield patchup code - * do_cond_yield_neon - * // post-yield patchup code - * endif_yield_neon