From: Alexander Sergeyev <sergeev917@gmail.com>
To: "Pali Rohár" <pali.rohar@gmail.com>
Cc: Mario.Limonciello@dell.com, dvhart@infradead.org,
andy@infradead.org, linux-kernel@vger.kernel.org,
mjg59@srcf.ucam.org, platform-driver-x86@vger.kernel.org
Subject: Re: PROBLEM: NULL pointer dereference in dell_set_arguments() in 4.15
Date: Sun, 4 Feb 2018 19:29:54 +0300 [thread overview]
Message-ID: <20180204162954.GA24841@localhost.localdomain> (raw)
In-Reply-To: <20180204121530.sl3h77mxbwusp2ul@pali>
>To make dell_micmute_led_set() work properly we need to ensure that either WMI
>or SMM driver is already loaded and initialized.
>From the looks of the call trace dell_micmute_led_set() is called from device
phase of initialization. Which means that there is a use of dell-laptop
interface while the module is not initialized (since late_initcall).
Previously, this led to crashes.
But dell_micmute_led_set() does not touch the module state now, so nothing is
technically broken; dell-smbios and dell-smbios-smm use subsys_initcall, so
they are ready. But WMI driver is in the same phase with intel hda, so there
might be something there.
prev parent reply other threads:[~2018-02-04 16:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-03 16:20 PROBLEM: NULL pointer dereference in dell_set_arguments() in 4.15 Alexander Sergeyev
2018-02-03 20:22 ` Alexander Sergeyev
[not found] ` <e489f5ee-34e5-4777-afe7-38d31d2ad3fd@Dell.com>
2018-02-04 9:23 ` Alexander Sergeyev
2018-02-04 12:15 ` Pali Rohár
2018-02-04 14:25 ` Andy Shevchenko
2018-02-04 16:29 ` Alexander Sergeyev [this message]
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=20180204162954.GA24841@localhost.localdomain \
--to=sergeev917@gmail.com \
--cc=Mario.Limonciello@dell.com \
--cc=andy@infradead.org \
--cc=dvhart@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
--cc=pali.rohar@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox