Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6974173rwi; Mon, 24 Oct 2022 08:18:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7xTLfgus+2hptJtFzilKmrA/fqQc0rFcU3UJzlHX6Ck1K66ZCJpkNNCgCsnfSnGYB+wxTc X-Received: by 2002:a17:907:31c7:b0:740:e3e5:c025 with SMTP id xf7-20020a17090731c700b00740e3e5c025mr27785170ejb.341.1666624702448; Mon, 24 Oct 2022 08:18:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666624702; cv=none; d=google.com; s=arc-20160816; b=qX6zn259qmtsASwe0iqH3IHv2C9TZsyzesqjm30cOZQsNe1UKc+ix3c9B3yHBnBzj4 DATkZeLalMmBNnQjN8twD+P5OvoP+tVP/eOk2+ez0jVnVD3rVl6ZrpiT0xHEBT2ROoQw Ql1mPU/zm+ehEpy2jXEbCAsEAUXIWdlseclUCHnGOfTWztbkdxwy4emq6gzDkNt2Ovrv SZBDzbt/iZPOifboksZdqU4GwZW48A3HLKd7pAhRUNtHWDw4cmEGzvtdj0Ohzjin1Tdv BR9hY/YEGTKrYsF0pKf23UsoTAqqw61jeLEFhLSVXfMfbnfDr6sKaMkPWRzetj263K8T Hb0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jR8+NNjUGRiHRSXZf9HDceTwJeAwPDm+q1W3OyTt8J0=; b=oipqjsdNpYupQFe24UUPlT/t4qClCAZE7eA4iZ4XSuedlIZO5rOSERx24sOHx95wuM me/ESATOMWO33ZyYtStjN0UGvX1WtiT+/EjnPRYYRKmvufAfpnZXP1I58nUj25XrSRiC EhmlbqMtf9Tyf8oX198KA2u9zoRr8CZaq1u7UQuQRS9gUgk4ZP94aNTLJLeI0Db7+zzk cntHrxqQcr6VqKtyDCC0m3pCsz7d3IP2WEHLPGsGsvdowG+f8tjXsdhwFACLGm3EpfDd Aa7uOlmivrQvhC7/nU7mxvSCaX1NpF2DAKhWnJydkyRDCQlacoFI6n5tY86Pm0IhoXqB HzWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aMmxozKy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw19-20020a170906479300b0078db89f0959si32566627ejc.867.2022.10.24.08.17.57; Mon, 24 Oct 2022 08:18:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aMmxozKy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236083AbiJXOWk (ORCPT + 99 others); Mon, 24 Oct 2022 10:22:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235519AbiJXOTF (ORCPT ); Mon, 24 Oct 2022 10:19:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1C7A93791 for ; Mon, 24 Oct 2022 05:56:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 15B5561345 for ; Mon, 24 Oct 2022 12:56:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF5A0C433C1; Mon, 24 Oct 2022 12:56:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666616204; bh=Aj8rGkbmlbOVvsUE/P4+4AlLKINoWqE4Q7Nwzv0ANHU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aMmxozKyw9OJplpzt+RkqexSnmuK0Gy0h2xd2f8hOx6AkVAAzHx/FMi5Byq78EZ0E iSu9esJraklvE9cXz4/0pvumDibDJMfkR0PBQTm9EPXKLUcw0hOYfzWTSmF8zaFQD2 22CplQAkic6eB5hPiC8CvGADAwywzKZ5kvvlnT/U= Date: Mon, 24 Oct 2022 14:35:54 +0200 From: Greg Kroah-Hartman To: Thomas Zimmermann Cc: Oded Gabbay , David Airlie , Daniel Vetter , Arnd Bergmann , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jason Gunthorpe , John Hubbard , Alex Deucher , Maarten Lankhorst , Maxime Ripard , Yuji Ishikawa , Jiho Chu , Daniel Stone , Tvrtko Ursulin , Jeffrey Hugo , Christoph Hellwig , Kevin Hilman , Jagan Teki , Jacek Lawrynowicz , Maciej Kwapulinski Subject: Re: [RFC PATCH 0/3] new subsystem for compute accelerator devices Message-ID: References: <20221022214622.18042-1-ogabbay@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 24, 2022 at 01:55:56PM +0200, Thomas Zimmermann wrote: > Hi > > Am 22.10.22 um 23:46 schrieb Oded Gabbay: > > In the last couple of months we had a discussion [1] about creating a new > > subsystem for compute accelerator devices in the kernel. > > > > After an analysis that was done by DRM maintainers and myself, and following > > a BOF session at the Linux Plumbers conference a few weeks ago [2], we > > decided to create a new subsystem that will use the DRM subsystem's code and > > functionality. i.e. the accel core code will be part of the DRM subsystem. > > > > This will allow us to leverage the extensive DRM code-base and > > collaborate with DRM developers that have experience with this type of > > devices. In addition, new features that will be added for the accelerator > > drivers can be of use to GPU drivers as well (e.g. RAS). > > > > As agreed in the BOF session, the accelerator devices will be exposed to > > user-space with a new, dedicated device char files and a dedicated major > > number (261), to clearly separate them from graphic cards and the graphic > > user-space s/w stack. Furthermore, the drivers will be located in a separate > > place in the kernel tree (drivers/accel/). > > > > This series of patches is the first step in this direction as it adds the > > necessary infrastructure for accelerator devices to DRM. The new devices will > > be exposed with the following convention: > > > > device char files - /dev/accel/accel* > > sysfs - /sys/class/accel/accel*/ > > debugfs - /sys/kernel/debug/accel/accel*/ > > I know I'm really late to this discussion, but wouldn't 'compute' be a > better name? > > (I agree that skynet would also be nice :) See the summary of the meeting we all held at the Plumbers conference about this. "accel" was the "least hated" of all of the options, so I think we'll stick with that for now. thanks, greg k-h