Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1866936rwd; Thu, 18 May 2023 19:37:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4g5/tFcWC+Df8F9rZnUdU9vrynHyMsoiEFkoPIaN1W5rIK6OYCP7qa9li2eQV1DTXZmrTE X-Received: by 2002:a05:6a21:6d88:b0:104:923b:4d00 with SMTP id wl8-20020a056a216d8800b00104923b4d00mr544696pzb.36.1684463841823; Thu, 18 May 2023 19:37:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684463841; cv=pass; d=google.com; s=arc-20160816; b=EcaWbAclqs4bcMKVhjrLdWMO1slWkRK/ptE2CF7qiG7A8JYQOZMjVO6ygh2czmvbiK N8QyLv06knUXTW8KkGTygE1Q9Yt+OKhhCRlxAohV7T+eS0hRtOYBgWXiJQZdKh005FUk 9lezNhTjq9mK0jams8nikue/1YDHgMAHf3HtI5Q1gW71RJL9DhAXg3UcBKvyOUn6F+9z +BJ55NOCsmOIzkt/089p/15Xl3fWWVObFdbVviMFVeo31fWFbundKZv01+cfJl1J0q18 mihrSB4plljwVl5g0z8UCzbTMenB7GJxOzARDtnzF+EpAZsHxl/HiZObhF7aMFSxziJG m1kQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=UGS5YSwf/rGU2XZSGVPlNsADHYegr/4g6swrqUfHy7s=; b=wEnnauXHz4M2MfX6PR53g1FoGPvo0VOQg/cTrXEaGZ73yNPoCsjOACtqnOvcFFeAqU eiLKtsja5bagZpyS9X/Zq1osbDFnLLqYV7JP7wYlLC7YhZ61nVpRfF0PBMepRFmyYNyn xNUkU1E+o211EpUwlY3aHwVW/yaNRq35+8GTQQRWCPKirh6X2FlVT2aoNfMrDZMjxQ/4 5rHzrsC9JxvtrC38/SrvzGdDuR6TaIcthdtSi7AEuk9LKwkNZsRyg7Xi4bQi1Gbqm96g +ojFcCSlwGs8eNto38Z7VGANRPOIaQty2B6G0z//+LhauK+aZTMfQtcIoWRAwdIiDa3d DvCw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@stgolabs.net header.s=dreamhost header.b=edgYCx8R; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k187-20020a636fc4000000b00517ac1a9a63si2644166pgc.129.2023.05.18.19.37.07; Thu, 18 May 2023 19:37:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@stgolabs.net header.s=dreamhost header.b=edgYCx8R; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230317AbjESCMD (ORCPT + 99 others); Thu, 18 May 2023 22:12:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230308AbjESCMB (ORCPT ); Thu, 18 May 2023 22:12:01 -0400 Received: from bird.elm.relay.mailchannels.net (bird.elm.relay.mailchannels.net [23.83.212.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1419FE4A; Thu, 18 May 2023 19:11:59 -0700 (PDT) X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5170B540B3A; Fri, 19 May 2023 02:11:59 +0000 (UTC) Received: from pdx1-sub0-mail-a208.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B909554189B; Fri, 19 May 2023 02:11:58 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1684462318; a=rsa-sha256; cv=none; b=lFVuP0UoAneulIb7AnLiKzB/VWkoxfjRvq9wDf/gk5bJ0/rcRTYyHpH/RCpPhJl1iALLig jIq5PhCKmV8jrX5yowgbfX8NvUPZqRuxH0cNB6YdORheHKeCOn5J547NAy4R0ogBvUAMYJ u5GuLicKDmbbqa6WitM6R+0KA7BG9wwNdZ8E29aDbyL6NPNYU/GljD6b7v/zbkAWCqW6Hl hqsSRd1pLvsFcOms537k03oRCdCjSkEyBkl9xH0bcXJFiZCkgSCYpaCPCadPbnCx7gfiOP k4LSsgJE8zgAVzEseCnCWupQTZKhwh5O9p7tqtu8EOPXOUXqU7gQ9kd/AcwGYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1684462318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=UGS5YSwf/rGU2XZSGVPlNsADHYegr/4g6swrqUfHy7s=; b=7mShLIeClaqzPUCKIdjphAH2oWfX+GzrU/n0YYf5GZwnx6vBJGOz6Ud4sISM2FFCG8sl8Q 6fA0t67d5XFZfEXlDgYKMRLtCiJTpLTzN7kWn7491KZ3Pl2u+AEaNvK34mXB711KlBME9t xeEGsFs5xgo2bLOw8lYwP11WKZq4TxmmwcrG2pccP/TTsJspxpaOopzyO52TBYIma1edIh uZ3rlsz3A3ndwiMOx/xgkMjJwidIzYl45rMtn6/mFjUOmuU4y7m/osfsrNZIrj3EibazMi TnR9uo4NkkvwQJAYBDmtnqSSOHK29gc80eTbecqV+m2fbBWL3ePRuYpWfgkA4A== ARC-Authentication-Results: i=1; rspamd-5cdf8fd7d9-fw8rh; auth=pass smtp.auth=dreamhost smtp.mailfrom=dave@stgolabs.net X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|dave@stgolabs.net X-MailChannels-Auth-Id: dreamhost X-Stupid-Trouble: 64a12e39217dfb73_1684462319114_247395351 X-MC-Loop-Signature: 1684462319113:2194989952 X-MC-Ingress-Time: 1684462319113 Received: from pdx1-sub0-mail-a208.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.127.59.19 (trex/6.8.1); Fri, 19 May 2023 02:11:59 +0000 Received: from offworld (unknown [104.36.25.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dave@stgolabs.net) by pdx1-sub0-mail-a208.dreamhost.com (Postfix) with ESMTPSA id 4QMr255946z9r; Thu, 18 May 2023 19:11:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stgolabs.net; s=dreamhost; t=1684462318; bh=UGS5YSwf/rGU2XZSGVPlNsADHYegr/4g6swrqUfHy7s=; h=Date:From:To:Cc:Subject:Content-Type; b=edgYCx8RTxJ0QaKA/sRny6kjo4yI+ie8V3T3tW3Jox9IGLLgUlCkCUW7GsXlG+fQt Dy7yqwu9j4WqawEvohkJsvU0mOTsv9Qd7SadnukmYuHAiZSmWE1qX5A6PuM/zoRbpm TBTJE4UzsqXG2EvTEN7GtbvfDe72pql0hx847aZO0IeAYYn6+ybr8QvRB4b8yJ4UiH vlCaeg3n9I70PEXabo2MdA9a7+MdQYUl8MiZukvF+LO9FKWqmHJY5CZ3vlLgqLzcFj w8FI+Ir/NVi31hL9ajSsQdWVlirdm4NCVOUg+SAuLbduizTKIzR134trbKguCnkJ5n kfq78sUTFUMdw== Date: Thu, 18 May 2023 18:38:46 -0700 From: Davidlohr Bueso To: LiuLele Cc: dave.jiang@intel.com, Jonathan.Cameron@huawei.com, alison.schofield@intel.com, bhelgaas@google.com, bwidawsk@kernel.org, dan.j.williams@intel.com, helgaas@kernel.org, ira.weiny@intel.com, linux-acpi@vger.kernel.org, linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, rostedt@goodmis.org, vishal.l.verma@intel.com Subject: Re: CXL memory device not created correctly Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230407 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 19 May 2023, LiuLele wrote: >In my testing CXL device /sys/bus/cxl/devices/mem0 not created, and the get error messages : > >``` >cxl_pci 0000:0d:00.0: Failed to get interrupt for event Info log >``` > >My test environment is a qemu CXL emulator with qemu v8.0.0, Linux kernel v6.3.0. >While with kernel 5.9.13, /sys/bus/cxl/devices/mem0 can be created. Yes, this can be annoying and would argue the probe should not error out. Regardless, the actual qemu support is in Jonathan's tree: https://gitlab.com/jic23/qemu/-/commit/a04e6476df363d1f6bc160577b30dda6564d3f67 Thanks, Davidlohr