Skip to content

Commit

Permalink
[CR] Seek for service processor prior controller initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
cyring committed Feb 12, 2024
1 parent f063cd2 commit f9a7dc7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions aarch64/corefreqk.c
Original file line number Diff line number Diff line change
Expand Up @@ -5447,12 +5447,13 @@ static int CoreFreqK_Ignition_Level_Up(INIT_ARG *pArg)
SMBIOS_Collect();
SMBIOS_Decoder();

/* Initialize the CoreFreq controller */
Controller_Init();

/* Seek for an appropriate service processor */
MatchPeerForDefaultService( &PUBLIC(RO(Proc))->Service,
pArg->localProcessor );

/* Initialize the CoreFreq controller */
Controller_Init();

/* Register the Idle & Frequency sub-drivers */
CoreFreqK_Register_CPU_Idle();
CoreFreqK_Register_CPU_Freq();
Expand Down
7 changes: 4 additions & 3 deletions x86_64/corefreqk.c
Original file line number Diff line number Diff line change
Expand Up @@ -24005,12 +24005,13 @@ static int CoreFreqK_Ignition_Level_Up(INIT_ARG *pArg)
SMBIOS_Collect();
SMBIOS_Decoder();

/* Initialize the CoreFreq controller */
Controller_Init();

/* Seek for an appropriate service processor */
MatchPeerForDefaultService( &PUBLIC(RO(Proc))->Service,
pArg->localProcessor );

/* Initialize the CoreFreq controller */
Controller_Init();

/* Register the Idle & Frequency sub-drivers */
CoreFreqK_Register_CPU_Idle();
CoreFreqK_Register_CPU_Freq();
Expand Down

0 comments on commit f9a7dc7

Please sign in to comment.