linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Dell Inc. XPS 13 9343/0TM99H fails to boot v4.16-rc5
@ 2018-03-12 18:53 Dominik Brodowski
  2018-03-12 20:23 ` Darren Hart
  2018-03-12 22:42 ` Mario.Limonciello
  0 siblings, 2 replies; 18+ messages in thread
From: Dominik Brodowski @ 2018-03-12 18:53 UTC (permalink / raw)
  To: dvhart, mario.limonciello; +Cc: platform-driver-x86, linux-kernel

Mario,

unfortunately, my Dell Inc. XPS 13 9343/0TM99H, BIOS A11 12/08/2016 fails to
boot v4.16-rc5. More exactly, I could bisect it down to commit 25d47027e10
("platform/x86: dell-smbios: Link all dell-smbios-* modules together").
Usually, I have enabled

CONFIG_SENSORS_DELL_SMM=y
CONFIG_DELL_SMBIOS=y
CONFIG_DELL_SMBIOS_WMI=y
CONFIG_DELL_SMBIOS_SMM=y
CONFIG_DELL_LAPTOP=y
CONFIG_DELL_WMI=y
CONFIG_DELL_WMI_DESCRIPTOR=y
# CONFIG_DELL_WMI_AIO is not set
# CONFIG_DELL_WMI_LED is not set
# CONFIG_DELL_SMO8800 is not set
# CONFIG_DELL_RBTN is not set
# CONFIG_DELL_RBU is not set

For v4.16-rc5 to work, I need to manually disable DELL_SMBIOS_WMI:

-CONFIG_DELL_SMBIOS_WMI=y
+# CONFIG_DELL_SMBIOS_WMI is not set

Any ideas?

Thanks,
	Dominik

^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH v2] platform/x86: dell-smbios: Resolve dependency error on ACPI_WMI
@ 2018-03-12 20:36 Darren Hart
  0 siblings, 0 replies; 18+ messages in thread
From: Darren Hart @ 2018-03-12 20:36 UTC (permalink / raw)
  To: platform-driver-x86
  Cc: Andy Shevchenko, Linus Torvalds, Dominik Brodowski,
	Mario Limonciello, LKML

Similarly to DCDBAS for DELL_SMBIOS_SMM, if DELL_SMBIOS_WMI is enabled,
DELL_SMBIOS becomes dependent on ACPI_WMI. Update the depends lines to
prevent a configuration where DELL_SMBIOS=y and either backend
dependency =m. Update the comment accordingly.

Cc: Mario Limonciello <mario.limonciello@dell.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
---
Since v1: Split depends line into two per Andy Shevchenko's feedback

 drivers/platform/x86/Kconfig | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index e55b008..1868aab 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -106,13 +106,14 @@ config ASUS_LAPTOP
 	  If you have an ACPI-compatible ASUS laptop, say Y or M here.
 
 #
-# If the DELL_SMBIOS_SMM feature is enabled, the DELL_SMBIOS driver
-# becomes dependent on the DCDBAS driver. The "depends" line prevents a
-# configuration where DELL_SMBIOS=y while DCDBAS=m.
+# The DELL_SMBIOS driver depends on ACPI_WMI and/or DCDBAS if those
+# backends are selected. The "depends" line prevents a configuration
+# where DELL_SMBIOS=y while either of those dependencies =m.
 #
 config DELL_SMBIOS
 	tristate "Dell SMBIOS driver"
 	depends on DCDBAS || DCDBAS=n
+	depends on ACPI_WMI || ACPI_WMI=n
 	---help---
 	This provides support for the Dell SMBIOS calling interface.
 	If you have a Dell computer you should enable this option.
-- 
2.9.5


-- 
Darren Hart
VMware Open Source Technology Center

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-03-14 18:27 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 18:53 Dell Inc. XPS 13 9343/0TM99H fails to boot v4.16-rc5 Dominik Brodowski
2018-03-12 20:23 ` Darren Hart
2018-03-12 22:07   ` Dominik Brodowski
2018-03-12 22:17     ` Linus Torvalds
2018-03-12 23:33       ` Darren Hart
2018-03-14  3:34         ` Darren Hart
2018-03-14 17:23           ` Linus Torvalds
2018-03-14 18:27             ` Darren Hart
2018-03-12 22:42 ` Mario.Limonciello
2018-03-13  5:51   ` Dominik Brodowski
2018-03-13  6:12     ` Mario.Limonciello
2018-03-13  6:43       ` Dominik Brodowski
2018-03-13  7:07         ` Mario.Limonciello
2018-03-13 21:42           ` Darren Hart
2018-03-14  1:28             ` Mario.Limonciello
2018-03-14  6:25               ` Dominik Brodowski
2018-03-13  6:32     ` Darren Hart
2018-03-12 20:36 [PATCH v2] platform/x86: dell-smbios: Resolve dependency error on ACPI_WMI Darren Hart

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).