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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 5F4A8CA1012 for ; Fri, 5 Sep 2025 03:26:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To :Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qBRLCt7Xr6WGzQdMuH7mBM6ziV2ZykHI4ulfrE5MGN8=; b=R3E0S5OoxpPbd2ouW2S4mnVrh6 R8tx96geqjANioia0lyE/c16uNfEI9L78uF8pkSnMwoJrwStGTakRSDa69PdgsmSjdfbVLZ8NRP80 RWCE7BwsTFpnqfvSxAKZZBGBlBNOhr3hMulenJKtb7p/VXhPppmcz/gCgXuOvX1P2k5SesJsfeFMy 1IiGFWzDfkeGNdZC8pl5aZ6zOz+J2WULbHVm/Zkb9JWHCZDsTGfMtsH9jVNRDhWEo6FZtA3JGCTKs kYgzyReJgy1VdYEMi5V5fcepYY1vV+eQU9fCyYBz0qfVBnnBZyG7U+13ViOItlp/aCsc/g2pC9lvr CeAwjNXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uuN5U-0000000GR4I-0L1A; Fri, 05 Sep 2025 03:26:08 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uuGgc-0000000EImY-1gqO for linux-arm-kernel@lists.infradead.org; Thu, 04 Sep 2025 20:36:02 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id A11E160292; Thu, 4 Sep 2025 20:36:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B781C4CEF4; Thu, 4 Sep 2025 20:35:58 +0000 (UTC) Date: Thu, 4 Sep 2025 21:35:56 +0100 From: Catalin Marinas To: Jinjie Ruan Subject: Re: [PATCH v8 0/8] arm64: entry: Convert to generic irq entry Message-ID: References: <20250815030633.448613-1-ruanjinjie@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250815030633.448613-1-ruanjinjie@huawei.com> 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: , Cc: mark.rutland@arm.com, sstabellini@kernel.org, ryan.roberts@arm.com, anshuman.khandual@arm.com, liaochang1@huawei.com, oleg@redhat.com, kristina.martsenko@arm.com, linux-kernel@vger.kernel.org, broonie@kernel.org, chenl311@chinatelecom.cn, leitao@debian.org, xen-devel@lists.xenproject.org, mbenes@suse.cz, will@kernel.org, ardb@kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Aug 15, 2025 at 11:06:25AM +0800, Jinjie Ruan wrote: > Currently, x86, Riscv, Loongarch use the generic entry which makes > maintainers' work easier and codes more elegant. So also convert arm64 > to use the generic entry infrastructure from kernel/entry/* by > switching it to generic IRQ entry first, which will make PREEMPT_DYNAMIC > and PREEMPT_LAZY use the generic entry common code and remove a lot of > duplicate code. > > Since commit a70e9f647f50 ("entry: Split generic entry into generic > exception and syscall entry") split the generic entry into generic irq > entry and generic syscall entry, it is time to convert arm64 to use > the generic irq entry. And ARM64 will be completely converted to generic > entry in the upcoming patch series. > > The main convert steps are as follows: > - Split generic entry into generic irq entry and generic syscall to > make the single patch more concentrated in switching to one thing. > - Make arm64 easier to use irqentry_enter/exit(). > - Make arm64 closer to the PREEMPT_DYNAMIC code of generic entry. > - Switch to generic irq entry. I had a read through the patches and this first step looks fine to me. If Ada or Mark don't spot any problems, I think the series is a candidate for 6.18. Acked-by: Catalin Marinas