On Fri, Jan 3, 2025 at 12:01 PM Ashish Kalra <Ashish.Kalra@xxxxxxx> wrote: > > From: Ashish Kalra <ashish.kalra@xxxxxxx> > > Register the SNP panic notifier if and only if SNP is actually > initialized and deregistering the notifier when shutting down > SNP in PSP driver when KVM module is unloaded. > > Currently the SNP panic notifier is being registered > irrespective of SNP being enabled/initialized and with this > change the SNP panic notifier is registered only if SNP > support is enabled and initialized. > > Signed-off-by: Ashish Kalra <ashish.kalra@xxxxxxx> Reviewed-by: Dionna Glaze <dionnaglaze@xxxxxxxxxx> -- -Dionna Glaze, PhD, CISSP, CCSP (she/her)