STRUCT SEV_DATA_SNP_DBG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct sev_data_snp_dbg(9) πŸŽ€

okay bestie, so this is from the Kernel API Manual β€” welcome to the kernel side of the group chat πŸ’… we're doing the struct sev_data_snp_dbg page today and honestly? it's lowkey iconic.


✨ NAME ✨

struct sev_data_snp_dbg β€” the parameter struct for the DBG_ENCRYPT/DBG_DECRYPT command, no cap πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole vibe, literally the entire struct:

struct sev_data_snp_dbg {
    u64 gctx_paddr;
    u64 src_addr;
    u64 dst_addr;
 };

three u64s. that's it. she's minimal, she's clean, she's giving main character energy 😌


🌸 Members 🌸

gctx_paddr

the system physical address of the guest context page 🫢 that's the whole thing.

src_addr

the source address of the data you're operating on β€” like, where the data lives before anything happens to it ✨

dst_addr

the destination address of the data you're operating on β€” where it's headed, iykyk πŸ’–


🌈 SEE ALSO 🌈

bestie you are NOT ready for this list, it's giving family reunion 😭 the kernel file is ./include/linux/psp-sev.h, and she's got everyone here:

  • struct sev_data_init(9)
  • struct sev_data_init_ex(9)
  • struct sev_data_pek_csr(9)
  • struct sev_data_download_firmware(9)
  • struct sev_data_get_id(9)
  • struct sev_data_pdh_cert_export(9)
  • struct sev_data_decommission(9)
  • struct sev_data_activate(9)
  • struct sev_data_deactivate(9)
  • struct sev_data_guest_status(9)
  • struct sev_data_launch_start(9)
  • struct sev_data_launch_update_data(9)
  • struct sev_data_launch_update_vmsa(9)
  • struct sev_data_launch_measure(9)
  • struct sev_data_launch_secret(9)
  • struct sev_data_launch_finish(9)
  • struct sev_data_send_start(9)
  • struct sev_data_send_finish(9)
  • struct sev_data_send_cancel(9)
  • struct sev_data_receive_start(9)
  • struct sev_data_receive_update_data(9)
  • struct sev_data_receive_update_vmsa(9)
  • struct sev_data_receive_finish(9)
  • struct sev_data_dbg(9)
  • struct sev_data_attestation_report(9)
  • struct sev_data_snp_download_firmware(9)
  • struct sev_data_snp_activate(9)
  • struct sev_data_snp_addr(9)
  • struct sev_data_snp_launch_start(9)
  • struct sev_data_snp_launch_update(9)
  • struct sev_data_snp_launch_finish(9)
  • struct sev_data_snp_guest_status(9)
  • struct sev_data_snp_page_reclaim(9)
  • struct sev_data_snp_page_unsmash(9)
  • struct sev_data_snp_guest_request(9)
  • struct sev_data_snp_init_ex(9)
  • struct sev_data_range(9)
  • struct sev_data_range_list(9)
  • struct sev_data_snp_shutdown_ex(9)
  • struct sev_platform_init_args(9)
  • struct sev_data_snp_commit(9)
  • struct sev_data_snp_feature_info(9)
  • struct sev_data_snp_verify_mitigation(9)
  • struct sev_data_snp_verify_mitigation_dst(9)
  • struct sev_snp_tcb_version_genoa_milan(9)
  • struct sev_snp_tcb_version_turin(9)
  • sev_module_init(9)
  • sev_platform_init(9)
  • sev_platform_status(9)
  • sev_issue_cmd_external_user(9)
  • sev_guest_deactivate(9)
  • sev_guest_activate(9)
  • sev_guest_df_flush(9)
  • sev_guest_decommission(9)
  • sev_do_cmd(9)

like I said. everyone. πŸ’€


and that's the page bestie, go forth and debug πŸ§šπŸ’œ

sign-off time! this one lives over in ./include/linux and it's dated October 2026, filed under struct sev_data_snp_dbg(9) β€” periodt πŸ’…πŸŽ€
πŸ“¦ where this page comes from