From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f174.google.com ([209.85.192.174]:57243 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753158Ab3LNDjO (ORCPT ); Fri, 13 Dec 2013 22:39:14 -0500 Date: Fri, 13 Dec 2013 19:39:11 -0800 From: Guenter Roeck To: Yinghai Lu Cc: Bjorn Helgaas , Rajat Jain , Rajat Jain , "linux-pci@vger.kernel.org" , Linux Kernel Mailing List , Kenji Kaneshige , Alex Williamson , Yijing Wang , Paul Bolle , Rajat Jain , Guenter Roeck Subject: Re: [PATCH v2 2/4] pciehp: Use link change notifications for hot-plug and removal Message-ID: <20131214033911.GA25115@roeck-us.net> References: <529E5C0E.80903@gmail.com> <20131212224407.GL4699@google.com> <428d664592c2466c9e5e6b393df9d690@DM2PR05MB671.namprd05.prod.outlook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-pci-owner@vger.kernel.org List-ID: On Fri, Dec 13, 2013 at 05:58:08PM -0800, Yinghai Lu wrote: > On Fri, Dec 13, 2013 at 1:14 PM, Bjorn Helgaas wrote: > > On Fri, Dec 13, 2013 at 12:04 PM, Rajat Jain wrote: > > > >> Once again: the way I interpret this is: > >> * Always enable Link events. > >> * Disable presence events if attention button is present. > > > > That sounds like a good plan to me. > > How about Diag_Reset from MPT2SAS and others? > link could up and down > Good question. Another question is how this would play together with AER functions, specifically link_reset and slot_reset. In this context ... is it possible that the link_reset function from struct pci_error_handlers is never called, or am I missing something ? Guenter