From: Mario Limonciello <mario.limonciello@dell.com>
To: dvhart@infradead.org, Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
platform-driver-x86@vger.kernel.org, pali.rohar@gmail.com,
Mario Limonciello <mario.limonciello@dell.com>
Subject: [PATCH 0/2] Account for uncorrectable failures in probing
Date: Fri, 3 Nov 2017 11:27:20 -0500 [thread overview]
Message-ID: <cover.1509725778.git.mario.limonciello@dell.com> (raw)
Pali raised some concerns around corner case scenarios that probing
may fail on dell-wmi-descriptor causing dell-wmi and dell-smbios-wmi
to be stuck in infinite deferred probing loops.
This patch series accounts for that corner case.
Changes since original submission:
- Add as second patch that catches potential NULL pointer
- Avoid potential race condition between driver init and calling
check for if validation successful
Mario Limonciello (2):
platform/x86: dell-wmi-descriptor: check if memory was allocated
platform/x86: dell-*wmi*: Relay failed initial probe to dependent
drivers
drivers/platform/x86/dell-smbios-wmi.c | 4 ++++
drivers/platform/x86/dell-wmi-descriptor.c | 16 ++++++++++++++++
drivers/platform/x86/dell-wmi-descriptor.h | 7 +++++++
drivers/platform/x86/dell-wmi.c | 5 +++++
4 files changed, 32 insertions(+)
--
2.14.1
next reply other threads:[~2017-11-03 16:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-03 16:27 Mario Limonciello [this message]
2017-11-03 16:27 ` [PATCH 1/2] platform/x86: dell-wmi-descriptor: check if memory was allocated Mario Limonciello
2017-11-09 12:07 ` Pali Rohár
2017-11-03 16:27 ` [PATCH 2/2] platform/x86: dell-*wmi*: Relay failed initial probe to dependent drivers Mario Limonciello
2017-11-04 0:53 ` Darren Hart
2017-11-04 3:25 ` Mario.Limonciello
2017-11-04 3:25 ` Mario.Limonciello
2017-11-09 16:02 ` Pali Rohár
2017-11-09 16:13 ` Mario.Limonciello
2017-11-09 16:13 ` Mario.Limonciello
2017-11-09 17:28 ` Pali Rohár
2017-11-09 17:34 ` Mario.Limonciello
2017-11-09 17:34 ` Mario.Limonciello
2017-11-09 17:52 ` Darren Hart
2017-11-07 16:17 ` [PATCH 0/2] Account for uncorrectable failures in probing Mario.Limonciello
2017-11-07 16:17 ` Mario.Limonciello
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=cover.1509725778.git.mario.limonciello@dell.com \
--to=mario.limonciello@dell.com \
--cc=andy.shevchenko@gmail.com \
--cc=dvhart@infradead.org \
--cc=linux-kernel@vger.kernel.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 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.