Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp555680imu; Tue, 27 Nov 2018 17:13:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/W1edJfPEAk+PR/SYwPK+qDQZEQpnNhU+iKuWqW4ldVi41vs3Hz/CNQioQdAjgysG9erZAO X-Received: by 2002:a63:224f:: with SMTP id t15mr31190370pgm.69.1543367584580; Tue, 27 Nov 2018 17:13:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543367584; cv=none; d=google.com; s=arc-20160816; b=vNzdmHRGpUwnys3va6P4E9Uu+3HySF3xnx02G2bcTyrp3OH/iIh8cvwKJaXyv9VziM a4TFUywR8aL1RjCn/owuzAuyWeh8quCds43h5llyNje7WkujJ+9q+goGvpgdewvSQ5Lr 1ZWdPWTkgRSqNcshhsaqoxqnSAXyHGkd4ayWy6qgAxHZFNNqrdtRrEUgv01ZhL1OEBH1 nY8DdfENBFpR5wLhJhYIhLPS5KdesDBF8YpFxspx4ECom6oRdcIXXZ3YsTUcrvQEuESX 2xiF6450FBQKkhal8ap6jKIFQ8rsbMXctoAf6v4qbnnqfep+RqA0bgApnRGXAAx7FKMv lctA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Ak6FWbAcS8rbW0WQBIUkVGymq+T5wGziIfalMQzKqRw=; b=ZtydJWkzRc5CSof6cy4UjCADMLpEku+sIdz4zTK7sLpM3jSfQy5NZHTFMpmEW5CL9U werggQ9ey7E8X9FJYzLb5zXxZdmLqkf6VVQl5Hg3rh44U3mSBDzI5isCFmpg7FXeSmcb kFIDB0VVoWPbmloV7FDAL9p/49+VrXj0W3x+a9MBkuqK1Z37K1zgwXgSn8GiqGaxmFeE lVxyDBA6hM1W3RUTENg0XnzxnBjnlMWf9Pl+F1GXWsxn8e8q17+oP3zTeJ4c5I1ZpMnl kUpz9+Mzu+TNuA8yyD9ZS0DGbtcx5A9TWa1DkpSaSjiehJfx/TwdI9IvfRsaYLyHprPF R71Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V98wdRwO; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b137si5349261pga.394.2018.11.27.17.12.48; Tue, 27 Nov 2018 17:13:04 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=V98wdRwO; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727104AbeK1MLz (ORCPT + 99 others); Wed, 28 Nov 2018 07:11:55 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:35939 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726539AbeK1MLz (ORCPT ); Wed, 28 Nov 2018 07:11:55 -0500 Received: by mail-oi1-f194.google.com with SMTP id x23so21154947oix.3; Tue, 27 Nov 2018 17:12:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ak6FWbAcS8rbW0WQBIUkVGymq+T5wGziIfalMQzKqRw=; b=V98wdRwOqQyk6VmImNpKv50BXZ1ZR5x3zihruL5ZQm/uctJv6gyGXW6YIabrDFmaI6 CvlOPTXGo77o9N37qq9EylPKpVBGn9gU0aok5wqB+fkBcw5dPyxcPGF2K2fH9gI9b71X hvCEuH0mq3fGHaNFmOQJOeKvTcGYW/xyULgyKM3JtyopNJS86o5/lNqPdnUpmZiYhCK6 OMGf/NuHxS1JvpqWz/bDLTX4ZXzSXpPwMBlwh7eUeAK7mzhitmYa1028e47dlZKakgyO JOQTZj0mUTwK6NMJ0yoKlrsosU6hvhZ75PCs3ruVSIKe6d7obg+YjmsjTsjTlqXKbkHA JhYw== 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=Ak6FWbAcS8rbW0WQBIUkVGymq+T5wGziIfalMQzKqRw=; b=Zh+UaNc92AA+agXXE5eQbCWFdhrhc6YlHjkGuDAVDYi0XzuiENgjxKJoEuZ0M1wdmB o/6KmTNCPveWkPylMDmORT60DUMbp2EjuO2YM6ho1mVJjSWQRRx94gmu58+TO2owYkFk gnlEhifZOgs0Wf2Uo0lUp2kHsIjGhmQ5QS6Bijn3QBB80qljHC9BAjHkONzL8DSMRC5W WzRNtguM6sq0AQOPJXyW6JBnEqvIg4m0d+TJr4Xjyy1SQS5k9/9xfYhUcQabiqRF7wNK S1da57NPG8Zt/iM2zcBLZnA+/bBd1EW6R+HWn5Glw9/pry+QyvZaKMiE0XQ8AW8U0P+8 8cmw== X-Gm-Message-State: AGRZ1gKTLZ6q6+GE8CfOqXthgo3k3zEmPCz6SpTAuk6GoQl7G5cYFaZs 9MqoU141zsMuQdhMq5N9+EFLtVmT23nYOK+QBWw= X-Received: by 2002:aca:de85:: with SMTP id v127-v6mr20033745oig.259.1543367529862; Tue, 27 Nov 2018 17:12:09 -0800 (PST) MIME-Version: 1.0 References: <20181120132705.6917-1-stefan@agner.ch> <20181120132705.6917-3-stefan@agner.ch> In-Reply-To: From: Fabio Estevam Date: Tue, 27 Nov 2018 23:12:03 -0200 Message-ID: Subject: Re: [PATCH v2 3/3] PCI: imx6: limit DBI register length To: Andrey Smirnov Cc: Stefan Agner , Jingoo Han , Gustavo Pimentel , Lucas Stach , Trent Piepho , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel , Leonard Crestez Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrey, On Tue, Nov 27, 2018 at 10:57 PM Andrey Smirnov wrote: > Could this be a regression? Prior to 415b6185c541 ("PCI: imx6: Fix > config read timeout handling") all of the imprecise aborts were caught > and handled via no-op handler. I did an experiment on i.MX6Q board > that I have (ZII RDU2) and adding a simple no-op for imprecise aborts > via > > hook_fault_code(16 + 6, imx6q_pcie_no_op_handler, SIGBUS, 0, > "imprecise external abort"); > > seems to "resolve" this problem: Please check https://patchwork.kernel.org/patch/9720313/ This commit fixed a kernel crash on mx6q boards with a PCI switch. So we can't go back to the simple no-op.