RE: [PATCH] Fix MPC8548CDS rebooting procedure
From: Haruki Dai-r35557 <hidden>
Date: 2006-03-09 04:17:13
-----Original Message----- From: Kumar Gala [mailto:galak@kernel.crashing.org]=20 Sent: Wednesday, March 08, 2006 9:14 PM To: Haruki Dai-r35557 Cc: linuxppc-dev@ozlabs.org Subject: Re: [PATCH] Fix MPC8548CDS rebooting procedure =20 =20 On Mar 8, 2006, at 1:24 PM, Haruki Dai-r35557 wrote: =20quoted
quoted
-----Original Message----- From: Kumar Gala [mailto:galak@kernel.crashing.org] Sent: Wednesday, March 08, 2006 12:33 PM To: Haruki Dai-r35557 Cc: linuxppc-dev@ozlabs.org Subject: Re: [PATCH] Fix MPC8548CDS rebooting procedure On Mar 8, 2006, at 11:22 AM, Haruki Dai-r35557 wrote:quoted
This patch fixes the MPC8548 CDS rebooting procedure. Without this patche, issuing reboot from shell doesn't reboot the=20 machine. Signed-off-by: Dai Haruki <redacted>Dai, I'm avoid taking patches for 85xx that effect new=20functionality. =20quoted
quoted
If you want change this to work with arch/powerpc and make=20it a run=20quoted
quoted
time check for 8548.Hi Kumar, what kind of new feature is affected by this bug=20fix? 8548=20quoted
requires reboot to set the hardware reset bits. The mpc85xx_restart () is not ported to arch/powerpc yet. Which portion of the=20arch/powerpc code=20quoted
should be modified in order to restart the machine correctly? And how do you want me to do run time check? Check SVR?=20 Restart has never worked properly on the 85xx boards from=20 freescale since they never provided a reasonable way to reset=20 the systems in software. So I consider this new=20 functionality at this point. =20 The powerpc.git tree has an=20 arch/powerpc/platforms/85xx/misc.c that has a mpc85xx_restart() in it.
Thanks. I didn't work on the powerpc.git tree. I will submit the patch based on the powerpc.git tree.
=20 As for run time checking, yes use something like SVR or PVR=20 to determine the feature. In this case its probably best to=20 using something like PVR and check for E500r1. I imagine=20 8540, 8541, 8555, 8560 don't support this feature (all=20 e500r1), but all future 8548 and newer parts will (e500r2, etc.)
OK. I will modify it as you suggest.=20 regards, Dai.
=20 - kumar =20