<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm/include/asm/system.h, 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>2011-01-03T08:56:08Z</updated>
<entry>
<title>ARM: 6605/1: Add missing include "asm/memory.h"</title>
<updated>2011-01-03T08:56:08Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2011-01-03T01:26:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c0ab43e6ab09d72dc8dbac2521b2f819ccc4026'/>
<id>urn:sha1:7c0ab43e6ab09d72dc8dbac2521b2f819ccc4026</id>
<content type='text'>
This patch fixes below build error by adding the missing asm/memory.h,
which is needed for arch_is_coherent().

$ make pxa3xx_defconfig; make
  CC      init/do_mounts_rd.o
In file included from include/linux/list_bl.h:5,
                 from include/linux/rculist_bl.h:7,
                 from include/linux/dcache.h:7,
                 from include/linux/fs.h:381,
                 from init/do_mounts_rd.c:3:
include/linux/bit_spinlock.h: In function 'bit_spin_unlock':
include/linux/bit_spinlock.h:61: error: implicit declaration of function 'arch_is_coherent'
make[1]: *** [init/do_mounts_rd.o] Error 1
make: *** [init] Error 2

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-by: Peter Huewe &lt;peterhuewe@gmx.de&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>Merge branches 'at91', 'dcache', 'ftrace', 'hwbpt', 'misc', 'mmci', 's3c', 'st-ux' and 'unwind' into devel</title>
<updated>2010-10-18T21:34:25Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2010-10-18T21:34:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=23beab76b490172a9ff3d52843e4d27a35b2a4c6'/>
<id>urn:sha1:23beab76b490172a9ff3d52843e4d27a35b2a4c6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ARM: 6428/1: add cpu_idle_wait() to support CPUidle on SMP systems.</title>
<updated>2010-10-08T09:02:24Z</updated>
<author>
<name>Kevin Hilman</name>
</author>
<published>2010-10-01T21:13:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7b0aff44a0740eedd31b759fd08d9e25672fa76'/>
<id>urn:sha1:c7b0aff44a0740eedd31b759fd08d9e25672fa76</id>
<content type='text'>
In order for CPUidle to work on SMP systems, an implementation of
cpu_idle_wait() is needed.

This patch duplicates the x86 implementation of cpu_idle_wait() for
ARM.

Tested-by: Colin Cross &lt;ccross@android.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: 6355/1: hw-breakpoint: add mechanism for hooking into prefetch aborts</title>
<updated>2010-09-08T09:04:59Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2010-09-03T09:39:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3a4b5dca53aecb16db9e007d782b2d1e757e941a'/>
<id>urn:sha1:3a4b5dca53aecb16db9e007d782b2d1e757e941a</id>
<content type='text'>
On ARM processors with hardware breakpoint and watchpoint support,
triggering these events results in a debug exception. These manifest
as prefetch and data aborts respectively.

arch/arm/mm/fault.c already provides hook_fault_code for hooking
into data aborts dependent on the DFSR. This patch adds a new function,
hook_ifault_code for hooking into prefetch aborts in the same manner.

Cc: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
Cc: S. Karthikeyan &lt;informkarthik@gmail.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: 6269/1: Add 'code' parameter for hook_fault_code()</title>
<updated>2010-07-27T09:48:34Z</updated>
<author>
<name>Kirill A. Shutemov</name>
</author>
<published>2010-07-22T12:18:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6338a6aa7c082f11d55712251e14178c68bf5869'/>
<id>urn:sha1:6338a6aa7c082f11d55712251e14178c68bf5869</id>
<content type='text'>
Add one more parameter to hook_fault_code() to be able to set 'code'
field of struct fsr_info.

