Searched hist:"5 cc7e69f6da5c52a0ac9f48ace40caf91fce807d" (Results 1 – 5 of 5) sorted by relevance
/qemu/target/ppc/ |
H A D | timebase_helper.c | 5cc7e69f6da5c52a0ac9f48ace40caf91fce807d Thu Nov 28 13:46:55 UTC 2019 Suraj Jitindar Singh <sjitindarsingh@gmail.com> target/ppc: Work [S]PURR implementation and add HV support
The Processor Utilisation of Resources Register (PURR) and Scaled Processor Utilisation of Resources Register (SPURR) provide an estimate of the resources used by the thread, present on POWER7 and later processors.
Currently the [S]PURR registers simply count at the rate of the timebase.
Preserve this behaviour but rework the implementation to store an offset like the timebase rather than doing the calculation manually. Also allow hypervisor write access to the register along with the currently available read access.
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> [ clg: rebased on current ppc tree ] Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20191128134700.16091-3-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|
H A D | helper.h | 5cc7e69f6da5c52a0ac9f48ace40caf91fce807d Thu Nov 28 13:46:55 UTC 2019 Suraj Jitindar Singh <sjitindarsingh@gmail.com> target/ppc: Work [S]PURR implementation and add HV support
The Processor Utilisation of Resources Register (PURR) and Scaled Processor Utilisation of Resources Register (SPURR) provide an estimate of the resources used by the thread, present on POWER7 and later processors.
Currently the [S]PURR registers simply count at the rate of the timebase.
Preserve this behaviour but rework the implementation to store an offset like the timebase rather than doing the calculation manually. Also allow hypervisor write access to the register along with the currently available read access.
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> [ clg: rebased on current ppc tree ] Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20191128134700.16091-3-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|
H A D | cpu.h | 5cc7e69f6da5c52a0ac9f48ace40caf91fce807d Thu Nov 28 13:46:55 UTC 2019 Suraj Jitindar Singh <sjitindarsingh@gmail.com> target/ppc: Work [S]PURR implementation and add HV support
The Processor Utilisation of Resources Register (PURR) and Scaled Processor Utilisation of Resources Register (SPURR) provide an estimate of the resources used by the thread, present on POWER7 and later processors.
Currently the [S]PURR registers simply count at the rate of the timebase.
Preserve this behaviour but rework the implementation to store an offset like the timebase rather than doing the calculation manually. Also allow hypervisor write access to the register along with the currently available read access.
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> [ clg: rebased on current ppc tree ] Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20191128134700.16091-3-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|
/qemu/include/hw/ppc/ |
H A D | ppc.h | 5cc7e69f6da5c52a0ac9f48ace40caf91fce807d Thu Nov 28 13:46:55 UTC 2019 Suraj Jitindar Singh <sjitindarsingh@gmail.com> target/ppc: Work [S]PURR implementation and add HV support
The Processor Utilisation of Resources Register (PURR) and Scaled Processor Utilisation of Resources Register (SPURR) provide an estimate of the resources used by the thread, present on POWER7 and later processors.
Currently the [S]PURR registers simply count at the rate of the timebase.
Preserve this behaviour but rework the implementation to store an offset like the timebase rather than doing the calculation manually. Also allow hypervisor write access to the register along with the currently available read access.
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> [ clg: rebased on current ppc tree ] Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20191128134700.16091-3-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|
/qemu/hw/ppc/ |
H A D | ppc.c | 5cc7e69f6da5c52a0ac9f48ace40caf91fce807d Thu Nov 28 13:46:55 UTC 2019 Suraj Jitindar Singh <sjitindarsingh@gmail.com> target/ppc: Work [S]PURR implementation and add HV support
The Processor Utilisation of Resources Register (PURR) and Scaled Processor Utilisation of Resources Register (SPURR) provide an estimate of the resources used by the thread, present on POWER7 and later processors.
Currently the [S]PURR registers simply count at the rate of the timebase.
Preserve this behaviour but rework the implementation to store an offset like the timebase rather than doing the calculation manually. Also allow hypervisor write access to the register along with the currently available read access.
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> [ clg: rebased on current ppc tree ] Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20191128134700.16091-3-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|