From: Tao Ren <taoren@fb.com>
To: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Re: [Potential Spoof] Increase ARCH_NR_GPIO for ARCH_ASPEED?
Date: Fri, 15 Feb 2019 01:06:29 +0000 [thread overview]
Message-ID: <d30c021d-8586-984e-a4f7-ce7cb88a1b11@fb.com> (raw)
In-Reply-To: <3d3df19e-ea5e-8086-34ec-5fa1b200a313@fb.com>
On 2/14/19 3:16 PM, Tao Ren wrote:
> Hi,
>
> I got following error while booting up openbmc linux 4.18 on Facebook YAMP BMC (ast2500 based), and it's because total 594 GPIO pins are provided by aspeed soc and i/o expanders on YAMP board:
>
> gpiochip_find_base: cannot find free range
> gpiochip_add_data_with_key: GPIOs 0..15 (pca9555) failed to register
>
> I'm wondering if it's good idea to increase ARCH_NR_GPIO default value to the "next level" (1024) for ARCH_ASPEED? If not, any other suggestions for this problem?
I forgot to mention the current value of ARCH_NR_GPIO for ARCH_ASPEED: it's 512 (but YAMP BMC provides 594 GPIO pins).
- Tao
next prev parent reply other threads:[~2019-02-15 1:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-14 23:16 Increase ARCH_NR_GPIO for ARCH_ASPEED? Tao Ren
2019-02-15 1:06 ` Tao Ren [this message]
2019-02-15 1:42 ` [Potential Spoof] " Andrew Jeffery
2019-02-15 2:01 ` Tao Ren
2019-02-18 2:47 ` Andrew Jeffery
2019-02-18 4:56 ` Tao Ren
2019-02-18 5:11 ` Andrew Jeffery
2019-02-20 0:12 ` Tao Ren
2019-02-20 0:15 ` Andrew Jeffery
2019-02-20 0:17 ` Tao Ren
2019-02-22 0:55 ` Tao Ren
2019-02-25 1:55 ` Andrew Jeffery
2019-02-25 19:04 ` Tao Ren
2019-02-25 23:32 ` Andrew Jeffery
2019-02-26 22:32 ` Tao Ren
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=d30c021d-8586-984e-a4f7-ce7cb88a1b11@fb.com \
--to=taoren@fb.com \
--cc=openbmc@lists.ozlabs.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.