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: 10898983 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 6783117E1 for ; Fri, 12 Apr 2019 18:22:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DC1428ED1 for ; Fri, 12 Apr 2019 18:22:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21C9128F02; Fri, 12 Apr 2019 18:22:46 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BEFD728EE3 for ; Fri, 12 Apr 2019 18:22:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726815AbfDLSWp (ORCPT ); Fri, 12 Apr 2019 14:22:45 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:54732 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726765AbfDLSWp (ORCPT ); Fri, 12 Apr 2019 14:22:45 -0400 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 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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