Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp111029lqe; Thu, 4 Apr 2024 00:50:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUE/FV+6hbylk75IqcfsBXnC2cGVxJ7Zkx4dEz3zf/efmTy8RG+nGMO6A+rAaxYYAOBL53X5u+Sm+JAjmEkQBmavAYcfTLBq0D952g+yw== X-Google-Smtp-Source: AGHT+IEoC11tbSClhFW/EkKaOlrKIFh7quCLsmoFaQ025+UQXuDXyrTzPiyGTeGD1Y4K30/TIaYR X-Received: by 2002:a05:6a20:2583:b0:1a3:5b82:a88b with SMTP id k3-20020a056a20258300b001a35b82a88bmr7038029pzd.18.1712217027044; Thu, 04 Apr 2024 00:50:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712217027; cv=pass; d=google.com; s=arc-20160816; b=kZEqajHdlbvSIr6ZgttYr7pk7CjItWnnQuprpYVPJ8hWWkDsBrXE5svNnFpXZcZ2nI Q7CS8aU12x02IVeaFqLy7yAucVGMK/n6XIhPNYf48ESPDL7BYXHax33h30sp46BKnJ5c RWTLnmuT4YXDNfQoXjVOs6VXlmvco/C9pQtVOqLSERoXZyZ9gWJtZamYPiykdbhK2vlM NbnPJRO3cAyPu4vsUP1MQ0P1NPAvwbFGAjqo1kp2lVucwXQK579114zp6ALYqkh0jSBY FVHXkjj7BT5bowztymWRcgZCcccQMpHPMGl5Ft456EZRXSkTvu1A+C8/Yme/SoxHQ8Ub 3eSA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=miKNlHkKclIUGZfag5HlqXUwzYgLcSquz5zfxjYMTEM=; fh=pB2AqvHHeD4c7OO/mpvtC9bzVao+exEgxW/8nVnskBE=; b=mFnV3ewUsf4iLkLqI7N9k9ci/GT9L4WDNB8kJwpPa33SaHRsr1QPiCvd+C6Jmb1EsW Itn1pIiJN6qBphH2r26mxnfXXnp/FlvYVyEpcD1m4cDOouVNM2UXvavtgu7YLrcdGjnG KEqtEb7U0zabFT67bS9nWe0i5lsFpeN+gT+41UrHma5L6sOE98V7qGTVBwtxzFnRWDJp CwQpQpvmoQRH6K1sEiduZTo2U8usVfzqaMq4fwalnrjBsh+hOUvY1sOBvqkClGEUi1uQ nHwpx1eUiNdYIp6FvQ4Bkt2nQwBYrhqjG7vuYkBv+fApHvDxNxxAaLDgp9ixHGkv58BF Im0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hKeuJszI; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-131053-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131053-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c37-20020a631c25000000b005ce04795a98si14237136pgc.32.2024.04.04.00.50.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 00:50:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131053-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hKeuJszI; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-131053-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131053-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B40D4288159 for ; Thu, 4 Apr 2024 07:50:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFE895D726; Thu, 4 Apr 2024 07:50:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hKeuJszI" 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 A2F5D63C7; Thu, 4 Apr 2024 07:50:17 +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=1712217017; cv=none; b=oPaE5QSXXD47QfOXYAP0ZS2EMNX7Tok3LPWilpBSVo1iIQLM+qV8yGYjZKv2f1GtENZXT6K675tpcGPvQpvaggC//qWoD5GzOIRCnjrdGqtM4e+tFy3ost2kFnkyih+pD1lIMrBeWLrm/tlaLSC0aNlJKocG7/h4/2axjHjARN0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712217017; c=relaxed/simple; bh=UQi/pLUsh2CNZLFSXNBZi74ZYYKx/Q531FOkLYDdepg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iDGEUox5Hr06PkbdLO2U5W0zAzqNYbx0zu/XQRQF3DU5umrXAXj/eLa3JPVfwAWab9uB8ytMpQifFQwu2RU4AeDfJKAIfU2x/wEVGQxjvoz8JiRBiuksFjKeg+7zxnmDZ/Syc7wuVuC+jVfFCUfGusrecMDx4SM9LLHZzuUIDAE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hKeuJszI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DE89C433C7; Thu, 4 Apr 2024 07:50:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712217017; bh=UQi/pLUsh2CNZLFSXNBZi74ZYYKx/Q531FOkLYDdepg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hKeuJszIqZPc0jGV4OqM6n6VTxHQs240dv/tevcdFCqOuq8e+s+vo0F/PdgCCtNf/ 8ocWcP0XYUkdhQfMsp/YGajJMfyC1OV2Vc/dlzL8nvEMfTzXoBVMNlELFyDXyuVJjt YhcMB1RmTCkrYev9rmOof+9TXedlcQ4Ea/IdoIUY= Date: Thu, 4 Apr 2024 09:50:12 +0200 From: Greg Kroah-Hartman To: Bastien Curutchet Cc: Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Thomas Petazzoni , herve.codina@bootlin.com, christophercordahi@nanometrics.ca Subject: Re: [PATCH 1/1] serial: 8250_of: Add clock_notifier Message-ID: <2024040455-bungee-subsidy-f5aa@gregkh> References: <20240404074450.42708-1-bastien.curutchet@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@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: <20240404074450.42708-1-bastien.curutchet@bootlin.com> On Thu, Apr 04, 2024 at 09:44:50AM +0200, Bastien Curutchet wrote: > The UART's input clock rate can change at runtime but this is not > handled by the driver. > > Add a clock_notifier callback that updates the divisors when the input > clock is updated. The serial8250_update_uartclk() is used to do so. > PRE_RATE_CHANGE and ABORT_RATE_CHANGE notifications are ignored, only > the POST_RATE_CHANGE is used. Why just this one notification? You say they are ignored but do not say why. > > Reorder the #include to match alphabetic order. That is not needed here, why do that now? And "alphabetic order" is not an issue for tty drivers, no need to do that, but if you really want to, a separate patch series is good for that. thanks, greg k-h