Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2799818 authored by Paul Mackerras's avatar Paul Mackerras
Browse files

Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next



This merges in the ppc-kvm topic branch of the powerpc tree to get
two patches which are prerequisites for the following patch series,
plus another patch which touches both powerpc and KVM code.

Signed-off-by: default avatarPaul Mackerras <paulus@ozlabs.org>
parents 00608e1f d075745d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -55,6 +55,11 @@ modules.builtin
/System.map
/Module.markers

#
# RPM spec file (make rpm-pkg)
#
/*.spec

#
# Debian directory (make deb-pkg)
#
+2 −0
Original line number Diff line number Diff line
@@ -73,6 +73,8 @@ James E Wilson <wilson@specifix.com>
James Hogan <jhogan@kernel.org> <james.hogan@imgtec.com>
James Hogan <jhogan@kernel.org> <james@albanarts.com>
James Ketrenos <jketreno@io.(none)>
Jason Gunthorpe <jgg@ziepe.ca> <jgg@mellanox.com>
Jason Gunthorpe <jgg@ziepe.ca> <jgunthorpe@obsidianresearch.com>
Javi Merino <javi.merino@kernel.org> <javi.merino@arm.com>
<javier@osg.samsung.com> <javier.martinez@collabora.co.uk>
Jean Tourrilhes <jt@hpl.hp.com>
+41 −0
Original line number Diff line number Diff line
What:		/dev/wmi/dell-smbios
Date:		November 2017
KernelVersion:	4.15
Contact:	"Mario Limonciello" <mario.limonciello@dell.com>
Description:
		Perform SMBIOS calls on supported Dell machines.
		through the Dell ACPI-WMI interface.

		IOCTL's and buffer formats are defined in:
		<uapi/linux/wmi.h>

		1) To perform an SMBIOS call from userspace, you'll need to
		first determine the minimum size of the calling interface
		buffer for your machine.
		Platforms that contain larger buffers can return larger
		objects from the system firmware.
		Commonly this size is either 4k or 32k.

		To determine the size of the buffer read() a u64 dword from
		the WMI character device /dev/wmi/dell-smbios.

		2) After you've determined the minimum size of the calling
		interface buffer, you can allocate a structure that represents
		the structure documented above.

		3) In the 'length' object store the size of the buffer you
		determined above and allocated.

		4) In this buffer object, prepare as necessary for the SMBIOS
		call you're interested in.  Typically SMBIOS buffers have
		"class", "select", and "input" defined to values that coincide
		with the data you are interested in.
		Documenting class/select/input values is outside of the scope
		of this documentation. Check with the libsmbios project for
		further documentation on these values.

		6) Run the call by using ioctl() as described in the header.

		7) The output will be returned in the buffer object.

		8) Be sure to free up your allocated object.
+21 −0
Original line number Diff line number Diff line
What:		/sys/devices/platform/<platform>/tokens/*
Date:		November 2017
KernelVersion:	4.15
Contact:	"Mario Limonciello" <mario.limonciello@dell.com>
Description:
		A read-only description of Dell platform tokens
		available on the machine.

		Each token attribute is available as a pair of
		sysfs attributes readable by a process with
		CAP_SYS_ADMIN.

		For example the token ID "5" would be available
		as the following attributes:

		0005_location
		0005_value

		Tokens will vary from machine to machine, and
		only tokens available on that machine will be
		displayed.
+11 −0
Original line number Diff line number Diff line
What:		/sys/devices/platform/<platform>/force_power
Date:		September 2017
KernelVersion:	4.15
Contact:	"Mario Limonciello" <mario.limonciello@dell.com>
Description:
		Modify the platform force power state, influencing
		Thunderbolt controllers to turn on or off when no
		devices are connected (write-only)
		There are two available states:
		    * 0 -> Force power disabled
		    * 1 -> Force power enabled
Loading