Home
last modified time | relevance | path

Searched refs:mba (Results 1 – 10 of 10) sorted by relevance

/xen/docs/features/
A Dintel_psr_mba.pandoc41 Add "psr=mba" to boot line parameter to enable MBA feature.
45 1. `psr-mba-show [domain-id|domain-name]`:
152 1. Boot line param: "psr=mba" to enable the feature.
163 1. psr-mba-show [domain-id]
169 2. psr-mba-set [OPTIONS] <domain-id> <throttling>
185 } mba;
213 root@:~$ xl psr-hwinfo --mba
224 root@:~$ xl psr-mba-set 1 10
229 root@:~$ xl psr-mba-show 1
285 psr-mba-set'.
[all …]
/xen/tools/libxl/
A Dlibxl_psr.c486 xl_info->u.mba.cos_max = xc_info->mba.cos_max; in libxl__xc_hw_info_to_libxl_hw_info()
487 xl_info->u.mba.thrtl_max = xc_info->mba.thrtl_max; in libxl__xc_hw_info_to_libxl_hw_info()
488 xl_info->u.mba.linear = xc_info->mba.linear; in libxl__xc_hw_info_to_libxl_hw_info()
A Dlibxl_types.idl1218 ("mba", Struct(None, [
/xen/tools/xl/
A Dxl_psr.c337 if (type == LIBXL_PSR_CBM_TYPE_MBA_THRTL && info->u.mba.linear) in psr_print_one_domain_val_type()
625 info[i].u.mba.linear ? "Enabled" : "Disabled"); in psr_mba_hwinfo()
626 printf("Maximum COS : %u\n", info[i].u.mba.cos_max); in psr_mba_hwinfo()
627 printf("Maximum Throttling Value: %u\n", info[i].u.mba.thrtl_max); in psr_mba_hwinfo()
753 bool all = true, cmt = false, cat = false, mba = false; in main_psr_hwinfo() local
769 all = false; mba = true; in main_psr_hwinfo()
784 if (all || mba) in main_psr_hwinfo()
/xen/xen/arch/x86/
A Dpsr.c104 } mba; member
396 feat->mba.thrtl_max = MASK_EXTR(regs->a, MBA_THRTL_MAX_MASK) + 1; in mba_init_feature()
400 feat->mba.linear = true; in mba_init_feature()
402 if ( feat->mba.thrtl_max >= 100 ) in mba_init_feature()
415 feat->cos_max, feat->mba.thrtl_max, feat->mba.linear); in mba_init_feature()
503 data[PSR_INFO_IDX_MBA_THRTL_MAX] = feat->mba.thrtl_max; in mba_get_feat_info()
505 if ( feat->mba.linear ) in mba_get_feat_info()
530 if ( feat->mba.linear ) in mba_sanitize_thrtl()
531 *thrtl -= *thrtl % (100 - feat->mba.thrtl_max); in mba_sanitize_thrtl()
539 return *thrtl <= feat->mba.thrtl_max; in mba_sanitize_thrtl()
/xen/tools/libxc/
A Dxc_psr.c373 hw_info->mba.cos_max = sysctl.u.psr_alloc.u.mba_info.cos_max; in xc_psr_get_hw_info()
374 hw_info->mba.thrtl_max = sysctl.u.psr_alloc.u.mba_info.thrtl_max; in xc_psr_get_hw_info()
375 hw_info->mba.linear = sysctl.u.psr_alloc.u.mba_info.flags & in xc_psr_get_hw_info()
/xen/docs/misc/
A Dxl-psr.pandoc231 `xl psr-hwinfo --mba`
235 `xl psr-mba-set [OPTIONS] <domid> <thrtl>`
246 `xl psr-mba-show [OPTIONS] <domid>`
/xen/tools/golang/xenlight/
A Dhelpers.gen.go4171 var mba C.libxl_psr_hw_info_type_union_mba
4172 mba.cos_max = C.uint32_t(tmp.CosMax)
4173 mba.thrtl_max = C.uint32_t(tmp.ThrtlMax)
4174 mba.linear = C.bool(tmp.Linear)
4175 mbaBytes := C.GoBytes(unsafe.Pointer(&mba),C.sizeof_libxl_psr_hw_info_type_union_mba)
/xen/tools/libxc/include/
A Dxenctrl.h2494 } mba; member
/xen/docs/man/
A Dxl.1.pod.in1919 =item B<psr-mba-set> [I<OPTIONS>] I<domain-id> I<thrtl>
1934 =item B<psr-mba-show> [I<domain-id>]

Completed in 110 milliseconds