From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Anders Roxell <anders.roxell@linaro.org>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>,
Linus Walleij <linus.walleij@linaro.org>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
Kent Gibson <warthog618@gmail.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-acpi@vger.kernel.org,
Bartosz Golaszewski <bgolaszewski@baylibre.com>,
lkft-triage@lists.linaro.org,
Linux-Next Mailing List <linux-next@vger.kernel.org>,
Stephen Rothwell <sfr@canb.auug.org.au>
Subject: Re: [PATCH 0/3] gpiolib: generalize GPIO line names property
Date: Tue, 15 Sep 2020 16:12:28 +0300 [thread overview]
Message-ID: <20200915131228.GX3956970@smile.fi.intel.com> (raw)
In-Reply-To: <CADYN=9+3kHG0CexzZiMQoXdF2piN2ZhOTObhY=7VCKrnFVN0Kw@mail.gmail.com>
On Tue, Sep 15, 2020 at 02:01:56PM +0200, Anders Roxell wrote:
> On Tue, 8 Sep 2020 at 18:40, Bartosz Golaszewski <brgl@bgdev.pl> wrote:
> >
> > From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> >
> > I initially sent this as part of the gpio-mockup overhaul but since
> > these patches are indepentent and the work on gpio-mockup may become
> > more complicated - I'm sending these separately.
> >
> > The only change is adding additional property helpers to count strings
> > in array.
> >
> > Bartosz Golaszewski (3):
> > device: property: add helpers to count items in string arrays
> > gpiolib: generalize devprop_gpiochip_set_names() for device properties
> > gpiolib: unexport devprop_gpiochip_set_names()
Ha-ha, OF unittest is of_node centric. definitely there is no backed device.
Bart, it seems we are stuck with fwnode interface.
> [ 6186.379069][ T1] device_property_read_string_array+0x40/0xa0
> [ 6186.381741][ T1] devprop_gpiochip_set_names.isra.0+0x4c/0x200
> [ 6186.384394][ T1] gpiochip_add_data_with_key+0x75c/0xf80
> [ 6186.386876][ T1] unittest_gpio_probe+0xf4/0x1e0
> [ 6186.433241][ T1] Unable to handle kernel read from unreadable
> memory at virtual address 0000000000000570
> [ 6186.437207][ T1] Mem abort info:
> [ 6186.438639][ T1] ESR = 0x96000004
> [ 6186.440536][ T1] EC = 0x25: DABT (current EL), IL = 32 bits
> [ 6186.442791][ T1] SET = 0, FnV = 0
> [ 6186.444660][ T1] EA = 0, S1PTW = 0
> [ 6186.446233][ T1] Data abort info:
> [ 6186.447938][ T1] ISV = 0, ISS = 0x00000004
> [ 6186.449749][ T1] CM = 0, WnR = 0
> [ 6186.451222][ T1] [0000000000000570] user address but active_mm is swapper
> [ 6186.454000][ T1] Internal error: Oops: 96000004 [#1] PREEMPT SMP
> [ 6186.456422][ T1] Modules linked in:
> [ 6186.458232][ T1] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G B
> W 5.9.0-rc5-next-20200915-00006-g104c8fe4916b #1
> [ 6186.462833][ T1] Hardware name: linux,dummy-virt (DT)
> [ 6186.465170][ T1] pstate: 60400005 (nZCv daif +PAN -UAO BTYPE=--)
> [ 6186.467910][ T1] pc : device_property_read_string_array+0x40/0xa0
> [ 6186.470653][ T1] lr : device_property_read_string_array+0x40/0xa0
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2020-09-15 13:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200908125813.8809-1-brgl@bgdev.pl>
2020-09-15 12:01 ` [PATCH 0/3] gpiolib: generalize GPIO line names property Anders Roxell
2020-09-15 13:12 ` Andy Shevchenko [this message]
2020-09-15 13:16 ` Bartosz Golaszewski
2020-09-15 15:16 ` Andy Shevchenko
[not found] ` <20200915131648.GY3956970@smile.fi.intel.com>
2020-09-15 16:03 ` Bartosz Golaszewski
2020-09-16 13:29 ` Bartosz Golaszewski
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=20200915131228.GX3956970@smile.fi.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=anders.roxell@linaro.org \
--cc=bgolaszewski@baylibre.com \
--cc=brgl@bgdev.pl \
--cc=gregkh@linuxfoundation.org \
--cc=linus.walleij@linaro.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=lkft-triage@lists.linaro.org \
--cc=mika.westerberg@linux.intel.com \
--cc=sfr@canb.auug.org.au \
--cc=warthog618@gmail.com \
/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