From nobody Tue Feb 10 08:27:56 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1681693072; cv=none; d=zohomail.com; s=zohoarc; b=X78O/Ogo5vUDaxDIQaO8tv6eScnEDq+P5nfaue8GpDRtAG/hMuyzC/OSZ0IwQfX6C1WENmebk/tinCrGcHH4gKIBbZA3LAnB3qVAjf04gBYe3BulYubplUfCqrO8nYLSryc97KOMC/C1MxKAzajucX+cdvmLiZdeOm5RKAs8E1I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1681693072; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Bpw5Fx7dmthfquNbuUVSAAfHNtvItRyRpeBujBbvg2E=; b=AGSo0WKUM0eo5TckTjmu2WfUSztTuYlBu+PGuZXxhHsAn8CYmsZFXGaShu6mB06dCB+eVTTkO+8PvP27NC7+g7xIRn4k31XU/sj8OO4gAxFTPfmdNb9QLhUHtUZs86NgfAePR8T00XWPqDJSOEMVLVnwqsqmCzBs13ah5IYs9JM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1681693072664413.7766162317156; Sun, 16 Apr 2023 17:57:52 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poD9o-0002H5-Io; Sun, 16 Apr 2023 20:55:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poBdt-0000Ak-Rn for qemu-devel@nongnu.org; Sun, 16 Apr 2023 19:18:45 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1poBdr-0004Il-Ta for qemu-devel@nongnu.org; Sun, 16 Apr 2023 19:18:45 -0400 Received: by mail-pl1-x62f.google.com with SMTP id p17so12638291pla.3 for ; Sun, 16 Apr 2023 16:18:43 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:1800:f680:20ea:ba1c:5673:16e6]) by smtp.gmail.com with ESMTPSA id jl3-20020a170903134300b001a6b02659c0sm3087847plb.159.2023.04.16.16.18.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Apr 2023 16:18:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1681687122; x=1684279122; 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=Bpw5Fx7dmthfquNbuUVSAAfHNtvItRyRpeBujBbvg2E=; b=rEq+MThuu9r9ZLLQX6H9MJfW5ytgicAWOhTxIwClasW4w2XBUbbeonqYtrQZWxryfO aJfwLUeEqFQULYHRMMD+OtCfgjV/GEvcumbWTg4NAzrnsSXo9A1m3lgjy+XnPL++p3Zj BuuhYgeiiG4xts6d6SSsMEvBL8vNInCO3MpXhsNQghWekTIllAMZZPy5Npxw5So191x2 qPCpCDrcNE9d8mSPmWEJaREIOzvcj3dJ5UXSWRPDySfqEN+GQLBNHk4+5Bnnlp4TZwcW EGkG4uXZIzhdZn9mY3lDkkQSPlYAmBvq1USg5HbqjI8pUttDl2gPoPhkSGMSPCwSaW68 Ia+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681687122; x=1684279122; 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=Bpw5Fx7dmthfquNbuUVSAAfHNtvItRyRpeBujBbvg2E=; b=OL1zO2ey4cAEfugEcuC/LdQuSxAbgK8yChCrnfxouTf5EjiYHrDZVCjcAyPkVz5vpl VsVx8VNI9DzYFh/LL+cepTK4iIoTL9/Br6TJNu+Z2+pDbnEWIudvAkUW+PsdOh1QPk+n 9js89lC9d8N2iDNKMIOYwE27bc5FEG5Uxf8unCvbTViJOytrj1DK23eRiNEG/eCUnt9F 0ZoDdKfi6CgEhQTE6nJwlp+ON69m2PBPqRxbQfzAbNdcpUr3uby9I+BAcA1mtVcSMbZE T61TL3NiSrbEbs92MEAXWR5W5AxofdWBYSvGrc94SO/3PTHSy0cuFy6kGivut+gTBX4I 58HQ== X-Gm-Message-State: AAQBX9diPKr2gH93WWgMC6JwQotA/Zkj3lpK2WN7aFEAvlfTRCFaaCXn zz6TLVOBg5QFLbIpaJzqXRdMsg== X-Google-Smtp-Source: AKy350ZZn6PbjkNAVzrmxCzz6LRwWGLqhfYREju2cjRH1sPKZwcX3s3h0mSxPr+vLmp2/TZXzY6wQQ== X-Received: by 2002:a17:903:187:b0:1a2:87a2:c910 with SMTP id z7-20020a170903018700b001a287a2c910mr13224999plg.53.1681687122413; Sun, 16 Apr 2023 16:18:42 -0700 (PDT) From: Drew Fustini To: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , qemu-riscv@nongnu.org, qemu-devel@nongnu.org, Nicolas Pitre , Adrien Ricciardi , =?UTF-8?q?Kornel=20Dul=C4=99ba?= Cc: Drew Fustini Subject: [RFC PATCH 6/8] hw/riscv: Kconfig: add CBQRI options Date: Sun, 16 Apr 2023 16:20:48 -0700 Message-Id: <20230416232050.4094820-7-dfustini@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230416232050.4094820-1-dfustini@baylibre.com> References: <20230416232050.4094820-1-dfustini@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=dfustini@baylibre.com; helo=mail-pl1-x62f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 16 Apr 2023 20:55:43 -0400 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @baylibre-com.20221208.gappssmtp.com) X-ZM-MESSAGEID: 1681693073559100003 Content-Type: text/plain; charset="utf-8" From: Nicolas Pitre Add Kconfig options for CBQRI and an example instantiation of capacity and bandwidth controllers. Signed-off-by: Nicolas Pitre Signed-off-by: Drew Fustini --- hw/riscv/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig index 6528ebfa3a3b..04de0273888b 100644 --- a/hw/riscv/Kconfig +++ b/hw/riscv/Kconfig @@ -45,6 +45,14 @@ config RISCV_VIRT select FW_CFG_DMA select PLATFORM_BUS select ACPI + select CBQRI_EXAMPLE_SOC + +config RISCV_CBQRI + bool + +config CBQRI_EXAMPLE_SOC + bool + select RISCV_CBQRI =20 config SHAKTI_C bool --=20 2.34.1