Re: ofppc - panic pmap_pvo_find_va returning NULL for kernel pmap

Rin Okuyama <[email protected]> Thu, 2 Jul 2026 20:31:29 +0900
Newsgroups gmane.os.netbsd.ports.powerpc
Message-ID <[email protected]>
Hi Radoslaw,

On 2026/07/01 20:09, Radosław Kujawa wrote:
> Hi Rin.
> 
>> On 1 Jul 2026, at 07:13, Rin Okuyama <[email protected]> wrote:
>>
>> On 2026/07/01 2:27, Radoslaw Kujawa wrote:
>>> After discussion with other developers (thanks Martin, Nick), it was concluded that cleanest solution is to fix the PMAP_DIRECT_MAPPED_LEN calculation itself, so that PMAP_DIRECT_MAPPED_LEN reflects true range of identity-mapped addresses and is independent of KERNEL_SR / USER_SR ordering on a given port.
>>> The following fix was committed today.
>>
>> Thank you very much for fixing my overlook for ofppc!
>>
>> Can you please pull up this fix to netbsd-{10,11}, or can I?
> 
> Pull request was sent for netbsd-{10,11}.

Thanks!

Also, thank you so much for your recent powerpc works!
I have a 460-based evaluation board. I'd like to port
NetBSD to that board someday :)

Thanks,
rin

> Best regards,
> Radoslaw
>