Files
Dennis Chen 7c9b994d84 platform/x86/intel-uncore-freq: Expose instance ID in the sysfs
JIRA: https://redhat.atlassian.net/browse/RHEL-241103

Upstream status: v7.2

commit 6cf1c1e9f21ba2e44e05e691d5241290c7d6c41a
Author: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
Date:   Wed Apr 8 16:27:51 2026 +0000

    platform/x86/intel-uncore-freq: Expose instance ID in the sysfs

    Insufficient data is exported to allow direct access to TPMI registers
    through MMIO. On non-partitioned systems domain_id can be used both for
    mapping CPUs to their compute die IDs and for mapping die indices to
    their MMIO memory blocks presented to userspace via TPMI debugfs.
    However on partitioned systems the debugfs association doesn't work
    anymore. This is due to how TPMI partitioning influences domain_id
    calculation. The previous association is lost on partitioned systems in
    order to keep using domain_id for mapping CPUs to compute dies.

    Expose the instance ID in sysfs that's unique in the scope of one TPMI
    partition (and hence one TPMI device). It's a physical index into mapped
    MMIO blocks and can be used by userspace to figure out how to directly
    access TPMI registers.

    Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
    Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
    Link: https://patch.msgid.link/b9ae8d5f1ab86bcdb1a8636fa48865a9e49e2e21.1775665057.git.m.wieczorretman@pm.me
    Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
    Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

Signed-off-by: Dennis Chen <dechen@redhat.com>
2026-08-24 22:42:58 -04:00
..
2026-07-09 19:31:43 +02:00
2026-08-17 08:11:05 +00:00