linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: eric.y.miao@gmail.com (Eric Miao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/6] [ARM] pxa/cm-x2xx: encode IRQ number into .nr_irqs
Date: Tue, 25 May 2010 17:14:23 +0800	[thread overview]
Message-ID: <AANLkTikOpWUTzBstbsPuwlbd2J2PaqQ8L1IIUbMLOa53@mail.gmail.com> (raw)
In-Reply-To: <4BFB8C1C.5000408@compulab.co.il>

On Tue, May 25, 2010 at 4:36 PM, Mike Rapoport <mike@compulab.co.il> wrote:
> Hi Eric,
>
> Eric Miao wrote:
>>
>> Should be in my irq_cleanup branch, test welcome
>
> works with the below patch on top your irq_cleanup branch:
>

Thanks Mike, looks like a fix. You mind if I merge this into the previous patch
with your Signed-off-by?

> -
> From: Mike Rapoport <mike@compulab.co.il>
> Date: Tue, 25 May 2010 11:28:08 +0300
> Subject: [PATCH] [ARM] it8152: update interrupts numbering to work with
> sparse irqs
>
> Signed-off-by: Mike Rapoport <mike@compulab.co.il>
> ---
> ?arch/arm/include/asm/hardware/it8152.h | ? ?3 ++-
> ?1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/include/asm/hardware/it8152.h
> b/arch/arm/include/asm/hardware/it8152.h
> index 6700c7f..b2f95c7 100644
> --- a/arch/arm/include/asm/hardware/it8152.h
> +++ b/arch/arm/include/asm/hardware/it8152.h
> @@ -75,7 +75,8 @@ extern unsigned long it8152_base_address;
> ? IT8152_PD_IRQ(1) ?USB (USBR)
> ? IT8152_PD_IRQ(0) ?Audio controller (ACR)
> ?*/
> -#define IT8152_IRQ(x) ? (IRQ_BOARD_END + (x))
> +#define IT8152_IRQ(x) ? (IRQ_BOARD_START + (x))
> +#define IT8152_LAST_IRQ ? ? ? ?(IRQ_BOARD_START + 40)
>
> ?/* IRQ-sources in 3 groups - local devices, LPC (serial), and external PCI
> */
> ?#define IT8152_LD_IRQ_COUNT ? ? 9
> --
> 1.6.4.4
>
>>> On May 24, 2010 3:34 PM, "Mike Rapoport" <mike@compulab.co.il
>>> <mailto:mike@compulab.co.il>> wrote:
>>>
>>> Hi Eric,
>>>
>>>
>>>
>>> Eric Miao wrote:
>>> >
>>> > Cc: Mike Rapoport <mike at compulab.co.il <mailto:mike@compulab.co.il>>
>>> > Signed-off-by: Eric Miao <eric.y.mi...
>>>
>>> Looks Ok to me. Do you have a tree I can pull to test your changes?
>>>
>>>
>>>
>>> > diff --git a/arch/arm/mach-pxa/cm-x2xx-pci.h
>>> > b/arch/arm/mach-pxa/cm-x2xx-pci.h
>>> > index e24aad2.....
>>>
>>> Sincerely yours,
>>> Mike.
>>
>
>
> --
> Sincerely yours,
> Mike.
>
>
> From ec3ae629d9844ea5f6d7588ca7451377e640a960 Mon Sep 17 00:00:00 2001
> From: Mike Rapoport <mike@compulab.co.il>
> Date: Tue, 25 May 2010 11:28:08 +0300
> Subject: [PATCH] [ARM] it8152: update interrupts numbering to work with
> sparse irqs
>
> Signed-off-by: Mike Rapoport <mike@compulab.co.il>
> ---
> ?arch/arm/include/asm/hardware/it8152.h | ? ?3 ++-
> ?1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/include/asm/hardware/it8152.h
> b/arch/arm/include/asm/hardware/it8152.h
> index 6700c7f..b2f95c7 100644
> --- a/arch/arm/include/asm/hardware/it8152.h
> +++ b/arch/arm/include/asm/hardware/it8152.h
> @@ -75,7 +75,8 @@ extern unsigned long it8152_base_address;
> ? IT8152_PD_IRQ(1) ?USB (USBR)
> ? IT8152_PD_IRQ(0) ?Audio controller (ACR)
> ?*/
> -#define IT8152_IRQ(x) ? (IRQ_BOARD_END + (x))
> +#define IT8152_IRQ(x) ? (IRQ_BOARD_START + (x))
> +#define IT8152_LAST_IRQ ? ? ? ?(IRQ_BOARD_START + 40)
>
> ?/* IRQ-sources in 3 groups - local devices, LPC (serial), and external PCI
> */
> ?#define IT8152_LD_IRQ_COUNT ? ? 9
> --
> 1.6.4.4
>
>
>

  reply	other threads:[~2010-05-25  9:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-24  6:35 [PATCH 0/6] pxa: encode IRQ number into .nr_irqs (SPARSE IRQ) Eric Miao
2010-05-24  6:35 ` [PATCH 1/6] [ARM] pxa: select SPARSE_IRQ by default Eric Miao
2010-05-24  6:35 ` [PATCH 2/6] [ARM] pxa: encode IRQ number into .nr_irqs Eric Miao
2010-05-24  6:35 ` [PATCH 3/6] [ARM] pxa/hx4700: " Eric Miao
2010-05-24  6:35 ` [PATCH 4/6] [ARM] pxa/ezx: " Eric Miao
2010-05-24  6:35 ` [PATCH 5/6] [ARM] pxa/balloon3: encode number of IRQ " Eric Miao
2010-05-24  6:35 ` [PATCH 6/6] [ARM] pxa/cm-x2xx: encode IRQ number " Eric Miao
2010-05-24  7:33   ` Mike Rapoport
2010-05-24  7:53     ` Eric Miao
2010-05-25  8:36       ` Mike Rapoport
2010-05-25  9:14         ` Eric Miao [this message]
2010-05-25 10:03           ` Mike Rapoport

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=AANLkTikOpWUTzBstbsPuwlbd2J2PaqQ8L1IIUbMLOa53@mail.gmail.com \
    --to=eric.y.miao@gmail.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).