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

Oliver O'Halloran oohall at gmail.com
Mon Oct 21 16:53:26 AEDT 2019


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?


More information about the Skiboot mailing list