From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 41A94C43334 for ; Thu, 16 Jun 2022 09:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Jxlv7dXqDthGqYtmMBGrST6ohO4klrUf0EKx91+tsJk=; b=IMd5SyCv2JZ80c qGqJNEVtUmaxKuvB4DXY1NFYm8G8nV70NRkd3hmNLQz7kzBgG0S+gheU16A11gmCjlTPNxyHm6K0O Awm9vnB+fBxPSBZRVkRIllBakr7mEmW1rBk9SF4WOtdEBMAywOq0PhB7A0+C6YdS89FIbEIWCfWXF 3ETnIk4ZB7bBfUu7Cmr7ij1hfcVl/4k+SM+KHbASOfTjQc7HlmImVANHjA1QAblkxN984qvBcJ2jc EcVMvWPZiWk2mmEXcTHyOK7EOeq8L+7vfLk1NBhSQhrU8j/WPsB/LiZ4/ammL3gZoO/8/0tg7NAyP eAUXyEtXwHv15fwI/Wdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1lNV-001WkX-CQ; Thu, 16 Jun 2022 09:01:25 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1lNQ-001Wi8-LV for linux-arm-kernel@lists.infradead.org; Thu, 16 Jun 2022 09:01:22 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 60E3712FC; Thu, 16 Jun 2022 02:01:18 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 3B9D03F7F5; Thu, 16 Jun 2022 02:01:17 -0700 (PDT) From: Sudeep Holla To: linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Sudeep Holla , "Rafael J . Wysocki" , Lorenzo Pieralisi , Catalin Marinas , Will Deacon Subject: [PATCH 0/3] ACPI: Implement FFH OpRegion support Date: Thu, 16 Jun 2022 10:01:03 +0100 Message-Id: <20220616090106.2154906-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220616_020120_791090_FD682E00 X-CRM114-Status: GOOD ( 12.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, This short series adds supports for ACPI Fixed Function Hardware(FFH) based Opregion that is being added(via Code First approach[1]) to ACPI v6.5 The first patch added ACPICA support for the same and must be routed via ACPICA project into the kernel and is part of the series just for the reference. The pull request is already sent there[2]. The second patch added a generic FFH OpRegion handler. Since handling of FFH OpRegion is very platform and the generic handlers just call the platform/ architecture specific callbacks for all the work. The last patch added the ARM64 specific callback which handles FFH OpRegion using arch specific SMC/HVC instructions using SMCCC. The specification can be found at [3]. [1] https://bugzilla.tianocore.org/show_bug.cgi?id=3598 [2] https://github.com/acpica/acpica/pull/782 [3] https://developer.arm.com/docs/den0048/latest Cc: Catalin Marinas Cc: Will Deacon Sudeep Holla (3): ACPICA: Add support for FFH Opregion special context data ACPI: Implement a generic FFH Opregion handler arm64: Add architecture specific ACPI FFH Opregion callbacks arch/arm64/kernel/acpi.c | 104 +++++++++++++++++++++++++++++++++ drivers/acpi/Kconfig | 10 ++++ drivers/acpi/Makefile | 1 + drivers/acpi/acpi_ffh.c | 55 +++++++++++++++++ drivers/acpi/acpica/evregion.c | 8 +++ drivers/acpi/acpica/exfield.c | 8 ++- drivers/acpi/acpica/exserial.c | 6 ++ drivers/acpi/bus.c | 6 ++ include/acpi/acconfig.h | 2 + include/acpi/actypes.h | 7 +++ include/linux/acpi.h | 7 +++ 11 files changed, 212 insertions(+), 2 deletions(-) create mode 100644 drivers/acpi/acpi_ffh.c -- 2.36.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel