Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2745828rwd; Fri, 26 May 2023 10:33:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5tZg4AiHk/SYWo1t4czcRLq8+/RYiQ4fIT2ZQcOUSP5ZnmN7n+j0hJY1YFgiNA7SJPj+Y2 X-Received: by 2002:a05:6a20:160b:b0:10e:457f:2548 with SMTP id l11-20020a056a20160b00b0010e457f2548mr27732pzj.37.1685122397799; Fri, 26 May 2023 10:33:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685122397; cv=none; d=google.com; s=arc-20160816; b=WkLYN9Q9hHOrWZyrRcIlAtyQE6c2YldYQlf6J1nxkw6vcLeZyP+qogx5WeJrLgj2VL jXJv9Ib70FGKVk2XXl8zr9anGmkoI+OohEdn/RPg1OTVp1pKWZF3s843h/D7Kd7lIGdN NcBhZ2eJNwTWlUWBCBDx++CW+JHbn56lnd8zj/OKnJQhjJQzUVZFA+yx9szehLmdBpLJ 8fPx9WZWA90zqPAZqvpuN7V04d0vOB10UNvD04HqJiV+ytvE1ZfntvB1t4HiUiLd+8Cc h9SFtORCeWzybr122fN+C0oSVIz/oGwsr5bjF+aAgOZmM3+9qXh0XN5JBWjLTsS1VnTV o5UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=tWK7afNho48yb3u6Tg3Qt8Kcohw1D2vXt00GJ42KTmc=; b=EbwoXS6YStdkYeodclqTnOo/H0HKQ3HX24UVkF/PeCLhRUOoTf8jRAEnqrfvlsKkM2 02EGOSP8kfMMiBLH2Gs4s27MLAO2PukRNbW8z5UJS9iUo46QDXD7Bx/Top5+VznbiNmy EkAVkwzIAn14yA5apbi3sb+4ycN9E3/7pxB79xvysZupr9ciZWgd71iWPdimZ5Xip493 MR72uQl3/uNmbZQgarw/EtSQ4pSKaF+6mzksgmN9hF2nedE1oE39xvYh9YS1uaH2EBab PC8cot0BJmO6vR9+uNEKT5eqwcPt9b6Zj8/FpqbqAu9db6lb+QTxvj9K+xO4vEmi0LwR XFmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Ocfqrq1N; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o25-20020a637319000000b0050bea5bf413si4365492pgc.705.2023.05.26.10.33.05; Fri, 26 May 2023 10:33:17 -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=@collabora.com header.s=mail header.b=Ocfqrq1N; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242168AbjEZRLD (ORCPT + 99 others); Fri, 26 May 2023 13:11:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229880AbjEZRLC (ORCPT ); Fri, 26 May 2023 13:11:02 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00D8AF2; Fri, 26 May 2023 10:11:00 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-248-132-021.ewe-ip-backbone.de [91.248.132.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 746796606E90; Fri, 26 May 2023 18:10:59 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1685121059; bh=8eB9AnYSCt+Yx89BjWAzjTBX54X+yIdd1MahV6KNCEA=; h=From:To:Cc:Subject:Date:From; b=Ocfqrq1NBZKtoJBhWc9oqb3vqtHHPAh7/6rZmj0hTfUrnYN/J6zH3kLods+tN++Xx ef6Duww05ebBxEK+QOAX94u/GIgiITIBLtOaOdpDCqEWsw0IAFHwaCG8zO5QUd4aQ0 eTgatWH0VcKfG45aSadyBApHC7RwYUg5Usya1wES3MW1MJXuh43EXMeAajo8fexbnE M1+hJUrlHtMH6n/zorpbtM2jRsiaAx3uhJsWrX8yeaoTha946MY5i5nNTYHFyfNXKJ LeLTuSKYli4IGBEfLDWEXBncE+Mb/rSNVmmX9exejaGrKBLNWn9xRRX7wqbxPzpRLl PjS3f82tiB9qg== Received: by jupiter.universe (Postfix, from userid 1000) id D00C34807E1; Fri, 26 May 2023 19:10:57 +0200 (CEST) From: Sebastian Reichel To: Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Christopher Obbard , David Laight , Sebastian Reichel , kernel@collabora.com Subject: [PATCH v2 0/2] Fix 64 bit issues in common clock framework Date: Fri, 26 May 2023 19:10:55 +0200 Message-Id: <20230526171057.66876-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Hi, I found two independent issues related to handling of big rates in the common clock framework. Changes since PATCHv1: * https://lore.kernel.org/linux-clk/20230519190522.194729-1-sebastian.reichel@collabora.com/ * Add Christopher Obbard's Reviewed-by to the first patch * Update the second patch to use DIV_ROUND_UP instead of DIV64_U64_ROUND_UP Thanks, -- Sebastian Sebastian Reichel (2): clk: composite: Fix handling of high clock rates clk: divider: Fix divisions drivers/clk/clk-composite.c | 5 ++++- drivers/clk/clk-divider.c | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) -- 2.39.2