Return-Path: Received: from ozlabs.org (bilbo.ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xdx090rlQzDqMM for ; Fri, 25 Aug 2017 19:37:29 +1000 (AEST) From: Michael Ellerman To: Sukadev Bhattiprolu Cc: Benjamin Herrenschmidt , mikey@neuling.org, stewart@linux.vnet.ibm.com, apopple@au1.ibm.com, hbabu@us.ibm.com, oohall@gmail.com, linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 08/12] powerpc/vas: Define vas_win_id() In-Reply-To: <1503556688-15412-9-git-send-email-sukadev@linux.vnet.ibm.com> References: <1503556688-15412-1-git-send-email-sukadev@linux.vnet.ibm.com> <1503556688-15412-9-git-send-email-sukadev@linux.vnet.ibm.com> Date: Fri, 25 Aug 2017 19:37:28 +1000 Message-ID: <87378gugx3.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sukadev Bhattiprolu writes: > Define an interface to return a system-wide unique id for a given VAS > window. > > The vas_win_id() will be used in a follow-on patch to generate an unique > handle for a user space receive window. Applications can use this handle > to pair send and receive windows for fast thread-wakeup. > > The hardware refers to this system-wide unique id as a Partition Send > Window ID which is expected to be used during fault handling. Hence the > "pswid" in the function names. Same comment as previous patch. cheers