From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Wed, 19 Oct 2011 21:31:32 -0400 Subject: [U-Boot] [PATCH 2/3] mpc85xx: Add a board-specific restart hook In-Reply-To: <510974E8-A0C8-4E81-A034-B52F2AED12D0@boeing.com> References: <1318981284-4357-1-git-send-email-Kyle.D.Moffett@boeing.com> <201110192015.59233.vapier@gentoo.org> <510974E8-A0C8-4E81-A034-B52F2AED12D0@boeing.com> Message-ID: <201110192131.33536.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 19 October 2011 20:23:15 Moffett, Kyle D wrote: > On Oct 19, 2011, at 20:15, Mike Frysinger wrote: > > On Wednesday 19 October 2011 18:52:10 Moffett, Kyle D wrote: > >> So U-Boot MUST NOT reset without negotiating, even if the current CPU > >> has crashed, as that will cause the other (possibly perfectly > >> operational) CPU to also crash. > > > > so why can't you have your do_reset() board hook negotiate with the other > > CPU to reset the system ? > > That's what I originally implemented. The problem is the negotiation can > take an unbounded amount of time to execute, so if it's run from the > command line then it needs to be interruptible (EG: with Ctrl-C), which > means it needs to be able to return an error. what's wrong with an unbounded amount of time ? if the user wants it to reset, then it should do so regardless of how long. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111019/3fa96c65/attachment.pgp