From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 826933ED13D; Tue, 14 Apr 2026 16:21:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776183683; cv=none; b=lxJdmIjsWRZIukv6u5fYuco2ruMNd6jFfRvTVDYD0lIOh2cIOJBRxjXG4lPuhMTAAcxCh1xBLO8nIlKSrk7/l9ifCtLoTBvkxVNvuebFkmjkJ3Inr3NwmelAXLIOaFEyd8qUsswxREbPUHtbOxkBFnM74rOZO+3EnYk1w5KTpog= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776183683; c=relaxed/simple; bh=2efHYGh3KXkJMimijL2p4ikWc+jQGUzH8zxjA3ZDoxc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HPZUXxYWw6jddD3xs9y60uvYC2PQ677vwT836iSfxb+x1ZK3RLJY+Asp4fb7bWqndPB4iKNGkvBuZx6VzdIaAMY4rtUqCYcfaPwS1tFmelBkl3+wwTbh+bXC840jU+oUVUkSHCnau/g0sVVzt0NEDaBIGRuhMdua/c+180QdR4g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MFXn9FgC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="MFXn9FgC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA169C2BCB3; Tue, 14 Apr 2026 16:21:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776183683; bh=2efHYGh3KXkJMimijL2p4ikWc+jQGUzH8zxjA3ZDoxc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MFXn9FgCUqzJiKtooOnPT+9GY3qulHm0bIjqvP8aclWd35vqYaD882zMvlSakPWhr G8WhSrEJ2Jwgo4mcmq/6/dWFdxRN56M5K8cVswZxvHkDmnRbT3uIWtpxtwRHQEZK/n 8p8snxfNdZsdDRdLpHJ6PwMQXTFDScNl4nL6s7M0= Date: Tue, 14 Apr 2026 18:20:52 +0200 From: Greg Kroah-Hartman To: Sidong Yang Cc: Jens Axboe , Daniel Almeida , Caleb Sander Mateos , Benno Lossin , Miguel Ojeda , Arnd Bergmann , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, io-uring@vger.kernel.org Subject: Re: [PATCH v4 0/5] Rust io_uring command abstraction for miscdevice Message-ID: <2026041407-tubular-unhealthy-2a7f@gregkh> References: <20260408140007.8401-1-sidong.yang@furiosa.ai> <2026040925-taunt-exit-0cb9@gregkh> <2026041153-scope-five-fd24@gregkh> Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Apr 15, 2026 at 12:36:05AM +0900, Sidong Yang wrote: > > Yes, it must use the accel subsystem as that is the correct api for it. > > Thanks for the clarification. > > I will proceed with this uring_cmd Rust abstraction patch as is. Moving > forward with our AI accelerator driver, I will look into implementing it > using the accel subsystem and work on creating the necessary Rust > abstractions for it. Great. > Since I am planning to adopt the accel subsystem, could you share some > insights on the main benefits it provides for AI accelerators, or point me > to any future roadmap/plans for the subsystem? This would be very helpful > for my design and implementation. It is the common api for all accelerator drivers that you must use if you wish to have a Linux driver for this type of hardware. There should be documentation in the kernel subsystem to read, and of course, there are existing drivers using the api already. If you have specific questions about the api, please ask on that mailing list. thanks, greg k-h