From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 333CE1A006F for ; Thu, 10 Mar 2016 13:03:16 +1100 (AEDT) In-Reply-To: <1456724453-10152-1-git-send-email-vaibhav@linux.vnet.ibm.com> To: Vaibhav Jain , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: mikey@neuling.org, Vaibhav Jain , Frederic Barrat , Ian Munsie Subject: Re: cxl: Ignore probes for virtual afu pci devices Message-Id: <20160310020315.EEBBB140783@ozlabs.org> Date: Thu, 10 Mar 2016 13:03:15 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2016-29-02 at 05:40:53 UTC, Vaibhav Jain wrote: > Add a check at the beginning of cxl_probe function to ignore virtual pci > devices created for each afu registered. This fixes the the errors > messages logged about missing CXL vsec, when cxl probe is unable to > find necessary vsec entries in device pci config space. The error > message logged are of the form : > > cxl-pci 0004:00:00.0: ABORTING: CXL VSEC not found! > cxl-pci 0004:00:00.0: cxl_init_adapter failed: -19 > > Cc: Ian Munsie > Cc: Frederic Barrat > Signed-off-by: Vaibhav Jain > Reviewed-by: fbarrat@linux.vnet.ibm.com > Reviewed-by: Andrew Donnellan > Acked-by: Ian Munsie Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/17eb3eef19f2c0541a7f04ad37 cheers