<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch, branch v2.6.18.1</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch?h=v2.6.18.1</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch?h=v2.6.18.1'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2006-10-13T20:23:28Z</updated>
<entry>
<title>x86-64: Calgary IOMMU: Fix off by one when calculating register space location</title>
<updated>2006-10-13T20:23:28Z</updated>
<author>
<name>Jon Mason</name>
<email>jdmason@kudzu.us</email>
</author>
<published>2006-10-10T14:04:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7752e010ee0222af173d59948b92d0eabd806384'/>
<id>urn:sha1:7752e010ee0222af173d59948b92d0eabd806384</id>
<content type='text'>
This patch has already been submitted for inclusion in the 2.6.19
tree, but not backported to the 2.6.18.  Please pull the bug fix
below into the stable tree for the 2.6.18.1 release.

The purpose of the code being modified is to determine the location
of the calgary chip address space.  This is done by a magical formula
of FE0MB-8MB*OneBasedChassisNumber+1MB*(RioNodeId-ChassisBase) to
find the offset where BIOS puts it.  In this formula,
OneBasedChassisNumber corresponds to the NUMA node, and rionodeid is
always 2 or 3 depending on which chip in the system it is.  The
problem was that we had an off by one error that caused us to account
some busses to the wrong chip and thus give them the wrong address
space.

Fixes RH bugzilla #203971.

Signed-off-by: Jon Mason &lt;jdmason@kudzu.us&gt;
Signed-off-by: Muli Ben-Yehuda &lt;muli@il.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>SPARC64: Fix sparc64 ramdisk handling</title>
<updated>2006-10-13T20:23:26Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2006-09-27T06:15:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f17c622ead2e14d29a118b101b46a2bb35c27f03'/>
<id>urn:sha1:f17c622ead2e14d29a118b101b46a2bb35c27f03</id>
<content type='text'>
[SPARC64]: Kill bogus check from bootmem_init().

There is an ancient and totally incorrect sanity check being
done on the ramdisk location.  The check assumes that the
kernel is always loaded to physical address zero, which is
wrong.  It was trying to validate the ramdisk value by saying that
if it fell within the kernel image address range it must be wrong.

Anyways, kill this because it actually creates problems.  The
'ramdisk_image' should always be adjusted down by KERNBASE.
SILO can easily put the ramdisk in a location which causes
this test to trigger, breaking things.

[ Based almost entirely upon a patch from Ben Collins. ]

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>SPARC64: Fix serious bug in sched_clock() on sparc64</title>
<updated>2006-10-13T20:23:26Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2006-09-24T01:26:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6fc9b9e7213beba2dfe21d71100efa79afd51f99'/>
<id>urn:sha1:6fc9b9e7213beba2dfe21d71100efa79afd51f99</id>
<content type='text'>
Unfortunately, sparc64 doesn't have an easy way to do a "64 X 64 --&gt;
128" bit multiply like PowerPC and IA64 do.  We were doing a
"64 X 64 --&gt; 64" bit multiple which causes overflow very quickly with
a 30-bit quotient shift.

So use a quotientshift count of 10 instead of 30, just like x86 and
ARM do.

This also fixes the wrapping of printk timestamp values every ~17
seconds.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>i386: fix flat mode numa on a real numa system</title>
<updated>2006-10-13T20:23:26Z</updated>
<author>
<name>keith mannthey</name>
<email>kmannth@us.ibm.com</email>
</author>
<published>2006-09-25T23:25:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=eef1cc3099aa25040099a0721346b550c9722640'/>
<id>urn:sha1:eef1cc3099aa25040099a0721346b550c9722640</id>
<content type='text'>
If there is only 1 node in the system cpus should think they are apart of
some other node.

If cases where a real numa system boots the Flat numa option make sure the
cpus don't claim to be apart on a non-existent node.

Signed-off-by: Keith Mannthey &lt;kmannth@us.ibm.com&gt;
Cc: Andy Whitcroft &lt;apw@shadowen.org&gt;
Cc: Dave Hansen &lt;haveblue@us.ibm.com&gt;
Cc: Andi Kleen &lt;ak@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>cpu to node relationship fixup: map cpu to node</title>
<updated>2006-10-13T20:23:26Z</updated>
<author>
<name>KAMEZAWA Hiroyuki</name>
<email>kamezawa.hiroyu@jp.fujitsu.com</email>
</author>
<published>2006-09-25T23:25:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1ada841196360876c5077ae2431ce5b90f9bbec2'/>
<id>urn:sha1:1ada841196360876c5077ae2431ce5b90f9bbec2</id>
<content type='text'>
Assume that a cpu is *physically* offlined at boot time...

Because smpboot.c::smp_boot_cpu_map() canoot find cpu's sapicid,
numa.c::build_cpu_to_node_map() cannot build cpu&lt;-&gt;node map for
offlined cpu.

For such cpus, cpu_to_node map should be fixed at cpu-hot-add.
This mapping should be done before cpu onlining.

