summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/sun3_pgalloc.h
diff options
context:
space:
mode:
authorDirk van der Merwe <dirk.vandermerwe@netronome.com>2018-04-04 03:24:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-12 13:30:01 +0300
commit87d1acd833dfee77dbe927bdb2099628129308ba (patch)
tree0b97233769502b8192958accafc2b0155b4751da /arch/m68k/include/asm/sun3_pgalloc.h
parentd0fd3e03df3f139b2eb46368ba6064d8d0c460a8 (diff)
downloadlinux-87d1acd833dfee77dbe927bdb2099628129308ba.tar.xz
nfp: use full 40 bits of the NSP buffer address
[ Upstream commit 1489bbd10e16079ce30a53d3c22a431fd47af791 ] The NSP default buffer is a piece of NFP memory where additional command data can be placed. Its format has been copied from host buffer, but the PCIe selection bits do not make sense in this case. If those get masked out from a NFP address - writes to random place in the chip memory may be issued and crash the device. Even in the general NSP buffer case, it doesn't make sense to have the PCIe selection bits there anymore. These are unused at the moment, and when it becomes necessary, the PCIe selection bits should rather be moved to another register to utilise more bits for the buffer address. This has never been an issue because the buffer used to be allocated in memory with less-than-38-bit-long address but that is about to change. Fixes: 1a64821c6af7 ("nfp: add support for service processor access") Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/m68k/include/asm/sun3_pgalloc.h')
0 files changed, 0 insertions, 0 deletions