Re: [PATCH v2 3/3] PCI: imx6: limit DBI register length

From: Fabio Estevam
Date: Tue Nov 27 2018 - 20:12:13 EST

Hi Andrey,

On Tue, Nov 27, 2018 at 10:57 PM Andrey Smirnov
<andrew.smirnov@xxxxxxxxx> 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

This commit fixed a kernel crash on mx6q boards with a PCI switch.

So we can't go back to the simple no-op.