<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm64/kernel/smp.c, branch linux-3.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-11-25T16:44:05Z</updated>
<entry>
<title>arm64: Unmask asynchronous aborts when in kernel mode</title>
<updated>2013-11-25T16:44:05Z</updated>
<author>
<name>Catalin Marinas</name>
</author>
<published>2013-11-21T14:46:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b3bf6aa7e79117419f7eddccf0b7af4382d823c3'/>
<id>urn:sha1:b3bf6aa7e79117419f7eddccf0b7af4382d823c3</id>
<content type='text'>
The asynchronous aborts are generally fatal for the kernel but they can
be masked via the pstate A bit. If a system error happens while in
kernel mode, it won't be visible until returning to user space. This
patch enables this kind of abort early to help identifying the cause.

Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
</entry>
<entry>
<title>ARM64: /proc/interrupts: display IPIs of online CPUs only</title>
<updated>2013-11-07T17:26:54Z</updated>
<author>
<name>Sudeep KarkadaNagesha</name>
</author>
<published>2013-11-07T15:25:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=67317c2689567c24d18e0dd43ab6d409fd42dc6e'/>
<id>urn:sha1:67317c2689567c24d18e0dd43ab6d409fd42dc6e</id>
<content type='text'>
The non-IPI interrupts are displayed only for the online cpus from
show_interrupts in kernel/irq/proc.c before calling arch_show_interrupts().
As a result, the column headers and the IPI count don't match if any
CPU is offline.

This patch fixes show_ipi_list to display IPIs for online CPUs only.

Signed-off-by: Sudeep KarkadaNagesha &lt;sudeep.karkadanagesha@arm.com&gt;
Cc: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64: move enabling of GIC before CPUs are set online</title>
<updated>2013-11-04T18:18:05Z</updated>
<author>
<name>Marc Zyngier</name>
</author>
<published>2013-11-04T16:55:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ade67b5984d0a0434462fda733ab5138c63aae1'/>
<id>urn:sha1:7ade67b5984d0a0434462fda733ab5138c63aae1</id>
<content type='text'>
Commit 53ae3acd (arm64: Only enable local interrupts after the CPU
is marked online) moved the enabling of the GIC after the CPUs are
marked online.

This has some interesting effect:
[...]
[&lt;ffffffc0002eefd8&gt;] gic_raise_softirq+0xf8/0x160
[&lt;ffffffc000088f58&gt;] smp_send_reschedule+0x38/0x40
[&lt;ffffffc0000c8728&gt;] resched_task+0x84/0xc0
[&lt;ffffffc0000c8cdc&gt;] check_preempt_curr+0x58/0x98
[&lt;ffffffc0000c8d38&gt;] ttwu_do_wakeup+0x1c/0xf4
[&lt;ffffffc0000c8f90&gt;] ttwu_do_activate.constprop.84+0x64/0x70
[&lt;ffffffc0000cad30&gt;] try_to_wake_up+0x1d4/0x2b4
[&lt;ffffffc0000cae6c&gt;] default_wake_function+0x10/0x18
[&lt;ffffffc0000c5ca4&gt;] __wake_up_common+0x60/0xa0
[&lt;ffffffc0000c7784&gt;] complete+0x48/0x64
[&lt;ffffffc000088bec&gt;] secondary_start_kernel+0xe8/0x110
[...]

Here, we end-up calling gic_raise_softirq without having initialized
the interrupt controller for this CPU. While this goes unnoticed
with GICv2 (the distributor is always accessible), it explodes with
GICv3.

The fix is to move the call to notify_cpu_starting before we set
the secondary CPU online.

Signed-off-by: Marc Zyngier &lt;marc.zyngier@arm.com&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64: add CPU_HOTPLUG infrastructure</title>
<updated>2013-10-25T10:33:21Z</updated>
<author>
<name>Mark Rutland</name>
</author>
<published>2013-10-24T19:30:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9327e2c6bb8cb0131b38a07847cd58c78dc095e9'/>
<id>urn:sha1:9327e2c6bb8cb0131b38a07847cd58c78dc095e9</id>
<content type='text'>
This patch adds the basic infrastructure necessary to support
CPU_HOTPLUG on arm64, based on the arm implementation. Actual hotplug
support will depend on an implementation's cpu_operations (e.g. PSCI).

Signed-off-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64: read enable-method for CPU0</title>
<updated>2013-10-25T10:33:20Z</updated>
<author>
<name>Mark Rutland</name>
</author>
<published>2013-10-24T19:30:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e8765b265a69c83504afc6901d6e137b1811d1f0'/>
<id>urn:sha1:e8765b265a69c83504afc6901d6e137b1811d1f0</id>
<content type='text'>
With the advent of CPU_HOTPLUG, the enable-method property for CPU0 may
tells us something useful (i.e. how to hotplug it back on), so we must
read it along with all the enable-method for all the other CPUs.  Even
on UP the enable-method may tell us useful information (e.g. if a core
has some mechanism that might be usable for cpuidle), so we should
always read it.

