Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp488118iob; Wed, 11 May 2022 20:12:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlW8d5zSfS4s+9DRxTEZUcs/MBFYU3q0JqLt+03xZQWf4LpqhmI3EqTO4BDxFWdZ9lGBv0 X-Received: by 2002:a05:6402:84a:b0:423:fe99:8c53 with SMTP id b10-20020a056402084a00b00423fe998c53mr32256070edz.195.1652325139718; Wed, 11 May 2022 20:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652325139; cv=none; d=google.com; s=arc-20160816; b=1HtxHmuvqETeeEPR+p+otxAbKM4BaV7lzG3vlyRtwLp+TkWd0jY09KkXpUam792iZt RAXAct5Pw+nG+Yh83UdUC38mqaPuKcEvmoue1km+CTeNMsX/1ndipJGSFuUuW867kurs KV4KB6Zb2jyyeCyrDD68/XXPKrkcA2ImZagyyd8azxZHHDD1/JHDhS05x5lPUj98yqy/ gKb+UiLDpMRGowGpuBIAAqPqKSVjqLbO03jZh/hRRl1Z3rDvgHpis2WbpZwmHwdfDrjo itvcugLp3rwWxDd4Cw3GGvKtuigl0xLJ2D2/cjlJ3VLF4qUChkTBvF+wv69OgJF/X9ai yxRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=XWYeWYPGfGQOMPi48DV8c7ousN/h9sYcLxp8xQFypMU=; b=GMl2VPxuJvZeJBLlDK1fQctmOPQp1hmhon8H8JqLHYRiiE8WW5x4Dydys1zBa77UPU 8GKtBx2KbluWwgSdKMgfI6QlrXBSSWLewO9p2xXL8/hqCbXf1fNg6wl+zuIvlZVjW6We sUbIu6v0mXSvoTqW+CmD9M3gToeL8+3jgGj1aB1Uf8V/BLp7xnl+fIVj4NuKtIRvAY9z EWoXEdXoKwXLfCw6PxIwNslT3YCOTzcSDFAv6czx8n/jVtb4rN4CpOadwEhAe5YC7qAv +hey7wxNHjTPQtie8ZdpoDAkeRqOXOESnhZllwYZQzJY1VPIHVh59FOwr4qVe7CdTQuE S3/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=bDSs1Fya; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho33-20020a1709070ea100b006f4408bfffbsi4841257ejc.779.2022.05.11.20.11.52; Wed, 11 May 2022 20:12:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=bDSs1Fya; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347039AbiEKTjx (ORCPT + 99 others); Wed, 11 May 2022 15:39:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233312AbiEKTjv (ORCPT ); Wed, 11 May 2022 15:39:51 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D110A219351; Wed, 11 May 2022 12:39:50 -0700 (PDT) Date: Wed, 11 May 2022 19:39:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1652297988; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XWYeWYPGfGQOMPi48DV8c7ousN/h9sYcLxp8xQFypMU=; b=bDSs1FyaPxRZKmQ6QC4YfIlk3HfjDP5TvzfknSZ6MJRnL6hutNeuRwvuFlSEm2bTSknEvy gU0bp6vQ0hvzuZl9RtsSa8lC/gmQICtXfawa9I8/tyeUowrfH94W+HTJzpudK+zZto7zmq pi27sA8w+tnYD2/87BztgGAKXDgVB78ps1UJADTFCfPkE9l/oZ7pAaw0V53/DzZlgtxApf Gy3ajaoI7SW25YTmCTthiPZTeu+OY6dYMgJbaj3VC1wNrDV9zH5u8hBTSqIDxzGblZ5cEe CcksRJLaRsgFZFLGwTe1RawncppNgDoxHBc6oEgih83oRX45EAQ2PMbQkIQsVQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1652297988; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XWYeWYPGfGQOMPi48DV8c7ousN/h9sYcLxp8xQFypMU=; b=ZR1Epl4VnkVQlE++e1cOVwspRRqWVzRTIpaJwVhYrQlmEEQYs73G/RRDoT5bs5DK7czUS0 yWgosiN3c2D+XgDg== From: "tip-bot2 for Thomas Gleixner" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/core] lockdep: Delete local_irq_enable_in_hardirq() Cc: Thomas Gleixner , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <8735hir0j4.ffs@tglx> References: <8735hir0j4.ffs@tglx> MIME-Version: 1.0 Message-ID: <165229798773.4207.7897757507391012997.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the locking/core branch of tip: Commit-ID: deaf7c4b4bf8b802cc465bb9b33fe6c76e812924 Gitweb: https://git.kernel.org/tip/deaf7c4b4bf8b802cc465bb9b33fe6c76e812924 Author: Thomas Gleixner AuthorDate: Mon, 09 May 2022 21:03:43 +02:00 Committer: Peter Zijlstra CommitterDate: Wed, 11 May 2022 16:27:04 +02:00 lockdep: Delete local_irq_enable_in_hardirq() No more users and there is no desire to grow new ones. Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) Link: https://lkml.kernel.org/r/8735hir0j4.ffs@tglx --- include/linux/interrupt.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index f40754c..b5e06a6 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h @@ -222,24 +222,6 @@ devm_request_any_context_irq(struct device *dev, unsigned int irq, extern void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id); -/* - * On lockdep we dont want to enable hardirqs in hardirq - * context. Use local_irq_enable_in_hardirq() to annotate - * kernel code that has to do this nevertheless (pretty much - * the only valid case is for old/broken hardware that is - * insanely slow). - * - * NOTE: in theory this might break fragile code that relies - * on hardirq delivery - in practice we dont seem to have such - * places left. So the only effect should be slightly increased - * irqs-off latencies. - */ -#ifdef CONFIG_LOCKDEP -# define local_irq_enable_in_hardirq() do { } while (0) -#else -# define local_irq_enable_in_hardirq() local_irq_enable() -#endif - bool irq_has_action(unsigned int irq); extern void disable_irq_nosync(unsigned int irq); extern bool disable_hardirq(unsigned int irq);