Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1477491lqe; Mon, 8 Apr 2024 09:55:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWXQDdT8tiaPwCigyQWxNGdDekmEQmT4uUUmzI4w3CEPqAB7bdMUtQw+CEMPCHqmEG47PmwNDtafOGHFlNFnz/AhvQ9TyfmvC66bOq5HA== X-Google-Smtp-Source: AGHT+IHSQAaKqgvGZ5iA5fk3tg16RakANTCQnSi/A5heE38+r9r5lyjS0ApHDbJ+h5AXJIN7s/mH X-Received: by 2002:a05:622a:1a8d:b0:434:83e9:dcb1 with SMTP id s13-20020a05622a1a8d00b0043483e9dcb1mr265552qtc.15.1712595307131; Mon, 08 Apr 2024 09:55:07 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i12-20020ac85e4c000000b004315792cd3csi57169qtx.190.2024.04.08.09.55.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 09:55:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135712-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eqr8lFGR; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-135712-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135712-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C632D1C243B5 for ; Mon, 8 Apr 2024 16:55:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DCB29142E85; Mon, 8 Apr 2024 16:54:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="eqr8lFGR" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (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 BC1B31422BC; Mon, 8 Apr 2024 16:54:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=192.198.163.11 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712595295; cv=fail; b=PXrXaCwuRcL4zXWDWoKSUKN39mlxOPKYIn1Fv+RQ/jbxXWSNUxEirWWaE1goiYysImGaAq6bYw4n6srLNnCEUDevRvdPNvGn0v13kjjEDhlcqyLhASV5HPQA/3D8E/O9GXJfiiWfUH3lXZ7oZsGRHX+mf7BbyBAtw7AdCPEc6Nk= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712595295; c=relaxed/simple; bh=GLGm4CturOjS2M22Mlvv7afTDB2VxW12ZN2F3zVNwJg=; h=Date:From:To:CC:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=DiroFytefaXCZao9yZCHP3Ey5afs+3takRZHMx+s7GDSn1dhzSiLJp9PJM8rsUl642O/WW3RotMLtp5OXvaWCxn9vlgBTTMDbs9CSqVq2QCrrJ/Js9ulBgLgNP+6d1NY4OYRfDw2bmUpMhIPdsJKRMyPxv875ES6ZlfDwcFYVmg= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=eqr8lFGR; arc=fail smtp.client-ip=192.198.163.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595294; x=1744131294; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=GLGm4CturOjS2M22Mlvv7afTDB2VxW12ZN2F3zVNwJg=; b=eqr8lFGRW9Yj0w1u5L8xLHTXNykCbzd0LP23gZ8sPDk6Ty7bwRXVTy1l YcvsNZbGsLUV1WTVutaG7y6yYhZWsENs4Xtv0OOrrdeE/pnnDs8xDSzoj ZZGjp3N+nX59O858kFuQP/pBl2b6SultIzndoMAofru7OakU6wr936aSK l88tG/6jj5yjw7ooot1/qxsDCgKQXLe3msdjaIuzkoFvYDG1wKvlokVwY Jpz+EG/DgA8QBkinYjLBM0YsHs4bLj6yMA/cL4LE8yG4q/wAVW9xToOQI 5ApVfHpkVz96xuQZw63DplBsSbR1LegHCvvrfOqKAXUOqePfevpd6KSNI w==; X-CSE-ConnectionGUID: GAnwZj+wSCux3Naw5WEHhw== X-CSE-MsgGUID: zBjSDVbBRhSzY/dHuKwXug== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="18494714" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="18494714" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 09:54:53 -0700 X-CSE-ConnectionGUID: jK2kV5fxQ+ag8puPjtaaPg== X-CSE-MsgGUID: oL8F1GJkRzeWBv4992XJiw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="20387398" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa006.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 08 Apr 2024 09:54:52 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 8 Apr 2024 09:54:52 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 8 Apr 2024 09:54:51 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 8 Apr 2024 09:54:51 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.40) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 8 Apr 2024 09:54:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hyk2C/ZmbHNkvNgWPLpjGwpzgnduuqZqKgQ4Opi8hCsBi0VWuxXIM/Ch1cmwdRDkMGBY5qshGix5B7USdhAtcmw2srETLdxExQbHlCndgBZUNaXr1IxNN0LZT+LTJeyWH3TWZzqdG6/0Lsn031vvJA+pyuvIyf7Ftp5RM0Y1fKBPMjlRmoZQpxbXtIB+ZKlGSr9IpGUWTNqByE4tOzObW6DK2IjWdS1v3ShkF8Z1es2tf+8kQDE97ihPx8mYbeSQd/QNm7v6uXwlu8JMTA6+5pNGtm7QaJmtlMkXYClzPFea+LeFXtfZua88P/wDr2DzIOWjwpdDhURzmmgduOvTiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pl89HAxr5yUSR+JVUQZ5s4nr2eoWg5o+FJxmgErWZs4=; b=GpHlwmRZ8p8S7MaIDcTyQjGQyF5cSew2ukn/KSOIL9yPUf+FNOh9Oib/ejl9ZrUgLs7SnzBX1spH7KFxHftWnQJP/5VdNqNYVY0MNHGB7PovNX5TR9ciP0SgOHyRnT8moqLRl51zTnoWdyHcqPGcyT53zF/S6Rac5kbdmmE8ZEhGlvjnYjPOU5/ibmj+BIOekRqq4lTVOTEX5pL12GR76EvB2xTrVRpqWAbp1uOWMCe4EtD541EWwAVQbozv42SKPqsg3L0vh7r4Rp2R7ssttmkx+1WGex6BPSd3dSsIrF2nLjRyeQ2W2pMqcoV34s2tfGNHypNaplf5xeh0/8XVIQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH8PR11MB8107.namprd11.prod.outlook.com (2603:10b6:510:256::6) by CH3PR11MB8156.namprd11.prod.outlook.com (2603:10b6:610:165::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.33; Mon, 8 Apr 2024 16:54:49 +0000 Received: from PH8PR11MB8107.namprd11.prod.outlook.com ([fe80::82fd:75df:40d7:ed71]) by PH8PR11MB8107.namprd11.prod.outlook.com ([fe80::82fd:75df:40d7:ed71%4]) with mapi id 15.20.7430.045; Mon, 8 Apr 2024 16:54:49 +0000 Date: Mon, 8 Apr 2024 09:54:47 -0700 From: Dan Williams To: , Dan Williams , , CC: , PJ Waskiewicz Subject: RE: [PATCH 1/1] cxl/acpi.c: Add buggy BIOS hint for CXL ACPI lookup failure Message-ID: <661421574048c_2583ad294d0@dwillia2-xfh.jf.intel.com.notmuch> References: <20240407210526.8500-1-ppwaskie@kernel.org> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240407210526.8500-1-ppwaskie@kernel.org> X-ClientProxiedBy: MW4PR04CA0248.namprd04.prod.outlook.com (2603:10b6:303:88::13) To PH8PR11MB8107.namprd11.prod.outlook.com (2603:10b6:510:256::6) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH8PR11MB8107:EE_|CH3PR11MB8156:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: t1SmzHMB7daULw3ZilA7S9nbMgs3QffFOGolZwsvFJITNfM+759rCdHFE4xow6Ly5f8HqdeE4eOnt0RRWJ7s/Ytp4reQgspo1M4RvMSPRB/7gwSL7sUk9Ofu0cT9dCCJn9pQbpuCfRDlaMKMOpXSpQYobMpsIxiKvtB7NgEUJvpwp7a2z1CZJ8/oMTa3eR7C4P7gxtf+Yf1VUGil+Vog+pdtSL3AgYAm3rEcEsbeVn8KL+m90EHvgBX5HDPWwiRvQYov5MTyPUtVc/9QjYqhqqtquJUwwhk/pp96gVB4E7Ij+qxgyGkmQYLkfl1PvFcAc+QbhYy23qb4cyULuNxAI7oY2ArMNCor7ixJa4ebCLNQ5kJRM9V4PdXIRu0X2UW/lcOLX2lPz8UlILAy74idi4k9tcdac6wyrp7KjeEtgUInMQD3wAoTkYFpjUBTicBNmfc00gMmXI8s2CoyCnD7hkQ2fNkonVLAQhLVIuIY+NzXE808KrP058yUAvUxoB4OhNP1ypdmpweZfWEjHvhBxM6ksibsJcKAsGWvv2jyUi4hApP9Byo4wKDjaWB3Ch1HhO6F1sBrXF4aAr5ZeaqR2c1PNnh2757FDJhotlHlz1XWabdpSyegRDjv7QrpQsZQC5pgNthUe/HD2+Y2+6UMBa2Z49DH5EfzDgCJx9KuzdY= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH8PR11MB8107.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(376005)(1800799015);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?DkR3hscpPUwUtOH9sXqiCgE2cH9CA5E6QcxmG+0gFBRAHffRvb7/7o3uLEJi?= =?us-ascii?Q?0z1jlhKa8cCzvDxHmdcL6D76KyE0V9WbUw+s7UsS2yRqwi7NZ5wxwRoBM9j/?= =?us-ascii?Q?sHPd3I6MySuPzWFfjfh1X4DBmkAX9YsFtiI83Ox8lixg4d3SOCIzVdyd2mNt?= =?us-ascii?Q?qmbJMXSq4LMewzXp3gc+IdNN1pZqVqgDXl+zjys+2D9Uy3RUX1AqzaHYk+T3?= =?us-ascii?Q?vqDHWTm4FYNMJhI5j1vVwryI+pWL+bGs1sfRhj3VFgjbmDPhyqO+LAE+UwVf?= =?us-ascii?Q?7Ht9Ha/I3zWhQyUconwkh0zg36Q9/5TLHdIcXzL+j+FpHZR6swgOLSfwEWQE?= =?us-ascii?Q?LIyMTYdprYssrKFz+pz5ufQe4LN2TRTv4Bh+cXAQoxSEdEIdrMrPW1a0LCoE?= =?us-ascii?Q?kM7qD4mCCwAl8jTa7lUay6SdncDENnMz2eLsE2X/G6s6O5yjBAl7pOmcS/Zr?= =?us-ascii?Q?XTqC7myzdsnoW77Bbm0+eSu57c5U0/hVa375dfc4TA7Hvf/dyXA6XXivgP5v?= =?us-ascii?Q?qoWttiwlBLaIBDB/p8KLDa9jio+789EUOCsgTLrLVPylyE1sIz8b15jFuQjS?= =?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WoCUaB7nt0242T8nV?= =?us-ascii?Q?Gc925iyZrCFZYpLZn9NX8gj2aVYhDBxh+1xPwZRiyKX8IhWqF61tHR7z9bmx?= =?us-ascii?Q?xxSwrzqKpnae1BwPQWWstpWqXAS5HT+UcRbwc5//Z397hH/OlH/q/6MvCkOU?= =?us-ascii?Q?iQ=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: fd16d068-babb-49fe-4aff-08dc57ec9a47 X-MS-Exchange-CrossTenant-AuthSource: PH8PR11MB8107.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Apr 2024 16:54:49.3123 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zaYSvhPV6tOumBAjG8/eI6qKDSiAK8dPBV0R/bjEoImVu5GcZtJWbAU3QvM5fmMzYLYNOLo4OWWIBkhLeqqfgwy+olDtMsJB496BNosLxck= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB8156 X-OriginatorOrg: intel.com ppwaskie@ wrote: > From: PJ Waskiewicz > > Currently, Type 3 CXL devices (CXL.mem) can train using host CXL > drivers on Emerald Rapids systems. However, on some production > systems from some vendors, a buggy BIOS exists that improperly > populates the ACPI => PCI mappings. This leads to the cxl_acpi > driver to fail probe when it cannot find the root port's _UID, in > order to look up the device's CXL attributes in the CEDT. > > Add a bit more of a descriptive message that the lookup failure > could be a bad BIOS, rather than just "failed." Makes sense, but is the goal here to name and shame the BIOS, or find a potential quirk workaround? Presumably we could fall back to parsing _UID instead of a string and then get some guidance from said BIOS about how to lookup the corresponding ACPI0016 device from that identifier. In other words, I see this patch as a warning shot of, "hey, $platform_vendor if you don't want folks to RMA these platforms please tell us how to do the association Linux expects per the spec". Otherwise, this can escalate to a loud WARN_TAINT(TAINT_FIRMWARE_WORKAROUND...), but I first want more details from this platform like an acpidump and the exact error code acpi_evaluate_integer() is returning.