On Wed, May 28, 2025 at 08:20:18PM +0000, Ashish Kalra wrote: > > @@ -1320,10 +1322,10 @@ static int __sev_platform_init_locked(int *error) > > /* Prepare for first SEV guest launch after INIT */ > wbinvd_on_all_cpus(); > - rc = __sev_do_cmd_locked(SEV_CMD_DF_FLUSH, NULL, error); > + rc = __sev_do_cmd_locked(SEV_CMD_DF_FLUSH, NULL, &dfflush_error); > if (rc) { > dev_err(sev->dev, "SEV: DF_FLUSH failed %#x, rc %d\n", > - *error, rc); > + dfflush_error, rc); dfflush_error is never returned to the caller unlike psp_ret, is this intentional? Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt