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 B7437C4332F for ; Wed, 13 Dec 2023 11:02:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BJpKdzqErLlWzif9nNWEFETuWgNIPdg1OcI0ohs/jic=; b=C6QX06ScVHuf/c KnTDBCfBXrcTIqR+MBRIQO2qdIdw5M987kAzIhrIQvDNG7eMLH6lCAmuxxC0KF2aFOsTlBdngH3kX cddxnGiumcNs2D6boDNnZmio+R9aaGEkLBe9uLTlmImwiaM/UtZkOWUPGsafFzMX81LO+mFqdIeZB aKKC308yp1Z/6aMTZwloQaI1DNiNyZH0zlGktN5e0H9f9CIpEtWJGK6hxIk1ALIctIg0AfSxcoztP 7e+1MonHY8A3LC692eWc5TrqOJWqGu5LDkkoDRv3w9XzSLCfhmZydLIG6pV1LTGgF5ulHfJiVzLMI 4aN768h14gCTX6sM4ZHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDN07-00EJNx-2w; Wed, 13 Dec 2023 11:02:03 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDN04-00EJM3-1c for linux-arm-kernel@lists.infradead.org; Wed, 13 Dec 2023 11:02:01 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id B5611B81C58; Wed, 13 Dec 2023 11:01:58 +0000 (UTC) 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-Disposition: inline In-Reply-To: <20231213012046.12014-1-shijie@os.amperecomputing.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231213_030200_703678_ECF6DEEF X-CRM114-Status: GOOD ( 11.76 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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