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: 8788821 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 0178DC0553 for ; Sat, 9 Apr 2016 21:51:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 27D49201B4 for ; Sat, 9 Apr 2016 21:51:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0679320259 for ; Sat, 9 Apr 2016 21:51:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753688AbcDIVu7 (ORCPT ); Sat, 9 Apr 2016 17:50:59 -0400 Received: from mail-lf0-f53.google.com ([209.85.215.53]:35304 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752953AbcDIVu6 (ORCPT ); Sat, 9 Apr 2016 17:50:58 -0400 Received: by mail-lf0-f53.google.com with SMTP id c126so114787662lfb.2 for ; Sat, 09 Apr 2016 14:50:57 -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=TX1EHjmOpD1BSS6rkGdGfNXRIQ89kHRITdcFirdQ9ugfPykohJPV8CJMlvzmqf1t1S jmdX2811z3aEw9hFpa/8RbeM8x6+CTPtEycUCU0c0LQDB9qNtZA5elyuAN1q7MhLei4a qjg8PrIEhsd96jGeLUCA1p9roj/Wi0i0UhE7rxKxvazXCA+cQeJ3svt1KOt/i0HXSpJN tanai3A2e90Fqn+fmdIbSVDiotefd0gNqZ4tYlR+jNMuUImVFLEeGAbhpBIeLFzpxGBb /hyew+ejWUUSr4rtfJtvoyYgkWB1NbzsP9XNM8CrDALZHUAts6XqTOzFbgrtutVGlWdT I7tQ== X-Gm-Message-State: AD7BkJKVAH0b5jhXo6R5W7pjUrDJzHJ8knhcYIGfoFx2iqV4x90QtWVhDFLmdtGtqXAUqw== 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 Cc: linux-pci@vger.kernel.org, Hauke Mehrtens , linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= 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 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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;