Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3712613ybk; Tue, 19 May 2020 11:09:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsmi+d5+RLPY15INBWaXMYSL03+OmVXASV7WjOi5o28MxCQrhYRJv38gNir36bW+DdMptt X-Received: by 2002:a17:906:2b4f:: with SMTP id b15mr450052ejg.64.1589911745566; Tue, 19 May 2020 11:09:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589911745; cv=none; d=google.com; s=arc-20160816; b=YmfKu+BN8ZdB/6auds9Fr2khmkwxHkM1T6gvtNCDX5y945hqp2MtnFYfoEuAeoxcgL TTUvHoXR55Swo7ucBVcVjq3AK9Z9RJyPRrmzZMX15PbOq9rr9Njtb+cDuexb2eNVTLHH CaAIdlpptpm6FeObP+STl4IMxiejf/RACO6arCjTra7K5ETl6i2nGsOvXlph/5ds4ue3 uuNdH7RUjhxeqv3958U/CH3U9V+v7bqHbJZn3xwxxF3WJ/O76cb4QfkZEHQSz0yJ79B3 asSi1VimlQBFSf823+mqvIIPbglLMuT11SdxjAXxl7hO4CYnKebQg8efLwfnxwwtkBiZ 7rFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature; bh=17pbhKPLb0x+5QvEAOVCbb6Ucpo1/xaIDMY482XpM0o=; b=Z/AQ0Zq+KvMo/q/g0QM5zruTVNTDrbiYNOTWtgUQN1ZfFGrXUQhaCNasrmqeN79qFV kltMdp/5TcK+SGaNWVooRbM3ShYZOdXctd2kFLulxSrIvjPPla1qsqMeKAQ92mYYBsm5 sPCcfxVMsT1FsN25TrBsx5Eo5JNUryFJRBhj/Oy1MfLMGI4d0DpptYYMtSNtdKWbjHn3 Alq1o0uCgGSdydkKLY/UiWjVI2Gz85z9kyLwHnqryrAjTvbZPU7JZCBBzLY8FBrUUzvI DXgkW1pB4EJ6qyth0zs+QhAxytXk6eBW253cKwYxw7saYeKl9xNfaXeTDFxP5+VRkNQG 7Ryg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=jUxVQLMf; 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 p17si297682eji.639.2020.05.19.11.08.41; Tue, 19 May 2020 11:09:05 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=jUxVQLMf; 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 S1727844AbgESSHJ (ORCPT + 99 others); Tue, 19 May 2020 14:07:09 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:39081 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726510AbgESSHI (ORCPT ); Tue, 19 May 2020 14:07:08 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1589911628; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=17pbhKPLb0x+5QvEAOVCbb6Ucpo1/xaIDMY482XpM0o=; b=jUxVQLMfgIMCQ+s+oxH+/aiYNw1ZMtb00WqtGOUNl6q8zXf7wiQdJX7utx1bk2whZdFrGAu3 UC5M4887vQ1nkbFuwVwrz5rDPvldhjHS3B51pFl5oHgY53adnRkUPTze604vFDPFpZv0foML Xp0LEhdgj1X+AAjA13/Z1Dd9MCA= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 5ec4204c087f08818e55d193 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 19 May 2020 18:07:08 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id B93DAC072A4; Tue, 19 May 2020 18:07:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [10.226.58.28] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 0DE89C4478F; Tue, 19 May 2020 18:07:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0DE89C4478F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=jhugo@codeaurora.org Subject: Re: [RFC PATCH 0/8] Qualcomm Cloud AI 100 driver To: Greg Kroah-Hartman Cc: Dave Airlie , Arnd Bergmann , manivannan.sadhasivam@linaro.org, bjorn.andersson@linaro.org, wufan@codeaurora.org, pratanan@codeaurora.org, linux-arm-msm , LKML References: <1589465266-20056-1-git-send-email-jhugo@codeaurora.org> <93238096-5861-c140-b94f-6137977c3d65@codeaurora.org> <20200519174120.GC1158284@kroah.com> From: Jeffrey Hugo Message-ID: Date: Tue, 19 May 2020 12:07:03 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200519174120.GC1158284@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/19/2020 11:41 AM, 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. Fair enough. I hope that your position may have made things easier for me. I hope this doesn't widen the rift as it were, but what is the "bar" for this userspace? Is a simple test application that adds two numbers on the hardware acceptable? What is the bar "working"? I intend to satisfy this request in good faith, but I wonder, if no one has the hardware besides our customers, and possibly KernelCI, can you really say that I've provided a working userspace? > Especially given the copyright owner of this code, that would be just > crazy and foolish to not have open userspace code as well. Firmware > would also be wonderful as well, go poke your lawyers about derivative > work issues and the like for fun conversations :) Those are the kind of conversations I try to avoid :) > So without that changed, I'm not going to take this, and push to object > that anyone else take this. > > I'm not going to be able to review any of this code anymore until that > changes, sorry. > > thanks, > > greg k-h > -- Jeffrey Hugo Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.