lkml.org 
[lkml]   [2023]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v11 04/13] x86/cpufeatures: Add Bandwidth Monitoring Event Configuration feature flag
    On Mon, Jan 09, 2023 at 03:43:11PM -0800, Reinette Chatre wrote:
    > We could make a rule that no more resctrl related features are added to
    > cpuinfo but I am hesitant to remove the ones that are already there.

    Yes, that makes sense.

    And note that we try for /proc/cpuinfo to contain flags where the kernel has
    received (substantial) enablement work to support a feature. Shadow stack would
    be one good example.

    If resctrl needs to use a feature and it cannot use that feature without kernel
    enablement, then yes, by all means, it should use /proc/cpuinfo and not the
    corresponding CPUID bit. Because the presence of the flag in /proc/cpuinfo says
    "yes, you can use the feature and the kernel you're running on has the required
    support."

    Thx.

    --
    Regards/Gruss,
    Boris.

    https://people.kernel.org/tglx/notes-about-netiquette

    \
     
     \ /
      Last update: 2023-03-26 23:53    [W:3.330 / U:0.272 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site