<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm64/include/asm, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-01-08T18:27:46Z</updated>
<entry>
<title>arm64: Add COMPAT_HWCAP_LPAE</title>
<updated>2015-01-08T18:27:46Z</updated>
<author>
<name>Catalin Marinas</name>
</author>
<published>2014-11-17T10:37:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab4a21c783152a31060f57201afc983e65ef94f8'/>
<id>urn:sha1:ab4a21c783152a31060f57201afc983e65ef94f8</id>
<content type='text'>
commit 7d57511d2dba03a8046c8b428dd9192a4bfc1e73 upstream.

Commit a469abd0f868 (ARM: elf: add new hwcap for identifying atomic
ldrd/strd instructions) introduces HWCAP_ELF for 32-bit ARM
applications. As LPAE is always present on arm64, report the
corresponding compat HWCAP to user space.

Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>arm64: compat: fix compat types affecting struct compat_elf_prpsinfo</title>
<updated>2014-10-30T16:43:11Z</updated>
<author>
<name>Victor Kamensky</name>
</author>
<published>2014-10-14T05:55:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b44bc032213b0afbcf1d1bf856c11bd0c7f27c41'/>
<id>urn:sha1:b44bc032213b0afbcf1d1bf856c11bd0c7f27c41</id>
<content type='text'>
commit 971a5b6fe634bb7b617d8c5f25b6a3ddbc600194 upstream.

The compat_elf_prpsinfo structure does not match the arch/arm struct
elf_pspsinfo definition. As result NT_PRPSINFO note in core file
created by arm64 kernel for aarch32 (compat) process has wrong size.
So gdb cannot display command that caused process crash.

Fix is to change size of __compat_uid_t, __compat_gid_t so it would
match size of similar fields in arch/arm case.

Signed-off-by: Victor Kamensky &lt;victor.kamensky@linaro.org&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>arm64: Fix compilation error on UP builds</title>
<updated>2014-10-30T16:43:11Z</updated>
<author>
<name>Catalin Marinas</name>
</author>
<published>2014-10-21T16:01:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5985844f497b88ea890aad5203fb966bc5d0f63'/>
<id>urn:sha1:d5985844f497b88ea890aad5203fb966bc5d0f63</id>
<content type='text'>
commit ceab3fe69408cb98f437dad3b4b4bb79434370ef upstream.

In file included from ./arch/arm64/include/asm/irq_work.h:4:0,
        from include/linux/irq_work.h:46,
        from include/linux/perf_event.h:49,
        from include/linux/ftrace_event.h:9,
        from include/trace/syscall.h:6,
        from include/linux/syscalls.h:81,
        from init/main.c:18:
./arch/arm64/include/asm/smp.h:24:3:
        error: #error "&lt;asm/smp.h&gt; included in non-SMP build"
 # error "&lt;asm/smp.h&gt; included in non-SMP build"

Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Fixes: 3631073659d0 ("arm64: Tell irq work about self IPI support")
Reported-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Tested-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>arm64: Tell irq work about self IPI support</title>
<updated>2014-10-15T10:29:25Z</updated>
<author>
<name>Frederic Weisbecker</name>
</author>
<published>2014-08-16T16:48:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fd979860f7e04a9028f803b1a79099e05a60f579'/>
<id>urn:sha1:fd979860f7e04a9028f803b1a79099e05a60f579</id>
<content type='text'>
commit 3631073659d0aafeaa52227bb61a100efaf901dc upstream.

ARM64 irq work self-IPI support depends on __smp_cross_call to point to
some relevant IRQ controller operations. This information should be
available after the call to init_IRQ().

Lets implement arch_irq_work_has_interrupt() accordingly.

Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Acked-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Cc: Ingo Molnar &lt;mingo@kernel.org&gt;
Cc: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>irq_work: Introduce arch_irq_work_has_interrupt()</title>
<updated>2014-10-15T10:29:23Z</updated>
<author>
<name>Peter Zijlstra</name>
</author>
<published>2014-09-06T13:43:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b677a767bcb3b9fbb4c7f921e5ba9577f1577049'/>
<id>urn:sha1:b677a767bcb3b9fbb4c7f921e5ba9577f1577049</id>
<content type='text'>
commit c5c38ef3d70377dc504a6a3f611a3ec814bc757b upstream.

