/linux/drivers/net/fddi/skfp/ |
H A D | smtdef.c | 14 SMT/CMT defaults 76 struct smt_config *smt ; in smt_reset_defaults() local 87 smt = &smc->s ; in smt_reset_defaults() 88 smt->attach_s = 0 ; in smt_reset_defaults() 89 smt->build_ring_map = 1 ; in smt_reset_defaults() 90 smt->sas = SMT_DAS ; in smt_reset_defaults() 91 smt->numphys = NUMPHYS ; in smt_reset_defaults() 92 smt->pcm_tb_min = DEFAULT_TB_MIN ; in smt_reset_defaults() 93 smt->pcm_tb_max = DEFAULT_TB_MAX ; in smt_reset_defaults() 94 smt->pcm_c_min = DEFAULT_C_MIN ; in smt_reset_defaults() [all …]
|
H A D | smt.c | 145 * init SMT agent 186 * SMT task 197 DB_SMT("SMT agent task"); in smt_agent_task() 390 DB_SMT("SMT : UNA expired"); in smt_event() 413 DB_SMT("SMT : DNA expired"); in smt_event() 498 DB_SMT("SMT : received packet [%s] at 0x%p", in smt_received_pack() 500 DB_SMT("SMT : version %d, class %s", in smt_received_pack() 519 DB_SMT("SMT : ignoring NSA with A-indicator set from %pM", in smt_received_pack() 535 * check SMT version in smt_received_pack() 551 DB_SMT("SMT : version = %d, dest = %pM", in smt_received_pack() [all …]
|
H A D | srf.c | 14 SMT 7.2 Status Response Frame Implementation 358 * build and send SMT SRF frame 363 struct smt_header *smt ; in smt_send_srf() local 374 * build SMT header in smt_send_srf() 383 smt = smtod(mb, struct smt_header *) ; in smt_send_srf() 384 smt->smt_dest = SMT_SRF_DA ; /* DA == SRF multicast */ in smt_send_srf() 392 pcon.pc_p = (void *) (smt + 1) ; /* paras start here */ in smt_send_srf() 403 smt->smt_len = SMT_MAX_INFO_LEN - pcon.pc_len ; in smt_send_srf() 404 mb->sm_len = smt->smt_len + sizeof(struct smt_header) ; in smt_send_srf() 406 DB_SMT("SRF: sending SRF at %p, len %d", smt, mb->sm_len); in smt_send_srf() [all …]
|
H A D | skfddi.c | 683 /* Get FDDI SMT MIB objects */ in skfp_ctl_get_stats() 685 /* Fill the bp->stats structure with the SMT MIB object values */ in skfp_ctl_get_stats() 1229 * smc - A pointer to the SMT context struct. 1249 smt_reset_defaults(smc, 1); // Initialize the SMT module. in ResetAdapter() 1274 * smc - A pointer to the SMT context struct. 1299 * for the SMT MBufs if the define MB_OUTSIDE_SMC is specified. 1301 * smc - A pointer to the SMT context struct. 1317 printk("Unexpected SMT memory size requested: %d\n", size); in mac_drv_get_space() 1341 * smc - A pointer to the SMT context struct. 1380 * smc - A pointer to the SMT context struct. [all …]
|
H A D | hwt.c | 46 * smc - A pointer to the SMT Context structure. 88 * smc - A pointer to the SMT Context structure. 110 * smc - A pointer to the SMT Context structure. 133 * smc - A pointer to the SMT Context structure. 151 * smc - A pointer to the SMT Context structure. 186 * smc - A pointer to the SMT Context structure.
|
H A D | hwmtm.c | 88 /* The external SMT functions are listed in cmtdef.h */ 203 INIT- AND SMT FUNCTIONS: 270 * get the memory for the SMT MBufs in mac_drv_init() 423 * initialize the SMbufs for the SMT in init_fddi_driver() 531 * function called from SMT (HWM / hwmtm.c) 923 * duplicates all SMT frames with the frame control 926 * The SMT Frames which are sent by the local SMT and the NSA 930 * of SMT frames. 939 * All NSA Frames which are sent by the local SMT 968 * (default) all received LLC frames and all SMT/NSA/DBEACON [all …]
|
/linux/Documentation/admin-guide/hw-vuln/ |
H A D | l1tf.rst | 95 multi threading (SMT). The Intel implementation of SMT is called 138 - SMT status: 141 'VMX: SMT vulnerable' SMT is enabled 142 'VMX: SMT disabled' SMT is disabled 205 **Note**, that L1D flush does not prevent the SMT problem because the 218 To address the SMT problem, it is possible to make a guest or a group of 223 If only a single guest or related guests run on sibling SMT threads on 227 Host memory is attackable, when one of the sibling SMT threads runs in 238 scenario. Disabling SMT might be a viable alternative for particular 275 4. SMT control [all …]
|
H A D | attack_vector_controls.rst | 25 #. :ref:`smt` 109 running on the SMT sibling thread in order to exfiltrate data. 111 Many cross-thread attacks can only be mitigated if SMT is disabled, which will 115 for cross-thread attacks will be enabled. SMT may be disabled depending on 119 cross-thread attacks will be enabled but SMT will not be disabled. 125 techniques are used to prevent untrusted workloads from running on SMT siblings. 225 1 -- Can be mitigated without disabling SMT. 227 2 -- Disables SMT if cross-thread mitigations are fully enabled and the CPU 230 3 -- Disables SMT if cross-thread mitigations are fully enabled, the CPU is
|
H A D | vmscape.rst | 52 SMT considerations 55 When Simultaneous Multi-Threading (SMT) is enabled, hypervisors can be 57 attacks in SMT environments, STIBP should be enabled. 59 The kernel will issue a warning if SMT is enabled without adequate STIBP 62 - SMT is disabled
|
H A D | cross-thread-rsb.rst | 8 predictions vulnerability. When running in SMT mode and one sibling thread 38 Affected SMT-capable processors support 1T and 2T modes of execution when SMT 47 depending on the SMT mode. For instance, in 2T mode each thread uses a private 51 change. This behavior may result in return targets from one SMT thread being
|
H A D | l1d_flush.rst | 60 a physical CPU core when SMT is enabled on the system. 63 cores or by disabling SMT. See the relevant chapter in the L1TF mitigation 67 affinity is limited to cores running in non-SMT mode. If a task which 68 requested L1D flushing is scheduled on a SMT-enabled core the kernel sends
|
H A D | processor_mmio_stale_data.rst | 200 protected as well. It does not automatically disable SMT. 201 full,nosmt Same as full, with SMT disabled on vulnerable CPUs. This is the 261 'SMT vulnerable' SMT is enabled 262 'SMT disabled' SMT is disabled 263 'SMT Host state unknown' Kernel runs in a VM, Host SMT state unknown
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | smt.c | 36 #include "smt.h" 106 * cxgb4_smt_release - Release SMT entry 107 * @e: smt entry to release 109 * Releases ref count and frees up an smt entry from SMT table 123 struct smt_data *s = adap->smt; in do_smt_write_rpl() 141 struct smt_data *s = adapter->smt; in write_smt_entry() 152 /* Source MAC Table (SMT) contains 256 SMAC entries in write_smt_entry() 167 * at prev index from smt-tab. in write_smt_entry() 177 * at next index from smt-tab in write_smt_entry() 188 /* Source MAC Table (SMT) contains 256 SMAC entries */ in write_smt_entry() [all …]
|
/linux/drivers/net/fddi/skfp/h/ |
H A D | smt.h | 12 * SMT 7.2 frame definitions 26 * SMT frame version 5.1 63 #define FC_SMT_INFO 0x41 /* SMT info */ 64 #define FC_SMT_NSA 0x4f /* SMT Next Station Addressing */ 89 #define SMT_MAX_ECHO_LEN 4458 /* max length of SMT Echo */ 91 #define SMT_TEST_ECHO_LEN 50 /* test length of SMT Echo */ 96 #define SMT_MAX_INFO_LEN (4352-20) /* max length for SMT info */ 432 * P14 : supported SMT versions 434 #define SMT_P_VERSION 0x0014 /* SMT supported versions */ 547 * NOTE: not in swap table, is used by smt.c AND PMF table [all …]
|
H A D | smc.h | 42 #include "smt.h" 107 u_char sm_ma_avail ; /* flag : MAC available for SMT */ 294 #define RS_VERSION (1<< 4) /* SMT version mismatch */ 317 u_short evc_para ; /* SMT Para Number */ 324 * smt.c 343 struct smt_timer smt_timer ; /* SMT NIF timer */ 348 * SMT/CMT configurable parameters 385 u_long rmt_dup_mac_behavior ; /* Flag for the beavior of SMT if 387 * FALSE: SMT will leave finally the ring 388 * TRUE: SMT will reinstert into the ring [all …]
|
H A D | fddi.h | 36 #define FC_SMT_INFO 0x41 /* SMT Info frame */ 40 #define FC_SMT_LAN_LOC 0x42 /* local SMT Info frame */ 41 #define FC_SMT_LOC 0x43 /* local SMT Info frame */ 42 #define FC_SMT_NSA 0x4f /* SMT NSA frame */
|
H A D | osdef1st.h | 34 #define MB_OUTSIDE_SMC /* SMT Mbufs outside of smc struct. */ 39 // SMT Definitions 48 #define SMT_PANIC(smc, nr, msg) printk(KERN_INFO "SMT PANIC: code: %d, msg: %s\n",nr,msg) 69 // Number of SMT buffers (Mbufs).
|
/linux/drivers/net/fddi/ |
H A D | defza.h | 51 #define FZA_EVENT_SMT_TX_POLL 0x0004 /* SMT frame transmit request */ 170 #define FZA_MASK_SMT_TX_POLL 0x0004 /* SMT frame transmit request */ 187 #define FZA_CONTROL_A_SMT_RX_OVFL 0x0040 /* SMT receive overflow */ 192 #define FZA_CONTROL_A_SMT_RX_POLL 0x0002 /* SMT receive ring poll */ 359 /* SMT (Station Management) transmit/receive descriptor ring entry. */ 435 u32 smt_tx; /* base of SMT tx descriptor ring */ 436 u32 smt_tx_size; /* size of SMT tx descriptor ring */ 437 u32 smt_rx; /* base of SMT rx descriptor ring */ 438 u32 smt_rx_size; /* size of SMT rx descriptor ring */ 456 u32 smt_ver; /* SMT version */ [all …]
|
/linux/kernel/sched/ |
H A D | ext_idle.c | 34 cpumask_var_t smt; member 84 * SMT mask should be cleared whether we can claim @cpu or not. The SMT in scx_idle_test_and_clear_cpu() 89 const struct cpumask *smt = cpu_smt_mask(cpu); in scx_idle_test_and_clear_cpu() local 90 struct cpumask *idle_smts = idle_cpumask(node)->smt; in scx_idle_test_and_clear_cpu() 95 * @cpu is never cleared from the idle SMT mask. Ensure that in scx_idle_test_and_clear_cpu() 102 if (cpumask_intersects(smt, idle_smts)) in scx_idle_test_and_clear_cpu() 103 cpumask_andnot(idle_smts, idle_smts, smt); in scx_idle_test_and_clear_cpu() 121 cpu = cpumask_any_and_distribute(idle_cpumask(node)->smt, cpus_allowed); in pick_idle_cpu_in_node() 421 * idle) to avoid interference caused by SMT. 557 * If CPU has SMT, any wholly idle CPU is likely a better pick than in scx_select_cpu_dfl() [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rockchip-pinconf.dtsi | 311 pcfg_pull_up_smt: pcfg-pull-up-smt { 317 pcfg_pull_down_smt: pcfg-pull-down-smt { 323 pcfg_pull_none_smt: pcfg-pull-none-smt { 329 pcfg_pull_none_drv_level_0_smt: pcfg-pull-none-drv-level-0-smt { 336 pcfg_pull_none_drv_level_1_smt: pcfg-pull-none-drv-level-1-smt { 343 pcfg_pull_none_drv_level_2_smt: pcfg-pull-none-drv-level-2-smt { 350 pcfg_pull_none_drv_level_3_smt: pcfg-pull-none-drv-level-3-smt { 357 pcfg_pull_none_drv_level_4_smt: pcfg-pull-none-drv-level-4-smt { 364 pcfg_pull_none_drv_level_5_smt: pcfg-pull-none-drv-level-5-smt {
|
/linux/tools/perf/util/ |
H A D | smt.c | 5 #include "smt.h" 16 if (sysfs__read_int("devices/system/cpu/smt/active", &fs_value) >= 0) in smt_on() 31 /* Cheap case that SMT is disabled and therefore we're inherently core_wide. */ in core_wide()
|
/linux/arch/x86/kernel/cpu/ |
H A D | topology_amd.c | 39 * parsers set SMT shift. Assume one thread per core by default in parse_8000_0008() 93 * SMT domain shift. On CPUs with family >= 0x17, there in parse_8000_001e() 97 /* Update the SMT domain, but do not propagate it. */ in parse_8000_001e() 183 * Try to get SMT, CORE, TILE, and DIE shifts from extended in parse_topology_amd() 186 * get SMT and CORE shift from leaf 0xb. If either leaf is in parse_topology_amd() 196 * Prefer leaf 0x8000001e if available to get the SMT shift and in parse_topology_amd()
|
/linux/kernel/ |
H A D | Kconfig.preempt | 149 bool "Core Scheduling for SMT" 153 selection across SMT siblings. When enabled -- see 154 prctl(PR_SCHED_CORE) -- task selection ensures that all SMT siblings 159 - mitigation of some (not all) SMT side channels; 160 - limiting SMT interference to improve determinism and/or performance.
|
/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_cs.h | 34 n ## _sm_to_state(struct n ## _sm_table_s *smt, t sm) \ 38 while (smt[i].sm && smt[i].sm != sm) \ 40 return smt[i].state; \
|
/linux/Documentation/networking/device_drivers/fddi/ |
H A D | defza.rst | 39 supports separate enables for LLC and SMT frames, but this driver 55 7. Queueing incoming/outgoing SMT frames in the driver if the SMT
|