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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1243AC4167D for ; Wed, 13 Dec 2023 11:02:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378403AbjLMLBz (ORCPT ); Wed, 13 Dec 2023 06:01:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378316AbjLMLBw (ORCPT ); Wed, 13 Dec 2023 06:01:52 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B9B210F for ; Wed, 13 Dec 2023 03:01:58 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11D4FC433C8; Wed, 13 Dec 2023 11:01:56 +0000 (UTC) Date: Wed, 13 Dec 2023 11:01:54 +0000 From: Catalin Marinas To: Huang Shijie Cc: patches@amperecomputing.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: irq: set the correct node for shadow call stack Message-ID: References: <20231213012046.12014-1-shijie@os.amperecomputing.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231213012046.12014-1-shijie@os.amperecomputing.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 13, 2023 at 09:20:46AM +0800, Huang Shijie wrote: > The init_irq_stacks() has been changed to use the correct node: > https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=75b5e0bf90bf > > The init_irq_scs() has the same issue with init_irq_stacks(): > cpu_to_node() is not initialized yet, it does not work. > > This patch uses early_cpu_to_node() to set the init_irq_scs() > with the correct node. > > Signed-off-by: Huang Shijie Reviewed-by: Catalin Marinas