Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp4082284rdb; Wed, 30 Aug 2023 15:14:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFiYEYDCp0NfJvbXiJz5KLUvGpoUVcmIQjzpuYXGJbIX7dIBkXsfrBPyzPt6jMJ+7iM4qrc X-Received: by 2002:a17:907:7e9b:b0:9a4:88af:b82 with SMTP id qb27-20020a1709077e9b00b009a488af0b82mr3096841ejc.77.1693433684535; Wed, 30 Aug 2023 15:14:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693433684; cv=none; d=google.com; s=arc-20160816; b=inn7auzNZSGekyy77M5o39MOuJ2DXOrEX7nrGsIDS/49LXFKZ1sPtXm7zBN/KQmWLy tmwSENeQ0H0AJbfwwpD+FUJl1v4YaqEwnh8NBHubVhF4hUGpV2/WFXNjtZ+3J9rR5msL LQOIMR3K0ZM03FocEwPJEqe9p1Tk6N/LCYG+kBWUQh63DmTZAHZN4zePB3yCSPZzXagj +kEWbDDxzcWeLggaqM5M7goLDXYGQnvFZOtgijBbkDqO5OqaQu13iB6yeZh7LYrZmBrS LBeNu+WTjF0qwaCoyAWvxwCc1s38rXS4qcl577gJ/PACC1jSO/5m2P9uVmjR4VlTiU8D TmyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=RHWSq6aYacDmyUyvGvA/vQEcRVvheYJariC+hBewiSE=; fh=TNI5kGysrib5JWXETL/EFV+S0iv7kHeQrkSqyMz8PHM=; b=Sa62vcFsUDobR9t6EOhn7He7FUzdAVDicbXHcKcVjImbiUTfk5CohQasBJwo/01Yoo Ut2Tkz9C4R8hd/9VDhjRonS/aBypv9ENMoOCEnEeMpsbICIziUb4zmVkItUca0ov8E5G mbMkL2DfUMIwmNNA23tibBwmhtZ6HBbeU+QABY1VJxrxGVzZeRqMF40plEbf/mvB+OLF RgCRyJAKMx7TwGzQWhmHXGzzIHucMt3aDTvccuTfTi068zL48RWeqN+11f0iQMqLh7iL evMFdvMSre4mkoRsa7Q5JQEhmVYb4AhmkCFdr4bkiKa+DnY+LZpinCJbtO70UnJ6sAEC oAPA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id um15-20020a170906cf8f00b00997e8e1c578si76199ejb.56.2023.08.30.15.14.14; Wed, 30 Aug 2023 15:14:44 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242848AbjH3So5 (ORCPT + 99 others); Wed, 30 Aug 2023 14:44:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245621AbjH3PoO (ORCPT ); Wed, 30 Aug 2023 11:44:14 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8303E122 for ; Wed, 30 Aug 2023 08:44:11 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B29282F4; Wed, 30 Aug 2023 08:44:50 -0700 (PDT) Received: from bogus (unknown [10.57.36.157]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6354B3F64C; Wed, 30 Aug 2023 08:44:09 -0700 (PDT) Date: Wed, 30 Aug 2023 16:43:12 +0100 From: Sudeep Holla To: Martin Botka Cc: Mark Rutland , Lorenzo Pieralisi , Sudeep Holla , 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 Subject: Re: [PATCH] firmware: smccc: Export both soc_id functions Message-ID: <20230830154312.zferm3it7mj4nwsy@bogus> References: <20230830-smccc_export-v1-1-6ecc7661bc94@somainline.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE 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 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