Re: [U-Boot] [PATCH v2 1/4] x86: Implement reset_cpu() correctly for modern CPUs

2015-04-29 Thread Simon Glass
On 28 April 2015 at 21:55, Bin Meng wrote: > On Wed, Apr 29, 2015 at 10:11 AM, Simon Glass wrote: >> The existing code is pretty ancient and is unreliable on modern hardware. >> Generally it will hang. >> >> We can use port 0xcf9 to initiate reset on more modern hardware (say in the >> last 10 ye

Re: [U-Boot] [PATCH v2 1/4] x86: Implement reset_cpu() correctly for modern CPUs

2015-04-28 Thread Bin Meng
On Wed, Apr 29, 2015 at 10:11 AM, Simon Glass wrote: > The existing code is pretty ancient and is unreliable on modern hardware. > Generally it will hang. > > We can use port 0xcf9 to initiate reset on more modern hardware (say in the > last 10 years). Update the reset_cpu() function to do this, a

[U-Boot] [PATCH v2 1/4] x86: Implement reset_cpu() correctly for modern CPUs

2015-04-28 Thread Simon Glass
The existing code is pretty ancient and is unreliable on modern hardware. Generally it will hang. We can use port 0xcf9 to initiate reset on more modern hardware (say in the last 10 years). Update the reset_cpu() function to do this, and add a new 'full reset' function to perform a full power cycl