lkml.org 
[lkml]   [2022]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v2 2/5] iommu/mediatek: Always check runtime PM status in tlb flush range callback
    From
    Date
    Il 08/12/21 13:07, Dafna Hirschfeld ha scritto:
    > From: Sebastian Reichel <sebastian.reichel@collabora.com>
    >
    > In case of v4l2_reqbufs() it is possible, that a TLB flush is done
    > without runtime PM being enabled. In that case the "Partial TLB flush
    > timed out, falling back to full flush" warning is printed.
    >
    > Commit c0b57581b73b ("iommu/mediatek: Add power-domain operation")
    > introduced has_pm as optimization to avoid checking runtime PM
    > when there is no power domain attached. But without the PM domain
    > there is still the device driver's runtime PM suspend handler, which
    > disables the clock. Thus flushing should also be avoided when there
    > is no PM domain involved.
    >
    > Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
    > Reviewed-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>

    Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

    \
     
     \ /
      Last update: 2022-01-10 12:45    [W:2.132 / U:0.768 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site