Message ID | 20240407123829.36474-2-cuiyunhui@bytedance.com |
---|---|
State | Superseded |
Headers | show
Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (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 7FBDC25624 for <linux-acpi@vger.kernel.org>; Sun, 7 Apr 2024 12:39:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712493587; cv=none; b=GmS2HdrbilBwzLM9Wnol+z2CKfX6VMqokcxGzJ8m677m1U3rQ3QAXSqcMWHXn03VCusQFz+XiqJcOX+OwAYAxguxqvMAGqQkSs5UzB+kNTmosm47UHXGsWMSsisnWBlJIsXqG4jfTkgGsCoF0v69JqSPIhCoUS5DSUPTZQ+wGWM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712493587; c=relaxed/simple; bh=Q9cI46jHROpXEcEx+2Kb3vH9QS/DAv0M67aNROrNxCU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CJ14Eq3Tq9NyiBSFIo0OR3tfjop5u19isGxsfImvY37tx11daQm+hBeUIhFIgdFGUC/FNxuPD5pOp7RYTtxKrpmRzB1e8M1CnVqLaLsU+oXe2yO5Qk24436X1Bf64HmW+peTGA5RXzPOGQQ7i1ilZ/ZSdVCVpgdaT+PIOOfpBBU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com; spf=pass smtp.mailfrom=bytedance.com; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b=MGNEoUd7; arc=none smtp.client-ip=209.85.214.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bytedance.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b="MGNEoUd7" Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1e0f0398553so34305405ad.3 for <linux-acpi@vger.kernel.org>; Sun, 07 Apr 2024 05:39:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1712493585; x=1713098385; 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=T6IuRa8hdLZMnRGRnTZb4QaetvYCU2DguTsJIRtmhQg=; b=MGNEoUd7wNQDPVp5PA2Pn3TxDvL/hksOL9qAdgLRvXbJaRBC7+Fkej2f29JGKIdySw XMzv7GHVyIOoxfWEEdtolEpVZTHwg5vnxKudk1o28uJeVq+2SpqOJO4wDIrrRFmrXcHW hn+1BeCbaNsII6cHzcNdzIwe1otkvD114KWxPCRL/0nHvwsxi1BCADd2eGdX2wBNP9AQ ewyyIcRlbYdRO+jq5fgzniydao9eFacprXZaZYyKjfVEJdWvix9UdIIPZV+Z+xp2etdu 9x/8FeYkKXKATbm31EvbgHl8m13QCc3uAkkZJew9fc2FakpZPv6zAH2dDMxgZfaUj6lK ZmtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712493585; x=1713098385; 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=T6IuRa8hdLZMnRGRnTZb4QaetvYCU2DguTsJIRtmhQg=; b=IO2g2QW4MVBBgrhO+JhKCH3DIj5smrXdkT4Jp34h0baK3NJjv6WeQEWOdOPUtRVr5y Dv6SSKwuUje8GPIB/lhzGJBzXW4OgoaEASwaGcAkTRWz/nLqXA9ZOk6ZrBMgFFl986S2 SrkrV/yo+OWqHqeeBhiQERDaUnnJbGuyc2QdV8XjXKztadK6FR3SrOWG4KDFUFJOXdVo UzUpc8rr2NtVTuCgh5wYdBsboWvaueksj2sAQm2T9ZZeDGSXnBA5YIpUrliVxRub0cC+ JMTW2z7KR77cojpDZPBP3ms0VC5aslvKytR6qa8gEwi+vFtvkOisX47/aSL2jmxuhY86 Gzmw== X-Forwarded-Encrypted: i=1; AJvYcCURm/v6Mv8bCoIto+i2TullEdoY7C2lG1oCBvF06ERZvziKNopsubSt1asHdjZ6vkUuVcH4i+Gz/lSj8jdOcaq1XJex2M5EbHPXpQ== X-Gm-Message-State: AOJu0Yz3vgKYgGcJd6ny6hNbsB9IWym+XNn4bGHMoKHM8Mjtpdt98Fmv XhaghkQlXdwTgIKE8WgNr339yVjUiyzjzJcBRAdcR5kKAt2NxScnJXhR1ru9lZo= X-Google-Smtp-Source: AGHT+IES+scM9i8kf42aC/wFRIZyb6jz0P0Ddi4JaOD3Ny9vmXFhRZbHDQ5wSOLAP8Vf/nUtTo7nbA== X-Received: by 2002:a17:902:6f08:b0:1e2:ac0e:b0c9 with SMTP id w8-20020a1709026f0800b001e2ac0eb0c9mr6349701plk.24.1712493584797; Sun, 07 Apr 2024 05:39:44 -0700 (PDT) Received: from L6YN4KR4K9.bytedance.net ([139.177.225.242]) by smtp.gmail.com with ESMTPSA id e7-20020a170902784700b001dd578121d4sm4933210pln.204.2024.04.07.05.39.41 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 07 Apr 2024 05:39:44 -0700 (PDT) From: Yunhui Cui <cuiyunhui@bytedance.com> To: rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org Cc: Yunhui Cui <cuiyunhui@bytedance.com> Subject: [PATCH 2/2] RISC-V: Select ACPI PPTT drivers Date: Sun, 7 Apr 2024 20:38:29 +0800 Message-Id: <20240407123829.36474-2-cuiyunhui@bytedance.com> X-Mailer: git-send-email 2.39.2 (Apple Git-143) In-Reply-To: <20240407123829.36474-1-cuiyunhui@bytedance.com> References: <20240407123829.36474-1-cuiyunhui@bytedance.com> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: <linux-acpi.vger.kernel.org> List-Subscribe: <mailto:linux-acpi+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-acpi+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Series |
None
|
expand
|
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 8f10a2fb5f86..cc516c12cb92 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -14,6 +14,7 @@ config RISCV def_bool y select ACPI_GENERIC_GSI if ACPI select ACPI_REDUCED_HARDWARE_ONLY if ACPI + select ACPI_PPTT if ACPI select ARCH_DMA_DEFAULT_COHERENT select ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRATION select ARCH_ENABLE_SPLIT_PMD_PTLOCK if PGTABLE_LEVELS > 2
RSIC-V currently does not have a set of registers similar to ARM64 that describe cache-related attributes. In order to make RISC-V cacheinfo normally supported by ACPI, through the optimization of pptt.c, RISC-V can build cacheinfo through the ACPI PPTT table. Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com> --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+)