Re: [tpmdd-devel] [PATCH] tpm crb: Work around BIOS's that report the wrong ACPI region size

2017-02-24 Thread Davide Guerri
> On 24 Feb 2017, at 1:02 pm, Jarkko Sakkinen > wrote: > > On Tue, Feb 21, 2017 at 02:14:24PM -0700, Jason Gunthorpe wrote: >> The expectation is that the if the CRB cmd/rsp buffer falls within the >> ACPI region that the entire buffer will be within the

Re: [tpmdd-devel] [PATCH] tpm crb: Work around BIOS's that report the wrong ACPI region size

2017-02-24 Thread Jarkko Sakkinen
On Tue, Feb 21, 2017 at 02:14:24PM -0700, Jason Gunthorpe wrote: > The expectation is that the if the CRB cmd/rsp buffer falls within the > ACPI region that the entire buffer will be within the reason. Otherwise > resource reservation will fail when it crosses regions. > > Work around this BIOS

Re: [tpmdd-devel] [PATCH] tpm crb: Work around BIOS's that report the wrong ACPI region size

2017-02-24 Thread Jarkko Sakkinen
On Tue, Feb 21, 2017 at 02:14:24PM -0700, Jason Gunthorpe wrote: > The expectation is that the if the CRB cmd/rsp buffer falls within the > ACPI region that the entire buffer will be within the reason. Otherwise > resource reservation will fail when it crosses regions. > > Work around this BIOS

[tpmdd-devel] [PATCH] tpm crb: Work around BIOS's that report the wrong ACPI region size

2017-02-21 Thread Jason Gunthorpe
The expectation is that the if the CRB cmd/rsp buffer falls within the ACPI region that the entire buffer will be within the reason. Otherwise resource reservation will fail when it crosses regions. Work around this BIOS bug by limiting the cmd/rsp buffer to the length of the declared ACPI