Received: by 2002:ab2:5d18:0:b0:1ef:7a0f:c32d with SMTP id j24csp254228lqk; Sat, 9 Mar 2024 08:30:16 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUjh3eXEDaCXlRXa8sueCLn3RsAWqYlq0huJ0qSlfCn2x7yWSJiEVhnqfcxIckfA+FE9xyK6WfIZRdmbzD7p8mcs7vjZ5GC4S8sjBUEYw== X-Google-Smtp-Source: AGHT+IFFwPdrIWxyqXyv9+3ShdykAJLR/8mrPromsgn2fPOlH4U8GWEwHgKaAR09qgroFXgXc8to X-Received: by 2002:a05:6a20:244f:b0:1a1:3cb:e1f0 with SMTP id t15-20020a056a20244f00b001a103cbe1f0mr2818788pzc.52.1710001815996; Sat, 09 Mar 2024 08:30:15 -0800 (PST) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m4-20020a63fd44000000b005e4a7b9ec90si1692793pgj.672.2024.03.09.08.30.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 08:30:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97954-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=PvL882dz; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-97954-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97954-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 23D61B20F4D for ; Sat, 9 Mar 2024 16:29:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28CC04595A; Sat, 9 Mar 2024 16:29:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PvL882dz" Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 CC96645962; Sat, 9 Mar 2024 16:29:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710001789; cv=none; b=KwL7z72oXL9b9f7yy2zT9pA4dvkTmpFaWc0WQneuDOR3YqzoEuVsSs4Z7UXSXMG0KjNHqBYhJ7I7pCeINAhswY2Vwg95UCnqawtYfX1eVuJ6NCKIdjijKB/9dHf//POxRtFJYpf9yeuUegaFSLLLcBmSrLgiSAKF74fvaDXOBpI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710001789; c=relaxed/simple; bh=nh6N7RY0Z3aGt3Bcril2of297v7nFeV6+3FAqw7qffc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=guuPDinqkdWpSIjET6dA6priCG7BqJwrJN31ykB0+Y0cfl8njTw0sPKdcHwHvxA9iSY/hD7EvFXInloWfITx6MGneAfasg18FpIaR1QjVWpphqJ/ntsXNwFQkNt6H+vqRDjeQCuORAQbV0MmshwO5JLvPw+qwVdK9ObjhnjW81A= 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=PvL882dz; arc=none smtp.client-ip=209.85.218.47 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 Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a293f2280c7so490204566b.1; Sat, 09 Mar 2024 08:29:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710001786; x=1710606586; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nh6N7RY0Z3aGt3Bcril2of297v7nFeV6+3FAqw7qffc=; b=PvL882dzPoI+p7tKvyURoWfVN+msV98SBLsJ2kXSjmFNE12punTy5U9F8JATa/Udni 56+TdiGNu+O/8/EL+f/tn0AKBs2cPWvD1ngU0NGM0OHCzf1GcZzEs0I3m8/HLOmdRAsT r/9m6TdN3hRHOmcXENCOKhNO7UJUTB1A7UWDKcE+9J0QxXpe5OWEqdp4feACbZ/33qdT zxJfT03w6G7x1bVF1cK2b7nBQ4YM0AcYxnLYS4AINS3i7x3Q0yLcLBx7khtOSmxt5oz2 kju7sYoIYHYw0+ncTdwYaRrEARMRt2FX2mSqmliXVywcOCPjHcoDaaU8sMDEQjUtACiS AFpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710001786; x=1710606586; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nh6N7RY0Z3aGt3Bcril2of297v7nFeV6+3FAqw7qffc=; b=HOExZ1XnTIOyw/5q11bx0c+Uuy2hzT8ONyfylqahhnttRmIdua0zsb0ncWEBgLMcJ3 9SKhvz18d8dRsxrkOE3gP/JI368EAA8LgRYByzxQafiEk5DiQ0MHRzrtwpfFA/lciYMg QutMvuizN6qkUcv7fJ7jgrGgD0ZuZnQLuF5QkrikCVjfbz2Lkep7ouwFyl6nfE/0OcW7 hH2egN4wIMgVv510r2DTkwfMzXQypWa1TDhMq0FjW6ipe0d+9JbTax4KrXpn3vdrBpa7 dZHEnB9LhssRZsAkQSfZygSt3Ycs8E48+9s12fXGU1t299Dgb6hURnK7OqUnHRJrYUkN apOA== X-Forwarded-Encrypted: i=1; AJvYcCWSr4Z291yFSqbvQWYDvcudJ2SwC1eAUcG6U3d41r1Z/gS0699UJ22P43o4HbX952BFM8UhWIIkJIVwRAIeKtU5Sn25YCxmO/IWwP0Y X-Gm-Message-State: AOJu0YwCvtRF/1cSn4EiT3per6DnmRorB0SD5UgaKr23MIN4Fpgfnv4a RNWCbQWAVzy5fG8c2D31alraFCdi9R/pbz8PiwmWjM8SRdQyuMbJP7JTfC5esKHsYEX7vIdMUkF sD07Mu2BcJwZ7MAB0yQH3YXGecc8= X-Received: by 2002:a17:906:c7d8:b0:a3f:c779:aa62 with SMTP id dc24-20020a170906c7d800b00a3fc779aa62mr1309693ejb.21.1710001785945; Sat, 09 Mar 2024 08:29:45 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240303121410.240761-1-andy.shevchenko@gmail.com> <384bf6c936fac50042389cc5f53c3199.sboyd@kernel.org> In-Reply-To: <384bf6c936fac50042389cc5f53c3199.sboyd@kernel.org> From: Andy Shevchenko Date: Sat, 9 Mar 2024 18:29:09 +0200 Message-ID: Subject: Re: [PATCH v1 1/1] clk: fractional-divider: Move mask calculations out of lock To: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Turquette , Christophe JAILLET , Heiko Stuebner Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Mar 9, 2024 at 3:06=E2=80=AFAM Stephen Boyd wrot= e: > Quoting Andy Shevchenko (2024-03-03 04:14:10) .. > Applied to clk-next Thank you! .. > Should we pre-calculate the mask and shift values too!? Not that it's required, but we _can_ do that, of course. --=20 With Best Regards, Andy Shevchenko