Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1426711lqp; Fri, 22 Mar 2024 14:48:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDKMDMR9sl9LKHNMnkrPqWmiJN6+C9tzspmL88nGiLQpmC838vbYKQ2b7Zk5WbrAByROPnBl/gT3PXqhsTRF+OSWoKMCiBttBEONbrQg== X-Google-Smtp-Source: AGHT+IGmNXF1KrGqZa0XFiy04mk6aAdilrhAqpi5cmUvvCmjkCBZU83Hxtdy1fDa0C407rhNstut X-Received: by 2002:a17:906:5396:b0:a47:431e:6b0d with SMTP id g22-20020a170906539600b00a47431e6b0dmr20321ejo.33.1711144119497; Fri, 22 Mar 2024 14:48:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711144119; cv=pass; d=google.com; s=arc-20160816; b=KSWHDRyWA+90a/Ltnp+Lx0AhwzwvPXOnaKZKmCk4c+EeIc8gXWGV4Qll4feDCBbvyA reLHecUTmZsMkn3w4E9gEzanRNiQk2fLTnhSGEv9XXAUKhrPPW6qDxrXLLI331OKhs2X o+D+wcu4AQGs5vouOiHCabuDXa7xayeQF00alqwG9js8wMUiICi9B2Ro9vX16c2oedye dmoixVQU8do5zkhDwYzET1X61WF/WCdlgDV0rHLc3di+KE6r5o4kGm4gTJ0UMNYDX76F MLsSTnQvol4LKq2LerlVd+rar5r8LDufhkJy1Yw73EuS1EL6q9A14qf0div+29DdnoDM fIGQ== 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=On9llTVYskkD2vg9HqNwrK4CiExajRFrB31BlGuPc2w=; fh=f0WISgx3kYA6iu37nZ5MPNk4oHsXVipuSaJQ1DMmstw=; b=qu8QEAp5gd96/8YABC0tICXGrgpRto7kctXbWe8lbjmnccBcg6gnqa1HtWkxn4lPiH auvDfyaBb6EDJDPuMkF8Uis/JpgzqLDtI9mrNn/NbN/64DiGGV9MXuZ7qnYJqRmck4iM Ady8sMt0nD0/J+p878wAI8sK4fA6zdg2ctSBFh259oz3En1T7566OrTbXL4XLF8mo6qb C0csSGEwPjmulmPjOdhqDJC3/xyUBgt4pepm+E2yUBqCZWj59jEmgDdaF2J+me+c5EhB +nNQ9mMUYI3+gErRAHo19vrwaZHAvoZbr4gGfwo5wjVLiDLuCeSjydriHWna3ngmPk1H YiRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PA8n1xsC; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-112048-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112048-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 m22-20020a17090607d600b00a46e673c130si200535ejc.683.2024.03.22.14.48.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 14:48:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112048-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=PA8n1xsC; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-112048-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112048-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 3439C1F227B7 for ; Fri, 22 Mar 2024 21:48:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D9FC580035; Fri, 22 Mar 2024 21:48:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PA8n1xsC" Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54]) (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 9DCF160B91 for ; Fri, 22 Mar 2024 21:48:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711144102; cv=none; b=Hff6p0OMZ/4s4T+liIWcRC3d6wEEj8fDzpFutHD+TtCG+OLDV6uQl9kfl4zxhDB1FJJJqECO8sM1zv79HBqoxWt7k2MYjcgYsrE6SOa7rraCkAcTpHfMD302XHL6VGXU7bcfd4U+f05iBsDn+deMwsGT9BEkymNzXxPUhaUyzUA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711144102; c=relaxed/simple; bh=l3OY0t5HrjFFYgbxfL2wYmHwCTOY3qj2409bRuGg/PU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OTAJdx+o+qK16RNox0dVcznHqzU7wa0OtM9lmbQJoKn1VS/gd722RXf+sA+35BTAhD+85UeOYtwGDfU+xXkPOxfBgsq/G1sY4sfDkfqZzw8BNfxxLoWNYyMDsE8bf/j+Aakwu2p9s5TMmapA/aNpet/yu1npIqau9f77TNogbvQ= 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=PA8n1xsC; arc=none smtp.client-ip=209.85.160.54 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-oa1-f54.google.com with SMTP id 586e51a60fabf-221ce6cac3aso1360653fac.2 for ; Fri, 22 Mar 2024 14:48:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711144100; x=1711748900; 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=On9llTVYskkD2vg9HqNwrK4CiExajRFrB31BlGuPc2w=; b=PA8n1xsC8G0tjTKzA7EOkDUbWTJ2WnzBYP3zDN5SWE6p4/AoJDt5TUapL1OriDiMgX UW8UU2JWn87Mx5syO+xqID/BcgXg5DKeAZV6TjksPvxceDSzu+ZU/H5fVxqK9O40KjyZ H+Sj0qqAruDMxipfbtOY7sKvM8Iz3dK8IAGELQ3A2AG347aJegvGJ1syL7W+JZoQsZ8k DrEN/pAW6u3TzE7L5xAdY03/KZkH57vvMO+I4ZdJLbhzs4fP7Whp7k35JKNhK1iIrCyg U/Fys3UPt9X8Yxgfoij2X/GamzFzpqdmChWRg+NB5iA+hnAa7/VmdXX0Sy6Fgq+ZRChm TUSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711144100; x=1711748900; 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=On9llTVYskkD2vg9HqNwrK4CiExajRFrB31BlGuPc2w=; b=R7E65rQZ9tgOwgfcvpyrbwPsYzDe+gxHhtpmUaz5/Xlmk73LPeti6ckj5iALBb2m66 rteiN9NE27ZtOuoFvLCrvQp65ejzQkHNgTMC+xBt9pE/gnC84jN33Z5fjd1KnFAboX3p tqp7lUvMUHoTWaHs4KqyUgdCCKrW4mygtgmB7Ivp1iyWk14OGJVCFuF1sDdurW4AGRui b+P2BuVF2VQfIl6VKw9HlYy2EQFeTtR5rHLhzanELDY6O/bImLhJ3CLFDr3FVv6bU/e1 w4GYr1GizghZhTgSH/M8oNJf9DekXXuCskZhYIe1GY6Hw1/EMVooCDBSvnzmc3VGqqfs a1dQ== X-Gm-Message-State: AOJu0YxVm3l5WCyYQzXIKrKlNzAc9pnCJChUbCO4XZ0x3q+KRljwGLMH 2vc/dqgfIGjuxEJxLNC4H1AT4SMzGEhbjtZJPNF65DKi2O77j1rnRxbehwFW X-Received: by 2002:a05:6358:2618:b0:17f:1d34:6253 with SMTP id l24-20020a056358261800b0017f1d346253mr802842rwc.15.1711143706147; Fri, 22 Mar 2024 14:41:46 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id r16-20020a63d910000000b005dc5129ba9dsm2050333pgg.72.2024.03.22.14.41.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 14:41:45 -0700 (PDT) Sender: Guenter Roeck Date: Fri, 22 Mar 2024 14:41:44 -0700 From: Guenter Roeck To: Thomas Gleixner Cc: LKML , x86@kernel.org, Linus Torvalds Subject: Re: [patch 4/4] x86/mpparse: Register APIC address only once Message-ID: <349fbc82-162f-4905-bbd0-4101e1e7a6a2@roeck-us.net> References: <20240322184944.141421692@linutronix.de> <20240322185305.297774848@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.297774848@linutronix.de> On Fri, Mar 22, 2024 at 07:56:39PM +0100, Thomas Gleixner wrote: > The APIC address is registered twice. First during the early detection and > afterwards when actually scanning the table for APIC IDs. The APIC and > topology core warn about the second attempt. > > Restrict it to the early detection call. > > Fixes: 81287ad65da5 ("x86/apic: Sanitize APIC address setup") > Signed-off-by: Thomas Gleixner Tested-by: Guenter Roeck Guenter