diff mbox series

fast-reboot: enable by default for POWER9

Message ID 20180228004944.25808-1-stewart@linux.vnet.ibm.com
State Accepted
Headers show
Series fast-reboot: enable by default for POWER9 | expand

Commit Message

Stewart Smith Feb. 28, 2018, 12:49 a.m. UTC
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
---
 core/fast-reboot.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Michael Neuling Feb. 28, 2018, 6:28 a.m. UTC | #1
On Wed, 2018-02-28 at 11:49 +1100, Stewart Smith wrote:
> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>

Wheeee!

Acked-By: Michael Neuling <mikey@neuling.org>

>  core/fast-reboot.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/core/fast-reboot.c b/core/fast-reboot.c
> index 382e781aea86..0fe16cc13048 100644
> --- a/core/fast-reboot.c
> +++ b/core/fast-reboot.c
> @@ -75,11 +75,6 @@ void fast_reboot(void)
>  	struct cpu_thread *cpu;
>  	static int fast_reboot_count = 0;
>  
> -	if (proc_gen == proc_gen_p9) {
> -		if (!nvram_query_eq("experimental-fast-reset","feeling-lucky"))
> -			return;
> -	}
> -
>  	if (!chip_quirk(QUIRK_MAMBO_CALLOUTS) &&
>  			(proc_gen != proc_gen_p8 && proc_gen != proc_gen_p9)) {
>  		prlog(PR_DEBUG,
Stewart Smith March 6, 2018, 3:19 a.m. UTC | #2
Stewart Smith <stewart@linux.vnet.ibm.com> writes:
> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
> ---
>  core/fast-reboot.c | 5 -----
>  1 file changed, 5 deletions(-)

Let's see how much I regret this...

merged to master as of 785b35d18808fa2f6768bfa970033dafe389510a
Oliver O'Halloran March 6, 2018, 4:08 a.m. UTC | #3
On Tue, Mar 6, 2018 at 2:19 PM, Stewart Smith
<stewart@linux.vnet.ibm.com> wrote:
> Stewart Smith <stewart@linux.vnet.ibm.com> writes:
>> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
>> ---
>>  core/fast-reboot.c | 5 -----
>>  1 file changed, 5 deletions(-)
>
> Let's see how much I regret this...
>
> merged to master as of 785b35d18808fa2f6768bfa970033dafe389510a

Why are you drunk on a Tuesday afternoon?

>
> --
> Stewart Smith
> OPAL Architect, IBM.
>
> _______________________________________________
> Skiboot mailing list
> Skiboot@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot
Stewart Smith March 6, 2018, 4:09 a.m. UTC | #4
Oliver <oohall@gmail.com> writes:
> On Tue, Mar 6, 2018 at 2:19 PM, Stewart Smith
> <stewart@linux.vnet.ibm.com> wrote:
>> Stewart Smith <stewart@linux.vnet.ibm.com> writes:
>>> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
>>> ---
>>>  core/fast-reboot.c | 5 -----
>>>  1 file changed, 5 deletions(-)
>>
>> Let's see how much I regret this...
>>
>> merged to master as of 785b35d18808fa2f6768bfa970033dafe389510a
>
> Why are you drunk on a Tuesday afternoon?

Why aren't you? :)
Oliver O'Halloran March 6, 2018, 4:11 a.m. UTC | #5
On Tue, Mar 6, 2018 at 3:09 PM, Stewart Smith
<stewart@linux.vnet.ibm.com> wrote:
> Oliver <oohall@gmail.com> writes:
>> On Tue, Mar 6, 2018 at 2:19 PM, Stewart Smith
>> <stewart@linux.vnet.ibm.com> wrote:
>>> Stewart Smith <stewart@linux.vnet.ibm.com> writes:
>>>> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
>>>> ---
>>>>  core/fast-reboot.c | 5 -----
>>>>  1 file changed, 5 deletions(-)
>>>
>>> Let's see how much I regret this...
>>>
>>> merged to master as of 785b35d18808fa2f6768bfa970033dafe389510a
>>
>> Why are you drunk on a Tuesday afternoon?
>
> Why aren't you? :)

Who says I'm not?

>
> --
> Stewart Smith
> OPAL Architect, IBM.
>
diff mbox series

Patch

diff --git a/core/fast-reboot.c b/core/fast-reboot.c
index 382e781aea86..0fe16cc13048 100644
--- a/core/fast-reboot.c
+++ b/core/fast-reboot.c
@@ -75,11 +75,6 @@  void fast_reboot(void)
 	struct cpu_thread *cpu;
 	static int fast_reboot_count = 0;
 
-	if (proc_gen == proc_gen_p9) {
-		if (!nvram_query_eq("experimental-fast-reset","feeling-lucky"))
-			return;
-	}
-
 	if (!chip_quirk(QUIRK_MAMBO_CALLOUTS) &&
 			(proc_gen != proc_gen_p8 && proc_gen != proc_gen_p9)) {
 		prlog(PR_DEBUG,