<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/sh/mm, 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-01T06:39:51Z</updated>
<entry>
<title>sh: Assume new page cache pages have dirty dcache lines.</title>
<updated>2010-12-01T06:39:51Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2010-12-01T06:39:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55661fc1f105ed75852e937bf8ea408270eb0cca'/>
<id>urn:sha1:55661fc1f105ed75852e937bf8ea408270eb0cca</id>
<content type='text'>
This follows the ARM change c01778001a4f5ad9c62d882776235f3f31922fdd
("ARM: 6379/1: Assume new page cache pages have dirty D-cache") for the
same rationale:

    There are places in Linux where writes to newly allocated page
    cache pages happen without a subsequent call to flush_dcache_page()
    (several PIO drivers including USB HCD). This patch changes the
    meaning of PG_arch_1 to be PG_dcache_clean and always flush the
    D-cache for a newly mapped page in update_mmu_cache().

This addresses issues seen with executing binaries from MMC, in
addition to some of the other HCDs that don't explicitly do cache
management for their pipe-in buffers.

Requested-by: Yoshihiro Shimoda &lt;yoshihiro.shimoda.uh@renesas.com&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: nommu: use 32-bit phys mode.</title>
<updated>2010-11-04T03:32:24Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2010-11-04T03:32:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2fcf74f3d3dabe8591732cd37869a0cc88ed7a5'/>
<id>urn:sha1:e2fcf74f3d3dabe8591732cd37869a0cc88ed7a5</id>
<content type='text'>
The nommu code has regressed somewhat in that 29BIT gets set for the
SH-2/2A configs regardless of the fact that they are really 32BIT sans
MMU or PMB. This does a bit of tidying to get nommu properly selecting
32BIT as it was before.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: lockless get_user_pages_fast()</title>
<updated>2010-10-27T07:43:08Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2010-10-27T07:43:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=667b279baa529a1b5bd120d4ce3df643a5749263'/>
<id>urn:sha1:667b279baa529a1b5bd120d4ce3df643a5749263</id>
<content type='text'>
Implement get_user_pages_fast without locking in the fastpath on sh.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6</title>
<updated>2010-10-25T14:51:49Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2010-10-25T14:51:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1dfd166e93f98892aa4427069a23ed73259983c8'/>
<id>urn:sha1:1dfd166e93f98892aa4427069a23ed73259983c8</id>
<content type='text'>
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (110 commits)
  sh: i2c-sh7760: Replase from ctrl_* to __raw_*
  sh: clkfwk: Shuffle around to match the intc split up.
  sh: clkfwk: modify for_each_frequency end condition
  sh: fix clk_get() error handling
  sh: clkfwk: Fix fault in frequency iterator.
  sh: clkfwk: Add a helper for rate rounding by divisor ranges.
  sh: clkfwk: Abstract rate rounding helper.
  sh: clkfwk: support clock remapping.
  sh: pci: Convert to upper/lower_32_bits() helpers.
  sh: mach-sdk7786: Add support for the FPGA SRAM.
  sh: Provide a generic SRAM pool for tiny memories.
  sh: pci: Support secondary FPGA-driven PCIe clocks on SDK7786.
  sh: pci: Support slot 4 routing on SDK7786.
  sh: Fix up PMB locking.
  sh: mach-sdk7786: Add support for fpga gpios.
  sh: use pr_fmt for clock framework, too.
  sh: remove name and id from struct clk
  sh: free-without-alloc fix for sh_mobile_lcdcfb
  sh: perf: Set up perf_max_events.
  sh: perf: Support SH-X3 hardware counters.
  ...

Fix up trivial conflicts (perf_max_events got removed) in arch/sh/kernel/perf_event.c
</content>
</entry>
<entry>
<title>sh: Provide a generic SRAM pool for tiny memories.</title>
<updated>2010-10-14T17:09:00Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2010-10-14T17:09:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c993487ec87ba6d9ea47b03dad562123d503f4a2'/>
<id>urn:sha1:c993487ec87ba6d9ea47b03dad562123d503f4a2</id>
<content type='text'>
This sets up a generic SRAM pool for CPUs and platform code to insert
their otherwise unused memories into. A simple alloc/free interface is
provided (lifed from avr32) for generic code.

