From: Raul E Rangel <rrangel@chromium.org>
To: linux-acpi@vger.kernel.org
Cc: Raul E Rangel <rrangel@chromium.org>,
Erik Kaneda <erik.kaneda@intel.com>, Len Brown <lenb@kernel.org>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
Robert Moore <robert.moore@intel.com>,
devel@acpica.org, linux-kernel@vger.kernel.org
Subject: [PATCH] ACPI: Increase ACPI_MAX_HANDLES
Date: Tue, 18 May 2021 16:20:39 -0600 [thread overview]
Message-ID: <20210518162034.1.I7db737fa0a8e7da8247a1a614633bc0fc6455a00@changeid> (raw)
acpi_handle_list is used to store the references returned by
ThermalZone._PSL. With processors supporting Hyper-threading and more
cores, the previous limit is not enough for common cases. If _PSL
returns more than the limit, the passive thermal threshold fails to
initialize.
This change increase the limit to 32, so we can support at least 16 core
CPUs with Hyper-threads.
I acknowledge that this change is just kicking the can down the road.
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
---
include/acpi/acpi_bus.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 37dac195adbb..fdce8e7c4718 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -13,7 +13,7 @@
#include <linux/property.h>
/* TBD: Make dynamic */
-#define ACPI_MAX_HANDLES 10
+#define ACPI_MAX_HANDLES 32
struct acpi_handle_list {
u32 count;
acpi_handle handles[ACPI_MAX_HANDLES];
--
2.31.1.751.gd2f1c929bd-goog
reply other threads:[~2021-05-18 22:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210518162034.1.I7db737fa0a8e7da8247a1a614633bc0fc6455a00@changeid \
--to=rrangel@chromium.org \
--cc=devel@acpica.org \
--cc=erik.kaneda@intel.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=robert.moore@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.