This patch also handles cpu hotremove case.

Signed-off-by: KAMEZAWA Hiroyuki &lt;kamezawa.hiroyu@jp.fujitsu.com&gt;
Cc: Tony Luck &lt;tony.luck@intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>cpu to node relationship fixup: acpi_map_cpu2node</title>
<updated>2006-10-13T20:23:26Z</updated>
<author>
<name>KAMEZAWA Hiroyuki</name>
<email>kamezawa.hiroyu@jp.fujitsu.com</email>
</author>
<published>2006-09-25T23:25:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b1fc5287ba80bcbb7a4cdade1b62de6bb1c91479'/>
<id>urn:sha1:b1fc5287ba80bcbb7a4cdade1b62de6bb1c91479</id>
<content type='text'>
Problem description:

  We have additional_cpus= option for allocating possible_cpus.  But nid
  for possible cpus are not fixed at boot time.  cpus which is offlined at
  boot or cpus which is not on SRAT is not tied to its node.  This will
  cause panic at cpu onlining.

Usually, pxm_to_nid() mapping is fixed at boot time by SRAT.

But, unfortunately, some system (my system!) do not include
full SRAT table for possible cpus.  (Then, I use
additiona_cpus= option.)

For such possible cpus, pxm&lt;-&gt;nid should be fixed at
hot-add.  We now have acpi_map_pxm_to_node() which is also
used at boot.  It's suitable here.

Signed-off-by: KAMEZAWA Hiroyuki &lt;kamezawa.hiroyu@jp.fujitsu.com&gt;
Cc: Tony Luck &lt;tony.luck@intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>i386 bootioremap / kexec fix</title>
<updated>2006-10-13T20:23:25Z</updated>
<author>
<name>keith mannthey</name>
<email>kmannth@us.ibm.com</email>
</author>
<published>2006-09-25T23:24:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=46475282edb4e2a0e1892ec3096304bb9c41e5fb'/>
<id>urn:sha1:46475282edb4e2a0e1892ec3096304bb9c41e5fb</id>
<content type='text'>
With CONFIG_PHYSICAL_START set to a non default values the i386
boot_ioremap code calculated its pte index wrong and users of boot_ioremap
have their areas incorrectly mapped (for me SRAT table not mapped during
early boot).  This patch removes the addr &lt; BOOT_PTE_PTRS constraint.

Signed-off-by: Keith Mannthey&lt;kmannth@us.ibm.com&gt;
Cc: Vivek Goyal &lt;vgoyal@in.ibm.com&gt;
Cc: Dave Hansen &lt;haveblue@us.ibm.com&gt;
Cc: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Fix 'make headers_check' on sh</title>
<updated>2006-10-13T20:23:23Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2006-09-19T18:25:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7e92b43411dcddb4bcb7e2b645b0cc8cd200968f'/>
<id>urn:sha1:7e92b43411dcddb4bcb7e2b645b0cc8cd200968f</id>
<content type='text'>
Cleanup for user headers, as noted:

asm-sh/page.h requires asm-generic/memory_model.h, which does not exist in exported headers
asm-sh/ptrace.h requires asm/ubc.h, which does not exist in exported headers

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>S390: user readable uninitialised kernel memory (CVE-2006-5174)</title>
<updated>2006-10-13T20:23:21Z</updated>
<author>
<name>Martin Schwidefsky</name>
<email>schwidefsky@de.ibm.com</email>
</author>
<published>2006-09-28T13:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fc51b686fa1e97060f8c9d061b74cff2b153c9f7'/>
<id>urn:sha1:fc51b686fa1e97060f8c9d061b74cff2b153c9f7</id>
<content type='text'>
[S390] user readable uninitialised kernel memory.

A user space program can read uninitialised kernel memory
by appending to a file from a bad address and then reading
the result back. The cause is the copy_from_user function
that does not clear the remaining bytes of the kernel
buffer after it got a fault on the user space address.

Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>UML: Fix UML build failure</title>
<updated>2006-10-13T20:23:20Z</updated>
<author>
<name>Jeff Dike</name>
<email>jdike@addtoit.com</email>
</author>
<published>2006-10-05T18:27:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e392c24a07c18208c29cf11c856d6031b4fb3f87'/>
<id>urn:sha1:e392c24a07c18208c29cf11c856d6031b4fb3f87</id>
<content type='text'>
don't know if the following is already queued, it fixes an ARCH=um build
failure, evidence here:
http://marc.theaimsgroup.com/?l=linux-kernel&amp;m=115875912525137&amp;w=2
and following thread.
Cc-ing uml maintainers and I hope I didn't follow too many
Submitting-patches rules...

The patch is taken from:
http://user-mode-linux.sourceforge.net/work/current/2.6/2.6.18/patches/no-syscallx

Since the syscallx macros seem to be under threat, this patch stops
using them, using syscall instead.

Acked-by: Jeff Dike &lt;jdike@addtoit.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
</feed>
