[Skiboot] [PATCH 05/12] qemu: 1ms heartbeat time

Cédric Le Goater clg at kaod.org
Mon Oct 21 21:13:48 AEDT 2019


On 21/10/2019 07:53, Oliver O'Halloran wrote:
> On Fri, Oct 18, 2019 at 8:56 AM Deb McLemore <debmc at linux.ibm.com> wrote:
>>
>> From: Stewart Smith <stewart at linux.ibm.com>
>>
>> Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
>> ---
>>  platforms/qemu/qemu.c | 9 +++++++++
>>  1 file changed, 9 insertions(+)
>>
>> diff --git a/platforms/qemu/qemu.c b/platforms/qemu/qemu.c
>> index 757c086..71be716 100644
>> --- a/platforms/qemu/qemu.c
>> +++ b/platforms/qemu/qemu.c
>> @@ -42,6 +42,14 @@ static bool qemu_probe_powernv9(void)
>>         return qemu_probe_common("qemu,powernv9");
>>  }
>>
>> +static int qemu_heartbeat_time(void)
>> +{
>> +       /*
>> +        * Fast polling to make up for lack of SBE timers
>> +        */
>> +       return 1;
> 
> Cedric, is this still required or does qemu model the SBE timer interrupt now?

QEMU does not model the SBE and I wasn't aware of that patch. 

Do you have more info on the root problem ?

Thanks,

C. 

 



More information about the Skiboot mailing list