From nobody Tue Sep 9 17:17:37 2025 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 4CB2DC64ED8 for ; Mon, 27 Feb 2023 11:01:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229898AbjB0LB2 (ORCPT ); Mon, 27 Feb 2023 06:01:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbjB0LAo (ORCPT ); Mon, 27 Feb 2023 06:00:44 -0500 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22B502007F; Mon, 27 Feb 2023 03:00:05 -0800 (PST) Received: by mail-pj1-x102e.google.com with SMTP id x34so5737651pjj.0; Mon, 27 Feb 2023 03:00:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MFzgTaiWcQIPYwKIkE4QWiTWeDFQMo1N82kLFrXukaQ=; b=OPz8eYyLQJ7KhWOumITy9lQam4wFZij+pd7qvjPRO+RxtIh9HEUGdDZE5OxqgA7HXO bcsmA7e5S3+wfI9B6l0CN84Hf2RCO/hZmJDy78pnD5mnO8cxm+fajkPJYBn+vVWX061n 6pjkdJXWM5TT4puVefhwCfIl7AfbCx1FikV2Kd+URNaUzsYA9lmxND+C5/6BkhfH4Ev/ TIUXYJTHVsysuwfINf8W9T9bztowbQpfOX1oLHiy3THDb2lu76oIVc0KWhjMzA1x9r34 eaKUgPIzXhXl5vln6YmYkEWXl006nArQqQWJ86hT16OAeFDgsw6Z4Ab6JLjB5M5ISQUJ 0D3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MFzgTaiWcQIPYwKIkE4QWiTWeDFQMo1N82kLFrXukaQ=; b=QsQcNHut4gdVRa0V768Tsuh3WOlgKvNc9PlcvM4Wi0rzVQzkkPq2QqISJaz74TL/8l W0g0HyFgoxzRpY6cIjTjUHIiq3tnhFUJMkrVldw/cpzwJS9zr7eRUcPEFLYmCbC6z2Am LEInRB7uniFpjsttjfduy1cH82spb3RToFF2wLf4GrWrtr95N7hzl30O9v6jsR0CcS9v tkIXhDLbd+gWJeEG2AgTKIzXaB1Zpxjx3UwAYMllqorfp1IwlmW8O6dNLNa6zNrzjNfG dN1pkvXgJcdNBMFVYUZnoR+3t2xCZn7FKCP/B8EsRB+VQIItMU24bTmasxfGCSqpY8u2 3dIA== X-Gm-Message-State: AO0yUKUrK0OuxymB/3RG+fsUqbVICkubdN1s80bn+51RlkW33UZjPTod V0oCIKYZHzXBS/GCcB5mlh0= X-Google-Smtp-Source: AK7set9tHTkqdUjni8Yoqj+dQFR6RfCuA7YAg7Vi/pbwgMFz4YIas8EaUb6bFHEgmK4tjS6iem3Jdg== X-Received: by 2002:a17:902:d2c8:b0:19d:19fb:55fd with SMTP id n8-20020a170902d2c800b0019d19fb55fdmr2924513plc.20.1677495596942; Mon, 27 Feb 2023 02:59:56 -0800 (PST) Received: from localhost.localdomain ([221.226.144.218]) by smtp.gmail.com with ESMTPSA id c5-20020a170902b68500b0019a7385079esm4292115pls.123.2023.02.27.02.59.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 02:59:56 -0800 (PST) From: Song Shuai To: corbet@lwn.net, alexs@kernel.org, siyanteng@loongson.cn, robh@kernel.org, conor.dooley@microchip.com, palmer@rivosinc.com, leyfoon.tan@starfivetech.com Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Song Shuai Subject: [PATCH] sched/doc: supplement CPU capacity with RISC-V Date: Mon, 27 Feb 2023 18:59:41 +0800 Message-Id: <20230227105941.2749193-1-suagrfillet@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit 7d2078310cbf ("dt-bindings: arm: move cpu-capacity to a shared loation") updates some references about capacity-dmips-mhz property in this document. The list of architectures using capacity-dmips-mhz omits RISC-V, so supplements it here. Signed-off-by: Song Shuai Acked-by: Palmer Dabbelt Reviewed-by: Alex Shi Reviewed-by: Conor Dooley Reviewed-by: Palmer Dabbelt # English --- Documentation/scheduler/sched-capacity.rst | 2 +- Documentation/translations/zh_CN/scheduler/sched-capacity.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/scheduler/sched-capacity.rst b/Documentation/sch= eduler/sched-capacity.rst index 8e2b8538bc2b..e2c1cf743158 100644 --- a/Documentation/scheduler/sched-capacity.rst +++ b/Documentation/scheduler/sched-capacity.rst @@ -258,7 +258,7 @@ Linux cannot currently figure out CPU capacity on its o= wn, this information thus needs to be handed to it. Architectures must define arch_scale_cpu_capacit= y() for that purpose. =20 -The arm and arm64 architectures directly map this to the arch_topology dri= ver +The arm, arm64, and RISC-V architectures directly map this to the arch_top= ology driver CPU scaling data, which is derived from the capacity-dmips-mhz CPU binding= ; see Documentation/devicetree/bindings/cpu/cpu-capacity.txt. =20 diff --git a/Documentation/translations/zh_CN/scheduler/sched-capacity.rst = b/Documentation/translations/zh_CN/scheduler/sched-capacity.rst index e07ffdd391d3..8cba135dcd1a 100644 --- a/Documentation/translations/zh_CN/scheduler/sched-capacity.rst +++ b/Documentation/translations/zh_CN/scheduler/sched-capacity.rst @@ -231,7 +231,7 @@ CFS=E8=B0=83=E5=BA=A6=E7=B1=BB=E5=9F=BA=E4=BA=8E=E5=AE= =9E=E4=BD=93=E8=B4=9F=E8=BD=BD=E8=B7=9F=E8=B8=AA=E6=9C=BA=E5=88=B6=EF=BC=88= Per-Entity Load Tracking, PELT=EF=BC=89 =E5=BD=93=E5=89=8D=EF=BC=8CLinux=E6=97=A0=E6=B3=95=E5=87=AD=E8=87=AA=E8=BA= =AB=E7=AE=97=E5=87=BACPU=E7=AE=97=E5=8A=9B=EF=BC=8C=E5=9B=A0=E6=AD=A4=E5=BF= =85=E9=A1=BB=E8=A6=81=E6=9C=89=E6=8A=8A=E8=BF=99=E4=B8=AA=E4=BF=A1=E6=81=AF= =E4=BC=A0=E9=80=92=E7=BB=99Linux=E7=9A=84=E6=96=B9=E5=BC=8F=E3=80=82=E6=AF= =8F=E4=B8=AA=E6=9E=B6=E6=9E=84=E5=BF=85=E9=A1=BB=E4=B8=BA=E6=AD=A4 =E5=AE=9A=E4=B9=89arch_scale_cpu_capacity()=E5=87=BD=E6=95=B0=E3=80=82 =20 -arm=E5=92=8Carm64=E6=9E=B6=E6=9E=84=E7=9B=B4=E6=8E=A5=E6=8A=8A=E8=BF=99=E4= =B8=AA=E4=BF=A1=E6=81=AF=E6=98=A0=E5=B0=84=E5=88=B0arch_topology=E9=A9=B1= =E5=8A=A8=E7=9A=84CPU scaling=E6=95=B0=E6=8D=AE=E4=B8=AD=EF=BC=88=E8=AF=91= =E6=B3=A8=EF=BC=9A=E5=8F=82=E8=80=83 +arm=E3=80=81arm64=E5=92=8CRISC-V=E6=9E=B6=E6=9E=84=E7=9B=B4=E6=8E=A5=E6=8A= =8A=E8=BF=99=E4=B8=AA=E4=BF=A1=E6=81=AF=E6=98=A0=E5=B0=84=E5=88=B0arch_topo= logy=E9=A9=B1=E5=8A=A8=E7=9A=84CPU scaling=E6=95=B0=E6=8D=AE=E4=B8=AD=EF=BC= =88=E8=AF=91=E6=B3=A8=EF=BC=9A=E5=8F=82=E8=80=83 arch_topology.h=E7=9A=84percpu=E5=8F=98=E9=87=8Fcpu_scale=EF=BC=89=EF=BC= =8C=E5=AE=83=E6=98=AF=E4=BB=8Ecapacity-dmips-mhz CPU binding=E4=B8=AD=E8=A1= =8D=E7=94=9F=E8=AE=A1=E7=AE=97 =E5=87=BA=E6=9D=A5=E7=9A=84=E3=80=82=E5=8F=82=E8=A7=81Documentation/device= tree/bindings/cpu/cpu-capacity.txt=E3=80=82 =20 --=20 2.20.1