Re: [PATCH 1/1] fpga: dfl: Avoid reads to AFU CSRs during enumeration
From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-09-17 05:42:48
Also in:
linux-fpga
From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-09-17 05:42:48
Also in:
linux-fpga
On Thu, Sep 16, 2021 at 02:07:33PM -0700, Russ Weight wrote:
CSR address space for Accelerator Functional Units (AFU) is not available
during the early Device Feature List (DFL) enumeration. Early access
to this space results in invalid data and port errors. This change adds
a condition to prevent an early read from the AFU CSR space.
Signed-off-by: Russ Weight <redacted>
Fixes: 23bcda750558 ("fpga: dfl: expose feature revision from struct
dfl_device")Nit, please keep this all on one line or our tools will complain about it when we commit it to our trees :( thanks, greg k-h