File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -846,7 +846,7 @@ static void vmbus_wait_for_unload(void)
846846 /*
847847 * In a CoCo VM the hyp_synic_message_page is not allocated
848848 * in hv_synic_alloc(). Instead it is set/cleared in
849- * hv_synic_enable_regs () and hv_synic_disable_regs ()
849+ * hv_hyp_synic_enable_regs () and hv_hyp_synic_disable_regs ()
850850 * such that it is set only when the CPU is online. If
851851 * not all present CPUs are online, the message page
852852 * might be NULL, so skip such CPUs.
Original file line number Diff line number Diff line change @@ -268,9 +268,10 @@ void hv_synic_free(void)
268268}
269269
270270/*
271- * hv_synic_enable_regs - Initialize the Synthetic Interrupt Controller.
271+ * hv_hyp_synic_enable_regs - Initialize the Synthetic Interrupt Controller
272+ * with the hypervisor.
272273 */
273- void hv_synic_enable_regs (unsigned int cpu )
274+ void hv_hyp_synic_enable_regs (unsigned int cpu )
274275{
275276 struct hv_per_cpu_context * hv_cpu =
276277 per_cpu_ptr (hv_context .cpu_context , cpu );
@@ -337,14 +338,14 @@ void hv_synic_enable_regs(unsigned int cpu)
337338
338339int hv_synic_init (unsigned int cpu )
339340{
340- hv_synic_enable_regs (cpu );
341+ hv_hyp_synic_enable_regs (cpu );
341342
342343 hv_stimer_legacy_init (cpu , VMBUS_MESSAGE_SINT );
343344
344345 return 0 ;
345346}
346347
347- void hv_synic_disable_regs (unsigned int cpu )
348+ void hv_hyp_synic_disable_regs (unsigned int cpu )
348349{
349350 struct hv_per_cpu_context * hv_cpu =
350351 per_cpu_ptr (hv_context .cpu_context , cpu );
@@ -532,7 +533,7 @@ int hv_synic_cleanup(unsigned int cpu)
532533always_cleanup :
533534 hv_stimer_legacy_cleanup (cpu );
534535
535- hv_synic_disable_regs (cpu );
536+ hv_hyp_synic_disable_regs (cpu );
536537
537538 return ret ;
538539}
Original file line number Diff line number Diff line change @@ -190,10 +190,10 @@ extern int hv_synic_alloc(void);
190190
191191extern void hv_synic_free (void );
192192
193- extern void hv_synic_enable_regs (unsigned int cpu );
193+ extern void hv_hyp_synic_enable_regs (unsigned int cpu );
194194extern int hv_synic_init (unsigned int cpu );
195195
196- extern void hv_synic_disable_regs (unsigned int cpu );
196+ extern void hv_hyp_synic_disable_regs (unsigned int cpu );
197197extern int hv_synic_cleanup (unsigned int cpu );
198198
199199/* Interface */
Original file line number Diff line number Diff line change @@ -2810,7 +2810,7 @@ static void hv_crash_handler(struct pt_regs *regs)
28102810 */
28112811 cpu = smp_processor_id ();
28122812 hv_stimer_cleanup (cpu );
2813- hv_synic_disable_regs (cpu );
2813+ hv_hyp_synic_disable_regs (cpu );
28142814};
28152815
28162816static int hv_synic_suspend (void )
@@ -2835,14 +2835,14 @@ static int hv_synic_suspend(void)
28352835 * interrupts-disabled context.
28362836 */
28372837
2838- hv_synic_disable_regs (0 );
2838+ hv_hyp_synic_disable_regs (0 );
28392839
28402840 return 0 ;
28412841}
28422842
28432843static void hv_synic_resume (void )
28442844{
2845- hv_synic_enable_regs (0 );
2845+ hv_hyp_synic_enable_regs (0 );
28462846
28472847 /*
28482848 * Note: we don't need to call hv_stimer_init(0), because the timer
You can’t perform that action at this time.
0 commit comments