bus: brcmstb_gisb: correct support for 64-bit address output
authorDoug Berger <opendmb@gmail.com>
Thu, 30 Mar 2017 00:29:10 +0000 (17:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2018 17:47:56 +0000 (19:47 +0200)
commit69df2501c0902550d45f0b762788df7b9ab89bf6
treec2d7ca744f6fe6123ccebd441fa611d0ea6baa24
parent95fbdbb60501bbc2bf5ae8d0736199714925ccd1
bus: brcmstb_gisb: correct support for 64-bit address output

[ Upstream commit 0c2aa0e4b308815e877601845c1a89913f9bd2b9 ]

The GISB bus can support addresses beyond 32-bits.  So this commit
corrects support for reading a captured 64-bit address into a 64-bit
variable by obtaining the high bits from the ARB_ERR_CAP_HI_ADDR
register (when present) and then outputting the full 64-bit value.

It also removes unused definitions.

Fixes: 44127b771d9c ("bus: add Broadcom GISB bus arbiter timeout/error handler")
Signed-off-by: Doug Berger <opendmb@gmail.com>
Acked-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/brcmstb_gisb.c