From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA61FC83F17 for ; Wed, 30 Aug 2023 18:54:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243221AbjH3Swd (ORCPT ); Wed, 30 Aug 2023 14:52:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245627AbjH3Ppd (ORCPT ); Wed, 30 Aug 2023 11:45:33 -0400 Received: from relay03.th.seeweb.it (relay03.th.seeweb.it [5.144.164.164]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEC55132 for ; Wed, 30 Aug 2023 08:45:30 -0700 (PDT) Received: from [192.168.2.144] (bband-dyn191.178-41-225.t-com.sk [178.41.225.191]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id 5A346203A7; Wed, 30 Aug 2023 17:45:27 +0200 (CEST) Date: Wed, 30 Aug 2023 17:45:21 +0200 From: Martin Botka Subject: Re: [PATCH] firmware: smccc: Export both soc_id functions To: Sudeep Holla Cc: Mark Rutland , Lorenzo Pieralisi , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Andre Przywara , Alan Ma , Luke Harrison , Marijn Suijten , AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka Message-Id: In-Reply-To: <20230830154312.zferm3it7mj4nwsy@bogus> References: <20230830-smccc_export-v1-1-6ecc7661bc94@somainline.org> <20230830154312.zferm3it7mj4nwsy@bogus> X-Mailer: geary/43.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Got it. Cheers, Martin On Wed, Aug 30 2023 at 04:43:12 PM +01:00:00, Sudeep Holla wrote: > On Wed, Aug 30, 2023 at 04:19:23PM +0200, Martin Botka wrote: >> The patches using this are still WIP but the basic point is that >> H616 has 2 >> die revisions (And those have >> couple of other versions themselves) that require different uV and >> some >> frequencies are blacklisted on those >> versions. >> >> The driver is using these functions to read the revision (Not the >> version. >> It just looked like the logical >> thing to export both and Andre confirmed. We can ofc drop the >> version symbol >> export if need be) and reads >> trough the OPP table and selects the supported frequencies and uV >> for the >> chip its running on :) >> >> I will try to get the cpufreq patches in order in the upcoming days >> and I >> will Cc you in those as well + >> post a link to them in this thread :) >> > > For simplicity, just make this patch part of the series that adds > cpufreq > support on this platform/soc. Cross referencing won't give any more > confidence > that the user is also getting merged at the same time as this patch. > > -- > Regards, > Sudeep