<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/platforms/pseries/hotplug-cpu.c, branch linux-2.6.25.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-02-07T00:40:19Z</updated>
<entry>
<title>[POWERPC] Split xics_teardown_cpu()</title>
<updated>2008-02-07T00:40:19Z</updated>
<author>
<name>Nathan Fontenot</name>
</author>
<published>2008-02-06T20:37:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3e8506c54f7263e71289e9e66533236d09f2fb7'/>
<id>urn:sha1:c3e8506c54f7263e71289e9e66533236d09f2fb7</id>
<content type='text'>
This splits off the kexec path bits of the xics_teardown_cpu() routine
into its own xics_kexec_teardown_cpu() routine.  With the previous
combined routine the CPPR for a cpu that is being removed may have its
CPPR reset in the plpar_eoi() call (which explicitly sets the CPPR to
a non-zero value).  Splitting of the kexec bits of the code prevents
this from happening in the cpu remove path.

Once again, this does not cause the cpu remove from the kernel to
fail, but it does cause cpu dlpar operations to not be able to return
the cpu to the hypervisor.

Signed-off-by: Nathan Fontenot &lt;nfont@austin.ibm.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>cpu-hotplug: replace lock_cpu_hotplug() with get_online_cpus()</title>
<updated>2008-01-25T20:08:02Z</updated>
<author>
<name>Gautham R Shenoy</name>
</author>
<published>2008-01-25T20:08:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=86ef5c9a8edd78e6bf92879f32329d89b2d55b5a'/>
<id>urn:sha1:86ef5c9a8edd78e6bf92879f32329d89b2d55b5a</id>
<content type='text'>
Replace all lock_cpu_hotplug/unlock_cpu_hotplug from the kernel and use
get_online_cpus and put_online_cpus instead as it highlights the
refcount semantics in these operations.

The new API guarantees protection against the cpu-hotplug operation, but
it doesn't guarantee serialized access to any of the local data
structures. Hence the changes needs to be reviewed.

In case of pseries_add_processor/pseries_remove_processor, use
cpu_maps_update_begin()/cpu_maps_update_done() as we're modifying the
cpu_present_map there.

Signed-off-by: Gautham R Shenoy &lt;ego@in.ibm.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Fix CPU hotplug when using the SLB shadow buffer</title>
<updated>2008-01-11T05:33:55Z</updated>
<author>
<name>Michael Neuling</name>
</author>
<published>2008-01-11T03:02:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=473980a99316c0e788bca50996375a2815124ce1'/>
<id>urn:sha1:473980a99316c0e788bca50996375a2815124ce1</id>
<content type='text'>
Before we register the SLB shadow buffer, we need to invalidate the
entries in the buffer, otherwise we can end up stale entries from when
we previously offlined the CPU.

This does this invalidate as well as unregistering the buffer with
PHYP before we offline the cpu.  Tested and fixes crashes seen on
970MP (thanks to tonyb) and POWER5.

Signed-off-by: Michael Neuling &lt;mikey@neuling.org&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Don't enable cpu hotplug on pSeries machines with MPIC</title>
<updated>2007-10-11T11:06:06Z</updated>
<author>
<name>Olof Johansson</name>
</author>
<published>2007-10-10T00:38:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64f2758514e3bad19cab03d22851ab37654399a4'/>
<id>urn:sha1:64f2758514e3bad19cab03d22851ab37654399a4</id>
<content type='text'>
Don't allow cpu hotplug on systems lacking XICS interrupt controller
(i.e. with an MPIC interrupt controller), since the current pSeries
platform code is hardcoded for XICS.

This works around the bug reported by Paul Mackerras where the
disable_nonboot_cpus() call recently added to the shutdown path will
cause an oops on older pSeries machines.

Signed-off-by: Olof Johansson &lt;olof@lixom.net&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Rename get_property to of_get_property: arch/powerpc</title>
<updated>2007-04-12T17:55:19Z</updated>
<author>
<name>Stephen Rothwell</name>
</author>
<published>2007-04-03T12:26:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2eb63927bfcb54232163bfec32440246fd44457'/>
<id>urn:sha1:e2eb63927bfcb54232163bfec32440246fd44457</id>
<content type='text'>
Signed-off-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Acked-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Cleanup pass over platforms/pseries/hotplug-cpu.c</title>
<updated>2006-12-08T04:55:55Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2006-12-05T06:52:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06ba30b6bfb30c84b70fed681b8c920dbff5d5a4'/>
<id>urn:sha1:06ba30b6bfb30c84b70fed681b8c920dbff5d5a4</id>
<content type='text'>
Purely cosmetic.  Change pSeries to pseries inline with other parts of the
kernel, and fix an overly long line.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Only enable cpu hotplug via RTAS if the required firmware support is found</title>
<updated>2006-12-08T04:55:55Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2006-12-05T06:52:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=674fa677c01ad0b90237f5cddc8d68502fea5156'/>
<id>urn:sha1:674fa677c01ad0b90237f5cddc8d68502fea5156</id>
<content type='text'>
To support cpu hotplug on pseries we require two RTAS tokens.  The cpu
hotplug machinery should only be wired up if these tokens are found in
the device tree.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Move the rest of the hotplug cpu code into platforms/pseries/hotplug-cpu.c</title>
<updated>2006-12-08T04:55:55Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2006-12-05T06:52:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=413f7c405a342b0b9370ea7a652b9f0270183bf3'/>
<id>urn:sha1:413f7c405a342b0b9370ea7a652b9f0270183bf3</id>
<content type='text'>
Move the rest of the hotplug cpu code from platforms/pseries/smp.c into
platforms/pseries/hotplug-cpu.c.

Wire up the smp_ops callbacks and the notifier in the hotplug cpu initcall,
rather than in smp_init_pseries().  No change in behaviour.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Move pSeries_mach_cpu_die() into platforms/pseries/hotplug-cpu.c</title>
<updated>2006-12-08T04:55:55Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2006-12-05T06:52:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04da6af960194ecdee4c29cd3f86e766903418ca'/>
<id>urn:sha1:04da6af960194ecdee4c29cd3f86e766903418ca</id>
<content type='text'>
Move pSeries_mach_cpu_die() into platforms/pseries/hotplug-cpu.c,
this allows rtas_stop_self() to be static so remove the prototype.

Wire up pSeries_mach_cpu_die() in the initcall, rather than statically
in setup.c, the initcall will still run prior to the cpu hotplug code
being callable, so there should be no change in behaviour.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Move rtas_stop_self() into platforms/pseries/hotplug-cpu.c</title>
<updated>2006-12-08T04:55:54Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2006-12-05T06:52:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0332c2d447a7a20a4d744ba3814a349d0c1c6405'/>
<id>urn:sha1:0332c2d447a7a20a4d744ba3814a349d0c1c6405</id>
<content type='text'>
As the first step in consolidating the pseries hotplug cpu code,
create platforms/pseries/hotplug-cpu.c and move rtas_stop_self()
into it.  Do the rtas token initialisation in a new initcall, rather
than rtas_initialize().

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Acked-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
</feed>
