<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/parisc/kernel, branch linux-4.19.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-11-08T15:19:14Z</updated>
<entry>
<title>parisc: Fix 64-bit userspace syscall path</title>
<updated>2024-11-08T15:19:14Z</updated>
<author>
<name>Helge Deller</name>
</author>
<published>2024-09-07T22:40:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6de0e6b773599022227d6a4b139e27b048ea7c75'/>
<id>urn:sha1:6de0e6b773599022227d6a4b139e27b048ea7c75</id>
<content type='text'>
commit d24449864da5838936669618356b0e30ca2999c3 upstream.

Currently the glibc isn't yet ported to 64-bit for hppa, so
there is no usable userspace available yet.
But it's possible to manually build a static 64-bit binary
and run that for testing. One such 64-bit test program is
available at http://ftp.parisc-linux.org/src/64bit.tar.gz
and it shows various issues with the existing 64-bit syscall
path in the kernel.
This patch fixes those issues.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Cc: stable@vger.kernel.org      # v4.19+
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>parisc: Fix itlb miss handler for 64-bit programs</title>
<updated>2024-11-08T15:19:13Z</updated>
<author>
<name>Helge Deller</name>
</author>
<published>2024-09-10T16:32:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=de109ca4af7222b8664af6b04f8dae2c6da03c70'/>
<id>urn:sha1:de109ca4af7222b8664af6b04f8dae2c6da03c70</id>
<content type='text'>
commit 9542130937e9dc707dd7c6b7af73326437da2d50 upstream.

For an itlb miss when executing code above 4 Gb on ILP64 adjust the
iasq/iaoq in the same way isr/ior was adjusted.  This fixes signal
delivery for the 64-bit static test program from
http://ftp.parisc-linux.org/src/64bit.tar.gz.  Note that signals are
handled by the signal trampoline code in the 64-bit VDSO which is mapped
into high userspace memory region above 4GB for 64-bit processes.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Cc: stable@vger.kernel.org	# v4.19+
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367"</title>
<updated>2024-09-12T09:02:56Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2024-09-11T13:01:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=324954a057b3ab21a7be5c91e148c15c401332f0'/>
<id>urn:sha1:324954a057b3ab21a7be5c91e148c15c401332f0</id>
<content type='text'>
This reverts commit fea29d479eb470102cd025d9279503a2bfd28c60 which is
commit 73cb4a2d8d7e0259f94046116727084f21e4599f upstream.

It breaks the build on parisc systems, so revert it.

Reported-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Link: https://lore.kernel.org/r/092aa55c-0538-41e5-8ed0-d0a96b06f32e@roeck-us.net
Reported-by: Helge Deller &lt;deller@gmx.de&gt;
Link: https://lore.kernel.org/r/72b133a6-c221-4906-9184-30b4e6ee4260@gmx.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367</title>
<updated>2024-09-04T11:13:02Z</updated>
<author>
<name>Helge Deller</name>
</author>
<published>2023-11-28T22:16:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fea29d479eb470102cd025d9279503a2bfd28c60'/>
<id>urn:sha1:fea29d479eb470102cd025d9279503a2bfd28c60</id>
<content type='text'>
[ Upstream commit 73cb4a2d8d7e0259f94046116727084f21e4599f ]

Use irq*_rcu() functions to fix this kernel warning:

 WARNING: CPU: 0 PID: 0 at kernel/context_tracking.c:367 ct_irq_enter+0xa0/0xd0
 Modules linked in:
 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.7.0-rc3-64bit+ #1037
 Hardware name: 9000/785/C3700

 IASQ: 0000000000000000 0000000000000000 IAOQ: 00000000412cd758 00000000412cd75c
  IIR: 03ffe01f    ISR: 0000000000000000  IOR: 0000000043c20c20
  CPU:        0   CR30: 0000000041caa000 CR31: 0000000000000000
  ORIG_R28: 0000000000000005
  IAOQ[0]: ct_irq_enter+0xa0/0xd0
  IAOQ[1]: ct_irq_enter+0xa4/0xd0
  RP(r2): irq_enter+0x34/0x68
 Backtrace:
  [&lt;000000004034a3ec&gt;] irq_enter+0x34/0x68
  [&lt;000000004030dc48&gt;] do_cpu_irq_mask+0xc0/0x450
  [&lt;0000000040303070&gt;] intr_return+0x0/0xc

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>parisc: add missing export of __cmpxchg_u8()</title>
<updated>2024-06-16T11:23:24Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2024-04-02T02:35:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63d5a72afbd1505f180e81bc72e056ceea28b43b'/>
<id>urn:sha1:63d5a72afbd1505f180e81bc72e056ceea28b43b</id>
<content type='text'>
[ Upstream commit c57e5dccb06decf3cb6c272ab138c033727149b5 ]

