<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/platforms/pseries, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-01-18T18:44:05Z</updated>
<entry>
<title>powerpc: Disable Collaborative Memory Manager for kdump</title>
<updated>2009-01-18T18:44:05Z</updated>
<author>
<name>Brian King</name>
</author>
<published>2008-12-18T11:13:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ec7e974f17675e06f4498c08661cdf4d1c4c0146'/>
<id>urn:sha1:ec7e974f17675e06f4498c08661cdf4d1c4c0146</id>
<content type='text'>
commit 2218108e182fd8a6d9106077833ed7ad05fc8e75 upstream.

When running Active Memory Sharing, the Collaborative Memory Manager
(CMM) may mark some pages as "loaned" with the hypervisor.
Periodically, the CMM will query the hypervisor for a loan request,
which is a single signed value.  When kexec'ing into a kdump kernel,
the CMM driver in the kdump kernel is not aware of the pages the
previous kernel had marked as "loaned", so the hypervisor and the CMM
driver are out of sync.  This results in the CMM driver getting a
negative loan request, which can then get treated as a large unsigned
value and can cause kdump to hang due to the CMM driver inflating too
large.  Since there really is no clean way for the CMM driver in the
kdump kernel to clean this up, simply disable CMM in the kdump kernel.
This fixes hangs we were seeing doing kdump with AMS.

Signed-off-by: Brian King &lt;brking@linux.vnet.ibm.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>powerpc: Fix "unused variable" warning in pci_dlpar.c</title>
<updated>2008-11-05T08:59:08Z</updated>
<author>
<name>Stephen Rothwell</name>
</author>
<published>2008-11-02T21:18:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=454666eb78d890f5740ea1901f8b01a43c77c67c'/>
<id>urn:sha1:454666eb78d890f5740ea1901f8b01a43c77c67c</id>
<content type='text'>
This gets rid of this build warning:

arch/powerpc/platforms/pseries/pci_dlpar.c: In function 'init_phb_dynamic':
arch/powerpc/platforms/pseries/pci_dlpar.c:192: warning: unused variable 'b'

This is one of the very few warnings left in a ppc64_defconfig build and
getting rid of it will make it easier to see future introduced ones (in
fact this was introduced very recently).

Signed-off-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>powerpc/pci: Properly allocate bus resources for hotplug PHBs</title>
<updated>2008-10-31T05:12:03Z</updated>
<author>
<name>Nathan Fontenot</name>
</author>
<published>2008-10-27T19:48:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e90a13184600ec756875238ad130e2f205cd9a1b'/>
<id>urn:sha1:e90a13184600ec756875238ad130e2f205cd9a1b</id>
<content type='text'>
Resources for PHB's that are dynamically added to a system are not
properly allocated in the resource tree.

Not having these resources allocated causes an oops when removing
the PHB when we try to release them.

The diff appears a bit messy, this is mainly due to moving everything
one tab to the left in the pcibios_allocate_bus_resources routine.
The functionality change in this routine is only that the
list_for_each_entry() loop is pulled out and moved to the necessary
calling routine.

Signed-off-by: Nathan Fontenot &lt;nfont@austin.ibm.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>powerpc: Use is_kdump_kernel()</title>
<updated>2008-10-31T05:11:47Z</updated>
<author>
<name>Milton Miller</name>
</author>
<published>2008-10-22T20:39:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62a8bd6c9246c0e1f19dfb8fc65ad7c4f7cac8bb'/>
<id>urn:sha1:62a8bd6c9246c0e1f19dfb8fc65ad7c4f7cac8bb</id>
<content type='text'>
linux/crash_dump.h defines is_kdump_kernel() to be used by code that
needs to know if the previous kernel crashed instead of a (clean) boot
or reboot.

This updates the just added powerpc code to use it.  This is needed
for the next commit, which will remove __kdump_flag.

Signed-off-by: Milton Miller &lt;miltonm@bga.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>powerpc: Support for relocatable kdump kernel</title>
<updated>2008-10-22T04:01:22Z</updated>
<author>
<name>Mohan Kumar M</name>
</author>
<published>2008-10-21T17:38:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=54622f10a6aabb8bb2bdacf3dd070046f03dc246'/>
<id>urn:sha1:54622f10a6aabb8bb2bdacf3dd070046f03dc246</id>
<content type='text'>
This adds relocatable kernel support for kdump. With this one can
use the same regular kernel to capture the kdump. A signature (0xfeed1234)
is passed in r6 from panic code to the next kernel through kexec_sequence
and purgatory code. The signature is used to differentiate between
kdump kernel and non-kdump kernels.

