From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Linux ACPI <linux-acpi@vger.kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Bob Moore <robert.moore@intel.com>,
Saket Dumbre <saket.dumbre@intel.com>
Subject: [PATCH v1 11/12] ACPICA: events/evgpeinit: don't forget to increment registered GPE count
Date: Fri, 12 Apr 2024 17:12:21 +0200 [thread overview]
Message-ID: <8409590.NyiUUSuA9g@kreacher> (raw)
In-Reply-To: <4920972.31r3eYUQgx@kreacher>
From: Daniil Tatianin <99danilt@gmail.com>
ACPICA commit ba8a36b5c7343cb56af6b331362e97b25e898eb2
This was used to log the number of newly discovered GPEs post table
load in acpi_ev_update_gpes(), but we never incremented the number inside
acpi_ev_match_gpe_method(), so that was never logged.
Link: https://github.com/acpica/acpica/commit/ba8a36b5
Signed-off-by: Daniil Tatianin <99danilt@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
drivers/acpi/acpica/evgpeinit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/acpi/acpica/evgpeinit.c b/drivers/acpi/acpica/evgpeinit.c
index 0dbc4d88919a..38f408cf13ce 100644
--- a/drivers/acpi/acpica/evgpeinit.c
+++ b/drivers/acpi/acpica/evgpeinit.c
@@ -413,6 +413,7 @@ acpi_ev_match_gpe_method(acpi_handle obj_handle,
gpe_event_info->flags &= ~(ACPI_GPE_DISPATCH_MASK);
gpe_event_info->flags |= (u8)(type | ACPI_GPE_DISPATCH_METHOD);
gpe_event_info->dispatch.method_node = method_node;
+ walk_info->count++;
ACPI_DEBUG_PRINT((ACPI_DB_LOAD,
"Registered GPE method %s as GPE number 0x%.2X\n",
--
2.35.3
next prev parent reply other threads:[~2024-04-12 15:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-12 15:03 [PATCH v1 00/12] ACPICA: ACPICA 20240322 Rafael J. Wysocki
2024-04-12 15:04 ` [PATCH v1 01/12] ACPICA: actbl1.h: Add EINJ CXL error types Rafael J. Wysocki
2024-04-12 15:05 ` [PATCH v1 02/12] ACPICA: ACPI 6.5: RAS2: Add support for RAS2 table Rafael J. Wysocki
2024-04-12 15:05 ` [PATCH v1 03/12] ACPICA: Attempt 1 to fix issue #900 Rafael J. Wysocki
2024-04-12 15:06 ` [PATCH v1 04/12] ACPICA: Fix various spelling mistakes in text files and code comments Rafael J. Wysocki
2024-04-12 15:07 ` [PATCH v1 05/12] ACPICA: Clean up the fix for Issue #900 Rafael J. Wysocki
2024-04-12 15:07 ` [PATCH v1 06/12] ACPICA: Fix spelling and typos Rafael J. Wysocki
2024-04-12 15:08 ` [PATCH v1 07/12] ACPICA: Modify ACPI_OBJECT_COMMON_HEADER Rafael J. Wysocki
2024-04-12 15:09 ` [PATCH v1 08/12] ACPICA: SRAT: Add RISC-V RINTC affinity structure Rafael J. Wysocki
2024-04-12 15:10 ` [PATCH v1 09/12] ACPICA: SRAT: Add dump and compiler support for " Rafael J. Wysocki
2024-04-12 15:11 ` [PATCH v1 10/12] ACPICA: Fix CXL 3.0 structure (RDPAS) in the CEDT table Rafael J. Wysocki
2024-04-12 15:12 ` Rafael J. Wysocki [this message]
2024-04-12 15:13 ` [PATCH v1 12/12] ACPICA: Update acpixf.h for new ACPICA release 20240322 Rafael J. Wysocki
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=8409590.NyiUUSuA9g@kreacher \
--to=rjw@rjwysocki.net \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robert.moore@intel.com \
--cc=saket.dumbre@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox