Skip to content

ACPI: WMI: Patches

Carlos Corbacho linux-acpi 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest posting 2/24 patches 0 repliesNew
  2. v7 posting 1/22 patches 0 repliesSuperseded
  3. v63 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v51 patch4 repliesSuperseded

Patches in v7 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ACPI: WMI: Add WMI-ACPI mapper driverMAINTAINERS drivers/acpi/Kconfig drivers/acpi/Makefile +2 more+681 -00 replies
2/4ACPI: Export struct kset acpi_subsysdrivers/acpi/bus.c+2 -00 replies
3/4ACPI: WMI: Add sysfs userspace interfacedrivers/acpi/wmi.c+430 -10 replies
4/4ACPI: WMI: Add documentationDocumentation/acpi/wmi.txt+82 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [PATCH 0/4 v7] ACPI: WMI: Patches

Yet again time for another release of WMI-ACPI.

The major changes since the last release (v6) are:

* Converted back to a module
* Added documentation

My comments from the main two patches in v6 (patches 1 and 3 in this series) are repeated ad-verbatim, since they are still applicable.

-Carlos
===

Patch 1 (Add driver and in kernel interface):

Len:
IMNSHO, this patch is ready for more mainstream testing . Ideally, I'd like to see it go up to -mm and start crash^^^^^working on other systems (the main thing to test here, really, is that WMI can properly parse the _WDG method on all systems).

(Of course, outside review is always appreciated - reviewing my own patches is getting a tad boring).

(As a mild aside - the driver is currently available on all ACPI enabled architectures. However, if there are no ia64 systems with WMI-ACPI devices, we could limit the driver to just x86).

===

Patch 2 (Export struct_kset acpi_subsys):

This is a temporary workaround - necessary to allow the sysfs bits of the next patch work in a module.

For 2.6.25, the ACPI interrupt statistics patch series does the necessary work in this area anyway (so this shouldn't be needed then).

If those patches are not applied, then I will resubmit a new version of this patch for 2.6.25-rcX, once Greg KH's sysfs work hits the ACPI tree.

===

Patch 3 (Add sysfs userspace interface):

This patch is the one that really needs another pair of eyes looking over it. It _works_, but I'm not sure if it's the best way to expose WMI ACPI to userspace.

In particular, I'm not sure now about creating kobjects for all the instances of each GUID, then having separate variables and data pointers for each instance; the alternative would be to add more sysfs files under each GUID kobject to handle the instance to call, in a similar way to how method_id is specified to methods. However, that starts making data queries/ writes more complicated, let alone method calls.

===

Patch 4 (Add documentation):

Adds some basic documentation for WMI driver & userspace writers.

Signature · 3 lines
E-Mail: [email protected]
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D