ata: ahci: Don't forget to clear upper address regs.
authorOleksandr Rybalko <ray@ddteam.net>
Thu, 22 Aug 2019 10:26:56 +0000 (12:26 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 14:10:19 +0000 (10:10 -0400)
commit5b7a2bf318e1358f978180a51fd5a305723d165b
treec3261b7a9f2874bd82aa3cbeebbcbca07b7c388c
parent25643a5c3e5cecac1e73bfff04c414d12c302edc
ata: ahci: Don't forget to clear upper address regs.

In 32bits mode upper bits need to be set to 0, otherwise controller will
try to DMA into not existing memory and stops with error.

Tested-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Oleksandr Rybalko <ray@ddteam.net>
drivers/ata/ahci.c