diff options
author | Geetha sowjanya <gakula@marvell.com> | 2023-09-05 12:18:16 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-05 17:50:33 +0100 |
commit | 29fe7a1b62717d58f033009874554d99d71f7d37 (patch) | |
tree | 3e9d57cfddbacfe34db511846983f55ce968613f /kernel/kexec_elf.c | |
parent | c3b704d4a4a265660e665df51b129e8425216ed1 (diff) |
octeontx2-af: Fix truncation of smq in CN10K NIX AQ enqueue mbox handler
The smq value used in the CN10K NIX AQ instruction enqueue mailbox
handler was truncated to 9-bit value from 10-bit value because of
typecasting the CN10K mbox request structure to the CN9K structure.
Though this hasn't caused any problems when programming the NIX SQ
context to the HW because the context structure is the same size.
However, this causes a problem when accessing the structure parameters.
This patch reads the right smq value for each platform.
Fixes: 30077d210c83 ("octeontx2-af: cn10k: Update NIX/NPA context structure")
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 'kernel/kexec_elf.c')
0 files changed, 0 insertions, 0 deletions