Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_PASS,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CACCC10F11 for ; Wed, 24 Apr 2019 13:15:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6646F20652 for ; Wed, 24 Apr 2019 13:15:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730146AbfDXNPb (ORCPT ); Wed, 24 Apr 2019 09:15:31 -0400 Received: from rs07.intra2net.com ([85.214.138.66]:54248 "EHLO rs07.intra2net.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728842AbfDXNPb (ORCPT ); Wed, 24 Apr 2019 09:15:31 -0400 X-Greylist: delayed 539 seconds by postgrey-1.27 at vger.kernel.org; Wed, 24 Apr 2019 09:15:29 EDT Received: from mail.m.i2n (unknown [172.17.128.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by rs07.intra2net.com (Postfix) with ESMTPS id F18F515000C3; Wed, 24 Apr 2019 15:06:28 +0200 (CEST) Received: from localhost (mail.m.i2n [127.0.0.1]) by localhost (Postfix) with ESMTP id 52FC6440; Wed, 24 Apr 2019 15:06:28 +0200 (CEST) X-Virus-Scanned: by Intra2net Mail Security (AVE=8.3.54.6,VDF=8.15.28.32) Received: from localhost (storm.m.i2n [172.16.1.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.m.i2n (Postfix) with ESMTPS id A3A892AB; Wed, 24 Apr 2019 15:06:25 +0200 (CEST) Date: Wed, 24 Apr 2019 15:06:25 +0200 From: Thomas Jarosch To: Arnd Bergmann Cc: Karsten Keil , Networking , Tilman Schmidt , Paul Bolle , gigaset307x-common@lists.sourceforge.net, isdn4linux@listserv.isdn4linux.de, Al Viro , Holger Schurig Subject: Re: [PATCH 5/5] isdn: move capi drivers to staging Message-ID: <20190424130625.uuqtujpvf7lyn4rc@intra2net.com> References: <20190423151143.464992-1-arnd@arndb.de> <20190423151143.464992-12-arnd@arndb.de> <20190424092451.exkkwv2jkk5bwjfq@intra2net.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Arnd, > Ok, interesting. My understanding was that mISDN CAPI support > was done purely in user space, on top of the mISDN interface. > > I don't see any interfaction between the two in the kernel code, > but if the capi module is required for mISDN, we clearly have to > keep it. We could still move the avm/gigaset/hysdn/cmtp drivers > to staging though, if there are no users for those. AVM Fritz!PCI cards are supported by the mISDN subsystem anyway, the new driver is "avmfritz" and used by us in production. > Right, this is what I'm trying to find out here. I realize that there > are (very few) remaining users of ISDN voice services, but this only > matters if someone uses them > > 1. with a modern Linux kernel, and planning to upgrade beyond linux-5.3 > 2. with a device driver that ships with the kernel > 3. using the CAPI subsystem > > I suspect that all three of the above are true in isolation, but onless > at least one person needs all three combined, that doesn't stop us > from staging them out. 1. + 3. applies to us. The mISDN drivers are based on the kernel ones, but maintained in an extra git tree on top of the kernel. The situation is not ideal but that's what it currently is. git repo: https://github.com/ISDN4Linux/mISDN > That leaves the question of whether there is anyone rolling their > own routers and/or fax machines based on future kernels with the > avm/gigaset/hysdn/cmtp CAPI drivers, and which drivers in particular > that would be. I would guess that isdn4linux is mostly dead and the drivers can be moved to staging. I didn't encounter cmtp (ISDN over Bluetooth) in real life yet. Intra2net uses mISDN v2 only and software fax support in mISDNcapid was developed because of us, so I guess we are the main user, too. [funny side note: I use a 4 port Eicon diva card at home for my SIP -> ISDN gateway. The eicon driver just got removed, too, but it still works fine on Centos 7.x 3.10 kernels. Though this is an exotic use case and I would not NAK the removal of the driver since the kernel maintenance costs don't justify it. If it stops getting supported, I'll either set up something based on mISDNv2 + LCR or get a used Fritz!Box for this task.] > > Intra2net is currently in the process of upgrading to kernel 4.19.x > > and Karsten recently did all the necessary adaptions for mISDN. > > So the ISDN code is used with modern (LTS) kernels ^^ > > Ok. If you are on 4.19 (or moving to that now), I would assume that > you probably upgrade to a future kernel later. Even if you don't > plan to, it's the safe bet. Correct. Intra2net usually moves to LTS kernels and skips a few versions since the migration work takes a few months to verify everything still works. We have an "avocado"[1] automated test framework for the whole distribution but there's always some userspace API compatibility issue, a small patch needed here or a crash there. For example my colleague tries to figure out right now why the Microsoft Hyper-V network driver hangs on module load with kernel 4.19.35 while downgrading to the previous kernel works instantly. Sounds like git bisect "fun" for her... [1] https://avocado-framework.github.io/ https://github.com/intra2net/avocado-i2n Best regards, Thomas Jarosch