Received: by 10.223.185.116 with SMTP id b49csp5344038wrg; Tue, 27 Feb 2018 11:37:45 -0800 (PST) X-Google-Smtp-Source: AH8x225o2kj6BHSHp1tPB5Zd/orwMrgEPnkjGUsx6RF/xVf/NosBW2tJqZ1algNaWxs64AXc+qdz X-Received: by 10.99.66.135 with SMTP id p129mr12349481pga.220.1519760265010; Tue, 27 Feb 2018 11:37:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519760264; cv=none; d=google.com; s=arc-20160816; b=lzGA4IUiKlnNF+bbNQR88jFO3VEd56Tv2YKM8IHr9e/ti5GtWtUITKD8RoxD9vcjf4 NTgWnLHeAVDk9OKGSkEJY0GCRqp5lkmcp9uPka4K5YRu6fi7x38aRWyei1R4FOtScyCj J91yXKcJmoQvBrduApcmCs4Po1WHH+BgYQ4S0ETNOaDtf+zM4kTBe+3yYZeBjt7vCTpc UivWBLGNI81oeGRw1anUMA1JU3Fs+1giGUniMFkYfQHWnEc9v7yM6Hxo7LWRT2whh3Dh KEuS/EOUwTXCdvg71/ncSybeq7DKgdM28OgJR0E0VrSxYE05q22Etm0KVBX0WiZRXUjB u3sA== 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:arc-authentication-results; bh=eUwUzlhnEB9W94trysX1gz8E5NI7orMSmBnmUiwAXYo=; b=tNHYXEqNXz5ou5urOuidJgLHmMWQFXAlwEYDiadpbeH212t3CDSkGuj8FxdF2mKu7S sDdRVA1gGz/JJ48l4Ovub2IVAIYkJESbThtHEtr28AGJDEC1lrMgv5fmYnHfo3TMOP2P 6lKCFjEfLpy45ct9wAyKgU9flbxdjPT+ZfkQ8v1/dwcu0sAF/yQtHU3JAQdEChoa1b5g Il8GdiDw3RGlW7AnfvU5Cdfqf3aJ6gWNscLigAV3lOgGXad4MfV4eaBw6aKLfFaJs0H0 VRcQ7HsxXCjGvZpVyH7NTnC7l9P0v+hHyJ8mJ5M0iBeSK6xu6dqwwru5jX8SW22ZgyB3 XTjQ== ARC-Authentication-Results: i=1; mx.google.com; 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 y12si7325284pgv.251.2018.02.27.11.37.29; Tue, 27 Feb 2018 11:37:44 -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; 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 S1751848AbeB0TgL (ORCPT + 99 others); Tue, 27 Feb 2018 14:36:11 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:47124 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751742AbeB0TgK (ORCPT ); Tue, 27 Feb 2018 14:36:10 -0500 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1eqkzG-0001tV-9f; Tue, 27 Feb 2018 20:32:30 +0100 Date: Tue, 27 Feb 2018 20:36:05 +0100 From: Sebastian Andrzej Siewior To: Greg Kroah-Hartman Cc: Gary R Hook , "Hook, Gary" , linux-crypto@vger.kernel.org, Tom Lendacky , Herbert Xu , linux-kernel@vger.kernel.org Subject: Re: Can a driver->probe be called for two devices at the same time (WAS: Re: [PATCH] crypto/ccp: don't disable interrupts while setting up debugfs) Message-ID: <20180227193605.nhkagbqjkadqqruo@linutronix.de> References: <20180223223307.18882-1-bigeasy@linutronix.de> <3f0e1a62-a7ea-6d0c-d305-67080803aefd@amd.com> <20180226083508.th2m3xssp36lx3zh@linutronix.de> <372b353d-017d-a72c-b750-9417f6265874@amd.com> <20180227173314.uko5xpf4od2fn74g@linutronix.de> <20180227184034.GI20601@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180227184034.GI20601@kroah.com> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-02-27 19:40:34 [+0100], Greg Kroah-Hartman wrote: > On Tue, Feb 27, 2018 at 06:33:14PM +0100, Sebastian Andrzej Siewior wrote: > > On 2018-02-27 11:08:56 [-0600], Gary R Hook wrote: > > > That issue remains unclear to me: Are probes of PCI devices guaranteed to be > > > serialized? Observations on my CCPs says that they occur in order, but I > > > don't know for certain that serialization is guaranteed. > > > > > > Is there a definitive statement on this somewhere that I just don't know > > > about? > > The bus enforces this. > > > So the question if a driver can probe two devices simultaneously. > > Depends on the bus type. PCI > thanks, > > greg k-h Sebastian