Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3259990imm; Sun, 19 Aug 2018 16:25:48 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxuovL6prmRaxbcJZ71UZKTKWVY3JC5gVt5HOpi4X8ZhK9W0obfPMUpnpRaoPB6Fz9lNwUW X-Received: by 2002:a62:954:: with SMTP id e81-v6mr45825355pfd.231.1534721148883; Sun, 19 Aug 2018 16:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534721148; cv=none; d=google.com; s=arc-20160816; b=XWsQUDVu3c6iu5mk1yZ29zcBriBzoYHwiR43W+eTQJprYAMvCZuOFL5hDWuwzlZfTb hHUcS4rJJhxof4cMgSaLc7g2G/XVFDAo2VdxSTQUY8p3mHgQVfloPtJQ7b5CElqQqdXa 6/9gtTgJLfCjxrPfkX1yk3P6c1KYgOuqrDZt6mqilq44K6ZssAnFtfx9z3PA+SvvnS6w u0wSka48rLpBgYyXTD6RmIkiebwBLIEaYqKNyVdQMB505wizL5SKd6YHm0ruOxg9X22s WwDVwBO3bHwt62ujcPvgwOr+RnWQRd1dUAYkcVWVypA1U5Ler7UBZPnkY7y0SU1j+d0v MisQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=YKBqrlhb+PLnV3Uh3KvNlgOwOQaQ7BckI3IWMGFSK4U=; b=m23Qebw7m8vu548gERvXyXiwMBCdR4yd0JP3n9QmZFYiOLM1Bu0lgwqEG18hPXHBwQ DaLZ4euIq8ZlDHqPAKiAJmlocIG48IJDNGADLtxzDNKlkQvls1KW2esTjytK+7GX+lcd +QFZ9I7A5O0dwBRHXmVdk7blNbOX4AUCuG1ch1NXo2Nq3K8NIVzIwTeXrhkr088WzbcA QlBGpisemy3YRwx3jSLRC1Wq52ISNWft3wF9w4vpWhtvz1h+KJzPDUd9HnWNGI82Z6jO WdHhpdXGS6eknrYrMCq0ftW9cktZHn9RxyJLlp9utp+4yvE5VIQKYGjysWzarHSIo+CZ 1kiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MbTgW3dm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e94-v6si8518979plb.435.2018.08.19.16.25.33; Sun, 19 Aug 2018 16:25:48 -0700 (PDT) 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=pass header.i=@kernel.org header.s=default header.b=MbTgW3dm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726608AbeHTCgv (ORCPT + 99 others); Sun, 19 Aug 2018 22:36:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:49378 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726436AbeHTCgv (ORCPT ); Sun, 19 Aug 2018 22:36:51 -0400 Received: from [192.168.0.122] (cpe-174-109-247-98.nc.res.rr.com [174.109.247.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B750120C0B; Sun, 19 Aug 2018 23:23:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1534721018; bh=adhesXCFIY1lqw6BP7i+uQGmPXFx/uS2DEMSJAeKLmQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=MbTgW3dmBt/rb2g1DEGT0KrZH9dlp67XSPvfwEjJj4lr1tNVcWwYG+VmOy2smioBF T7HK5imaZBjn8tPf+/unBMVEM77yhoIUZyePQgIVEeaRhzrDFRIrXDkukh9kbtZZK2 otbgfevQ9oHCvMk8TcSf/uDg4e8KD/QL6DAWtzZA= Subject: Re: [PATCH v8 2/2] PCI: pciehp: Mask AER surprise link down error if hotplug is enabled To: linux-pci@vger.kernel.org Cc: Bjorn Helgaas , Lukas Wunner , Andy Shevchenko , Mika Westerberg , open list References: <20180818065126.77912-1-okaya@kernel.org> <20180818065126.77912-2-okaya@kernel.org> From: Sinan Kaya Message-ID: <75a82f6d-10dc-d980-8abf-8e1410f866cb@kernel.org> Date: Sun, 19 Aug 2018 19:23:36 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180818065126.77912-2-okaya@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/18/2018 2:51 AM, Sinan Kaya wrote: > cleanup_slot(ctrl); > + pciehp_control_surprise_error(ctrl, true); I think I need to move this one line up but I'd like to see some input here and also ask for some testing. I don't have any hardware to test.