Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1752208lqe; Mon, 8 Apr 2024 21:23:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9VQ3Zk8b2Sc7lDh/slGzQXnqAmG5SeBBBdldkRP0TlS9zWhwv/JIvlIMe1Ia3P+tgwv8jgo5rH+myc2H3X7sThRBlfsSLx9Fpto7gWg== X-Google-Smtp-Source: AGHT+IGgf8caPXa4gqrPT4ISM44BYlKn44mAHo3cPa6ZAHhdnHqHDqXXEbZhKYpVYGDL5fP4pJl3 X-Received: by 2002:ac2:55a6:0:b0:513:ca65:8c58 with SMTP id y6-20020ac255a6000000b00513ca658c58mr8326284lfg.43.1712636626060; Mon, 08 Apr 2024 21:23:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712636626; cv=pass; d=google.com; s=arc-20160816; b=kMr4g1ZYUaeYGqw8spcoRtIG9WVtgv1oFn79MUsqixco6m6IAVuJm0YmRQBjppp8xH QATRU93siSVyZ1LUvIY30989r602IirIKcFeQs3mGpLBsj1r8xQe3gASdpkHuRiuP/TQ IesmKcsIdMXyay+mQrWQiXcB2JA4oHbh2OvMLGwuZqdCi3jT1b89x6WiaF912R6gjH04 AflmHlDjurLJuaRYXhDAsePPQFbRLgM+o1lU+kWsu/Jxef2PYYnTdXhIWl+o13GQqOnD mLS2CU3sfTs6DEc6iIpDjSl/aK26qnCeQqYa/Dfg9VGecR6RBLk28x/NDLjnbt9tyORN Hf/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=cJOe7sZHT+TkYkxwNAPlga2/ojfaZ7BsznlWAcmCvK4=; fh=FibMRCvw6rUECohNeyVd6J2C+XYJqtvHM2zv7UMC0W0=; b=jI3QP6O8uvPxJkEXnXFozuV6udNwleU563aZ0IyqwCK/4XMAcALL9Iq248tZoV5XGz 6rWvoXeiBLucrdHqEHUDy7rxQY1Q5+cbep8btJX/ttfd4kKvwCLMmLAmPZmQB1gjB3Rr UqXWF60hz2gzG1aq9WLALSIiedlMCkYMOW5Oco9MFmQcqAWyjThkZbG3xw74U9wtQFpk LtdG3bC7e2sZvZzHfpwOVgcRn8qHdhY3/RgqJVh89IU6X9nRueubVj6CFtCgfhyy9VDb wLmjV142YvP1L5qGwVJcalhnG5PZecB43YxcMPTJA0jRLmxv1mJX/2A0YM1PeVSIuykw B/bQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ueNsqCBv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-136224-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136224-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 eo12-20020a056402530c00b0056e0aa961adsi4185079edb.146.2024.04.08.21.23.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 21:23:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136224-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=@kernel.org header.s=k20201202 header.b=ueNsqCBv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-136224-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136224-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 3E3E51F25EC4 for ; Tue, 9 Apr 2024 04:23:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D1E86A8AC; Tue, 9 Apr 2024 04:22:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ueNsqCBv" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9B71C64CEF; Tue, 9 Apr 2024 04:22:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712636576; cv=none; b=usszrl5GQO4iMuDRTF2aqgMVvRBzu5qC1qk4wnjBS0IR30jDIWU+2YNdDrVGMCzkSQH49Si2qP1n23xzdHychZGePji3nZkDQi64QoRghiFzQia7kktpalXsLCW19ZYD7vw10RBAkH4NG3sYLKm0sLBM/Yue5Zi7MJmzz/Fk7Ao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712636576; c=relaxed/simple; bh=QnwHqeYJPBPK/Xrmgd4DuJ3QQvB+ALt1X1KUY4pf/QQ=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=DDMXRnPH6fvx7wfRv0aQwWHtMI7e9texH0JyMRkNOXxhJ7gLFLQ38udVECIIivxNlLsLRceJx/rmbvUkN1XPtIj5muOebcEEVjceqCJ/vChX3Fp3IlLEu696DKlVMTIfDma5qPOtBZOPbdPvComzkk+qLsCEmVKCQLwhAJS9Kq0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ueNsqCBv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13830C433A6; Tue, 9 Apr 2024 04:22:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712636576; bh=QnwHqeYJPBPK/Xrmgd4DuJ3QQvB+ALt1X1KUY4pf/QQ=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=ueNsqCBvo3g2lE6VaS4QKVSd37rLTDVyopUkCqikwT27F0H4xcrMSIr4yOrRYJCNN UPtPFryWlM6WDgOpWb2+CzL9ndiyg97AA1Hhokzv9geZ0P6KUa4e41HlKtYMIzC1ul yacZwTT1hirJBe32nN12G3f7JJBzopFBQIl90S4JocESKaFDO8DGur2y203a7Jtmtb friiHruhfy1/Gjdd+BHbUa5+OI+FgeG7Do2v3JNVgv72GvOPM3m3Exx5hjYfWWgeRr pbQwnlz5YwxVfV6d5id9rES2j4UxcJrXPhlkB6cBPZk+mJyxGzQy+EONOUU3AXi7tF dTrwgt82ZRkeQ== Message-ID: <94bce3e14a32d017c0f8acb6726a3484fda01cfd.camel@kernel.org> Subject: Re: [PATCH 1/1] cxl/acpi.c: Add buggy BIOS hint for CXL ACPI lookup failure From: PJ Waskiewicz To: Dan Williams Cc: Jonathan Cameron , Lukas Wunner , linux-cxl@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 08 Apr 2024 21:22:55 -0700 In-Reply-To: References: <20240407210526.8500-1-ppwaskie@kernel.org> <20240408093422.000062d9@Huawei.com> <6614575a1c15c_2583ad29476@dwillia2-xfh.jf.intel.com.notmuch> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.0-1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Mon, 2024-04-08 at 14:32 -0700, PJ Waskiewicz wrote: > >=20 > > Turns out that straightforward message is aleady a driver message, > > but > > it gets skipped in this case. So, I am thinking of cleanup / > > clarification along the following lines: > >=20 > > 1/ Lean on the existing cxl_get_chbs() validation paths to report > > on > > errors > >=20 > > 2/ Include the device-name rather than the UID since if UID is > > unreliable it does not help you communicate with your BIOS vendor. > > I.e. > > give a breadcrumb for the BIOS engineer to match the AML device > > name > > with the CEDT content. > >=20 > > 3/ Do not fail driver load on a single host-bridge parsing failure > >=20 > > 4/ These are all cxl_acpi driver init events, so consistently use > > the > > ACPI0017 device, and the cxl_acpi driver, as the originator of the > > error > > message. > >=20 > > Would this clarification have saved you time with the debug? I guess I should have asked: would you like me to pull this patch in and give it a test on a known broken host? I'm happy to do it. -PJ