UPSTREAM: coresight: etm4x: Fix save/restore during cpu idle
The ETM state save/restore incorrectly reads/writes some of the 64bit
registers (e.g, address comparators, vmid/cid comparators etc.) using
32bit accesses. Ensure we use the appropriate width accessors for
the registers.
Fixes: f188b5e76aae ("coresight: etm4x: Save/restore state across CPU low power states")
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Signed-off-by:
Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by:
Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200716175746.3338735-18-mathieu.poirier@linaro.org
Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 342c8a1d1d9e418d32fa02d635cf96989f9a986e)
Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I5b7931ebe277472ff30c18f03968b92e7decbf89
Loading
Please register or sign in to comment