From patchwork Sat Apr 9 21:50:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 8788831 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B6D2CC0553 for ; Sat, 9 Apr 2016 22:02:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AD81C2021A for ; Sat, 9 Apr 2016 22:02:14 +0000 (UTC) Received: from bombadil.infradead.org (unknown [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DF5A1201C0 for ; Sat, 9 Apr 2016 22:02:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ap0ms-0000bD-Iz; Sat, 09 Apr 2016 21:51:26 +0000 Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ap0mm-0000Yh-EK for linux-arm-kernel@lists.infradead.org; Sat, 09 Apr 2016 21:51:21 +0000 Received: by mail-lf0-x22b.google.com with SMTP id c126so114787665lfb.2 for ; Sat, 09 Apr 2016 14:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SAw/sAMLA+e94Zyc0JxEVqUZJ/e0OwxoqfZYrznP7VA=; b=c0bZSkFCH5aS8xXVQcVDBP3yA5BNszXUWI6OaL9GEzqwTgG28upPpdjVnkMx20qKnf 4XdIQlyWYbZpvWTrrzxf2WaAQ5k+zC+WuOBOXQnBP50ysgCTNvFJoMmsZ5ch37Dlo7HK sPkN0oRCjHkHNyMQe0AyomxDKd2uUNFxzDDSBG/cIthFsIjmqMmg6GbdT5CRSTIxbu6F uDeak6GAudvgQjXjzd4TOhqe2oW3dQmaEnOpl8cCMjLxGBCWiLh6uha2MxhP2CXhxIUp UTlCe1PmZ65am1XVpA9DckdPZR5LWEwzGAjZza68YJtn+llR8ZCEWh2wef+6uyD30b/y 2HZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SAw/sAMLA+e94Zyc0JxEVqUZJ/e0OwxoqfZYrznP7VA=; b=asSuUZfPGw0FCwo/j7m80Yut15ChwqZJ4E03MmSfScqy3p2NFGH4bk/dNqIC2QYiVj KgoHv/JC8uh52O230+IkQOP8Exo1BeAbI1AhvqvcF//gHXp5gFEZQf+Zpiu8L6Yv1n+V bA+vlcRXkLaEDoHx+8MRLPp3twA8HB6DD8cxMmBkxvusv6BR1aSPeCLTi/mKHRxrwoI1 XoajUvPfurIv8j/WlrYvmSUqPN0Ow7CgCLqO2xF6jBcCBKVgFkh7jfkPMkMeo9eylM/u g/zbjM43NnJIqLZxeMbKyQ9ZUMeRyZRNQtY7uAtJ9mQtNwOttc61W++s4GGrlcfIosAL KqjQ== X-Gm-Message-State: AD7BkJJpQuj3vsZ9Uo2m76TLPRhFy8FxU3GBmHX6ncorViX6uDf8AyG/eNZw2COGY6iCtQ== X-Received: by 10.112.235.195 with SMTP id uo3mr4791115lbc.18.1460238657051; Sat, 09 Apr 2016 14:50:57 -0700 (PDT) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id g8sm3065874lbs.37.2016.04.09.14.50.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Apr 2016 14:50:56 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Bjorn Helgaas , Ray Jui , Scott Branden , Jon Mason Subject: [PATCH 2/2] PCI: iproc: Enable hooking abort handler on devices with bcma Date: Sat, 9 Apr 2016 23:50:24 +0200 Message-Id: <1460238624-2086-2-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1460238624-2086-1-git-send-email-zajec5@gmail.com> References: <1460238624-2086-1-git-send-email-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160409_145120_838398_E9343990 X-CRM114-Status: GOOD ( 10.79 ) X-Spam-Score: -2.5 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pci@vger.kernel.org, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, Hauke Mehrtens Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RDNS_NONE, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This seems to be mostly needed by devices with more than 2 devices, e.g. Netgear R8000 which is known to suffer from this issue. Signed-off-by: Rafa? Mi?ecki --- drivers/pci/host/pcie-iproc-bcma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/host/pcie-iproc-bcma.c b/drivers/pci/host/pcie-iproc-bcma.c index 0d7bee4..f9ee077 100644 --- a/drivers/pci/host/pcie-iproc-bcma.c +++ b/drivers/pci/host/pcie-iproc-bcma.c @@ -56,6 +56,7 @@ static int iproc_pcie_bcma_probe(struct bcma_device *bdev) pcie->base = bdev->io_addr; pcie->base_addr = bdev->addr; + pcie->hook_abort_handler = true; res_mem.start = bdev->addr_s[0]; res_mem.end = bdev->addr_s[0] + SZ_128M - 1;