€•A$Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ1/translations/zh_CN/userspace-api/fwctl/pds_fwctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ1/translations/zh_TW/userspace-api/fwctl/pds_fwctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ1/translations/it_IT/userspace-api/fwctl/pds_fwctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ1/translations/ja_JP/userspace-api/fwctl/pds_fwctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ1/translations/ko_KR/userspace-api/fwctl/pds_fwctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ1/translations/sp_SP/userspace-api/fwctl/pds_fwctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…””}”hh£sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1h¡hhhžhhŸŒK/var/lib/git/docbuild/linux/Documentation/userspace-api/fwctl/pds_fwctl.rst”h KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒfwctl pds driver”h]”hŒfwctl pds driver”…””}”(hh»hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hh¶hžhhŸh³h KubhŒ field_list”“”)”}”(hhh]”hŒfield”“”)”}”(hhh]”(hŒ field_name”“”)”}”(hŒAuthor”h]”hŒAuthor”…””}”(hhÕhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÓhhÐhŸh³h KubhŒ field_body”“”)”}”(hŒShannon Nelson ”h]”hŒ paragraph”“”)”}”(hŒShannon Nelson”h]”hŒShannon Nelson”…””}”(hhëhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h Khhåubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhhÐubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÎhŸh³h KhhËhžhubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhh¶hžhhŸh³h Kubhµ)”}”(hhh]”(hº)”}”(hŒOverview”h]”hŒOverview”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hj hžhhŸh³h K ubhê)”}”(hXZThe PDS Core device makes a fwctl service available through an auxiliary_device named pds_core.fwctl.N. The pds_fwctl driver binds to this device and registers itself with the fwctl subsystem. The resulting userspace interface is used by an application that is a part of the AMD Pensando software package for the Distributed Service Card (DSC).”h]”hXZThe PDS Core device makes a fwctl service available through an auxiliary_device named pds_core.fwctl.N. The pds_fwctl driver binds to this device and registers itself with the fwctl subsystem. The resulting userspace interface is used by an application that is a part of the AMD Pensando software package for the Distributed Service Card (DSC).”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h K hj hžhubhê)”}”(hX\The pds_fwctl driver has little knowledge of the firmware's internals. It only knows how to send commands through pds_core's message queue to the firmware for fwctl requests. The set of fwctl operations available depends on the firmware in the DSC, and the userspace application version must match the firmware so that they can talk to each other.”h]”hX`The pds_fwctl driver has little knowledge of the firmware’s internals. It only knows how to send commands through pds_core’s message queue to the firmware for fwctl requests. The set of fwctl operations available depends on the firmware in the DSC, and the userspace application version must match the firmware so that they can talk to each other.”…””}”(hj*hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h Khj hžhubhê)”}”(hŒÃWhen a connection is created the pds_fwctl driver requests from the firmware a list of firmware object endpoints, and for each endpoint the driver requests a list of operations for that endpoint.”h]”hŒÃWhen a connection is created the pds_fwctl driver requests from the firmware a list of firmware object endpoints, and for each endpoint the driver requests a list of operations for that endpoint.”…””}”(hj8hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h Khj hžhubhê)”}”(hŒõEach operation description includes a firmware defined command attribute that maps to the FWCTL scope levels. The driver translates those firmware values into the FWCTL scope values which can then be used for filtering the scoped user requests.”h]”hŒõEach operation description includes a firmware defined command attribute that maps to the FWCTL scope levels. The driver translates those firmware values into the FWCTL scope values which can then be used for filtering the scoped user requests.”…””}”(hjFhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h Khj hžhubeh}”(h]”Œoverview”ah ]”h"]”Œoverview”ah$]”h&]”uh1h´hh¶hžhhŸh³h K ubhµ)”}”(hhh]”(hº)”}”(hŒpds_fwctl User API”h]”hŒpds_fwctl User API”…””}”(hj_hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hj\hžhhŸh³h K"ubhê)”}”(hX¦Each RPC request includes the target endpoint and the operation id, and in and out buffer lengths and pointers. The driver verifies the existence of the requested endpoint and operations, then checks the request scope against the required scope of the operation. The request is then put together with the request data and sent through pds_core's message queue to the firmware, and the results are returned to the caller.”h]”hX¨Each RPC request includes the target endpoint and the operation id, and in and out buffer lengths and pointers. The driver verifies the existence of the requested endpoint and operations, then checks the request scope against the required scope of the operation. The request is then put together with the request data and sent through pds_core’s message queue to the firmware, and the results are returned to the caller.”…””}”(hjmhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h K$hj\hžhubhê)”}”(hŒðThe RPC endpoints, operations, and buffer contents are defined by the particular firmware package in the device, which varies across the available product configurations. The details are available in the specific product SDK documentation.”h]”hŒðThe RPC endpoints, operations, and buffer contents are defined by the particular firmware package in the device, which varies across the available product configurations. The details are available in the specific product SDK documentation.”…””}”(hj{hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h K+hj\hžhubeh}”(h]”Œpds-fwctl-user-api”ah ]”h"]”Œpds_fwctl user api”ah$]”h&]”uh1h´hh¶hžhhŸh³h K"ubeh}”(h]”Œfwctl-pds-driver”ah ]”h"]”Œfwctl pds driver”ah$]”h&]”uh1h´hhhžhhŸh³h Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”h³uh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(h¹NŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j¼Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”h³Œ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(j–j“jYjVjŽj‹uŒ nametypes”}”(j–‰jY‰jމuh}”(j“h¶jVj j‹j\uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.