€•Ó7Œ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”Œ)/translations/zh_CN/virt/kvm/devices/mpic”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/zh_TW/virt/kvm/devices/mpic”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/it_IT/virt/kvm/devices/mpic”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/ja_JP/virt/kvm/devices/mpic”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/ko_KR/virt/kvm/devices/mpic”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/sp_SP/virt/kvm/devices/mpic”Œ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ŸŒC/var/lib/git/docbuild/linux/Documentation/virt/kvm/devices/mpic.rst”h KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒMPIC interrupt controller”h]”hŒMPIC interrupt controller”…””}”(hh»hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hh¶hžhhŸh³h KubhŒ paragraph”“”)”}”(hŒDevice types supported:”h]”hŒDevice types supported:”…””}”(hhËhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khh¶hžhubhŒ block_quote”“”)”}”(hŒf- KVM_DEV_TYPE_FSL_MPIC_20 Freescale MPIC v2.0 - KVM_DEV_TYPE_FSL_MPIC_42 Freescale MPIC v4.2 ”h]”hŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒ0KVM_DEV_TYPE_FSL_MPIC_20 Freescale MPIC v2.0”h]”hÊ)”}”(hhèh]”hŒ0KVM_DEV_TYPE_FSL_MPIC_20 Freescale MPIC v2.0”…””}”(hhêhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K hhæubah}”(h]”h ]”h"]”h$]”h&]”uh1hähháubhå)”}”(hŒ1KVM_DEV_TYPE_FSL_MPIC_42 Freescale MPIC v4.2 ”h]”hÊ)”}”(hŒ0KVM_DEV_TYPE_FSL_MPIC_42 Freescale MPIC v4.2”h]”hŒ0KVM_DEV_TYPE_FSL_MPIC_42 Freescale MPIC v4.2”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K hhýubah}”(h]”h ]”h"]”h$]”h&]”uh1hähháubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1hßhŸh³h K hhÛubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙhŸh³h K hh¶hžhubhÊ)”}”(hŒ¤Only one MPIC instance, of any type, may be instantiated. The created MPIC will act as the system interrupt controller, connecting to each vcpu's interrupt inputs.”h]”hŒ¦Only one MPIC instance, of any type, may be instantiated. The created MPIC will act as the system interrupt controller, connecting to each vcpu’s interrupt inputs.”…””}”(hj#hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K hh¶hžhubhŒdefinition_list”“”)”}”(hhh]”hŒdefinition_list_item”“”)”}”(hXùGroups: KVM_DEV_MPIC_GRP_MISC Attributes: KVM_DEV_MPIC_BASE_ADDR (rw, 64-bit) Base address of the 256 KiB MPIC register space. Must be naturally aligned. A value of zero disables the mapping. Reset value is zero. KVM_DEV_MPIC_GRP_REGISTER (rw, 32-bit) Access an MPIC register, as if the access were made from the guest. "attr" is the byte offset into the MPIC register space. Accesses must be 4-byte aligned. MSIs may be signaled by using this attribute group to write to the relevant MSIIR. KVM_DEV_MPIC_GRP_IRQ_ACTIVE (rw, 32-bit) IRQ input line for each standard openpic source. 0 is inactive and 1 is active, regardless of interrupt sense. For edge-triggered interrupts: Writing 1 is considered an activating edge, and writing 0 is ignored. Reading returns 1 if a previously signaled edge has not been acknowledged, and 0 otherwise. "attr" is the IRQ number. IRQ numbers for standard sources are the byte offset of the relevant IVPR from EIVPR0, divided by 32. ”h]”(hŒterm”“”)”}”(hŒGroups:”h]”hŒGroups:”…””}”(hj>hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hŸh³h K*hj8ubhŒ definition”“”)”}”(hhh]”j2)”}”(hhh]”(j7)”}”(hŒÚKVM_DEV_MPIC_GRP_MISC Attributes: KVM_DEV_MPIC_BASE_ADDR (rw, 64-bit) Base address of the 256 KiB MPIC register space. Must be naturally aligned. A value of zero disables the mapping. Reset value is zero. ”h]”(j=)”}”(hŒKVM_DEV_MPIC_GRP_MISC”h]”hŒKVM_DEV_MPIC_GRP_MISC”…””}”(hjXhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hŸh³h KhjTubjM)”}”(hhh]”(hÊ)”}”(hŒ Attributes:”h]”hŒ Attributes:”…””}”(hjihžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KhjfubhÚ)”}”(hŒ³KVM_DEV_MPIC_BASE_ADDR (rw, 64-bit) Base address of the 256 KiB MPIC register space. Must be naturally aligned. A value of zero disables the mapping. Reset value is zero. ”h]”j2)”}”(hhh]”j7)”}”(hŒ­KVM_DEV_MPIC_BASE_ADDR (rw, 64-bit) Base address of the 256 KiB MPIC register space. Must be naturally aligned. A value of zero disables the mapping. Reset value is zero. ”h]”(j=)”}”(hŒ#KVM_DEV_MPIC_BASE_ADDR (rw, 64-bit)”h]”hŒ#KVM_DEV_MPIC_BASE_ADDR (rw, 64-bit)”…””}”(hj‚hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hŸh³h Khj~ubjM)”}”(hhh]”hÊ)”}”(hŒˆBase address of the 256 KiB MPIC register space. Must be naturally aligned. A value of zero disables the mapping. Reset value is zero.”h]”hŒˆBase address of the 256 KiB MPIC register space. Must be naturally aligned. A value of zero disables the mapping. Reset value is zero.”…””}”(hj“hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jLhj~ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j6hŸh³h Khj{ubah}”(h]”h ]”h"]”h$]”h&]”uh1j1hjwubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙhŸh³h Khjfubeh}”(h]”h ]”h"]”h$]”h&]”uh1jLhjTubeh}”(h]”h ]”h"]”h$]”h&]”uh1j6hŸh³h KhjQubj7)”}”(hXKVM_DEV_MPIC_GRP_REGISTER (rw, 32-bit) Access an MPIC register, as if the access were made from the guest. "attr" is the byte offset into the MPIC register space. Accesses must be 4-byte aligned. MSIs may be signaled by using this attribute group to write to the relevant MSIIR. ”h]”(j=)”}”(hŒ&KVM_DEV_MPIC_GRP_REGISTER (rw, 32-bit)”h]”hŒ&KVM_DEV_MPIC_GRP_REGISTER (rw, 32-bit)”…””}”(hjÉhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hŸh³h KhjÅubjM)”}”(hhh]”(hÊ)”}”(hŒAccess an MPIC register, as if the access were made from the guest. "attr" is the byte offset into the MPIC register space. Accesses must be 4-byte aligned.”h]”hŒ¡Access an MPIC register, as if the access were made from the guest. “attr†is the byte offset into the MPIC register space. Accesses must be 4-byte aligned.”…””}”(hjÚhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khj×ubhÊ)”}”(hŒRMSIs may be signaled by using this attribute group to write to the relevant MSIIR.”h]”hŒRMSIs may be signaled by using this attribute group to write to the relevant MSIIR.”…””}”(hjèhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khj×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jLhjÅubeh}”(h]”h ]”h"]”h$]”h&]”uh1j6hŸh³h KhjQubj7)”}”(hXßKVM_DEV_MPIC_GRP_IRQ_ACTIVE (rw, 32-bit) IRQ input line for each standard openpic source. 0 is inactive and 1 is active, regardless of interrupt sense. For edge-triggered interrupts: Writing 1 is considered an activating edge, and writing 0 is ignored. Reading returns 1 if a previously signaled edge has not been acknowledged, and 0 otherwise. "attr" is the IRQ number. IRQ numbers for standard sources are the byte offset of the relevant IVPR from EIVPR0, divided by 32. ”h]”(j=)”}”(hŒ(KVM_DEV_MPIC_GRP_IRQ_ACTIVE (rw, 32-bit)”h]”hŒ(KVM_DEV_MPIC_GRP_IRQ_ACTIVE (rw, 32-bit)”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hŸh³h K*hjubjM)”}”(hhh]”(hÊ)”}”(hŒoIRQ input line for each standard openpic source. 0 is inactive and 1 is active, regardless of interrupt sense.”h]”hŒoIRQ input line for each standard openpic source. 0 is inactive and 1 is active, regardless of interrupt sense.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K"hjubhÊ)”}”(hŒÂFor edge-triggered interrupts: Writing 1 is considered an activating edge, and writing 0 is ignored. Reading returns 1 if a previously signaled edge has not been acknowledged, and 0 otherwise.”h]”hŒÂFor edge-triggered interrupts: Writing 1 is considered an activating edge, and writing 0 is ignored. Reading returns 1 if a previously signaled edge has not been acknowledged, and 0 otherwise.”…””}”(hj%hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K%hjubhÊ)”}”(hŒ€"attr" is the IRQ number. IRQ numbers for standard sources are the byte offset of the relevant IVPR from EIVPR0, divided by 32.”h]”hŒ„“attr†is the IRQ number. IRQ numbers for standard sources are the byte offset of the relevant IVPR from EIVPR0, divided by 32.”…””}”(hj3hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K)hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jLhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j6hŸh³h K*hjQubeh}”(h]”h ]”h"]”h$]”h&]”uh1j1hjNubah}”(h]”h ]”h"]”h$]”h&]”uh1jLhj8ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j6hŸh³h K*hj3ubah}”(h]”h ]”h"]”h$]”h&]”uh1j1hh¶hžhhŸNh NubhÊ)”}”(hŒ IRQ Routing:”h]”hŒ IRQ Routing:”…””}”(hjehžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K,hh¶hžhubhÚ)”}”(hX[The MPIC emulation supports IRQ routing. Only a single MPIC device can be instantiated. Once that device has been created, it's available as irqchip id 0. This irqchip 0 has 256 interrupt pins, which expose the interrupts in the main array of interrupt sources (a.k.a. "SRC" interrupts). The numbering is the same as the MPIC device tree binding -- based on the register offset from the beginning of the sources array, without regard to any subdivisions in chip documentation such as "internal" or "external" interrupts. Access to non-SRC interrupts is not implemented through IRQ routing mechanisms.”h]”(hÊ)”}”(hŒšThe MPIC emulation supports IRQ routing. Only a single MPIC device can be instantiated. Once that device has been created, it's available as irqchip id 0.”h]”hŒœThe MPIC emulation supports IRQ routing. Only a single MPIC device can be instantiated. Once that device has been created, it’s available as irqchip id 0.”…””}”(hjwhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K.hjsubhÊ)”}”(hŒ„This irqchip 0 has 256 interrupt pins, which expose the interrupts in the main array of interrupt sources (a.k.a. "SRC" interrupts).”h]”hŒˆThis irqchip 0 has 256 interrupt pins, which expose the interrupts in the main array of interrupt sources (a.k.a. “SRC†interrupts).”…””}”(hj…hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K2hjsubhÊ)”}”(hŒèThe numbering is the same as the MPIC device tree binding -- based on the register offset from the beginning of the sources array, without regard to any subdivisions in chip documentation such as "internal" or "external" interrupts.”h]”hŒðThe numbering is the same as the MPIC device tree binding -- based on the register offset from the beginning of the sources array, without regard to any subdivisions in chip documentation such as “internal†or “external†interrupts.”…””}”(hj“hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K5hjsubhÊ)”}”(hŒOAccess to non-SRC interrupts is not implemented through IRQ routing mechanisms.”h]”hŒOAccess to non-SRC interrupts is not implemented through IRQ routing mechanisms.”…””}”(hj¡hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K:hjsubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙhŸh³h K.hh¶hžhubeh}”(h]”Œmpic-interrupt-controller”ah ]”h"]”Œmpic interrupt controller”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·sŒ nametypes”}”jº‰sh}”j·h¶sŒ 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.