Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp252163lqp; Tue, 11 Jun 2024 23:42:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXvIoY4vCyTn0FiX0hUsLcrTGDB5ImiVl58bUcLbnK4frqfz+vdxItfQbtO3yk4AZWxM2Tlgks9kNRrXdOFp71tTyEjj7e3SePEf7A4Zg== X-Google-Smtp-Source: AGHT+IElqNeRLgiMEJHPwwy6Cd835/9Zajv9Hu2WYt4rpN7MefAMtLZDTbSOHp33sC6B1xpEzXLn X-Received: by 2002:a05:620a:880f:b0:795:890c:3f57 with SMTP id af79cd13be357-797f4ee2524mr144870285a.37.1718174552853; Tue, 11 Jun 2024 23:42:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718174552; cv=pass; d=google.com; s=arc-20160816; b=02QysXhIp6xThIzXp13nkYv+lti9cE5YzBY042MtL/DK/eoUrzplZe8cB6F65hSk4g iZLtbGQRpG1uPtiYLfMi5edLyUPaVm9GhFJOD0Di4xVi+hr4A7rhZGWWckvRUAYNak0x tJzkukkPpWCjqfNBk4wJYDloQ7wX89Ly7GbyvSxZFeLbSneGRp6wmYL9b1ZRkpKO2gwI j/hXsI7lV4oOmo3lu7UsJgJruuFrxIbCF+7H2FtngbY977Q8fpJhEArvDRc06UWtsGQB Cp8fUZ2lhMIbMCZa7I0SLlBgMYvic6+1j+cP6nm4Km3hdsPnyi7GeQ2I4PF+5O+3T4qt 0Pmg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=RcAPvdzHOGsOEcRiAfdTxAtZg7Z6FWjeH51tsxct3yY=; fh=J3mAt2GN4Y4QHu/+VkM3EBkKUIe2mMoCeRGH0qn6CCQ=; b=qh9CDLdh4IY6b8VfuzIesr5HJSnD3FSiIlWQcYi25rcIyoTtnBT8QcqZh07mi8PG6a aAUN6OWbE8uhAJRfbUvGxmqzsp6xUJuFgq3BVXm5VTgAS8nOSVwNVrXENXI6NfsoQnJd Lu1IY6TxXy0hrB3RH02xYh287slrdsihnRXwDJex/I8kkPNMtYeUD+JgLTrASsL5TzgG 5y51BNYtwobmXrB/591pFmix4KyoZbUWgQJRcz4Bnmy1/jQr4k3nFp8Jh749a1gqfATB FvtNznTAEgwyWvFJz23IvTWS2N/s/c7Q2DNx/OK3+xgFyuPxlh461wLsT3Rf7LDcagK5 i62g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-210993-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210993-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-795331ce925si1452668985a.286.2024.06.11.23.42.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 23:42:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210993-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-210993-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210993-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8C97D1C222B1 for ; Wed, 12 Jun 2024 06:42:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5223616B735; Wed, 12 Jun 2024 06:42:26 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C56E9167D8C; Wed, 12 Jun 2024 06:42:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718174545; cv=none; b=S9SLLHNY9TtpoZPA1RfNoW5w4lOJl0TvnlX2nxxHhSZbl8zZ1inrra29F+YY6h4Fwtng1i3s+ja2H1q88gCGUOU/yjC3xyyiqDoW/ce2ADhkPGGGm9hDkjejKuxMN3e82WhdvxEwoOQvxBlGD1gBXbp8sr2pVFDdGoTQPzpI6y8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718174545; c=relaxed/simple; bh=RcAPvdzHOGsOEcRiAfdTxAtZg7Z6FWjeH51tsxct3yY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XkxBOiMej6a3Nj1uNMymo1xxH9fky3kY1zengstKt1dSZ44yvMFkwUHWfiepkHN1YSDLz+EKnlqPFB0KMTw5Dj/0Theb4D0nulhC3v5EsDOsSpnfonpMed7QiWaF6d9NPJOUkKNFjzEX1G+PaKA7Nv6ES5goq0zW2CjaifCF2u0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 268D9C32786; Wed, 12 Jun 2024 06:42:22 +0000 (UTC) From: Huacai Chen To: "Rafael J . Wysocki" , Viresh Kumar , Huacai Chen Cc: loongarch@lists.linux.dev, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Xuerui Wang , Jiaxun Yang , Huacai Chen Subject: [PATCH 0/2] LoongArch: Add Loongson-3 CPUFreq driver support Date: Wed, 12 Jun 2024 14:42:03 +0800 Message-ID: <20240612064205.2041548-1-chenhuacai@loongson.cn> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series add architectural preparation and CPUFreq driver for Loongson-3 (based on LoongArch). Some of LoongArch processors support DVFS, their IOCSR.FEATURES has IOCSRF_FREQSCALE set. And they has a micro-core in the package called SMC (System Management Controller) to scale frequency, voltage, etc. Huacai Chen(2): LoongArch: Add architectural preparation for CPUFreq. cpufreq: Add Loongson-3 CPUFreq driver support. Signed-off-by: Huacai Chen --- 2.27.0