Re: [PATCH 1/1] fpga: dfl: Avoid reads to AFU CSRs during enumeration
From: Moritz Fischer <mdf@kernel.org>
Date: 2021-09-16 22:24:36
Also in:
linux-fpga
From: Moritz Fischer <mdf@kernel.org>
Date: 2021-09-16 22:24:36
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")Did you mean:
Fixes: 1604986c3e6b ("fpga: dfl: expose feature revision from struct dfl_device")
And for future please don't line break those, or we'll get yelled at :)
I can locally fix it up, no need to resubmit
- Moritz