]> git.itanic.dy.fi Git - linux-stable/commit
arm64: Add architecture specific ACPI FFH Opregion callbacks
authorSudeep Holla <sudeep.holla@arm.com>
Thu, 10 Nov 2022 13:45:05 +0000 (13:45 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Nov 2022 18:09:07 +0000 (19:09 +0100)
commit1d280ce099db396e092cac1aa9bf2ea8beee6d76
tree3ee185f93f7c73c7f8b9ee1ee3166652d9340574
parente81c782c16844dc758a784899c2fe5260386211b
arm64: Add architecture specific ACPI FFH Opregion callbacks

FFH Operation Region space can be used to trigger SMC or HVC calls,
using the Arm SMC Calling Convention (SMCCC). The choice of conduit
(SMC or HVC) is based on what the kernel choose based on PSCI as with
any other users of SMCCC within the kernel.

Function identifiers only in the SMCCC SiP Service, OEM Service and FF-A
specific call range are allowed in FFH Opregions.

Offset can be either 0(32 bit calling convention) or 1(64 bit calling
convention). The length must be set with the range applicable based
on the value of the offset.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm64/kernel/acpi.c