diff options
author | Geetha sowjanya <gakula@marvell.com> | 2021-06-29 20:00:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-01 21:27:57 +0300 |
commit | 5c0512072f6517326d9fba083c4467f173ddd984 (patch) | |
tree | 31d807e8b73c6c2833ab408cc3fac6152377a57c /mm | |
parent | 893ae97214c385be02f8ec097298cc48c7f0d905 (diff) | |
download | linux-5c0512072f6517326d9fba083c4467f173ddd984.tar.xz |
octeontx2-pf: cn10k: Use runtime allocated LMTLINE region
The current driver uses static LMTST region allocated by firmware.
This memory gets populated as PF/VF BAR2. RVU PF/VF driver ioremap
the memory as device memory for NIX/NPA operation. Since the memory
is mapped as device memory we see performance degration. To address
this issue this patch implements runtime memory allocation.
RVU PF/VF allocates memory during device probe and share the base
address with RVU AF. RVU AF then configure the LMT MAP table
accordingly.
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions