Re: [PATCH v2] Fix fTPM on AMD Zen+ CPUs

From: Seunghun Han
Date: Mon Sep 16 2019 - 05:43:50 EST


> Eessentially what you want to do is to detach and backup the original
> NVS resources and put them back to the list with insert_resource() when
> tpm_crb is removed. At least I think this is what should be done but you
> should CC your patch also to the ACPI list for feedback.
>
> /Jarkko

Yes, you are right. But, what I really want to do is requesting
command/response buffer regions from NVS driver and releasing them. To
detach and backup the original NVS resources with insert_resource() or
remove_resource() are not needed maybe.

I have some idea about it, so I have sent an email to you. Would you
check the email and give comments? The link is here,
https://lkml.org/lkml/2019/9/16/112 .

Seunghun