<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/tools/include/asm-generic/io.h, branch v6.19.11</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2025-08-27T18:14:06+00:00</updated>
<entry>
<title>tools headers: Import asm-generic MMIO helpers</title>
<updated>2025-08-27T18:14:06+00:00</updated>
<author>
<name>David Matlack</name>
<email>dmatlack@google.com</email>
</author>
<published>2025-08-22T21:25:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1f9c8edd6a7e9b0fd914cfeef8ce075307e8e702'/>
<id>urn:sha1:1f9c8edd6a7e9b0fd914cfeef8ce075307e8e702</id>
<content type='text'>
Import the asm-generic MMIO helper functions from the kernel headers
into tools/include/. The top-level include is &lt;linux/io.h&gt; which then
includes the arch-specific &lt;asm/io.h&gt;, which then includes
&lt;asm-generic/io.h&gt;. This layout is chosen to match the kernel header
layout and to appease checkpatch.pl (which warns against including
&lt;asm/io.h&gt; or &lt;asm-generic/io.h&gt; directly).

Changes made when importing:

 - Add missing includes at the top.
 - Stub out mmiowb_set_pending().
 - Stub out _THIS_IP_.
 - Stub out log_*_mmio() calls.
 - Drop the CONFIG_64BIT checks, since tools/include/linux/types.h
   always defines u64.

Acked-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;
Signed-off-by: David Matlack &lt;dmatlack@google.com&gt;
Link: https://lore.kernel.org/r/20250822212518.4156428-16-dmatlack@google.com
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
</feed>
