<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-pid-control/dbus, branch master</title>
<subtitle>OpenBMC Phosphor PID controller daemon sources</subtitle>
<id>https://git.raptorcs.com/git/phosphor-pid-control/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-pid-control/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/'/>
<updated>2019-11-12T00:54:46+00:00</updated>
<entry>
<title>Set ignoreDbusMinMax for Stepwise</title>
<updated>2019-11-12T00:54:46+00:00</updated>
<author>
<name>James Feist</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-11-12T00:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=3660b3888af789266b6c84714b4e161a32e6ea54'/>
<id>urn:sha1:3660b3888af789266b6c84714b4e161a32e6ea54</id>
<content type='text'>
Temperature readings should not be in percent. Add
ignoreDbusMinMax as inheritFromDbus was removed.

Tested: modified fan floor by changing stepwise controller

Change-Id: I1bf4e15ca78bc894dc82dd68e787fd6fbd3d0aef
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Add ignoreDbusMinMax to temp configurations</title>
<updated>2019-11-12T00:12:45+00:00</updated>
<author>
<name>James Feist</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-11-12T00:12:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=3433cb60f94dc6761173778d326ba78fdd0046a8'/>
<id>urn:sha1:3433cb60f94dc6761173778d326ba78fdd0046a8</id>
<content type='text'>
Originally 'inheritFromDBus' was only set for fan
configurations. This was removed, so now everything
was inheriting from Dbus. Set the inverse of
'inheritFromDBus' of ignoreDbusMinMax to temp configurations
so that they get the correct reading.

Tested: Used sensor override in a loop on a sensor and
saw the reading in the pid be correct

Change-Id: I29dab298921f9c5204d29341555f2c5d2d011aa2
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>conf: add ignoreDbusMinMax option</title>
<updated>2019-09-10T17:47:17+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-09-10T16:18:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=6b9f59991b7f694866c98775b4179ae97c5e69a8'/>
<id>urn:sha1:6b9f59991b7f694866c98775b4179ae97c5e69a8</id>
<content type='text'>
Add an optional field to the sensor configuration, s.t. it'll tell a
dbus passive sensor to ignore the MinValue and MaxValue properties from
dbus.

Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: Ia6a8c802c2dc5bf41e5e860b21d7764cc09e6b6b
</content>
</entry>
<entry>
<title>Allow setting setpoint based on dynamic thresholds</title>
<updated>2019-07-16T14:47:18+00:00</updated>
<author>
<name>James Feist</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-07-10T18:59:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=5ec202704d9952674ff91e5741ac00581733f73e'/>
<id>urn:sha1:5ec202704d9952674ff91e5741ac00581733f73e</id>
<content type='text'>
As we allow dynamic thresholds in dbus-sensors to track
the t-control of dimms etc, we want to be able to set a
setpoint based on a offset from a threshold. This adds
the ability to create a "SetPointOffset" that is a
threshold of the given sensor. For instance a "SetPointOffset"
of "WarningHigh" would get the sensors "WarningHigh" value
then add the "SetPoint" value to it (commonly negative for
WarningHigh/CriticalHigh).

Tested: Turned on debug print and saw correct setpoint being
loaded into config

Change-Id: Idb9760ea5a66347f24573fb26937f8f278834a19
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>sensors: ignore min/max in json for D-Bus passive sensor read</title>
<updated>2019-07-11T16:55:51+00:00</updated>
<author>
<name>Kun Yi</name>
<email>kunyi731@gmail.com</email>
</author>
<published>2019-07-11T05:26:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=fc2e803f5d9256944e18c7c878a441606b1f121c'/>
<id>urn:sha1:fc2e803f5d9256944e18c7c878a441606b1f121c</id>
<content type='text'>
min/max values were meant to scale write to be PWM, but were
overloaded in commit 75eb769d351434547899186f73ff70ae00d7934a
to scale sensor read to percent as well. However currently the D-Bus sensors
built from JSON can only specify one pair of min/max values,so they
cannot be used for both read/write interfaces.

