[SRU][Zesty] enable TPM CRB driver on ARM64 for Qualcomm Centriq 2400

Bug #1716033 reported by Manoj Iyer on 2017-09-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
High
Manoj Iyer

Bug Description

[Impact]
Enable TPM CRB driver on ARM64 for Qualcomm Centriq 2400. Where, control area buffer address is greater than 32-bit.

[Test]
Currently only built for X64 & ACPI. After building for arm64 validate using tcg testsuite.

[Fix]
This is upstream:
- tpm_crb: remove a cruft constant
- tpm/tpm_crb: Enable TPM CRB interface for ARM64
- tpm_crb: check for bad response size
- tpm_crb: encapsulate crb_wait_for_reg_32
- tpm_crb: map locality registers
- tpm crb: Work around BIOS's that report the wrong ACPI region size
- tpm, tpm_crb: Handle 64-bit resource in crb_check_resource()

[Regression Potential]
All patches are isolated to the TPM driver.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1716033

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: zesty
Manoj Iyer (manjo) on 2017-09-08
description: updated
description: updated

Jeff,

A test kernel with patches to enable tcm-crb is available for testing
in https://launchpad.net/~centriq-team/+archive/ubuntu/lp1716033-tpm/
This kernel has patches to enable tcm-crb for ARM64.

Could you please test this kernel and post test results here? Once we
get positive test results I can submit the patches for SRU.

Thanks
Manoj Iyer

Jeffrey Hugo (jhugo-o) wrote :

Validated.

root@ubuntu:/home/ubuntu/andy/ibmtss930/utils# ./reg.sh -1
init tpm done

Initialize Regression Test Keys

Create a platform primary storage key
 INFO:
Create a storage key under the primary key
 INFO:
Create an unrestricted RSA signing key under the primary key
 INFO:
Create an unrestricted ECC signing key under the primary key
 INFO:
Create a restricted signing key under the primary key
 INFO:
Create an RSA decryption key under the primary key
 INFO:
Create a symmetric cipher key under the primary key
 INFO:
Create a sha1 keyed hash key under the primary key
 INFO:
Create a sha256 keyed hash key under the primary key
 INFO:

Random Number Generator

Stir Random
 INFO:
Get Random
 INFO:

Success - 1 Tests 0 Warnings

root@ubuntu:/home/ubuntu/andy/ibmtss930/utils#

Manoj Iyer (manjo) on 2017-09-18
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers