Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3175013lqp; Tue, 26 Mar 2024 01:27:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXNAr5j66lZxlmxR/vlz0nNRcVHBfrTgCJ0N7hWOKZlrh4P5Y3xGZzLHqMtHaku4x7mfJu2SRqJX2CYI5+lyYWxU4VFUw5BAsizaKmu1g== X-Google-Smtp-Source: AGHT+IFfBwlzQBe4mOGlSqzDAXt/myMkKF6u54ZzZ5a6gucvUuI93RlZAp/2Mdate2sYVhLlVkkX X-Received: by 2002:a17:906:5810:b0:a47:1b77:7c4 with SMTP id m16-20020a170906581000b00a471b7707c4mr6679420ejq.48.1711441672873; Tue, 26 Mar 2024 01:27:52 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k1-20020a17090627c100b00a45ed888130si3365906ejc.536.2024.03.26.01.27.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 01:27:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118534-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@fujitsu.com header.s=fj1 header.b=ev2fH26g; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-118534-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118534-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=fujitsu.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6FC5F1F32029 for ; Tue, 26 Mar 2024 08:27:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A75DD135A52; Tue, 26 Mar 2024 08:27:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b="ev2fH26g" Received: from esa16.fujitsucc.c3s2.iphmx.com (esa16.fujitsucc.c3s2.iphmx.com [216.71.158.33]) (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 CD9091292FD; Tue, 26 Mar 2024 08:27:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=216.71.158.33 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711441664; cv=fail; b=GCNMB7STVqSM9gQVZqd9+luI2AYobAapZvxA9PylL1QUSbzY5sj8saHrlvKHZo/TnIVXnN772bUMGNZ1d6b6WYBMz6Sd7JuZ5IJT4tuR2tT/9eK9JPyomTzs8J49PzviDhRcX+HPSHbR8gyPwBEPiHKHPSVffR5PgiDOogL6e1s= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711441664; c=relaxed/simple; bh=eWtcXl2zckthjkczo8pKX3GfgDJQpjcnlj82R61yApU=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=YDngzh3UqJjI98BE6B98wZBbxsTuVFyVQbrmYUj5cc8SaYqrUSsrhIeqJq2UFP8QN3tuvgdL3zbLqHC40nBoL904d+/4R0/wSP++8XbKmuUluS6T4V6nsIUPaRq3sAa+3InK0D0Ssp4Jl+GiDKcmmyssz5kfAye599VVNP9CgnY= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fujitsu.com; spf=pass smtp.mailfrom=fujitsu.com; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b=ev2fH26g; arc=fail smtp.client-ip=216.71.158.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fujitsu.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fujitsu.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj1; t=1711441660; x=1742977660; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=eWtcXl2zckthjkczo8pKX3GfgDJQpjcnlj82R61yApU=; b=ev2fH26gDjFcSSv3617lkCxr/zC5tL3AXdSGjcWNCZQ97M8rB+OcC5AK yGWiAGSvC2vxKSzJRom33KJm7UMedSQLBWc/N6xMKbHHz56zRbL43RDza mpkxMWtWuODLosXD7NVtDw84rjrqllnT4wCBSOwt7q1XoD/WO4Ssxbh/T VqTO+4keEpbzUj60cTNrRL6ut1CLQ2aFqHCfN7La9Q2bptGMkdezsP+e4 uuq3j7fP9Fn+DFEq27Qi1M0J2Mc9j/iwvTvKa9Lc4L3ZzVgncxs30pmNO E5jQYL2LXkj74WkypgFOwFEpClhjJr1yCR7q/JZKv3dNXsu84mglq5N6X g==; X-IronPort-AV: E=McAfee;i="6600,9927,11024"; a="115017532" X-IronPort-AV: E=Sophos;i="6.07,155,1708354800"; d="scan'208";a="115017532" Received: from mail-os0jpn01lp2104.outbound.protection.outlook.com (HELO JPN01-OS0-obe.outbound.protection.outlook.com) ([104.47.23.104]) by ob1.fujitsucc.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2024 17:26:25 +0900 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GHZtU4OmOiKIcIbpFdfMdXPXQgJmn7IMlEsbPhapIX0xUtpnX9MWdya8MVJ+OiAiFeHPY7ikWr7jBVhhtAwqb7X5+yTDCt8L27XUDFrtl5Zp35XG5QpLy24xQQvDavveXYAWWRpuwJhk7YsNdYKOhJkhUn7PgxuzDPk3nydNTDKQ6o2bJDFKY1aFWx8C1Uha7EW3DJBJOwMYuOWz8oq+RgGArjikPfe5voXZZoaEFwFD0KfctVXg+JStJKihQnbEl3I8kaPzY6F+wzd6Q5QC/6KjIesfMR63mEPsYjjIplwJ9p37CYZ8uV4A+yvvMFlA1ms+n0WScLw9GbiFDQEXdQ== 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=eWtcXl2zckthjkczo8pKX3GfgDJQpjcnlj82R61yApU=; b=R5gYLHjZL7QyKA48BMiqqFeA5OeS4j9ldA6At9jd30W+zBLlUAK+UCj+AkOg90qtQsTiTxwwVbgYOBdYfuFDxkkAI0GUGv7jT9dWZ4bbHConueaxLA99abuqaissdi2xfeYkklmGT3q8f2gzi7x0qVNRQmEJV1QMuuaY58wXmLMujaqnIGW9oRJL36QGqnR954iQdNxEpgvf4RZPELTXwoVNYXAkpR9ks3OYh7qVxjYcjA39prL8/dntro+iMy5Ar69C6U6+dwLC2Q3B8hCZ8K0tLtSETYO3F4IcSFum0O09VyJjGgKmQ3gyf3YOQxsxBVE+a/kGkyxaVgQmb48hFg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fujitsu.com; dmarc=pass action=none header.from=fujitsu.com; dkim=pass header.d=fujitsu.com; arc=none Received: from TYAPR01MB5818.jpnprd01.prod.outlook.com (2603:1096:404:8059::10) by TYCPR01MB7180.jpnprd01.prod.outlook.com (2603:1096:400:f3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.31; Tue, 26 Mar 2024 08:26:22 +0000 Received: from TYAPR01MB5818.jpnprd01.prod.outlook.com ([fe80::e69:40a6:944b:f974]) by TYAPR01MB5818.jpnprd01.prod.outlook.com ([fe80::e69:40a6:944b:f974%5]) with mapi id 15.20.7409.031; Tue, 26 Mar 2024 08:26:21 +0000 From: "Zhijian Li (Fujitsu)" To: Robert Richter , Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Ira Weiny , Dan Williams CC: "linux-cxl@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Xingtao Yao (Fujitsu)" Subject: Re: [Problem ?] cxl list show nothing after reboot Re: [PATCH v2] cxl/pci: Fix disabling memory if DVSEC CXL Range does not match a CFMWS window Thread-Topic: [Problem ?] cxl list show nothing after reboot Re: [PATCH v2] cxl/pci: Fix disabling memory if DVSEC CXL Range does not match a CFMWS window Thread-Index: AQHaYPF+guY7ES5MRk+p0kfVt2bmsbFDTJAAgAagGoA= Date: Tue, 26 Mar 2024 08:26:21 +0000 Message-ID: <24b8b11d-a7ec-42ce-9fa6-8a24701cfe46@fujitsu.com> References: <20240216160113.407141-1-rrichter@amd.com> In-Reply-To: Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla Thunderbird x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYAPR01MB5818:EE_|TYCPR01MB7180:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xwAYLZlKCO856sY2xZoZrvO1c8w1pIwAG0UUNLAAxxTpOBmGw0YX/VT23oZYrU6pCpSfWQ1u7OFV92fp9qhNgE7oM8FH5cn5PLnOX2YwpsA1if4QdbAD04gXXjLit+721Dr0S5fxl+0g4960wRieBTBOuQNcg9Txvw5fFwshQnshDNzg7OnSzt0vmJ70Z8dx9CtoVO2dbZqjPk9TCebP7L6z6K5BLDHLaK3ydjydCwKifYpYVN6zI+1CQ9KzuX14htqbWyne7KVmcuKF+l2/I/sWgRo8fpWMdOttuWG3xFQDfNj+h6KJgDhIt5z5Kv172sIct0ffliTFDaxtJJbHas4D7NoX6wTWsvDk1ynlHub5VXQMbr9vl7pn+SsA7i8ujBIWq87vc3W57glOEIy2kfuXP+zyc2fBsXXrBvqrADxnfAoAFA68aXW9EAs2Tqgm/9VNp0jPa1yU3DDYFKN+q4epDTKJjFxeyocXEanrBnaixFTIEuS+WZHcigwdygabT61aT063k4av9Ii8j7WKIMU9tDmPrhZ0tOBm5AwxVuRk7X1IwpbzDGkZZjh3va85QhoHRvDKMLYtCLy2Ci9Wc9+M2dSiK0xbj88gZeBH5zfYgId2wNwj8SHsPmHRwChBAcKJ5+aQjTi1jHc6Fr575aYbMZc/4066xbaj+DegQr6ZhzhIuLlNXBN5ortrU+MCFN3rXKdNhVWskfxdYJ544Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYAPR01MB5818.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(7416005)(1800799015)(1580799018);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?dW9wK1FEQkVPTnZlaU9oNnppSHVnaVJOQldIcy9HUVlrVytPT0xEMW5qSlVq?= =?utf-8?B?dzJDTi84aDZyNEg4eHdWVDErVXJ2bFVwWG9UNkdWY0ExMjN5c0hnTUFFalB6?= =?utf-8?B?YVVRenk0bXFrRjZtdVBYeTN4WmJZZUxycXRTQ0RtVHFUcmlKSTduSUpzNjZI?= =?utf-8?B?TUNnMi9FcHBYWnNxQkQ2WXllc1V5TUlydkdHYkZ5SHJrVmNPNWtyQVhPcEs1?= =?utf-8?B?ODdsRElpQkh2TmdKSHYrU1ZHMyt6ZndNR3hKRzVxU1luUit1RGUyVWRjb3F0?= =?utf-8?B?VThkZTJH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EQ2MjhhUXlndTVvSFlS?= =?utf-8?B?c08zVXdObGVPekYrTG9WVkJ0Wm1xbTVCV2tHd0FxRXcvbEE0Q2VVdmhMU0I1?= =?utf-8?B?a2c9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: FKQwpwEGlKHf36XBQWS1CPHOAPufMcYGZSQCn9xcqz3Y/SipMZNZMsOj0qjoJdpC4s2NW2cjj6/F9kfhNqbOrFjxVwum7udCkBhp3cfSJGpycM+oFBGLU9c9vQeYu03hXdxiIJ/HjpVKJlEz41OJIaytIvYNJ12uW8HW81CRikyiqmT30JYUdHUc/yYpiy8bfWPgq/xuKpP8/+9IsBYPTgKmqRzOj4c2EshmwGq2I0nXYDAEoSS0E9OPBY5zDoOjk3/rwXwnVU5Y3ktIMCtQ5uNgLOi0A8MUnguTlqcFaQS7bV0nei8diDu/ANZ6zSY0g1hACMTcL3zlAcCkT1XQZ80SyIowv5X1u3oPOo54nBELjQmqfilfrShEhXO4XgCgRJRZNMLSTomvTQkp1Dv+s+ko+IELMnowRRLkMHD+fprZACHenv5P3dGuONcgACmKxga4fmTToWbIi+pW4ixVGgqa3K2vT08dN4Gyf3DPA1fTh2q6ZnEhBaMB0Zp1D//QJduEaD+X16BHeIYaIu1XS/Xk4oxk3l+mTtQeReVajfl7Li2RuWrcRL0dZUw9RfbQmVV+5qMcqUTeOD96RL7acQPBVvUmcVbyrKP47cBh5bzZ+eq2VqZ00JG39LUzS2FL X-OriginatorOrg: fujitsu.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYAPR01MB5818.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f03962e5-8a89-48bd-a0ce-08dc4d6e6b16 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2024 08:26:21.8054 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a19f121d-81e1-4858-a9d8-736e267fd4c7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JESoYoQhB/69eHAZoF/CJNC7TUmi65nMdmRj9XHvqeGRqFG2r7nkle3DfgSX+PnRiDbKQ/8AlpsP6qmcTxOWwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7180 QWxsIGd1eXMsDQoNCkluIG9yZGVyIHRvIG1ha2UgdGhlIENYTCBtZW1kZXYgd29yayBhZ2Fpbiwg aSBoYXZlIHRvIG1vZGlmeSB0aGUgUUVNVSBzaWRlDQp3aGVyZSBpdCByZXNldHMgdGhlICJEVlNF QyBDWEwgQ29udHJvbCIgZHVyaW5nIHJlYm9vdC4gQSBkcmFmdCBjaGFuZ2VzIGlzIGFzIGJlbG93 Og0KDQpQZXIgOC4xLjMuMiBEVlNFQyBDWEwgQ29udHJvbCAoT2Zmc2V0IDBDaCksIERlZmF1bHQg dmFsdWUgb2YgQklUKDIpIGlzIDAuIFNvIGlzIGl0IHJlYXNvbmFibGUNCnRvIGhhdmUgYSByZXNl dCBkdnNlY3MgaW4gUUVNVSBkdXJpbmcgcmVib290Pw0KDQpBbnkgY29tbWVudHMgQEphbmF0aGFu DQoNCg0KW3Jvb3RAaWFhcy1ycG1hIHFlbXVdIyBnaXQgZGlmZg0KZGlmZiAtLWdpdCBhL2h3L21l bS9jeGxfdHlwZTMuYyBiL2h3L21lbS9jeGxfdHlwZTMuYw0KaW5kZXggYjBhN2U5ZjExYjY0Li4z MTc1NWE5ZjlhYWIgMTAwNjQ0DQotLS0gYS9ody9tZW0vY3hsX3R5cGUzLmMNCisrKyBiL2h3L21l bS9jeGxfdHlwZTMuYw0KQEAgLTg5OSw2ICs4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