Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1426599lqp; Fri, 22 Mar 2024 14:48:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQHzWSgFHMlnWIOrGj5Ant/blyEQA7YsjsLlP9dlunJqHriEHxsT++xA8t0aXDvrjipT+EIndZwMu18weSF8JnPTR8kg4A8KpfaXrwSA== X-Google-Smtp-Source: AGHT+IF2RdRfFV2sTW2ZtlKRkAejaLcpKKVzEkOYyGqKpf4/jvPUnQEs9wKMWENHE5cjjX7+5HON X-Received: by 2002:a50:d742:0:b0:568:be6d:e5e5 with SMTP id i2-20020a50d742000000b00568be6de5e5mr437131edj.37.1711144104763; Fri, 22 Mar 2024 14:48:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711144104; cv=pass; d=google.com; s=arc-20160816; b=j2kDJRskE5sp7Pp874w7UJcZiJmDVVLRdM5Xm8FmHZOgxzqF/MWAy5+HJ7WqSzNrLM O7rP7b1ZHPjhkE5oTnTy8WqII7vxNbGIxrDX2u9QgsEOnYMXHUvv+yzSvbZ2I7fRP2q3 Y8h0TZbbQHru9SQR2d15rNPPnaCuTZ5ViVpsld8t7LdsWsHyL8viD7ffxAcPgW+/gL5R J5wuzIRhWpT3IFuVathDi8Ozhr3i2ekxUUQT8cYblfmzvhgu1vz9XYNW6SNZ2f1gaBuN zMTSoTtSlRVsHVNbT11zNoJXgjplx8lY+bcgfBQRN3qWvteMR1sijWXcC7KZJKjHJVOy GhSg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=Qwc2S1fB5ESIk5rQRrelB9J3ow8t5FCTnSuALstuIMg=; fh=f0WISgx3kYA6iu37nZ5MPNk4oHsXVipuSaJQ1DMmstw=; b=0ZsRCCpIeqgXuJXByYP5ubrRPZsCPj1lpkKnia3fULKKXwblCEkCAZ2zxI1J7Y8QPZ wL7WKOPz7oJf8uw8AQc711hv9tV/QpRpcM7EGuBz3XjZr6O7DbXYVU+GeuhstUSQLnSP u+1XrEd1kW4KluV+nVf7g8F+pG6e+RhayxD6v2ZbbbQxg+SxR2Nzg5k/jRf+HkXB+hnh q6rG6vVp3vDGkgvLRjhkhgMbshzMBf9/vx3f9oysKHm+/I0moIRVsf86XEcGU3vp+jSL TO6aMr5R7sxma84qP02W+NXEZgsQq0MHWopOhnoIFKaM9P/wuTU2WiUkW65Q9OoFqUir MM2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ifxMvzu1; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-112047-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112047-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ek23-20020a056402371700b005682b6ac21esi227084edb.54.2024.03.22.14.48.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 14:48:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112047-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=@gmail.com header.s=20230601 header.b=ifxMvzu1; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-112047-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112047-linux.lists.archive=gmail.com@vger.kernel.org" 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 7CF8D1F2157E for ; Fri, 22 Mar 2024 21:48:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA36680632; Fri, 22 Mar 2024 21:48:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ifxMvzu1" Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) (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 7485960B91 for ; Fri, 22 Mar 2024 21:48:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711144096; cv=none; b=Byoowz1yOIpxEIwyR//fyKeZvlaOqOQO+03oIjqR8/JyNZtGxOriocwNW5OMGdsxfcQ/4r+QTXdE7ND9uBwq5vFYoKj4Oig4rr3meUOmny07CPddZhE5EDc4heuiRHTXmY2TGdoSujDoN6hkuIB9B/sLF0rCBMwS1mCGfmE5WnM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711144096; c=relaxed/simple; bh=r2JygysBSznEYrREqtBGYtwD29MF8jgYZVNy9hfOPrA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KfnA4QNws/1I1++RHnEFjGknJqX+ZXC3yRxf5Oub5Sxv78HoMKQpKrXmM2jyvyUyiHOD7wmj7o2YXdMWpqOCnDKLD/42zozpnhjF0AHrKZYg0B8TAQTvEf6at6Nb7fQLcT5iMWCtAyE6+p2Vr6AUI66vCI7FH7uEB5S/7W+r9n0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ifxMvzu1; arc=none smtp.client-ip=209.85.166.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-il1-f169.google.com with SMTP id e9e14a558f8ab-36864f7c5cdso9206155ab.1 for ; Fri, 22 Mar 2024 14:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711144093; x=1711748893; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=Qwc2S1fB5ESIk5rQRrelB9J3ow8t5FCTnSuALstuIMg=; b=ifxMvzu1WkyAZFlPDR9q0b0DRF8bQeixL2JY88Y4L2eNKu3lSGwkDGamZeji41h8ZB yLZ9flnKZzgl/fhX7qsYPDbZmGtpQ+MlMH6drDX3K0AcAoAPkRjeCBtOlBCsRQW/bcIY MTjrjqLrH1qfAMrRzB7LThLNn1F4AhQcfLDaLKKVApGka98StBsqL21w+wD3hlonJYJv UruT5JU+1mEESZCWiyhSMyNj0pxbEpk9Cn2aOYWSHF7hci95JUkrGeL/cjRQDC/aA2Io uEarlIUVGS8jRvIX9si+ZDD6pnVahBfk37XRtt8O/P1iRPszAbSAzF+kR44h08+OmtqS vKSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711144093; x=1711748893; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qwc2S1fB5ESIk5rQRrelB9J3ow8t5FCTnSuALstuIMg=; b=SfYVR2jUCfvfhOp7SfxedX8ir7tViHI1RwlQPHduBiZa0wL6HSGOGwW13hzzN09fwL 2iP5471aDuALiV8drLw7gILZTKinRKJHlMhxEj/+7a73sHemtMTFjSey8ACFnZxyiYd4 0Bw6JGgJfcd/ytKA/N1lg9Fgph4JA/Z6y0BdEQbZ9K5QMzaeYLwj5lYvEvPacfF3jlqB sRXhNQrm0v2Eepg1P4YFuRACCVHMiweGZwqJeilgM4jFCN5tK+rTnxaWHE8vZPKGoUB+ QbrW0LRrIFus+LOowVRn240H+XJiMLEMYZWhRIr/oCNPoE9uuo8H1a0v0IeraTGoyyQV g3jA== X-Gm-Message-State: AOJu0YwDF5t5NyRKD3EluH/ecaJtA42G/v0hJdP+t6iO+8qswASSnV4D jrSoyYrFvQmP4z/vtJ/ocRok6lwzmIqegI7Qvyddz3U61PkcJ0UCOAnoMj44 X-Received: by 2002:a05:6a20:3ca3:b0:1a3:a933:a9c7 with SMTP id b35-20020a056a203ca300b001a3a933a9c7mr1157474pzj.6.1711143677836; Fri, 22 Mar 2024 14:41:17 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id gl3-20020a17090b120300b00298cc4c56cdsm5977617pjb.22.2024.03.22.14.41.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 14:41:17 -0700 (PDT) Sender: Guenter Roeck Date: Fri, 22 Mar 2024 14:41:16 -0700 From: Guenter Roeck To: Thomas Gleixner Cc: LKML , x86@kernel.org, Linus Torvalds Subject: Re: [patch 2/4] x86/topology: Dont evaluate logical IDs during early boot Message-ID: <3e8c08e0-dbfe-42b8-9668-bdcaac9eef4f@roeck-us.net> References: <20240322184944.141421692@linutronix.de> <20240322185305.186943142@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240322185305.186943142@linutronix.de> On Fri, Mar 22, 2024 at 07:56:36PM +0100, Thomas Gleixner wrote: > The local APICs have not yet been enumerated so the logical ID evaluation > from the topology bitmaps does not work and would return an error code. > > Skip the evaluation during the early boot CPUID evaluation and only apply > it on the final run. > > Fixes: 380414be78bf ("x86/cpu/topology: Use topology logical mapping mechanism") > Signed-off-by: Thomas Gleixner Tested-by: Guenter Roeck Guenter