linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: haojian.zhuang@gmail.com (Haojian Zhuang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pxa/hx4700: Fix PXA_GPIO_IRQ_BASE/IRQ_NUM values
Date: Wed, 4 Jan 2012 14:41:47 +0800	[thread overview]
Message-ID: <CAN1soZzeJi=QKCz4zuUk0LRyWFfACtq363QnqxO9D0RdUGTbxw@mail.gmail.com> (raw)
In-Reply-To: <20111222194907.GA29166@rainbow>

On Fri, Dec 23, 2011 at 3:49 AM, Dmitry Artamonow <mad_soft@inbox.ru> wrote:
> On 13:58 Thu 22 Dec ? ? , Haojian Zhuang wrote:
>> On Thu, Dec 22, 2011 at 3:19 AM, Dmitry Artamonow <mad_soft@inbox.ru> wrote:
>> >
>> > Yes, I also think increasing ARCH_NR_GPIO is the way to go.
>> > BTW, there's a patchset floating around which moves such custom
>> > settings of ARCH_NR_GPIO from mach/gpio.h into Kconfig variable:
>> > http://lkml.indiana.edu/hypermail/linux/kernel/1111.0/01433.html
>> >
>> > I'm not sure though if it's going to be merged into 3.3
>> >
>> I think configuring ARCH_NR_GPIO is not a good solution. Since
>> building one image
>> is a target. While multiple archs are built together, what will happen?
>
> Setting custom ARCH_NR_GPIO in mach/gpio.h does scale only inside one
> sub-arch, but the patch from the set above which migrates ARCH_NR_GPIO to
> arch/arm/include/asm/gpio.h and converts it into Kconfig variable should
> help to select proper ARCH_NR_GPIO even for multi-arch kernels
> (Kconfig's magic will ensure that proper maximal value of ARCH_NR_GPIO
> is selected for each combination of platforms)
>
> See the patch here:
> http://lkml.indiana.edu/hypermail/linux/kernel/1111.0/01431.html
>
> and Russell's explanation of Kconfig magic here:
> http://lkml.indiana.edu/hypermail/linux/kernel/1111.0/01577.html
>

Excuse me to response so late.

Russell,

Since I failed to access your git tree, I can't verity whether the ARCH_NR_GPIO
patch set is merged into your tree. Could you help to confirm this?

Best Regards
Haojian

  reply	other threads:[~2012-01-04  6:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12 22:21 [PATCH] pxa/hx4700: Fix PXA_GPIO_IRQ_BASE/IRQ_NUM values Paul Parsons
2011-12-21 14:12 ` Philipp Zabel
2011-12-21 19:19   ` Dmitry Artamonow
2011-12-22  5:58     ` Haojian Zhuang
2011-12-22 19:49       ` Dmitry Artamonow
2012-01-04  6:41         ` Haojian Zhuang [this message]
2012-01-04  9:17           ` Russell King - ARM Linux
2012-01-05  0:21             ` Haojian Zhuang

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='CAN1soZzeJi=QKCz4zuUk0LRyWFfACtq363QnqxO9D0RdUGTbxw@mail.gmail.com' \
    --to=haojian.zhuang@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).