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 17D1818E02A; Sun, 1 Mar 2026 01:29:57 +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=1772328597; cv=none; b=hdynma1Nf5RoGhXzB/ayRYkW/HEEe83UEWC4OgnurZeCFvIuMHiSku6YF0v1z2IF49XC6yG35gz9WFsnkbp+1ZlV4qIiEid7UGansWXAK1E/IPmtXl/dhDCybjZCnHnHCaD3lr/fagAJkOZU0KQ/iG8jHMZn1aLT0+I8zNCBnpg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772328597; c=relaxed/simple; bh=9asx+xbUbiwjE66j5ysMw/U8GoI8BeO3Nkuvf+WtAhM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=a7tOc+54+zHG214f+d724Yinm4M5VadVMBuLE64bm+O5OaGHjlYbvr6gZ7S25edqA6/oZA9jbOx+ANL2hBRe99Fr9yAeiAIgYKxau9Q1GVTc3rjkk5Rxh+ZoRdPdE9ihU7pY8+iDfySk/zunU8XJxJOfF2bt7HahHUF9clliSO4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Vi6z7s8y; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Vi6z7s8y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E641C19421; Sun, 1 Mar 2026 01:29:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772328596; bh=9asx+xbUbiwjE66j5ysMw/U8GoI8BeO3Nkuvf+WtAhM=; h=From:To:Cc:Subject:Date:From; b=Vi6z7s8yY7yI+CHNy9oADWjZKx8PRmNVeBPJbP9wR+avDYXWlkgZq8dDBkdCDr8vD D+N5rCFOhrQmmroCcKFnjvH4FFN/r432nm8pkMYPChy8t8KBtrxqUpA8nr8sd33ET/ PQ7TM53PXJLeWgSnBvLI5dpYqEEAFhgN/iYZ6rK78L8TG70D67/IUmM+kr8Fvxptfe 07q4GGw7oRK8tL8HhSV0aO2h5LG3GByvwBrTpJ8g79rSFdE1yEku3bkgEkSssIWdRU 9yEJhEEwEP4r+5vGm1rQoDVtIHmmB4jAzYmwIXF5jotgYmGKZnRaSBJLKj5MQuXOj8 1hj3OUYi7qKFg== From: Sasha Levin To: stable@vger.kernel.org, chris.brandt@renesas.com Cc: stable@kernel.org, Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org Subject: FAILED: Patch "clk: renesas: rzg2l: Select correct div round macro" failed to apply to 6.6-stable tree Date: Sat, 28 Feb 2026 20:29:54 -0500 Message-ID: <20260301012955.1687816-1-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Hint: ignore X-stable: review Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.6-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . Thanks, Sasha ------------------ original commit in Linus's tree ------------------ From f9451374dcfdfe669ee55b58ee6c11e8638980e4 Mon Sep 17 00:00:00 2001 From: Chris Brandt Date: Fri, 14 Nov 2025 14:45:29 -0500 Subject: [PATCH] clk: renesas: rzg2l: Select correct div round macro Variable foutvco_rate is an unsigned long, not an unsigned long long. Cc: stable@kernel.org Reported-by: Geert Uytterhoeven Closes: https://lore.kernel.org/CAMuHMdVf7dSeqAhtyxDCFuCheQRzwS-8996Rr2Ntui21uiBgdA@mail.gmail.com Fixes: dabf72b85f29 ("clk: renesas: rzg2l: Fix FOUTPOSTDIV clk") Signed-off-by: Chris Brandt Reviewed-by: Geert Uytterhoeven Link: https://patch.msgid.link/20251114194529.3304361-1-chris.brandt@renesas.com Signed-off-by: Geert Uytterhoeven --- drivers/clk/renesas/rzg2l-cpg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/renesas/rzg2l-cpg.c b/drivers/clk/renesas/rzg2l-cpg.c index dfe0f5e87d8cf..0bcf64b152e07 100644 --- a/drivers/clk/renesas/rzg2l-cpg.c +++ b/drivers/clk/renesas/rzg2l-cpg.c @@ -572,8 +572,8 @@ rzg2l_cpg_get_foutpostdiv_rate(struct rzg2l_pll5_param *params, foutvco_rate = div_u64(mul_u32_u32(EXTAL_FREQ_IN_MEGA_HZ * MEGA, (params->pl5_intin << 24) + params->pl5_fracin), params->pl5_refdiv) >> 24; - foutpostdiv_rate = DIV_ROUND_CLOSEST_ULL(foutvco_rate, - params->pl5_postdiv1 * params->pl5_postdiv2); + foutpostdiv_rate = DIV_ROUND_CLOSEST(foutvco_rate, + params->pl5_postdiv1 * params->pl5_postdiv2); return foutpostdiv_rate; } -- 2.51.0