[EHL][TGL] Enable Time Coordinated Compute interface driver

Bug #1929903 reported by Chao Qin
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intel
Undecided
Brad Figg
linux-intel (Ubuntu)
Medium
Brad Figg
Focal
Undecided
Unassigned
linux-intel-5.13 (Ubuntu)
Undecided
Unassigned
Focal
Undecided
Unassigned

Bug Description

Description
Time Coordinated Compute (TCC)
Pseudo SRAM interface support on top of Cache Allocation Technology

Hardware: Tiger Lake & Elkhart Lake

Target Release: 21.04
Target Kernel: TBD

External links:
https://github.com/intel/linux-intel-quilt/tree/mainline-tracking-v5.11-yocto-210223T083754Z

---

[Update, 2021-08-26]
Please find the Getting Started Guide for Intel TCC Tools here, has steps to download, install and verify:

https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-tcc-tools-2021-2-ubuntu-yp-uefi/top.html

You can find the BIOS settings to enable TCC here:

https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-tcc-tools-2021-2-ubuntu-yp-uefi/top/step-6-configure-intel-tcc-tools-in-bios.html

Revision history for this message
Chao Qin (chaoqin) wrote :

Please find the following patches in the above external link

0001-tcc-parse-PTCT-table-and-record-pesudo-sram-ranges.tcc
0002-tcc-this-is-kernel-driver-to-interface-to-TCC-PTCM-pes.tcc
0003-tcc-update-license-header.tcc
0004-tcc-L3-psram-region-should-not-overlay-L2-psram-region.tcc
0005-tcc-driver-should-exit-if-no-psram-entry-found-in-PTCT.tcc
0006-tcc-tcc-drvier-should-not-exit-even-if-no-psram-entry.tcc
0007-tcc-return-error-code-to-better-match-varies-error-sce.tcc
0008-tcc-update-tcc-range-end_address.tcc
0009-tcc-l3-psram-region-size-could-become-zero-after-exclu.tcc

tags: added: lookout-canyon
no longer affects: linux (Ubuntu)
Changed in linux-intel (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Hsuan-Yu Lin (shanelin)
Changed in linux-intel (Ubuntu):
assignee: Hsuan-Yu Lin (shanelin) → nobody
Revision history for this message
Anthony Wong (anthonywong) wrote :

Copy from email:

> The patch list you provided at https://bugs.launchpad.net/ubuntu/+source/linux-intel/+bug/1929903/comments/1 is pretty short. Which kernel version is this patch list for, is it 5.11?

[Chao] Yes, the patches are based on our v5.11 kernel.

> From https://software.intel.com/content/www/us/en/develop/tools/time-coordinated-computing-tools.html, TCC seems to require real-time kernel, do we also need to implement real-time kernel for TCC?

[Chao] No, TCC driver is standalone and can works on platforms which enabled Cache Allocation Technology. And There are BIOS changes for TCC and user space tools, please @Sangal, Apoorv help on this.

description: updated
Brad Figg (brad-figg)
Changed in linux-intel (Ubuntu):
status: New → In Progress
Changed in intel:
status: New → In Progress
Changed in linux-intel (Ubuntu):
assignee: nobody → Brad Figg (brad-figg)
Changed in intel:
assignee: nobody → Brad Figg (brad-figg)
Revision history for this message
Brad Figg (brad-figg) wrote :

All patches mentioned in the description have been committed to focal:linux-intel intel-5.13-next.

Changed in linux-intel (Ubuntu):
status: In Progress → Fix Committed
Changed in intel:
status: In Progress → Fix Committed
Revision history for this message
Chao Qin (chaoqin) wrote :

v5.13 updates are as following

https://github.com/intel/linux-intel-quilt/tree/mainline-tracking-v5.13-yocto-210727T062416Z
0001-tcc-parse-PTCT-table-and-record-pesudo-sram-ranges.tcc
0002-tcc-this-is-kernel-driver-to-interface-to-TCC-PTCM-pes.tcc
0003-tcc-update-license-header.tcc
0004-tcc-L3-psram-region-should-not-overlay-L2-psram-region.tcc
0005-tcc-driver-should-exit-if-no-psram-entry-found-in-PTCT.tcc
0006-tcc-tcc-drvier-should-not-exit-even-if-no-psram-entry.tcc
0007-tcc-update-tcc-range-end_address.tcc
0008-tcc-return-error-code-to-better-match-varies-error-sce.tcc
0009-tcc-l3-psram-region-size-could-become-zero-after-exclu.tcc
0010-tcc-update-RTCT-table-parser-to-support-two-versions.tcc
0011-Enable-support-to-read-a-few-whitelisted-registers.tcc
0012-Remove-Clock_Cycles_VT-from-MHL-entry.tcc
0013-Add-new-IOCTL-to-read-error-log-buffer.tcc
0014-Display-errlog-buffer-raw-data-in-kernel-log-as-reques.tcc
0015-Fix-issue-found-in-acrn-uos-when-convert-cacheid-to-ap.tcc

Jesse Sung (wenchien)
information type: Private → Public
Jesse Sung (wenchien)
Changed in linux-intel-5.13 (Ubuntu Focal):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers