From patchwork Tue Feb 13 21:05:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Gleixner X-Patchwork-Id: 200634 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp813029dyb; Tue, 13 Feb 2024 13:16:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWmCPgn4lALJQ1zcBtTeVtApLg6z+K660PN4KOLEGv1A8ovqfcl1HbVSpXrg2j1a4lY7Uic/qF9hMoXE3BLPJxvDwdDUw== X-Google-Smtp-Source: AGHT+IF1tdpHKy8pfYtVWSPrv+JYtmZArC9UWwPNvSTOVuaniB8/c2wj7ciL4X6Se0fvSuOmy666 X-Received: by 2002:a05:6a20:d90a:b0:19e:83f0:4300 with SMTP id jd10-20020a056a20d90a00b0019e83f04300mr1043506pzb.35.1707858987562; Tue, 13 Feb 2024 13:16:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707858987; cv=pass; d=google.com; s=arc-20160816; b=TlGHnxpSSGHUQJ3yppJjMxLwCEHPst1NU9waWrc8T21XpKShCHjeTwBKt9SgHtrLHd mV0MqWdV+SSXBG0P8wEYG9gv9cDeYU58vtuqqZITo1TuboEcGkecsZB4xgFzc4Na5X0K BeR42Ju0NPSRUKaKJVj+kMQZHvpVFDvQv3SsuGY5Qbf9GqtlsQAe+LWomKx9jmRfJJLS xpXLUAAu6FdmwdolUaoSj/16hf6g76YdSFe+BtgHV/AIxm4nqlcGhhbMUYBt/GBxLSTo byPlmdWBm2mTTIy7yCIUlHEM1wHIBEKSk71DIYWeVLrPIAWlan9mSJV+uZeOKr4izFXi EGlw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:subject:cc:to:from:dkim-signature :dkim-signature:message-id; bh=/kiMUzKyScheTGqyDyzfFDVZrHCgxAZbeMclOVhEQjg=; fh=JAG0UYivVb8yqIvqWFqPIeALTEN+qMvMKgAadJOXsZs=; b=wCFXQIXnGb0NhmuqPkyDZK8CsIxzgLkWgr6DjkbBg+DN2mF2egoZMT4qfZHAYGuS0t W5v7UR6uUQSbLAncTtd7SwnZbohSKxYYtjjkxH5qzbfrcPSlAZhm2lQx18vmfSu3SKzA /xWsfrGLD1FZqjfRZU1M5Pr8vSo3h2gxA1A254+qYrooocMNeYT1mPHSNLv6O6sKUH3O lSRtk6dleB7LAMk3lULSCICzjbYrGQ/fkXbl6chhHlsMx8+WiR4pvirqvz3xe52pRJZW /y5eNNyP10PEf4jXdludV/BWmlNDmYS13bNVkIqCdJ8Vj5YVtNCpokxuMXW4m7c8PWH7 uRtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=TzBUithN; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=aMweeaWZ; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-64289-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64289-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de X-Forwarded-Encrypted: i=2; AJvYcCWifJKaFJSXkssJioQLmKnxYiURT0FW0hBiHBo/1AekbGBRc/USWGpzLUeaqL3lj0BvZNP1uQFj8VlFAQVzV7OyIYr/GA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m187-20020a6326c4000000b005cdfb08b91asi2499156pgm.796.2024.02.13.13.16.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 13:16:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64289-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=TzBUithN; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=aMweeaWZ; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-64289-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64289-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 93CBA28D2F6 for ; Tue, 13 Feb 2024 21:15:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EAD0B62810; Tue, 13 Feb 2024 21:05:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="TzBUithN"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="aMweeaWZ" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC56B7A715 for ; Tue, 13 Feb 2024 21:05:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707858342; cv=none; b=X96EqO8Yncg2W9lz13oN3U4NrjkGmR39jni8ixKphhYfIBdwDgFvmIthMW/EdwB5bRgCfEv2WGAKAjHbf49XmZwhXpABvrKUwn6Nq78i2NJJM10OYZYDKfLFL7ixkLtm6qFJlspHTxhGETWH1guMjyM4dCl6S/kbwsCUqaWFjiU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707858342; c=relaxed/simple; bh=sO4nt/82A5dDjzT8pZrak8tpN6TVYee6qxAhdOaWWMQ=; h=Message-ID:From:To:Cc:Subject:References:MIME-Version: Content-Type:Date; b=k7o5OoLlNxQdDhtmAEGBzpZ3Nwog9P49z7pP2aEJKyoiyTFKk/bpKxBlJugiI61oOQocyqqsSJvPcwrfw9Nxkz45spK62EuOyoSv4urd67CTdPo3yCc5v1nkix7uLx13KIsp3y9Sq0YYj0qt6A1AU9li2AOxbe5J3cpRjl13k/M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=TzBUithN; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=aMweeaWZ; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Message-ID: <20240213210251.720970412@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1707858339; 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=/kiMUzKyScheTGqyDyzfFDVZrHCgxAZbeMclOVhEQjg=; b=TzBUithNCvsi+Ks5REh1gdzTykb/s/xHOINnvNaJk5fwdNm7CUNZ2suPIqkr3/u5EKK68m 6JSGKzPPz6TKDfqai95T9NA3DZPKpk/2dD7T9a31k686pQ4SWoClmJqKyrxvrmNkao/BQI fr5rnwoHdH/DigfzAjurjb/scQMIv74vfjXSKsSnHrGlCzCcOCG8V4ixhbD5RHIXvINrPG kRmcrnZFhslYT8Fdpok2kyuhjmS55NPRoc2QauvlxfytifskzW+j/2U16ycwIcObMeDEmb vXBo5fPiOfhZMf3pOVwBolsOxjcDUm+HU1cvOqHbYEpC56qN1MOUyBx70S3eVg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1707858339; 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=/kiMUzKyScheTGqyDyzfFDVZrHCgxAZbeMclOVhEQjg=; b=aMweeaWZCO41dEGT5qQYA0Hx2jNeNVqI6CzLzQe1HvqFR0GrqaQxReIqHBm0q7uzChplJ4 RCVcGcdNM2ARUrCA== From: Thomas Gleixner To: LKML Cc: x86@kernel.org, Tom Lendacky , Andrew Cooper , Arjan van de Ven , Huang Rui , Juergen Gross , Dimitri Sivanich , Sohil Mehta , K Prateek Nayak , Kan Liang , Zhang Rui , "Paul E. McKenney" , Feng Tang , Andy Shevchenko , Michael Kelley , "Peter Zijlstra (Intel)" Subject: [patch 04/30] x86/jailhouse: Use new APIC registration function References: <20240213205415.307029033@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Tue, 13 Feb 2024 22:05:39 +0100 (CET) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790819946085290357 X-GMAIL-MSGID: 1790819946085290357 From: Thomas Gleixner 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;