tpmdd-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* TPM2 Driver Support in distros (part 1)
@ 2016-07-24  2:53 Ken Goldman
  2016-07-25 16:47 ` Peter.Huewe-d0qZbvYSIPpWk0Htik3J/w
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ken Goldman @ 2016-07-24  2:53 UTC (permalink / raw)
  To: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Is there a web site or other document that lists which distros or 
kernels include a TPM 2.0 driver?

I support a TPM 2.0 user space TSS.  Not seeing /dev/tpm0 is a typical 
error that prospective users see, and I'd like to give them some guidance.

If there is no such page, and people are willing to post information, 
I'd be happy to include it on my TSS page.


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: TPM2 Driver Support in distros (part 1)
  2016-07-24  2:53 TPM2 Driver Support in distros (part 1) Ken Goldman
@ 2016-07-25 16:47 ` Peter.Huewe-d0qZbvYSIPpWk0Htik3J/w
       [not found]   ` <40c30de1f491455c93a79dd6f5420fc4-FoTRpVxct+aJSz+rYg/bSJowlv4uC7bZ@public.gmane.org>
  2016-07-25 19:46 ` Jason Gunthorpe
  2016-08-11  5:35 ` Peter Huewe
  2 siblings, 1 reply; 7+ messages in thread
From: Peter.Huewe-d0qZbvYSIPpWk0Htik3J/w @ 2016-07-25 16:47 UTC (permalink / raw)
  To: kgoldman-r/Jw6+rmf7HQT0dZR+AlfA,
	tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[resend]
Hi Ken,
> Is there a web site or other document that lists which distros or kernels include a TPM 2.0 driver?
> I support a TPM 2.0 user space TSS.  Not seeing /dev/tpm0 is a typical error that prospective users see, and I'd like to give them some guidance.
> If there is no such page, and people are willing to post information, I'd be happy to include it on my TSS page.

Not aware, but I seriously doubt it.
Speaking of PCClient based platforms, everything with:
- Kernel >4.0 works with CRB out of the box, with FIFO if tpm_tis.force=1 as module parameter
- Kernel >4.4 works with FIFO out of the box


Thanks
Peter





------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: TPM2 Driver Support in distros (part 1)
       [not found]   ` <40c30de1f491455c93a79dd6f5420fc4-FoTRpVxct+aJSz+rYg/bSJowlv4uC7bZ@public.gmane.org>
@ 2016-07-25 19:23     ` Ken Goldman
  2016-07-25 19:40       ` Peter.Huewe-d0qZbvYSIPpWk0Htik3J/w
  0 siblings, 1 reply; 7+ messages in thread
From: Ken Goldman @ 2016-07-25 19:23 UTC (permalink / raw)
  To: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On 7/25/2016 12:47 PM, Peter.Huewe-
> Speaking of PCClient based platforms, everything with:
> - Kernel >4.0 works with CRB out of the box, with FIFO if tpm_tis.force=1 as module parameter
> - Kernel >4.4 works with FIFO out of the box

1 - How does a user know whether the TPM will use CRB or FIFO - whether 
to specify tpm_tis.force=1 or not?

Or can that be specified any time, and it becomes a noop for CRB?

2 - module parameter?  Does that mean whatever distro dependent file is 
used for the boot parameters - grub.conf or some EFI file like grub.cfg.





------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: TPM2 Driver Support in distros (part 1)
  2016-07-25 19:23     ` Ken Goldman
@ 2016-07-25 19:40       ` Peter.Huewe-d0qZbvYSIPpWk0Htik3J/w
  0 siblings, 0 replies; 7+ messages in thread
From: Peter.Huewe-d0qZbvYSIPpWk0Htik3J/w @ 2016-07-25 19:40 UTC (permalink / raw)
  To: kgoldman-r/Jw6+rmf7HQT0dZR+AlfA,
	tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

>1 - How does a user know whether the TPM will use CRB or FIFO - whether to specify tpm_tis.force=1 or not?
Depends on his hardware -- most "physical" TPMs are FIFO, firmware based are CRB.

However, tpm_tis != tpm_crb, these are separate drivers. (tpm_crb might even be backport-able to previous versions, as a module)
so if no /dev/tpm0 appears, try tpm_tis.force=1

> Or can that be specified any time, and it becomes a noop for CRB?
Yes, if no /dev/tpm0 appears, try tpm_tis.force=1

>2 - module parameter?  Does that mean whatever distro dependent file is used for the boot parameters - grub.conf or some EFI file like grub.cfg.
Yes, exactly.

