Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2642545rwd; Fri, 19 May 2023 08:19:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ro2J/EY2KsofObJ7WrraKeWQbr0rH60ID13F3gwM7DQEiZhLn3FbTjfHcRvs8rOGwS5i1 X-Received: by 2002:a05:6a20:3956:b0:107:17f6:940b with SMTP id r22-20020a056a20395600b0010717f6940bmr2763645pzg.41.1684509575416; Fri, 19 May 2023 08:19:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684509575; cv=none; d=google.com; s=arc-20160816; b=Jhj0z6IuQhhDeNPMaZ3voD565RPXpO6+WkcfX2i5ulpuQh3/qIQf7xOw8lgRtHbWiW 8r7if4OpH/bfnFo0eQyIB5+CX/YRywpKkd3QteF6j9DF2R8p8FgQB8TdMyF/Qdist5up C9CB0E7q+rD2tDr+iDzwnACaRJ+Z/faRrk4tyNSgj25oMT+ZQYR9/nxBeyfHAPUFXa+2 /E+EFIkwCZBRzOKoPqa8EMrh+UvpFapWKKbarW1OyQOb3WkHlk1FI9QbXFd2Wyw6bsA5 V7OX0mAc+ln/H19KBnHapCF0EA4oI3CxEDaOyZyBy/yym1MS/7/owgauU6jA1eZfWR38 j2Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=rhigGbSxpNMnRqP88AlgRt9mLGX6n4rLj3TKWcCGwWM=; b=rdVbUqsySIQLIeKh7bSk28hZ8QmNZg5bqzd0Y8xhqEBOPHXukuDMPNY3MBCiYxyrcr XIRyDOR0RAvrTDvx3H0UwopRC1umfjSgeBDa9OzCD0OOySf8bBMzO0q7zmKe4tu5dCrH kKspOxrmzqSY1p2iF6YTUZF/2LWD/QyElHZH0VIbQk8pwGYhN+06eb7G8T5KY1WRF0nj 7h9jGMyq86kvm5DrONC1fTHU4XT1cA0QUNja24z1zPwkCy8sRgzKJn225q0MBDPalmlE k7n7ZzHHGfanG0dqMJXiS+2Z9/mjZ0ZfGm826gvL5fOXLj8ZAbo+rfMWqCcjhIyOZkpr vjEQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a24-20020aa794b8000000b0063806e9892fsi4093295pfl.243.2023.05.19.08.19.20; Fri, 19 May 2023 08:19:35 -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; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232241AbjESPK0 (ORCPT + 99 others); Fri, 19 May 2023 11:10:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232248AbjESPKX (ORCPT ); Fri, 19 May 2023 11:10:23 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB299E52; Fri, 19 May 2023 08:10:18 -0700 (PDT) Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4QN9Gq38kWz67fpR; Fri, 19 May 2023 23:09:07 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 19 May 2023 16:10:15 +0100 Date: Fri, 19 May 2023 16:10:14 +0100 From: Jonathan Cameron To: Davidlohr Bueso CC: LiuLele , , , , , , , , , , , , , Subject: Re: CXL memory device not created correctly Message-ID: <20230519161014.00003002@Huawei.com> In-Reply-To: References: Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.76] X-ClientProxiedBy: lhrpeml500004.china.huawei.com (7.191.163.9) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 Thu, 18 May 2023 18:38:46 -0700 Davidlohr Bueso wrote: > 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 That just failed to make it into an upstream pull request today due to some bugs in a the poison list set that came before it :( v6 or poison list and events support are both on list now and hopefully will make this QEMU cycle so be in 8.1 Jonathan > > Thanks, > Davidlohr