From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 083D23B0AD4 for ; Mon, 27 Apr 2026 12:26:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777292793; cv=none; b=P5CgcJf+5FT4r8nV/RubxG0Ws42VSVmVX4vFJTVV8/zl/RF9sRfAy/pwpktpgdqAXpfuSNjgkx/nMOtmlhIFPtxv4dOnSAIrVsgE7pqf6Ik8kC7A51jGzE/+wOR2YbPILVmO2uq11nYzgfR+qpKCnKIoGNEURK3QoF768eF16qA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777292793; c=relaxed/simple; bh=M9UMTZfbZHPdwYV6PO1IZaksCPche9xXpWVeL2fDNEA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SJUJeeSQxbxXrlfmhxzI0F0XHIpSgqHABWYaqAnYxC2Ye8LVpmFw/54QL/3Kddak7Jcnl7IylEqeCOODiXO1bnhg8+0/3J8XU2s5OukJozttFbSllshRA1GhtzZjdA+gMOH+vzKqEATcOPT8q8SvjXeqYReoH5v4A2NEAbCpA0o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=gVhoi58e; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="gVhoi58e" Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E9C7B1FC7; Mon, 27 Apr 2026 05:26:25 -0700 (PDT) Received: from arm.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7CD963F62B; Mon, 27 Apr 2026 05:26:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1777292791; bh=M9UMTZfbZHPdwYV6PO1IZaksCPche9xXpWVeL2fDNEA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gVhoi58eX9v5xj8CETk3WsWBxZ7tC4TR1j8joXFUtHYFxVQVCkCE56gOZDwxYdm7Q GoE+sJ2gCqAIF1fCriVbOOoZl8vi8wB0pV40DutW8+eoH7ew9r79Ia6UrggZUOYh/5 kznEKHd5WtYyzBe1ReCFGhkJHtYUWRQQ7Ti5AZUo= Date: Mon, 27 Apr 2026 13:26:18 +0100 From: Catalin Marinas To: Breno Leitao Cc: Will Deacon , mark.rutland@arm.com, leo.bras@arm.com, leo.yan@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, palmer@dabbelt.com, paulmck@kernel.org, puranjay@kernel.org, usama.arif@linux.dev, rmikey@meta.com, kernel-team@meta.com Subject: Re: [PATCH v2] arm64/irqflags: __always_inline the arch_local_irq_*() helpers Message-ID: References: <20260421-arm64_always_inline-v2-1-c59d1400514d@debian.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260421-arm64_always_inline-v2-1-c59d1400514d@debian.org> On Tue, Apr 21, 2026 at 08:58:57AM -0700, Breno Leitao wrote: > Force-inline all of the arch_local_irq_*() wrappers so they cannot be > emitted out-of-line: > > - arch_local_irq_enable() > - arch_local_irq_disable() > - arch_local_save_flags() > - arch_irqs_disabled_flags() > - arch_irqs_disabled() > - arch_local_irq_save() > - arch_local_irq_restore() I'll queue this, thanks! I think we should also do local_daif_{mask,restore,inherit} as they seem to be called from noinstr locations in entry-common.c. -- Catalin