[LTP] thermal: add new test group

Kubaj, Piotr piotr.kubaj@intel.com
Mon May 18 10:11:45 CEST 2026


I set it to 300s, as requested, because attempts to set it to 60s and
120s gave some failures when running with -i 10.

2026-05-15 (金) の 16:42 +0200 に Petr Vorel さんは書きました:
> Hi all,
> 
> actually v20 is better than this v21 => setting it changes requested.
> I'd prefer to merge v20.
> 
> > Hi Piotr,
> 
> > On Thu, 14 May 2026 15:34:47 +0200, Piotr Kubaj wrote:
> > > thermal: add new test group
> 
> > > +	while (sleep_time > 0) {
> > > +		...
> > > +		if (temp > temp_high)
> > > +			break;
> > > +		sleep(sleep_time--);
> 
> > G2: sleep() used for synchronization. This is not a timer API test
> > so
> > the G2 exemption does not apply. Consider polling with
> > tst_timer_expired_ms() or discuss with maintainers if a thermal-
> > specific
> > exception is appropriate.
> 
> > > +			tst_res(TINFO, "Cooling down for %d
> > > seconds", COOLDOWN);
> > > +			sleep(COOLDOWN);
> 
> > G2: Same issue — sleep() used as a synchronization barrier for CPU
> > cooldown between zone tests. If a non-sleep alternative is
> > genuinely
> > infeasible for thermal testing, this needs explicit justification
> > in the
> > commit message.
> 
> Yes, cooldown could have been mentioned in the commit message, I'll
> add it for
> v20.
> 
> Kind regards,
> Petr
---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.
Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach handlowych.

Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.


More information about the ltp mailing list