Message ID | 20221128040338.1936529-1-ira.weiny@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5422393wrr; Sun, 27 Nov 2022 20:06:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf4DTH6SwoNITYFLRM3sWfN2o90ZctBuiQ/ALqJDZBeDU5OTLThwF0v80F3nCXaA+or30SAP X-Received: by 2002:a05:6402:4512:b0:461:4c59:12d6 with SMTP id ez18-20020a056402451200b004614c5912d6mr45812589edb.250.1669608398768; Sun, 27 Nov 2022 20:06:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669608398; cv=none; d=google.com; s=arc-20160816; b=S6FJSuRt2Y4erBz73VtWurA/ygJiseMiRI5TrKSiepBJgvcyOTL/l/Jms8iMA/HV40 PjTfq/96s03t9RZ/ATftV98hj1QAHK4c531uiuaDS1JxjPPvV6m7mKBDbsQcoHq0Sx1f 4doujY/qw93ar//W5lnjyl7mRRioacB3Dk3pNj4c7KOPEOswtMeCzPe8Y+CW+cqotlOh Vfk5I7+qEGu+za+aWG+Aviihoqsg+qMJD9QizY9gr6m5hMznlEm1DH8PH1vJiQyOYeVH 9u2lJFbTxof9kVHs6emm16Aza7/7oc0vv7o8sorGaTinKXluTIhoqZpZUO981DMALzT7 Z/Kg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=zusfhiBOOZ3fzuTVfIGoJRzBrDOB1dNH7erqtXi/K7o=; b=jWC2rPFlVZmuNleE3C0Z+2BUBM4N2XjnkZmdEdj23rx7I33O2f42oeIAm7wFq19aNh 0ztZ8Nw2sLmoZXln4yrZ5IQf5uASeHr2b8q/M6/A1E7LQPEURbmngdNJoiaE64YLR8hO /C60eNlbu8VQR/euaidzcuA+pALfBj0yB0pcH7qKJ977CnPV4p0l7GAlcNxzxkcaf8Tn inUmfh2wdzARcJIpMQJkiTXm+AvBhTOBaPEULp6sdK6HsOQkRbXbsCU6XMTaKgblY057 5t5f/YGuWLzEPR0ryFf7UIPz/+x4fhdjlV9+WUBtw8BZp0oj76aPqsckq7Pa6L7eHPUV XpIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Sk/PJ2oD"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m19-20020a056402431300b004693eaeac13si10015086edc.570.2022.11.27.20.06.16; Sun, 27 Nov 2022 20:06:38 -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; dkim=pass header.i=@intel.com header.s=Intel header.b="Sk/PJ2oD"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229763AbiK1EDz (ORCPT <rfc822;gah0developer@gmail.com> + 99 others); Sun, 27 Nov 2022 23:03:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229681AbiK1EDn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 27 Nov 2022 23:03:43 -0500 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A59A13D2B; Sun, 27 Nov 2022 20:03:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669608222; x=1701144222; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7a1NGqIRR9f6Jqr5n73oWfmtS1WBJi/dkBMFlHgFXps=; b=Sk/PJ2oDiPsjBVlwZ9ucVnFM5JNO+v3bz95L4W6X2QYxfGf+bWA7z79R 4DmYK/7bQmb98Fn9oCfvFC7lq9qYyiioa7SZ7AEuRovK0xqMuJLn6mH4k js1wsuKpn2kLxwkynQhA3J7c7zTlxIGYkP6ZqKGEo2625TAz0AUpbIO2s mq0Nx/dSMiQ+4ohUyt22gclIMdW5J77ZLDhOFxyArAIe4+d1HhTC5+uLM pYkvL2IyBaEu5mf+Zr+F/+3EXSSJF2lk6hRiUwz1516CTKzv0NH5IUqv/ fClOde6GtXus0JxJiqqoL+7rLUZLdiR5zZR0TLqMMTa0A7yBoEssj3KK6 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10544"; a="295127112" X-IronPort-AV: E=Sophos;i="5.96,199,1665471600"; d="scan'208";a="295127112" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2022 20:03:41 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10544"; a="593733577" X-IronPort-AV: E=Sophos;i="5.96,199,1665471600"; d="scan'208";a="593733577" Received: from iweiny-mobl.amr.corp.intel.com (HELO localhost) ([10.212.2.33]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2022 20:03:41 -0800 From: ira.weiny@intel.com To: Dan Williams <dan.j.williams@intel.com>, Bjorn Helgaas <bhelgaas@google.com> Cc: Ira Weiny <ira.weiny@intel.com>, Lukas Wunner <lukas@wunner.de>, Alison Schofield <alison.schofield@intel.com>, Vishal Verma <vishal.l.verma@intel.com>, Jonathan Cameron <Jonathan.Cameron@huawei.com>, Gregory Price <gregory.price@memverge.com>, "Li, Ming" <ming4.li@intel.com>, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-cxl@vger.kernel.org Subject: [PATCH V3 0/2] PCI/DOE: Remove asynchronous task support Date: Sun, 27 Nov 2022 20:03:36 -0800 Message-Id: <20221128040338.1936529-1-ira.weiny@intel.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750711296381585974?= X-GMAIL-MSGID: =?utf-8?q?1750711296381585974?= |
Series |
PCI/DOE: Remove asynchronous task support
|
|
Message
Ira Weiny
Nov. 28, 2022, 4:03 a.m. UTC
From: Ira Weiny <ira.weiny@intel.com>
Changes from V2
From Jonathan
Add comment about change in PCI_DOE_POLL_INTERVAL value
Remove additional code
Changes from V1
Address comments around locking
Add patch to remove unneeded pci_doe_flush_mb() call
The asynchronous task support in the PCI DOE mailboxes has become a
maintenance burden.
Remove the code associated with that support.
Ira Weiny (2):
PCI/DOE: Remove the pci_doe_flush_mb() call
PCI/DOE: Remove asynchronous task support
drivers/cxl/core/pci.c | 16 +----
drivers/pci/doe.c | 135 ++++++++++------------------------------
include/linux/pci-doe.h | 11 +---
3 files changed, 36 insertions(+), 126 deletions(-)
base-commit: b6e7fdfd6f6a8bf88fcdb4a45da52c42ba238c25
Comments
On Mon, Nov 28, 2022 at 05:51:12PM +0800, Hillf Danton wrote: > On 27 Nov 2022 20:03:38 -0800 Ira Weiny <ira.weiny@intel.com> > > @@ -49,7 +48,7 @@ struct pci_doe_mb { > > struct xarray prots; > > > > wait_queue_head_t wq; > > - struct workqueue_struct *work_queue; > > + struct mutex lock; > > unsigned long flags; > > }; > > Add a followup cleanup patch to cut wait queue off as the wakeup in > pci_doe_flush_mb() is gone. Thanks. That should have been part of patch 1/2 as it is gone then. Ira