<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/arch/parisc/include/uapi/asm/pdc.h, branch linux-7.0.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-7.0.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-7.0.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2025-05-04T18:40:10+00:00</updated>
<entry>
<title>parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers</title>
<updated>2025-05-04T18:40:10+00:00</updated>
<author>
<name>Thomas Huth</name>
<email>thuth@redhat.com</email>
</author>
<published>2025-03-14T07:09:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e2b6a188625a2bbc83d4e6c76b59cb2e34353843'/>
<id>urn:sha1:e2b6a188625a2bbc83d4e6c76b59cb2e34353843</id>
<content type='text'>
__ASSEMBLY__ is only defined by the Makefile of the kernel, so
this is not really useful for uapi headers (unless the userspace
Makefile defines it, too). Let's switch to __ASSEMBLER__ which
gets set automatically by the compiler when compiling assembly
code.

This is almost a completely mechanical patch (done with a simple
"sed -i" statement), except for a manual change in the file
arch/parisc/include/uapi/asm/signal.h (where a comment was missing
some underscores).

Cc: "James E.J. Bottomley" &lt;James.Bottomley@HansenPartnership.com&gt;
Cc: Helge Deller &lt;deller@gmx.de&gt;
Cc: linux-parisc@vger.kernel.org
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
</content>
</entry>
<entry>
<title>parisc/pdc: Add width field to struct pdc_model</title>
<updated>2023-10-30T13:54:41+00:00</updated>
<author>
<name>Helge Deller</name>
<email>deller@gmx.de</email>
</author>
<published>2023-10-22T09:48:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6240553b52c475d9fc9674de0521b77e692f3764'/>
<id>urn:sha1:6240553b52c475d9fc9674de0521b77e692f3764</id>
<content type='text'>
PDC2.0 specifies the additional PSW-bit field.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Cc: stable@vger.kernel.org
</content>
</entry>
<entry>
<title>parisc: Add some missing PDC functions and constants</title>
<updated>2023-10-30T13:54:40+00:00</updated>
<author>
<name>Helge Deller</name>
<email>deller@gmx.de</email>
</author>
<published>2023-10-17T18:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b9c515f7e3f52151e33e982f982f369975734e1d'/>
<id>urn:sha1:b9c515f7e3f52151e33e982f982f369975734e1d</id>
<content type='text'>
Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
</content>
</entry>
<entry>
<title>parisc: Use signed char for hardware path in pdc.h</title>
<updated>2022-10-21T07:15:20+00:00</updated>
<author>
<name>Helge Deller</name>
<email>deller@gmx.de</email>
</author>
<published>2022-10-21T07:15:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=50f19697dd768d8b072cf7f12c0c99c7d31b67d8'/>
<id>urn:sha1:50f19697dd768d8b072cf7f12c0c99c7d31b67d8</id>
<content type='text'>
Clean up the struct for hardware_path and drop the struct device_path
with a proper assignment of bc[] and mod members as signed chars.

This patch prepares for the kbuild change from Jason A. Donenfeld to
treat char as always unsigned.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Cc: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>parisc: Fix pdc_toc_pim_11 and pdc_toc_pim_20 definitions</title>
<updated>2022-01-07T00:29:22+00:00</updated>
<author>
<name>Helge Deller</name>
<email>deller@gmx.de</email>
</author>
<published>2022-01-05T21:38:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=712a270d2db967b387338c26c3dc04ccac3fcec3'/>
<id>urn:sha1:712a270d2db967b387338c26c3dc04ccac3fcec3</id>
<content type='text'>
The definitions for pdc_toc_pim_11 and pdc_toc_pim_20 are wrong since they
include an entry for a hversion field which doesn't exist in the specification.

Fix this and clean up some whitespaces so that the whole file will be in
sync with it's copy in the SeaBIOS-hppa sources.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Cc: stable@vger.kernel.org # v5.16
</content>
</entry>
<entry>
<title>parisc: add support for TOC (transfer of control)</title>
<updated>2021-11-01T06:35:59+00:00</updated>
<author>
<name>Sven Schnelle</name>
<email>svens@stackframe.org</email>
</author>
<published>2021-10-14T19:49:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bc294838cc3443a2fbec58f8936ad4bd0a0b3055'/>
<id>urn:sha1:bc294838cc3443a2fbec58f8936ad4bd0a0b3055</id>
<content type='text'>
Almost all PA-RISC machines have either a button that
is labeled with 'TOC' or a BMC function to trigger a TOC.
TOC is a non-maskable interrupt that is sent to the processor.
This can be used for diagnostic purposes like obtaining a
stack trace/register dump or to enter KDB/KGDB.

As an example, on my c8000, TOC can be used with:

CONFIG_KGDB=y
CONFIG_KGDB_KDB=y

and the 'kgdboc=ttyS0,115200' appended to the command line.

