aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorNadav Haklai <[email protected]>2015-05-26 18:47:23 +0200
committerTejun Heo <[email protected]>2015-05-26 14:46:15 -0400
commite96998fc200867f005dd14c7d1dd35e1107d4914 (patch)
tree5785262bde741764edfea785df605e1657b02a0f /net/switchdev/switchdev.c
parentdbfe8ef5599a5370abc441fcdbb382b656563eb4 (diff)
ata: ahci_mvebu: Fix wrongly set base address for the MBus window setting
According to the Armada 38x datasheet, the window base address registers value is set in bits [31:4] of the register and corresponds to the transaction address bits [47:20]. Therefore, the 32bit base address value should be shifted right by 20bits and left by 4bits, resulting in 16 bit shift right. The bug as not been noticed yet because if the memory available on the platform is less than 2GB, then the base address is zero. [[email protected]: add extra-explanation] Fixes: a3464ed2f14 (ata: ahci_mvebu: new driver for Marvell Armada 380 AHCI interfaces) Signed-off-by: Nadav Haklai <[email protected]> Reviewed-by: Omri Itach <[email protected]> Signed-off-by: Gregory CLEMENT <[email protected]> Cc: <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions