** Description changed:

  [Impact]
  TPM module can not initial with Ubuntu kernel
  [ 28.138216] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.143808] tpm_tis_spi spi-SMO0768:00: 1.2 TPM (device-id 0xFFFF, rev-id 
255)
  [ 28.145025] tpm tpm0: tpm_try_transmit: tpm_send: error -5
  [ 28.899522] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.904927] tpm tpm0: A TPM error (-5) occurred attempting to determine the 
timeouts
  [ 28.913026] tpm_tis_spi: probe of spi-SMO0768:00 failed with error -5
  
+ We have a TPM module but disco kernel can not initial it. The root cause is
+ DW SPI driver in disco only support chipselect from device-tree and for 5.1
+ mainline kernel it can be used with deivce-tree or ACPI.
+ 
  [Test Case]
- Boot Ubuntu on platform with TPM module and `dmesg | grep tpm`
+ Boot Ubuntu on platform with TPM module and ACPI and `dmesg | grep tpm`
  
  [Fix]
  9400c41e77b8 linus.wall...@linaro.org 2019-01-09 12:42:18 +0000 spi: dw: 
Convert to use CS GPIO descriptors
  f3186dd87669 linus.wall...@linaro.org 2019-01-09 12:39:25 +0000 spi: 
Optionally use GPIO descriptors for CS GPIOs
  
  [Regression Risk]
- Enable new ability for DW SPI driver and according to following regression
- fix patch. This has been tested around.
+ Reading first 2 patches for determining regression risk and find out only 
machine with Designware MMIO SPI and device-tree have risk. Fortunately on 
mainline kernel we have Jan Kotas tested and report several regressions e.g. 
default polarity.
+ 
+ Therefore, another 4 patches is needed to fix the regression on device-tree
+ machines with DW SPI and that's the only regression risk.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1826142

Title:
  TPM module can not initial

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Disco:
  Incomplete

Bug description:
  [Impact]
  TPM module can not initial with Ubuntu kernel
  [ 28.138216] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.143808] tpm_tis_spi spi-SMO0768:00: 1.2 TPM (device-id 0xFFFF, rev-id 
255)
  [ 28.145025] tpm tpm0: tpm_try_transmit: tpm_send: error -5
  [ 28.899522] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.904927] tpm tpm0: A TPM error (-5) occurred attempting to determine the 
timeouts
  [ 28.913026] tpm_tis_spi: probe of spi-SMO0768:00 failed with error -5

  We have a TPM module but disco kernel can not initial it. The root cause is
  DW SPI driver in disco only support chipselect from device-tree and for 5.1
  mainline kernel it can be used with deivce-tree or ACPI.

  [Test Case]
  Boot Ubuntu on platform with TPM module and ACPI and `dmesg | grep tpm`

  [Fix]
  9400c41e77b8 linus.wall...@linaro.org 2019-01-09 12:42:18 +0000 spi: dw: 
Convert to use CS GPIO descriptors
  f3186dd87669 linus.wall...@linaro.org 2019-01-09 12:39:25 +0000 spi: 
Optionally use GPIO descriptors for CS GPIOs

  [Regression Risk]
  Reading first 2 patches for determining regression risk and find out only 
machine with Designware MMIO SPI and device-tree have risk. Fortunately on 
mainline kernel we have Jan Kotas tested and report several regressions e.g. 
default polarity.

  Therefore, another 4 patches is needed to fix the regression on device-tree
  machines with DW SPI and that's the only regression risk.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1826142/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to