All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bastian Hecht <hechtb@googlemail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] Use generic helper scu_power_mode()
Date: Thu, 25 Oct 2012 10:58:19 +0000	[thread overview]
Message-ID: <1351162702-8391-1-git-send-email-hechtb@gmail.com> (raw)
In-Reply-To: <1351068858-7255-1-git-send-email-hechtb@gmail.com>

Reposted to include the arch/arm mailing list.

The shmobile series implements its own code for setting the SCU power
register of the ARM MPCore. It uses 32-bit wide access and thus needs
locking as multiple CPUs might access it simultaneously for change. There is
already a small helper function that avoids the overhead by using 8-bit
wide access: As every CPU only accesses its own field we can drop the
lock and use it.

Bastian Hecht (3):
  ARM: shmobile: emev2: Replace modify_scu_cpu_psr with scu_power_mode
  ARM: shmobile: sh73a0: Replace modify_scu_cpu_psr with scu_power_mode
  ARM: shmobile: r8a7779: Replace modify_scu_cpu_psr with
    scu_power_mode

 arch/arm/mach-shmobile/smp-emev2.c   |   22 ++--------------------
 arch/arm/mach-shmobile/smp-r8a7779.c |   25 +++----------------------
 arch/arm/mach-shmobile/smp-sh73a0.c  |   23 ++---------------------
 3 files changed, 7 insertions(+), 63 deletions(-)

-- 
1.7.9.5


WARNING: multiple messages have this Message-ID (diff)
From: hechtb@googlemail.com (Bastian Hecht)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] Use generic helper scu_power_mode()
Date: Thu, 25 Oct 2012 12:58:19 +0200	[thread overview]
Message-ID: <1351162702-8391-1-git-send-email-hechtb@gmail.com> (raw)

Reposted to include the arch/arm mailing list.

The shmobile series implements its own code for setting the SCU power
register of the ARM MPCore. It uses 32-bit wide access and thus needs
locking as multiple CPUs might access it simultaneously for change. There is
already a small helper function that avoids the overhead by using 8-bit
wide access: As every CPU only accesses its own field we can drop the
lock and use it.

Bastian Hecht (3):
  ARM: shmobile: emev2: Replace modify_scu_cpu_psr with scu_power_mode
  ARM: shmobile: sh73a0: Replace modify_scu_cpu_psr with scu_power_mode
  ARM: shmobile: r8a7779: Replace modify_scu_cpu_psr with
    scu_power_mode

 arch/arm/mach-shmobile/smp-emev2.c   |   22 ++--------------------
 arch/arm/mach-shmobile/smp-r8a7779.c |   25 +++----------------------
 arch/arm/mach-shmobile/smp-sh73a0.c  |   23 ++---------------------
 3 files changed, 7 insertions(+), 63 deletions(-)

-- 
1.7.9.5

  parent reply	other threads:[~2012-10-25 10:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24  8:54 [PATCH 0/3] Use generic helper scu_power_mode() Bastian Hecht
2012-10-25  0:29 ` Simon Horman
2012-10-25 10:52 ` Bastian Hecht
2012-10-25 10:58 ` Bastian Hecht [this message]
2012-10-25 10:58   ` Bastian Hecht
2012-10-25 10:58   ` [PATCH 1/3] ARM: shmobile: emev2: Replace modify_scu_cpu_psr with scu_power_mode Bastian Hecht
2012-10-25 10:58     ` Bastian Hecht
2012-10-25 10:58   ` [PATCH 2/3] ARM: shmobile: sh73a0: " Bastian Hecht
2012-10-25 10:58     ` Bastian Hecht
2012-10-25 10:58   ` [PATCH 3/3] ARM: shmobile: r8a7779: " Bastian Hecht
2012-10-25 10:58     ` Bastian Hecht
2012-10-28  3:11   ` [PATCH 0/3] Use generic helper scu_power_mode() Simon Horman
2012-10-28  3:11     ` Simon Horman

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=1351162702-8391-1-git-send-email-hechtb@gmail.com \
    --to=hechtb@googlemail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.