[TGL][pmc_core]Need patch to support offset number 21 and 22 device LTR ignore

Bug #1854244 reported by quanxian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intel
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Description:
Intel PMC_CORE driver, the currently device LTR ignore function support covers the IP offset from 0 to 20, while e.g. tgl , which support IP offset 21 and 22

root@p-tgl02/sys/kernel/debug/pmc_core # cat ltr_show
SOUTHPORT_A LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
SOUTHPORT_B LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
SATA LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
GIGABIT_ETHERNET LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
XHCI LTR: RAW: 0x9001 Non-Snoop(ns): 0 Snoop(ns): 1048576
Reserved LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
ME LTR: RAW: 0x8000800 Non-Snoop(ns): 0 Snoop(ns): 0
EVA LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
SOUTHPORT_C LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
HD_AUDIO LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
CNV LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
LPSS LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
SOUTHPORT_D LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
SOUTHPORT_E LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
CAMERA LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
ESPI LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
SCC LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
ISH LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
UFSX2 LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
EMMC LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
WIGIG LTR: RAW: 0x0 Non-Snoop(ns): 0 Snoop(ns): 0
CURRENT_PLATFORM LTR: RAW: 0x40201 Non-Snoop(ns): 0 Snoop(ns): 0
AGGREGATED_SYSTEM LTR: RAW: 0x7dbebf5 Non-Snoop(ns): 0 Snoop(ns): 1037312

and currently pmc_core does not support offset number 21, 22 device LTR ignore:
root@p-tgl02/sys/kernel/debug/pmc_core # echo 21 > ltr_ignore
-bash: echo: write error: Invalid argument
root@p-tgl02/sys/kernel/debug/pmc_core # echo 22 > ltr_ignore
-bash: echo: write error: Invalid argument
root@p-tgl02/sys/kernel/debug/pmc_core # echo 20 > ltr_ignore
root@p-tgl02/sys/kernel/debug/pmc_core #

So need your help to have a patch for the offset number 21, 22 device LTR supported.

Target Release: 20.10
Target Kernel: 5.7

quanxian (quanxian-wang)
information type: Private → Public
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

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 1854244

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: focal
Revision history for this message
quanxian (quanxian-wang) wrote :

49a437941c3f

Changed in intel:
status: New → Fix Committed
Rex Tsai (chihchun)
tags: added: tigerlake
quanxian (quanxian-wang)
description: updated
tags: added: intel-kernel-20.10
removed: intel-kernel-20.04
quanxian (quanxian-wang)
Changed in intel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.