Press ^[( on serial console, which will enter the BMC command line,
and enter 'TOC s':

root@(none):/# (
cli&gt;TOC s
Sending TOC/INIT.
&lt;Cpu3&gt; 2800035d03e00000  0000000040c21ac8  CC_ERR_CHECK_TOC
&lt;Cpu0&gt; 2800035d00e00000  0000000040c21ad0  CC_ERR_CHECK_TOC
&lt;Cpu2&gt; 2800035d02e00000  0000000040c21ac8  CC_ERR_CHECK_TOC
&lt;Cpu1&gt; 2800035d01e00000  0000000040c21ad0  CC_ERR_CHECK_TOC
&lt;Cpu3&gt; 37000f7303e00000  2000000000000000  CC_ERR_CPU_CHECK_SUMMARY
&lt;Cpu0&gt; 37000f7300e00000  2000000000000000  CC_ERR_CPU_CHECK_SUMMARY
&lt;Cpu2&gt; 37000f7302e00000  2000000000000000  CC_ERR_CPU_CHECK_SUMMARY
&lt;Cpu1&gt; 37000f7301e00000  2000000000000000  CC_ERR_CPU_CHECK_SUMMARY
&lt;Cpu3&gt; 4300100803e00000  c0000000001d26cc  CC_MC_BR_TO_OS_TOC
&lt;Cpu0&gt; 4300100800e00000  c0000000001d26cc  CC_MC_BR_TO_OS_TOC
&lt;Cpu2&gt; 4300100802e00000  c0000000001d26cc  CC_MC_BR_TO_OS_TOC
&lt;Cpu1&gt; 4300100801e00000  c0000000001d26cc  CC_MC_BR_TO_OS_TOC

Entering kdb (current=0x00000000411cef80, pid 0) on processor 0 due to NonMaskable Interrupt @ 0x40c21ad0
[0]kdb&gt;

Signed-off-by: Sven Schnelle &lt;svens@stackframe.org&gt;
Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
</content>
</entry>
<entry>
<title>parisc: add PIM TOC data structures</title>
<updated>2021-11-01T06:35:59+00:00</updated>
<author>
<name>Sven Schnelle</name>
<email>svens@stackframe.org</email>
</author>
<published>2021-10-14T19:49:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d9e203366936e9df752468d27fef039b38d968e1'/>
<id>urn:sha1:d9e203366936e9df752468d27fef039b38d968e1</id>
<content type='text'>
These data structures describe the TOC data we get from firmware
when issuing a PDC_PIM_TOC request.

Signed-off-by: Sven Schnelle &lt;svens@stackframe.org&gt;
Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
</content>
</entry>
<entry>
<title>parisc: Add constants for various PDC firmware calls</title>
<updated>2019-02-21T19:37:13+00:00</updated>
<author>
<name>Helge Deller</name>
<email>deller@gmx.de</email>
</author>
<published>2019-02-11T20:28:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c11ef0a883acb160b0bc2724d93304781210e651'/>
<id>urn:sha1:c11ef0a883acb160b0bc2724d93304781210e651</id>
<content type='text'>
PDC_DEBUG, PDC_ALLOC and PDC_SCSI_PARMS were missing.
Add PDC_MODEL_GET_INSTALL_KERNEL and PDC_NVOLATILE_* subfunctions.
PDC_CONFIG is call #17, not 16. Luckily it's nowhere referenced yet.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
</content>
</entry>
<entry>
<title>parisc: Add constants for PDC_RELOCATE PDC call</title>
<updated>2019-02-21T19:37:12+00:00</updated>
<author>
<name>Helge Deller</name>
<email>deller@gmx.de</email>
</author>
<published>2019-02-08T17:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=661faf31021dda4df1ea46594ec03de68f5ac47d'/>
<id>urn:sha1:661faf31021dda4df1ea46594ec03de68f5ac47d</id>
<content type='text'>
The PDC_RELOCATE function is called by HP-UX shortly before crashing.
So, we need to handle it in qemu and thus it makes sense to add the
constant here.

Additionally add other subfunctions like PDC_MODEL_GET_PLATFORM_INFO (to
get product and serial numbers) and PDC_TOD_CALIBRATE (to calibrate
timers) too.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
</content>
</entry>
<entry>
<title>parisc: Add PDC_CRASH_PREP PDC function number</title>
<updated>2019-02-21T19:37:12+00:00</updated>
<author>
<name>Sven Schnelle</name>
<email>svens@stackframe.org</email>
</author>
<published>2019-02-07T21:31:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3b26fdafbe2f42627e11ca5c67af565e5c67995f'/>
<id>urn:sha1:3b26fdafbe2f42627e11ca5c67af565e5c67995f</id>
<content type='text'>
Signed-off-by: Sven Schnelle &lt;svens@stackframe.org&gt;
Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
</content>
</entry>
</feed>
