diff options
author | Ram Amrani <Ram.Amrani@cavium.com> | 2017-05-09 15:07:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-13 19:47:53 +0200 |
commit | 408719afbc61e388b1dc311d96a85e5d5e6e8f39 (patch) | |
tree | eb26310c2c68803e0de484db3c8aedb904c077ce /fs | |
parent | ae1b31453e6e59bc68f11ba6efb2effc3d3b6b1a (diff) |
qed: Correct doorbell configuration for !4Kb pages
[ Upstream commit a82dadbce47395747824971db08a128130786fdc ]
When configuring the doorbell DPI address, driver aligns the start
address to 4KB [HW-pages] instead of host PAGE_SIZE.
As a result, RoCE applications might receive addresses which are
unaligned to pages [when PAGE_SIZE > 4KB], which is a security risk.
Fixes: 51ff17251c9c ("qed: Add support for RoCE hw init")
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions