<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/mn10300/include/asm, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-12-03T17:18:53Z</updated>
<entry>
<title>MN10300: Implement asm/syscall.h</title>
<updated>2010-12-03T17:18:53Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2010-12-03T15:59:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9df42e1175d30545ffa1e17a3df1b39c107d33a'/>
<id>urn:sha1:a9df42e1175d30545ffa1e17a3df1b39c107d33a</id>
<content type='text'>
Implement asm/syscall.h for the MN10300 arch.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-mn10300</title>
<updated>2010-10-28T01:53:26Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2010-10-28T01:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bdab225015fbbb45ccd8913f5d7c01b2bf67d8b2'/>
<id>urn:sha1:bdab225015fbbb45ccd8913f5d7c01b2bf67d8b2</id>
<content type='text'>
* git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-mn10300: (44 commits)
  MN10300: Save frame pointer in thread_info struct rather than global var
  MN10300: Change "Matsushita" to "Panasonic".
  MN10300: Create a defconfig for the ASB2364 board
  MN10300: Update the ASB2303 defconfig
  MN10300: ASB2364: Add support for SMSC911X and SMC911X
  MN10300: ASB2364: Handle the IRQ multiplexer in the FPGA
  MN10300: Generic time support
  MN10300: Specify an ELF HWCAP flag for MN10300 Atomic Operations Unit support
  MN10300: Map userspace atomic op regs as a vmalloc page
  MN10300: And Panasonic AM34 subarch and implement SMP
  MN10300: Delete idle_timestamp from irq_cpustat_t
  MN10300: Make various interrupt priority settings configurable
  MN10300: Optimise do_csum()
  MN10300: Implement atomic ops using atomic ops unit
  MN10300: Make the FPU operate in non-lazy mode under SMP
  MN10300: SMP TLB flushing
  MN10300: Use the [ID]PTEL2 registers rather than [ID]PTEL for TLB control
  MN10300: Make the use of PIDR to mark TLB entries controllable
  MN10300: Rename __flush_tlb*() to local_flush_tlb*()
  MN10300: AM34 erratum requires MMUCTR read and write on exception entry
  ...
</content>
</entry>
<entry>
<title>mm: fix race in kunmap_atomic()</title>
<updated>2010-10-28T01:03:05Z</updated>
<author>
<name>Peter Zijlstra</name>
</author>
<published>2010-10-27T22:32:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20273941f2129aa5a432796d98a276ed73d60782'/>
<id>urn:sha1:20273941f2129aa5a432796d98a276ed73d60782</id>
<content type='text'>
Christoph reported a nice splat which illustrated a race in the new stack
based kmap_atomic implementation.

The problem is that we pop our stack slot before we're completely done
resetting its state -- in particular clearing the PTE (sometimes that's
CONFIG_DEBUG_HIGHMEM).  If an interrupt happens before we actually clear
the PTE used for the last slot, that interrupt can reuse the slot in a
dirty state, which triggers a BUG in kmap_atomic().

Fix this by introducing kmap_atomic_idx() which reports the current slot
index without actually releasing it and use that to find the PTE and delay
the _pop() until after we're completely done.

Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Reported-by: Christoph Hellwig &lt;hch@infradead.org&gt;
Acked-by: Rik van Riel &lt;riel@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>MN10300: Save frame pointer in thread_info struct rather than global var</title>
<updated>2010-10-27T16:29:01Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2010-10-27T16:29:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c7fcf762e405eb040ee10d22d656a791f616122'/>
<id>urn:sha1:7c7fcf762e405eb040ee10d22d656a791f616122</id>
<content type='text'>
Save the current exception frame pointer in the thread_info struct rather than
in a global variable as the latter makes SMP tricky, especially when preemption
is also enabled.

This also replaces __frame with current_frame() and rearranges header file
inclusions to make it all compile.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Akira Takeuchi &lt;takeuchi.akr@jp.panasonic.com&gt;
</content>
</entry>
<entry>
<title>MN10300: ASB2364: Add support for SMSC911X and SMC911X</title>
<updated>2010-10-27T16:28:58Z</updated>
<author>
<name>Akira Takeuchi</name>
</author>
<published>2010-10-27T16:28:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62747cd27ee241ffa32d501e45980cdc441d4a09'/>
<id>urn:sha1:62747cd27ee241ffa32d501e45980cdc441d4a09</id>
<content type='text'>
Add support for SMSC911X and SMC911X for the ASB2364 unit.