The purgatory code compares the signature and sets the __kdump_flag in
head_64.S.  During the boot up, kernel code checks __kdump_flag and if it
is set, the kernel will behave as relocatable kdump kernel. This kernel
will boot at the address where it was loaded by kexec-tools ie. at the
address reserved through crashkernel boot parameter.

CONFIG_CRASH_DUMP depends on CONFIG_RELOCATABLE option to build kdump
kernel as relocatable. So the same kernel can be used as production and
kdump kernel.

This patch incorporates the changes suggested by Paul Mackerras to avoid
GOT use and to avoid two copies of the code.

Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
Signed-off-by: Mohan Kumar M &lt;mohan@in.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc: Use cpu_thread_in_core in smp_init for of_spin_map</title>
<updated>2008-10-21T04:19:12Z</updated>
<author>
<name>Milton Miller</name>
</author>
<published>2008-10-20T15:37:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a75a6b8e85e92cc774d42a4e113c76c30b5a539'/>
<id>urn:sha1:6a75a6b8e85e92cc774d42a4e113c76c30b5a539</id>
<content type='text'>
We used to assume that even numbered threads were the primary
threads, ie those that would be listed and started as a cpu from
open firmware.  Replace a left over is even (% 2) check with a check
for it being a primary thread and update the comments.

Tested with a debug print on pseries, identical code found for cell.

Signed-off-by: Milton Miller &lt;miltonm@bga.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/pseries: Validate PFN in pseries_remove_lmb()</title>
<updated>2008-10-21T04:17:47Z</updated>
<author>
<name>Nathan Fontenot</name>
</author>
<published>2008-10-13T08:42:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04badfd2936333a23e0fc233f31a760d0dc9424f'/>
<id>urn:sha1:04badfd2936333a23e0fc233f31a760d0dc9424f</id>
<content type='text'>
The pfn of the memory to be removed should be validated prior to
attempting to remove the memory.  In cases where the probe of a
memory section fails during hotplug add, the pfn for the lmb may
not be valid.

Signed-off-by: Badari Pulavarty &lt;pbadari@us.ibm.com&gt;
Signed-off-by: Nathan Fontenot &lt;nfont@austin.ibm.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>Merge commit 'origin'</title>
<updated>2008-10-15T00:31:54Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2008-10-15T00:31:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6dc6472581f693b5fc95aebedf67b4960fb85cf0'/>
<id>urn:sha1:6dc6472581f693b5fc95aebedf67b4960fb85cf0</id>
<content type='text'>
Manual fixup of conflicts on:

	arch/powerpc/include/asm/dcr-regs.h
	drivers/net/ibm_newemac/core.h</content>
</entry>
<entry>
<title>powerpc/xics: Reduce and comment xics IPI use of memory barriers</title>
<updated>2008-10-13T05:24:19Z</updated>
<author>
<name>Milton Miller</name>
</author>
<published>2008-10-10T01:56:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=199f45c45e8d4f58a5f568464be933534460eb82'/>
<id>urn:sha1:199f45c45e8d4f58a5f568464be933534460eb82</id>
<content type='text'>
A single full sync (mb()) is requrired to order the mmio to the qirr reg
with the set or clear of the message word.  However, test_and_clear_bit
has the effect of smp_mb() and we are not doing any other io from here,
so we don't need a mb per bit processed.

Signed-off-by: Milton Miller &lt;miltonm@bga.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/xics: Make printk format strings fit on one line</title>
<updated>2008-10-13T05:24:19Z</updated>
<author>
<name>Milton Miller</name>
</author>
<published>2008-10-10T01:56:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2172fe8704a1df7cbb988ae1ec4edbfef3e28860'/>
<id>urn:sha1:2172fe8704a1df7cbb988ae1ec4edbfef3e28860</id>
<content type='text'>
Several printks were broken at word boundaries for line length.   Some
even referred to old function names.   Using __func__ and changing the
text slightly for the format allows these printk formats to fit on one
line.

Signed-off-by: Milton Miller &lt;miltonm@bga.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
</feed>
