Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2035654lqa; Tue, 30 Apr 2024 06:48:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXjrHQLnwT2091mpUagK3zldTU9P/XNFJ/m6RLzIml6/QSWV4WTo4JhRblJdvCEc2DmPUYiawPPP+opmuPWw5q6iZH4pQTDo2Aamav+Q== X-Google-Smtp-Source: AGHT+IE/9XKqCHseHdrU7iTtxXXb+MfEoM7KfNJ3LUeg825jp6P6G7xHjzKDEh39N64dHRSCLKUO X-Received: by 2002:a05:6a00:10d3:b0:6f3:ef3d:60eb with SMTP id d19-20020a056a0010d300b006f3ef3d60ebmr10779108pfu.34.1714484908033; Tue, 30 Apr 2024 06:48:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714484908; cv=pass; d=google.com; s=arc-20160816; b=VKLG07MPEEIadFXYGLBE4qTyHxSYVfiSXnB2OISDmufm879UT2moMarh1Nr0T453Pk wkAqASwJz3uLIFa7pcEp8BcebYtzd1pOCgew+j9La3lyvkMWDTIOQuk5JduiE89GH2+W emLRUitWtdM7rkPotFG0eZy/HgDoipd8Xgmk0k4Ajzd0kBkpvx6eFP7x35r8hHvza6lP Hk7s8X5hin6Yd96fpFHbADluauiHYio7itNx4je0Ms/MgZGl+L5AQpJCyPM92sTS3Qld PoSzn14DjlfnpOGtI/zVYFz34yUbKLJ/7OzZoFSe5a7/H6P5bGXGHoRn/lxv/mkfrRV9 XRvg== 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:dkim-signature; bh=MasTPhLFk4wvJV4dMMwrd241d1uVUzrMfthE7bDhqs8=; fh=jb1WRtInB41ba+u4J4OkhJWUqpvIwCTfy5V56t0SZnY=; b=aezd+9lQFiya12bnn9FzsKtvxf8WTCGRZmb6bwWUCC/LaiZi6UA4ihmVn85mIw5S4h aPrqPUJqcMZD7ShzZC47Ew6ql9gFuD/GhvFcvZ6kq9ag0OHnCvwCAc49ztriR9mNhnpR Vv6snQs1nF6xR1jTKXWlTPajXp/00vDkGpXTUqCDoKVPxB3An0MYMkxaqYPyl7A2iMX6 f2+VXpcxdAflIOotfyS/VKfYFKDdIgMKB2UqaZSt2OKWHvcNOM1j6IGPqj8Fb1f4L8Fb /w3O2fjTee0d+faV4mqnfzZvfUUGPjiG15loLe+MZAbJs1bbjkzqXid3nM383Wyd4MD0 Ut6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=KBafVTva; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-164039-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164039-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a2-20020a056a000c8200b006efc1f1dfd4si22888885pfv.330.2024.04.30.06.48.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 06:48:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164039-linux.lists.archive=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=@alien8.de header.s=alien8 header.b=KBafVTva; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-164039-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164039-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.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 BC8BE283588 for ; Tue, 30 Apr 2024 13:48:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96A05172763; Tue, 30 Apr 2024 13:48:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="KBafVTva" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 4D2FA17167F; Tue, 30 Apr 2024 13:48:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714484901; cv=none; b=M4cgHupqXXArWpqWN4LAb4Ax0MIu3xE00uLt0ibiSuddC991uIuslTwqYN1DFRrLtsEZef3ky2WNDZked1GqRJU13BbCYlRVUbheJmwhCHadL+4LVrkqCDV0rO+n00+1qg7+LIfrXImgen1K98ZRn5eqs1YxX9QKxpzNGcKXnaY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714484901; c=relaxed/simple; bh=8G2dkZsISNPsJnxDPFxSqCHDC2NnCRCxIewWXpeyS3s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oCKny+gffUkarL3VCegNeckiw6CMYOFwIvXXINHJZNczXSDF7M3MmLCXvIdL/OCxIQnGLFiW2M5a5mj9DvEcqFfnBcjOGX+o1y7+XjeINwc/i1P1i8rbANhppaBu9rXjZdEO8oeyQ4tQWqnfAdNIo7wvxElJQBpoNYTvdd7yA5c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=KBafVTva; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 205D840E0187; Tue, 30 Apr 2024 13:48:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xECjcqlxMJe3; Tue, 30 Apr 2024 13:48:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1714484893; bh=MasTPhLFk4wvJV4dMMwrd241d1uVUzrMfthE7bDhqs8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KBafVTvazS/DYhOcVg3G7qk11+hDp6roSdu4mbuGw6v7Ngnp8p40JyJSJWDHccys6 itbO29c7cUIL1JEuh62TxdRk2YFA78dmS4+kFSWQImB1KT9fln2ulB63EX0DVru7tR GmBBmUfjaA+fy8iDqwGqwDtPCuIinwQ1PBNsWEMTl/NSD+bIiGqACrYJGo5RPf+whn Bof/EksTibY7li1o8GcDTltZ0KkWInC8V5X7/9P/El23WD73oEvE4KlZ9MdPmUfnz1 fpkYOnEa6OLfMKI5eda35p3796aEtYYV3IsrPA7+gmzMJPrcRmlummRoHWfa3EivKv SzvyRVPRqs5ct2ZFGjeHI6WyyqL5Sww08b5b0mLQKOJlDgcCRObtXstZDgl7OJNVVw EnxNMwy1pjWSSu+nHEPvD7KLxU/G4x7AdAdiX5BZztK8LbYHHz7I+XC0dJ/d45GJHI 4T2fhUi1+WKU7BpIsuqxRI501JOt/M9nep+PqnRvEjJtI4fhcj5HAvSDIsgCmmUDI4 e2KRujjk7DNWpiPia8Sig1dedl+nUwxMfHuLYbX54p/pRcfN41aFZ1iFB+K6E9RFBn E+Wm3Zv4oKLd0y08jGB0WLLceBLbqs9JRUXpPKHvagwGlUASVJu8cXB+BIONvQOo4T DHSnOUtnxDn3rOX42F34KxA0= Received: from zn.tnic (pd953020b.dip0.t-ipconnect.de [217.83.2.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id C678B40E016B; Tue, 30 Apr 2024 13:48:05 +0000 (UTC) Date: Tue, 30 Apr 2024 15:47:59 +0200 From: Borislav Petkov To: Yazen Ghannam Cc: robert.richter@amd.com, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, tony.luck@intel.com, x86@kernel.org, Avadhut.Naik@amd.com, John.Allen@amd.com Subject: Re: [PATCH v2 07/16] x86/mce/amd: Simplify DFR handler setup Message-ID: <20240430134759.GBZjD2j942leiJGSrQ@fat_crate.local> References: <20240404151359.47970-1-yazen.ghannam@amd.com> <20240404151359.47970-8-yazen.ghannam@amd.com> <20240424190658.GHZilYUvw1KfSfVd_e@fat_crate.local> <20240429125956.GNZi-ZzN1Izxps8ztT@fat_crate.local> <20240429141244.GGZi-q3NdmI17pai4N@fat_crate.local> <891ec639-e557-4dbe-8afa-3317b9c173ce@amd.com> 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=utf-8 Content-Disposition: inline In-Reply-To: <891ec639-e557-4dbe-8afa-3317b9c173ce@amd.com> On Mon, Apr 29, 2024 at 10:25:02AM -0400, Yazen Ghannam wrote: > Yep, "MCA init cleanup" is another thing on my TODO list. Right, so looking at the code, early_identify_cpu()/identify_boot_cpu() could call a mca_bsp_init() or so which does the once, vendor-agnostic setup. identify_cpu->mcheck_cpu_init() already does both the BSP and AP per-CPU init. With such a split, I think we'll have all the proper places to do setup at the right time without hackery. > The BSP still completely finishes init before the APs, correct? Yes. > I recall some effort to make CPU init more parallel, but I haven't > been following it. I think you mean parallel hotplug but that's for the APs only. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette