Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp665501lqp; Fri, 5 Apr 2024 05:34:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXuJHj1/EbMvQtaHFyt3jvCxFr7m8iSbuPjxzCxJO2X1UCSYgUJ5CQwonZMIZY36mmdaoH8DBeZFrL2At6nmzakIRJs+9Zx7Oncx1neBw== X-Google-Smtp-Source: AGHT+IGstqbwUG6UloJpsENPALAiY+5uxCva2YymwF7Z10kK0+tDVSIafSONsCNpHQzrt30J5/xQ X-Received: by 2002:a50:a69d:0:b0:56e:2b0b:58 with SMTP id e29-20020a50a69d000000b0056e2b0b0058mr927761edc.10.1712320487794; Fri, 05 Apr 2024 05:34:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712320487; cv=pass; d=google.com; s=arc-20160816; b=D2c/kkPX5yyRpJ+k282ZdKw5NKR7SevH7dojzo3mLEi16W+Maj91O3DOWfch+WwJRd WjKhkUNVkE/6bwDqjMrOmYjCxITWKcLvUONnyVfm7Im5U5CseVXveFgl2jxpTqSv1VB3 3qkvMG3CrmknP22fxR8uEquB0rYeHPpXWFyKZYIiLCO5tbuoaihYnDfQcrWiKt5OaWmF zhhDJ/s7/iS3WmG9Xem01Apa8Qt5PwNQXoo6q8Movexyx2SuKT5rZ8mFJ/5sHa9ULB5P fE7O8l2SrMz7ZIioeUgUN3/9AxQtO4B4DcVi2xJrSQ9KRKOJ+iDiG1qMBAEIOsfMQ0q9 EOow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature:dkim-signature; bh=VqNA5Y/xBRyL+e1bT5top3t6My101/ZhLt7zIZIlphg=; fh=Eu5LyA47mLpviUW8Gh95hgsz9GtfCGNo1X3t7VQHYeI=; b=hCetneRYlKHBM+d3aJ7N49AMwVSbSox2dw4ul/hhQzZ3mNU5rt0K5IgQfuQ7eb6bPD x9LQ+TTppdejECuawebB8UkgCayTahI+7OmaRHMsm70X5bHzUrdOLApnCOey3ggAJsT9 Gjb4BzrvnZrqel1ixPQyYT7n9hEKd7FY5v4nwVAqdiKKLCtwuaa1B1HVTeADDDYGT/ax wWZ7KoBVnnhkpPUqPoCBnM5k8+dg3arzImauI9nCh80olAdg+GaE3Kk/Ttt1fI+gby0S +k7jiknA7GxdkA8YyO3fajTuLkS8G1piQ6vNqYZdebRqVZ1K1YNjHXDBLyE5Yq4crFtR lxag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=O+PU4oLg; dkim=pass header.i=@suse.com header.s=susede1 header.b=WZX5xUa5; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-132998-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132998-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h8-20020a05640250c800b0056df48274b5si708206edb.207.2024.04.05.05.34.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 05:34:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132998-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=O+PU4oLg; dkim=pass header.i=@suse.com header.s=susede1 header.b=WZX5xUa5; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-132998-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132998-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 858311F2173F for ; Fri, 5 Apr 2024 12:34:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73A0913C681; Fri, 5 Apr 2024 12:34:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="O+PU4oLg"; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="WZX5xUa5" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C02CE1E87F for ; Fri, 5 Apr 2024 12:34:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712320480; cv=none; b=r4O9Or50okBVtvQjDgJ75C8Vr6JpPfdDH/RuDYKhqxUFRYeLL3lRFn0XBGZmPmI+6o6MBDi3YsW/LeL9kj45RS7/ij/R37GUSNSpYtx3knBzNuMrXT/q06Blvw4DzijzaPmJBfJaMYCeAwFKVc32SCUELfSJj7usEtRdZUR0vbM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712320480; c=relaxed/simple; bh=zpFrzBzFTAziPvaF3nn0Hd6sS0IY/k2kAfaNoOIlbko=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=NUWp6fyYuFdhcKq5u47Kj+dEnBeW7Bmv53s5U0Gqk2ACpGB1VRIzhZdydPT0NxJp00xl9TYf/VgVJtKPLbSlS+kb11zxgVn1rxAaHezMY9c2E7mNe+p1lu6qB900+PUfdBn7w+6sAjqUCheR06KjpxPAfHGxksufgdQ4XnfXq5Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=O+PU4oLg; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=WZX5xUa5; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [10.150.64.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id E95B921A41; Fri, 5 Apr 2024 12:34:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1712320477; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=VqNA5Y/xBRyL+e1bT5top3t6My101/ZhLt7zIZIlphg=; b=O+PU4oLghfVlWdlh3NhIkqh0c3pkoddQgyKwOfYuKB6f2NP47euEpQ4ZO21fdaKOvR2VK1 LYnLqRSvXfhMYCu7NA1zsnaYGFjNp7z1RYv7dkFASzgLeO64gNK1bxlhGrIzV+DsMBcvVA 8rHtut0WmAq/SU+sqJoDGDoRuymKukM= Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1712320476; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=VqNA5Y/xBRyL+e1bT5top3t6My101/ZhLt7zIZIlphg=; b=WZX5xUa5SG4XnY8crJF2mCiSBDBxA88vl3w6/RFyw7Tb2Q1Yihf9VvV57t7jD1C10qPyNo FgtjOSG0rwVq0bA6QOaqfJIW9UhVRlpGPnEJtrcylLWTptoENvfx8phqqOAEX7kr7QYDhl Qh6WVvXABMC9GOaRb2Zj2epu2IOu5/E= Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 8591F139E8; Fri, 5 Apr 2024 12:34:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap2.dmz-prg2.suse.org with ESMTPSA id Wiq9HtzvD2Z8GgAAn2gu4w (envelope-from ); Fri, 05 Apr 2024 12:34:36 +0000 From: Juergen Gross To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: Juergen Gross , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Boris Ostrovsky , xen-devel@lists.xenproject.org Subject: [PATCH 0/2] x86: Two fixes related to Xen PV guest mode Date: Fri, 5 Apr 2024 14:34:32 +0200 Message-Id: <20240405123434.24822-1-jgross@suse.com> X-Mailer: git-send-email 2.35.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Level: X-Spamd-Result: default: False [0.14 / 50.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; BAYES_HAM(-0.06)[60.95%]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_SEVEN(0.00)[10]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap2.dmz-prg2.suse.org:helo,imap2.dmz-prg2.suse.org:rdns]; RCVD_TLS_ALL(0.00)[] X-Spam-Score: 0.14 X-Spam-Flag: NO These are 2 fixes for issues introduced by topology related changes added in the 6.9 merge window. Juergen Gross (2): x86/cpu: fix BSP detection when running as Xen PV guest x86/xen: return a sane initial apic id when running as PV guest arch/x86/kernel/cpu/topology.c | 2 +- arch/x86/xen/enlighten_pv.c | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) -- 2.35.3