lkml.org 
[lkml]   [2023]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v8 05/24] x86/resctrl: Track the closid with the rmid
    From
    Hi James,

    On 12/15/2023 9:43 AM, James Morse wrote:
    > x86's RMID are independent of the CLOSID. An RMID can be allocated,
    > used and freed without considering the CLOSID.
    >
    > MPAM's equivalent feature is PMG, which is not an independent number,
    > it extends the CLOSID/PARTID space. For MPAM, only PMG-bits worth of
    > 'RMID' can be allocated for a single CLOSID.
    > i.e. if there is 1 bit of PMG space, then each CLOSID can have two
    > monitor groups.
    >
    > To allow resctrl to disambiguate RMID values for different CLOSID,
    > everything in resctrl that keeps an RMID value needs to know the CLOSID
    > too. This will always be ignored on x86.
    >
    > Signed-off-by: James Morse <james.morse@arm.com>
    > Tested-by: Shaopeng Tan <tan.shaopeng@fujitsu.com>
    > Tested-by: Peter Newman <peternewman@google.com>
    > Tested-by: Babu Moger <babu.moger@amd.com>
    > Reviewed-by: Shaopeng Tan <tan.shaopeng@fujitsu.com>
    > Reviewed-by: Xin Hao <xhao@linux.alibaba.com>
    > ---

    Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>

    Reinette

    \
     
     \ /
      Last update: 2023-12-16 05:59    [W:3.134 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site