From patchwork Fri Apr 12 18:22:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 10898985 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0AFB31390 for ; Fri, 12 Apr 2019 18:22:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1E6128EDC for ; Fri, 12 Apr 2019 18:22:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D5A6D28EE2; Fri, 12 Apr 2019 18:22:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7250228EF3 for ; Fri, 12 Apr 2019 18:22:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; 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:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=P2/CIkxObRNYTWy3EYOby18601u+exYlq/aaYjxlZCo=; b=RiwWIT78sJXY8f zeFFTPOVS5+L8ibO24MqI3tvr+TeV647H/T9RrSM9/fZo7Vzb8J5ZUnKVsJd9BRGhFYzJ1VF+L6SS vFgKPH5AptZurP29DmNKr1n1lcKB5WsDPnUxkGKMjcF+2/vXW35Yd4I1wy70IXECi4lda40TwAVmi GOJz75khixBYFC/edSmvfJXq+QgDt4qS+K8UbtD5qaTxlHF7wLq66xFfeG9H4Lq50B2UMYnuE0c0+ UwuvwTkaGIICAaecwvuKTiQvmjKFAqinAB2YiCNoR1FtIjHNBvk4ly+LhOA2Vn1Spjf51jEgu4xkU 2PZzlr+sVfOAn0lcmxLw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hF0p4-00057i-LT; Fri, 12 Apr 2019 18:22:46 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hF0p0-000577-Qw for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2019 18:22:44 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x3CIMbuv129373; Fri, 12 Apr 2019 13:22:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1555093357; bh=OISq6Lt0y5Q5Vs1krIqxQOOaAGSuGeZOWtqS+3c2QVE=; h=From:To:Subject:Date; b=uHbFRcaMPvK2NNnywlDuQKhSYkk4hLbGALpNYGEAiKab+A75n+dNUvcuxcnRftDRW OTAI5g76dryOjKP7P5vwgKgp2grlCXMvdhVKDToSBrHLuoca04GHf02wU5ogfsJi92 3CuBC6ICR+3F9sJukZbE0K78uJdj48jiZsoI5kr0= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x3CIMati011067 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 12 Apr 2019 13:22:37 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 12 Apr 2019 13:22:36 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Fri, 12 Apr 2019 13:22:36 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x3CIMYYi060123; Fri, 12 Apr 2019 13:22:35 -0500 From: Tero Kristo To: , , , Subject: [PATCH 0/3] clk: keystone: sci-clk: perf improvements Date: Fri, 12 Apr 2019 21:22:19 +0300 Message-ID: <1555093342-428-1-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190412_112242_996953_22F4B7F8 X-CRM114-Status: UNSURE ( 7.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, After some thinking, I decided to switch the clock scan method for the sci-clk completely over to DT based scan. For example, on am65xx, the boot time improvement for the clock probe is from 398ms down to 7.3ms. I retained the full firmware scan code behind a separate Kconfig option; this can be useful for some debugging purposes if someone needs to see all the clocks in a device. Also, added patch #1 for cropping down the registered clock names, currently they are pretty long forms containing the full interconnect node paths, which makes the debugfs sort of un-usable. -Tero --- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki