Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3181214rwb; Fri, 16 Dec 2022 11:08:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf7NY/3Ee/MlA1St/FnQk9YQPJ3fKI9p0X7z+Vb7lGHbHe5rzgN+1o6WGb4i4FotBqpgJ8bL X-Received: by 2002:a05:6a00:1a8c:b0:566:900d:5ae4 with SMTP id e12-20020a056a001a8c00b00566900d5ae4mr40889877pfv.20.1671217704856; Fri, 16 Dec 2022 11:08:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671217704; cv=none; d=google.com; s=arc-20160816; b=T9HuicS5+jXcDSdTDR5Vu4iRcL/UU2uB5FGJFIFaPAu35Vk6eaQCjhL0j8zEFGXzLf VjwoSlBPsDRBPohLKaYoRbwBiteov3yNGL0K03o4Srs5yM/fk05WfaZy3zKQg1Benufo SGHIC9Q7+81mT66NorknzYfelP0otB2pVUPx9FqPec0Riaj6ENjW3ulrsa2sz6sZHZue dsaxV0QseOIvi0c1o7q4jQ7hjTFIXBojhzyZ8i9oCcdeV4lYOUx274CVJrmeXNVUJmR8 ORa7RvLbyfDa4jA84yBwmwofFFv1zzNJAq41N8UEUK5tMjSwPSO2axqne6y3yBTaSKuM QRfw== 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=29MndcE37ziQUioBTPzBkqk1pDbTV+YR8HOJn8Ayo/s=; b=F0MoHwjprFDWcmrPyuHMsyuCIY5CGPzT3x8kQ5C1OHHTPAT0JG/kncCw2705VJbaKE G7f6XnKjAU4gA5B3OkL9Zv9nPKyxdHce+Weazvad1IyPSq8KZU92Cb5gwHIRrD4L5XEf 8jHtZhdKq1tD21AWqFYH5Ndx5ecMk9m9BWquAuudkVp1UbEvx4W5UBJcE+YNedOtRWQ3 e9XMZfR0PViyqvUo7hlbfuD6wxXwcgofeojYDi/tXdcX7ZemqxPJmuxwY22hevArNqWz gKvzN3x4R3K1Qi1v7n3rnvYoLioMhrStXQBoJ8zucI0jFQd8mNNlq1Z02obTjosGY8Wg YqxQ== 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 b3-20020a62cf03000000b00575a9ce07ffsi2953839pfg.342.2022.12.16.11.08.13; Fri, 16 Dec 2022 11:08:24 -0800 (PST) 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 S231829AbiLPSkI (ORCPT + 68 others); Fri, 16 Dec 2022 13:40:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231854AbiLPSjf (ORCPT ); Fri, 16 Dec 2022 13:39:35 -0500 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 452F82B243; Fri, 16 Dec 2022 10:39:09 -0800 (PST) Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4NYd7n1LyCz6HJVH; Sat, 17 Dec 2022 02:35:17 +0800 (CST) Received: from localhost (10.45.152.125) 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.2375.34; Fri, 16 Dec 2022 18:39:06 +0000 Date: Fri, 16 Dec 2022 18:39:02 +0000 From: Jonathan Cameron To: Dan Williams CC: , Bjorn Helgaas , "Alison Schofield" , Vishal Verma , Davidlohr Bueso , "Dave Jiang" , , , , Subject: Re: [PATCH V4 0/9] CXL: Process event logs Message-ID: <20221216183902.00002bc8@Huawei.com> In-Reply-To: <639ca459102ad_b41e3294c7@dwillia2-xfh.jf.intel.com.notmuch> References: <20221212070627.1372402-1-ira.weiny@intel.com> <20221216122531.00001bef@huawei.com> <639ca459102ad_b41e3294c7@dwillia2-xfh.jf.intel.com.notmuch> 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.45.152.125] X-ClientProxiedBy: lhrpeml500006.china.huawei.com (7.191.161.198) 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, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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, 16 Dec 2022 09:01:13 -0800 Dan Williams wrote: > Jonathan Cameron wrote: > > On Sun, 11 Dec 2022 23:06:18 -0800 > > ira.weiny@intel.com wrote: > > > > > From: Ira Weiny > > > > > > This code has been tested with a newer qemu which allows for more events to be > > > returned at a time as well an additional QMP event and interrupt injection. > > > Those patches will follow once they have been cleaned up. > > > > > > The series is now in 3 parts: > > > > > > 1) Base functionality including interrupts > > > 2) Tracing specific events (Dynamic Capacity Event Record is defered) > > > 3) cxl-test infrastructure for basic tests > > > > > > Changes from V3 > > > Feedback from Dan > > > Spit out ACPI changes for Bjorn > > > > > > - Link to v3: https://lore.kernel.org/all/20221208052115.800170-1-ira.weiny@intel.com/ > > > > Because I'm in a grumpy mood (as my colleagues will attest!)... > > This is dependent on the patch that moves the trace definitions and > > that's not upstream yet except in cxl/preview which is optimistic > > place to use for a base commit. The id isn't the one below either which > > isn't in either mailine or the current CXL trees. > > I do not want to commit to a new baseline until after -rc1, so yes this > is in a messy period. Fully understood. I only push trees out as 'testing' for 0-day to hit until I can rebase on rc1. > > > Not that I actually checked the cover letter until it failed to apply > > (and hence already knew what was missing) but still, please call out > > dependencies unless they are in the branches Dan has queued up to push. > > > > I just want to play with Dave's fix for the RAS errors so having to jump > > through these other sets. > > Yes, that is annoying, apologies. Not really a problem I just felt like grumbling :) Have a good weekend. Jonathan > > > > > Thanks, > > > > Jonathan > > > > > > > > > > > Davidlohr Bueso (1): > > > cxl/mem: Wire up event interrupts > > > > > > Ira Weiny (8): > > > PCI/CXL: Export native CXL error reporting control > > > cxl/mem: Read, trace, and clear events on driver load > > > cxl/mem: Trace General Media Event Record > > > cxl/mem: Trace DRAM Event Record > > > cxl/mem: Trace Memory Module Event Record > > > cxl/test: Add generic mock events > > > cxl/test: Add specific events > > > cxl/test: Simulate event log overflow > > > > > > drivers/acpi/pci_root.c | 3 + > > > drivers/cxl/core/mbox.c | 186 +++++++++++++ > > > drivers/cxl/core/trace.h | 479 ++++++++++++++++++++++++++++++++++ > > > drivers/cxl/cxl.h | 16 ++ > > > drivers/cxl/cxlmem.h | 171 ++++++++++++ > > > drivers/cxl/cxlpci.h | 6 + > > > drivers/cxl/pci.c | 236 +++++++++++++++++ > > > drivers/pci/probe.c | 1 + > > > include/linux/pci.h | 1 + > > > tools/testing/cxl/test/Kbuild | 2 +- > > > tools/testing/cxl/test/mem.c | 352 +++++++++++++++++++++++++ > > > 11 files changed, 1452 insertions(+), 1 deletion(-) > > > > > > > > > base-commit: acb704099642bc822ef2aed223a0b8db1f7ea76e > > > > I think going forward these base-commits need to be something that are > reachable on cxl.git. For now I have pushed out a baseline for both Dave > and Ira's patches to cxl/preview which will rebase after -rc1 comes out. > > Just the small matter of needing some acks/reviews on those lead in > patches so I can move them to through cxl/pending to cxl/next: Don't move too fast with Ira's. Some issues coming up in testing.. (admittedly half of them were things where QEMU hadn't kept up with what the kernel code now uses). > > http://lore.kernel.org/r/167051869176.436579.9728373544811641087.stgit@dwillia2-xfh.jf.intel.com > http://lore.kernel.org/r/20221212070627.1372402-2-ira.weiny@intel.com