On Thu, Oct 17, 2019 at 6:50 AM Peter Maydell wrote:
>
> Switch the xilinx_timer code away from bottom-half based ptimers to
> the new transaction-based ptimer API. This just requires adding
> begin/commit calls around the various places that modify the ptimer
> state, and using the new ptimer_in
On 10/17/19 5:03 PM, Peter Maydell wrote:
On Thu, 17 Oct 2019 at 15:57, Philippe Mathieu-Daudé wrote:
Hi Peter,
On 10/17/19 3:21 PM, Peter Maydell wrote:
+/* Must be called inside ptimer transaction block */
static void timer_enable(struct xlx_timer *xt)
{
uint64_t count;
@@ -17
On Thu, 17 Oct 2019 at 15:57, Philippe Mathieu-Daudé wrote:
>
> Hi Peter,
>
> On 10/17/19 3:21 PM, Peter Maydell wrote:
> > +/* Must be called inside ptimer transaction block */
> > static void timer_enable(struct xlx_timer *xt)
> > {
> > uint64_t count;
> > @@ -174,8 +173,11 @@ timer_wr
Hi Peter,
On 10/17/19 3:21 PM, Peter Maydell wrote:
Switch the xilinx_timer code away from bottom-half based ptimers to
the new transaction-based ptimer API. This just requires adding
begin/commit calls around the various places that modify the ptimer
state, and using the new ptimer_init() func
On 10/17/19 6:21 AM, Peter Maydell wrote:
> Switch the xilinx_timer code away from bottom-half based ptimers to
> the new transaction-based ptimer API. This just requires adding
> begin/commit calls around the various places that modify the ptimer
> state, and using the new ptimer_init() function
Switch the xilinx_timer code away from bottom-half based ptimers to
the new transaction-based ptimer API. This just requires adding
begin/commit calls around the various places that modify the ptimer
state, and using the new ptimer_init() function to create the timer.
Signed-off-by: Peter Maydell