This only applies to tiny SRAMs that are otherwise unmanaged, and does
not take in to account the more complex SRAMs sitting behind transfer
engines, or that employ an I/D split.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Fix up PMB locking.</title>
<updated>2010-10-13T18:49:15Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2010-10-13T18:49:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f7fcec93b619337feb9da829b8a9ab6ba86393bc'/>
<id>urn:sha1:f7fcec93b619337feb9da829b8a9ab6ba86393bc</id>
<content type='text'>
This first converts the PMB locking over to raw spinlocks, and secondly
fixes up a nested locking issue that was triggering lockdep early on:

 swapper/0 is trying to acquire lock:
  (&amp;pmbe-&gt;lock){......}, at: [&lt;806be9bc&gt;] pmb_init+0xf4/0x4dc

 but task is already holding lock:
  (&amp;pmbe-&gt;lock){......}, at: [&lt;806be98e&gt;] pmb_init+0xc6/0x4dc

 other info that might help us debug this:
 1 lock held by swapper/0:
  #0:  (&amp;pmbe-&gt;lock){......}, at: [&lt;806be98e&gt;] pmb_init+0xc6/0x4dc

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>memblock, bootmem: Round pfn properly for memory and reserved regions</title>
<updated>2010-10-12T22:37:51Z</updated>
<author>
<name>Yinghai Lu</name>
</author>
<published>2010-10-12T21:07:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7fc2de0c83dbd2eaf759c5cd0e2b9cf1eb4df3a'/>
<id>urn:sha1:c7fc2de0c83dbd2eaf759c5cd0e2b9cf1eb4df3a</id>
<content type='text'>
We need to round memory regions correctly -- specifically, we need to
round reserved region in the more expansive direction (lower limit
down, upper limit up) whereas usable memory regions need to be rounded
in the more restrictive direction (lower limit up, upper limit down).

This introduces two set of inlines:

	memblock_region_memory_base_pfn()
	memblock_region_memory_end_pfn()
	memblock_region_reserved_base_pfn()
	memblock_region_reserved_end_pfn()

Although they are antisymmetric (and therefore are technically
duplicates) the use of the different inlines explicitly documents the
programmer's intention.

The lack of proper rounding caused a bug on ARM, which was then found
to also affect other architectures.

Reported-by: Russell King &lt;rmk@arm.linux.org.uk&gt;
Signed-off-by: Yinghai Lu &lt;yinghai@kernel.org&gt;
LKML-Reference: &lt;4CB4CDFD.4020105@kernel.org&gt;
Cc: Jeremy Fitzhardinge &lt;jeremy@goop.org&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>sh: provide generic arch_debugfs_dir.</title>
<updated>2010-09-23T19:04:26Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2010-09-23T19:04:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f224f4e057ce67713f3e7a8890f2fbe12d047a5'/>
<id>urn:sha1:3f224f4e057ce67713f3e7a8890f2fbe12d047a5</id>
<content type='text'>
While sh previously had its own debugfs root, there now exists a
common arch_debugfs_dir prototype, so we switch everything over to
that.  Presumably once more architectures start making use of this
we'll be able to just kill off the stub kdebugfs wrapper.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: change to new flag variable</title>
<updated>2010-09-23T07:18:18Z</updated>
<author>
<name>matt mooney</name>
</author>
<published>2010-09-23T06:51:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a234ca0faa65dcd5cc473915bd925130ebb7b74b'/>
<id>urn:sha1:a234ca0faa65dcd5cc473915bd925130ebb7b74b</id>
<content type='text'>
Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney &lt;mfm@muteddisk.com&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: stub __flush_tlb_global() definition for nommu.</title>
<updated>2010-08-16T05:53:01Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2010-08-16T05:53:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a8dc49b51ace4ff80cb764c250338cb9b311fb14'/>
<id>urn:sha1:a8dc49b51ace4ff80cb764c250338cb9b311fb14</id>
<content type='text'>
This fixes up the nommu build with a stub definition for
__flush_tlb_global(), now used by the reboot code.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
</feed>
