Home
last modified time | relevance | path

Searched refs:sev (Results 1 – 25 of 54) sorted by relevance

123

/linux/drivers/media/v4l2-core/
H A Dv4l2-event.c21 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 …]
/linux/drivers/crypto/ccp/
H A Dsev-dev.c137 static void __sev_firmware_shutdown(struct sev_device *sev, bool panic);
148 struct sev_device *sev = psp_master->sev_data; in sev_version_greater_or_equal() local
150 if (sev->api_major > maj) in sev_version_greater_or_equal()
153 if (sev->api_major == maj && sev->api_minor >= min) in sev_version_greater_or_equal()
161 struct sev_device *sev = data; in sev_irq_handler() local
169 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler()
171 sev->int_rcvd = 1; in sev_irq_handler()
172 wake_up(&sev->int_queue); in sev_irq_handler()
176 static int sev_wait_cmd_ioc(struct sev_device *sev, in sev_wait_cmd_ioc() argument
191 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc()
[all …]
H A Dsev-dev-tsm.c221 static struct pci_tsm *tio_pf0_probe(struct pci_dev *pdev, struct sev_device *sev) in tio_pf0_probe() argument
229 rc = pci_tsm_pf0_constructor(pdev, &dsm->tsm, sev->tsmdev); in tio_pf0_probe()
234 dsm->sev = sev; in tio_pf0_probe()
240 struct sev_device *sev = tsm_dev_to_sev(tsmdev); in dsm_probe() local
243 return tio_pf0_probe(pdev, sev); in dsm_probe()
355 void sev_tsm_init_locked(struct sev_device *sev, void *tio_status_page) in sev_tsm_init_locked() argument
361 WARN_ON(sev->tio_status); in sev_tsm_init_locked()
372 tsmdev = tsm_register(sev->dev, &sev_tsm_ops); in sev_tsm_init_locked()
388 sev->tsmdev = tsmdev; in sev_tsm_init_locked()
389 sev->tio_status = t; in sev_tsm_init_locked()
[all …]
H A DMakefile12 sev-dev.o \
20 ccp-$(CONFIG_CRYPTO_DEV_SP_PSP) += sev-dev-tsm.o sev-dev-tio.o
H A Dsev-dev.h82 void sev_tsm_init_locked(struct sev_device *sev, void *tio_status_page);
83 void sev_tsm_uninit(struct sev_device *sev);
H A Dsp-pci.c395 .sev = &sevv1,
403 .sev = &sevv2,
427 .sev = &sevv2,
451 .sev = &sevv2,
/linux/tools/testing/selftests/timers/
H A Dposix_timers.c264 struct sigevent sev; in check_sig_ign() local
287 memset(&sev, 0, sizeof(sev)); in check_sig_ign()
288 sev.sigev_notify = SIGEV_SIGNAL; in check_sig_ign()
289 sev.sigev_signo = SIGUSR1; in check_sig_ign()
290 sev.sigev_value.sival_ptr = &tsig; in check_sig_ign()
292 sev.sigev_notify = SIGEV_THREAD_ID; in check_sig_ign()
293 sev._sigev_un._tid = tid; in check_sig_ign()
296 if (timer_create(CLOCK_MONOTONIC, &sev, &timerid)) in check_sig_ign()
349 struct sigevent sev; in check_rearm() local
365 memset(&sev, 0, sizeof(sev)); in check_rearm()
[all …]
/linux/include/ras/
H A Dras_event.h31 u8 sev),
33 TP_ARGS(mem, err_seq, fru_id, fru_text, sev),
38 __field(u8, sev)
52 __entry->sev = sev;
69 cper_severity_str(__entry->sev),
185 u8 sev,
188 TP_ARGS(proc, pei_err, pei_len, ctx_err, ctx_len, oem, oem_len, sev, cpu),
202 __field(u8, sev)
229 __entry->sev = sev;
237 __entry->sev,
[all …]
/linux/arch/x86/kvm/svm/
H A Dsev.c46 module_param_named(sev, sev_enabled, bool, 0444);
155 struct kvm_sev_info *sev = to_kvm_sev_info(vcpu->kvm); in sev_vcpu_has_debug_swap() local
157 return sev->vmsa_features & SVM_SEV_FEAT_DEBUG_SWAP; in sev_vcpu_has_debug_swap()
162 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); in snp_is_secure_tsc_enabled() local
164 return (sev->vmsa_features & SVM_SEV_FEAT_SECURE_TSC) && in snp_is_secure_tsc_enabled()
182 static int sev_misc_cg_try_charge(struct kvm_sev_info *sev) in sev_misc_cg_try_charge() argument
184 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_try_charge()
185 return misc_cg_try_charge(type, sev->misc_cg, 1); in sev_misc_cg_try_charge()
188 static void sev_misc_cg_uncharge(struct kvm_sev_info *sev) in sev_misc_cg_uncharge() argument
190 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_uncharge()
[all …]
/linux/Documentation/virt/coco/
H A Dsev-guest.rst40 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) */
70 The host ioctls are issued to a file descriptor of the /dev/sev device.
82 /* Firmware error code on failure (see psp-sev.h) */
90 :Technology: sev-snp
105 :Technology: sev-snp
124 :Technology: sev-snp
146 :Technology: sev-snp
157 :Technology: sev-snp
168 :Technology: sev-snp
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cper.c58 enum cper_error_severity sev) in amdgpu_cper_entry_fill_hdr() argument
68 hdr->error_severity = sev; in amdgpu_cper_entry_fill_hdr()
96 if (sev == CPER_SEV_NON_FATAL_CORRECTED) in amdgpu_cper_entry_fill_hdr()
113 enum cper_error_severity sev, in amdgpu_cper_entry_fill_section_desc() argument
124 section_desc->severity = sev; in amdgpu_cper_entry_fill_section_desc()
168 enum cper_error_severity sev, in amdgpu_cper_entry_fill_runtime_section() argument
176 poison = sev != CPER_SEV_NON_FATAL_CORRECTED; in amdgpu_cper_entry_fill_runtime_section()
182 sev, RUNTIME, NONSTD_SEC_LEN, in amdgpu_cper_entry_fill_runtime_section()
369 enum cper_error_severity sev = CPER_SEV_NON_FATAL_CORRECTED; in amdgpu_cper_generate_ce_records() local
387 sev = CPER_SEV_NON_FATAL_UNCORRECTED; in amdgpu_cper_generate_ce_records()
[all …]
H A Damdgpu_cper.h73 enum cper_error_severity sev);
81 enum cper_error_severity sev,
/linux/include/media/
H A Dv4l2-event.h33 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);
/linux/drivers/acpi/apei/
H A Dghes.c528 int sev, bool sync) in ghes_handle_memory_failure() argument
541 if (sev == GHES_SEV_RECOVERABLE && sec_sev == GHES_SEV_RECOVERABLE) in ghes_handle_memory_failure()
551 int sev, bool sync) in ghes_handle_arm_hw_error() argument
562 if (sev != GHES_SEV_RECOVERABLE || sec_sev != GHES_SEV_RECOVERABLE) in ghes_handle_arm_hw_error()
681 int sev) in ghes_defer_non_standard_event() argument
694 entry->error_severity = sev; in ghes_defer_non_standard_event()
868 static void ghes_log_hwerr(int sev, guid_t *sec_type) in ghes_log_hwerr() argument
870 if (sev != CPER_SEV_RECOVERABLE) in ghes_log_hwerr()
905 int sev, sec_sev; in ghes_do_proc() local
913 sev = ghes_severity(estatus->error_severity); in ghes_do_proc()
[all …]
/linux/drivers/pci/pcie/
H A Ddpc.c193 u32 status, mask, sev, syserr, exc, log; in dpc_process_rp_pio_error() local
202 pci_read_config_dword(pdev, cap + PCI_EXP_DPC_RP_PIO_SEVERITY, &sev); in dpc_process_rp_pio_error()
206 sev, syserr, exc); in dpc_process_rp_pio_error()
240 u32 status, mask, sev; in dpc_get_aer_uncorrect_severity() local
248 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, &sev); in dpc_get_aer_uncorrect_severity()
249 status &= sev; in dpc_get_aer_uncorrect_severity()
/linux/arch/arm64/kernel/
H A Dsmp_spin_table.c100 sev(); in smp_spin_table_cpu_prepare()
117 sev(); in smp_spin_table_cpu_boot()
/linux/drivers/s390/char/
H A Dtape_3590.h95 unsigned int sev:2; member
107 unsigned int sev:2; member
/linux/arch/um/os-Linux/
H A Dtime.c48 struct sigevent sev = { in os_timer_create() local
55 if (timer_create(CLOCK_MONOTONIC, &sev, t) == -1) in os_timer_create()
/linux/Documentation/security/secrets/
H A Dcoco.rst37 ``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
/linux/arch/riscv/boot/dts/microchip/
H A Dmpfs-sev-kit.dts7 #include "mpfs-sev-kit-fabric.dtsi"
13 compatible = "microchip,mpfs-sev-kit", "microchip,mpfs";
/linux/arch/arm/common/
H A Dvlock.S39 sev
99 sev
/linux/Documentation/translations/zh_CN/security/secrets/
H A Dcoco.rst91 请参见 [sev-api-spec_CN]_ 以获取有关SEV ``LAUNCH_SECRET`` 操作的更多信息。
95 .. [sev-api-spec_CN] https://www.amd.com/system/files/TechDocs/55766_SEV-KM_API_Specification.pdf
/linux/drivers/virt/coco/sev-guest/
H A DMakefile2 obj-$(CONFIG_SEV_GUEST) += sev-guest.o
/linux/arch/arm/mach-bcm/
H A Dplatsmp.c196 sev(); in kona_boot_secondary()
310 sev(); in bcm2836_boot_secondary()
/linux/arch/x86/coco/
H A DMakefile9 obj-$(CONFIG_AMD_MEM_ENCRYPT) += sev/

123