linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/2]  Stop the abuse of Linux-* _OSI strings
@ 2022-08-19 14:25 Mario Limonciello
  2022-08-19 14:25 ` [RFC 1/2] ACPI: OSI: Remove Linux-Dell-Video _OSI string Mario Limonciello
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Mario Limonciello @ 2022-08-19 14:25 UTC (permalink / raw)
  To: linux-kernel, linux-acpi, rafael, Len Brown
  Cc: kherbst, nouveau, hdegoede, ddadap, kai.heng.feng,
	Dell.Client.Kernel, Mario Limonciello

3 _OSI strings were introduced in recent years that were intended
to workaround very specific problems found on specific systems.

The idea was supposed to be that these quirks were only used on
those systems, but this proved to be a bad assumption.  I've found
at least one system in the wild where the vendor using the _OSI
string doesn't match the _OSI string and the neither does the use.

So this brings a good time to review keeping those strings in the kernel.
There are 3 strings that were introduced:

Linux-Dell-Video
-> Intended for systems with NVIDIA cards that didn't support RTD3
Linux-Lenovo-NV-HDMI-Audio
-> Intended for powering on NVIDIA HDMI device
Linux-HPI-Hybrid-Graphics
-> Intended for changing dGPU output

AFAIK the first string is no longer relevant as nouveau now supports
RTD3.  If that's wrong, this can be changed for the series.

The second two strings appear to be non-scalable workarounds.  For
accomplishing these tasks, registers can be written from kernel drivers
or custom ASL can be put behind a _DSM.  By forcing either of these two
solutions it will better let the Linux kernel control the behavior.

Based on the above this series drops the first string and marks the second
two strings to only apply to older systems.

Link: https://lore.kernel.org/all/54add026bb6f45fd94a2dc2bae4adf9f@AUSX13MPC101.AMER.DELL.COM/T/

Mario Limonciello (2):
  ACPI: OSI: Remove Linux-Dell-Video _OSI string
  ACPI: OSI: Deprecate some abused _OSI strings

 Documentation/firmware-guide/acpi/osi.rst | 24 ++++++++----------
 drivers/acpi/osi.c                        | 31 ++++++++++++-----------
 2 files changed, 26 insertions(+), 29 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2022-08-23 18:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-19 14:25 [RFC 0/2] Stop the abuse of Linux-* _OSI strings Mario Limonciello
2022-08-19 14:25 ` [RFC 1/2] ACPI: OSI: Remove Linux-Dell-Video _OSI string Mario Limonciello
2022-08-19 14:25 ` [RFC 2/2] ACPI: OSI: Deprecate some abused _OSI strings Mario Limonciello
2022-08-19 22:02   ` Daniel Dadap
2022-08-19 15:44 ` [RFC 0/2] Stop the abuse of Linux-* " Karol Herbst
2022-08-19 16:00   ` Limonciello, Mario
2022-08-19 16:37     ` Karol Herbst
2022-08-19 16:43       ` Limonciello, Mario
2022-08-19 16:47         ` Karol Herbst
2022-08-22 21:18   ` Lyude Paul
2022-08-23  3:47     ` Kai-Heng Feng
2022-08-23 17:05       ` Lyude Paul

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