| /linux/tools/testing/selftests/arm64/abi/ |
| H A 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 …]
|
| H A D | hwcap.c | 973 .name = "SME", 976 .cpuinfo = "sme", 989 .name = "SME 2.1", 996 .name = "SME 2.2", 1003 .name = "SME 2.3", 1010 .name = "SME AES", 1017 .name = "SME I16I32", 1024 .name = "SME BI32I32", 1031 .name = "SME B16B16", 1038 .name = "SME F16F1 [all...] |
| H A 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/Documentation/arch/arm64/ |
| H A 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 …]
|
| /linux/drivers/net/wireless/microchip/wilc1000/ |
| H A 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/drivers/net/wireless/ath/wil6210/ |
| H A D | cfg80211.c | 36 MODULE_PARM_DESC(disable_ap_sme, " let user space handle AP mode SME"); 1105 struct cfg80211_connect_params *sme) in wil_print_connect_params() argument 1108 if (sme->channel) { in wil_print_connect_params() 1110 sme->channel->hw_value, sme->channel->center_freq); in wil_print_connect_params() 1112 if (sme->bssid) in wil_print_connect_params() 1113 wil_info(wil, " BSSID: %pM\n", sme->bssid); in wil_print_connect_params() 1114 if (sme->ssid) in wil_print_connect_params() 1116 16, 1, sme->ssid, sme->ssid_len, true); in wil_print_connect_params() 1117 if (sme->prev_bssid) in wil_print_connect_params() 1118 wil_info(wil, " Previous BSSID=%pM\n", sme->prev_bssid); in wil_print_connect_params() [all …]
|
| /linux/arch/x86/coco/ |
| H A D | core.c | 44 * the other levels of SME/SEV functionality, including C-bit 59 * SME and SEV are very similar but they are not the same, so there are 60 * times that the kernel will need to distinguish between SME and SEV. The 65 * paging is activated, SME will access all memory as decrypted, but SEV 67 * up under SME the trampoline area cannot be encrypted, whereas under SEV
|
| /linux/tools/testing/selftests/arm64/signal/testcases/ |
| H A 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/arch/arm64/kernel/ |
| H A D | fpsimd.c | 139 .name = "SME", 281 * TIF_SME controls whether a task can use SME without trapping while 403 /* Restore SME, override SVE register configuration if needed */ in task_fpsimd_load() 772 * The task's FPSIMD/SVE/SME state must not be subject to concurrent 786 * The task's FPSIMD/SVE/SME state must not be subject to concurrent 911 * SVE and SME use the same bits for _ONEXEC and _INHERIT. 1208 /* Allow SME in kernel */ in cpu_enable_sme() 1222 /* This must be enabled after SME */ in cpu_enable_sme2() 1232 /* This must be enabled after SME */ in cpu_enable_fa64() 1251 * SME doesn't require any particular vector length be in sme_setup() [all …]
|
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | Makefile | 16 rdvl-sme rdvl-sve \ 34 $(OUTPUT)/rdvl-sme: rdvl-sme.c $(OUTPUT)/rdvl.o
|
| H A D | fp-ptrace.c | 264 ksft_print_msg("Failed to set SME VL %d: %d\n", in run_child() 347 read_one_child_regs(child, "SME VL", &iov_parent, &iov_child); in read_child_regs() 632 ksft_print_msg("Mismatch in initial SME VL: %d != %d\n", in check_ptrace_values_zt() 1030 ksft_print_msg("Mismatch in SME VL: %ld != %d\n", in sve_sme_same() 1090 /* Changing the SME VL disables ZA */ in fpsimd_write_expected() 1315 /* Changing the SME VL flushes ZT, SVE state */ in za_write() 1411 snprintf(name, sizeof(name), "%s, SVE %d->%d, SME %d/%x->%d/%x", in run_test() 1420 snprintf(name, sizeof(name), "%s, SME %d/%x->%d/%x", in run_tests() 1617 * Every SME VL/SVCR combination in main() 1671 probe_vls("SME", sme_vl in main() [all...] |
| H A D | .gitignore | 6 rdvl-sme
|
| H A D | rdvl.S | 4 #include "sme-inst.h"
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | cfg80211.c | 456 struct cfg80211_connect_params *sme) in ath6kl_cfg80211_connect() argument 477 ((sme->channel && sme->channel->center_freq == 0) || in ath6kl_cfg80211_connect() 478 (sme->bssid && is_zero_ether_addr(sme->bssid)))) { in ath6kl_cfg80211_connect() 508 status = ath6kl_set_assoc_req_ies(vif, sme->ie, sme->ie_len); in ath6kl_cfg80211_connect() 514 if (sme->ie == NULL || sme->ie_len == 0) in ath6kl_cfg80211_connect() 518 vif->ssid_len == sme->ssid_len && in ath6kl_cfg80211_connect() 519 !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { in ath6kl_cfg80211_connect() 531 } else if (vif->ssid_len == sme->ssid_len && in ath6kl_cfg80211_connect() 532 !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { in ath6kl_cfg80211_connect() 537 vif->ssid_len = sme->ssid_len; in ath6kl_cfg80211_connect() [all …]
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | cfg80211.c | 1958 struct cfg80211_connect_params *sme) in brcmf_set_wpa_version() argument 1967 if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) { in brcmf_set_wpa_version() 1969 } else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) { in brcmf_set_wpa_version() 1971 sme->crypto.akm_suites[0] == WLAN_AKM_SUITE_SAE) in brcmf_set_wpa_version() 1975 } else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_3) { in brcmf_set_wpa_version() 1987 sec->wpa_versions = sme->crypto.wpa_versions; in brcmf_set_wpa_version() 1992 struct cfg80211_connect_params *sme) in brcmf_set_auth_type() argument 2001 switch (sme->auth_type) { in brcmf_set_auth_type() 2016 brcmf_dbg(CONN, "automatic, auth type (%d)\n", sme->auth_type); in brcmf_set_auth_type() 2026 sec->auth_type = sme->auth_type; in brcmf_set_auth_type() [all …]
|
| /linux/arch/x86/boot/startup/ |
| H A D | map_kernel.c | 40 /* Encrypt the kernel and related (if SME is active) */ in sme_postprocess_startup() 72 * Return the SME encryption mask (if SME is active) to be used as a in sme_postprocess_startup() 121 /* Include the SME encryption mask in the fixup value */ in __startup_64()
|
| /linux/tools/testing/selftests/arm64/signal/ |
| H A 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()
|
| H A D | sve_helpers.h | 5 * Common helper functions for SVE and SME functionality.
|
| /linux/drivers/net/wireless/virtual/ |
| H A 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/arch/x86/include/asm/ |
| H A 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/arch/x86/kernel/ |
| H A D | head_64.S | 88 * Activate SEV/SME memory encryption if supported/enabled. This needs to 108 * Perform pagetable fixups. Additionally, if SME is active, encrypt 109 * the kernel and retrieve the modifier (SME encryption mask if SME 186 * Retrieve the modifier (SME encryption mask if SME is active) to be
|
| H A D | head64.c | 200 * If SME is active, this will create decrypted mappings of the in copy_bootdata() 215 * freeing up that memory for use by the system. If SME is active, in copy_bootdata() 258 * SME support may update early_pmd_flags to include the memory in x86_64_start_kernel()
|
| H A D | relocate_kernel_64.S | 215 * If SME is active, there could be old encrypted cache line 219 * Note SME sets this flag to true when the platform supports 220 * SME, so the WBINVD is performed even SME is not activated
|
| /linux/drivers/crypto/ccp/ |
| H A D | hsti.c | 135 …dev_notice(psp->dev, "psp: Both TSME and SME are active, SME is unnecessary when TSME is active.\n… in psp_init_hsti()
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | amd.c | 555 * support SME. This provides support for performing a successful in early_detect_mem_encrypt() 556 * kexec when going from SME inactive to SME active (or vice-versa). in early_detect_mem_encrypt() 571 * BIOS support is required for SME and SEV. in early_detect_mem_encrypt() 572 * For SME: If BIOS has enabled SME then adjust x86_phys_bits by in early_detect_mem_encrypt() 573 * the SME physical address space reduction value. in early_detect_mem_encrypt() 574 * If BIOS has not enabled SME then don't advertise the in early_detect_mem_encrypt() 575 * SME feature (set in scattered.c). in early_detect_mem_encrypt() 576 * If the kernel has not enabled SME via any means then in early_detect_mem_encrypt() 577 * don't advertise the SME feature. in early_detect_mem_encrypt() 581 * In all cases, since support for SME and SEV requires long mode, in early_detect_mem_encrypt()
|