On 2026-05-05T07:49:33, Daniel Palmer <[email protected]> wrote:
> timer: goldfish: Use __raw_readl()
>
> The Goldfish timer registers are native endian, so they act as
> big-endian on the m68k virt machine. Currently, this driver uses
> readl(), which works by luck because it's currently broken on m68k.
>
> Use __raw_readl() instead to avoid breaking this driver when the
> endianness of readl() is fixed.
>
> Signed-off-by: Kuan-Wei Chiu <[email protected]>
> Tested-by: Daniel Palmer <[email protected]>
> Signed-off-by: Daniel Palmer <[email protected]>
>
> drivers/timer/goldfish_timer.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to