Signed-off-by: Kirill A. Shutemov &lt;kirill@shutemov.name&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>Merge branch 'devel-stable' into devel</title>
<updated>2010-05-17T16:24:04Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2010-05-17T16:24:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac1d426e825ab5778995f2f6f053ca2e6b45c622'/>
<id>urn:sha1:ac1d426e825ab5778995f2f6f053ca2e6b45c622</id>
<content type='text'>
Conflicts:
	arch/arm/Kconfig
	arch/arm/include/asm/system.h
	arch/arm/mm/Kconfig
</content>
</entry>
<entry>
<title>ARM: Optionally allow ARMv6 to use 'normal, bufferable' memory for DMA</title>
<updated>2010-05-17T10:52:11Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2010-05-15T10:02:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=47ab0dee661dbd5aca67abe44a333e471134fbf9'/>
<id>urn:sha1:47ab0dee661dbd5aca67abe44a333e471134fbf9</id>
<content type='text'>
Provide a configuration option to allow the ARMv6 to use normal
bufferable memory for coherent DMA.  This option is forced to 'y'
for ARMv7, and offered as a configuration option on ARMv6.

Enabling this option requires drivers to have the necessary barriers
to ensure that data in DMA coherent memory is visible prior to the
DMA operation commencing.

Reviewed-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: 5996/1: ARM: Change the mandatory barriers implementation (4/4)</title>
<updated>2010-03-25T21:13:50Z</updated>
<author>
<name>Catalin Marinas</name>
</author>
<published>2010-03-24T15:49:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7c5650f6067f65f8e961394f376d4862808d0d2'/>
<id>urn:sha1:e7c5650f6067f65f8e961394f376d4862808d0d2</id>
<content type='text'>
The mandatory barriers (mb, rmb, wmb) are used even on uniprocessor
systems for things like ordering Normal Non-cacheable memory accesses
with DMA transfer (via Device memory writes). The current implementation
uses dmb() for mb() and friends but this is not sufficient. The DMB only
ensures the relative ordering of the observability of accesses by other
processors or devices acting as masters. In case of DMA transfers
started by writes to device memory, the relative ordering is not ensured
because accesses to slave ports of a device are not considered
observable by the DMB definition.

A DSB is required for the data to reach the main memory (even if mapped
as Normal Non-cacheable) before the device receives the notification to
begin the transfer. Furthermore, some L2 cache controllers (like L2x0 or
PL310) buffer stores to Normal Non-cacheable memory and this would need
to be drained with the outer_sync() function call.

The patch also allows platforms to define their own mandatory barriers
implementation by selecting CONFIG_ARCH_HAS_BARRIERS and providing a
mach/barriers.h file.

Note that the SMP barriers are unchanged (being DMBs as before) since
they are only guaranteed to work with Normal Cacheable memory.

Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: add notify_die() support</title>
<updated>2010-02-15T21:39:14Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2010-01-20T17:02:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9221de66d2d94e6e34c3f56bbdd744935020737'/>
<id>urn:sha1:a9221de66d2d94e6e34c3f56bbdd744935020737</id>
<content type='text'>
Kernel debuggers want to be informed of die() events, so that they
can take some action to allow the problem to be inspected.  Provide
the hook in a similar manner to x86.

Note that we currently don't implement the individual trap hooks.

Acked-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: dma-mapping: switch ARMv7 DMA mappings to retain 'memory' attribute</title>
<updated>2009-11-24T17:41:36Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2009-11-20T21:06:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=26a26d329688ab018e068b412b03d43d7c299f0a'/>
<id>urn:sha1:26a26d329688ab018e068b412b03d43d7c299f0a</id>
<content type='text'>
On ARMv7, it is invalid to map the same physical address multiple times
with different memory types.  Since system RAM is already mapped as
'memory', subsequent remapping of it must retain this attribute.

However, DMA memory maps it as "strongly ordered".  Fix this by introducing
'pgprot_dmacoherent()' which provides the necessary page table bits for
DMA mappings.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Acked-by: Greg Ungerer &lt;gerg@uclinux.org&gt;
Reviewed-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
</entry>
</feed>
