firmware: xilinx: Add sysfs to set shutdown scope
The Linux shutdown functionality implemented via PSCI system_off does not include an option to set a scope, i.e. which parts of the system to shut down. This patch creates sysfs that allows to set the shutdown scope for the next shutdown request. When the next shutdown is performed, the platform specific portion of PSCI-system_off can use the chosen shutdown scope. Signed-off-by: NRajan Vaja <rajan.vaja@xilinx.com> Signed-off-by: NStefan Krsmanovic <stefan.krsmanovic@aggios.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Signed-off-by: NTejas Patel <tejas.patel@xilinx.com> Signed-off-by: NJolly Shah <jolly.shah@xilinx.com> Link: https://lore.kernel.org/r/1587761887-4279-25-git-send-email-jolly.shah@xilinx.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录