Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp257400rdb; Thu, 19 Oct 2023 03:51:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGW4rav+6StXaS4g4LGcJJUFw0fH5V/DbF7z5QHH/3tgRG+6VllAsq28ROStUCh3/PNOKcy X-Received: by 2002:a17:902:e5c1:b0:1c3:19d6:3559 with SMTP id u1-20020a170902e5c100b001c319d63559mr2383182plf.1.1697712662625; Thu, 19 Oct 2023 03:51:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697712662; cv=none; d=google.com; s=arc-20160816; b=t4OCK8lBT4tl6r/Dy6n8ZpkfWgK7E69jVAaaUISCFSMU/5wWf4oTF4vHGsOfag+s/U pXgpYc20kIlDT9mHeWQ8gYWnH8r9FOguSYixP3aORb/ob2vu/xWSPrTi72yrEj97VCgx MGPC/WwmOd3ND3q4X4JwU8/cyd3AQsLRi0jJuqpOt/DT5A9WKU/+VEdBwbmhhR7+VQ9j 5JaT+n+SUaq2jvEzNkvgEd1JnzzjfpoO3geEgq+3lvkBTX2QdWSV1Af+2aCJGCyjTM4m HMuNJrlY8udJsJ1Jcr3gFpjlUeyxmE1XR9GADWlnREPIUHU6LvCY4EzTIinMjPKchaHj aJxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=m0kA5AlKjrLizskj5uytfds0dpoLuHCNfkvCp+8e4rE=; fh=vuHWo/exJktCZGehWJY4HfSMjBfy9HrQ0q4c+PvDgFo=; b=RBEgLFDM2LuFmvtCm/bDkYpOo7TXzLtGUlv+LS1qQJFy8aCcNLopyp3Q7QTX5QduYL KNAfQccxEVd0EyPf2ajlj2nMIYQwjjQZAM0Z+tVDs2Vu27Dxb7wcLHMAJEV0pmFkQBqx jxyNA9pBA0Uavc/1fWabRIKVXZuCgV/oFfF0WRmAaVHWPLKfvC3sw2ufDM+hDVmPZ49W DG7gW9WL8IpT9xlkeKKfr6++p0jUPKQ1JFYOrBzDchdRZw/nu3Umg6gg88dlCrFjfYxl jANnnAl4e/QeUlqsR+qLOzGrGWVKw+3MYu2g2civXTyBskpOfNJLi63wYYowdsd7LRib weXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NhTfeyNq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id j5-20020a170902c08500b001c76a2ebda0si1749223pld.502.2023.10.19.03.51.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 03:51:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NhTfeyNq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id D2B23826E59C; Thu, 19 Oct 2023 03:50:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233044AbjJSKu3 (ORCPT + 99 others); Thu, 19 Oct 2023 06:50:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345222AbjJSKuZ (ORCPT ); Thu, 19 Oct 2023 06:50:25 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 304D3119; Thu, 19 Oct 2023 03:50:22 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-405361bb94eso81833215e9.0; Thu, 19 Oct 2023 03:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697712620; x=1698317420; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=m0kA5AlKjrLizskj5uytfds0dpoLuHCNfkvCp+8e4rE=; b=NhTfeyNq0ANCusoMuwdibbve8VdP/9rx1Ppz6zIqotyPo+j9d+dky6ULL2ZEIpVEN+ O6/C1TUnoIwMjdtH3ABcAa9WHQTovAnF+f5iRxwI/Kv4eldx+X6OBhtSDzjN6w5Iy+Uc JvHTPWGpcWXPLRXwmrYq1KokfaDnrh9+W69jliRIwFV+fj5ap3Kzafsr5i85zbWrXsr9 ioc84lKyJDMXYBKESrjloSfhrL/ei/Ul8lvMgoPvZlN8O3ipbHnjZVVRmhdkSAatR7z0 TprFUzIYT256Fy7KTAPZkJ6EDRvaknCbTvD7jHl0OTt+81g9qPs7RfKAmFy7I/1Jyzz0 4PzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697712620; x=1698317420; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m0kA5AlKjrLizskj5uytfds0dpoLuHCNfkvCp+8e4rE=; b=AjaaVMOfn6rKYLysaJKRFKYB2ecHi2MRayZV2jBADWEgm5U88GQgBXItW1RB67eFDs 2l3Vf6XKR69xLllYmSh2pwzItJQfHbqsH4fkuegfupNEz6kWgjvj5pCC8W4uUdeniko2 KRYl6x8T2vrlJdSeRbJ+I0Mh5xEhw0bV/rJ+oftLNCjTaaTYuCgdpup4uU3n5AMuQm8N tWJxcNjNyAeIc7nWIsnekY5n48koVBp5Z7Z2bKUEnfbM/uNiF8rF6Okj1ycXVfFsWSzF FoWl7ETJhYu8LUtFeVnc9X2uAuN5k8X6PJrWG8EgfnoNHoYOaeFcRWx2tVH36EMD1wNB Wd4g== X-Gm-Message-State: AOJu0YwKQ3xRCuXyb63wi2bf0YJKLRK+AwS08ICcjw8paULqoyf8AvIO D3rrqFYWZdsmcLSaCFJD8Tg= X-Received: by 2002:a05:600c:1f82:b0:401:c944:a4d6 with SMTP id je2-20020a05600c1f8200b00401c944a4d6mr1537035wmb.28.1697712620283; Thu, 19 Oct 2023 03:50:20 -0700 (PDT) Received: from localhost.localdomain (93-34-89-13.ip49.fastwebnet.it. [93.34.89.13]) by smtp.googlemail.com with ESMTPSA id bh9-20020a05600c3d0900b003feae747ff2sm4129511wmb.35.2023.10.19.03.50.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 03:50:19 -0700 (PDT) From: Christian Marangi To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ilia Lin , "Rafael J. Wysocki" , Viresh Kumar , Christian Marangi , Sricharan Ramabadhran , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: Dmitry Baryshkov Subject: [PATCH v7 1/4] cpufreq: qcom-nvmem: drop pvs_ver for format a fuses Date: Thu, 19 Oct 2023 12:50:08 +0200 Message-Id: <20231019105011.7289-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231019105011.7289-1-ansuelsmth@gmail.com> References: <20231019105011.7289-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 19 Oct 2023 03:50:41 -0700 (PDT) From: Dmitry Baryshkov The fuses used on msm8960 / apq8064 / ipq806x families of devices do not have the pvs version. Drop this argument from parsing function. Reviewed-by: Konrad Dybcio Signed-off-by: Dmitry Baryshkov Signed-off-by: Christian Marangi --- Changes v7: * Add this patch from reverted other series --- drivers/cpufreq/qcom-cpufreq-nvmem.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c b/drivers/cpufreq/qcom-cpufreq-nvmem.c index 7f9ff86cfc5f..c399b5014b49 100644 --- a/drivers/cpufreq/qcom-cpufreq-nvmem.c +++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c @@ -78,7 +78,7 @@ static int qcom_cpufreq_simple_get_version(struct device *cpu_dev, } static void get_krait_bin_format_a(struct device *cpu_dev, - int *speed, int *pvs, int *pvs_ver, + int *speed, int *pvs, u8 *buf) { u32 pte_efuse; @@ -209,8 +209,7 @@ static int qcom_cpufreq_krait_name_version(struct device *cpu_dev, switch (len) { case 4: - get_krait_bin_format_a(cpu_dev, &speed, &pvs, &pvs_ver, - speedbin); + get_krait_bin_format_a(cpu_dev, &speed, &pvs, speedbin); break; case 8: get_krait_bin_format_b(cpu_dev, &speed, &pvs, &pvs_ver, -- 2.40.1