/linux-6.14.4/tools/testing/selftests/arm64/abi/ |
D | syscall-abi.c | 331 ksft_print_msg("SME VL %d ZA does not match\n", sme_vl); in check_za() 360 ksft_print_msg("SME VL %d ZT does not match\n", sme_vl); in check_zt() 412 int sve, sme; in test_one_syscall() local 428 for (sme = 0; sme < sme_vl_count; sme++) { in test_one_syscall() 429 ret = prctl(PR_SME_SET_VL, sme_vls[sme]); in test_one_syscall() 435 sme_vls[sme], in test_one_syscall() 437 "%s SVE VL %d/SME VL %d SM+ZA\n", in test_one_syscall() 439 sme_vls[sme]); in test_one_syscall() 441 sme_vls[sme], SVCR_SM_MASK), in test_one_syscall() 442 "%s SVE VL %d/SME VL %d SM\n", in test_one_syscall() [all …]
|
D | hwcap.c | 826 .name = "SME", 829 .cpuinfo = "sme", 842 .name = "SME 2.1", 849 .name = "SME 2.2", 856 .name = "SME AES", 863 .name = "SME I16I32", 870 .name = "SME BI32I32", 877 .name = "SME B16B16", 884 .name = "SME F16F16", 891 .name = "SME F8F16", [all …]
|
D | syscall-abi-asm.S | 12 // x1: SME VL 83 // Set SVCR if we're doing SME 89 // Load ZA and ZT0 if enabled - uses x12 as scratch due to SME LDR 152 // Load the SVE registers if we're doing SVE/SME 257 // Save SVCR if we're doing SME 263 // Save ZA if it's enabled - uses x12 as scratch due to SME STR 338 // Only save FFR if we wrote a value for SME 355 // Clear SVCR if we were doing SME so future tests don't have ZA
|
/linux-6.14.4/Documentation/arch/arm64/ |
D | sme.rst | 6 order to support use of the ARM Scalable Matrix Extension (SME). 11 included in SME. 13 This document does not aim to describe the SME architecture or programmer's 15 model features for SME is included in Appendix A. 24 * The presence of SME is reported to userspace via HWCAP2_SME in the aux vector 25 AT_HWCAP2 entry. Presence of this flag implies the presence of the SME 27 described in this document. SME is reported in /proc/cpuinfo as "sme". 34 * Support for the execution of SME instructions in userspace can also be 36 instruction, and checking that the value of the SME field is nonzero. [3] 42 * There are a number of optional SME features, presence of these is reported [all …]
|
D | sve.rst | 12 (SME). 63 * On hardware that supports the SME extensions, HWCAP2_SME will also be 64 reported in the AT_HWCAP2 aux vector entry. Among other things SME adds 66 separate SME vector length and the same Z/V registers. See sme.rst 72 ptrace(PTRACE_GETREGSET, pid, NT_ARM_SVE, &iov). Note that when SME is 362 payload is available, this is only possible when SME is implemented. 380 * In systems supporting SME when in streaming mode a GETREGSET for 396 * Where SME is implemented it is not possible to GETREGSET the register
|
/linux-6.14.4/Documentation/arch/x86/ |
D | amd-memory-encryption.rst | 7 Secure Memory Encryption (SME) and Secure Encrypted Virtualization (SEV) are 10 SME provides the ability to mark individual pages of memory as encrypted using 13 DRAM. SME can therefore be used to protect the contents of DRAM from physical 20 memory may be encrypted with hypervisor key. When SME is enabled, the hypervisor 21 key is the same key which is used in SME. 42 Support for SME and SEV can be determined through the CPUID instruction. The 43 CPUID function 0x8000001f reports information related to SME:: 46 Bit[0] indicates support for SME 56 If support for SME is present, MSR 0xc00100010 (MSR_AMD64_SYSCFG) can be used to 57 determine if SME is enabled and/or to enable memory encryption:: [all …]
|
/linux-6.14.4/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 1070 struct cfg80211_connect_params *sme) in lbs_set_authtype() argument 1086 if (sme->bssid) in lbs_set_authtype() 1087 memcpy(cmd.bssid, sme->bssid, ETH_ALEN); in lbs_set_authtype() 1089 ret = lbs_auth_to_authtype(sme->auth_type); in lbs_set_authtype() 1114 struct cfg80211_connect_params *sme) in lbs_associate() argument 1176 pos += lbs_add_auth_type_tlv(pos, sme->auth_type); in lbs_associate() 1179 if (sme->ie && sme->ie_len) in lbs_associate() 1180 pos += lbs_add_wpa_tlv(pos, sme->ie, sme->ie_len); in lbs_associate() 1254 sme->ie, sme->ie_len, in lbs_associate() 1273 _new_connect_scan_req(struct wiphy *wiphy, struct cfg80211_connect_params *sme) in _new_connect_scan_req() argument [all …]
|
/linux-6.14.4/drivers/net/wireless/microchip/wilc1000/ |
D | cfg80211.c | 300 struct cfg80211_connect_params *sme) in connect() argument 317 cipher_group = sme->crypto.cipher_group; in connect() 319 if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) { in connect() 324 } else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) { in connect() 337 if ((sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) || in connect() 338 (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2)) { in connect() 339 for (i = 0; i < sme->crypto.n_ciphers_pairwise; i++) { in connect() 340 u32 ciphers_pairwise = sme->crypto.ciphers_pairwise[i]; in connect() 349 switch (sme->auth_type) { in connect() 356 if (sme->ssid_len) { in connect() [all …]
|
/linux-6.14.4/drivers/net/wireless/ath/wil6210/ |
D | cfg80211.c | 35 MODULE_PARM_DESC(disable_ap_sme, " let user space handle AP mode SME"); 1104 struct cfg80211_connect_params *sme) in wil_print_connect_params() argument 1107 if (sme->channel) { in wil_print_connect_params() 1109 sme->channel->hw_value, sme->channel->center_freq); in wil_print_connect_params() 1111 if (sme->bssid) in wil_print_connect_params() 1112 wil_info(wil, " BSSID: %pM\n", sme->bssid); in wil_print_connect_params() 1113 if (sme->ssid) in wil_print_connect_params() 1115 16, 1, sme->ssid, sme->ssid_len, true); in wil_print_connect_params() 1116 if (sme->prev_bssid) in wil_print_connect_params() 1117 wil_info(wil, " Previous BSSID=%pM\n", sme->prev_bssid); in wil_print_connect_params() [all …]
|
/linux-6.14.4/arch/x86/coco/ |
D | core.c | 42 * the other levels of SME/SEV functionality, including C-bit 57 * SME and SEV are very similar but they are not the same, so there are 58 * times that the kernel will need to distinguish between SME and SEV. The 63 * paging is activated, SME will access all memory as decrypted, but SEV 65 * up under SME the trampoline area cannot be encrypted, whereas under SEV
|
/linux-6.14.4/tools/testing/selftests/arm64/signal/testcases/ |
D | sme_vl.c | 5 * Check that the SME vector length reported in signal contexts is the 62 .name = "SME VL", 63 .descr = "Check that we get the right SME VL reported",
|
/linux-6.14.4/drivers/net/wireless/quantenna/qtnfmac/ |
D | commands.c | 2076 struct cfg80211_connect_params *sme) in qtnf_cmd_send_connect() argument 2096 if (sme->bssid_hint) in qtnf_cmd_send_connect() 2097 ether_addr_copy(cmd->bssid_hint, sme->bssid_hint); in qtnf_cmd_send_connect() 2101 if (sme->prev_bssid) in qtnf_cmd_send_connect() 2102 ether_addr_copy(cmd->prev_bssid, sme->prev_bssid); in qtnf_cmd_send_connect() 2106 if ((sme->bg_scan_period >= 0) && in qtnf_cmd_send_connect() 2107 (sme->bg_scan_period <= SHRT_MAX)) in qtnf_cmd_send_connect() 2108 cmd->bg_scan_period = cpu_to_le16(sme->bg_scan_period); in qtnf_cmd_send_connect() 2112 if (sme->flags & ASSOC_REQ_DISABLE_HT) in qtnf_cmd_send_connect() 2114 if (sme->flags & ASSOC_REQ_DISABLE_VHT) in qtnf_cmd_send_connect() [all …]
|
/linux-6.14.4/tools/testing/selftests/arm64/fp/ |
D | Makefile | 16 rdvl-sme rdvl-sve \ 34 $(OUTPUT)/rdvl-sme: rdvl-sme.c $(OUTPUT)/rdvl.o
|
D | fp-ptrace-asm.S | 12 #include "sme-inst.h" 43 // SME? 48 // SVCR is 0 by default, avoid triggering SME if not in use 117 // FFR is not present in base SME
|
/linux-6.14.4/arch/x86/mm/ |
D | mem_encrypt.c | 29 * For SME, all DMA must be to unencrypted addresses if the in force_dma_unencrypted() 59 * SME is mutually exclusive with any of the SEV in print_mem_encrypt_feature_info() 62 pr_cont(" SME\n"); in print_mem_encrypt_feature_info()
|
D | mem_encrypt_identity.c | 297 * This is early code, use an open coded check for SME instead of in sme_encrypt_kernel() 501 /* Check for the SME/SEV support leaf */ in sme_enable() 512 * Check for the SME/SEV feature: in sme_enable() 522 /* Check whether SEV or SME is supported */ in sme_enable() 528 /* Check the SEV MSR whether SEV or SME is enabled */ in sme_enable() 545 * No SME if Hypervisor bit is set. This check is here to in sme_enable() 546 * prevent a guest from trying to enable SME. For running as a in sme_enable() 559 /* For SME, check the SYSCFG MSR */ in sme_enable()
|
/linux-6.14.4/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 455 struct cfg80211_connect_params *sme) in ath6kl_cfg80211_connect() argument 476 ((sme->channel && sme->channel->center_freq == 0) || in ath6kl_cfg80211_connect() 477 (sme->bssid && is_zero_ether_addr(sme->bssid)))) { in ath6kl_cfg80211_connect() 507 status = ath6kl_set_assoc_req_ies(vif, sme->ie, sme->ie_len); in ath6kl_cfg80211_connect() 513 if (sme->ie == NULL || sme->ie_len == 0) in ath6kl_cfg80211_connect() 517 vif->ssid_len == sme->ssid_len && in ath6kl_cfg80211_connect() 518 !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { in ath6kl_cfg80211_connect() 530 } else if (vif->ssid_len == sme->ssid_len && in ath6kl_cfg80211_connect() 531 !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { in ath6kl_cfg80211_connect() 536 vif->ssid_len = sme->ssid_len; in ath6kl_cfg80211_connect() [all …]
|
/linux-6.14.4/arch/arm64/kernel/ |
D | fpsimd.c | 137 .name = "SME", 273 * TIF_SME controls whether a task can use SME without trapping while 398 /* Restore SME, override SVE register configuration if needed */ in task_fpsimd_load() 891 * We are changing the SME VL or weren't using in vec_set_vector_length() 892 * SME anyway, discard the state and force a in vec_set_vector_length() 908 * Free the changed states if they are not in use, SME will be in vec_set_vector_length() 929 * SVE and SME use the same bits for _ONEXEC and _INHERIT. 1258 /* Allow SME in kernel */ in cpu_enable_sme() 1272 /* This must be enabled after SME */ in cpu_enable_sme2() 1282 /* This must be enabled after SME */ in cpu_enable_fa64() [all …]
|
/linux-6.14.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | cfg80211.c | 1942 struct cfg80211_connect_params *sme) in brcmf_set_wpa_version() argument 1951 if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) in brcmf_set_wpa_version() 1953 else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) in brcmf_set_wpa_version() 1955 else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_3) in brcmf_set_wpa_version() 1966 sec->wpa_versions = sme->crypto.wpa_versions; in brcmf_set_wpa_version() 1971 struct cfg80211_connect_params *sme) in brcmf_set_auth_type() argument 1980 switch (sme->auth_type) { in brcmf_set_auth_type() 1995 brcmf_dbg(CONN, "automatic, auth type (%d)\n", sme->auth_type); in brcmf_set_auth_type() 2005 sec->auth_type = sme->auth_type; in brcmf_set_auth_type() 2011 struct cfg80211_connect_params *sme) in brcmf_set_wsec_mode() argument [all …]
|
/linux-6.14.4/tools/testing/selftests/arm64/signal/ |
D | sve_helpers.c | 5 * Common helper functions for SVE and SME functionality. 33 * Unlike SVE, SME does not require the minimum vector length in sve_fill_vls()
|
/linux-6.14.4/arch/arm64/kvm/ |
D | fpsimd.c | 58 * Ensure that any host FPSIMD/SVE/SME state is saved and unbound such in kvm_arch_vcpu_load_fp() 62 * When the host may use SME, fpsimd_save_and_flush_cpu_state() ensures in kvm_arch_vcpu_load_fp() 99 * Currently we do not support SME guests so SVCR is in kvm_arch_vcpu_ctxsync_fp()
|
/linux-6.14.4/arch/x86/kernel/ |
D | head64.c | 99 /* Encrypt the kernel and related (if SME is active) */ in sme_postprocess_startup() 131 * Return the SME encryption mask (if SME is active) to be used as a in sme_postprocess_startup() 179 /* Include the SME encryption mask in the fixup value */ in __startup_64() 409 * If SME is active, this will create decrypted mappings of the in copy_bootdata() 424 * freeing up that memory for use by the system. If SME is active, in copy_bootdata() 461 * SME support may update early_pmd_flags to include the memory in x86_64_start_kernel()
|
/linux-6.14.4/drivers/net/wireless/virtual/ |
D | virt_wifi.c | 229 struct cfg80211_connect_params *sme) in virt_wifi_connect() argument 237 if (!sme->ssid) in virt_wifi_connect() 240 priv->connect_requested_ssid_len = sme->ssid_len; in virt_wifi_connect() 241 memcpy(priv->connect_requested_ssid, sme->ssid, sme->ssid_len); in virt_wifi_connect() 247 if (sme->bssid) { in virt_wifi_connect() 248 ether_addr_copy(priv->connect_requested_bss, sme->bssid); in virt_wifi_connect()
|
/linux-6.14.4/arch/x86/include/asm/ |
D | processor-flags.h | 28 * On systems with SME, one bit (in a variable position!) is stolen to indicate 39 /* Mask off the address space ID and SME encryption bits. */
|
/linux-6.14.4/net/wireless/ |
D | Makefile | 10 cfg80211-y += mlme.o ibss.o sme.o chan.o ethtool.o mesh.o ap.o trace.o ocb.o 14 cfg80211-$(CONFIG_CFG80211_WEXT) += wext-compat.o wext-sme.o
|