Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4372477rwd; Tue, 30 May 2023 04:41:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ShzW9Bg+VsR9vetyImE+CTzeIRon4ZbpstnwkgYA9SiNwQcG2S2tiIIdmMYSW0TrRP+2d X-Received: by 2002:a17:90a:e548:b0:250:9aee:563c with SMTP id ei8-20020a17090ae54800b002509aee563cmr2072812pjb.41.1685446913407; Tue, 30 May 2023 04:41:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685446913; cv=none; d=google.com; s=arc-20160816; b=Gom3nV6sa8b+XFy+xClUZclDPwI5u48Y63EPwUrDzPMvFlZJygzndshKzm6v4W9joH hnOp8YCk05BTKRdWzOWKnWRkdaF4tdhEiFf8Als4Qw5b214rH+OlzQcHA4CP3U9lImf/ 5X5evrhGcgzyxbuUn43U9luTCqh/RCdXTPAtx9B0mGqJAtFM13U1SRHu0azTvrtTiM/h Bfr7JXc0u2gx4TQ0jbIF/Z0e/SQ2zoC1Co+sgg7SKfbbiCgxSaypHC2OaJ/vlXCIMZjW ENedQ2UZAMywAarEyFsixjXUfAZOQMMPAv75reoUtVYtGNB8pcPV6nf8np2EB+g7qE7h 4N5g== 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=IGNWb+c9a6ZIVtb/5jqL1+HscWWHlfKCLIcQHGSsn64=; b=gtLSEcDXhRe4qzhvSLIOqQvy3BusUgBN9nRtgrpqzTjFQWajyWXksF2NznF1GHSij3 M7OPRjZO1s1eQXBm8HIhH9t17j4Hj7rYNG/Nm+c/HWHM50TdozsKUBSKDEUJn8tDeilH i8iLegRUkiFyNd1iiHxutcAB+dx5ywcvN8la6zn1/YblxnthyMAGIso7UXs71e/VnRFx Jv69ex2qPRG0Yo1tG13vZ4CahAy53etQXJ49cLJnCBgcuVIwv1uPfQJqh1B1fv4o5luV yUWxsjVeq35gvDB4d0sTnLfS3EulcsrpYGrU7mMc3FNcgUMBLF+uFLMobZZn7pGF/ymG Cn1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aehJ0hVS; 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 d21-20020a17090ae29500b002533b5dc672si3690729pjz.146.2023.05.30.04.41.40; Tue, 30 May 2023 04:41:53 -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=aehJ0hVS; 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 S231620AbjE3LV5 (ORCPT + 99 others); Tue, 30 May 2023 07:21:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231823AbjE3LV4 (ORCPT ); Tue, 30 May 2023 07:21:56 -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 781E3EA; Tue, 30 May 2023 04:21:32 -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 DA52862E03; Tue, 30 May 2023 11:21:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9A00C433D2; Tue, 30 May 2023 11:21:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1685445691; bh=f3Vo1zv+iMg2pVXhb/ZRdSeALjrkU4HIvF8F99LHNsE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aehJ0hVSe4LGUzPq468qJNlU0wV1smQu+O6gMxVAmpc5o03BW5LV5VzOze4EZayB0 zc2sNzZTZRBaKKGmx6w/pDHwpoeUQ/B4M7l4yoegjNs4vLeOhfx3qKACfezxWt4Xbc TO+8qntN5whyi4n/4VhDmVwdePzlbhQBoYvJvzXM= Date: Tue, 30 May 2023 12:21:28 +0100 From: Greg KH To: "D. Starke" Cc: linux-serial@vger.kernel.org, jirislaby@kernel.org, ilpo.jarvinen@linux.intel.com, felix-haase@siemens.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 01/10] tty: n_gsm: add restart flag to DLC specific ioctl config Message-ID: <2023053056-follicle-unshaved-41c2@gregkh> References: <20230517155704.5701-1-daniel.starke@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230517155704.5701-1-daniel.starke@siemens.com> X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Wed, May 17, 2023 at 05:56:55PM +0200, D. Starke wrote: > From: Daniel Starke > > Currently, changing the parameters of a DLCI gives no direct control to the > user whether this should trigger a channel reset or not. The decision is > solely made by the driver based on the assumption which parameter changes > are compatible or not. Therefore, the user has no means to perform an > automatic channel reset after parameter configuration for non-conflicting > changes. > > Add the parameter 'flags' to 'gsm_dlci_config' to force a channel reset > after ioctl setting regardless of whether the changes made require this or > not by setting this to 'GSM_FL_RESTART'. > > Note that 'GSM_FL_RESTART' is currently the only allow flag to allow > additions here. > > Signed-off-by: Daniel Starke > --- > drivers/tty/n_gsm.c | 4 ++++ > include/uapi/linux/gsmmux.h | 15 ++++++++++++++- > 2 files changed, 18 insertions(+), 1 deletion(-) > > v4 -> v5: > Changed GSM_FL_RESTART comment to be more specific about its use as > suggested in the review comment. > > Please note that I cannot response to emails until August 7th. Felix Haase > will take over from our side for questions regarding this patch series or > the n_gsm. > > Link: https://lore.kernel.org/all/DB9PR10MB5881B63FBBA7912DF5A7A6A8E0789@DB9PR10MB5881.EURPRD10.PROD.OUTLOOK.COM/ Ok, I'll wait for a resend by Felix to consider these as having someone be responsible for them if they cause problems is key :) thanks, greg k-h