<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/platforms/cell, 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-08-01T18:50:58Z</updated>
<entry>
<title>cpufreq acpi: only call _PPC after cpufreq ACPI init funcs got called already</title>
<updated>2008-08-01T18:50:58Z</updated>
<author>
<name>Thomas Renninger</name>
</author>
<published>2008-07-30T18:20:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72ca61bf9daad9ad1ac867e6e041dc21a00fe8c6'/>
<id>urn:sha1:72ca61bf9daad9ad1ac867e6e041dc21a00fe8c6</id>
<content type='text'>
commit a1531acd43310a7e4571d52e8846640667f4c74b upstream

Ingo Molnar provided a fix to not call _PPC at processor driver
initialization time in "[PATCH] ACPI: fix cpufreq regression" (git
commit e4233dec749a3519069d9390561b5636a75c7579)

But it can still happen that _PPC is called at processor driver
initialization time.

This patch should make sure that this is not possible anymore.

Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;
Cc: Andi Kleen &lt;andi@firstfloor.org&gt;
Cc: Len Brown &lt;lenb@kernel.org&gt;
Cc: Dave Jones &lt;davej@codemonkey.org.uk&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Venkatesh Pallipadi &lt;venkatesh.pallipadi@intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[POWERPC] Hide resources on Axon PCIE root complex nodes</title>
<updated>2008-03-19T23:15:13Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2008-03-19T06:10:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ebf3a6509299e46c531f88ee727372bd95cf542a'/>
<id>urn:sha1:ebf3a6509299e46c531f88ee727372bd95cf542a</id>
<content type='text'>
The PCI bridge representing the PCIE root complex on Axon, contains
device BARs for a memory range and ROM that define inbound accesses.
This confuses the kernel resource management code -- the resources
need to be hidden when Axon is a host bridge.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.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] Fix cell IOMMU code to cope with empty dma-ranges and non-PCI devices</title>
<updated>2008-03-19T23:15:10Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2008-03-14T05:47:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3a4295d101d9654ca909b64c786f9da6ca1bf37a'/>
<id>urn:sha1:3a4295d101d9654ca909b64c786f9da6ca1bf37a</id>
<content type='text'>
The cell IOMMU code to parse the dma-ranges properties, used for the fixed
mapping, was broken in two ways for some devices.

Firstly it didn't cope with empty dma-ranges properties. An empty property
implies no translation so can be safely skipped.

The code also wrongly assumed it would be looking at PCI devices, and hard
coded the number of address and size cells.

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] spufs: fix rescheduling of non-runnable contexts</title>
<updated>2008-03-11T01:46:18Z</updated>
<author>
<name>Jeremy Kerr</name>
</author>
<published>2008-03-11T01:46:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c368392a9951e6e25e2e2f9268153f1e9365e2c2'/>
<id>urn:sha1:c368392a9951e6e25e2e2f9268153f1e9365e2c2</id>
<content type='text'>
At present, we can hit the BUG_ON in __spu_update_sched_info by reading
the regs file of a context between two calls to spu_run. The
spu_release_saved called by spufs_regs_read() is resulting in the (now
non-runnable) context being placed back on the run queue, so the next
call to spu_run ends up in the bug condition.

This change uses the SPU_SCHED_SPU_RUN flag to only reschedule a context
if it's still in spu_run().

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] spufs: don't (ab)use SCHED_IDLE</title>
<updated>2008-03-11T01:28:02Z</updated>
<author>
<name>Jeremy Kerr</name>
</author>
<published>2008-03-04T09:17:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ce7c191bca88aa2f942f70a6d6c6315739a81a32'/>
<id>urn:sha1:ce7c191bca88aa2f942f70a6d6c6315739a81a32</id>
<content type='text'>
commit 4ef11014 introduced a usage of SCHED_IDLE to detect when
a context is within spu_run.

Instead of SCHED_IDLE (which has other meaning), add a flag to
sched_flags to tell if a context should be running.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-2.6.25' of master.kernel.org:/pub/scm/linux/kernel/git/arnd/cell-2.6 into merge</title>
<updated>2008-03-03T10:31:09Z</updated>
<author>
<name>Paul Mackerras</name>
</author>
<published>2008-03-03T10:31:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3cecdda3f169f22f324f78fd544beee68e3cc6a4'/>
<id>urn:sha1:3cecdda3f169f22f324f78fd544beee68e3cc6a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[POWERPC] Convert the cell IOMMU fixed mapping to 16M IOMMU pages</title>
<updated>2008-03-03T07:03:15Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2008-02-29T07:33:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da40451bba23b51eaca4170a095891646ce72104'/>
<id>urn:sha1:da40451bba23b51eaca4170a095891646ce72104</id>
<content type='text'>
The only tricky part is we need to adjust the PTE insertion loop to
cater for holes in the page table. The PTEs for each segment start on
a 4K boundary, so with 16M pages we have 16 PTEs per segment and then
a gap to the next 4K page boundary.

It might be possible to allocate the PTEs for each segment separately,
saving the memory currently filling the gaps. However we'd need to
check that's OK with the hardware, and that it actually saves memory.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Allow for different IOMMU page sizes in cell IOMMU code</title>
<updated>2008-03-03T07:03:15Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2008-02-29T07:33:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=225d49050f9b6506f2f9df6b40e591ee93939d11'/>
<id>urn:sha1:225d49050f9b6506f2f9df6b40e591ee93939d11</id>
<content type='text'>
Make some preliminary changes to cell_iommu_alloc_ptab() to allow it to
take the page size as a parameter rather than assuming IOMMU_PAGE_SIZE.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Cell IOMMU: n_pte_pages is in 4K page units, not IOMMU_PAGE_SIZE</title>
<updated>2008-03-03T07:03:15Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2008-02-29T07:33:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3d3e6da17d6af42a3fd4891fb09d93dca002e590'/>
<id>urn:sha1:3d3e6da17d6af42a3fd4891fb09d93dca002e590</id>
<content type='text'>
We use n_pte_pages to calculate the stride through the page tables, but
we also use it to set the NPPT value in the segment table entry. That is
defined as the number of 4K pages per segment, so we should calculate
it as such regardless of the IOMMU page size.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Split setup of IOMMU stab and ptab, allocate dynamic/fixed ptabs separately</title>
<updated>2008-03-03T07:03:15Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2008-02-29T07:33:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d432ff1b7db87e78eb74d42631d2a23ca6f26f2'/>
<id>urn:sha1:7d432ff1b7db87e78eb74d42631d2a23ca6f26f2</id>
<content type='text'>
Currently the cell IOMMU code allocates the entire IOMMU page table in a
contiguous chunk. This is nice and tidy, but for machines with larger
amounts of RAM the page table allocation can fail due to it simply being
too large.

So split the segment table and page table setup routine, and arrange to
have the dynamic and fixed page tables allocated separately.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
</feed>
