Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-04-18 Thread Winkler, Tomas
ts.sourceforge.net; davide.gue...@gmail.com > Subject: Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2 > > On Fri, Feb 17, 2017 at 12:01:25PM -0700, Jason Gunthorpe wrote: > > > I would rather review a patch with proper commit message than just > > > pick from an email

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-20 Thread Jarkko Sakkinen
research.com> >Cc: Sakkinen, Jarkko <jarkko.sakki...@intel.com>; Winkler, Tomas > <tomas.wink...@intel.com>; tpmdd-devel@lists.sourceforge.net >Subject: Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2 > > > >Hey, > >sorry fro th

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-19 Thread Winkler, Tomas
<tomas.wink...@intel.com>; tpmdd-devel@lists.sourceforge.net Subject: Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2 Hey, sorry fro the delayed reply. Jason's patch works. I had no doubt it would, because I tried a qnd patch with manually cropped sizes. I have cleaned it up a little bit

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-17 Thread Davide Guerri
Hey,sorry fro the delayed reply.Jason's patch works. I had no doubt it would, because I tried a qnd patch with manually cropped sizes. I have cleaned it up a little bit, removing printks.Thanks again!D.  NUC-fw-fix.patch Description: Binary data On 17 Feb 2017, at 7:01 pm, Jason Gunthorpe

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-17 Thread Jason Gunthorpe
> I would rather review a patch with proper commit message than just pick > from an email thread in all cases with a proper explanation what the > patch does and why it is the right way to fix the issue. Of course, but I am waiting for Davide to say the approach even works .. Jason

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-17 Thread Sakkinen, Jarkko
On Fri, 2017-02-17 at 09:43 -0700, Jason Gunthorpe wrote: > On Thu, Feb 16, 2017 at 10:36:40PM +, Winkler, Tomas wrote: > >    This is a BIOS issue + kernel ACPI platform driver refusing to > > handle > >    overlapping memory space. The issue here is that the ACPI > > platform > >    driver

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-17 Thread Jason Gunthorpe
On Thu, Feb 16, 2017 at 10:36:40PM +, Winkler, Tomas wrote: >This is a BIOS issue + kernel ACPI platform driver refusing to handle >overlapping memory space. The issue here is that the ACPI platform >driver is not created, however this should not prevent the tpm_crb >driver

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-16 Thread Winkler, Tomas
:40 To: Jason Gunthorpe <jguntho...@obsidianresearch.com> Cc: tpmdd-devel@lists.sourceforge.net Subject: Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2 Sorry I missed 1 line: [20417.678952] ACPI resource is [mem 0xfed4-0xfed4087f flags 0x200] [20417.678975] map request is i

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-16 Thread Davide Guerri
> On 16 Feb 2017, at 8:27 pm, Jarkko Sakkinen > wrote: > > On Thu, Feb 16, 2017 at 06:26:29PM +, Davide Guerri wrote: >> No lines including the requested range: >> >> fed1-fed17fff : pnp 00:06 >> >> fed18000-fed18fff : pnp 00:06 >> >>

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-16 Thread Jarkko Sakkinen
On Thu, Feb 16, 2017 at 06:26:29PM +, Davide Guerri wrote: >No lines including the requested range: > >fed1-fed17fff : pnp 00:06 > >fed18000-fed18fff : pnp 00:06 > >fed19000-fed19fff : pnp 00:06 > >fed2-fed3 : pnp 00:06 > >fed4-fed4087f :

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-16 Thread Jarkko Sakkinen
On Thu, Feb 16, 2017 at 11:15:41AM +, Davide Guerri wrote: >Hello guys, >I am trying to get the fTPM on an Intel NUC working bit I get this error > >[    3.191376] tpm_crb MSFT0101:00: can't request region for resource >[mem 0xfed40080-0xfed40fff] > >[    3.200378]

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-16 Thread Jason Gunthorpe
On Thu, Feb 16, 2017 at 06:40:02PM +, Davide Guerri wrote: >Sorry I missed 1 line: > >[20417.678952] ACPI resource is [mem 0xfed4-0xfed4087f flags 0x200] The BIOS is broken.. That range declared in the ACPI is too small Or the cmd_size is too big: >[20417.678990] map

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-16 Thread Davide Guerri
No lines including the requested range: fed1-fed17fff : pnp 00:06 fed18000-fed18fff : pnp 00:06 fed19000-fed19fff : pnp 00:06 fed2-fed3 : pnp 00:06 fed4-fed4087f : MSFT0101:00 fed45000-fed8 : pnp 00:06 fed9-fed93fff : pnp 00:06 fee0-fee00fff : Local APIC This

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-16 Thread Jason Gunthorpe
On Thu, Feb 16, 2017 at 06:10:43PM +, Davide Guerri wrote: >Hey thanks for the prompt reply. >I think you are interested in this: > fed4-fed4087f : MSFT0101:00 Are there more lines below that? Can you apply this patch and report what the results are? diff --git

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-16 Thread Davide Guerri
Hey thanks for the prompt reply. I think you are interested in this: fed4-fed4087f : MSFT0101:00 Thanks! On 16 February 2017 at 18:01, Jason Gunthorpe < jguntho...@obsidianresearch.com> wrote: > On Thu, Feb 16, 2017 at 11:15:41AM +, Davide Guerri wrote: > >Hello guys, > >I

Re: [tpmdd-devel] Intel NUC and fTPM issue on 4.9.2

2017-02-16 Thread Jason Gunthorpe
On Thu, Feb 16, 2017 at 11:15:41AM +, Davide Guerri wrote: >Hello guys, >I am trying to get the fTPM on an Intel NUC working bit I get this >error > >[ 3.191376] tpm_crb MSFT0101:00: can't request region for resource >[mem 0xfed40080-0xfed40fff] What does /proc/iomem say?