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:50:05 +0000 (19:50 +0200)
commit0abaff3c28055046afffd0c2a3fd3ad702481991
tree774d94c8b2154897bfadb6323d08f4b52e77ce18
parent48564f69835690e62405ec64845522b63d75b20e
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