Home
last modified time | relevance | path

Searched refs:cc_platform_has (Results 1 – 25 of 27) sorted by relevance

12

/linux/arch/x86/mm/
A Dmem_encrypt.c147 if (!cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) in sme_unmap_bootdata()
167 if (!cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) in sme_map_bootdata()
197 if (cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) in sme_early_init()
206 if (!cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) in sev_setup_arch()
424 if (cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) in force_dma_unencrypted()
432 if (cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) { in force_dma_unencrypted()
457 if (cc_platform_has(CC_ATTR_MEM_ENCRYPT)) { in mem_encrypt_free_decrypted_mem()
473 if (cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) { in print_mem_encrypt_feature_info()
483 if (cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) in print_mem_encrypt_feature_info()
487 if (cc_platform_has(CC_ATTR_GUEST_STATE_ENCRYPT)) in print_mem_encrypt_feature_info()
[all …]
A Dioremap.c95 if (!cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) in __ioremap_check_encrypted()
115 if (!cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) in __ioremap_check_other()
559 if (cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) in memremap_should_map_decrypted()
697 if (!cc_platform_has(CC_ATTR_MEM_ENCRYPT)) in arch_memremap_can_ram_remap()
706 if (cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) { in arch_memremap_can_ram_remap()
727 if (!cc_platform_has(CC_ATTR_MEM_ENCRYPT)) in early_memremap_pgprot_adjust()
732 if (cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) { in early_memremap_pgprot_adjust()
A Dcpu_entry_area.c115 if (cc_platform_has(CC_ATTR_GUEST_STATE_ENCRYPT)) { in percpu_setup_exception_stacks()
/linux/arch/powerpc/platforms/pseries/
A Dcc_platform.c16 bool cc_platform_has(enum cc_attr attr) in cc_platform_has() function
26 EXPORT_SYMBOL_GPL(cc_platform_has);
A Dsvm.c66 if (!cc_platform_has(CC_ATTR_MEM_ENCRYPT)) in set_memory_encrypted()
79 if (!cc_platform_has(CC_ATTR_MEM_ENCRYPT)) in set_memory_decrypted()
/linux/include/linux/
A Dcc_platform.h80 bool cc_platform_has(enum cc_attr attr);
84 static inline bool cc_platform_has(enum cc_attr attr) { return false; } in cc_platform_has() function
/linux/arch/x86/kernel/
A Dcc_platform.c62 bool cc_platform_has(enum cc_attr attr) in cc_platform_has() function
69 EXPORT_SYMBOL_GPL(cc_platform_has);
A Dmachine_kexec_64.c170 if (cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) in init_transition_pgtable()
210 if (cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) { in init_pgtable()
362 cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)); in machine_kexec()
573 if (!cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) in arch_kexec_post_alloc_pages()
586 if (!cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) in arch_kexec_pre_free_pages()
A Dpci-swiotlb.c51 if (cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) in pci_swiotlb_detect_4gb()
A Dcrash_dump_64.c78 cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)); in elfcorehdr_read()
A Dkvm.c424 if (!cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) in sev_map_percpu_data()
563 if (!cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT) || in setup_efi_kvm_sev_migration()
870 if (cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT) && in kvm_init_platform()
A Dkvmclock.c226 if (cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) { in kvmclock_init_mem()
A Dsev.c608 if (!cc_platform_has(CC_ATTR_GUEST_STATE_ENCRYPT)) in sev_es_efi_map_ghcbs()
768 if (!cc_platform_has(CC_ATTR_GUEST_STATE_ENCRYPT)) in sev_es_init_vc_handling()
/linux/arch/x86/realmode/
A Dinit.c47 if (cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) in sme_sev_setup_real_mode()
50 if (cc_platform_has(CC_ATTR_GUEST_STATE_ENCRYPT)) { in sme_sev_setup_real_mode()
85 if (cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) in setup_real_mode()
/linux/arch/x86/platform/efi/
A Defi_64.c287 if (cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT) && in __map_region()
394 if (cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) in efi_update_mem_attr()
442 if (cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) in efi_runtime_update_mappings()
/linux/drivers/gpu/drm/
A Ddrm_cache.c207 if (cc_platform_has(CC_ATTR_MEM_ENCRYPT)) in drm_need_swiotlb()
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_msg.c163 if (hb && !cc_platform_has(CC_ATTR_MEM_ENCRYPT)) { in vmw_port_hb_out()
219 if (hb && !cc_platform_has(CC_ATTR_MEM_ENCRYPT)) { in vmw_port_hb_in()
A Dvmwgfx_drv.c669 if (cc_platform_has(CC_ATTR_MEM_ENCRYPT)) in vmw_dma_select_mode()
/linux/fs/proc/
A Dvmcore.c217 return read_from_oldmem(buf, count, ppos, 0, cc_platform_has(CC_ATTR_MEM_ENCRYPT)); in elfcorehdr_read_notes()
418 userbuf, cc_platform_has(CC_ATTR_MEM_ENCRYPT)); in __read_vmcore()
/linux/kernel/dma/
A Dswiotlb.c557 if (cc_platform_has(CC_ATTR_MEM_ENCRYPT)) in swiotlb_tbl_map_single()
/linux/drivers/iommu/amd/
A Diommu_v2.c746 if (cc_platform_has(CC_ATTR_MEM_ENCRYPT)) in amd_iommu_init_device()
A Dinit.c969 old_devtb = (cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT) && is_kdump_kernel()) in copy_device_table()
3038 if (!cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT) || in amd_iommu_sme_check()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_drv.c1950 if (cc_platform_has(CC_ATTR_MEM_ENCRYPT) && in amdgpu_pci_probe()
/linux/arch/x86/mm/pat/
A Dset_memory.c2040 if (cc_platform_has(CC_ATTR_MEM_ENCRYPT)) in __set_memory_enc_dec()
/linux/drivers/iommu/
A Diommu.c134 if (iommu_default_passthrough() && cc_platform_has(CC_ATTR_MEM_ENCRYPT)) { in iommu_subsys_init()

Completed in 52 milliseconds

12