From patchwork Wed Jul 13 15:49:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 12916935 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2C2FAC43334 for ; Wed, 13 Jul 2022 15:51:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=yqQfct5Hm33tZnTzHNuq9MOYxBQOuLd24Bj02PmK0mk=; b=ohFrhZmHl8gZqE 2RkApyjp5hZTD0knNFFffA4W7kjV1CQvlUlOj4pNv7iPChxyMLc1HOw4ii/KK6+UKoHz6lo6OyQhX x5iwh3Qg+tdNavuVqFJUIBXfKlokkkOQSqP/s/rsSVL/JvbAARmD7kpvAiV0Zu7GTmo3bvK+RR4J9 HQYra/Yyd5tio2Hrz/aT2/MLltUH4KYTFKvTD/B4rso1eMD4Tf0ooWg5YjtBXjtbHT+mg7b6uVkz7 Qu1hdYJ5A8PDNBvE3kX4CM+56+AeaGgOEMkcUBLOROO35mnW2B5aDRP/mIDzp2Gdc07ML7fdr03Ik NLmBeNwGD5oFvnyuXNow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBedA-005HNz-1u; Wed, 13 Jul 2022 15:50:28 +0000 Received: from mout.kundenserver.de ([212.227.126.133]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBed6-005HIP-11 for linux-arm-kernel@lists.infradead.org; Wed, 13 Jul 2022 15:50:25 +0000 Received: from localhost.localdomain ([37.4.249.155]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M89bP-1oFnUL1MeJ-005Fsj; Wed, 13 Jul 2022 17:50:14 +0200 From: Stefan Wahren To: Florian Fainelli , Michael Turquette , Stephen Boyd Cc: bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Wahren Subject: [PATCH 0/3] clk: bcm: rpi: Fixes and improvement Date: Wed, 13 Jul 2022 17:49:50 +0200 Message-Id: <20220713154953.3336-1-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:U7LzYBEodTQwQ97iL5wt+8u8EdPOd8vAm98AjNairZGfm4w1nrW QPXWQf8ltYdeTPRyu221L7RIWb13qsyenrlrEryiwbX76/uXtNcMlhZzpLAGZq9aifROF/3 mmpWRYND215PlgMSHEbSNQi1ANz6/kBjFN/J1BxCAbrLR8wwbKRxAGa1yFVb2KmgNVA9gEn 2BgQ5L/w091AbZwSJBeEA== X-UI-Out-Filterresults: notjunk:1;V03:K0:zEb1+peqi5Y=:a6yZyaXV9oNwjUPGdm+G4H W7qsVLhBgeR5Fn3Md5vXXCPpNQRowNNTgGzjGKf4O4T+lXCMEk3u6cYrpFulBsa4gdrVrAFu5 kvXfrg8lhN3eFoiAgioYUxH2DsBFLQVmOztrulnnrz0EC2PIja0PYLVpjJ8e/PjA0CSgaY8bz j5XmcK/VQy+zU9IZ9lBtaipBfazyWYkQlQIbcqinwO4O6W7SubHRbLtBBKWzDLIHlEWv3Jzgq xSUWzHAVDrAYpSh+9zhRF/xXyTwfRYCly2tG23ggKbMZ2GvUrHSssSPfsruHALgnw6tTwK+9a LbB0WvrJGVgCJMPR2xTOSx06j0cCwfQ5PLO0+StfJNtyGE8XYCawHS6GJZoMpa5glJGltlg5f bt+FPsJXz1b9w+8vC/ZPyf9FcDSKndDrXzYZ6fryG357gPqTO+MgMyYobQLD30xfyCp107Rs8 pluyx++UX0+/DVIEWHeH+DGJ2vXZwvry4lQgns8DRuF5TAQLon0lE+nJSDmmViDK9CwcMmNz1 +J279EoJtss9PpaFcCJ0YTG8GudB3i0M2j78+BjwVx2kY78gy9uCWWFeiIICgclORRk/CQsj2 FJMY+9hetPWOlsn8TDXjxvmYr29M3sAo3DR8LdqBlEfFgee1CTslZATYxRBmfFsn6kvdKdqAf y3iYNKRiKZEhMO2prXtCMlts9wfR9L69Pn9IImBlrL6sI77yY/aWtA/RmncFmm9rS2tztEQ6d sKlyMaRn0pXrSBduBnhF/WisldWoO1v9fbYxb3e8NyjjM+2J9ozTTJqmjRM= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220713_085024_385648_C1E1DE0D X-CRM114-Status: UNSURE ( 7.57 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series tries to fix and improvement the Raspberry Pi firmware clock driver. This mostly focus on clock discovery mechanism. Just a note patch #3 depends on patch #2. Stefan Wahren (3): clk: bcm: rpi: Prevent out-of-bounds access clk: bcm: rpi: Add missing newline clk: bcm: rpi: Show clock id limit in error case drivers/clk/bcm/clk-raspberrypi.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) Reviewed-by: Ivan T. Ivanov