linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: santosh.shilimkar@ti.com (Santosh Shilimkar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 22/22] ARM: SMP: remove smp_mpidr.h
Date: Mon, 6 Dec 2010 16:17:42 +0530	[thread overview]
Message-ID: <9bef4fc88a98140aac3db389a9f4f0cc@mail.gmail.com> (raw)
In-Reply-To: <20101206103207.GF29563@n2100.arm.linux.org.uk>

> -----Original Message-----
> From: Russell King - ARM Linux [mailto:linux at arm.linux.org.uk]
> Sent: Monday, December 06, 2010 4:02 PM
> To: Santosh Shilimkar
> Cc: linux-arm-kernel at lists.infradead.org; Catalin Marinas
> Subject: Re: [PATCH 22/22] ARM: SMP: remove smp_mpidr.h
>
> On Mon, Dec 06, 2010 at 03:02:09PM +0530, Santosh Shilimkar wrote:
> > Russell,
> > > -----Original Message-----
> > > From: linux-arm-kernel-bounces at lists.infradead.org
[mailto:linux-arm-
> > > kernel-bounces at lists.infradead.org] On Behalf Of Russell King - ARM
> > Linux
> > > Sent: Saturday, December 04, 2010 1:56 AM
> > > To: linux-arm-kernel at lists.infradead.org; Catalin Marinas
> > > Subject: [PATCH 22/22] ARM: SMP: remove smp_mpidr.h
> > >
> > > With "ARM: CPU hotplug: remove bug checks in platform_cpu_die()", we
> > > now do not use hard_smp_processor_id(), we no longer need to read
the
> > > hardware processor ID.  Remove the include providing this function.
> > >
> > hard_smp_processor_id() is also useful when wakeup from low power
> > modes and wants to run specific restore code on specific
> > CPUs. Ofcourse platform have it's own custome macro, but having
> > ARM generic is better.
>
> Maybe, but there's no code in the kernel making use of it.  Also note
> that there is a tendency to compare the kernel's CPU numbers (which are
> the logical numbers) with hard_smp_processor_id() (the physical number)
> which may not always be the same thing.
Agree. May be we can add it when the need arises.

  reply	other threads:[~2010-12-06 10:47 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03 20:07 [PATCH 0/22] More SMP cleanup Russell King - ARM Linux
2010-12-03 20:19 ` [PATCH 01/22] ARM: remove obsolete smp_cross_call_done() Russell King - ARM Linux
2010-12-03 20:19 ` [PATCH 02/22] ARM: SMP: pass an ipi number to smp_cross_call() Russell King - ARM Linux
2010-12-03 20:19 ` [PATCH 03/22] ARM: SMP: avoid using bitmasks and locks for IPIs, use hardware instead Russell King - ARM Linux
2010-12-03 20:20 ` [PATCH 04/22] ARM: SMP: remove IRQ-disabling for smp_cross_call() Russell King - ARM Linux
2010-12-03 20:20 ` [PATCH 05/22] ARM: include local timer irq stats only when local timers configured Russell King - ARM Linux
2010-12-03 20:20 ` [PATCH 06/22] ARM: SMP: provide accessors for irq_stat data Russell King - ARM Linux
2010-12-03 20:21 ` [PATCH 07/22] ARM: SMP: move ipi_count into irq_stat structure Russell King - ARM Linux
2010-12-03 20:21 ` [PATCH 08/22] ARM: fix /proc/interrupts formatting Russell King - ARM Linux
2010-12-03 20:21 ` [PATCH 09/22] ARM: SMP: provide individual IPI interrupt statistics Russell King - ARM Linux
2010-12-03 20:22 ` [PATCH 10/22] ARM: SMP: collect IPI and local timer IRQs for /proc/stat Russell King - ARM Linux
2010-12-03 20:22 ` [PATCH 11/22] ARM: SMP: use more sane register allocation for __fixup_smp_on_up Russell King - ARM Linux
2010-12-03 20:23 ` [PATCH 12/22] ARM: SMP: ensure smp_send_stop() waits for CPUs to stop Russell King - ARM Linux
2010-12-03 20:23 ` [PATCH 13/22] ARM: SMP: move CPU number sanity checks to smp_init_cpus() Russell King - ARM Linux
2010-12-03 20:23 ` [PATCH 14/22] ARM: SMP: Clean up ncores sanity checks Russell King - ARM Linux
2010-12-03 20:24 ` [PATCH 15/22] ARM: SMP: get rid of get_core_count() Russell King - ARM Linux
2010-12-03 20:24 ` [PATCH 16/22] ARM: SMP: get rid of references to poke_milo and Milo Russell King - ARM Linux
2010-12-03 20:24 ` [PATCH 17/22] ARM: SMP: consolidate the common parts of smp_prepare_cpus() Russell King - ARM Linux
2010-12-03 20:25 ` [PATCH 18/22] ARM: SMP: consolidate trace_hardirqs_off() into common SMP code Russell King - ARM Linux
2010-12-03 20:25 ` [PATCH 19/22] ARM: CPU hotplug: move cpu_killed completion to core code Russell King - ARM Linux
2010-12-03 20:25 ` [PATCH 20/22] ARM: CPU hotplug: remove bug checks in platform_cpu_die() Russell King - ARM Linux
2010-12-03 20:26 ` [PATCH 21/22] ARM: CPU hotplug: ensure correct ordering of unplug Russell King - ARM Linux
2010-12-06 18:13   ` Catalin Marinas
2010-12-06 18:46     ` Russell King - ARM Linux
2010-12-06 18:54       ` Catalin Marinas
2010-12-03 20:26 ` [PATCH 22/22] ARM: SMP: remove smp_mpidr.h Russell King - ARM Linux
2010-12-06  9:32   ` Santosh Shilimkar
2010-12-06 10:32     ` Russell King - ARM Linux
2010-12-06 10:47       ` Santosh Shilimkar [this message]
2010-12-03 20:37 ` [PATCH 0/22] More SMP cleanup Russell King - ARM Linux
2010-12-03 21:54 ` Daniel Walker
2010-12-03 22:02   ` Russell King - ARM Linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9bef4fc88a98140aac3db389a9f4f0cc@mail.gmail.com \
    --to=santosh.shilimkar@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).