Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp356996rwr; Wed, 19 Apr 2023 07:26:17 -0700 (PDT) X-Google-Smtp-Source: AKy350Y6zGiT8wwZMrHh0rz8ZgCnLR4dn3suXGq1zZu92vCDnnkEhx2vVa9/0tqoTScv5vlHR+1y X-Received: by 2002:a05:6a20:a11f:b0:f0:5a2b:b2fa with SMTP id q31-20020a056a20a11f00b000f05a2bb2famr2889766pzk.28.1681914377035; Wed, 19 Apr 2023 07:26:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681914377; cv=none; d=google.com; s=arc-20160816; b=g1y6k/SgbIBtVM5Dx3iY5O9JIkY0Y9qcUipX0fnMUku6cRyWl+0ReWlTSozRboFwCF ucda718Ef2Fq4K5546P3IjOUEQWvbTllhwaERzz6fUrmfTAJ4OgnqveWZl1Zrf1B1dwE Nxd6WCGRZ8uPa41AQ0M2QEns5zogcOHb/gGQ2hjcscdB8f/pdQxLVphyqy+xBE5+iNeX BG6iHTZu+UHGcrKBUMphKM+r+geGoDxD3s+zxXRSP6GqpZYjRkchh98JTXmRpCRMlmbc TTR/uvInNDMKwb+OSVhGE56SKmDIuS1FzvNHSpCToFJ2xa70k6O8FTNwOqVXD1ntVbm6 QWaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:cc:content-transfer-encoding :mime-version:date:message-id:subject:references:in-reply-to :dkim-signature; bh=Waf+QACGwPaX1ZCD7e4w4TBQTFocG4VaRO3bMuKWQeY=; b=Zy6D0ynAxYDtichJ2K+v8BVUk3l0rajO/dZ7EIIyW8Hw8O8wCvmZPlVVtp+dRYOhga KHU+U+hupWQSubJNa9++DFndhI6ZNyNFbAjl/WQlC0yGNX/Y1kNosFecr22fnb56ZHSv AEPkucZgi8fT3Kx+tnVWv0DuoOVe7uBVOuTgOdg9uKC3OZ39tzStBbghEkCSifeKVdTy 5EGF9Tcik1Bve8AkoTWy9C4WbWd6sq2Frj5UinPFVIxPmD9VrPWNuJRrx9tQqRdFl4VG 7WgJ0dq/PnRcpioKCtVNSGgW6zRuS1JiI/Gy3KzNrMW4E8Yjjns4TRyjR5FeVGsDVad3 pDkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=l6v7+ZM9; 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 bm18-20020a656e92000000b004fab4df6dfdsi17132769pgb.369.2023.04.19.07.26.04; Wed, 19 Apr 2023 07:26:17 -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; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=l6v7+ZM9; 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 S233061AbjDSOW5 (ORCPT + 99 others); Wed, 19 Apr 2023 10:22:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232940AbjDSOWo (ORCPT ); Wed, 19 Apr 2023 10:22:44 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CD5130E0 for ; Wed, 19 Apr 2023 07:22:39 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id kx14so8307168pjb.1 for ; Wed, 19 Apr 2023 07:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1681914159; x=1684506159; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:from:to:cc:subject:date:message-id :reply-to; bh=Waf+QACGwPaX1ZCD7e4w4TBQTFocG4VaRO3bMuKWQeY=; b=l6v7+ZM9QWue1cFyKkTewWsi9T3Z7Jx3gSzVSOBLDFH7L4SiXnvU7N+svVhQ48RDF3 KmVwYId81LSUiIhUMIqTQ/54QklERHf+CNKdlYQMEGoMgGbFNXvYbFe+MOlqCG8C6HrS n0s/5RcK378D2IyRgvlLOgnX8KrTffkRrXMsICFF4YKNSarGEJkTLV0tYEfNkSfimdnF ZGifCAmLa7zB3qzElf7Stg+u7TqUKiQpP4/kM8EbD8NvS1VN4QUm8DLJnuBljnFyOngm qMojS00yepGhR+ndQauGQQeWO9ouylc+YUD8KxaUznghP9lrKzYxVyBWa0Jw82o/ZtZy Phew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681914159; x=1684506159; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Waf+QACGwPaX1ZCD7e4w4TBQTFocG4VaRO3bMuKWQeY=; b=Dal0ArLSHRHbLE9RRU49HPpgOE1lnDCFSrmVMpuYJphroVe6Jxkk+IJ+WxCOaXK3Oy OkzVtNv1prg0pfaMRw5PPGHdkJWqVIUhj0sKh9nI/tBlSsAtaJVWfPNdK6disrV80bSh rh/zsCohoNIwF4bPOUWhspJk4/zqStmhXJcf0kQsgxUtkYQ62c72lGlfDVb6bv+5WEdN kZImeImcLexxae2MtjV3kb5ayNjrUur5rbfP2ScVtsfmWtK8RjV595mTuExSzD15daqH qE95EpalsNfVGwxZioTVv696+lBLVeAnW3fEsumUq4G2jLinrQ+N2+5dOp9t3t3DKx9x i6lg== X-Gm-Message-State: AAQBX9eKO7rXLtWSMK67IOfRpwG1j7gTSE6taaMm3r34BUC/9+kRTjXR UEEYMuENsTY19RtZ2coT9VBmPtJsnAOPWyXEK4s= X-Received: by 2002:a05:6a21:6d87:b0:f0:2c96:1c6c with SMTP id wl7-20020a056a216d8700b000f02c961c6cmr2519297pzb.25.1681914158966; Wed, 19 Apr 2023 07:22:38 -0700 (PDT) Received: from localhost ([135.180.227.0]) by smtp.gmail.com with ESMTPSA id u35-20020a632363000000b0051b36aee4f6sm10483297pgm.83.2023.04.19.07.22.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Apr 2023 07:22:38 -0700 (PDT) In-Reply-To: <20230323123924.3032174-1-suagrfillet@gmail.com> References: <20230323123924.3032174-1-suagrfillet@gmail.com> Subject: Re: [PATCH V2] riscv: export cpu/freq invariant to scheduler Message-Id: <168191414576.1929.17819502904863461212.b4-ty@rivosinc.com> Date: Wed, 19 Apr 2023 07:22:25 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-901c5 Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: Paul Walmsley , Palmer Dabbelt , aou@eecs.berkeley.edu, Conor Dooley , Song Shuai X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Thu, 23 Mar 2023 20:39:24 +0800, Song Shuai wrote: > RISC-V now manages CPU topology using arch_topology which provides > CPU capacity and frequency related interfaces to access the cpu/freq > invariant in possible heterogeneous or DVFS-enabled platforms. > > Here adds topology.h file to export the arch_topology interfaces for > replacing the scheduler's constant-based cpu/freq invariant accounting. > > [...] Applied, thanks! [1/1] riscv: export cpu/freq invariant to scheduler https://git.kernel.org/palmer/c/c4b52d8b6c1d Best regards, -- Palmer Dabbelt