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 B545FEB64D9 for ; Thu, 29 Jun 2023 19:02:01 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fGKT22fmQt2NHINKfW+LacmDTn1neIU04/Osm6eJrEU=; b=eNaXSMar0cdySa fbQjrojO5VC8c3MVTNpUb7KXN46VbU+GumOUFcpJ+j+EwQBKW4xHdrtE9+kgYbQGfiw0T/WXXEHtW IfdgknfVYKBjGjnXg2pHfzSL3+IRm98zKkiS9NRNOFk7xLupONSSOMJ22UllcxS9WHdQa5rftawEN OxZHlHWPnufZNz9YxXwP42u1jasZI5rajVpke8NVW9x//M/mv6gQp7lULVDzasocDaa6CvpkHTfWO 502TDTyhLVCgdzw2Vuz8Rvte5vuLSzhPNNBpHQiggmj1WR9HgFASJ3I85tN4X6ylrHw6geYyyqHkA etEQ7swgeid50twKYz2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qEwtR-001rEG-2F; Thu, 29 Jun 2023 19:01:25 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qEwtG-001r9R-2h for linux-arm-kernel@lists.infradead.org; Thu, 29 Jun 2023 19:01:18 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4C8CD61625; Thu, 29 Jun 2023 19:01:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 499C7C433CD; Thu, 29 Jun 2023 19:01:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688065273; bh=BfBq32+wUjq/ixVzTsMobWC5JLbxN7vWJFEZGGw/1hk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dXAZOBI6j8LtrWrl1R9HBGJXsx7y+7w09f2umB4vTFUHiAtuEd95tWMLAmIMq14Uc q4AzvUJ8fz+DT9wQipeNbxcrVuB3r5Tisy7XPxCJj44FqEoVGKn2uOoSEwySVk/Byp bGpeE9y5CbfkLM3oksJRJW9Th4pXVjp7u2P+XTsUmRmjvd1FQrklnpSKnXznVRE/8W AcQOoUjtyT1PU9yOmFddDI3dN61BWbKHIc3xAMCvJwONdbcLhmB5UxATrh/SEt7zM/ tKU1WcAtnUdrSexeeo8CBe46jze9Thx3jnfByd0KxMOFjoBNjF2k4WC3jML00BtO4Y jMZbV+t2O7Cmg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Michael Kelley , Dexuan Cui , Wei Liu , Sasha Levin , kys@microsoft.com, haiyangz@microsoft.com, catalin.marinas@arm.com, will@kernel.org, linux-hyperv@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 6.3 07/17] arm64/hyperv: Use CPUHP_AP_HYPERV_ONLINE state to fix CPU online sequencing Date: Thu, 29 Jun 2023 15:00:36 -0400 Message-Id: <20230629190049.907558-7-sashal@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230629190049.907558-1-sashal@kernel.org> References: <20230629190049.907558-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.3.9 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230629_120114_914355_6A0F7C09 X-CRM114-Status: GOOD ( 12.79 ) 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 From: Michael Kelley [ Upstream commit 52ae076c3a9b366b6fa9f7c7e67aed8b28716ed9 ] State CPUHP_AP_HYPERV_ONLINE has been introduced to correctly sequence the initialization of hyperv_pcpu_input_arg. Use this new state for Hyper-V initialization so that hyperv_pcpu_input_arg is allocated early enough. Signed-off-by: Michael Kelley Reviewed-by: Dexuan Cui Link: https://lore.kernel.org/r/1684862062-51576-2-git-send-email-mikelley@microsoft.com Signed-off-by: Wei Liu Signed-off-by: Sasha Levin --- arch/arm64/hyperv/mshyperv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/hyperv/mshyperv.c b/arch/arm64/hyperv/mshyperv.c index a406454578f07..f1b8a04ee9f26 100644 --- a/arch/arm64/hyperv/mshyperv.c +++ b/arch/arm64/hyperv/mshyperv.c @@ -67,7 +67,7 @@ static int __init hyperv_init(void) if (ret) return ret; - ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "arm64/hyperv_init:online", + ret = cpuhp_setup_state(CPUHP_AP_HYPERV_ONLINE, "arm64/hyperv_init:online", hv_common_cpu_init, hv_common_cpu_die); if (ret < 0) { hv_common_free(); -- 2.39.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel