Re: [PATCH 1/6] thermal/intel: Introduce Intel TCC library

srinivas pandruvada
2022-12-09T16:37:10Z

On Fri, 2022-12-09 at 21:32 +0800, Zhang Rui wrote:
> > >
> > > >

[...]

> > > > Well, what if somebody change tjmax on this cpu while this
> > > > function
> > > > is running?
> > >
> > > tjmax is read only. Only firmware can change its value at
> > > runtime,
> > > say
> > > this field is updated when SST-PP level is changed.
> >
> > Do we get any type of notification on tjmax changes, or do we need
> > to
> > poll for it?
>
> I'm not aware of such a notification.
> Srinivas, do you know if there is one?
There is no explicit notification. You can infer from HWP guaranteed
change interrupt.

Thanks,
Srinivas

>
> thanks,
> rui
>
>