zynqmp_clear_pm_state(9)
π zynqmp_clear_pm_state π
okay so this is a page from the Kernel API Manual β yes bestie, the actual kernel docs, we're in the big leagues now π and today's main character is zynqmp_clear_pm_state.
β¨ NAME β¨
zynqmp_clear_pm_state β clears subsystem state π§Ή
β¨ SYNOPSIS β¨
int zynqmp_clear_pm_state (struct device *dev );
like, that's the whole flex. one function, one arg, no cap π
β¨ ARGUMENTS β¨
devβ device pointer, and its whole job here is logging. that's it. it's giving "I'm just here so I don't get fined" π it gets passed in, it helps with the logs, it minds its business.
β¨ DESCRIPTION β¨
so what does it actually do? it clears PM specific data in EL3 and platform firmware β¨ that's the entire vibe. PM data? cleared. in EL3? yes. in platform firmware? also yes. obsessed with the efficiency honestly π«Ά
β¨ RETURN β¨
it returns a status β either success or error β so like, check it, don't just assume it slayed π
β¨ SEE ALSO β¨
the reading list is long bestie, grab a snack π (also hi, the kernel file is ./drivers/firmware/xilinx/zynqmp.c β that's where all this lives π)
struct zynqmp_devinfo(9)struct pm_api_feature_data(9)zynqmp_pm_ret_code(9)do_fw_call_smc(9)do_fw_call_hvc(9)zynqmp_pm_feature(9)zynqmp_pm_is_function_supported(9)zynqmp_pm_invoke_fw_fn(9)zynqmp_pm_invoke_fn(9)zynqmp_pm_get_api_version(9)zynqmp_pm_get_chipid(9)zynqmp_pm_get_family_info(9)zynqmp_pm_get_sip_svc_version(9)zynqmp_pm_get_trustzone_version(9)get_set_conduit_method(9)zynqmp_pm_query_data(9)zynqmp_pm_clock_enable(9)zynqmp_pm_clock_disable(9)zynqmp_pm_clock_getstate(9)zynqmp_pm_clock_setdivider(9)zynqmp_pm_clock_getdivider(9)zynqmp_pm_clock_setparent(9)zynqmp_pm_clock_getparent(9)zynqmp_pm_set_pll_frac_mode(9)zynqmp_pm_get_pll_frac_mode(9)zynqmp_pm_set_pll_frac_data(9)zynqmp_pm_get_pll_frac_data(9)zynqmp_pm_set_sd_tapdelay(9)zynqmp_pm_sd_dll_reset(9)zynqmp_pm_ospi_mux_select(9)zynqmp_pm_write_ggs(9)zynqmp_pm_read_ggs(9)zynqmp_pm_write_pggs(9)zynqmp_pm_read_pggs(9)zynqmp_pm_set_boot_health_status(9)zynqmp_pm_reset_assert(9)zynqmp_pm_reset_get_status(9)zynqmp_pm_fpga_load(9)zynqmp_pm_fpga_get_status(9)zynqmp_pm_fpga_get_config_status(9)zynqmp_pm_pinctrl_request(9)zynqmp_pm_pinctrl_release(9)zynqmp_pm_pinctrl_set_function(9)zynqmp_pm_pinctrl_get_config(9)zynqmp_pm_pinctrl_set_config(9)zynqmp_pm_bootmode_read(9)zynqmp_pm_bootmode_write(9)zynqmp_pm_init_finalize(9)zynqmp_pm_set_suspend_mode(9)zynqmp_pm_request_node(9)zynqmp_pm_release_node(9)zynqmp_pm_get_rpu_mode(9)zynqmp_pm_set_rpu_mode(9)zynqmp_pm_set_tcm_config(9)zynqmp_pm_get_node_status(9)zynqmp_pm_get_rpu_node_status(9)zynqmp_pm_force_pwrdwn(9)zynqmp_pm_request_wake(9)zynqmp_pm_start_rpu(9)zynqmp_pm_stop_rpu(9)zynqmp_pm_set_requirement(9)zynqmp_pm_load_pdi(9)zynqmp_pm_efuse_access(9)zynqmp_pm_register_notifier(9)zynqmp_pm_system_shutdown(9)zynqmp_pm_set_feature_config(9)zynqmp_pm_get_feature_config(9)zynqmp_pm_sec_read_reg(9)zynqmp_pm_sec_mask_write_reg(9)zynqmp_pm_set_sd_config(9)zynqmp_pm_set_gem_config(9)struct zynqmp_pm_shutdown_scope(9)zynqmp_pm_is_shutdown_scope_valid(9)
fr fr that's the whole friend group and they all showed up π no one got left on read.
so yeah, that's the page π trust the return status, log through dev, and go clear that state.
mwah π
and before u go β this whole thing comes from ./drivers/firmware/xilinx, dated October 2026, and it's served under the manual name zynqmp_clear_pm_state(9) in the Kernel API Manual π¦ periodt, that's the sign-off bestie β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms