Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp268873ybk; Tue, 19 May 2020 22:17:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxZB4gVavfihj41Ou06ZxjOC0pUv746s1NKEnqmyevCqAL5NEs+EMk+GKJ6Cw1UCae/ohN X-Received: by 2002:a50:ec8e:: with SMTP id e14mr1803980edr.105.1589951841564; Tue, 19 May 2020 22:17:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589951841; cv=none; d=google.com; s=arc-20160816; b=PzAc2ihGpT5XnuzqT3//5N5KS5oPQk+CusyyXjsYMNN6sFHSfg3205kmgXd4Dn5XhP tsb9Dc+fLoLEg+uLaipKy9x3/i9F1wjQ4QCkSM7ylpxXFZc5n4bK1lH6eOcr+fm4iLor zpfVj5fphqs2BPz6G7JDKPUFHuSElS8HcucHrFU/kCRYWQaYw8sBUQ5AJaRCiiCqghDx DGLRlf91Hguf7oAPFjw7f8oBJxy2Z9CjUOOrdUTGAWcf+Gu7Gf/CJ+LAsw9WpeuhDKvC +MsY1Pjwc9LLPDSXTFaV5hlkRiFWOofOTqrBLuNoTY8DyTzJUQh7tcxjcrudtaBp0Bk2 O5YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=+O3syc3XRbTIzwZj0HSeRiE/cYj9nC5G4S4D8ES7p58=; b=My4jH98bOBGEAcxKukWEFZLdK5AkdV8HMA90gOuFN/CTyir/KHmiz6dJLF4iZ+P+kr lAS0PzFzqwv5PvArs6O8/vIfSzeZmcVan4vvKfvEBT1YqDD6LkvxdHAjbszJwqz1A76X hNWxyB8u4luirFuXgveSq+RNWlkn79zjJhPldWQ9fuNNT+NpwpuEidPdBHl85JtvEe0D n78+NV6IrRIniar/wju+aM40ke6fdebKFbSIO1n/q036+fN3HUHl5+24X8DHrz/7RYhq +29XUBswaC+sdve5eKSTV6Q4wrhvQ3fB91994Oqs1mynkXTNvLMn6oLQ+OH9pfTIpJqq WICQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=r22Tpllu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w19si1164532eji.578.2020.05.19.22.16.59; Tue, 19 May 2020 22:17:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=r22Tpllu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726741AbgETFPk (ORCPT + 99 others); Wed, 20 May 2020 01:15:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:34472 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726403AbgETFPj (ORCPT ); Wed, 20 May 2020 01:15:39 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 87D5420709; Wed, 20 May 2020 05:15:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589951739; bh=KPQMGRpN/8pksdTK+mITk4uG/KU+mOKwSHzD2e/jfd0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r22Tpllut6JmcXCyRGqQGTHKkf+22MD5eYE7TFPAMk7X78m31KDGDFuD+uNPcCiTl g4uT+VmG793nPL1sLrtCYYfoXMcQ2Ky12cmbiU+7S/dNdTfSNFVXsCgl+BlbHCQGlZ BV+7JbQGliTmhHd9MijjWRkFp9hBHgEtqUq1BjfQ= Date: Wed, 20 May 2020 07:15:36 +0200 From: Greg Kroah-Hartman To: Daniel Vetter Cc: dri-devel , Olof Johansson , Jason Gunthorpe , Jeffrey Hugo , Dave Airlie , Arnd Bergmann , Manivannan Sadhasivam , Bjorn Andersson , wufan@codeaurora.org, pratanan@codeaurora.org, linux-arm-msm , LKML Subject: Re: [RFC PATCH 0/8] Qualcomm Cloud AI 100 driver Message-ID: <20200520051536.GA2141566@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 19, 2020 at 10:41:15PM +0200, Daniel Vetter wrote: > On Tue, May 19, 2020 at 07:41:20PM +0200, Greg Kroah-Hartman wrote: > > On Tue, May 19, 2020 at 08:57:38AM -0600, Jeffrey Hugo wrote: > > > On 5/18/2020 11:08 PM, Dave Airlie wrote: > > > > On Fri, 15 May 2020 at 00:12, Jeffrey Hugo wrote: > > > > > > > > > > Introduction: > > > > > Qualcomm Cloud AI 100 is a PCIe adapter card which contains a dedicated > > > > > SoC ASIC for the purpose of efficently running Deep Learning inference > > > > > workloads in a data center environment. > > > > > > > > > > The offical press release can be found at - > > > > > https://www.qualcomm.com/news/releases/2019/04/09/qualcomm-brings-power-efficient-artificial-intelligence-inference > > > > > > > > > > The offical product website is - > > > > > https://www.qualcomm.com/products/datacenter-artificial-intelligence > > > > > > > > > > At the time of the offical press release, numerious technology news sites > > > > > also covered the product. Doing a search of your favorite site is likely > > > > > to find their coverage of it. > > > > > > > > > > It is our goal to have the kernel driver for the product fully upstream. > > > > > The purpose of this RFC is to start that process. We are still doing > > > > > development (see below), and thus not quite looking to gain acceptance quite > > > > > yet, but now that we have a working driver we beleive we are at the stage > > > > > where meaningful conversation with the community can occur. > > > > > > > > > > > > Hi Jeffery, > > > > > > > > Just wondering what the userspace/testing plans for this driver. > > > > > > > > This introduces a new user facing API for a device without pointers to > > > > users or tests for that API. > > > > > > We have daily internal testing, although I don't expect you to take my word > > > for that. > > > > > > I would like to get one of these devices into the hands of Linaro, so that > > > it can be put into KernelCI. Similar to other Qualcomm products. I'm trying > > > to convince the powers that be to make this happen. > > > > > > Regarding what the community could do on its own, everything but the Linux > > > driver is considered proprietary - that includes the on device firmware and > > > the entire userspace stack. This is a decision above my pay grade. > > > > Ok, that's a decision you are going to have to push upward on, as we > > really can't take this without a working, open, userspace. > > Uh wut. > > So the merge criteria for drivers/accel (atm still drivers/misc but I > thought that was interim until more drivers showed up) isn't actually > "totally-not-a-gpu accel driver without open source userspace". > > Instead it's "totally-not-a-gpu accel driver without open source > userspace" _and_ you have to be best buddies with Greg. Or at least > not be on the naughty company list. Since for habanalabs all you > wanted is a few test cases to exercise the ioctls. Not the entire > userspace. Also, to be fair, I have changed my mind after seeing the mess of complexity that these "ioctls for everyone!" type of pass-through these kinds of drivers are creating. You were right, we need open userspace code in order to be able to properly evaluate and figure out what they are doing is right or not and be able to maintain things over time correctly. So I was wrong, and you were right, my apologies for my previous stubbornness. thanks, greg k-h