Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp4035358rdb; Wed, 30 Aug 2023 13:27:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFUYvKP/kRYRWXz/wzus6ZlLvQnTc492jQWKNsikTxiIowbyTTmdhPEx73/ilCZIgEfQwlI X-Received: by 2002:a05:6402:358f:b0:522:b9ae:db3c with SMTP id y15-20020a056402358f00b00522b9aedb3cmr963203edc.6.1693427225275; Wed, 30 Aug 2023 13:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693427225; cv=none; d=google.com; s=arc-20160816; b=ELhqeOAPFtgv0AQjwuZtrLe8DtKunAbl8KkmumkQTUodd+4cEw7idp9NU5Sl6LSaUP o0leIuNlmzwAtJ06HybO2gUjBg9unt2Fuq+G4AhaYP/Gd3RLiFq03681o1Es6gAQOvQK LZ8Bz+KQf8xH+71Ebp0TTLU1lDlhlo0fpXeMGzXIFI5hC/KMyWjQjjtwbd6TFubcP9Tw IzPBZ6GT4HHFXeNaSY5EOF0JkfJYBx7wktabYZEstgfqW+DnXcng2a8AKlCq8mb8B4Y8 vkgRGcUqvok0yBf/S7HkgCQzsza4jbWVntbGdCqt1tHBvz+n9bwZYGhHmsy6u8vgp4fA ytWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :cc:to:subject:from:date; bh=nXjSZ5z1yrSEJ9dOH9HrK50v7XXbvB1ohZNA0GVqv3Q=; fh=hemkMqBBmxsPwfmKWhkfNKXPgdNa/z5yHmXDCZNTBXg=; b=EDAAS24gpkQIsZ6DYHs1zMo9pudMxRgPwkrLh0gEXbC5BS0ujWhyUJGk1QDSDu0Ncl TrS2MB317lZ8WOjnthPyJN+KD4MSRit8CPMCuW29G/MMP9PF7pxPnYBUoqCj1JQ3ny3V 5dXY+25i2UeovSwksCtT2ybQWLQVl2LmBzSl3Z7tVkKXcyotZYulqHiYzQspkyMaLGcr qgo4JcTMv27qTZ9lvK5aorQSS/rXx8k+ATe9Kh+kHgP5kkQqcVVOTM7Q5mHyXs+2TZj5 VLWCO5zAwXAHA1oTvNBoMdAt0jURDKZWLX7UjegHkjvHSa8bLWh5+Y+120/2Ffs8BQ97 oj7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j9-20020aa7c0c9000000b0052548800d54si7812763edp.265.2023.08.30.13.26.37; Wed, 30 Aug 2023 13:27:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242807AbjH3Swc (ORCPT + 99 others); Wed, 30 Aug 2023 14:52:32 -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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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