__cmpxchg_u8() had been added (initially) for the sake of
drivers/phy/ti/phy-tusb1210.c; the thing is, that drivers is
modular, so we need an export

Fixes: b344d6a83d01 "parisc: add support for cmpxchg on u8 pointers"
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Paul E. McKenney &lt;paulmck@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>parisc/firmware: Fix F-extend for PDC addresses</title>
<updated>2024-02-23T07:12:40Z</updated>
<author>
<name>Helge Deller</name>
</author>
<published>2024-01-03T20:02:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63cc5eb9b4102474423c4d6563fdf2ebbedf437f'/>
<id>urn:sha1:63cc5eb9b4102474423c4d6563fdf2ebbedf437f</id>
<content type='text'>
commit 735ae74f73e55c191d48689bd11ff4a06ea0508f upstream.

When running with narrow firmware (64-bit kernel using a 32-bit
firmware), extend PDC addresses into the 0xfffffff0.00000000
region instead of the 0xf0f0f0f0.00000000 region.

This fixes the power button on the C3700 machine in qemu (64-bit CPU
with 32-bit firmware), and my assumption is that the previous code was
really never used (because most 64-bit machines have a 64-bit firmware),
or it just worked on very old machines because they may only decode
40-bit of virtual addresses.

Cc: stable@vger.kernel.org
Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>parisc/pgtable: Do not drop upper 5 address bits of physical address</title>
<updated>2023-11-28T16:46:35Z</updated>
<author>
<name>Helge Deller</name>
</author>
<published>2023-11-07T13:33:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4de42206cef6cd22deb11c339bf9d091cd51e583'/>
<id>urn:sha1:4de42206cef6cd22deb11c339bf9d091cd51e583</id>
<content type='text'>
commit 166b0110d1ee53290bd11618df6e3991c117495a upstream.

When calculating the pfn for the iitlbt/idtlbt instruction, do not
drop the upper 5 address bits. This doesn't seem to have an effect
on physical hardware which uses less physical address bits, but in
qemu the missing bits are visible.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Cc:  &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>parisc: Prevent booting 64-bit kernels on PA1.x machines</title>
<updated>2023-11-28T16:46:35Z</updated>
<author>
<name>Helge Deller</name>
</author>
<published>2023-11-10T15:13:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22733ddf8276098d4babaf49cd28306d0f6939e8'/>
<id>urn:sha1:22733ddf8276098d4babaf49cd28306d0f6939e8</id>
<content type='text'>
commit a406b8b424fa01f244c1aab02ba186258448c36b upstream.

Bail out early with error message when trying to boot a 64-bit kernel on
32-bit machines. This fixes the previous commit to include the check for
true 64-bit kernels as well.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Fixes: 591d2108f3abc ("parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines")
Cc:  &lt;stable@vger.kernel.org&gt; # v6.0+
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>parisc: irq: Make irq_stack_union static to avoid sparse warning</title>
<updated>2023-10-10T19:44:58Z</updated>
<author>
<name>Helge Deller</name>
</author>
<published>2023-08-31T20:36:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b068b4e0cc8e09ebfb43f335f27c51a831a9de50'/>
<id>urn:sha1:b068b4e0cc8e09ebfb43f335f27c51a831a9de50</id>
<content type='text'>
[ Upstream commit b1bef1388c427cdad7331a9c8eb4ebbbe5b954b0 ]

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>parisc: drivers: Fix sparse warning</title>
<updated>2023-10-10T19:44:58Z</updated>
<author>
<name>Helge Deller</name>
</author>
<published>2023-08-31T20:08:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c10f7595af65f5481b932daf8bd6998cdffd0ff7'/>
<id>urn:sha1:c10f7595af65f5481b932daf8bd6998cdffd0ff7</id>
<content type='text'>
[ Upstream commit b137b9d60b8add5620a06c687a71ce18776730b0 ]

Fix "warning: directive in macro's argument list" warning.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
</feed>