This patch factors out the reading of the enable method, and ensures
that CPU0's enable method is read regardless of whether the kernel is
built with SMP support.

Signed-off-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64: factor out spin-table boot method</title>
<updated>2013-10-25T10:33:20Z</updated>
<author>
<name>Mark Rutland</name>
</author>
<published>2013-10-24T19:30:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=652af899799354049b273af897b798b8f03fdd88'/>
<id>urn:sha1:652af899799354049b273af897b798b8f03fdd88</id>
<content type='text'>
The arm64 kernel has an internal holding pen, which is necessary for
some systems where we can't bring CPUs online individually and must hold
multiple CPUs in a safe area until the kernel is able to handle them.
The current SMP infrastructure for arm64 is closely coupled to this
holding pen, and alternative boot methods must launch CPUs into the pen,
where they sit before they are launched into the kernel proper.

With PSCI (and possibly other future boot methods), we can bring CPUs
online individually, and need not perform the secondary_holding_pen
dance. Instead, this patch factors the holding pen management code out
to the spin-table boot method code, as it is the only boot method
requiring the pen.

A new entry point for secondaries, secondary_entry is added for other
boot methods to use, which bypasses the holding pen and its associated
overhead when bringing CPUs online. The smp.pen.text section is also
removed, as the pen can live in head.text without problem.

The cpu_operations structure is extended with two new functions,
cpu_boot and cpu_postboot, for bringing a cpu into the kernel and
performing any post-boot cleanup required by a bootmethod (e.g.
resetting the secondary_holding_pen_release to INVALID_HWID).
Documentation is added for cpu_operations.

Signed-off-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64: reorganise smp_enable_ops</title>
<updated>2013-10-25T10:33:20Z</updated>
<author>
<name>Mark Rutland</name>
</author>
<published>2013-10-24T19:30:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd1aebf5277a3a154a9e4c0ea4b3acabb62e5cab'/>
<id>urn:sha1:cd1aebf5277a3a154a9e4c0ea4b3acabb62e5cab</id>
<content type='text'>
For hotplug support, we're going to want a place to store operations
that do more than bring CPUs online, and it makes sense to group these
with our current smp_enable_ops. For cpuidle support, we'll want to
group additional functions, and we may want them even for UP kernels.

This patch renames smp_enable_ops to the more general cpu_operations,
and pulls the definitions out of smp code such that they can be used in
UP kernels. While we're at it, fix up instances of the cpu parameter to
be an unsigned int, drop the init markings and rename the *_cpu
functions to cpu_* to reduce future churn when cpu_operations is
extended.

Signed-off-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64: delay: don't bother reporting bogomips in /proc/cpuinfo</title>
<updated>2013-08-30T17:47:07Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2013-08-30T17:06:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=326b16db9f69fd0d279be873c6c00f88c0a4aad5'/>
<id>urn:sha1:326b16db9f69fd0d279be873c6c00f88c0a4aad5</id>
<content type='text'>
We always use a timer-backed delay loop for arm64, so don't bother
reporting a bogomips value which appears to confuse some people.

Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'arm64-stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64</title>
<updated>2013-07-19T22:08:53Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2013-07-19T22:08:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89d0abe3d695103505c025dde6e07b9c3dd772f4'/>
<id>urn:sha1:89d0abe3d695103505c025dde6e07b9c3dd772f4</id>
<content type='text'>
Pull arm64 fixes from Catalin Marinas:
 - Post -rc1 update to the common reboot infrastructure.
 - Fixes (user cache maintenance fault handling, !COMPAT compilation,
   CPU online and interrupt hanlding).

* tag 'arm64-stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64:
  arm64: use common reboot infrastructure
  arm64: mm: don't treat user cache maintenance faults as writes
  arm64: add '#ifdef CONFIG_COMPAT' for aarch32_break_handler()
  arm64: Only enable local interrupts after the CPU is marked online
</content>
</entry>
<entry>
<title>arm64: Only enable local interrupts after the CPU is marked online</title>
<updated>2013-07-19T14:49:42Z</updated>
<author>
<name>Catalin Marinas</name>
</author>
<published>2013-07-19T14:08:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=53ae3acd4390ffeecb3a11dbd5be347b5a3d98f2'/>
<id>urn:sha1:53ae3acd4390ffeecb3a11dbd5be347b5a3d98f2</id>
<content type='text'>
There is a slight chance that (timer) interrupts are triggered before a
secondary CPU has been marked online with implications on softirq thread
affinity.

Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Reported-by: Kirill Tkhai &lt;tkhai@yandex.ru&gt;
</content>
</entry>
</feed>
