Received: by 10.223.185.116 with SMTP id b49csp2257694wrg; Thu, 22 Feb 2018 10:37:41 -0800 (PST) X-Google-Smtp-Source: AH8x227PyhQ1/wp3PZNFRIS9pzSEbmaBIffugXRCRgiUqTctZ7jEmlaqOVp992rHAOZgaDDuT5qc X-Received: by 2002:a17:902:b903:: with SMTP id bf3-v6mr7574322plb.316.1519324661037; Thu, 22 Feb 2018 10:37:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519324660; cv=none; d=google.com; s=arc-20160816; b=Fm2iWIoRzQMoW+qV6Q0jeKxirHhwKn8+Z1SqZzwyFEE8IRioi4KdrhiiD/fNFrluT9 7SlofQb0jaTz2bqHSlmBnwItYiWAaYSc0SzSW/ZglUCtvXyf5bHBE9HZADsumoDOBSx6 lrVKXXBnnHa9844NHTUTQm2t9C1YCrK5xLvssTuv8hwsVtxUPYG7Lluc3JyCod7ClxQE pIRklcxvyQHCeQQvjEeJj6nUYuh59AT9W9+REqBh0PzqDjXAX6+GYZslVYJGLSQ47eYi Kr0Rc+6hPBBlHlXVwOeps0fi0T28EwnvgjYcAjVe4Ccn7HeWbz9mLLOJ6l0jtocsg2xy LRHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=STRXvZ8n4Xky40cfYtZN68uFpKMj0eXb7TKmdZUCnHc=; b=FBzSL3mZEV2D9w42xSSMmhVciJGWmhEaHrw5iOlVG20Aqc6TrSyojhQrF27lDbV33y DWg6RJnE6l2ewQ8IOUn8JQLvBWCZNCcQQopvEj3I4LAYA4eHkNBfhYXv1QYyPfJXXBXz S2zsW1mWolk1XPk5EFK0LraOy4hSpyYMUuncFDld+mEPK5Im0UDaRCsyVsDCw1ZtJ/Mt 3kAxMkJ6IbEMW4tHe66cMhE6UGOTdywr2Rbxkcg2ofYuBJ8EL0+NuvlQTTrENnt2AlZL d759Nmz0jlaTwVnMCIQ2gb6DuZzLt+I4VJRqgMG/r3RxjgplylLphDoCQGRb1asExYSj 4ObA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=dbgbm7cK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11si344752pgp.626.2018.02.22.10.37.22; Thu, 22 Feb 2018 10:37:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=dbgbm7cK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751340AbeBVSgG (ORCPT + 99 others); Thu, 22 Feb 2018 13:36:06 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:52336 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750805AbeBVSgF (ORCPT ); Thu, 22 Feb 2018 13:36:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=STRXvZ8n4Xky40cfYtZN68uFpKMj0eXb7TKmdZUCnHc=; b=dbgbm7cKYqC0RgYBpDgLsTDxN TmiH04hAomrOe6xnMxh2gDmDZvZwgtpO8fWW0zcuUbfA88jwnqlE5lekO/mbPGngDCteH8GdDxEQs Kb0s9oJYGgvBe3O3EduYVuXCseCgxzvDTDdVBvldzCiZMk0qtffxQo7RisBypv2/dByq/NtL44mcT TsY0l1cOqi35ksHuHJQQhru1zmI/4YlphrlPZescPJXM0GDPtiRbMtcdlsxr9hCF+UnjqngImITqc sIzdqyPjVrfT+Zr5L0WjeXraxKIUgUFvRFR4ni6K5RQndmBYzW9ldOxuGZIDbcpVJWF6B3D2nMjwm Se2JBEBTA==; Received: from hch by bombadil.infradead.org with local (Exim 4.89 #1 (Red Hat Linux)) id 1eovit-0003b5-A3; Thu, 22 Feb 2018 18:36:03 +0000 Date: Thu, 22 Feb 2018 10:36:02 -0800 From: Christoph Hellwig To: Oza Pawandeep Cc: Bjorn Helgaas , Philippe Ombredanne , Thomas Gleixner , Greg Kroah-Hartman , Kate Stewart , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Dongdong Liu , Keith Busch , Wei Zhang , Sinan Kaya , Timur Tabi Subject: Re: [PATCH v10 3/7] PCI/ERR: add mutex to synchronize recovery Message-ID: <20180222183602.GC6267@infradead.org> References: <1519315332-26852-1-git-send-email-poza@codeaurora.org> <1519315332-26852-4-git-send-email-poza@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1519315332-26852-4-git-send-email-poza@codeaurora.org> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 22, 2018 at 09:32:08PM +0530, Oza Pawandeep wrote: > This patch protects pci_do_recovery with mutex. Do we really want a global mutex for this and not one per root complex at very least?