Home
last modified time | relevance | path

Searched hist:"74 e5ae28" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/ppc/
H A Dspapr_rtc.c74e5ae28 Thu Feb 05 21:55:53 CST 2015 David Gibson <david@gibson.dropbear.id.au> pseries: Export RTC time via QOM

On x86, the guest's RTC can be read with QMP, either from the RTC device's
"date" property or via the "rtc-time" property on the machine (which is an
alias to the former). This is set up in the mc146818rtc driver, and
doesn't work on other targets.

This patch adds a similar "date" property to the pseries machine's RTAS RTC
and adds a compatible alias to the machine.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
H A Dspapr.c74e5ae28 Thu Feb 05 21:55:53 CST 2015 David Gibson <david@gibson.dropbear.id.au> pseries: Export RTC time via QOM

On x86, the guest's RTC can be read with QMP, either from the RTC device's
"date" property or via the "rtc-time" property on the machine (which is an
alias to the former). This is set up in the mc146818rtc driver, and
doesn't work on other targets.

This patch adds a similar "date" property to the pseries machine's RTAS RTC
and adds a compatible alias to the machine.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>