/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-event.c | 21 static unsigned int sev_pos(const struct v4l2_subscribed_event *sev, unsigned int idx) in sev_pos() argument 23 idx += sev->first; in sev_pos() 24 return idx >= sev->elems ? idx - sev->elems : idx; in sev_pos() 51 kev->sev->first = sev_pos(kev->sev, 1); in __v4l2_event_dequeue() 52 kev->sev->in_use--; in __v4l2_event_dequeue() 91 struct v4l2_subscribed_event *sev; in v4l2_event_subscribed() local 95 list_for_each_entry(sev, &fh->subscribed, list) in v4l2_event_subscribed() 96 if (sev->type == type && sev->id == id) in v4l2_event_subscribed() 97 return sev; in v4l2_event_subscribed() 105 struct v4l2_subscribed_event *sev; in __v4l2_event_queue_fh() local [all …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | sev-dev.c | 85 struct sev_device *sev = psp_master->sev_data; in sev_version_greater_or_equal() local 87 if (sev->api_major > maj) in sev_version_greater_or_equal() 90 if (sev->api_major == maj && sev->api_minor >= min) in sev_version_greater_or_equal() 98 struct sev_device *sev = data; in sev_irq_handler() local 106 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler() 108 sev->int_rcvd = 1; in sev_irq_handler() 109 wake_up(&sev->int_queue); in sev_irq_handler() 113 static int sev_wait_cmd_ioc(struct sev_device *sev, in sev_wait_cmd_ioc() argument 118 ret = wait_event_timeout(sev->int_queue, in sev_wait_cmd_ioc() 119 sev->int_rcvd, timeout * HZ); in sev_wait_cmd_ioc() [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | user_header.cpp | 107 std::optional<uint8_t> sev = std::nullopt; in UserHeader() local 113 sev = getSeverity(entry.mfgSeverity.value(), dataIface); in UserHeader() 122 if (sev || val) in UserHeader() 127 if (sev) in UserHeader() 129 _eventSeverity = *sev; in UserHeader() 153 auto sev = getSeverity(entry.severity.value(), dataIface); in UserHeader() local 154 if (sev) in UserHeader() 156 _eventSeverity = *sev; in UserHeader() 307 [](const auto& sev) { return !sev.system.empty(); })) in getSeverity() argument 324 for (const auto& sev : severities) in getSeverity() local [all …]
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A D | sev.c | 53 module_param_named(sev, sev_enabled, bool, 0444); 133 static int sev_misc_cg_try_charge(struct kvm_sev_info *sev) in sev_misc_cg_try_charge() argument 135 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_try_charge() 136 return misc_cg_try_charge(type, sev->misc_cg, 1); in sev_misc_cg_try_charge() 139 static void sev_misc_cg_uncharge(struct kvm_sev_info *sev) in sev_misc_cg_uncharge() argument 141 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_uncharge() 142 misc_cg_uncharge(type, sev->misc_cg, 1); in sev_misc_cg_uncharge() 145 static int sev_asid_new(struct kvm_sev_info *sev) in sev_asid_new() argument 153 unsigned int min_asid = sev->es_active ? 1 : min_sev_asid; in sev_asid_new() 154 unsigned int max_asid = sev->es_active ? min_sev_asid - 1 : max_sev_asid; in sev_asid_new() [all …]
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | signal_context.c | 39 struct sigevent sev; in main() local 45 sev.sigev_notify = SIGEV_SIGNAL; in main() 46 sev.sigev_signo = SIGUSR1; in main() 47 sev.sigev_value.sival_ptr = &tid; in main() 48 timer_create(CLOCK_REALTIME, &sev, &tid); in main()
|
/openbmc/qemu/qapi/ |
H A D | misc-target.json | 25 # An enumeration of SEV state information used during @query-sev. 55 # @sev: The guest is a legacy SEV or SEV-ES guest. 57 # @sev-snp: The guest is an SEV-SNP guest. 62 'data': [ 'sev', 'sev-snp' ], 109 # @sev-type: Type of SEV guest being run 119 'sev-type' : 'SevGuestType' }, 120 'discriminator': 'sev-type', 122 'sev': 'SevGuestInfo', 123 'sev-snp': 'SevSnpGuestInfo' }, 128 # @query-sev: [all …]
|
/openbmc/linux/include/ras/ |
H A D | ras_event.h | 32 u8 sev), 34 TP_ARGS(mem, err_seq, fru_id, fru_text, sev), 39 __field(u8, sev) 53 __entry->sev = sev; 70 cper_severity_str(__entry->sev), 224 const u8 sev, 228 TP_ARGS(sec_type, fru_id, fru_text, sev, err, len), 234 __field(u8, sev) 243 __entry->sev = sev; 249 __entry->sev, __entry->sec_type,
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | signals.c | 112 struct sigevent sev; in test_signals() local 121 sev.sigev_notify = SIGEV_SIGNAL; in test_signals() 122 sev.sigev_signo = SIGRTMIN; in test_signals() 123 sev.sigev_value.sival_ptr = &tid; in test_signals() 124 chk_error(timer_create(CLOCK_REALTIME, &sev, &tid)); in test_signals()
|
/openbmc/linux/include/media/ |
H A D | v4l2-event.h | 33 struct v4l2_subscribed_event *sev; member 47 int (*add)(struct v4l2_subscribed_event *sev, unsigned int elems); 48 void (*del)(struct v4l2_subscribed_event *sev);
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | snmp_trap.cpp | 37 auto sev = std::get<Entry::Level>(propMap.at("Severity")); in trap() local 38 auto isev = static_cast<uint8_t>(sev); in trap() 56 convertForMessage(sev), "MSG", message); in trap()
|
/openbmc/linux/sound/core/seq/ |
H A D | seq_queue.c | 632 struct snd_seq_event sev; in queue_broadcast_event() local 634 sev = *ev; in queue_broadcast_event() 636 sev.flags = SNDRV_SEQ_TIME_STAMP_TICK|SNDRV_SEQ_TIME_MODE_ABS; in queue_broadcast_event() 637 sev.time.tick = q->timer->tick.cur_tick; in queue_broadcast_event() 638 sev.queue = q->queue; in queue_broadcast_event() 639 sev.data.queue.queue = q->queue; in queue_broadcast_event() 642 sev.source.client = SNDRV_SEQ_CLIENT_SYSTEM; in queue_broadcast_event() 643 sev.source.port = SNDRV_SEQ_PORT_SYSTEM_TIMER; in queue_broadcast_event() 644 sev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS; in queue_broadcast_event() 645 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in queue_broadcast_event()
|
/openbmc/linux/drivers/pci/pcie/ |
H A D | dpc.c | 190 u32 status, mask, sev, syserr, exc, dw0, dw1, dw2, dw3, log, prefix; in dpc_process_rp_pio_error() local 198 pci_read_config_dword(pdev, cap + PCI_EXP_DPC_RP_PIO_SEVERITY, &sev); in dpc_process_rp_pio_error() 202 sev, syserr, exc); in dpc_process_rp_pio_error() 245 u32 status, mask, sev; in dpc_get_aer_uncorrect_severity() local 253 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, &sev); in dpc_get_aer_uncorrect_severity() 254 status &= sev; in dpc_get_aer_uncorrect_severity()
|
/openbmc/linux/include/linux/ |
H A D | ras.h | 26 const u8 sev, const u8 *err, const u32 len); 32 const u8 sev, const u8 *err, const u32 len) in log_non_standard_event() argument
|
/openbmc/linux/arch/x86/kernel/acpi/ |
H A D | apei.c | 40 void arch_apei_report_mem_error(int sev, struct cper_sec_mem_err *mem_err) in arch_apei_report_mem_error() argument 43 apei_mce_report_mem_error(sev, mem_err); in arch_apei_report_mem_error()
|
/openbmc/linux/drivers/acpi/apei/ |
H A D | ghes.c | 504 int sev, bool sync) in ghes_handle_memory_failure() argument 517 if (sev == GHES_SEV_RECOVERABLE && sec_sev == GHES_SEV_RECOVERABLE) in ghes_handle_memory_failure() 527 int sev, bool sync) in ghes_handle_arm_hw_error() argument 538 if (sev != GHES_SEV_RECOVERABLE || sec_sev != GHES_SEV_RECOVERABLE) in ghes_handle_arm_hw_error() 655 int sev) in ghes_defer_non_standard_event() argument 668 entry->error_severity = sev; in ghes_defer_non_standard_event() 677 int sev, sec_sev; in ghes_do_proc() local 685 sev = ghes_severity(estatus->error_severity); in ghes_do_proc() 698 atomic_notifier_call_chain(&ghes_report_chain, sev, mem_err); in ghes_do_proc() 700 arch_apei_report_mem_error(sev, mem_err); in ghes_do_proc() [all …]
|
/openbmc/linux/drivers/ras/ |
H A D | ras.c | 18 const char *fru_text, const u8 sev, const u8 *err, in log_non_standard_event() argument 21 trace_non_standard_event(sec_type, fru_id, fru_text, sev, err, len); in log_non_standard_event()
|
/openbmc/qemu/docs/system/i386/ |
H A D | amd-memory-encryption.rst | 55 sev-guest,id=sev0,policy=0x1...\ 61 sev-guest,id=sev0,policy=0x5...\ 71 sev-guest,id=sev0,dh-cert-file=<file1>,session-file=<file2> 102 -object sev-guest,id=sev0,cbitpos=47,reduced-phys-bits=1 108 -object sev-guest,id=sev0,cbitpos=47,reduced-phys-bits=1,policy=0x5 138 from the ``query-sev`` qmp command. 140 The value of MNONCE is part of the response of ``query-sev-launch-measure``: it 155 guest. The PaddedSevHashTable struct is defined in ``target/i386/sev.c``. 178 QAPI schema for the sev-snp-guest object. 182 'sev-snp-guest' object. [all …]
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | file_io_type_pel.cpp | 71 uint8_t sev; in getEntryLevelFromPEL() local 72 pel.read(reinterpret_cast<char*>(&sev), 1); in getEntryLevelFromPEL() 75 sev = sev & 0xF0; in getEntryLevelFromPEL() 77 auto entry = severityMap.find(sev); in getEntryLevelFromPEL()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | smp_spin_table.c | 100 sev(); in smp_spin_table_cpu_prepare() 117 sev(); in smp_spin_table_cpu_boot()
|
/openbmc/qemu/target/i386/ |
H A D | meson.build | 24 i386_system_ss.add(when: 'CONFIG_SEV', if_true: files('sev.c'), if_false: files('sev-sysemu-stub.c'…
|
/openbmc/ibm-logging/ |
H A D | policy_find.cpp | 139 auto sev = sevTypes.find(sevType); in getESELSeverity() local 140 if (sev != sevTypes.end()) in getESELSeverity() 142 severity = sev->second; in getESELSeverity()
|
/openbmc/linux/Documentation/virt/coco/ |
H A D | sev-guest.rst | 40 The guest ioctl should be issued on a file descriptor of the /dev/sev-guest 60 /* bits[63:32]: VMM error code, bits[31:0] firmware error code (see psp-sev.h) */ 73 :Technology: sev-snp 88 :Technology: sev-snp 107 :Technology: sev-snp 159 SEV-SNP and GHCB specification: developer.amd.com/sev
|
/openbmc/u-boot/arch/arm/mach-exynos/ |
H A D | lowlevel_init.c | 79 sev(); in low_power_start() 165 sev(); in secondary_cores_configure()
|
/openbmc/linux/drivers/s390/char/ |
H A D | tape_3590.h | 95 unsigned int sev:2; member 107 unsigned int sev:2; member
|
/openbmc/linux/Documentation/security/secrets/ |
H A D | coco.rst | 37 ``KVM_SEV_LAUNCH_SECRET`` command (see [sev]_). The structure of the injected 99 See [sev-api-spec]_ for more info regarding SEV ``LAUNCH_SECRET`` operation. 101 .. [sev] Documentation/virt/kvm/x86/amd-memory-encryption.rst citation in References 103 .. [sev-api-spec] https://www.amd.com/system/files/TechDocs/55766_SEV-KM_API_Specification.pdf
|