Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3857067pxb; Mon, 1 Feb 2021 06:31:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXKWFD/lC0aPhuA+zELzz0Vu/nRy6PxEfcOh08wOc+nI8+nOFTbLK5UX9CjZnHzLpEDMtq X-Received: by 2002:a17:906:653:: with SMTP id t19mr18127123ejb.44.1612189861068; Mon, 01 Feb 2021 06:31:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612189861; cv=none; d=google.com; s=arc-20160816; b=I5QoKYpRwe2oJhJf1GqCxqR2iv/ue98a7Qm8dzyaIVEUgDRjLcDSc/qrSOQy95t6A7 V7RS7sKjrsuxCRh0uIbJ/fjmUYZhGzrnHAHFf8TLDUpS8ep15wjEx4z53rVk+ByOBXnD uwVUSfVxkZTZ1pgIw716x0K0GkT4dmPyP7K9cTH7ukJcaLnUBld1vhqdV+g1tjZUWHCo CrGt03Wc0U3IJxms8zWqMOxx3LL2Gn3cjR6loGzTuvfwAEUg0fYD4qjoo3chTbhH6aA/ 2vcIwSKIGjpLQBqK+p86Ded9F68PNcVKRn7y90IIUeipYUHvSMhi6k89tyvfqI+3sJdP 1r0Q== 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=W6fVaGU0SkAMH+yqTVLWGwNrFLq6iul48RGG6pZ/mLc=; b=kBKD48fHouJP1P2X/VqDEZfsCVif5zwxsjqhg0lPrTUSfEJbOfIJq/zT7UKCtj06fw g353SvryT3joGzbw3sacAdXBpD2RdG/KH+rpDL7U9O+XWfSWq3v503U+vatLn4gNUlLW ft+SkYlCpUlJ2FUxY/4T/HSjzLWFcw4Hvr9jzTfklvDb5LeisWCCCKz/f/JOlM2M12NO EmpKtdaHh0NqX90sf2bVpwrcl987/Vj/tKoA6T3hAqlnnE0MykhrNFGYQf5hoaXJphqc mOmSqPscGoPbcVCuqw43wJ5elvM+o5tpumn5foYA9SnxKlsvRbljnGRDbjwqupTfHuNC SDvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vQ9Ktf9+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u22si10340067ejc.544.2021.02.01.06.30.34; Mon, 01 Feb 2021 06:31:01 -0800 (PST) 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=pass header.i=@linuxfoundation.org header.s=korg header.b=vQ9Ktf9+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229567AbhBAO0k (ORCPT + 99 others); Mon, 1 Feb 2021 09:26:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:57000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbhBAO0g (ORCPT ); Mon, 1 Feb 2021 09:26:36 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7143964DDE; Mon, 1 Feb 2021 14:25:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612189555; bh=QQqIk1jrL834oNJT0Ge0l4qRW+ufXIGBw4d9FnRSEdc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vQ9Ktf9+0vr8htx8QoqqdorkeVexnx5/TLccE9me/oeOkQK9BeIZ9EP0wJ2O+6RQm G9FJCrm/hB5+XDmipgt6eNSJ28iQyfUQ6+5DapHI208X7RxkvHwVIGo3WEftzWwk2v UPd2n6Vx4URUxkdDLsgOLK2YqWI3SEFK6FbAq4Vo= Date: Mon, 1 Feb 2021 15:25:53 +0100 From: Greg KH To: eli.billauer@gmail.com Cc: arnd@arndb.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] char: xillybus: Add driver for XillyUSB (Xillybus variant for USB) Message-ID: References: <20210201141651.62853-1-eli.billauer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210201141651.62853-1-eli.billauer@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 01, 2021 at 04:16:51PM +0200, eli.billauer@gmail.com wrote: > From: Eli Billauer > > The XillyUSB driver is the USB variant for the Xillybus FPGA IP core. > Even though it presents a nearly identical API on the FPGA and host, > it's almost a complete rewrite of the driver: The framework for exchanging > data on a USB bus is fundamentally different from doing the same with a > PCIe interface, which leaves very little in common between the existing > driver and the new one for XillyUSB. As this has nothing to do with the existing XillyBus code, and you aren't doing anything "fancy" with the character device nodes, why does this need to be a kernel driver at all? Why can't you just use libusb and talk to the device directly from userspace with no kernel driver needed? And always cc: linux-usb@vger.kernel.org when submitting a USB driver so that the developers there can review it. thanks, greg k-h