From: Ali Saidi <alisaidi@amazon.com>
To: <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-crypto@vger.kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will.deacon@arm.com>, Matt Mackall <mpm@selenic.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
Arnd Bergmann <arnd@arndb.de>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
Ali Saidi <alisaidi@amazon.com>,
Ron Rindjunsky <ronrindj@amazon.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
David Woodhouse <dwmw@amazon.co.uk>
Subject: [PATCH 2/3] arm64: export acpi_psci_use_hvc
Date: Tue, 4 Jun 2019 20:30:59 +0000 [thread overview]
Message-ID: <20190604203100.15050-3-alisaidi@amazon.com> (raw)
In-Reply-To: <20190604203100.15050-1-alisaidi@amazon.com>
Allow a module that wants to make SMC calls to detect if it should be
using smc or hvc.
Signed-off-by: Ali Saidi <alisaidi@amazon.com>
---
arch/arm64/kernel/acpi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64/kernel/acpi.c
index 803f0494dd3e..ea41c6541d3c 100644
--- a/arch/arm64/kernel/acpi.c
+++ b/arch/arm64/kernel/acpi.c
@@ -119,6 +119,7 @@ bool acpi_psci_use_hvc(void)
{
return acpi_gbl_FADT.arm_boot_flags & ACPI_FADT_PSCI_USE_HVC;
}
+EXPORT_SYMBOL_GPL(acpi_psci_use_hvc);
/*
* acpi_fadt_sanity_check() - Check FADT presence and carry out sanity
--
2.15.3.AMZN
next prev parent reply other threads:[~2019-06-04 20:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-04 20:30 [PATCH 0/3] Add support for Graviton TRNG Ali Saidi
2019-06-04 20:30 ` [PATCH 1/3] arm/arm64: Add smccc hypervisor service identifiers Ali Saidi
2019-06-04 20:30 ` Ali Saidi [this message]
2019-06-05 9:40 ` [PATCH 2/3] arm64: export acpi_psci_use_hvc Sudeep Holla
2019-06-05 10:38 ` Mark Rutland
2019-06-05 11:02 ` Sudeep Holla
2019-06-05 16:07 ` Saidi, Ali
2019-06-04 20:31 ` [PATCH 3/3] hwrng: Add support for AWS Graviton TRNG Ali Saidi
2019-06-05 12:20 ` [PATCH 0/3] Add support for " Will Deacon
2019-06-07 12:58 ` Saidi, Ali
2019-06-28 18:05 ` Saidi, Ali
2019-07-01 8:28 ` Will Deacon
2019-07-01 17:02 ` Will Deacon
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=20190604203100.15050-3-alisaidi@amazon.com \
--to=alisaidi@amazon.com \
--cc=arnd@arndb.de \
--cc=benh@kernel.crashing.org \
--cc=catalin.marinas@arm.com \
--cc=dwmw@amazon.co.uk \
--cc=gregkh@linuxfoundation.org \
--cc=herbert@gondor.apana.org.au \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
--cc=ronrindj@amazon.com \
--cc=will.deacon@arm.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;
as well as URLs for NNTP newsgroup(s).