/openbmc/qemu/hw/vfio/ |
H A D | common.c | 243 static bool vfio_listener_skipped_section(MemoryRegionSection *section) in vfio_listener_skipped_section() argument 245 return (!memory_region_is_ram(section->mr) && in vfio_listener_skipped_section() 246 !memory_region_is_iommu(section->mr)) || in vfio_listener_skipped_section() 247 memory_region_is_protected(section->mr) || in vfio_listener_skipped_section() 254 section->offset_within_address_space & (1ULL << 63); in vfio_listener_skipped_section() 348 MemoryRegionSection *section) in vfio_ram_discard_notify_discard() argument 353 const hwaddr size = int128_get64(section->size); in vfio_ram_discard_notify_discard() 354 const hwaddr iova = section->offset_within_address_space; in vfio_ram_discard_notify_discard() 366 MemoryRegionSection *section) in vfio_ram_discard_notify_populate() argument 371 const hwaddr end = section->offset_within_region + in vfio_ram_discard_notify_populate() [all …]
|
H A D | spapr.c | 35 static bool vfio_prereg_listener_skipped_section(MemoryRegionSection *section) in vfio_prereg_listener_skipped_section() argument 37 if (memory_region_is_iommu(section->mr)) { in vfio_prereg_listener_skipped_section() 41 return !memory_region_is_ram(section->mr) || in vfio_prereg_listener_skipped_section() 42 memory_region_is_ram_device(section->mr); in vfio_prereg_listener_skipped_section() 45 static void *vfio_prereg_gpa_to_vaddr(MemoryRegionSection *section, hwaddr gpa) in vfio_prereg_gpa_to_vaddr() argument 47 return memory_region_get_ram_ptr(section->mr) + in vfio_prereg_gpa_to_vaddr() 48 section->offset_within_region + in vfio_prereg_gpa_to_vaddr() 49 (gpa - section->offset_within_address_space); in vfio_prereg_gpa_to_vaddr() 53 MemoryRegionSection *section) in vfio_prereg_listener_region_add() argument 59 const hwaddr gpa = section->offset_within_address_space; in vfio_prereg_listener_region_add() [all …]
|
/openbmc/u-boot/arch/arm/lib/ |
H A D | sections.c | 21 char __bss_start[0] __attribute__((section(".__bss_start"))); 22 char __bss_end[0] __attribute__((section(".__bss_end"))); 23 char __image_copy_start[0] __attribute__((section(".__image_copy_start"))); 24 char __image_copy_end[0] __attribute__((section(".__image_copy_end"))); 25 char __rel_dyn_start[0] __attribute__((section(".__rel_dyn_start"))); 26 char __rel_dyn_end[0] __attribute__((section(".__rel_dyn_end"))); 27 char __secure_start[0] __attribute__((section(".__secure_start"))); 28 char __secure_end[0] __attribute__((section(".__secure_end"))); 29 char __secure_stack_start[0] __attribute__((section(".__secure_stack_start"))); 30 char __secure_stack_end[0] __attribute__((section(".__secure_stack_end"))); [all …]
|
/openbmc/libcper/ |
H A D | meson.build | 34 'sections/cper-section-ampere.c', 35 'sections/cper-section-arm.c', 36 'sections/cper-section-ccix-per.c', 37 'sections/cper-section-cxl-component.c', 38 'sections/cper-section-cxl-protocol.c', 39 'sections/cper-section-dmar-generic.c', 40 'sections/cper-section-dmar-iommu.c', 41 'sections/cper-section-dmar-vtd.c', 42 'sections/cper-section-firmware.c', 43 'sections/cper-section-generic.c', [all …]
|
/openbmc/libcper/sections/ |
H A D | cper-section-memory.c | 14 json_object *cper_section_platform_memory_to_ir(void *section) in cper_section_platform_memory_to_ir() argument 17 (EFI_PLATFORM_MEMORY_ERROR_DATA *)section; in cper_section_platform_memory_to_ir() 169 json_object *cper_section_platform_memory2_to_ir(void *section) in cper_section_platform_memory2_to_ir() argument 172 (EFI_PLATFORM_MEMORY2_ERROR_DATA *)section; in cper_section_platform_memory2_to_ir() 321 void ir_section_memory_to_cper(json_object *section, FILE *out) in ir_section_memory_to_cper() argument 331 if (json_object_object_get_ex(section, "errorStatus", &obj)) { in ir_section_memory_to_cper() 338 if (json_object_object_get_ex(section, "bank", &obj)) { in ir_section_memory_to_cper() 358 if (json_object_object_get_ex(section, "extended", &obj)) { in ir_section_memory_to_cper() 376 if (json_object_object_get_ex(section, "memoryErrorType", &obj)) { in ir_section_memory_to_cper() 380 if (json_object_object_get_ex(section, "physicalAddress", &obj)) { in ir_section_memory_to_cper() [all …]
|
H A D | cper-section-dmar-vtd.c | 16 json_object *cper_section_dmar_vtd_to_ir(void *section) in cper_section_dmar_vtd_to_ir() argument 19 (EFI_DIRECTED_IO_DMAR_ERROR_DATA *)section; in cper_section_dmar_vtd_to_ir() 125 void ir_section_dmar_vtd_to_cper(json_object *section, FILE *out) in ir_section_dmar_vtd_to_cper() argument 133 json_object_object_get(section, "oemID")); in ir_section_dmar_vtd_to_cper() 140 json_object_object_get(section, "version")); in ir_section_dmar_vtd_to_cper() 142 json_object_object_get(section, "revision")); in ir_section_dmar_vtd_to_cper() 144 json_object_object_get(section, "capabilityRegister")); in ir_section_dmar_vtd_to_cper() 146 json_object_object_get(section, "extendedCapabilityRegister")); in ir_section_dmar_vtd_to_cper() 148 json_object_object_get(section, "globalCommandRegister")); in ir_section_dmar_vtd_to_cper() 150 json_object_object_get(section, "globalStatusRegister")); in ir_section_dmar_vtd_to_cper() [all …]
|
H A D | cper-section-dmar-iommu.c | 16 json_object *cper_section_dmar_iommu_to_ir(void *section) in cper_section_dmar_iommu_to_ir() argument 19 (EFI_IOMMU_DMAR_ERROR_DATA *)section; in cper_section_dmar_iommu_to_ir() 80 void ir_section_dmar_iommu_to_cper(json_object *section, FILE *out) in ir_section_dmar_iommu_to_cper() argument 88 json_object_object_get(section, "revision")); in ir_section_dmar_iommu_to_cper() 90 json_object_object_get(section, "controlRegister")); in ir_section_dmar_iommu_to_cper() 92 json_object_object_get(section, "statusRegister")); in ir_section_dmar_iommu_to_cper() 95 json_object *encoded = json_object_object_get(section, "eventLogEntry"); in ir_section_dmar_iommu_to_cper() 108 encoded = json_object_object_get(section, "deviceTableEntry"); in ir_section_dmar_iommu_to_cper() 123 json_object_object_get(section, "pageTableEntry_Level1")); in ir_section_dmar_iommu_to_cper() 125 json_object_object_get(section, "pageTableEntry_Level2")); in ir_section_dmar_iommu_to_cper() [all …]
|
H A D | cper-section-generic.c | 16 json_object *cper_section_generic_to_ir(void *section) in cper_section_generic_to_ir() argument 19 (EFI_PROCESSOR_GENERIC_ERROR_DATA *)section; in cper_section_generic_to_ir() 134 void ir_section_generic_to_cper(json_object *section, FILE *out) in ir_section_generic_to_cper() argument 148 if (json_object_object_get_ex(section, "processorType", &obj)) { in ir_section_generic_to_cper() 152 if (json_object_object_get_ex(section, "processorISA", &obj)) { in ir_section_generic_to_cper() 156 if (json_object_object_get_ex(section, "errorType", &obj)) { in ir_section_generic_to_cper() 160 if (json_object_object_get_ex(section, "operation", &obj)) { in ir_section_generic_to_cper() 165 if (json_object_object_get_ex(section, "flags", &obj)) { in ir_section_generic_to_cper() 172 if (json_object_object_get_ex(section, "level", &obj)) { in ir_section_generic_to_cper() 176 if (json_object_object_get_ex(section, "cpuVersionInfo", &obj)) { in ir_section_generic_to_cper() [all …]
|
H A D | cper-section-pci-bus.c | 15 json_object *cper_section_pci_bus_to_ir(void *section) in cper_section_pci_bus_to_ir() argument 18 (EFI_PCI_PCIX_BUS_ERROR_DATA *)section; in cper_section_pci_bus_to_ir() 105 void ir_section_pci_bus_to_cper(json_object *section, FILE *out) in ir_section_pci_bus_to_cper() argument 116 if (json_object_object_get_ex(section, "errorStatus", &obj)) { in ir_section_pci_bus_to_cper() 123 if (json_object_object_get_ex(section, "busID", &obj)) { in ir_section_pci_bus_to_cper() 124 json_object *bus_id = json_object_object_get(section, "busID"); in ir_section_pci_bus_to_cper() 136 if (json_object_object_get_ex(section, "errorType", &obj)) { in ir_section_pci_bus_to_cper() 140 if (json_object_object_get_ex(section, "busAddress", &obj)) { in ir_section_pci_bus_to_cper() 142 json_object_object_get(section, "busAddress")); in ir_section_pci_bus_to_cper() 145 if (json_object_object_get_ex(section, "busData", &obj)) { in ir_section_pci_bus_to_cper() [all …]
|
H A D | cper-section-dmar-generic.c | 14 json_object *cper_section_dmar_generic_to_ir(void *section) in cper_section_dmar_generic_to_ir() argument 17 (EFI_DMAR_GENERIC_ERROR_DATA *)section; in cper_section_dmar_generic_to_ir() 66 void ir_section_dmar_generic_to_cper(json_object *section, FILE *out) in ir_section_dmar_generic_to_cper() argument 74 json_object_object_get(section, "requesterID")); in ir_section_dmar_generic_to_cper() 76 json_object_object_get(section, "segmentNumber")); in ir_section_dmar_generic_to_cper() 78 json_object_object_get(section, "faultReason")); in ir_section_dmar_generic_to_cper() 80 json_object_object_get(section, "accessType")); in ir_section_dmar_generic_to_cper() 82 json_object_object_get(section, "addressType")); in ir_section_dmar_generic_to_cper() 84 json_object_object_get(section, "architectureType")); in ir_section_dmar_generic_to_cper() 86 json_object_object_get(section, "deviceAddress")); in ir_section_dmar_generic_to_cper()
|
/openbmc/phosphor-webui/app/common/styles/layout/ |
H A D | section.scss | 2 * Used for section layout. This should be used for the page container 4 <section class="section"> 5 <div class="section-header"> 6 <h2 class="section-title">Section Title</h2> 9 <div class="section-content"> 12 <div class="section-content"> 15 </section> 18 .section { 22 .section-header { 30 .section-title { [all …]
|
/openbmc/libcper/docs/ |
H A D | OEMExtensions.md | 4 modified at compile time to include custom OEM section extensions. This document 11 section from CPER -> CPER-JSON and CPER-JSON -> CPER. For the purposes of 12 example here, we will create a fake CPER section, "myVendorSection", in 13 `cper-section-myvendor.h` and `cper-section-myvendor.c`. 15 _sections/cper-section-myvendor.h_: 24 json_object* cper_section_myvendor_to_ir(void* section, EFI_ERROR_SECTION_DESCRIPTOR* descriptor); 25 void ir_section_myvendor_to_cper(json_object* section, FILE* out); 30 _sections/cper-section-myvendor.c_: 42 #include <libcper/cper-section-ccix-per.h> 44 json_object* cper_section_myvendor_to_ir(void* section, EFI_ERROR_SECTION_DESCRIPTOR* descriptor) [all …]
|
/openbmc/qemu/hw/remote/ |
H A D | proxy-memory-listener.c | 81 MemoryRegionSection *section) in try_merge() argument 93 mrs_rb = section->mr->ram_block; in try_merge() 95 mrs_size = int128_get64(section->size); in try_merge() 96 mrs_gpa = section->offset_within_address_space; in try_merge() 97 mrs_host = (uintptr_t)memory_region_get_ram_ptr(section->mr) + in try_merge() 98 section->offset_within_region; in try_merge() 121 if ((section->mr == prev_sec->mr) && in try_merge() 140 MemoryRegionSection *section) in proxy_memory_listener_region_addnop() argument 146 if (!memory_region_is_ram(section->mr) || in proxy_memory_listener_region_addnop() 147 memory_region_is_rom(section->mr)) { in proxy_memory_listener_region_addnop() [all …]
|
/openbmc/linux/tools/objtool/include/objtool/ |
H A D | elf.h | 33 struct section { struct 40 struct section *base, *rsec; argument 55 struct section *sec; argument 76 struct section *sec; 103 struct section *section_data; 109 struct section *elf_create_section(struct elf *elf, const char *name, 111 struct section *elf_create_section_pair(struct elf *elf, const char *name, 117 struct reloc *elf_init_reloc_text_sym(struct elf *elf, struct section *sec, 120 struct section *insn_sec, 123 struct reloc *elf_init_reloc_data_sym(struct elf *elf, struct section *sec, [all …]
|
/openbmc/u-boot/tools/binman/ |
H A D | image_test.py | 15 section = image._section 17 section.LookupSymbol('_binman_something_prop_', False, 'msg') 24 section = image._section 25 section._entries = {} 27 section.LookupSymbol('_binman_type_prop_pname', False, 'msg') 33 section = image._section 34 section._entries = {} 36 val = section.LookupSymbol('_binman_type_prop_pname', True, 'msg') 44 section = image._section 45 section._entries = {'u-boot': 1} [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | config.c | 597 struct perf_config_section *section; in find_section() local 599 list_for_each_entry(section, sections, node) in find_section() 600 if (!strcmp(section->name, section_name)) in find_section() 601 return section; in find_section() 607 struct perf_config_section *section) in find_config_item() argument 611 list_for_each_entry(item, §ion->items, node) in find_config_item() 621 struct perf_config_section *section = zalloc(sizeof(*section)); in add_section() local 623 if (!section) in add_section() 626 INIT_LIST_HEAD(§ion->items); in add_section() 627 section->name = strdup(section_name); in add_section() [all …]
|
/openbmc/qemu/docs/sphinx/ |
H A D | qapidoc.py | 85 self._top_node = nodes.section() 111 section = nodes.section(ids=[self._sphinx_directive.new_serialno()]) 113 section += nodes.title(title, title) 114 return section 170 for section in doc.args.values(): 171 term = self._nodes_for_one_member(section.member) 173 if section.text: 174 defn = dedent(section.text) 198 section = self._make_section(what) 199 section += dlnode [all …]
|
/openbmc/linux/scripts/ |
H A D | check_extable.sh | 55 …eval $(objdump -rj .altinstructions ${obj} | grep -B1 "${section}+${section_offset}" | head -n1 | … 62 find_alt_replacement_target ${section} ${section_offset} 72 objdump -hwj ${section} ${obj} | grep -q CODE 78 if is_executable_section ${section}; then 83 echo "Warning: found a reference to section \"${section}\" in __ex_table:" 84 addr2line -fip -j ${section} -e ${obj} ${section_offset} | awk '{print "\t" $0}' 89 …echo "Error: found a reference to non-executable section \"${section}\" in __ex_table at offset ${… 96 case "${section}" in 98 handle_alt_replacement_reloc ${section} ${section_offset} 101 handle_suspicious_generic_reloc ${section} ${section_offset} [all …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | generic_section_test.cpp | 29 Generic section(stream); in TEST() local 31 EXPECT_EQ(section.header().id, 0x5048); in TEST() 32 EXPECT_EQ(section.header().size, data.size()); in TEST() 33 EXPECT_EQ(section.header().version, 0x01); in TEST() 34 EXPECT_EQ(section.header().subType, 0x02); in TEST() 35 EXPECT_EQ(section.header().componentID, 0x0304); in TEST() 37 const auto& sectionData = section.data(); in TEST() 50 section.flatten(newStream); in TEST() 62 Generic section(stream); in TEST() local 63 ASSERT_FALSE(section.valid()); in TEST()
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | ptest.py | 88 for section in results: 89 for test in results[section]: 90 result = results[section][test] 91 …testname = "ptestresult." + (section or "No-section") + "." + "_".join(test.translate(trans).split… 93 if not results[section]: 94 zerolength.append(section) 98 for section in sections: 99 if 'exitcode' in sections[section].keys() or 'timeout' in sections[section].keys(): 100 failed_tests[section] = sections[section]["log"] 102 for section in results: [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | section_factory.cpp | 36 std::unique_ptr<Section> section; in create() local 52 section = std::make_unique<PrivateHeader>(pelData); in create() 55 section = std::make_unique<UserData>(pelData); in create() 58 section = std::make_unique<UserHeader>(pelData); in create() 61 section = std::make_unique<FailingMTMS>(pelData); in create() 65 section = std::make_unique<SRC>(pelData); in create() 68 section = std::make_unique<ExtendedUserHeader>(pelData); in create() 71 section = std::make_unique<ExtendedUserData>(pelData); in create() 75 section = std::make_unique<Generic>(pelData); in create() 79 return section; in create()
|
/openbmc/openbmc/poky/meta/recipes-devtools/binutils/binutils/ |
H A D | 0015-CVE-2024-53589.patch | 6 Commit 8b5a212495 supported *ABS* symbols by allowing "section" to be 26 asection *section, *alt_section; 67 - if (!getvalue (&src, §ion->vma, src_end)) 72 - if (val < section->vma) 73 - val = section->vma; 74 - section->size = val - section->vma; 75 + if (bfd_is_const_section (section)) 77 + section->vma = addr; 80 + section->size = val - addr; 82 Check for overlarge section sizes. */ [all …]
|
/openbmc/u-boot/scripts/ |
H A D | kernel-doc | 389 my $section = $section_default; 576 my ($parameter, $section); 617 foreach $section (@{$args{'sectionlist'}}) { 618 print ".SH \"", uc $section, "\"\n"; 619 output_highlight($args{'sections'}{$section}); 627 my ($parameter, $section); 658 foreach $section (@{$args{'sectionlist'}}) { 659 print ".SH \"$section\"\n"; 660 output_highlight($args{'sections'}{$section}); 668 my ($parameter, $section); [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | logparser.py | 87 for section in self.sections: 88 self.sections[section]['log'] = "".join(self.sections[section]['log']) 97 for section in self.results: 99 if section: 100 prefix = section 104 for test_name in sorted(self.results[section]): 105 status = self.results[section][test_name] 118 section = {"duration": 0, "log": ""} 138 section["duration"] += int(values["dur"]) 150 return results, section [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/ |
H A D | case.py | 77 def ptest_section(self, section, duration = None, log = None, logfile = None, exitcode = None): argument 82 if section not in sections: 83 sections[section] = {} 86 sections[section]["log"] = self._compress_log(log) 89 sections[section]["log"] = self._compress_log(f.read()) 92 sections[section]["duration"] = duration 94 sections[section]["exitcode"] = exitcode 96 def ptest_result(self, section, test, result): argument 101 if section not in sections: 102 sections[section] = {} [all …]
|