Re: [PATCH v2 2/2] arm/dma-mapping: Respect NO_KERNEL_MAPPING when we don't have an IOMMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 4, 2015 at 11:21 AM, Marek Szyprowski
<m.szyprowski@xxxxxxxxxxx> wrote:
> Hello,
>
> On 2015-02-04 10:23, Carlo Caione wrote:
>>
>> From: "Jasper St. Pierre" <jstpierre@xxxxxxxxxxx>
>>
>> Even without an iommu, NO_KERNEL_MAPPING is still convenient to save on
>> kernel address space in places where we don't need a kernel mapping.
>> Implement support for it in the two places where we're creating an
>> expensive mapping.
>>
>> __alloc_from_pool uses an internal pool from which we already have
>> virtual addresses, so it's not relevant, and __alloc_simple_buffer uses
>> alloc_pages, which will always return a lowmem page, which is already
>> mapped into kernel space, so we can't prevent a mapping for it in that
>> case.
>>
>> Signed-off-by: Jasper St. Pierre <jstpierre@xxxxxxxxxxx>
>> Signed-off-by: Carlo Caione <carlo@xxxxxxxxxx>
>> Reviewed-by: Rob Clark <robdclark@xxxxxxxxx>
>> Reviewed-by: Daniel Drake <dsd@xxxxxxxxxxxx>
>
>
> Acked-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>

Thanks. Who is supposed to take this patch? Russel?

Cheers,

-- 
Carlo Caione
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux