{"id":19706089,"url":"https://github.com/llnl/msr-genie","last_synced_at":"2025-04-29T16:32:42.456Z","repository":{"id":221068218,"uuid":"713589347","full_name":"LLNL/msr-genie","owner":"LLNL","description":"Utility for fast and efficient queries about MSRs ","archived":false,"fork":false,"pushed_at":"2024-02-06T05:13:34.000Z","size":141,"stargazers_count":11,"open_issues_count":9,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-05T18:11:25.656Z","etag":null,"topics":["cpp","llnl","msr"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LLNL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-02T20:40:16.000Z","updated_at":"2025-02-12T15:07:51.000Z","dependencies_parsed_at":"2024-02-06T01:50:59.709Z","dependency_job_id":"ab5335d8-774f-4242-b06f-930874a3e629","html_url":"https://github.com/LLNL/msr-genie","commit_stats":null,"previous_names":["llnl/msr-genie"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLNL%2Fmsr-genie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLNL%2Fmsr-genie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLNL%2Fmsr-genie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLNL%2Fmsr-genie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LLNL","download_url":"https://codeload.github.com/LLNL/msr-genie/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251540391,"owners_count":21605896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","llnl","msr"],"created_at":"2024-11-11T21:33:49.272Z","updated_at":"2025-04-29T16:32:37.446Z","avatar_url":"https://github.com/LLNL.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"msr-genie\n=========\n\nMSR-Genie is a vendor-neutral tool for fast and efficient queries about model-specific\nregisters (MSRs). The tool allows end users to query bi-directionally across MSR lists\nas well as processor families and models, and provides them with guidance on appropriate\nbitmasks.\n\nGenieInterface is an interactive terminal-based interface to msr-genie. Upon execution\nof the program with ``./GenieInterface``, you will be greeted with a menu consisting of\nthe following options.\n\n```console\n(1) Debug\n(2) Print MSR associated with df_dm (displayfamily_displaymodel)\n(3) Print list of df_dm associated with MSR\n(4) Get BitMask\n(s) print list of supported df_dms\n(c) clear screen\n(h) help\n(q) quit\n```\n\nEnter the corresponding number or letter for the option you wish to use and press enter\nto proceed. The menu will be reprinted after each selection.\n\nGenieCLI is a command line interface to msr-genie. There are currently five (5) options\nfor the CLI version.\n\n1. Print list of supported df_dms: ``./GenieCLI supported``\n2. Print MSR list for df_dm: ``./GenieCLI [msr] [df_dm]``\n3. Print df_dm list for MSR: ``./GenieCLI [df_dm] [msr]``\n4. Print bitmask: ``./GenieCLI bitmask [df_dm] [msr]``\n5. Dump all DataStore values: ``./GenieCLI debug``\n6. Create MSR allowlist template: ``./GenieCLI allowlist``\n\n## Building GenieCLI and GenieInterface\n\nA makefile is provided for GenieCLI and GenieInterface. If your use case requires direct\nlinkage to the header file, simply ``#include \"Genie.h\"``. There are no dependencies\nbeyond a compatible C++ compiler.\n\n## MSR-Safe Allowlist Template Generator\n\nMSR-Safe allowlist templates can be generated using the ./GenieCLI allowlist command.\nBy default, it expects a directory called \"safelist\" within the msr-genie directory.\n\n## License\n\nMSR-Genie is distributed under the terms of the MIT license.\n\nSee [LICENSE](https://github.com/llnl/msr-genie/blob/main/LICENSE) and\n[NOTICE](https://github.com/llnl/msr-genie/blob/main/NOTICE) for details.\n\nSPDX-License-Identifier: MIT\n\nLLNL-CODE-856773\n\n## References\n\nLLNL collated this information from The Intel64 and IA-32 Architecture Software\nDeveloper's Manual Volume 4:  Model-Specific Registers from [March 2023] document number\n[335592-079US].  While we took due care in its transcription, we might have made mistake\nor several. For the most recent an authoritative documentation, please consult the most\nrecent version of Volume 4 at\nhttps://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html\nCorrections and amplifications are most welcome.\n\nAlso note that processor firmware may choose to disallow access to particular MSRs.  The\nfact that an MSR is listed here for a particular processor model does not guarantee that\nit will be accessible on your processor.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllnl%2Fmsr-genie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllnl%2Fmsr-genie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllnl%2Fmsr-genie/lists"}