@@ -82,12 +82,12 @@ int send_pig_packet(uint64_t data, uint32_t coreMask)
82
82
}
83
83
while ((((ppm_pig_t )data_tmp ).fields .pending_source & 0x1 ));
84
84
85
- PK_TRACE_INF ("send pig core=0x%x, data=0x%08x%08x" , coreMask , data >> 32 , data );
85
+ // PK_TRACE_INF("send pig core=0x%x, data=0x%08x%08x", coreMask, data >> 32, data);
86
86
87
87
// Send PIG packet
88
88
CME_PUTSCOM (PPM_PIG , coreMask , data );
89
- PK_TRACE_DBG ("CME: Sending PIG[%x] at core[%x]" ,
90
- (uint32_t )(data >> 32 ), coreMask );
89
+ // PK_TRACE_DBG("CME: Sending PIG[%x] at core[%x]",
90
+ // (uint32_t)(data >> 32), coreMask);
91
91
92
92
pk_critical_section_exit (& ctx );
93
93
@@ -127,7 +127,7 @@ uint32_t poll_dpll_stat()
127
127
// DPLL Mode 2
128
128
if (!(in32 (G_CME_LCL_FLAGS ) & BIT32 (CME_FLAGS_VDM_OPERABLE )))
129
129
{
130
- PK_TRACE_INF ("Poll on DPLL_STAT[freq_change=0]" );
130
+ // PK_TRACE_INF("Poll on DPLL_STAT[freq_change=0]");
131
131
132
132
// ... to indicate that the DPLL is safely either at the new frequency
133
133
// or in droop protection below the new frequency
@@ -140,7 +140,7 @@ uint32_t poll_dpll_stat()
140
140
else
141
141
// DPLL Mode 3
142
142
{
143
- PK_TRACE_INF ("Poll on DPLL_STAT[update_complete=1]" );
143
+ // PK_TRACE_INF("Poll on DPLL_STAT[update_complete=1]");
144
144
// ... to indicate that the DPLL has sampled the newly requested
145
145
// frequency into its internal registers as a target,
146
146
// but may not yet be there
@@ -190,7 +190,7 @@ uint32_t poll_dpll_stat()
190
190
else if ((csar .value & BIT64 (CPPM_CSAR_DISABLE_CME_NACK_ON_PROLONGED_DROOP )) && (pgpe_notified == 0 ))
191
191
{
192
192
pgpe_notified = 1 ;
193
- PK_TRACE_INF ("Nack on Droop disabled. Notifying PGPE about droop condition" );
193
+ // PK_TRACE_INF("Nack on Droop disabled. Notifying PGPE about droop condition");
194
194
ack = MSGID_PCB_TYPE4_NACK_DROOP_PRESENT_WITH_CSAR_SET ;
195
195
send_ack_to_pgpe (ack );
196
196
@@ -293,7 +293,7 @@ void intercme_msg_send(uint32_t msg, INTERCME_MSG_TYPE type)
293
293
{
294
294
out32 (G_CME_LCL_ICSR , (msg << 4 ) | type );
295
295
296
- PK_TRACE_DBG ("imt send | msg=%08x" , ((msg << 4 ) | type ));
296
+ // PK_TRACE_DBG("imt send | msg=%08x", ((msg << 4) | type));
297
297
298
298
// Block on ack from companion CME
299
299
while (!(in32 (G_CME_LCL_EISR ) & BIT32 (30 ))) {}
@@ -307,7 +307,7 @@ void intercme_msg_recv(uint32_t* msg, INTERCME_MSG_TYPE type)
307
307
while (!(in32 (G_CME_LCL_EISR ) & BIT32 (29 ))) {}
308
308
309
309
* msg = in32 (G_CME_LCL_ICRR );
310
- PK_TRACE_DBG ("imt recv | msg=%08x" , * msg );
310
+ // PK_TRACE_DBG("imt recv | msg=%08x", *msg);
311
311
312
312
if (* msg & type )
313
313
{
@@ -393,7 +393,7 @@ uint32_t p9_cme_resclk_get_index(uint32_t pstate)
393
393
// disabled
394
394
while ((pstate > G_lppb -> resclk .resclk_freq [-- i ]) && (i > 0 )) {}
395
395
396
- PK_TRACE_DBG ("resclk_idx[i=%d]=%d" , i , G_lppb -> resclk .resclk_index [i ]);
396
+ // PK_TRACE_DBG("resclk_idx[i=%d]=%d", i, G_lppb->resclk.resclk_index[i]);
397
397
return ((uint32_t )G_lppb -> resclk .resclk_index [i ]);
398
398
}
399
399
#endif //USE_CME_RESCLK_FEATURE
@@ -410,7 +410,7 @@ void p9_cme_core_stop_analog_control(uint32_t core_mask, ANALOG_CONTROL enable)
410
410
411
411
if (enable )
412
412
{
413
- PK_TRACE_INF ("resclk | enabling resclks" );
413
+ // PK_TRACE_INF("resclk | enabling resclks");
414
414
415
415
if (core_mask == CME_MASK_C0 )
416
416
{
@@ -434,7 +434,7 @@ void p9_cme_core_stop_analog_control(uint32_t core_mask, ANALOG_CONTROL enable)
434
434
}
435
435
else
436
436
{
437
- PK_TRACE_INF ("resclk | disabling resclks" );
437
+ // PK_TRACE_INF("resclk | disabling resclks");
438
438
// 1) copy QACCR[0:12] into CACCR[0:12], with CACCR[13:14]=0b00,
439
439
// to switch away from common control. QACCR will already be set
440
440
// to a value corresponding to the current quad Pstate
@@ -458,15 +458,15 @@ void p9_cme_core_stop_analog_control(uint32_t core_mask, ANALOG_CONTROL enable)
458
458
{
459
459
if (enable )
460
460
{
461
- PK_TRACE_INF ("vdm | enabling vdms" );
461
+ // PK_TRACE_INF("vdm | enabling vdms");
462
462
// Clear Disable
463
463
// (Poweron is set earlier in Stop4 Exit flow
464
464
// due to delay required between poweron and enable)
465
465
CME_PUTSCOM (PPM_VDMCR_CLR , core_mask , BIT64 (1 ));
466
466
}
467
467
else
468
468
{
469
- PK_TRACE_INF ("vdm | disabling vdms" );
469
+ // PK_TRACE_INF("vdm | disabling vdms");
470
470
// Set Disable (Poweron is cleared in Stop4 Entry)
471
471
CME_PUTSCOM (PPM_VDMCR_OR , core_mask , BIT64 (1 ));
472
472
}
@@ -643,7 +643,7 @@ inline uint32_t update_vdm_jump_values_in_dpll(uint32_t pstate, uint32_t region)
643
643
// Clear jump enable (drop to Mode 2)
644
644
nonatomic_ippm_write (QPPM_DPLL_CTRL_CLR , BIT64 (1 ));
645
645
// Poll for lock
646
- PK_TRACE_INF ("Poll on DPLL_STAT[block_active|lock]" );
646
+ // PK_TRACE_INF("Poll on DPLL_STAT[block_active|lock]");
647
647
648
648
// ... to indicate that the DPLL is safely either at the new frequency
649
649
// or in droop protection below the new frequency
@@ -816,9 +816,9 @@ void p9_cme_resclk_update(ANALOG_TARGET target, uint32_t next_idx, uint32_t curr
816
816
uint64_t val ;
817
817
int32_t step ;
818
818
819
- PK_TRACE_DBG ("resclk | target=%08x" , (uint32_t )target );
820
- PK_TRACE_DBG ("resclk | curr_idx=%d" , curr_idx );
821
- PK_TRACE_DBG ("resclk | next_idx=%d" , next_idx );
819
+ // PK_TRACE_DBG("resclk | target=%08x", (uint32_t)target);
820
+ // PK_TRACE_DBG("resclk | curr_idx=%d", curr_idx);
821
+ // PK_TRACE_DBG("resclk | next_idx=%d", next_idx);
822
822
823
823
// Determine the step polarity, step is not used if curr_idx == next_idx
824
824
if (curr_idx < next_idx )
0 commit comments