Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: Handle 64-bit resource in crb_check_resource()

2017-01-03 Thread Jarkko Sakkinen
On Tue, Dec 20, 2016 at 12:19:27AM -0600, Jiandi An wrote: > The control area buffer is specified in the TPM2.0 static ACPI table. TPM > CRB driver maps the control area address and reads out cmd and rsp buffer > addresses and maps them. There is no requirement in the TCG TPM ACPI spec > for

Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: Handle 64-bit resource in crb_check_resource()

2017-01-03 Thread Jarkko Sakkinen
On Tue, Dec 20, 2016 at 12:19:27AM -0600, Jiandi An wrote: > The control area buffer is specified in the TPM2.0 static ACPI table. TPM > CRB driver maps the control area address and reads out cmd and rsp buffer > addresses and maps them. There is no requirement in the TCG TPM ACPI spec > for

Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: Handle 64-bit resource in crb_check_resource()

2016-12-19 Thread Jiandi An
On 12/19/16 07:56, Jarkko Sakkinen wrote: > On Sun, Dec 18, 2016 at 10:20:53PM -0600, Jiandi An wrote: >> crb_check_resource() in TPM CRB driver calls >> acpi_dev_resource_memory() which only handles 32-bit resources. >> Adding a call to acpi_dev_resource_address_space() in TPM CRB >> driver which

Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: Handle 64-bit resource in crb_check_resource()

2016-12-19 Thread Jiandi An
On 12/19/16 07:56, Jarkko Sakkinen wrote: > On Sun, Dec 18, 2016 at 10:20:53PM -0600, Jiandi An wrote: >> crb_check_resource() in TPM CRB driver calls >> acpi_dev_resource_memory() which only handles 32-bit resources. >> Adding a call to acpi_dev_resource_address_space() in TPM CRB >> driver which