lkml.org 
[lkml]   [2022]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] mmc: sdhci-xenon: Fix 2G limitation on AC5 SoC
From
On 2022-08-21 07:17, Christoph Hellwig wrote:
> On Thu, Aug 18, 2022 at 03:07:40PM +0300, Vadym Kochan wrote:
>> It works with the following changes:
>>
>> #1 dma-ranges = <0x0 0x0 0x2 0x0 0x0 0x80000000>;
>>
>> #3 swiotlb="force"
>>
>> Is it OK to force the memory allocation from the start for the swiotlb ?
>
> It should be ok, but isn't really optimal.
>
> I wonder if we should just allow DT to specify the swiotlb buffer
> location. Basically have yet another RESERVEDMEM_OF_DECLARE variant
> for it, which shouldn't be all that much work except for figuring
> out the interaction with the various kernel command line options.

We already have all the information we need in the DT (and ACPI), the
arm64 init code just needs to do a better job of interpreting it
properly. I'll see what I can come up with once I've finished what I'm
currently tied up in.

Thanks,
Robin.

\
 
 \ /
  Last update: 2022-08-22 12:09    [W:0.095 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site