All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali.rohar@gmail.com>
To: Andy Lutomirski <luto@amacapital.net>
Cc: platform-driver-x86@vger.kernel.org
Subject: Re: Heads up: dell-wmi bug
Date: Thu, 31 Dec 2015 13:34:20 +0100	[thread overview]
Message-ID: <201512311334.20816@pali> (raw)
In-Reply-To: <CALCETrUh6VPfwdCHAZyqcou4VQN4_xZuZ+St=gjhCB1aqPvuag@mail.gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 872 bytes --]

On Thursday 31 December 2015 13:31:03 Andy Lutomirski wrote:
> Hi-
> 
> I'm getting intermittent OOPSes when playing with dell-wmi.  I think
> that find_hk_type function is buggy: it's saving a pointer to DMI
> data, but you can't do that, because dmi_walk unmaps the data at the
> end.  It probably works reliably on current kernels due to luck
> (either a memory layout such that the unmap has no effect or deferred
> vmap zapping).
> 
> If no one beats me to it, I'll fix this as part of the rebase work on
> my big wmi series.
> 
> --Andy

Hi! If this is truth, then I think separate patch for fixing this 
problem should be created and backported also to stable kernels.

In my opinion WMI rework patches should not change functionality, just 
API... Other function changes should be in separate commits.

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2015-12-31 12:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-31 12:31 Heads up: dell-wmi bug Andy Lutomirski
2015-12-31 12:34 ` Pali Rohár [this message]
2015-12-31 21:21   ` Andy Lutomirski

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=201512311334.20816@pali \
    --to=pali.rohar@gmail.com \
    --cc=luto@amacapital.net \
    --cc=platform-driver-x86@vger.kernel.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.