Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvme: Add support for get-reg command to output single register #2188

Merged
merged 7 commits into from
Apr 9, 2024

Commits on Mar 25, 2024

  1. nvme-print: Refactor CMBLOC and PMRSTS registers function

    Move the mmio_read up the call chain.
    
    Signed-off-by: Tokunori Ikegami <[email protected]>
    ikegami-t committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    46baf14 View commit details
    Browse the repository at this point in the history
  2. nvme-print: Change PMRSZU string function as unit string

    To use the function by other registers print functions.
    
    Signed-off-by: Tokunori Ikegami <[email protected]>
    ikegami-t committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    0de339b View commit details
    Browse the repository at this point in the history
  3. nvme: Refactor mmap_registers to add writable parameter

    To prepare the stage for the set register feature.
    
    Signed-off-by: Tokunori Ikegami <[email protected]>
    ikegami-t committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    2d39759 View commit details
    Browse the repository at this point in the history
  4. nvme-print: Add register print functions

    To prepare the state for the get register feature.
    
    Signed-off-by: Tokunori Ikegami <[email protected]>
    ikegami-t committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    bcf7543 View commit details
    Browse the repository at this point in the history
  5. nvme-print-stdout: Add register print functions

    To prepare the state for the get register feature.
    
    Signed-off-by: Tokunori Ikegami <[email protected]>
    ikegami-t committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    652c4a9 View commit details
    Browse the repository at this point in the history
  6. nvme-print-json: Add register print functions

    To prepare the state for the get register feature.
    
    Signed-off-by: Tokunori Ikegami <[email protected]>
    ikegami-t committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    10d879f View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. nvme: Add support for get-reg and set-reg commands

    The get-reg command is to output register(s), it's possible to show
    several registers when register name are used as command line option.
    
    The set-reg command is to write nvme register(s). Again, the command is
    able to set several registers when the register name are used.
    
    Signed-off-by: Tokunori Ikegami <[email protected]>
    ikegami-t authored and igaw committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    eae9149 View commit details
    Browse the repository at this point in the history