linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] ARM: mach-shmobile: fix compile warning in mm/init.c
Date: Fri, 17 Dec 2010 10:42:41 +0000	[thread overview]
Message-ID: <20101217104241.GG20847@linux-sh.org> (raw)
In-Reply-To: <20101215105924.23413.34629.sendpatchset@t400s>

On Wed, Dec 15, 2010 at 07:59:24PM +0900, Magnus Damm wrote:
> Turn down the warning noise from the compiler,
> basically a SH-Mobile specific version of the
> patch located in the RMK patch tracker:
> 
> 6484/1: "fix compile warning in mm/init.c",
> 
> Without this patch the following warning triggers:
> 
>  CC      arch/arm/kernel/sys_arm.o
> arch/arm/mm/init.c: In function 'mem_init':
> arch/arm/mm/init.c:606: warning: format '%08lx' expects type 'long unsigned int', but argument 12 has type 'unsigned int'
>   CC      arch/arm/kernel/traps.o

On Fri, Dec 17, 2010 at 03:15:48PM +0900, Magnus Damm wrote:
> Fix interrupt priority level handling on SH-Mobile ARM.
> 
> SH-Mobile ARM platforms using multiple interrupt priority
> levels need this patch to fix a potential dead lock that
> may occur if multiple interrupts with different levels
> are pending simultaneously.
> 
> The default INTC configuration is to use the same priority
> level for all interrupts, so this issue does not trigger by
> default. It is however common for board code to override the
> interrupt priority for certain interrupt sources depending
> on the application. Without this fix such boards may lock up.
> 
> In detail, this patch updates the INTC code in entry-macro.S
> to make sure that the INTLVLA register gets set as expected.
> 
> To trigger this bug modify the board specific code to adjust
> the interrupt priority level for the ethernet chip. After
> changing the priority level simply use flood ping to drown
> the board with interrupts.
> 
> This patch applies to INTCA-based processors such as sh7372,
> sh7377 and sh7372. GIC-based processors are not affected.
> 
> Suitable for v2.6.37-rc and stable from v2.6.34 to v2.6.36.

Both applied to rmobile/urgent, thanks.

      reply	other threads:[~2010-12-17 10:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15 10:59 [PATCH] ARM: mach-shmobile: fix compile warning in mm/init.c Magnus Damm
2010-12-17 10:42 ` Paul Mundt [this message]

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=20101217104241.GG20847@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@vger.kernel.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).