> -----Original Message-----
> From: Thomas Monjalon <[email protected]>
> Sent: Tuesday, October 20, 2020 5:13 AM
> To: Ruifeng Wang <[email protected]>; Honnappa Nagarahalli
> <[email protected]>
> Cc: [email protected]; Liang Ma <[email protected]>; Jan Viktorin
> <[email protected]>; David Christensen <[email protected]>;
> Bruce Richardson <[email protected]>; Konstantin Ananyev
> <[email protected]>; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]; Anatoly Burakov <[email protected]>;
> [email protected]
> Subject: Re: [dpdk-dev] [PATCH v7 02/10] eal: add power management
> intrinsics
> 
> 15/10/2020 14:04, Anatoly Burakov:
> > +/**
> > + * This function is not supported on ARM.
> > + */
> > +static inline void
> > +rte_power_monitor(const volatile void *p, const uint64_t
> expected_value,
> > +               const uint64_t value_mask, const uint64_t tsc_timestamp,
> > +               const uint8_t data_sz) {
> > +       RTE_SET_USED(p);
> > +       RTE_SET_USED(expected_value);
> > +       RTE_SET_USED(value_mask);
> > +       RTE_SET_USED(tsc_timestamp);
> > +       RTE_SET_USED(data_sz);
> > +}
> 
> Are you sure it cannot be partially supported with WFE instruction?
> 
Armv8 WFE instruction can support monitoring of specific address for changes, 
but not monitoring of TSC timestamp. 

Reply via email to