Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3190867rwb; Mon, 7 Aug 2023 09:29:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfDbeck1mRBxr0mZ9/xbzFbAVApzIrJBqlztuAVGf5K3eCbbLbtIKrMguuCiTX6Pq9Sp2D X-Received: by 2002:a05:6a20:7daa:b0:13d:d13f:912f with SMTP id v42-20020a056a207daa00b0013dd13f912fmr11830124pzj.61.1691425767624; Mon, 07 Aug 2023 09:29:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691425767; cv=none; d=google.com; s=arc-20160816; b=O28JpB+gjuyGOE0XKwjwjV3nUbubmnkmJoO9B8zw8gZPiSJfir5j99t9SSkXmKexir fFl1Iv5fpwgMR5IfEFhMLy0LHzPC51ipwodMJGY153xOPddJVg6wkla4weTjzv9i1gAl Gvu9vfSzez6IzweBH6gWjqbDe1qfUcdQTjYGMVkeuSsUYhX8xcwdUhIMEnm8N7DNqOH/ E9wCwp2Edqed2DHN1V2Cp09p7cF2YlOevfK6WKxy4p2Vg08ywN4SmlfddsDSytSCXQZ7 L2CwtBgWF9WS5U2AJECi0DHTW8eBoRvftTSDuPtBWm6nX0eSA+uyBqB/MHBgbTCZNt57 rzVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:mime-version:references:subject:cc:to:from :dkim-signature:dkim-signature:message-id; bh=8e5qBi4unbK4L9kV01zqCd39sEuWF2ZwMPDC4Zm+oQs=; fh=/92WVKYrcN3rA268QXyKzVtm/UtxHeI2lnbU295XDiQ=; b=usfRwHvPGOEmfz0qPb5f2QtwVSrOPTOaAKRYK+nmJR6VzL0V1uMxmNFySHMPnC+b7W fGCbe+ARXxGbTTYDsGS47dk36tInfOM2kW4T7AbfFqfpKBwVmUuOQzFyyblJgbSJ1fOP /Tadvs2MhP9vdjOZQMb7X9SgVrHRR8x9gUXzzeEKzvn8P0zmsm+SEpoV6fsvUTbJg7BZ jfDEgdjhen0tppL1QBo+7ofy1TJ0CynWSwKkh2cRzZowd3DYXb0f4QYVgvO5odlKaQjx F89+w6/lzOzwgDVSOWJIA/3SugVGjZ+4aFA/U93HdPXAp+njedbmZ57if2J2+6Y2ZpUB tCrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Is6BpuQg; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fa7-20020a056a002d0700b006876288783asi5872060pfb.119.2023.08.07.09.29.16; Mon, 07 Aug 2023 09:29:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Is6BpuQg; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233363AbjHGNyT (ORCPT + 99 others); Mon, 7 Aug 2023 09:54:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234514AbjHGNxY (ORCPT ); Mon, 7 Aug 2023 09:53:24 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8AF01730 for ; Mon, 7 Aug 2023 06:53:15 -0700 (PDT) Message-ID: <20230807135027.796685292@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1691416394; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=8e5qBi4unbK4L9kV01zqCd39sEuWF2ZwMPDC4Zm+oQs=; b=Is6BpuQgQgj9xzGXJxqihTeaMeVw8uEILDbIHbeElhwkCzwWmpo/8LYQofgt/TOawXtJ0G EeoUXs4J5UD7JuuSjkeK0lc/58+35RjlW4XREky0zjiTFe/JcXU7hWyCUTehB+3NRBrm7O 89Jvaxxv3VcqbDBLVrOO522hqfCTWIKErctq39DniQPTgLVcIiRXQfWl47tu2bSPEPU+GC UCDlQsOU2Z9MRAV4VxvVSxoTH2Lyf9hesO64BvEovW33KanWUSfb7BgMqrsK6DKciMnDF+ qqzA7pyRUSyo5Y8vv9amX4X4J/IK83+UvzntsajQNyyC/vi+VAtzHk3h+ZorPQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1691416394; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=8e5qBi4unbK4L9kV01zqCd39sEuWF2ZwMPDC4Zm+oQs=; b=ey+nGSKuhNoQUjZQeNNDsLjkZN7xbQMRrS8kscyyAcKgy4BRjwR4DF4xkX8z0+Joc7kL4u ab7Nt8aToFkDpbDw== From: Thomas Gleixner To: LKML Cc: x86@kernel.org, Tom Lendacky , Andrew Cooper , Arjan van de Ven , Huang Rui , Juergen Gross , Dimitri Sivanich , Michael Kelley , Sohil Mehta , K Prateek Nayak , Kan Liang , Zhang Rui , "Paul E. McKenney" , Feng Tang , Andy Shevchenko Subject: [patch 26/53] x86/jailhouse: Use new APIC registration function References: <20230807130108.853357011@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Mon, 7 Aug 2023 15:53:14 +0200 (CEST) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No functional change intended. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/jailhouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/x86/kernel/jailhouse.c +++ b/arch/x86/kernel/jailhouse.c @@ -102,7 +102,7 @@ static void __init jailhouse_parse_smp_c register_lapic_address(0xfee00000); for (cpu = 0; cpu < setup_data.v1.num_cpus; cpu++) - generic_processor_info(setup_data.v1.cpu_ids[cpu]); + topology_register_apic(setup_data.v1.cpu_ids[cpu], CPU_ACPIID_INVALID, true); smp_found_config = 1;