Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2713223rdb; Mon, 12 Feb 2024 14:09:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXCINedoVcd23afaRU6mOdlzcPnXkCn1yRZZnM2pzN1/6OiXYg+JixgiU7kAMel5ens1XOcsv655BK+IHCcX/wskGf6anyFablsGqgeCA== X-Google-Smtp-Source: AGHT+IFIppA+XMhem3r1I4M5L3vItmCMKOOXNRVm6jhExkNS1rCsoUqFqMl2BOPE690YG/5DOzH+ X-Received: by 2002:a17:906:a894:b0:a3c:cc00:a398 with SMTP id ha20-20020a170906a89400b00a3ccc00a398mr1923265ejb.32.1707775773433; Mon, 12 Feb 2024 14:09:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707775773; cv=pass; d=google.com; s=arc-20160816; b=PjvQxTUemVkPx1AF6zAZ5ud4riKtq7M/n6LA48j1tZa1F8IBMdv79nugKFwfQulRiT AVsyHbbEhLCVFdFYHe3fPUZluCjKUqc8jhxqwmG0f8nn6H8Gw7cQfvKrottyIHv7sdSU RgfqgRDUPx2sm41GM0UuxeNHQf/KjYNDjshYzrKs5SBhtskHCpYPfQjbJmBBUtjvHc4Z tdoG/WDFkk0EE87bdgblApn7Pr6h/Uy6XMWMgnzrGY9jWfX4Y+VP0ApUlJ5ePrHSd03V YMbzwZwMg8OpYx0sNNIr5HU45p3RL5M2t2QR3cV1ey9Iyz+L7re8maW5yFJZloTk/cgU zVBg== 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=nr2K5kbVCtDalYxSYbdURjwJgeoC1QmXrEfXCA1PjV4=; fh=oxHadbnIkaLNwHY2JJHssyy379Is+5YdWwvfTV5WNC4=; b=HQPvojb8XMs7qmYBZKFtpflS43+I3X3Y/6pgaPLQLvg5OWwpf5OSbzqyvGcnr9mgUu 9NQjwAaLNHu214XFgMy0RkHHlZSEy44NKhqDdA204MiiHWZbFZUp9S6qb5ViSNgGQOqG ManY3cLE3GZab23TFkJvvQlJckrhdgmaBLGHdMdxwVDyLAYzc3GWIq9ZTsZxiTvF399F iD9NCcZ3B8sDIkOjd0XlcNfR+Dcck2Yd44y4+KBbmCGrbp2/Yc/Uri3k5paA8TYFMyPl DaG7Mhu530SsOcyS3SGwuakNiCI32Yd3u0h92jVmJ3WtfIIJPVkx8bNCqSCmC0UDatwr OmaQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=Xq7jEqcW; 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-62456-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de X-Forwarded-Encrypted: i=2; AJvYcCXFmm28PicWKJZFCPUmyNkdoQVIpuSPgfXEDJP696u9UDoQ5L1pkDSe4Iok299451iCmnXp+vsoHnNJ+dunP3L2YgHzWxlo0FBZRtSURQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c12-20020a170906528c00b00a381d8c3f96si532961ejm.976.2024.02.12.14.09.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 14:09:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62456-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=@alien8.de header.s=alien8 header.b=Xq7jEqcW; 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-62456-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62456-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 30EF31F23A0A for ; Mon, 12 Feb 2024 22:09:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFC544D9F8; Mon, 12 Feb 2024 22:08:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="Xq7jEqcW" 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 AAAC64EB3D; Mon, 12 Feb 2024 22:08:52 +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=1707775735; cv=none; b=ki8DubXAbepLM43s6Wt14G8ffMa7PGju8XB77If6j3INhIWlYGt+NRX5f6VObuVBJKX4PGZQl4Q1jeRVK6emY+dx2wT8qUKcOLRWa2VgexVrq0sKayacwjBBgl4n8uA69GmIWDWpKDE68eqEGn0gzTfi2PwuHM1PL1VJ6MNJoSo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707775735; c=relaxed/simple; bh=0wF0cKT0EXGdUjS1bSMv6RN0BhD7RAd8cRtVDioiiVE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=h8lmLfixFVDgHJJ/3cVNOFAfMSwLZmGhF+jYgxjU+h/x+dhk+DXF3ERygG02HhuCrYt/7y1uZjs0QaS/r6lxiDxKP+mXx0hGk0ceCDikKzxD9xdxwm7ZLItxAcwvKJtxIt/QMfE20MkeFEq2YngNvRywgsywAVMrBHrzDCVTPCY= 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=Xq7jEqcW; 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 505DF40E01BB; Mon, 12 Feb 2024 22:08:50 +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 6-v2LGsbJJfl; Mon, 12 Feb 2024 22:08:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1707775728; bh=nr2K5kbVCtDalYxSYbdURjwJgeoC1QmXrEfXCA1PjV4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xq7jEqcW0w8WY55Wjnp/G7wvIrnXEBRhQD8GKtSu2gR/ZDXOkYfae80gnsW0hb5C4 rnHcQYlK2HCC43Cyjzjc1Zb6VFXUvMZqU4jK8tF8ikh2ZTPn0BBAd6JrNMxIfi2G4I wR9sl21d6sM/u3q/Qnunw6+9vuDNzwZW0Vu3vH6K7h9EVl773DwEOhUamZySkDgWMu eoTZEv/rfsHXzIGzE7Fnu2oQAv/MAxVrVQrfFfoJLKTN7Od8pVuIYrjRiAbbLaFCEV d3QQ81Ioub24KIa49bJyznB3IpA75h6buTcD+On5VibRpPrrn8tyP884Ubqqub1b/H LPWnYU4QT3v+p6fuM7iJdU0hSmdeuiZ+nN4GYiazxr+mxbzcDgT9XeME9yqN7skZXw NIjV+gt6Vs0k39zdquVm5QsWBWCBFJtX0JA/s3+RFuBOTc+LaawhSsrFukwtPmgNIg ZnGlttaLGkRv/F3T7Wpa/LWPBS0zY/emhc7PrSw8oTFE5FEMMb1MgrmUdQchCNVa/P 9AuFYb9HZ+NF3HwKj2Kdz+yUHHj1eFV/L/HrVSbFfQNLMqXsYq9bEs03y8QD63TKDC 2y338gmH2kjNSvt5fyE6nfNWZRJKfdZHOLcwhRVPCP96Za2LvA5p9GZvOZvKzhzahP F3SQuOsGp/IkORmiLyzH/+NE= Received: from zn.tnic (pd953021b.dip0.t-ipconnect.de [217.83.2.27]) (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 ED79E40E0192; Mon, 12 Feb 2024 22:08:39 +0000 (UTC) Date: Mon, 12 Feb 2024 23:08:33 +0100 From: Borislav Petkov To: Tony Luck Cc: "Naik, Avadhut" , "Mehta, Sohil" , "x86@kernel.org" , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "yazen.ghannam@amd.com" , Avadhut Naik Subject: Re: [PATCH 2/2] x86/MCE: Add command line option to extend MCE Records pool Message-ID: <20240212220833.GQZcqW4WxKH34i-oBR@fat_crate.local> References: <20240211111455.GAZcisL09LeFPWa2EI@fat_crate.local> <774e7ca5-154d-4ca4-bc4c-2f945c20b938@amd.com> <20240212085801.GAZcndma4UTPtKm33e@fat_crate.local> <20240212093246.GBZcnlvkPKDC8C7rv5@fat_crate.local> <20240212175408.GIZcpbQHVjEtwRKLS-@fat_crate.local> <20240212191401.GLZcpt-XHFqPg3cDw-@fat_crate.local> 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: On Mon, Feb 12, 2024 at 01:37:09PM -0800, Tony Luck wrote: > This made me question the "we don't have an allocator in > mce_gen_pool_init()". Because if we got through all the > ACPI stuff, we surely have an allocator. > > Below patch doesn't explode at runtime. Yap, I see it. And I can't dig out why it didn't use to work and we had to do it this way. The earliest thing I found is: https://lore.kernel.org/all/1432150538-3120-2-git-send-email-gong.chen@linux.intel.com/T/#mf673ed669ee0d4c27b75bd48450c13c01cbb2cbf I'll have to dig into my archives tomorrow, on a clear head... Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette