<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/userspace-api/index.rst, branch linux-5.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-12-30T17:28:57Z</updated>
<entry>
<title>Documentation: Add documentation for new platform_profile sysfs attribute</title>
<updated>2020-12-30T17:28:57Z</updated>
<author>
<name>Mark Pearson</name>
</author>
<published>2020-12-30T00:18:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e0cbf356377fabac47a027dd176cd1cacc5fc01'/>
<id>urn:sha1:8e0cbf356377fabac47a027dd176cd1cacc5fc01</id>
<content type='text'>
On modern systems the platform performance, temperature, fan and other
hardware related characteristics are often dynamically configurable. The
profile is often automatically adjusted to the load by some
automatic-mechanism (which may very well live outside the kernel).

These auto platform-adjustment mechanisms often can be configured with
one of several 'platform-profiles', with either a bias towards low-power
consumption or towards performance (and higher power consumption and
thermals).

Introduce a new platform_profile sysfs API which offers a generic API for
selecting the performance-profile of these automatic-mechanisms.

Co-developed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Mark Pearson &lt;markpearson@lenovo.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>docs: userspace-api: add iommu.rst to the index file</title>
<updated>2020-10-28T17:26:10Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2020-10-27T09:51:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=de39012afa7fd119fd6387c11a6ce33590717866'/>
<id>urn:sha1:de39012afa7fd119fd6387c11a6ce33590717866</id>
<content type='text'>
There's a new uAPI doc for IOMMU. Add it to the index file.
Should address this warning:

	.../Documentation/userspace-api/iommu.rst: WARNING: document isn't included in any toctree

Fixes: d0023e3ee28d ("docs: IOMMU user API")
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Link: https://lore.kernel.org/r/cc55219a551e29848e2282cd8939a4115067234c.1603791716.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>media: docs: get rid of Documentation/media/</title>
<updated>2020-04-14T08:36:50Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2020-03-10T12:57:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d29e1ef4d638a6be59a8859b4994b457bb7348c5'/>
<id>urn:sha1:d29e1ef4d638a6be59a8859b4994b457bb7348c5</id>
<content type='text'>
Now that everything got moved, we can get rid of the
old media directory.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>docs: Move the user-space ioctl() docs to userspace-api</title>
<updated>2019-10-10T17:21:54Z</updated>
<author>
<name>Jonathan Corbet</name>
</author>
<published>2019-10-03T19:02:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=049500715e7aed436c3dfac7071d7f17c18b463b'/>
<id>urn:sha1:049500715e7aed436c3dfac7071d7f17c18b463b</id>
<content type='text'>
This is strictly user-space material at this point, so put it with the
other user-space API documentation.

Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>docs: ocxl.rst: add it to the uAPI book</title>
<updated>2019-07-15T14:03:02Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2019-06-18T14:39:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2dbc0838bcf24ca59cabc3130cf3b1d6809cdcd4'/>
<id>urn:sha1:2dbc0838bcf24ca59cabc3130cf3b1d6809cdcd4</id>
<content type='text'>
The content of this file is user-faced.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
Acked-by: Andrew Donnellan &lt;ajd@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>prctl: Add speculation control prctls</title>
<updated>2018-05-03T11:55:50Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2018-04-29T13:20:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b617cfc858161140d69cc0b5cc211996b557a1c7'/>
<id>urn:sha1:b617cfc858161140d69cc0b5cc211996b557a1c7</id>
<content type='text'>
Add two new prctls to control aspects of speculation related vulnerabilites
and their mitigations to provide finer grained control over performance
impacting mitigations.

PR_GET_SPECULATION_CTRL returns the state of the speculation misfeature
which is selected with arg2 of prctl(2). The return value uses bit 0-2 with
the following meaning:

Bit  Define           Description
0    PR_SPEC_PRCTL    Mitigation can be controlled per task by
                      PR_SET_SPECULATION_CTRL
1    PR_SPEC_ENABLE   The speculation feature is enabled, mitigation is
                      disabled
2    PR_SPEC_DISABLE  The speculation feature is disabled, mitigation is
                      enabled

If all bits are 0 the CPU is not affected by the speculation misfeature.

If PR_SPEC_PRCTL is set, then the per task control of the mitigation is
available. If not set, prctl(PR_SET_SPECULATION_CTRL) for the speculation
misfeature will fail.

PR_SET_SPECULATION_CTRL allows to control the speculation misfeature, which
is selected by arg2 of prctl(2) per task. arg3 is used to hand in the
control value, i.e. either PR_SPEC_ENABLE or PR_SPEC_DISABLE.

The common return values are:

EINVAL  prctl is not implemented by the architecture or the unused prctl()
        arguments are not 0
ENODEV  arg2 is selecting a not supported speculation misfeature

PR_SET_SPECULATION_CTRL has these additional return values:

ERANGE  arg3 is incorrect, i.e. it's not either PR_SPEC_ENABLE or PR_SPEC_DISABLE
ENXIO   prctl control of the selected speculation misfeature is disabled

The first supported controlable speculation misfeature is
PR_SPEC_STORE_BYPASS. Add the define so this can be shared between
architectures.

Based on an initial patch from Tim Chen and mostly rewritten.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Ingo Molnar &lt;mingo@kernel.org&gt;
Reviewed-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>doc: ReSTify no_new_privs.txt</title>
<updated>2017-05-18T16:30:09Z</updated>
<author>
<name>Kees Cook</name>
</author>
<published>2017-05-13T11:51:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40fde647ccb0ae8c11d256d271e24d385eed595b'/>
<id>urn:sha1:40fde647ccb0ae8c11d256d271e24d385eed595b</id>
<content type='text'>
This updates no_new_privs documentation to ReST markup and adds it to
the user-space API documentation.

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>doc: ReSTify seccomp_filter.txt</title>
<updated>2017-05-18T16:30:01Z</updated>
<author>
<name>Kees Cook</name>
</author>
<published>2017-05-13T11:51:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c061f33f35be0ccc80f4b8e0aea5dfd2ed7e01a3'/>
<id>urn:sha1:c061f33f35be0ccc80f4b8e0aea5dfd2ed7e01a3</id>
<content type='text'>
This updates seccomp_filter.txt for ReST markup, and moves it under the
user-space API index, since it describes how application author can use
seccomp.

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>docs: Convert unshare.txt to RST and add to the user-space API manual</title>
<updated>2017-04-02T21:18:32Z</updated>
<author>
<name>Jonathan Corbet</name>
</author>
<published>2017-04-02T21:18:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f504d47be5e8fa7ecf2bf660b18b42e6960c0eb2'/>
<id>urn:sha1:f504d47be5e8fa7ecf2bf660b18b42e6960c0eb2</id>
<content type='text'>
This is a straightforward conversion, without any real textual changes.
Since this document has seen no substantive changes since its addition in
2006, some such changes are probably warranted.

Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>docs: Create a user-space API guide</title>
<updated>2017-04-02T21:16:58Z</updated>
<author>
<name>Jonathan Corbet</name>
</author>
<published>2017-04-02T20:58:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1d596dee3862bc14895ba15afe69c4e85c6d6124'/>
<id>urn:sha1:1d596dee3862bc14895ba15afe69c4e85c6d6124</id>
<content type='text'>
This is meant to be the place for documentation relevant to application
developers.  It's empty for the moment, but at least we have a place now!

Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
</feed>
