diff options
author | Jamie Iles <[email protected]> | 2021-09-03 12:21:01 +0100 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2021-10-26 20:22:50 +0200 |
commit | f31afb502c3151855df3ed40f5974c7884c10d14 (patch) | |
tree | 572ff53e2446f7478f133b3298d11444f6500ec8 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 6e7733ef0bb9372d5491168635f6ecba8ac3cb8a (diff) |
watchdog: sbsa: only use 32-bit accessors
SBSA says of the generic watchdog:
All registers are 32 bits in size and should be accessed using 32-bit
reads and writes. If an access size other than 32 bits is used then
the results are IMPLEMENTATION DEFINED.
and for qemu, the implementation will only allow 32-bit accesses
resulting in a synchronous external abort when configuring the watchdog.
Use lo_hi_* accessors rather than a readq/writeq.
Fixes: abd3ac7902fb ("watchdog: sbsa: Support architecture version 1")
Signed-off-by: Jamie Iles <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Reviewed-by: Shaokun Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions