[PATCH v3 0/5] mac99: Boot OpenBSD/macppc

Kirill A. Korinsky posted 5 patches 2 weeks, 6 days ago
[PATCH v3 0/5] mac99: Boot OpenBSD/macppc
Posted by Kirill A. Korinsky 2 weeks, 6 days ago
Greetings,

This is the third version of patch series to boot OpenBSD/macppc.

OpenBSD/macppc does not complete early boot on mac99: OpenPIC can
reassert an interrupt still masked by CTPR; the edge triggered
decrementer does not raise on zero; successful CUDA ADB replies omit the
original command; and the fixed CUDA shift register delay can stretch
packet delivery past the guest timeout on hosts with coarse timers.

This series corrects these four behaviours and adds a functional test
which boots the official OpenBSD 7.9 macppc CD to the installer prompt.

-- 
wbr, Kirill
Re: [PATCH v3 0/5] mac99: Boot OpenBSD/macppc
Posted by Mark Cave-Ayland 1 week, 2 days ago
On 01/10/2026 23:58, Kirill A. Korinsky wrote:

> Greetings,
> 
> This is the third version of patch series to boot OpenBSD/macppc.
> 
> OpenBSD/macppc does not complete early boot on mac99: OpenPIC can
> reassert an interrupt still masked by CTPR; the edge triggered
> decrementer does not raise on zero; successful CUDA ADB replies omit the
> original command; and the fixed CUDA shift register delay can stretch
> packet delivery past the guest timeout on hosts with coarse timers.
> 
> This series corrects these four behaviours and adds a functional test
> which boots the official OpenBSD 7.9 macppc CD to the installer prompt.

Hi Kirill,

This series is now reviewed, so I will queue it via my qemu-macppc branch (assuming 
it passes CI).


ATB,

Mark.
Re: [PATCH v3 0/5] mac99: Boot OpenBSD/macppc
Posted by Philippe Mathieu-Daudé 2 weeks, 6 days ago
Hi Kirill,

On 2/10/26 00:58, Kirill A. Korinsky wrote:
> Greetings,
> 
> This is the third version of patch series to boot OpenBSD/macppc.
> 
> OpenBSD/macppc does not complete early boot on mac99: OpenPIC can
> reassert an interrupt still masked by CTPR; the edge triggered
> decrementer does not raise on zero; successful CUDA ADB replies omit the
> original command; and the fixed CUDA shift register delay can stretch
> packet delivery past the guest timeout on hosts with coarse timers.
> 
> This series corrects these four behaviours and adds a functional test
> which boots the official OpenBSD 7.9 macppc CD to the installer prompt.

Can you add your testing as a functional test? As a follow-up
patch, not blocking this series. (See examples in tests/functional/ppc/).

IIUC this series will be merged via the ppc tree, is that right?

Regards,

Phil.
Re: [PATCH v3 0/5] mac99: Boot OpenBSD/macppc
Posted by Philippe Mathieu-Daudé 2 weeks, 6 days ago
On 2/10/26 06:49, Philippe Mathieu-Daudé wrote:
> Hi Kirill,
> 
> On 2/10/26 00:58, Kirill A. Korinsky wrote:
>> Greetings,
>>
>> This is the third version of patch series to boot OpenBSD/macppc.
>>
>> OpenBSD/macppc does not complete early boot on mac99: OpenPIC can
>> reassert an interrupt still masked by CTPR; the edge triggered
>> decrementer does not raise on zero; successful CUDA ADB replies omit the
>> original command; and the fixed CUDA shift register delay can stretch
>> packet delivery past the guest timeout on hosts with coarse timers.
>>
>> This series corrects these four behaviours and adds a functional test
>> which boots the official OpenBSD 7.9 macppc CD to the installer prompt.
> 
> Can you add your testing as a functional test? As a follow-up
> patch, not blocking this series. (See examples in tests/functional/ppc/).

I didn't receive the last patch but can see on the mailing list that
<20261001230058.11465-6-kirill@korins.ky> does exactly that :)

(the usual cover letter list of patch + diff stat would have be helpful)

> 
> IIUC this series will be merged via the ppc tree, is that right?
> 
> Regards,
> 
> Phil.
>