Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp751679imu; Fri, 25 Jan 2019 10:17:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN6pkhbm8qlPXlgYHZvpRFgtDOmms4EcraKwm+pLdBYzZKIV0ptUgeJke3pd8vos4fexagnp X-Received: by 2002:a63:d157:: with SMTP id c23mr10790322pgj.170.1548440265559; Fri, 25 Jan 2019 10:17:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548440265; cv=none; d=google.com; s=arc-20160816; b=H8cMJ7RdnlLhZKeQNj9Pgj8/xIinQPZkAU3nuEgWK+YIZQnlxV4giaBH1nRTwubo1d MzA5Z01i0M9yZ4s5EITlphva3FwTeic2bkIHcvpaeGrdx7L7oDK5KpP5EYbBIQV/e5JT +GP0/OZJp/82mzI5/mgt2J2EkLLx0uhFpxFTScbDQavvFNr+sPW9N7y+bqh6IyMAgr3L HFECt3OPyGMloTyjDQIkSDmw1XCBQ1TBclM+jlADPrK3HZ9P5E1H5h+cFrnmPDe16uvr 36f7yGg6gsZy7qQDGfQlqy5KM/eHKL6U01yXmMLTutEbF/MrF0nGW2KvOPJUmPQkpxTj 4uJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=z/ofs7NvAQ0crEjWnKyCEL0KkO/9TOta8dgWkolmTGM=; b=FWJV8G3k/39bQAbm74OUV9lDlqvZlQcwZVncMAhJG8IpkcQDdIfyGcALLQ36P47pH4 QWP4jTEOVjjFjD4OBdBOD7cp2B/3A8kcAsqlfrhyv3+LR9i8IwZa5e2Ad9jYh1kGAzwG xNI5gZy6wpHyELaEe8L93MerrngF7VvKsTL8gZq2uhKMwAstu/O31+uSmHuEYUxVUTpD /aNYTD1joLSy1Yi3Y66zTSjH9sPa3ma5IPOgEMoGF5T90JSXCrm68smrmRjYDKi4N6d1 RfExw6C/GfQD1BpoBuQXReS0NW6huvy7/EX9xzxYMX22TvEUt6r8s5KlMoMm1X3uj5YB hYEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=GzjF7tBa; 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 44si17927plc.110.2019.01.25.10.17.30; Fri, 25 Jan 2019 10:17:45 -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; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=GzjF7tBa; 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 S1728816AbfAYSRQ (ORCPT + 99 others); Fri, 25 Jan 2019 13:17:16 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:37396 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726411AbfAYSRQ (ORCPT ); Fri, 25 Jan 2019 13:17:16 -0500 Received: by mail-ot1-f67.google.com with SMTP id s13so9367818otq.4 for ; Fri, 25 Jan 2019 10:17:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=z/ofs7NvAQ0crEjWnKyCEL0KkO/9TOta8dgWkolmTGM=; b=GzjF7tBaGFcyLaWEqtvm5qlRM0kDiZyxKF7SeD8Dbj3MeH5XWcrxOn41H3N7S2LgY1 ZoDt5YZ/WXpc+9T80nJeq0/M2PFhH8AI22fpx7BSQ3OQj8SurnttlFnQH5he4+7Va11m bh3tXLLyLw2YRGmkp6nH92+elz5OfVaVfDE/wUfNumktL5o6So7soZXW5GTcG3ib2XYa ++lcwVKN6RViyviKL+CdIOCg73L6dL3ojMtGkez/q+H7HzPQK+8KI8Wi3WRuQHc6NiV/ V5xFSa1h0KBhrdosUDd8mPjHxiBA/QqRVbRnPI15+FRarWVwAKIJ97uoL0cfaiDAycYM 2tmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=z/ofs7NvAQ0crEjWnKyCEL0KkO/9TOta8dgWkolmTGM=; b=giOfJBjECjDLbCHBu4nIIQtuIlFprTVmcv5GnatvhqtAE2zdVe4l/4W0JM64xfwDxl jMAHegOqw0aTfQLgCaqpFao/6zXhTYKXPzzIv7ioNp+Igkx2Yd3Iyw+2GCP123xQN/iV cdq9DZK3cFhd9d77Ktooe7Y4KYySlC0WQPaWcFxJeR+pyuA7LxfmWrB+iy9Hxj4YOxWS wuxftebAcSvnak77661UBxu4WYW6wgaBh6E+1yve1Q8/sUYceiDAbB3iuL+uJZ5AybNQ 482Nth7drnoc5ZLV9GbK3/YJ/8Adb0O+Et/IhMlQJcL7nWhL3XmYsOZIpM0emxB8D3zV HThQ== X-Gm-Message-State: AJcUukdA2enHxB0gLlkN8C/f+CcaZM/Pm3iFjyCcRDB80lqlsASeLeLt v5h59dez81wnujNZlYH8ZwEoVIQs1Ow= X-Received: by 2002:a9d:3b62:: with SMTP id z89mr9242778otb.134.1548440234972; Fri, 25 Jan 2019 10:17:14 -0800 (PST) Received: from rip.lixom.net (99-152-116-91.lightspeed.sntcca.sbcglobal.net. [99.152.116.91]) by smtp.gmail.com with ESMTPSA id l204sm1461179oia.54.2019.01.25.10.17.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jan 2019 10:17:14 -0800 (PST) From: Olof Johansson To: linux-kernel@vger.kernel.org Cc: linux-accelerators@lists.ozlabs.org, Greg Kroah-Hartman , Frederic Barrat , Andrew Donnellan , ogabbay@habana.ai, airlied@redhat.com, jglisse@redhat.com Subject: [PATCH/RFC 0/5] HW accel subsystem Date: Fri, 25 Jan 2019 10:16:11 -0800 Message-Id: <20190125181616.62609-1-olof@lixom.net> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.