Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4653411ima; Mon, 4 Feb 2019 22:07:17 -0800 (PST) X-Google-Smtp-Source: AHgI3IZOhdI/P5fPvRanBwUehMl7deJt9za1HzLb2Jm4IyywiZK0HlHefpOwfQq+sTFfh/DGhsAd X-Received: by 2002:a62:16d6:: with SMTP id 205mr3310418pfw.256.1549346837722; Mon, 04 Feb 2019 22:07:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549346837; cv=none; d=google.com; s=arc-20160816; b=S0fY7s/MlvLk25FOrrhv0YMl3KJtgFBNpC2pXqJgD7c9+12X9Ssw9oZaU8rfQCHXDi WXAJAeBcQ3CEk+KkuU4zGwtUTDqcOZwjqLKTuVXbi6aQRYeSUJQQxAlFGmyqT2x9LnSo sgjgSyGn/WN5GR9dmQ68zOETRqsc/pPqitGgMeCnn3JTJmoQiAY9HVrxaQPYmCAgisTR fgREQTXr9NhjspY+y1l7uPrhjvefn2bwW8ieiOM3UHyNbQj2CSD2bidxuwzmp2jFLV0b osWaiFbUsPuf9ecnxG0J7ssWEqdagZeNXnx68pAwoF9CBEqdeURtN22jpfovQNEORM5h n4Ew== 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=jcZjY5XDE/E9FNQRkXQrr6M7zvi/tvQDKDvX/q8jeBg=; b=wqX+Nrp5mixCc+VyZa9Ja3MhkAE7DyOLg8uKuJtXS1nhc4HKz1+mNXx4O/fulvxVew 7hU7jTjvJ5AamGA3/3qLVMFKhu4fbsXdgxt76inwb1688r4EhSjDkVXqOXSB+EP70YEl P+GEoY782mMbPPu4xyT4RKaqCBe0GOE1HjAs49y4c5XZV7H+klchuHvRwj/iprMBrmdN 6ApXZWQrhx8qjgmNREWk/Nkf4X6YGBWM1+57SytE/xnM41rFiKdAUHFoB39q7Hpybg6x we6b8PDVqX8bZuxBGEBJh0qA5w1JGE+i1P3bg/gvk/QBFOxEK+k8P8T6UlRvZYm8E8rj dxCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mobiveil.co.in header.s=google header.b=q0302VE6; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z188si2235896pgb.330.2019.02.04.22.07.01; Mon, 04 Feb 2019 22:07:17 -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=@mobiveil.co.in header.s=google header.b=q0302VE6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727379AbfBEGFw (ORCPT + 99 others); Tue, 5 Feb 2019 01:05:52 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:40253 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726985AbfBEGFw (ORCPT ); Tue, 5 Feb 2019 01:05:52 -0500 Received: by mail-wm1-f66.google.com with SMTP id f188so2268743wmf.5 for ; Mon, 04 Feb 2019 22:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mobiveil.co.in; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jcZjY5XDE/E9FNQRkXQrr6M7zvi/tvQDKDvX/q8jeBg=; b=q0302VE6ZZ4eNwzx+A/WjcR8zgl6JfM1E9Cb7sWFs3EnBG8DlBam36U/zaUIomk+Rn PB/UJi6qNDOJeNoxyP5YBBm6F/SKwfXjCV6humG+s32dhAo5O4Sl7rjWXrfNAFmkdcZS ah15QIs+ac7BXFU+SI+Ree7g0rLUefx4a1/00= 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=jcZjY5XDE/E9FNQRkXQrr6M7zvi/tvQDKDvX/q8jeBg=; b=DHpGfTnvL6GAXOkLWQpzPDYbEneQzeA219BrKbEQmY14kprmh1u51mbmZtg3u7UzwU MQJeXFCC8tmKRJ4xYGOKvWDv9QMxfLA9juGfQilslXyE3GI+CGySRtjRPnGIbXwu2qnv Aem79j69dFagV8yR2G48pJDhYKre2N5Y9cTfBR0vXbIAIFisbeD09D344kLlN4QZ0NKz 3BDDsTS+cCRswp0Sl8Sigcp8x/fTK4KkG6l0kEDTwQCTNt25HlzMTkLZG7dfSggOhCMj tLB+FCNw/uQ3Oj+4dF7MWKF64Wl5LZK1Q7LWwOOHnLCJN82WsLD8q0mFrWIlWRZXr+kZ Q+mg== X-Gm-Message-State: AHQUAub9QCpJQSZHWG+4oQnSV2qiakms+ZThqjTglwZ/b3QVYaAVvU2H hX5YAfGoQXtq33IKaT5DvwinwIIXrOlKTWEuDBe2Fg== X-Received: by 2002:a1c:9e4a:: with SMTP id h71mr2241827wme.82.1549346750647; Mon, 04 Feb 2019 22:05:50 -0800 (PST) MIME-Version: 1.0 References: <20190129080926.36773-1-Zhiqiang.Hou@nxp.com> <20190129080926.36773-9-Zhiqiang.Hou@nxp.com> In-Reply-To: <20190129080926.36773-9-Zhiqiang.Hou@nxp.com> From: Subrahmanya Lingappa Date: Tue, 5 Feb 2019 11:38:24 +0530 Message-ID: Subject: Re: [PATCHv3 08/27] PCI: mobiveil: use the 1st inbound window for MEM inbound transactions To: "Z.q. Hou" Cc: "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , Leo Li , "lorenzo.pieralisi@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Mingkai Hu , "M.h. Lian" , Xiaowei Bao 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 Reviewed-by: Subrahmanya Lingappa On Tue, Jan 29, 2019 at 1:39 PM Z.q. Hou wrote: > > From: Hou Zhiqiang > > The inbound windows have different register set with outbound windows. > This patch change the MEM inbound window to the first one. > > Signed-off-by: Hou Zhiqiang > Reviewed-by: Minghuan Lian > --- > V3: > - No change > > drivers/pci/controller/pcie-mobiveil.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/controller/pcie-mobiveil.c b/drivers/pci/controller/pcie-mobiveil.c > index df71c11b4810..e88afc792a5c 100644 > --- a/drivers/pci/controller/pcie-mobiveil.c > +++ b/drivers/pci/controller/pcie-mobiveil.c > @@ -616,7 +616,7 @@ static int mobiveil_host_init(struct mobiveil_pcie *pcie) > CFG_WINDOW_TYPE, resource_size(pcie->ob_io_res)); > > /* memory inbound translation window */ > - program_ib_windows(pcie, WIN_NUM_1, 0, MEM_WINDOW_TYPE, IB_WIN_SIZE); > + program_ib_windows(pcie, WIN_NUM_0, 0, MEM_WINDOW_TYPE, IB_WIN_SIZE); > > /* Get the I/O and memory ranges from DT */ > resource_list_for_each_entry(win, &pcie->resources) { > -- > 2.17.1 >