Files
Centos-kernel-stream-9/include/linux/clocksource_ids.h
T
Ivan Vecera bf8fe96865 x86/tsc: Provide ART base clock information for TSC
JIRA: https://issues.redhat.com/browse/RHEL-61639

commit 3a52886c8f972c3a5b70bfec330c71817cd7fc63
Author: Lakshmi Sowjanya D <lakshmi.sowjanya.d@intel.com>
Date:   Mon May 13 16:08:03 2024 +0530

    x86/tsc: Provide ART base clock information for TSC

    The core code provides a new mechanism to allow conversion between ART and
    TSC. This allows to replace the x86 specific ART/TSC conversion functions.

    Prepare for removal by filling in the base clock conversion information for
    ART and associating the base clock to the TSC clocksource.

    The existing conversion functions will be removed once the usage sites are
    converted over to the new model.

    [ tglx: Massaged change log ]

    Co-developed-by: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Co-developed-by: Christopher S. Hall <christopher.s.hall@intel.com>
    Signed-off-by: Christopher S. Hall <christopher.s.hall@intel.com>
    Signed-off-by: Lakshmi Sowjanya D <lakshmi.sowjanya.d@intel.com>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Link: https://lore.kernel.org/r/20240513103813.5666-3-lakshmi.sowjanya.d@intel.com

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-10-07 15:20:37 +02:00

17 lines
317 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_CLOCKSOURCE_IDS_H
#define _LINUX_CLOCKSOURCE_IDS_H
/* Enum to give clocksources a unique identifier */
enum clocksource_ids {
CSID_GENERIC = 0,
CSID_ARM_ARCH_COUNTER,
CSID_X86_TSC_EARLY,
CSID_X86_TSC,
CSID_X86_KVM_CLK,
CSID_X86_ART,
CSID_MAX,
};
#endif