Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp354653rdb; Tue, 5 Dec 2023 07:18:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IEzPKmsrgKPtjiQn2P64s50ddMG459coo2JtLlEuurBKVnjQu9yb/PnYG79StYDh0Ua4aY9 X-Received: by 2002:a05:6a00:198b:b0:6ce:52b1:f9f8 with SMTP id d11-20020a056a00198b00b006ce52b1f9f8mr1127268pfl.27.1701789481521; Tue, 05 Dec 2023 07:18:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701789481; cv=none; d=google.com; s=arc-20160816; b=zvFbIAl5Sr/sITwElwBs0pjY4L5J79H2aI+OYC/weaHDE26JMKuR+SbzU32aHeUeUL owcltSXIREuGWN2eeTmdzS5x4F3RxDchh9oZZh2krMGFHM2Ih7RoqsxmOazr/F4jNdKI dedKKHuqk+mmeZ6LnBgLlAaH+C/EvmsjlNx1G4QTgZQW7i1/aY+LIJkc8F+QrKr6O4Dt u4/AIJJXgRVY/sg8eQZ5IejYl7gLziCRsHfZvzPmtExjY5Jh1E7HWi2Ge8kQnMMeg52C KMWJeBg5D9gemQvzJAOCPc5rAMwo1svcuUh/rIOsxvpvQlidgvHvUgNvy/92qzRBTRcF hj+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IShR2JP6+JcnOpvEXs7NNxM+kaqLRLjSNZ/sXGZ3B5M=; fh=reP2oiV8VPtoQ58Hv2tZqzp8eWZQOdt4zS5w5ErDMxU=; b=cn+fcAaK1HKYH2T8Au+MxMzNvxNgOzhfzkmyXLbbdoF+1Z3tCj7KOPNrbwtuDPzInv i34fibIgbb8tTWpjzYh49e2sApff0IEFwaBfa0bIYmzLeMmC7/7Fwe5vvY+ViIWieWJr K0wJzcfNhGgmNWwlFJ3Chu8foytFf/H3AgdfclIL4GuLHb+8TghCMIZZnqhKSbCckgOI W7gholULPpt8UPknKOMCsMQ2tDMmyUKYvoyDQk4Hf6J/C01r8C6/oK+JEkjvBxzqgRSM t4bmdEhvX7tOxLSwHlN729nxDplc4svpX2JhU4xAoqgbZqW2huErjC5jhusWV0GUm8FR FnhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DVPxDDVU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id z10-20020a056a00240a00b0068fd7cb5864si9781955pfh.263.2023.12.05.07.18.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 07:18:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DVPxDDVU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id BF09F8050632; Tue, 5 Dec 2023 07:17:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346939AbjLEPRY (ORCPT + 99 others); Tue, 5 Dec 2023 10:17:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442364AbjLEPRC (ORCPT ); Tue, 5 Dec 2023 10:17:02 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 628A4D4B for ; Tue, 5 Dec 2023 07:17:07 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB449C433CC; Tue, 5 Dec 2023 15:17:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701789426; bh=u0cVlqpFIgozphn0YtMmI9Rg2WyYQkpa6+1c55rCtGQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DVPxDDVUw6LLgBi39Y8flaTz8ZCCZ7QiPkWL3GRS6G/voXLm0rD7sJ8VIvOS3vaMV trQ6MvyyFlxMkhuxNY6udO6XIaCsg/X6RdvejTiUklrlEqtuf1HCQFjs5xtbP+Ggtq z8SU7ZMiyWwaUzlUEIkmNZrLASsszr/HpnTLhNH+g8K7xU0shXpttOeOltkGgRUlyD u2GKJK9TfFohG2zhefeHtrQ7DZ3KId6CoDvrn6oAuOLx8hDsKUCH+kNpzplTsXUo37 hcGZghH52jZ7uVNST4ugKEOrTDrYZyfU2MJfQI4cgtefy8cRLRrT0vc1Vg5+rlcfP4 d4FZKjIXEORfA== From: Will Deacon To: catalin.marinas@arm.com, Huang Shijie Cc: kernel-team@android.com, Will Deacon , rafael@kernel.org, linux-arch@vger.kernel.org, gregkh@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, arnd@arndb.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4] arm64: irq: set the correct node for VMAP stack Date: Tue, 5 Dec 2023 15:16:36 +0000 Message-Id: <170178641072.13754.15163791015207648414.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20231124031513.81548-1-shijie@os.amperecomputing.com> References: <20231124031513.81548-1-shijie@os.amperecomputing.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 05 Dec 2023 07:17:59 -0800 (PST) On Fri, 24 Nov 2023 11:15:13 +0800, Huang Shijie wrote: > In current code, init_irq_stacks() will call cpu_to_node(). > The cpu_to_node() depends on percpu "numa_node" which is initialized in: > arch_call_rest_init() --> rest_init() -- kernel_init() > --> kernel_init_freeable() --> smp_prepare_cpus() > > But init_irq_stacks() is called in init_IRQ() which is before > arch_call_rest_init(). > > [...] Applied to arm64 (for-next/mm), thanks! [1/1] arm64: irq: set the correct node for VMAP stack https://git.kernel.org/arm64/c/75b5e0bf90bf Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev