diff for duplicates of <555A39EA.1060608@kapsi.fi> diff --git a/a/1.txt b/N1/1.txt index 6b3e5a5..98ff3cb 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -8,11 +8,11 @@ On 05/18/2015 09:44 PM, Brian Norris wrote: >> >> I wonder how we can protect against such off-by-one errors anyway. >> Generally a hardware might operate on raw values rather than directly ->> in temperature values in °C. This means a driver for this must have +>> in temperature values in ?C. This means a driver for this must have >> celsius_to_raw and raw_to_celsius conversion functions. Now it can >> happen that due to rounding errors celsius_to_raw(Tcrit) returns a raw >> value that when converted back to celsius is different from the ->> original value in °C. This would mean the hardware triggers an interrupt +>> original value in ?C. This would mean the hardware triggers an interrupt >> for a trip point and the thermal core does not react because get_temp >> actually returns a different temperature than previously programmed as >> interrupt trigger. This way we would lose hot (or cold) events. diff --git a/a/content_digest b/N1/content_digest index 9338361..bad6b16 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,19 +3,10 @@ "ref\05559ABAA.6040001@kapsi.fi\0" "ref\020150518120944.GQ6325@pengutronix.de\0" "ref\020150518184433.GS11598@ld-irv-0074\0" - "From\0Mikko Perttunen <mikko.perttunen@kapsi.fi>\0" - "Subject\0Re: [PATCH 11/15] thermal: thermal: Add support for hardware-tracked trip points\0" + "From\0mikko.perttunen@kapsi.fi (Mikko Perttunen)\0" + "Subject\0[PATCH 11/15] thermal: thermal: Add support for hardware-tracked trip points\0" "Date\0Mon, 18 May 2015 22:13:46 +0300\0" - "To\0Brian Norris <computersforpeace@gmail.com>" - " Sascha Hauer <s.hauer@pengutronix.de>\0" - "Cc\0linux-pm@vger.kernel.org" - Zhang Rui <rui.zhang@intel.com> - Eduardo Valentin <edubezval@gmail.com> - linux-kernel@vger.kernel.org - Stephen Warren <swarren@wwwdotorg.org> - kernel@pengutronix.de - linux-mediatek@lists.infradead.org - " linux-arm-kernel@lists.infradead.org\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "On 05/18/2015 09:44 PM, Brian Norris wrote:\n" @@ -28,11 +19,11 @@ ">>\n" ">> I wonder how we can protect against such off-by-one errors anyway.\n" ">> Generally a hardware might operate on raw values rather than directly\n" - ">> in temperature values in \302\260C. This means a driver for this must have\n" + ">> in temperature values in ?C. This means a driver for this must have\n" ">> celsius_to_raw and raw_to_celsius conversion functions. Now it can\n" ">> happen that due to rounding errors celsius_to_raw(Tcrit) returns a raw\n" ">> value that when converted back to celsius is different from the\n" - ">> original value in \302\260C. This would mean the hardware triggers an interrupt\n" + ">> original value in ?C. This would mean the hardware triggers an interrupt\n" ">> for a trip point and the thermal core does not react because get_temp\n" ">> actually returns a different temperature than previously programmed as\n" ">> interrupt trigger. This way we would lose hot (or cold) events.\n" @@ -77,4 +68,4 @@ "Cheers,\n" Mikko -cca9f4b936587183bfcf08058c766e27cc93ba4ba361f129497ec89d2a6774f3 +8ec833b3be05afd1c2ff3c99f21251aaa76291888568c8b74186ec5600d1d4c4
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.