Thanks,
Peter

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: TPM2 Driver Support in distros (part 1)
  2016-07-24  2:53 TPM2 Driver Support in distros (part 1) Ken Goldman
  2016-07-25 16:47 ` Peter.Huewe-d0qZbvYSIPpWk0Htik3J/w
@ 2016-07-25 19:46 ` Jason Gunthorpe
  2016-08-11  5:35 ` Peter Huewe
  2 siblings, 0 replies; 7+ messages in thread
From: Jason Gunthorpe @ 2016-07-25 19:46 UTC (permalink / raw)
  To: Ken Goldman; +Cc: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Sat, Jul 23, 2016 at 10:53:54PM -0400, Ken Goldman wrote:
> Is there a web site or other document that lists which distros or 
> kernels include a TPM 2.0 driver?
> 
> I support a TPM 2.0 user space TSS.  Not seeing /dev/tpm0 is a typical 
> error that prospective users see, and I'd like to give them some guidance.
> 
> If there is no such page, and people are willing to post information, 
> I'd be happy to include it on my TSS page.

You need to work with SuSE and Red Hat to make sure they are aware of
the need to backport this subsystem into their kernels. TPM has been
quiet for so long, nobody is likely paying attention.

It is technically feasible to make a stand alone back port module,
however it will not be able to integrate into the kernel's IMA, just
provide the /dev/tpm0. This would be alot of work for someone to do.

We have made so many huge changes since the old kernels the enterprise
distros are shipping that a simple driver backport is not feasible.

Jason

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: TPM2 Driver Support in distros (part 1)
  2016-07-24  2:53 TPM2 Driver Support in distros (part 1) Ken Goldman
  2016-07-25 16:47 ` Peter.Huewe-d0qZbvYSIPpWk0Htik3J/w
  2016-07-25 19:46 ` Jason Gunthorpe
@ 2016-08-11  5:35 ` Peter Huewe
  2016-08-11 18:13   ` Jerry Snitselaar
  2 siblings, 1 reply; 7+ messages in thread
From: Peter Huewe @ 2016-08-11  5:35 UTC (permalink / raw)
  To: Ken Goldman; +Cc: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


Hi Ken,

I just checked and it seems that RHEL7.2 has backported some parts of the TPM2.0 support to their 3.10 kernel. 
For the tpm_tis part it is still lacking the acpi detection,
 but loading the tpm_tis driver with force=1 should result in a working driver.
(either modprobe tpm_tis force=1  or at the boot commandline tpm_tis.force=1

Thanks,

Peter

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
tpmdd-devel mailing list
tpmdd-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: TPM2 Driver Support in distros (part 1)
  2016-08-11  5:35 ` Peter Huewe
@ 2016-08-11 18:13   ` Jerry Snitselaar
  0 siblings, 0 replies; 7+ messages in thread
From: Jerry Snitselaar @ 2016-08-11 18:13 UTC (permalink / raw)
  To: Peter Huewe; +Cc: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Ken Goldman

On Thu Aug 11 16, Peter Huewe wrote:
>
>Hi Ken,
>
>I just checked and it seems that RHEL7.2 has backported some parts of the TPM2.0 support to their 3.10 kernel. 
>For the tpm_tis part it is still lacking the acpi detection,
> but loading the tpm_tis driver with force=1 should result in a working driver.
>(either modprobe tpm_tis force=1  or at the boot commandline tpm_tis.force=1
>
>Thanks,
>
>Peter
>
>------------------------------------------------------------------------------
>What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>patterns at an interface-level. Reveals which users, apps, and protocols are
>consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>J-Flow, sFlow and other flows. Make informed decisions using capacity
>planning reports. http://sdm.link/zohodev2dev
>_______________________________________________
>tpmdd-devel mailing list
>tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

The acpi detection fix is in our RHEL7 kernel currently being worked
on. The RHEL6.8 kernel also has some TPM2.0 support, including the
acpi detection fix, but doesn't have most of the commits that have hit
upstream since late last year. While there is kernel support for
TPM2.0 drivers in RHEL7 and RHEL6, there currently aren't any packages
providing userspace support like tpm-tools and trousers do for TPM1.2.

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-08-11 18:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-24  2:53 TPM2 Driver Support in distros (part 1) Ken Goldman
2016-07-25 16:47 ` Peter.Huewe-d0qZbvYSIPpWk0Htik3J/w
     [not found]   ` <40c30de1f491455c93a79dd6f5420fc4-FoTRpVxct+aJSz+rYg/bSJowlv4uC7bZ@public.gmane.org>
2016-07-25 19:23     ` Ken Goldman
2016-07-25 19:40       ` Peter.Huewe-d0qZbvYSIPpWk0Htik3J/w
2016-07-25 19:46 ` Jason Gunthorpe
2016-08-11  5:35 ` Peter Huewe
2016-08-11 18:13   ` Jerry Snitselaar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).