Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp105984rwr; Wed, 19 Apr 2023 04:12:04 -0700 (PDT) X-Google-Smtp-Source: AKy350Y4MpAnxpm0BZGtgWKGmZ4dniNXxGdrWjHLZ+fRcnWboKSi8sVL4zU96uxB2EAg2BIlyK+7 X-Received: by 2002:a17:902:dac1:b0:1a6:4127:857 with SMTP id q1-20020a170902dac100b001a641270857mr6469461plx.5.1681902723821; Wed, 19 Apr 2023 04:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681902723; cv=none; d=google.com; s=arc-20160816; b=H+cRV93sF7Ofm94u4+Zf2aFBC3b/HiGKWbgFRFTt5hb4JhDGCoxeOUHN+i6ZOuiuml xX2JTH1z8r6N9Qitm2QFyY7gk3bxphDXZzCihI5msHdkDI3WkVpJ1rFrahjv1GOpzsG8 75/MkEe/GbOBVYiolMHTZIyzLYrUgjsmqO7Z6S1xJZLCkAEXwglP0+OBJ1GXyvrmPE9y TOhvjGtVdPUPclCV961pnJR0lvnf/4SIsy35OQRh1mSY+WVkutRaEiFGVuniSgJf1f1y dBxKgF9lnOt4JBJ+u60xHBliVMI47PeMPQowNHDzYe2VarIzwNFsgY9ZEos4RrscKIYY 8NQQ== 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=4hp9NpznKrrhFUn5kY4plzR5MQ6NWWu6XSocDBe3Nh8=; b=KnUZt2NJ0NjOoAigvkrdv5YZxrLvsesm3QjPNzG7De8LweQgB1ooBGd9erfeztTydw 9/HXzDlnQpo3e/Mfu8iOgP7BhlTtQBeZeJxbh76Tzp0L5ZfWuOar+sUrnjgbaq80PNIY rYLV8McYWw8bhzaHva49Illv/dlfT4v8tUsf2kruq4OP/ytFF0r9cL1jGUb8AUlje61S nii0Ifp+pVD8LhIi0R4mU7FCaPhLAUd5vkIIcyByWsf4BZ+RR9UysPAsAem/7PS97gJ8 e4me0jhmtJQpzp5eo3sDdLUhShWkiFffIfBTXWK5x55D4p6ki6S3XWl1byT+ZDIDEReb hrWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=bSlEbec9; 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 bi9-20020a170902bf0900b001a66aaf8395si15884839plb.227.2023.04.19.04.11.52; Wed, 19 Apr 2023 04:12:03 -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=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=bSlEbec9; 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 S232975AbjDSLL2 (ORCPT + 99 others); Wed, 19 Apr 2023 07:11:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232931AbjDSLLQ (ORCPT ); Wed, 19 Apr 2023 07:11:16 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67DD413C37 for ; Wed, 19 Apr 2023 04:10:33 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1a9253d4551so516025ad.0 for ; Wed, 19 Apr 2023 04:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1681902625; x=1684494625; 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=4hp9NpznKrrhFUn5kY4plzR5MQ6NWWu6XSocDBe3Nh8=; b=bSlEbec9/6HF6hffS50ZidbvyeHeOIIlvjS3fkxYt9p2ccPaMCloBmttbuqqmsN+pP DQKv+mly9xKqQ4DR+95+zT4hxj70m32RkOVien5/iCyTKT/aF057uciiXJCz04ujXg4j 9UYRl+7MZAmd5jQbkwrSe4SmKcvX1AYAsUQJbwA/7i+dCzahPypNFubuZwsTbBHpKRkV nM3OfcozCj/et54NEGR796BoVTOz7l/50j92hxQPhew31E9fQbhqC9Tiv0CFffEHVVLL qGT+FuApfG1S8zPBFa1RInxm7TqmigulH7DtfZowilsJGVx+WXKTVPZlCDvlmAvfTUZP uFUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681902625; x=1684494625; 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=4hp9NpznKrrhFUn5kY4plzR5MQ6NWWu6XSocDBe3Nh8=; b=Sq2Ai6P+lBtchZElmGLbQYt+KQRdvyQ7HERTUJyNyILJaqGz/nbIDPRIaeI3eWkBuy 7wed4jpAzZZIDnm3AvafH86g6Q2+dXk5FGsqd/Hn0N5DLN8wTkUS5EX5ReVi/Zu3QnPV 3cnqjHKdFRwc4aKKTEBYm3oqDInfOkYM+xPOAT1BZrFof8CK/kF2th2or8hsBgU3hIX2 z5gu7deyT4efI0wmbkbu3ApND5tR87duDjI0QJiuYHeJ+6AbFkFXDlr28Xqq73h1gLI/ WWIp79FKp/s8g6QJsM/gcxdByg9G1AsRUzWPPsZzfgptkzMdQ/0J4UKqn7H8CVxuXJTv 1sMQ== X-Gm-Message-State: AAQBX9fy2lA5/mqFB4Y/abrbnn6HPmR6JiezdkjmjK2Wrj+O3uUwga4j 11lFo9v+WhzCltoF7QkcCreHRA== X-Received: by 2002:a17:902:ee4d:b0:1a6:9f09:866d with SMTP id 13-20020a170902ee4d00b001a69f09866dmr5126919plo.61.1681902624856; Wed, 19 Apr 2023 04:10:24 -0700 (PDT) Received: from x1.hsd1.or.comcast.net ([2601:1c2:1800:f680:eaf2:1d7a:7338:16cb]) by smtp.gmail.com with ESMTPSA id g12-20020a1709026b4c00b001a24cded097sm11180774plt.236.2023.04.19.04.10.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Apr 2023 04:10:24 -0700 (PDT) From: Drew Fustini To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Palmer Dabbelt , Paul Walmsley , Conor Dooley , Ved Shanbhogue , =?UTF-8?q?Kornel=20Dul=C4=99ba?= , Adrien Ricciardi , Nicolas Pitre , Fenghua Yu , Reinette Chatre , Babu Moger , Peter Newman , x86@kernel.org, Rob Herring , James Morse Cc: Drew Fustini Subject: [RFC PATCH 10/21] RISC-V: QoS: make CONFIG_RISCV_ISA_SSQOSID select resctrl Date: Wed, 19 Apr 2023 04:11:00 -0700 Message-Id: <20230419111111.477118-11-dfustini@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230419111111.477118-1-dfustini@baylibre.com> References: <20230419111111.477118-1-dfustini@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Make CONFIG_RISCV_ISA_SSQOSID select the config options for resctrl: ARCH_HAS_CPU_RESCTRL and RESCTRL_FS Co-developed-by: Adrien Ricciardi Signed-off-by: Adrien Ricciardi Signed-off-by: Drew Fustini --- arch/riscv/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 9d4c8c505191..683349c2e809 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -401,6 +401,9 @@ config RISCV_ISA_C config RISCV_ISA_SSQOSID bool "Ssqosid extension support for supervisor mode Quality of Service ID" default y + select ARCH_HAS_CPU_RESCTRL + select RESCTRL_FS + select MISC_FILESYSTEMS help Adds support for the Ssqosid ISA extension (Supervisor-mode Quality of Service ID). -- 2.34.1