Re: [RFC PATCH 3/4] drm/panfrost: Support ARM_64_LPAE_S1 page table

2025-03-15 Thread Ariel D'Alessandro
Hi Steven, On 2/27/25 11:44 AM, Steven Price wrote: On 26/02/2025 18:30, Ariel D'Alessandro wrote: Bifrost MMUs support AArch64 4kB granule specification. However, panfrost only enables MMU in legacy mode, despite the presence of the HW_FEATURE_AARCH64_MMU feature flag. This commit adds suppor

Re: [RFC PATCH 3/4] drm/panfrost: Support ARM_64_LPAE_S1 page table

2025-03-11 Thread Boris Brezillon
On Mon, 10 Mar 2025 12:34:30 -0300 Ariel D'Alessandro wrote: > Hi Boris, > > On 2/27/25 11:55 AM, Boris Brezillon wrote: > > On Wed, 26 Feb 2025 15:30:42 -0300 > > Ariel D'Alessandro wrote: > > > >> @@ -642,8 +713,15 @@ struct panfrost_mmu *panfrost_mmu_ctx_create(struct > >> panfrost_devic

Re: [RFC PATCH 3/4] drm/panfrost: Support ARM_64_LPAE_S1 page table

2025-03-10 Thread Ariel D'Alessandro
Hi Boris, On 2/27/25 11:55 AM, Boris Brezillon wrote: On Wed, 26 Feb 2025 15:30:42 -0300 Ariel D'Alessandro wrote: @@ -642,8 +713,15 @@ struct panfrost_mmu *panfrost_mmu_ctx_create(struct panfrost_device *pfdev) .iommu_dev = pfdev->dev, }; - mmu->pgtbl_ops = a

Re: [RFC PATCH 3/4] drm/panfrost: Support ARM_64_LPAE_S1 page table

2025-03-07 Thread Ariel D'Alessandro
Boris, On 2/27/25 5:30 AM, Boris Brezillon wrote: On Wed, 26 Feb 2025 15:30:42 -0300 Ariel D'Alessandro wrote: Bifrost MMUs support AArch64 4kB granule specification. However, panfrost only enables MMU in legacy mode, despite the presence of the HW_FEATURE_AARCH64_MMU feature flag. This comm

Re: [RFC PATCH 3/4] drm/panfrost: Support ARM_64_LPAE_S1 page table

2025-02-27 Thread Boris Brezillon
On Wed, 26 Feb 2025 15:30:42 -0300 Ariel D'Alessandro wrote: > @@ -642,8 +713,15 @@ struct panfrost_mmu *panfrost_mmu_ctx_create(struct > panfrost_device *pfdev) > .iommu_dev = pfdev->dev, > }; > > - mmu->pgtbl_ops = alloc_io_pgtable_ops(ARM_MALI_LPAE, &mmu->pgtbl_

Re: [RFC PATCH 3/4] drm/panfrost: Support ARM_64_LPAE_S1 page table

2025-02-27 Thread Steven Price
On 26/02/2025 18:30, Ariel D'Alessandro wrote: > Bifrost MMUs support AArch64 4kB granule specification. However, > panfrost only enables MMU in legacy mode, despite the presence of the > HW_FEATURE_AARCH64_MMU feature flag. > > This commit adds support to use page tables according to AArch64 4kB

Re: [RFC PATCH 3/4] drm/panfrost: Support ARM_64_LPAE_S1 page table

2025-02-27 Thread Boris Brezillon
On Thu, 27 Feb 2025 09:30:30 +0100 Boris Brezillon wrote: > > Bifrost MMUs support AArch64 4kB granule specification. However, > > panfrost only enables MMU in legacy mode, despite the presence of the > > HW_FEATURE_AARCH64_MMU feature flag. > > > > This commit adds support to use page tables ac

Re: [RFC PATCH 3/4] drm/panfrost: Support ARM_64_LPAE_S1 page table

2025-02-27 Thread Boris Brezillon
On Wed, 26 Feb 2025 15:30:42 -0300 Ariel D'Alessandro wrote: > Bifrost MMUs support AArch64 4kB granule specification. However, > panfrost only enables MMU in legacy mode, despite the presence of the > HW_FEATURE_AARCH64_MMU feature flag. > > This commit adds support to use page tables according

[RFC PATCH 3/4] drm/panfrost: Support ARM_64_LPAE_S1 page table

2025-02-26 Thread Ariel D'Alessandro
Bifrost MMUs support AArch64 4kB granule specification. However, panfrost only enables MMU in legacy mode, despite the presence of the HW_FEATURE_AARCH64_MMU feature flag. This commit adds support to use page tables according to AArch64 4kB granule specification. This feature is enabled conditiona