dpll: extend uapi by lock status error attribute
authorJiri Pirko <jiri@nvidia.com>
Tue, 30 Jan 2024 12:08:29 +0000 (13:08 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 1 Feb 2024 14:39:44 +0000 (15:39 +0100)
commitcf4f0f1e1c465da7c1f6bc89c3ff50bf42f0ab02
treeeb616f7e436f544aca224de19319fd40f8e913d7
parent644c64318de0df5f4ea9f00e4b8cc262b343a93f
dpll: extend uapi by lock status error attribute

If the dpll devices goes to state "unlocked" or "holdover", it may be
caused by an error. In that case, allow user to see what the error was.
Introduce a new attribute and values it can carry.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Acked-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Documentation/netlink/specs/dpll.yaml
include/uapi/linux/dpll.h