numam-dpdk/drivers/common
Vamsi Attunuru 195981133a common/octeontx2: fix mbox memory access
Octeontx2 PMD's mailbox client uses device memory to send messages
to mailbox server in the admin function Linux kernel driver.
The device memory used for the mailbox communication needs to
be qualified as volatile memory type to avoid unaligned device
memory accesses because of compiler's memory access coalescing.

This patch modifies the mailbox request and responses as volatile
type which were non-volatile earlier and accessed from unaligned
memory addresses which resulted in bus errors on Fedora 30 with
gcc 9.1.1.

Fixes: 2b71657c86 ("common/octeontx2: add mbox request and response definition")

Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
2019-08-05 23:18:27 +02:00
..
cpt cryptodev: make xform key pointer constant 2019-07-19 14:15:21 +02:00
dpaax drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
mvep drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
octeontx remove useless constructor headers 2018-07-12 00:00:35 +02:00
octeontx2 common/octeontx2: fix mbox memory access 2019-08-05 23:18:27 +02:00
qat compress/qat: fix overflow status return 2019-07-19 14:15:21 +02:00
Makefile mempool/octeontx2: add build infra and device probe 2019-06-25 23:35:57 +02:00
meson.build common/octeontx2: add build infrastructure and HW definition 2019-06-25 23:35:57 +02:00