mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC 4/6]Add kconfig for S3 SMP
@ 2005-04-04  2:06 Li Shaohua
  2005-04-04  8:59 ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: Li Shaohua @ 2005-04-04  2:06 UTC (permalink / raw)
  To: lkml, ACPI-DEV; +Cc: Zwane Mwaikambo, Len Brown, Pavel Machek

Add kconfig for IA32 S3 SMP.

Thanks,
Shaohua

---

 linux-2.6.11-root/kernel/power/Kconfig |    7 +++++++
 1 files changed, 7 insertions(+)

diff -puN kernel/power/Kconfig~smp_s3_kconfig kernel/power/Kconfig
--- linux-2.6.11/kernel/power/Kconfig~smp_s3_kconfig	2005-03-31 10:49:57.156487160 +0800
+++ linux-2.6.11-root/kernel/power/Kconfig	2005-03-31 10:49:57.158486856 +0800
@@ -72,3 +72,10 @@ config PM_STD_PARTITION
 	  suspended image to. It will simply pick the first available swap 
 	  device.
 
+config STR_SMP
+	bool "Suspend to RAM SMP support (EXPERIMENTAL)"
+	depends on EXPERIMENTAL && ACPI_SLEEP && !X86_64
+	depends on HOTPLUG_CPU
+	default y
+	---help---
+	 enable Suspend to RAM SMP support. Some HT systems require this.
_



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

* Re: [RFC 4/6]Add kconfig for S3 SMP
  2005-04-04  2:06 [RFC 4/6]Add kconfig for S3 SMP Li Shaohua
@ 2005-04-04  8:59 ` Pavel Machek
  2005-04-04  9:14   ` Li Shaohua
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2005-04-04  8:59 UTC (permalink / raw)
  To: Li Shaohua; +Cc: lkml, ACPI-DEV, Zwane Mwaikambo, Len Brown

Hi!

> Add kconfig for IA32 S3 SMP.
> 
> Thanks,
> Shaohua
> 
> ---
> 
>  linux-2.6.11-root/kernel/power/Kconfig |    7 +++++++
>  1 files changed, 7 insertions(+)
> 
> diff -puN kernel/power/Kconfig~smp_s3_kconfig kernel/power/Kconfig
> --- linux-2.6.11/kernel/power/Kconfig~smp_s3_kconfig	2005-03-31 10:49:57.156487160 +0800
> +++ linux-2.6.11-root/kernel/power/Kconfig	2005-03-31 10:49:57.158486856 +0800
> @@ -72,3 +72,10 @@ config PM_STD_PARTITION
>  	  suspended image to. It will simply pick the first available swap 
>  	  device.
>  
> +config STR_SMP
> +	bool "Suspend to RAM SMP support (EXPERIMENTAL)"
> +	depends on EXPERIMENTAL && ACPI_SLEEP && !X86_64
> +	depends on HOTPLUG_CPU
> +	default y
> +	---help---
> +	 enable Suspend to RAM SMP support. Some HT systems require this.

Should this be config option? If we have ACPI_SLEEP and SMP set, we
should probably require this one (so that user does not have to
care).... Also name is "interesting", perhaps CONFIG_SMP_SLEEP or
something?

							Pavel
-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!

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

* Re: [RFC 4/6]Add kconfig for S3 SMP
  2005-04-04  8:59 ` Pavel Machek
@ 2005-04-04  9:14   ` Li Shaohua
  0 siblings, 0 replies; 3+ messages in thread
From: Li Shaohua @ 2005-04-04  9:14 UTC (permalink / raw)
  To: Pavel Machek; +Cc: lkml, ACPI-DEV, Zwane Mwaikambo, Len Brown

On Mon, 2005-04-04 at 16:59, Pavel Machek wrote:
> Hi!
> 
> > Add kconfig for IA32 S3 SMP.
> > 
> > Thanks,
> > Shaohua
> > 
> > ---
> > 
> >  linux-2.6.11-root/kernel/power/Kconfig |    7 +++++++
> >  1 files changed, 7 insertions(+)
> > 
> > diff -puN kernel/power/Kconfig~smp_s3_kconfig kernel/power/Kconfig
> > --- linux-2.6.11/kernel/power/Kconfig~smp_s3_kconfig	2005-03-31 10:49:57.156487160 +0800
> > +++ linux-2.6.11-root/kernel/power/Kconfig	2005-03-31 10:49:57.158486856 +0800
> > @@ -72,3 +72,10 @@ config PM_STD_PARTITION
> >  	  suspended image to. It will simply pick the first available swap 
> >  	  device.
> >  
> > +config STR_SMP
> > +	bool "Suspend to RAM SMP support (EXPERIMENTAL)"
> > +	depends on EXPERIMENTAL && ACPI_SLEEP && !X86_64
> > +	depends on HOTPLUG_CPU
> > +	default y
> > +	---help---
> > +	 enable Suspend to RAM SMP support. Some HT systems require this.
> 
> Should this be config option? If we have ACPI_SLEEP and SMP set, we
> should probably require this one (so that user does not have to
> care)....
Sure, quite reasonable!

>  Also name is "interesting", perhaps CONFIG_SMP_SLEEP or
> something?
Just because my patches break S4 currently. After we figure out how  to
make both S3 and S4 work, I'll change it like you said.

Thanks,
Shaohua


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

end of thread, other threads:[~2005-04-04  9:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-04  2:06 [RFC 4/6]Add kconfig for S3 SMP Li Shaohua
2005-04-04  8:59 ` Pavel Machek
2005-04-04  9:14   ` Li Shaohua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®