Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3155121imu; Fri, 23 Nov 2018 22:53:28 -0800 (PST) X-Google-Smtp-Source: AFSGD/W+Qk8TfRUmffr8afa/FnRAoi79RT8cOoKkCp8m5OJ7gyBxtSSsnSOMC+QDnBj2iN1OEOMo X-Received: by 2002:a17:902:a988:: with SMTP id bh8-v6mr18958783plb.163.1543042408089; Fri, 23 Nov 2018 22:53:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543042408; cv=none; d=google.com; s=arc-20160816; b=S1Tfp715n68RZAySVbivrOCrm/vNnNB2vMbpsEyMdx5danmIEndILVLaidGi+ye7tv nJ7Y+7q2D/Jt/g7LQBAK+iNxUo+qlcBhneoRampjEOhXG4rBlI6WV5Zz0vkiFhSXEoMF 9vSL306T2oz74OJrRUunvwMdylvDO0BUnR4SQX1KXMi0vZKkqM91ZvBjo4vcUIcU4B86 R9q9Tw+xnUXn4fGNHCA1J7bcLMIKfTVwIEdpLGukug4vuhCq8gYjGH7JsNNQhIBqO6pZ KRGQq4lQSseAtWsbkpy76lokcz6+3faBnAJ4j1O8ZzGoLXkrfBSi0qTdheALyDDksBM2 SAKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to; bh=FMS0YT1MrxPHsiT2LdRaHN7oBJxQXTkECy0Joj/TrE0=; b=G2gF3XZYPzy0sjZjlkxhWi+4EgchY+DadLCAFvDAojcqXy03kN0IsQCGVMWqdTXeE8 RVUEkfbF1jm9qmgLK4PpI5aNHXTjiFLkJw8quWabWi6LwuHeZ1wDMjZQfhyUIcqu8/Sy BPWcliSWPk6GOJtwFG0eqcyuKXwl5HmhUHvxGfOCspIEaJ9KDa96pHN4TIqtKp47Q+0v C4cZteyw1gdOfaxTBHS4OgxSngvcHTAuGe4yjDvT1jBLvh/m/kvvhOYlUc18c/chCCqs ccb2N6/3iac/1ifJo7fOfvyBboMSMKTFwcO9FwbxrPr6LxGmnFOtc1ka4Q3DzVadIVsM dedA== ARC-Authentication-Results: i=1; mx.google.com; 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 s80si17377731pfa.130.2018.11.23.22.53.13; Fri, 23 Nov 2018 22:53:28 -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; 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 S2406096AbeKWDfK (ORCPT + 99 others); Thu, 22 Nov 2018 22:35:10 -0500 Received: from ale.deltatee.com ([207.54.116.67]:42624 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404133AbeKWDfJ (ORCPT ); Thu, 22 Nov 2018 22:35:09 -0500 Received: from guinness.priv.deltatee.com ([172.16.1.162]) by ale.deltatee.com with esmtp (Exim 4.89) (envelope-from ) id 1gPsFe-000490-79; Thu, 22 Nov 2018 09:54:51 -0700 To: Wesley Sheng , kurt.schwemmer@microsemi.com, jdmason@kudzu.us, dave.jiang@intel.com, allenbh@gmail.com, linux-pci@vger.kernel.org, linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org Cc: wesleyshenggit@sina.com References: <1542877322-24548-1-git-send-email-wesley.sheng@microchip.com> From: Logan Gunthorpe Message-ID: Date: Thu, 22 Nov 2018 09:54:41 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1542877322-24548-1-git-send-email-wesley.sheng@microchip.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 172.16.1.162 X-SA-Exim-Rcpt-To: wesleyshenggit@sina.com, linux-kernel@vger.kernel.org, linux-ntb@googlegroups.com, linux-pci@vger.kernel.org, allenbh@gmail.com, dave.jiang@intel.com, jdmason@kudzu.us, kurt.schwemmer@microsemi.com, wesley.sheng@microchip.com X-SA-Exim-Mail-From: logang@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-8.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [PATCH 0/3] ntb_hw_switchtec: Added support of >=4G memory windows X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey, This entire series looks good to me. Reviewed-by: Logan Gunthorpe Logan On 2018-11-22 2:01 a.m., Wesley Sheng wrote: > Hi, Everyone, > > This patch series adds support of >=4G memory windows. > > Current Switchtec's BAR setup registers are limited to 32bits, > corresponding to the maximum MW (memory window) size is <4G. > Increase the MW sizes with the addition of the BAR Setup Extension > Register for the upper 32bits of a 64bits MW size. This increases the MW > range to between 4K and 2^63. > > Additionally, we've made the following changes: > > * debug print 64bit aligned crosslink BAR numbers > * Fix the array size of NT req id mapping table > > Tested with ntb_test.sh successfully based on NTB fixes series from > Logan Gunthorpe at > https://github.com/sbates130272/linux-p2pmem on branch of > ntb_multiport_fixes > > Regards, > Wesley > > > > Paul Selles (2): > ntb_hw_switchtec: debug print 64bit aligned crosslink BAR Numbers > ntb_hw_switchtec: Added support of >=4G memory windows > > Wesley Sheng (1): > ntb_hw_switchtec: NT req id mapping table register entry number should > be 512 > > drivers/ntb/hw/mscc/ntb_hw_switchtec.c | 11 ++++++++--- > include/linux/switchtec.h | 10 +++++++--- > 2 files changed, 15 insertions(+), 6 deletions(-) >