From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vfio: revert retry logic for MSI-X BAR mapping Date: Wed, 01 Aug 2018 17:52:36 +0200 Message-ID: <1874201.M8Nbpmf09E@xps> References: <4107730371de4ac30367258cb3419df184d1ec16.1532947452.git.anatoly.burakov@intel.com> <20180731034740.GA3371@jerin> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Jerin Jacob , t.yoshimura8869@gmail.com To: Anatoly Burakov Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 4B7151B04D for ; Wed, 1 Aug 2018 17:52:43 +0200 (CEST) In-Reply-To: <20180731034740.GA3371@jerin> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > This reverts commit d4774a568ba0a5923229974a002972c83eb04570. > > > > The patch is incomplete because kernel 4.16+, while being capable > > of mapping MSI-X BARs, will also report if such a capability is > > available. Without checking this capability, gratuitous errors > > are displayed on kernels <4.16 while VFIO is attempting to mmap > > MSI-X BAR and fails, which can be confusing to the user. > > > > Signed-off-by: Anatoly Burakov > > Acked-by: Jerin Jacob Applied, thanks