From patchwork Mon Jan 15 10:10:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil V L X-Patchwork-Id: 188102 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp1610261dyc; Mon, 15 Jan 2024 02:12:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IED3X5BqkSZFRXyNOmvLl2KrHgkBuC0AeV6t8aidG1ZHwERttsRflOxeKfZb2cRYZbhZWsq X-Received: by 2002:a05:620a:1485:b0:783:25b7:aeec with SMTP id w5-20020a05620a148500b0078325b7aeecmr6617166qkj.5.1705313541426; Mon, 15 Jan 2024 02:12:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705313541; cv=none; d=google.com; s=arc-20160816; b=JOXo6I/50Hu3y2oXaeUjxu3XCV+M4pjv/+Ie4+FIteodS966uukrVSfDPClBfzNTSj AyZDJ/yOIyhscuPSqK65WVL9WU5tssSegelQQnSTtM2GEHj2Rks4OFtRVN/fMM4bj6FY 4SlQOL48OCTAJX1hvc8riwY0xBR8CZEET/QP2w+ONJ+069CscATPjtWxJyfsx1M83XSF 6jgrRsdDlW5u/jIwpQaAU9J2/T+2JgjEYCkSbwLNYZTaefVEMJkWJRAjt4agUfywPYDg oqOEkC+rPAJOfJgoI/VfS3GmI3g/9urcQwl0xAF2MezRVfmIiUVFr7hUxCXXwirX43xN Ikhg== ARC-Message-Signature: i=1; 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=QtA1yi7bJhENd0OSwZZPO3/DRQ+e8frz78vUteV9MTU=; fh=FKC/h5VVoA65vzO0ouUOa33iBRZCVTrZz9+QoLDKUqs=; b=b+33SovZk64aFFd4qG4g7bzhWSypAP8StJnuWPTbOoeQ8EdzeBQr1I9tuV4xynKdia xsUunu1Arg6HL7NQ+w6jVJufFrMKEXkphc8rs6s9YvgEVAA+6YW+pI2dj4wNYFxKq+HV FjybFCHWUIl/LEmV+rUi/oAI2LPpvK5NJd8awmx5PMXGbx1peBlw6/oGjAkEjR5kYpJz 1UU/x++CN2ATa1F8nnlPKo8rGdsee2NVAlSCVU+TL5/LS82Ow9uuKMS6AYmGEq+PjGix GE7mdnytpCNasH1Up/uv9hbycLj9Lgv/EKCxDtsoLZu+LSJ9S/vLXpjbCpaTE/GYPcxD GpSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=bZKZ5RwK; spf=pass (google.com: domain of linux-kernel+bounces-25863-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25863-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f7-20020a05620a280700b0077d7cbd1c38si8132833qkp.251.2024.01.15.02.12.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 02:12:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25863-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=bZKZ5RwK; spf=pass (google.com: domain of linux-kernel+bounces-25863-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25863-ouuuleilei=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 3B9631C21608 for ; Mon, 15 Jan 2024 10:12:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1AFB52C69D; Mon, 15 Jan 2024 10:11:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="bZKZ5RwK" Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49B782C684 for ; Mon, 15 Jan 2024 10:11:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-oo1-f53.google.com with SMTP id 006d021491bc7-59612e4a21eso2759712eaf.3 for ; Mon, 15 Jan 2024 02:11:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1705313481; x=1705918281; darn=vger.kernel.org; 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=QtA1yi7bJhENd0OSwZZPO3/DRQ+e8frz78vUteV9MTU=; b=bZKZ5RwK6GYmMq55zsZlx2tlAro4s+tYGUdDy1IyT7cxNlm3sg2RcFWucVShUI0mFz 7qubWVp+X0/fH7EzXoyzDOMjty36jijZimF7+2pucQzkGxA6suzmJxegpMOKAg7Gqy8G D3FeqFX3vEoAs4NvNoOU9mtl700IW2fOJEYRxYJfEyS39KHC88o59chDKW/Xb2swzdBs QWL9qCxDl25p/mb0GIKiDQb1AEmX7ZzqKB1QD1+gzQkwzDwEgH0ZTvcI/5DeMPTm4CQ4 vYO6f9pKWvpp1HXMuQY/+xC2TbLgxyHBVlnV+lBuApnR5d6zVsr+J/wi0BJxceOucuw5 k5Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705313481; x=1705918281; 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=QtA1yi7bJhENd0OSwZZPO3/DRQ+e8frz78vUteV9MTU=; b=N2JU8iEa7BvBGHtEXirSoIy8fDEwWRDEELyqEfqfP8XS/KVuipmNLbE0yBlUWnpMhy EFmo9KnYBpmtx1XOMGXXD/VScm/bGxG625TR+7ffkC+ZuP7QPsohR8rpWiUKWBp2hZOs kW9TD+OKJbX0B+Bsq1zIoMkJthDsksEjPWpChN+1bCuFcxiw5J7Z3pdnR6SfZfEwPZVd MiqDOV727NTCiI8Xlzs3RGPrXyYvB2SzDf4C2CccqmGYVVM0MgZ0VLcV1iqidkW0EYG5 fxZ5/xq1zhPaxYef8geONyVUeCENAROfUs8yFkElONvZiKeNswyzLcv3McD0UFqAzUR5 +1Ug== X-Gm-Message-State: AOJu0YzS537MAL+My8w4na8DZFSe6g7D9UOJV5g4JqIWtExhHweCVNKl htJy86vC/PtqoZplRruRGiA0MJZ/Y07KKQ== X-Received: by 2002:a05:6358:7689:b0:175:4f3e:bd4d with SMTP id e9-20020a056358768900b001754f3ebd4dmr2404643rwg.49.1705313481257; Mon, 15 Jan 2024 02:11:21 -0800 (PST) Received: from localhost.localdomain ([106.51.188.200]) by smtp.gmail.com with ESMTPSA id u5-20020aa78385000000b006d9b8572e77sm7348256pfm.120.2024.01.15.02.11.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 02:11:20 -0800 (PST) From: Sunil V L To: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-riscv@lists.infradead.org Cc: "Rafael J . Wysocki" , Len Brown , Anup Patel , Daniel Lezcano , Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , Andrew Jones , Atish Kumar Patra , Pavel Machek , Sunil V L Subject: [PATCH v2 -next 3/3] ACPI: Enable ACPI_PROCESSOR for RISC-V Date: Mon, 15 Jan 2024 15:40:56 +0530 Message-Id: <20240115101056.429471-4-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240115101056.429471-1-sunilvl@ventanamicro.com> References: <20240115101056.429471-1-sunilvl@ventanamicro.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788150851855477576 X-GMAIL-MSGID: 1788150851855477576 The ACPI processor driver is not currently enabled for RISC-V. This is required to enable CPU related functionalities like LPI and CPPC. Hence, enable ACPI_PROCESSOR for RISC-V. Signed-off-by: Sunil V L Reviewed-by: Andrew Jones --- drivers/acpi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index f819e760ff19..9a920752171c 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -282,7 +282,7 @@ config ACPI_CPPC_LIB config ACPI_PROCESSOR tristate "Processor" - depends on X86 || ARM64 || LOONGARCH + depends on X86 || ARM64 || LOONGARCH || RISCV select ACPI_PROCESSOR_IDLE select ACPI_CPU_FREQ_PSS if X86 || LOONGARCH select THERMAL