From: Erik Kaneda <erik.kaneda@intel.com>
To: "Rafael J . Wysocki" <rafael@kernel.org>,
ACPI Devel Maling List <linux-acpi@vger.kernel.org>
Cc: Erik Kaneda <erik.kaneda@intel.com>
Subject: [PATCH v3 4/4] ACPI: Add \_SB._OSC bit for PRM
Date: Mon, 22 Mar 2021 15:37:07 -0700 [thread overview]
Message-ID: <20210322223707.1838823-5-erik.kaneda@intel.com> (raw)
In-Reply-To: <20210322223707.1838823-1-erik.kaneda@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
---
drivers/acpi/bus.c | 1 +
include/linux/acpi.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index 3484497923d5..e8119a9eca28 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -305,6 +305,7 @@ static void acpi_bus_osc_negotiate_platform_control(void)
capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_HOTPLUG_OST_SUPPORT;
capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PCLPI_SUPPORT;
+ capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PRM_SUPPORT;
#ifdef CONFIG_ARM64
capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_GENERIC_INITIATOR_SUPPORT;
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 6868b342cdc3..fc50d2202446 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -547,6 +547,7 @@ acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context);
#define OSC_SB_OSLPI_SUPPORT 0x00000100
#define OSC_SB_CPC_DIVERSE_HIGH_SUPPORT 0x00001000
#define OSC_SB_GENERIC_INITIATOR_SUPPORT 0x00002000
+#define OSC_SB_PRM_SUPPORT 0x00020000
#define OSC_SB_NATIVE_USB4_SUPPORT 0x00040000
extern bool osc_sb_apei_support_acked;
--
2.29.2
prev parent reply other threads:[~2021-03-22 23:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-22 22:37 [PATCH v3 0/4] Implement Platform Runtime Mechanism plumbing Erik Kaneda
2021-03-22 22:37 ` [PATCH v3 1/4] ACPICA: iASL: add disassembler support for PRMT Erik Kaneda
2021-03-22 22:37 ` [PATCH v3 2/4] ACPICA: Add support for PlatformRtMechanism OperationRegion handler Erik Kaneda
2021-03-22 22:37 ` [PATCH v3 3/4] PRM: implement OperationRegion handler for the PlatformRtMechanism subtype Erik Kaneda
2021-06-09 14:56 ` Rafael J. Wysocki
2021-03-22 22:37 ` Erik Kaneda [this message]
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=20210322223707.1838823-5-erik.kaneda@intel.com \
--to=erik.kaneda@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=rafael@kernel.org \
/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.