Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp410432pxy; Wed, 28 Apr 2021 06:49:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLh/A2bAZ5ZySWnkVooIsmQD7QHDG6zeGT36DBgNW6/jDSHFqJt6VwP3mVFizioC2aBvau X-Received: by 2002:a17:90a:bd89:: with SMTP id z9mr14996743pjr.4.1619617793726; Wed, 28 Apr 2021 06:49:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619617793; cv=none; d=google.com; s=arc-20160816; b=HPGug7/uDmY8CfW4JlCP07dGzMmnZA1zcJij/MIRR0PocYwjSVwyEnbdUdSS3YvHQ7 z5Pjm1SzQeA7a8z0Z9FJIbh5ozJIW7esQdqej0QOlSTXkSlrJANiYfDNUs3J/y29RJbe l0n6xgE5p1uESZQ/uhhh4BiJJtxrO7mDibjBhYMCXnLtksSUtTY/opi5w95rfM4pQFW+ qxvwQi+qx7jhtuS4b3YrNwO7k7R/eXkgUX4JUeWeNZjy/40xx56bLLRiyuvhl6gSksJY N+CdzOEjHmeou2yQWm3nDBmrPH1qPOExHpWcbSHyyoLtIrZtiFYhMsW0y75ovX/dmyLh xgxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=GRxkUo+PRbe+x5wLLv3keLeEPMkJ2hxH1SQXgu1ocjk=; b=TDttVKfQIr9ZxCl/O/8QZJAzgZt2oVBS8VuixzihDHnN0lIXOthCYZGBHL6wcbweYs I4yiQ3Y7izXMkVgioy2cxdqP8fkDkeA6Ys1s0U4eR5/MYsoTb+QgE0oqB/jd0ErtN09A pcKrU51NPJwFUrre+daK7oLP9/wkHgmDcOApPQ/EPeordzIC4zIuhxWkJxiuHm/MXxmf rxExlx0s+vPSmntCqyS3JJZQJ6/UrhQBpRwtEHKyRrsj3A11hE5NoXy79ZCfICNYt0CJ fzyH8IvIXRQzRPiM3hp80xD5ozqwY5yPRshupsFmTT8pz+kMBflo9GvwfmzQ993zS2iy hOcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k6si3629950pgb.266.2021.04.28.06.49.39; Wed, 28 Apr 2021 06:49:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234549AbhD1MW0 (ORCPT + 99 others); Wed, 28 Apr 2021 08:22:26 -0400 Received: from mail-oi1-f171.google.com ([209.85.167.171]:39462 "EHLO mail-oi1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234356AbhD1MWZ (ORCPT ); Wed, 28 Apr 2021 08:22:25 -0400 Received: by mail-oi1-f171.google.com with SMTP id i81so62846338oif.6; Wed, 28 Apr 2021 05:21:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GRxkUo+PRbe+x5wLLv3keLeEPMkJ2hxH1SQXgu1ocjk=; b=Tvfv2ymW+DV6C/paqY38g+8stelqtlDmdpxOFAMTLj9ElU6eUEzjceL6i82YjTlAfb aloQ8n5YkyWdiyGTjJYsJJQc+zMbKT4vHoHp18Ro3EMT8fodkgQeSroGi3lua9adC9aC FnfqCGazJWKqDKNIU/v+GH06YDdHvXGhLxuPbLeOcSHQi4ioUPQsQrbPK5X9xbBGGs0D 9PcS/al0gxmdXFSe1ARIRi7GFsg+dCpBgp/EnacobG33yU/1s81858BifPL/IO1Wgo70 267erXTpmEydZM3V4jgFbkBec7L4j6S4yXjpk2c1IcyeHI3Xt5aE9D8SJLAuBcci5OZg 0ahA== X-Gm-Message-State: AOAM530KlMoJP6byqnL98IN/B+50zvcWT+OjuDMlzKYP/1knvNv5BVFQ nuDrqDAXr5r+6KPIaJdWYfjV9LFIzcV1OBqMo4I= X-Received: by 2002:aca:bc89:: with SMTP id m131mr20193642oif.71.1619612500595; Wed, 28 Apr 2021 05:21:40 -0700 (PDT) MIME-Version: 1.0 References: <20210424021631.1972022-1-rajatja@google.com> <20210424021631.1972022-2-rajatja@google.com> <79b994f2476249498797e1784f735fd7@AcuMS.aculab.com> <21c6b5002c5ad36cd7fe0bb849f5eba12a614bca.camel@suse.com> <0601e45130495b152bec04eee4a50e302db4cfd2.camel@suse.com> In-Reply-To: <0601e45130495b152bec04eee4a50e302db4cfd2.camel@suse.com> From: "Rafael J. Wysocki" Date: Wed, 28 Apr 2021 14:21:27 +0200 Message-ID: Subject: Re: [PATCH v2 2/2] pci: Support "removable" attribute for PCI devices To: Oliver Neukum Cc: David Laight , "Rafael J. Wysocki" , Rajat Jain , Greg Kroah-Hartman , Bjorn Helgaas , Alan Stern , Linux Kernel Mailing List , Linux PCI , "open list:ULTRA-WIDEBAND (UWB) SUBSYSTEM:" , Bjorn Helgaas , Rajat Jain , Jesse Barnes , Dmitry Torokhov Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 28, 2021 at 8:57 AM Oliver Neukum wrote: > > Am Dienstag, den 27.04.2021, 12:59 +0000 schrieb David Laight: > > From: Oliver Neukum > > > Sent: 27 April 2021 13:00 > > > > that is true for those options, but not for the style > > > of PCI hotplug which requires you to push a button and wait > > > for the blinking light. > > > > True, I remember some of those PCI hotplug chassis from 25 years ago. > > ISTR we did get the removal events working (SVR4/Unixware) but I > > don't remember the relevant chassis ever being sold. > > In spite of the marketing hype I suspect it was only ever possible > > to remove a completely working board and replace it with an > > exactly equivalent one. > > > > In any case those chassis are not 'surprise removal'. > > > > More modern drivers are less likely to crash (and burn?) when > > a PCI read returns ~0u. > > But I suspect an awful lot really don't handle surprise removal > > very well at all. > > So you are saying that these systems are so rare that it should be > handled as special cases if at all? In principle, in the wake of Thunderbolt every PCI driver handling PCIe devices needs to be able to deal with a device that's gone away without notice, because in principle any PCIe device can be included into a Thunderbolt docking station which may go away as a whole without notice.