Fix the behavior by ignoring min/max in settings when building D-Bus passive
read interface and only read them from D-Bus.

Tested:
  D-Bus passive sensor value is no longer scaled if there is no
  MinValue/MaxValue specified.

Resolves: openbmc/phosphor-pid-control#14

Signed-off-by: Kun Yi &lt;kunyi731@gmail.com&gt;
Change-Id: I206bbe75c77e79f765eca76cfa015321dcba4aa7
</content>
</entry>
<entry>
<title>util: Avoid division by invalid value</title>
<updated>2019-07-11T04:58:32+00:00</updated>
<author>
<name>Kun Yi</name>
<email>kunyi731@gmail.com</email>
</author>
<published>2019-07-11T04:58:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=6aae76f435209f6324c18f0ba3376ade7f35b848'/>
<id>urn:sha1:6aae76f435209f6324c18f0ba3376ade7f35b848</id>
<content type='text'>
Check for max &gt; min before dividing by difference

Signed-off-by: Kun Yi &lt;kunyi731@gmail.com&gt;
Change-Id: Ic2a983bb6f7c04f1deafcab228b76ff60012f011
</content>
</entry>
<entry>
<title>dbuspassive: Fix typo in variable check</title>
<updated>2019-07-11T04:55:58+00:00</updated>
<author>
<name>Kun Yi</name>
<email>kunyi731@gmail.com</email>
</author>
<published>2019-07-11T04:55:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=5e52eab95dc943511c37a3c94a14f7bd0cabec18'/>
<id>urn:sha1:5e52eab95dc943511c37a3c94a14f7bd0cabec18</id>
<content type='text'>
When setting min, should check for min instead of max.

Signed-off-by: Kun Yi &lt;kunyi731@gmail.com&gt;
Change-Id: I0097bb329408f807fea6d68ca0055c5d8215aba3
</content>
</entry>
<entry>
<title>dbusconfiguration: Protect better against bad config</title>
<updated>2019-06-24T23:18:40+00:00</updated>
<author>
<name>James Feist</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-06-24T23:18:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=11d243dfdd647afe471d650c4408627361f2acf3'/>
<id>urn:sha1:11d243dfdd647afe471d650c4408627361f2acf3</id>
<content type='text'>
Configurations with no input are not allowed. The
current code looked for if there were any sensors
avaiable. On our systems an input was not being
displayed due to a bug, but the output was there,
causing pid control to crash. Protect against this
issue.

Tested: Had sensor bug in tree, and pid control didn't
segfault

Change-Id: I42869748bac0b85affae5f5c671b859fec996a54
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Add Fan Redundancy Support</title>
<updated>2019-06-05T17:21:16+00:00</updated>
<author>
<name>James Feist</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-06-03T23:24:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=98b704e179f12d987179fe6b0ea6234d1bace48f'/>
<id>urn:sha1:98b704e179f12d987179fe6b0ea6234d1bace48f</id>
<content type='text'>
This adds fan redundancy support to passive sensors.
If there are redundancy interfaces on dbus, we'll fail
a sensor if the status is set to failed.

Tested: Set Redundancy to Failed On Dbus, saw all fans
in collection boost. Then restarted swampd, came up
and still boosted. Set redundancy OK, and they all slowed
down.

Change-Id: I8879bef1471bbc168435d6b22dd20006b9dca133
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Remove FanProfile configuration</title>
<updated>2019-05-13T17:48:11+00:00</updated>
<author>
<name>James Feist</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-05-13T17:43:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=3987c8b499e07e2247a0c1c389fe909bcef3b268'/>
<id>urn:sha1:3987c8b499e07e2247a0c1c389fe909bcef3b268</id>
<content type='text'>
If we add a "Profiles" vector into the PID and Stepwise
entity-manager configurations the logic becomes much more
simple. We default to all profiles, and can limit the scope
of some configurations to the selected profile.

Tested: Switched between Acoustic/Performance mode and saw
a UpperClippingCurve get added / removed.

Change-Id: Ib0448b59210f696c8a28a99da06f98b065eadf08
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
</feed>
