All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Anatol Pomozov <anatol.pomozov@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	Mathias Nyman <mathias.nyman@linux.intel.com>,
	"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	Matt DeVillier <matt.devillier@gmail.com>
Subject: Re: NULL pointer dereference when 'rmmod gpio_lynxpoint'
Date: Wed, 11 May 2016 17:02:33 +0300	[thread overview]
Message-ID: <20160511140233.GQ1713@lahna.fi.intel.com> (raw)
In-Reply-To: <CAOMFOmWTvH0ObHjnBAbKkew79oFN4OMrjou5x6V1HRc=CnP91w@mail.gmail.com>

On Wed, May 11, 2016 at 07:00:18AM -0700, Anatol Pomozov wrote:
>    Hi
>    I tried to read the gpio handling code, but I do not see any obvious
>    reason for this "insert module" crash. And I had no time to do history
>    bisect.
>    On Wed, May 11, 2016 at 2:22 AM, Linus Walleij
>    <[1]linus.walleij@linaro.org> wrote:
> 
>      > I compiled lynx gpio into kernel instead of compiling it as a
>      module.
>      > And the system got more stable - I rebooted my devices ~50 times
>      > already and I do not see the boot problem I had before.
>      'CONFIG_..=y'
>      > definitely makes the situation better.
>      >
>      > As of bisecting - it will require time do find the commit. I might
>      do
>      > it if I find some spare time.
>      If nothing else works I'm happy to accept a patch turning the
>      driver into a bool and removing all module handling code.
> 
>    Before doing this I would love to get some feedback from the driver
>    maintainer. Mathias, do you see this issue with the module?
>    Also I am going to change Arch Linux kernel config to compile this
>    driver as 'y'.

Let's first analyze why it crashes in the first place. Can you give me
detailed instructions how can I reproduce this?

  parent reply	other threads:[~2016-05-11 14:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-01  0:33 NULL pointer dereference when 'rmmod gpio_lynxpoint' Anatol Pomozov
2016-05-01  8:38 ` Linus Walleij
2016-05-01 14:36   ` Anatol Pomozov
2016-05-01 18:30     ` Linus Walleij
2016-05-03  3:23       ` Anatol Pomozov
2016-05-11  9:22         ` Linus Walleij
2016-05-11 14:26           ` Anatol Pomozov
     [not found]           ` <CAOMFOmWTvH0ObHjnBAbKkew79oFN4OMrjou5x6V1HRc=CnP91w@mail.gmail.com>
2016-05-11 14:02             ` Mika Westerberg [this message]
2016-05-12 13:35               ` Anatol Pomozov
2016-05-12 14:11                 ` Mika Westerberg
2016-05-12 10:34             ` Mathias Nyman
2016-05-24 11:03               ` Linus Walleij

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=20160511140233.GQ1713@lahna.fi.intel.com \
    --to=mika.westerberg@linux.intel.com \
    --cc=anatol.pomozov@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=mathias.nyman@linux.intel.com \
    --cc=matt.devillier@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 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.