Received: by 10.223.185.116 with SMTP id b49csp2631959wrg; Mon, 5 Mar 2018 06:19:10 -0800 (PST) X-Google-Smtp-Source: AG47ELtFMYGk4Ev4DQps9EdNKIFXoJkn8OQ8HKpb3eKbcHZWcpR+zLMCazrkAFjpMAFRn8qYahBE X-Received: by 10.99.52.203 with SMTP id b194mr12733988pga.349.1520259549870; Mon, 05 Mar 2018 06:19:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520259549; cv=none; d=google.com; s=arc-20160816; b=bWjcTBpK7m7TUeKc8jYd/JWADjbhQH3Q7CEfPtbJbVN3k6CJQIxCE0qTwC5aqQE57l viihU961olHa4rJnmL05hA/gGFnfsGPF+p3vczeD9jJAbpCErc7gtpfNQIFOQaESCVus ur1BVLIRBl4yndPIRMvPg25LhWKUDV5/3x3bHasbEGCXRGy3oIDDRSHuBgXYQzmZWrJL S25bi/8U6egWYRps7C07517I+DhfoLjRlNF/eeyEqLRTk20BDJQpkhE/BUpGHWIv414r 2YLuZmYce1geBjxV0QX0ep1bt7vGQNPCFBApZX3FG89FMXsZj973xMdYV6jwD2jFLXvD Un4Q== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=6MwcBps8YoMQeEjL20vQjSgHeMAwhZwKSaJlSseQiKA=; b=IlPRmeKRtbPIPm7eQS1vmTonSJVWshPXqoChDJ/M8Dqvk1txzh+Qb6T7kKRpudhuD/ QzspeyppxrBuVEcuHvG6MbMG0fG6iJpu13UgY4Q/gTophXYNeAulaBRZuPohMHTOOgy+ dYYYw7bvoJYfXfUcIQYA7lFvDNyLQwlaImpxGU96s8r1XjgHDLFQPH/E5Kuji55pmemi VsME+a/uBiU0hEobLHW9oBvX06HyjLZadskZj03529VuK1rFflB4K3QM47lxZuMFRjWo Pgw9VKz2hIkMTugcYiE6MLtV+rp8YfyWiyQX2XtOKgAt2RWwRFrkjnmg6NHMcWjPhaeU kCvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=DwoWX5pN; 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 64-v6si9351996plk.152.2018.03.05.06.18.56; Mon, 05 Mar 2018 06:19:09 -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=DwoWX5pN; 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 S964905AbeCENat (ORCPT + 99 others); Mon, 5 Mar 2018 08:30:49 -0500 Received: from mail-vk0-f67.google.com ([209.85.213.67]:40549 "EHLO mail-vk0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933088AbeCENaq (ORCPT ); Mon, 5 Mar 2018 08:30:46 -0500 Received: by mail-vk0-f67.google.com with SMTP id n82so9753976vkf.7 for ; Mon, 05 Mar 2018 05:30:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6MwcBps8YoMQeEjL20vQjSgHeMAwhZwKSaJlSseQiKA=; b=DwoWX5pNp/n+ibhI5LleFdBNeO99pITpalbytaTa/a/XSQ2K4cZ+YlYM4UQsmKzF+J acbl7pDQwQhXM6t0Mmu0+RmCN9frjJbxhx1aHLjHGril3YnVQ0UiskaeV3poWAKdTJgc DAnJabs1GMDqN9YrfdnyI8F5qfk73ftr+zbHw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6MwcBps8YoMQeEjL20vQjSgHeMAwhZwKSaJlSseQiKA=; b=LDcLmmkLIvPhBX3U1haZWbEBkjQguYKRUd05iXND6AQTkFFRoOE/m6QAunyDK6H2tx S2/EF85LI1cAN2LqgFsRYKw/RWxkWs1qD0/m895gh0IxdySMbPmm5CHjjU39IL0EuZZM XBkGwNTpcC3A7ZKBrS70aPi0VdT5z69rHvKmmU/hbtf66x3wdOk99wr7lRM50r13wciB m+Nr9FQpPPd3MXg5qYturFCqh+HAK9k+H92J+zawTUds8HN2AorodUqczSNXrUFmfxuK BgW88kpr51BOW6g4Rb5PHyfEOhGHcrCq2CkzeTWgHxzKNef+rhK3h5saJaMIYIduiulf 6Iyg== X-Gm-Message-State: APf1xPCsKaSwJQPMIsVDYF7AHuP9ilI/MvhxUlbnvOz17wF4x0CYCsCg pJ8JsxMPWiaRNk/AgJFef8MbbKTq5PI= X-Received: by 10.31.152.139 with SMTP id a133mr10731545vke.96.1520256644737; Mon, 05 Mar 2018 05:30:44 -0800 (PST) Received: from mail-vk0-f46.google.com (mail-vk0-f46.google.com. [209.85.213.46]) by smtp.gmail.com with ESMTPSA id 131sm5698080vke.29.2018.03.05.05.30.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Mar 2018 05:30:43 -0800 (PST) Received: by mail-vk0-f46.google.com with SMTP id z190so9780767vkg.1 for ; Mon, 05 Mar 2018 05:30:43 -0800 (PST) X-Received: by 10.31.76.1 with SMTP id z1mr10542694vka.97.1520256643359; Mon, 05 Mar 2018 05:30:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.0.99 with HTTP; Mon, 5 Mar 2018 05:30:22 -0800 (PST) In-Reply-To: <20180301101837.27969-4-jeffy.chen@rock-chips.com> References: <20180301101837.27969-1-jeffy.chen@rock-chips.com> <20180301101837.27969-4-jeffy.chen@rock-chips.com> From: Tomasz Figa Date: Mon, 5 Mar 2018 22:30:22 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RESEND PATCH v6 03/14] iommu/rockchip: Request irqs in rk_iommu_probe() To: Jeffy Chen Cc: Linux Kernel Mailing List , Ricky Liang , Robin Murphy , simon xue , Heiko Stuebner , "open list:ARM/Rockchip SoC..." , "open list:IOMMU DRIVERS" , Joerg Roedel , "list@263.net:IOMMU DRIVERS , Joerg Roedel ," 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 Hi Jeffy, On Thu, Mar 1, 2018 at 7:18 PM, Jeffy Chen wrote: > Move request_irq to the end of rk_iommu_probe(). > > Suggested-by: Robin Murphy > Signed-off-by: Jeffy Chen > --- > > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: > Loop platform_get_irq() as Robin suggested. > > Changes in v2: None > > drivers/iommu/rockchip-iommu.c | 38 +++++++++----------------------------- > 1 file changed, 9 insertions(+), 29 deletions(-) > Reviewed-by: Tomasz Figa Best regards, Tomasz