OSDN Git Service

arm64/sve: Document firmware support requirements in Kconfig
authorDave Martin <Dave.Martin@arm.com>
Fri, 23 Mar 2018 18:08:31 +0000 (18:08 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 26 Mar 2018 11:29:35 +0000 (12:29 +0100)
commit5043694eb8270a19040fb798f6d6f1dbd86c7a3c
tree519484ccbd3c7101e2e9e873506766c2181932ee
parentaf4a81b9cd847441e047f99c2a2bc113ba96b0cd
arm64/sve: Document firmware support requirements in Kconfig

Use of SVE by EL2 and below requires explicit support in the
firmware.  There is no means to hide the presence of SVE from EL2,
so a kernel configured with CONFIG_ARM64_SVE=y will typically not
work correctly on SVE capable hardware unless the firmware does
include the appropriate support.

This is not expected to pose a problem in the wild, since platform
integrators are responsible for ensuring that they ship up-to-date
firmware to support their hardware.  However, developers may hit
the issue when using mismatched compoments.

In order to draw attention to the issue and how to solve it, this
patch adds some Kconfig text giving a brief explanation and details
of compatible firmware versions.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig