Skip to content
Commit a2585cdc authored by Paul Selles's avatar Paul Selles Committed by Jon Mason
Browse files

ntb_hw_switchtec: Added support of >=4G memory windows



Current Switchtec's BAR setup registers are limited to 32bits,
corresponding to the maximum MW (memory window) size is <4G.

Increase the MW sizes with the addition of the BAR Setup Extension
Register for the upper 32bits of a 64bits MW size. This increases the MW
range to between 4K and 2^63.

Reported-by: default avatarBoris Glimcher <boris.glimcher@emc.com>
Signed-off-by: default avatarPaul Selles <paul.selles@microchip.com>
Signed-off-by: default avatarWesley Sheng <wesley.sheng@microchip.com>
Reviewed-by: default avatarLogan Gunthorpe <logang@deltatee.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent d123fab7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment