linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jarkko Nikula <jarkko.nikula@bitmer.com>
To: Mark Brown <broonie@kernel.org>, Sebastian Reichel <sre@kernel.org>
Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-omap@vger.kernel.org, Michael Welling <mwelling@ieee.org>,
	Tony Lindgren <tony@atomide.com>
Subject: Re: [PATCH] spi: omap2-mcspi: add runtime PM to set_cs()
Date: Sun, 30 Aug 2015 17:45:21 +0300	[thread overview]
Message-ID: <55E31701.7050807@bitmer.com> (raw)
In-Reply-To: <20150724163946.GN11162@sirena.org.uk>

Hi

On 07/24/2015 07:39 PM, Mark Brown wrote:
> On Wed, Jul 22, 2015 at 08:46:09PM +0200, Sebastian Reichel wrote:
>> Since commit ddcad7e9068eb omap2_mcspi_set_cs() is called without
>> runtime power management requested. Thus the below kernel oops may be
>> generated if a device is accessed after the runtime power management
>> timeout. This patch fixes the problem by requesting runtime power
>> management in omap2_mcspi_set_cs().
>>
>> [   13.933959] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa09802c
>> [   13.940490] pgd = cfb38000
>> [   13.946594] [fa09802c] *pgd=48011452(bad)
>> [   13.952758] Internal error: : 1028 [#1] PREEMPT ARM
>> [   13.958862] Modules linked in: tsc2005(+) omap_sham twl4030_wdt omap_wdt
>> [   13.965332] CPU: 0 PID: 183 Comm: modprobe Not tainted 4.2.0-rc1+ #363
>> [   13.971801] Hardware name: Nokia RX-51 board
>> [   13.978302] task: cf572300 ti: cb1f2000 task.ti: cb1f2000
>> [   13.984924] PC is at omap2_mcspi_set_cs+0x44/0x4c
>> [   13.991485] LR is at spi_set_cs+0x5c/0x60
> 
> Please don't paste entire backtraces into commit messages, they are very
> large and almost entirely noise (for example in this case the entire
> explanation is in the commit message itself).  If you feel a backtrace
> helps clarify things then please present an *edited* highlight of the
> relevant sections.
> present
> 
Is there update to this patch? I don't see such in 4.2.0-rc8+. I hit
this same issue on Nokia N900 WLAN (CONFIG_WL1251=m and
CONFIG_WL1251_SPI=m) and googling lead to this patch which made the WLAN
working.

If you are going to resend this, please feel free to add my tested by:

Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com>

  reply	other threads:[~2015-08-30 14:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22 18:46 [PATCH] spi: omap2-mcspi: add runtime PM to set_cs() Sebastian Reichel
     [not found] ` <1437590769-14632-1-git-send-email-sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-07-22 23:15   ` Michael Welling
2015-07-24 16:39   ` Mark Brown
2015-08-30 14:45     ` Jarkko Nikula [this message]
2015-08-30 16:44       ` Michael Welling
2015-08-31  8:53         ` Mark Brown
     [not found]           ` <20150831085355.GF12027-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-08-31 13:46             ` Michael Welling
2015-08-31 14:25               ` Mark Brown
2015-07-24 17:29   ` Applied "spi: omap2-mcspi: add runtime PM to set_cs()" to the spi tree Mark Brown

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=55E31701.7050807@bitmer.com \
    --to=jarkko.nikula@bitmer.com \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=mwelling@ieee.org \
    --cc=sre@kernel.org \
    --cc=tony@atomide.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;
as well as URLs for NNTP newsgroup(s).