Re: Status of the Panfrost driver

From: Mario Marietto <marietto2008_at_gmail.com>
Date: Fri, 01 Aug 2025 19:05:05 UTC
---> it somehow works on rk3999 and rk356x boards but not great. no iommu +
memory fragmentation causes contigmalloc to fail

The cheriBSD code has iommu and / or memory fragmentation ?

----> and the only fix is a reboot

What really makes the reboot ? Why Does It Work ? The same effect of a
rebooting can't be simulated writing a proper piece of code ? something
like the reset / reorganization of what's inside the memory that got
corrupted ?

Mario.

On Fri, Aug 1, 2025 at 8:40 PM Mario Marietto <marietto2008@gmail.com>
wrote:

> ---> 14.2-RELEASE with drm-subtree imported from cheribsd (
> https://github.com/CTSRD-CHERI/cheribsd)
>
> Plus : soon 14.2-RELEASE will go to EOL and we don't have a future for the
> 14.3 and even more importantly,for the 15.0 branch.
>
> Mario.
>
> On Fri, Aug 1, 2025 at 8:19 PM titus <titus@edc.ro> wrote:
>
>> it somehow works on rk3999 and rk356x boards but not great. no iommu +
>> memory fragmentation causes contigmalloc to fail and the only fix is a
>> reboot
>> [image: logo.og.png]
>>
>> How to run FreeBSD on new boards built on Rockchip 35XX..
>> <https://forums.FreeBSD.org/threads/how-to-run-freebsd-on-new-boards-built-on-rockchip-35xx.88430/post-707035>
>> forums.freebsd.org
>> <https://forums.FreeBSD.org/threads/how-to-run-freebsd-on-new-boards-built-on-rockchip-35xx.88430/post-707035>
>>
>> <https://forums.FreeBSD.org/threads/how-to-run-freebsd-on-new-boards-built-on-rockchip-35xx.88430/post-707035>
>>
>> kernel-drm-cheri-src.tgz
>> <https://drive.google.com/file/d/1VEjfP_ESvWectlhvfc09t1e8NkSZUXKH/view?usp=sharing>
>> drive.google.com
>> <https://drive.google.com/file/d/1VEjfP_ESvWectlhvfc09t1e8NkSZUXKH/view?usp=sharing>
>> [image: drive_2020q4_32dp.png]
>> <https://drive.google.com/file/d/1VEjfP_ESvWectlhvfc09t1e8NkSZUXKH/view?usp=sharing>
>> <https://drive.google.com/file/d/1VEjfP_ESvWectlhvfc09t1e8NkSZUXKH/view?usp=sharing>
>> 14.2-RELEASE with drm-subtree imported from cheribsd (
>> https://github.com/CTSRD-CHERI/cheribsd)
>>
>> On 1 Aug 2025, at 19:52, Michał Kruszewski <mkru@protonmail.com> wrote:
>>
>> Does anyone know what is the status of the Panfrost driver?
>>
>> A few years ago there was a request to add it to the source tree,
>> https://reviews.freebsd.org/D34370.
>> However, it was closed with a very short summary "Out of tree drivers
>> exists for panfrost so include it."
>> No rationale for the decision.
>> How do comitters decided whether some driver shall be merged into the
>> source tree or not.
>>
>> Does anyone use the out of tree drvier?
>> What is your experience, is it stable?
>>
>> Best regards,
>> Michał Kruszewski
>>
>>
>> Sent with Proton Mail <https://proton.me/mail/home> secure email.
>>
>>
>>
>
> --
> Mario.
>


-- 
Mario.