Commit 522b71c
committed
NVIDIA: VR: SAUCE: resctrl: add MBA max_lim sysfs and visibility from init
Add rdt_mb_max_lim_show() and the max_lim entry in res_common_files[].
Add mb_max_lim_init() to call resctrl_file_fflags_init("max_lim", ...)
when arch_has_mb_max_lim, and invoke it from resctrl_init() after
io_alloc_init().
Signed-off-by: Fenghua Yu <fenghuay@nvidia.com>1 parent bc9488c commit 522b71c
1 file changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1276 | 1276 | | |
1277 | 1277 | | |
1278 | 1278 | | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
1279 | 1290 | | |
1280 | 1291 | | |
1281 | 1292 | | |
| |||
2090 | 2101 | | |
2091 | 2102 | | |
2092 | 2103 | | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
2093 | 2110 | | |
2094 | 2111 | | |
2095 | 2112 | | |
| |||
2307 | 2324 | | |
2308 | 2325 | | |
2309 | 2326 | | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
2310 | 2338 | | |
2311 | 2339 | | |
2312 | 2340 | | |
| |||
4770 | 4798 | | |
4771 | 4799 | | |
4772 | 4800 | | |
| 4801 | + | |
| 4802 | + | |
4773 | 4803 | | |
4774 | 4804 | | |
4775 | 4805 | | |
| |||
0 commit comments