The nohz full code needs irq work to trigger its own interrupt so that
the subsystem can work even when the tick is stopped.

Lets introduce arch_irq_work_has_interrupt() that archs can override to
tell about their support for this ability.

Signed-off-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Ingo Molnar &lt;mingo@kernel.org&gt;
Cc: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>arm64: report correct stack pointer in KSTK_ESP for compat tasks</title>
<updated>2014-08-29T15:11:10Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2014-08-29T15:11:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3168a743461ecf86adf3e7dcfcd79271828fb263'/>
<id>urn:sha1:3168a743461ecf86adf3e7dcfcd79271828fb263</id>
<content type='text'>
The KSTK_ESP macro is used to determine the user stack pointer for a
given task. In particular, this is used to to report the '[stack]' VMA
in /proc/self/maps, which is used by Android to determine the stack
location for children of the main thread.

This patch fixes the macro to use user_stack_pointer instead of directly
returning sp. This means that we report w13 instead of sp, since the
former is used as the stack pointer when executing in AArch32 state.

Cc: &lt;stable@vger.kernel.org&gt;
Reported-by: Serban Constantinescu &lt;Serban.Constantinescu@arm.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64: Add brackets around user_stack_pointer()</title>
<updated>2014-08-29T15:11:00Z</updated>
<author>
<name>Catalin Marinas</name>
</author>
<published>2014-08-29T15:08:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2520d039728b2a3c5ae7f79fe2a0e9d182855b12'/>
<id>urn:sha1:2520d039728b2a3c5ae7f79fe2a0e9d182855b12</id>
<content type='text'>
Commit 5f888a1d33 (ARM64: perf: support dwarf unwinding in compat mode)
changes user_stack_pointer() to return the compat SP for 32-bit tasks
but without brackets around the whole definition, with possible issues
on the call sites (noticed with a subsequent fix for KSTK_ESP).

Fixes: 5f888a1d33c4 (ARM64: perf: support dwarf unwinding in compat mode)
Reported-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64: ptrace: fix compat hardware watchpoint reporting</title>
<updated>2014-08-28T19:01:36Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2014-08-22T13:13:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=27d7ff273c2aad37b28f6ff0cab2cfa35b51e648'/>
<id>urn:sha1:27d7ff273c2aad37b28f6ff0cab2cfa35b51e648</id>
<content type='text'>
I'm not sure what I was on when I wrote this, but when iterating over
the hardware watchpoint array (hbp_watch_array), our index is off by
ARM_MAX_BRP, so we walk off the end of our thread_struct...

... except, a dodgy condition in the loop means that it never executes
at all (bp cannot be NULL).

This patch fixes the code so that we remove the bp check and use the
correct index for accessing the watchpoint structures.

Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64: mm: update max pa bits to 48</title>
<updated>2014-08-19T19:23:02Z</updated>
<author>
<name>Ganapatrao Kulkarni</name>
</author>
<published>2014-08-14T15:19:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=07a15dd55a3d65f81b4b09eab293f4afc720b082'/>
<id>urn:sha1:07a15dd55a3d65f81b4b09eab293f4afc720b082</id>
<content type='text'>
Now that we support 48-bit physical addressing, update MAX_PHYSMEM_BITS
accordingly.

Acked-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Ganapatrao Kulkarni &lt;ganapatrao.kulkarni@caviumnetworks.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64: compat: wire up memfd_create and getrandom syscalls for aarch32</title>
<updated>2014-08-18T18:47:04Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2014-08-11T13:23:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a97a42c47608d0bb6f2dfc2e162cc84a27beb43a'/>
<id>urn:sha1:a97a42c47608d0bb6f2dfc2e162cc84a27beb43a</id>
<content type='text'>
arch/arm/ just grew support for the new memfd_create and getrandom
syscalls, so add them to our compat layer too.

Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
</feed>
