From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 57DB53939B2 for ; Tue, 2 Jun 2026 21:26:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780435599; cv=none; b=MnRA1EL2iFZkAYM7/QcnPrSqZCojpEuF6cxlUwIYrWVYPl5DNTWcV6pUTkO70d1FcvVZI6VIj988mH6uGZNSEbvWfTP6WKcULiPDrwyrzdv7AvFbbtQgNLqKsuO8Mm7xS4iCTjkPrNae7hkvO02fvSogjfJjRtbYmbkub8+b2fI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780435599; c=relaxed/simple; bh=Ox1ELZJ24GPPc4iQ29E+qdN0vT7PCHDXqBmRxrm/+h0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=O+iBZLb0B8hFqxa5JTdLDX4b3LT5tWhTKXrmVn4H3RfCzGgxiNKSJZltsXIQJ+zwOAlI6IWLdsAodl7IxlvbK/f7/rbylQziAdcFfqnmKrYYCzQULHrvBu0lb/9FQvMg6TDWeZHOLfylBjFXhowOChkB/Q76422tHXKSRk6a/88= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=qimO2kMN; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="qimO2kMN" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-49041fb8c23so90335415e9.0 for ; Tue, 02 Jun 2026 14:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780435597; x=1781040397; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9FHosW3w9GqvYZ+Jb4OZm28+ohizyetvipE+8aMlroc=; b=qimO2kMNAQYJ7K4t5rVjot7JThIUYtenaKUCZGOoWClRgXJTpkslnqFqPNe6SWXOby ZPX1pLieoaPbbfUPsOCTqN5KeJMRjkBrD2TrAK7kHgwTVESrSx9Nn3ZCIdd2vtdweyRG QfJ0xAjEBNK0GRxOgHvPO+ih3p/kPr9pXHge8LUk+8hIoAcR6Jndw4Np3sAODb5XBlv1 rvOM4GqWKjHhDdKydr/A/Fcho+sB7ODz3YgegFJT7qrpzI8kKIRkKj+Gc+tSPOhcccQe fPSVR2fy6k2+rZuLNEVf4OjGb+KDGakDiP1IzsVKWQwWT+MqeWu7pAzI8LJNS/Fv+l84 aw5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780435597; x=1781040397; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9FHosW3w9GqvYZ+Jb4OZm28+ohizyetvipE+8aMlroc=; b=P6KRHeZQvuMvp8jXRtQtFm2RRZcjNyRo1bwQHY4YTOin+ecjDlwjK+yCv4E46/elVb 6KqTLbUG/sM6xKSogCmxYTDO3wiqYoPoi6LddMSkPbIpDZtX0sfmQcw8Gilvnl9w8CZW KUgta4qObcqlcEUVJAJ+gf5ZDhsdxT7j34IQ/R3k3tG3yzayEHGJZ0z+5Uw60HE1KagP 1XiLabEzzelCym81NuCPKEkDHEZUpXJtJmJjjnittX1fWftse0pv2B8NAaZr8+m4N58V WpDEko0jIXZn3aOmmyym7UfMHdPv8/D6dgZloo2MqgMVc2sC7mg/w0RfvZePiCR8r6XX jdLg== X-Forwarded-Encrypted: i=1; AFNElJ/OOGsiG6EzNx8CMrKakUmMvk66OikdzzdmMVV/3jEFme7hvH3amVZhvATgY4czkFwoLEggp3IQEnvFVZc=@vger.kernel.org X-Gm-Message-State: AOJu0Yz/mwmr+vlj8Xk+iqKiAvmx7u8DCiVaKBS/sIER8Y273mppio3h JOAnCc/usumNbsDs+X2xFdmXB3STs1ym0vmk7CBOiWXXcW8aEIH5AOgra17gbg== X-Gm-Gg: Acq92OGDJfAuX6jmNuC5Q2Hppp8f4EpnMehuDsCGQ1IUq4cohQxNjQvr9Oe9x2Mwxe1 8IvlIwgvKBIiculHwCYJyLjPC3ZFedvizArysHDDcFPAFLv2ZME1u1YHH6t1qeQ+qOfgnf8tIoj XksSLWSMijaclQ2d2PDT0b2rVWKJ8MhQAgNeloZFS8U6d3C+DnyMZq8SytMLV1JK9Y/zNYstFai Y0Z/Lu41LXsVvvN/WL5xXkEHhOtnVxBiJfGrqpRr93d37XlWvirrvvVQZed3ZAfXABW+0coeI7H PXwxBe9S70QScXzLOITG/YNp2nS3tWunhMXfqiwJdsumtvDFhR3yu2fYDFF42Kr2TEzzHrG5SHz UKWBq5PNO0ZdI5vr2vWVFgwem7eV2wlpq1yu0xVX+dHI1BUlcgG1sgFWsCcNAa6H6c6Q8OTm+mi 6hIHxqC9OqYIHugUZbf0Br2VEUdLmAiJN62FX2ynQg+XeAEow= X-Received: by 2002:a5d:5d0c:0:b0:460:1755:160e with SMTP id ffacd0b85a97d-460218724e1mr309695f8f.33.1780435596566; Tue, 02 Jun 2026 14:26:36 -0700 (PDT) Received: from [192.168.0.7] ([86.124.200.154]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4601f360bd6sm2142515f8f.36.2026.06.02.14.26.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Jun 2026 14:26:36 -0700 (PDT) Message-ID: <9372087b-82d6-43a2-bda2-02ba481fbf8c@gmail.com> Date: Wed, 3 Jun 2026 00:26:35 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] staging: axis-fifo: remove driver To: Dan Carpenter , Grewstad Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Jacob Feder References: <20260602103208.15799-1-dogestad24@gmail.com> Content-Language: en-US From: Ovidiu Panait In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, On 6/2/26 4:11 PM, Dan Carpenter wrote: > On Tue, Jun 02, 2026 at 06:31:27PM +0530, Grewstad wrote: >> On Tue, Jun 2, 2026 at 5:07 PM Dan Carpenter wrote: >>> >>> On Tue, Jun 02, 2026 at 04:01:53PM +0530, Arihan Bhor wrote: >>> >>> I don't think we should delete this driver. From reading the git >>> log, Ovidiu Panait was obviously using this code last year. Let's >>> also add Jacob Feder, although he hasn't touched the code in 8 years, >>> he still might know if there are other users. >> >> I could not find any user-space applications that depend on this driver. >> >> https://lore.kernel.org/lkml/CAD03fjb=_kW9=q9YV4qnQ5GD=HMB5Bx7pf3+AFcgDR2gVc1V6Q@mail.gmail.com/ >> I was looking for any users of this driver on the linux-kernel, linux-staging, >> and linux-arm-kernel mailing lists as well as Jacob Feder, and received no >> replies since I posted it 1 day ago. If someone is using it or maintaining a >> proprietary app, they will complain and we can bring the driver back. > > Here are people using it and running into issues in Jan 2025. > https://adaptivesupport.amd.com/s/question/0D54U00008zRBdISAW/vitis-is-not-creating-a-driver-entry-for-axififomm-43?language=zh_CN > Someone provides a work around: > https://adaptivesupport.amd.com/s/question/0D54U00008sLBuMSAW/how-to-use-the-axi-stream-fifo-drivers-xllfifoh-xllfifogc-etc-in-the-project?language=en_US > Then Ovidiu Panait fixed the bug in Sep by adding the correct > compatible. > I was using this driver to play around with an FPGA board I have (Arty Z7-20), so not for commercial purposes. This IP provides a convenient way to move data to/from a custom IP in the FPGA. I am using it mostly for testing. I think there are no in-tree users mainly because the IP it talks to lives in the FPGA fabric, and drivers for custom FPGA IP blocks generally don't get upstreamed. However, there is the problem of what subsystem this belongs to. It was suggested to be turned into a DMA controller to get it moved out of staging: https://lore.kernel.org/all/20260227-unboxed-customary-7ce6eda1858c@spud/ But I am not sure that this fits as a DMA controller, as it has no DMA capabilities. The CPU moves every word individually to and from a register. My understanding is that the real Xilinx dmaengine IP is drivers/dma/xilinx/xilinx_dma.c and this IP is just a simpler, register based alternative to move data between the CPU and the FPGA fabric. Ovidiu > regards, > dan carpenter