Signed-off-by: Akira Takeuchi &lt;takeuchi.akr@jp.panasonic.com&gt;
Signed-off-by: Kiyoshi Owada &lt;owada.kiyoshi@jp.panasonic.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
cc: steve.glendinning@smsc.com
cc: netdev@vger.kernel.org
</content>
</entry>
<entry>
<title>MN10300: ASB2364: Handle the IRQ multiplexer in the FPGA</title>
<updated>2010-10-27T16:28:58Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2010-10-27T16:28:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6044cf1d9426dfd5cdc1e7b9cf8eaed6418e1ff6'/>
<id>urn:sha1:6044cf1d9426dfd5cdc1e7b9cf8eaed6418e1ff6</id>
<content type='text'>
Handle the IRQ multiplexer in the FPGA by implementing a cascade interrupt
driver for it.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>MN10300: Generic time support</title>
<updated>2010-10-27T16:28:57Z</updated>
<author>
<name>Mark Salter</name>
</author>
<published>2010-10-27T16:28:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=730c1fad0ee22a170d2ee76a904709ee304931c0'/>
<id>urn:sha1:730c1fad0ee22a170d2ee76a904709ee304931c0</id>
<content type='text'>
Implement generic time support for MN10300.

Signed-off-by: Mark Salter &lt;msalter@redhat.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>MN10300: Specify an ELF HWCAP flag for MN10300 Atomic Operations Unit support</title>
<updated>2010-10-27T16:28:56Z</updated>
<author>
<name>Mark Salter</name>
</author>
<published>2010-10-27T16:28:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2502c64eeb125c5d57e3e7dc38320b500d69e088'/>
<id>urn:sha1:2502c64eeb125c5d57e3e7dc38320b500d69e088</id>
<content type='text'>
Use an ELF HWCAP flag to indicate to the process that the CPU provides LL/SC
equivalent atomic operations unit support in addition to BSET/BCLR.

Signed-off-by: Mark Salter &lt;msalter@redhat.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>MN10300: Map userspace atomic op regs as a vmalloc page</title>
<updated>2010-10-27T16:28:56Z</updated>
<author>
<name>Mark Salter</name>
</author>
<published>2010-10-27T16:28:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5a226c6f5c374a0d565dac609907085b944979b5'/>
<id>urn:sha1:5a226c6f5c374a0d565dac609907085b944979b5</id>
<content type='text'>
The AM34 processor has an atomic operation that's the equivalent of LL/SC on
other architectures.  However, rather than being done through a pair of
instructions, it's driven by writing to a pair of memory-mapped CPU control
registers.

One set of these registers (AARU/ADRU/ASRU) is available for use by userspace,
but for userspace to access them a PTE must be set up to cover the region.
This is done by dedicating the first vmalloc region page to this purpose,
setting the permissions on its PTE such that userspace can access the page.

glibc is hardcoded to expect the registers to be there.

The way atomic ops are done through these registers is straightforward:

 (1) Write the address of the word you wish to access into AARU.  This causes
     the CPU to go and fetch that word and load it into ADRU.  The status bits
     are also cleared in ASRU.

 (2) The current data value is read from the ADRU register and modified.

 (3) To alter the data in RAM, the revised data is written back to the ADRU
     register, which causes the CPU to attempt to write it back.

 (4) The ASRU.RW flag (ASRU read watch), ASRU.LW flag (bus lock watch),
     ASRU.IW (interrupt watch) and the ASRU.BW (bus error watch) flags then
     must be checked to confirm that the operation wasn't aborted.  If any of
     the watches have been set to true, the operation was aborted.

Signed-off-by: Mark Salter &lt;msalter@redhat.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>MN10300: And Panasonic AM34 subarch and implement SMP</title>
<updated>2010-10-27T16:28:55Z</updated>
<author>
<name>Akira Takeuchi</name>
</author>
<published>2010-10-27T16:28:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=368dd5acd154b09c043cc4392a74da01599b37d5'/>
<id>urn:sha1:368dd5acd154b09c043cc4392a74da01599b37d5</id>
<content type='text'>
Implement the Panasonic MN10300 AM34 CPU subarch and implement SMP support for
MN10300.  Also implement support for the MN2WS0060 processor and the ASB2364
evaluation board which are AM34 based.

Signed-off-by: Akira Takeuchi &lt;takeuchi.akr@jp.panasonic.com&gt;
Signed-off-by: Kiyoshi Owada &lt;owada.kiyoshi@jp.panasonic.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
</feed>
