Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp9443img; Mon, 25 Feb 2019 16:23:58 -0800 (PST) X-Google-Smtp-Source: AHgI3IaS7sGDrZIOFO8+Hw5JtBg+pdHdlK1vD/cx8rmIR7MBasFxrqiKbO9OLKu3lU/W9qIvSCLx X-Received: by 2002:a62:1981:: with SMTP id 123mr22970568pfz.69.1551140638405; Mon, 25 Feb 2019 16:23:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551140638; cv=none; d=google.com; s=arc-20160816; b=akmE1fD8uxPQu8s9493r5uIa4JaUOEsWEMVsmF7LzfMJbgFt5h5HlDVPr03iUYRmMe vEwm95jMtxSnrJ7l7MQb5uHWGFI97HNtX/bayK3FMu3Q2P6wXK2UDQxA3Ijx0HZLaU1R EnthiQfLCna4Zs+pNuLblIeJCdSyT7yzZF0UshxZWRQyETWo6pERIPpHWSs+6bv+4OQ+ EVHz2FM3NDJ74spZ6IBMA0O1q+Pyj0Bxu1FNmUerqRHNBsSf2U24SOzEYPe1L/oKBegG 9wwTnQMDhemMgtAUghoqUqMMoGRIFhbAYkSeAgBgoeDTK5yANaGAkpxQhwTeVe5c8iIY qwAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6at03+IfyftJOZ611UYmfrhKENe4hC81JDgP6PclobI=; b=sYMcMaQ4BLrQQ5mKP0S6OnOK62nwQXZjxEx8FADoE6xr/tyUnRYeyX97DSn8B497bM yoXLbz7qkeD28SAjiOXvH3VjjUGRm0+UgZu09WNmdgarRuvsFrRTd9yHpwfXOtPTDSYh AcEWXfBvGc6gBNFbqzPFVzaM9fId35fXFSpMoWffylBzfTSGRfRpZNzS/YNK/nNzFiA2 ZO0WcOqVh8Zu/BEj05BYJk+HS9IPnV2TnYmVhyxek5KD3iM7ggNZ8JtePtG0XOOUWPZH FfHWEPr6qPTilbiYXKhQcjdwyRqBrriFLcQNwcZT0hBZjuk+ThWRpzQ7fPeLAbJ/5YI7 xzeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jbJJWEWM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h191si10350616pgc.302.2019.02.25.16.23.43; Mon, 25 Feb 2019 16:23:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jbJJWEWM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729756AbfBZAWc (ORCPT + 99 others); Mon, 25 Feb 2019 19:22:32 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:35272 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729247AbfBZAWb (ORCPT ); Mon, 25 Feb 2019 19:22:31 -0500 Received: by mail-lf1-f67.google.com with SMTP id m73so2737299lfa.2 for ; Mon, 25 Feb 2019 16:22:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6at03+IfyftJOZ611UYmfrhKENe4hC81JDgP6PclobI=; b=jbJJWEWM6eF9oCP1NMpk8Yukinjlq9+t7gv/7a84CBFGDZukcP4flP8NA4wUzECL6d gQaSHzdMtqzdPFVijtcmq0cBgXks4jXI9RK/EKomvMbxjXgGjI1RV6koI7ViM0LSMXZQ Z65IfBARVH9OVaof5/TgeXzwxyg84u4pxKBrw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6at03+IfyftJOZ611UYmfrhKENe4hC81JDgP6PclobI=; b=nUFIutStg++gEP2PqdOHv37uFInDlHaOwyX/34fu2O6q6P0ju3sHm5FmKy+DU0NRJi 1wNdX/999QLQBUm2vsP0ucWRc3uT6DsDp7Vrae+YdeYo1GBjtd5XkdQ8tqijBeQA394U BXTuzF5pMvxN3eIjidZMAfy2x2yzrNTGYdKSe6bUbqkDaHJUGEc9Vpahu4FBoC8BUTDd H1/3OXM2liiLfU+jECVUwMeNjzNVi0ixRrufNZoXmds6IQlnIZSsjnj0j0sOqFyuKjXe 5xiYDI17VrjAxQL8T66GqFiJByQWQFeKkMYCAl9hP3tFt5nrFdFCzFbRvNMSt5sME9KU qdXQ== X-Gm-Message-State: AHQUAuaeujlWxBroYay8XNq+2E3aSnBFh8YHhyTk6JmAuEe0F/rBl1xa BOQISUgsxTGQC0L4ZbcRGPZRbSqQOPY= X-Received: by 2002:a19:6554:: with SMTP id c20mr4573615lfj.15.1551140549347; Mon, 25 Feb 2019 16:22:29 -0800 (PST) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com. [209.85.208.170]) by smtp.gmail.com with ESMTPSA id b19sm1721837lfg.56.2019.02.25.16.22.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Feb 2019 16:22:29 -0800 (PST) Received: by mail-lj1-f170.google.com with SMTP id z7so8955322lji.0 for ; Mon, 25 Feb 2019 16:22:29 -0800 (PST) X-Received: by 2002:a2e:2ce:: with SMTP id y75mr11069375lje.126.1551138938131; Mon, 25 Feb 2019 15:55:38 -0800 (PST) MIME-Version: 1.0 References: <1546318276-18993-1-git-send-email-yong.wu@mediatek.com> <1546318276-18993-7-git-send-email-yong.wu@mediatek.com> In-Reply-To: <1546318276-18993-7-git-send-email-yong.wu@mediatek.com> From: Evan Green Date: Mon, 25 Feb 2019 15:55:01 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 06/13] media: mtk-jpeg: Get rid of mtk_smi_larb_get/put To: Yong Wu Cc: Joerg Roedel , Greg Kroah-Hartman , Matthias Brugger , Rob Herring , Robin Murphy , Tomasz Figa , Will Deacon , linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, Arnd Bergmann , yingjoe.chen@mediatek.com, youlin.pei@mediatek.com, Nicolas Boichat , Rick Chang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 31, 2018 at 8:52 PM Yong Wu wrote: > > MediaTek IOMMU has already added device_link between the consumer > and smi-larb device. If the jpg device call the pm_runtime_get_sync, > the smi-larb's pm_runtime_get_sync also be called automatically. > > CC: Rick Chang > Signed-off-by: Yong Wu Reviewed-by: Evan Green