All of lore.kernel.org
 help / color / mirror / Atom feed
* Commit 'MIPS: Malta: Use syscon-reboot driver to reboot' in -next and changed reset behavior
@ 2016-10-14  7:09 Guenter Roeck
  2016-10-14  9:17   ` Paul Burton
  0 siblings, 1 reply; 15+ messages in thread
From: Guenter Roeck @ 2016-10-14  7:09 UTC (permalink / raw)
  To: Paul Burton
  Cc: Linux MIPS Mailing List, linux-kernel@vger.kernel.org,
	Ralf Baechle

Hi Paul,

with commit 'MIPS: Malta: Use syscon-reboot driver to reboot' in -next, the value written
into the reset register is changed from 0x42 to 0x4d. Is this change on purpose,
or a copy-and-paste error from the SEAD3 changes ?

Reason for asking is that qemu only accepts a value of 0x42, which causes the reset
in qemu to fail. Question is if qemu or the new reset value is wrong.

What values are valid ? Can you shed a light ?

Second question is endianness. Even when changing the value to 0x42, the system still
did not reboot for me. After a while I found out that I needed to add "big-endian;"
to the syscon node when running a big endian image. However, when running a
little endian image, "big-endian" did not work. In that case, I had to use the default,
which is little endian.

Which makes me really wonder how this is expected to work. Does the real hardware accept
any value written into the reset register ?

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-11-07  9:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-14  7:09 Commit 'MIPS: Malta: Use syscon-reboot driver to reboot' in -next and changed reset behavior Guenter Roeck
2016-10-14  9:17 ` [PATCH 1/2] mfd: syscon: Support native-endian regmaps Paul Burton
2016-10-14  9:17   ` Paul Burton
2016-10-14  9:17   ` [PATCH 2/2] MIPS: malta: Fixup reboot Paul Burton
2016-10-14  9:17     ` Paul Burton
2016-10-14 17:39     ` [2/2] " Guenter Roeck
2016-10-25 10:48     ` [PATCH 2/2] " Maciej W. Rozycki
2016-10-25 10:48       ` Maciej W. Rozycki
2016-10-14 17:43   ` [1/2] mfd: syscon: Support native-endian regmaps Guenter Roeck
2016-10-25 10:47   ` [PATCH 1/2] " Maciej W. Rozycki
2016-10-25 10:47     ` Maciej W. Rozycki
2016-10-26 13:58   ` Lee Jones
2016-11-06  5:09   ` Guenter Roeck
2016-11-06  5:12   ` Guenter Roeck
2016-11-07  9:41     ` Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.