diff options
author | Jose Maria Casanova Crespo <jmcasanova@igalia.com> | 2025-04-25 14:25:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-19 15:39:31 +0200 |
commit | 67c6d96d2bb949fc47d2b81efc614aebe84f73d8 (patch) | |
tree | a7ed0b87acc154366295375c7a4d2f07c809a99e /drivers/firmware/psci/psci.c | |
parent | 7e33ba1175603b04802710ce6d9060eaa5039e76 (diff) |
drm/v3d: fix client obtained from axi_ids on V3D 4.1
[ Upstream commit d0e4c6537005dd106b101d4434a0c3dafd936d05 ]
In the case of MMU errors caused by the TFU unit, the
client that causes the MMU error is expected to be reported.
But in the case of MMU TFU errors, a non existing client was
being reported. This happened because the client calculation
was taking into account more than the bits 0-7 from the
axi_id that were representing the client.
[ 27.845132] v3d fec00000.v3d: MMU error from client ? (13) at 0x3bb1000, pte invalid
Masking the bits and using the correct axi_id ranges fixes the
calculation to report the real guilty client on V3D 4.1 and 4.2.
Make the MMU error print axi_id with hexadecimal as used in the
ranges.
Fixes: 38c2c7917adc ("drm/v3d: Fix and extend MMU error handling.")
Signed-off-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Reviewed-by: Maíra Canal <mcanal@igalia.com>
Link: https://lore.kernel.org/r/20250425122522.18425-1-jmcasanova@igalia.com
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions