Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755536AbdHYJhe (ORCPT ); Fri, 25 Aug 2017 05:37:34 -0400 Received: from ozlabs.org ([103.22.144.67]:38103 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755205AbdHYJha (ORCPT ); Fri, 25 Aug 2017 05:37:30 -0400 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> User-Agent: Notmuch/0.21 (https://notmuchmail.org) 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 573 Lines: 16 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