[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200728204059.GF1012@bug>
Date: Tue, 28 Jul 2020 22:40:59 +0200
From: Pavel Machek <pavel@....cz>
To: Sumeet Pawnikar <sumeet.r.pawnikar@...el.com>
Cc: rjw@...ysocki.net, rui.zhang@...el.com, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, andriy.shevchenko@...el.com,
srinivas.pandruvada@...ux.intel.com
Subject: Re: [PATCH v2] powercap: Add Power Limit4 support
Hi!
> Modern Intel Mobile platforms support power limit4 (PL4), which is
> the SoC package level maximum power limit (in Watts). It can be used
> to preemptively limits potential SoC power to prevent power spikes
> from tripping the power adapter and battery over-current protection.
> This patch enables this feature by exposing package level peak power
> capping control to userspace via RAPL sysfs interface. With this,
> application like DTPF can modify PL4 power limit, the similar way
> of other package power limit (PL1).
> As this feature is not tested on previous generations, here it is
> enabled only for the platform that has been verified to work,
> for safety concerns.
So what happens when the user sets this too high? Battery on fire? Or just sudden
poweroff?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Powered by blists - more mailing lists