Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751660AbdGaU0M (ORCPT ); Mon, 31 Jul 2017 16:26:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:36404 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751375AbdGaU0J (ORCPT ); Mon, 31 Jul 2017 16:26:09 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1006722B5D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=helgaas@kernel.org Date: Mon, 31 Jul 2017 15:26:06 -0500 From: Bjorn Helgaas To: Logan Gunthorpe Cc: linux-ntb@googlegroups.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Jon Mason , Dave Jiang , Allen Hubbe , Bjorn Helgaas , Greg Kroah-Hartman , Kurt Schwemmer , Stephen Bates , Serge Semin Subject: Re: [PATCH v3 10/16] switchtec_ntb: initialize hardware for doorbells and messages Message-ID: <20170731202606.GD9303@bhelgaas-glaptop.roam.corp.google.com> References: <20170725205753.4735-1-logang@deltatee.com> <20170725205753.4735-11-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170725205753.4735-11-logang@deltatee.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 421 Lines: 11 On Tue, Jul 25, 2017 at 02:57:47PM -0600, Logan Gunthorpe wrote: > Set up some hardware registers and creates interrupt service routines > for the doorbells and messages. > > There are 64 doorbells in the switch that are shared between all > partitions. The upper 4 doorbells are also shared with the messages > and are there for not used. Thus, this provides 28 doorbells for each s/there for/therefore/ > partition.