mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 02:55:11 +07:00
6f8e45f7eb
The AFU Information DVSEC capability is a means to extract common,
general information about all of the AFUs associated with a Function
independent of the specific functionality that each AFU provides.
Write in the AFU Index field allows to access to the descriptor data
for each AFU.
With the current code, we are not able to access to these specific data
when the index >= 1 because we are writing to the wrong location.
All requests to the data of each AFU are pointing to those of the AFU 0,
which could have impacts when using a card with more than one AFU per
function.
This patch fixes the access to the AFU Descriptor Data indexed by the
AFU Info Index field.
Fixes:
|
||
---|---|---|
.. | ||
afu_irq.c | ||
config.c | ||
context.c | ||
file.c | ||
Kconfig | ||
link.c | ||
main.c | ||
Makefile | ||
ocxl_internal.h | ||
pasid.c | ||
pci.c | ||
sysfs.c | ||
trace.c | ||
trace.h |