Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1887072imu; Sat, 26 Jan 2019 13:13:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN78U8w+E63hLPvaYyqXFsQLoyT1bDWUxMlsnGUTN33Y+rGT726JuDhxYZpOXP3Q/SDpKupa X-Received: by 2002:a17:902:d01:: with SMTP id 1mr16458721plu.127.1548537221349; Sat, 26 Jan 2019 13:13:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548537221; cv=none; d=google.com; s=arc-20160816; b=SchnuvRoBMmI/5+D34lcS1k3KOjSlidC5C5fF+9o8R/vytNOYi1Blu3CwtyWc4ukKI IEV9t2+XFiV3Fz+Fb+BLE3kMOjywutiUJA4ssHyPPCY6+2BxijJWq7pUzEy22PZwh6SI cE1UAa05qAmL3Ajki/qCyDipTXVkcg7MpZec2evKl9fVMG8owpis3jaS2DDe3ReCqvRy E1SrNmiwuORrTFDUlQo39lZfvFWQS6KDfXX2gkY7h10o8+5Nr5G8wNmuGu0OgHresXTK 12QH4/9zfVEcqFxxi/vjl5zxTr8/FJuXbEKrQkny3qUGRtI7bbILsL/zEKs+Fmj7MSjs ZGaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=kqDPi4evcw9cuSy8c7Vrx3CedcR00yuJYOpWb6GGvJo=; b=RKJylOYa2t8VLP9XxUg4+1eDo+CfSDP23rXbxfP/GbpulJz8pKYU5XjlQbSqucSomF 7LDNFAcS2R+D4calzw6OKyE+P3WcpaL3V6VjBV/3PSc8SSgQysh0JvXe0BQRs9fBGYZY 9bBid2oM30sCDAV+LMMo1BjJA9jw468W0coefoHITAOncj2AG1jGHZmkMJjdEBMik6fL i8rPeCl2jsrg1v3xlfNgnyL+bUH2CXYJKU+ScVU/3cp0NOykigBKrybhsy9wSiy/lzxQ 2Z/9yG21jU+JhdC3FnC08hcM7htqaJvlUZgKMgO9zn/4BvlzkX/MB9VIvzv26RUgk/fz T08w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p189si16125909pfb.0.2019.01.26.13.13.24; Sat, 26 Jan 2019 13:13:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726343AbfAZVME (ORCPT + 99 others); Sat, 26 Jan 2019 16:12:04 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:35059 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726233AbfAZVMD (ORCPT ); Sat, 26 Jan 2019 16:12:03 -0500 Received: by mail-qt1-f193.google.com with SMTP id v11so14501979qtc.2 for ; Sat, 26 Jan 2019 13:12:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kqDPi4evcw9cuSy8c7Vrx3CedcR00yuJYOpWb6GGvJo=; b=KUeF5lMG+QiG3/oLQ4v3lvblfAPFKv5HK7Hk+pHik+FrDC0A8Yh8rCjdfAO9czfmYV r6P122d7X/ZAJWKEsLR4IMpVg3nADz4pAAac5Z+oKZNqiLs2wM/x8CNkLLjoQsttT0ls +FObQp8U8hJVKpEfmSLb+k4E5/A3pKJbYid3Hj8oEO6c4n5ds6lEMwsm+8DyzeTD0FoM RP3nGsvQLTvTc+BCmBMqkI/SG1niRW8JLk8o/Ro0047R5dl/48UX+zlQvwcZ2kPbjBmA 0L1gsirH/mSn64aKjuIINIVZaPbqou/O4AxB2L46aO3Uc8gR73wtlwaUaMefwRPRYvT5 hm7A== X-Gm-Message-State: AJcUukcvqwkcAJpFl85hqGDd25eu0VMG8kaMyQPYnGQwDOPW9D7bpxAr 2Davdm/7TGmUs3NQeXech/usHJ4Eodi+uhWBiRo= X-Received: by 2002:ac8:4141:: with SMTP id e1mr15308628qtm.96.1548537122672; Sat, 26 Jan 2019 13:12:02 -0800 (PST) MIME-Version: 1.0 References: <20190125181616.62609-1-olof@lixom.net> In-Reply-To: <20190125181616.62609-1-olof@lixom.net> From: Arnd Bergmann Date: Sat, 26 Jan 2019 22:11:46 +0100 Message-ID: Subject: Re: [PATCH/RFC 0/5] HW accel subsystem To: Olof Johansson Cc: Linux Kernel Mailing List , linux-accelerators@lists.ozlabs.org, Greg Kroah-Hartman , Frederic Barrat , Andrew Donnellan , ogabbay@habana.ai, Dave Airlie , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 25, 2019 at 7:17 PM Olof Johansson wrote: > > Per discussion in on the Habana Labs driver submission > (https://lore.kernel.org/lkml/20190123000057.31477-1-oded.gabbay@gmail.com/), > there seems to be time to create a separate subsystem for hw accellerators > instead of letting them proliferate around the tree (and/or in misc). > > There's difference in opinion on how stringent the requirements are for > a fully open stack for these kind of drivers. I've documented the middle > road approach in the first patch (requiring some sort of open low-level > userspace for the kernel interaction, and a way to use/test it). > > Comments and suggestions for better approaches are definitely welcome. We probably want to move drivers/misc/mic together with the others as well. We could even move arch/powerpc/platforms/cell/spu*/ for another historic example. Arnd