<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-pid-control, 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>Start phoshphor-pid-control after fansensor</title>
<updated>2019-11-07T00:35:31+00:00</updated>
<author>
<name>Peter Lundgren</name>
<email>peterlundgren@google.com</email>
</author>
<published>2019-11-06T23:47:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=75c65d9a3dcf4401ae88708a65bd1f43bbd2244f'/>
<id>urn:sha1:75c65d9a3dcf4401ae88708a65bd1f43bbd2244f</id>
<content type='text'>
Occasionally, phosphor-pid-control fails to start logging:

    swampd[2688]: terminate called after throwing an instance of 'std::runtime_error'
    swampd[2688]:   what():  ObjectMapper Call Failure

This happens multiple times:

    systemd[1]: phosphor-pid-control.service: Main process exited, code=killed, status=6/ABRT
    systemd[1]: phosphor-pid-control.service: Failed with result 'signal'.
    systemd[1]: phosphor-pid-control.service: Service RestartSec=1s expired, scheduling restart.
    systemd[1]: phosphor-pid-control.service: Scheduled restart job, restart counter is at 2.
    systemd[1]: Stopped Swampd Margin-based Fan Control Daemon.
    systemd[1]: phosphor-pid-control.service: Start request repeated too quickly.
    systemd[1]: phosphor-pid-control.service: Failed with result 'signal'.
    systemd[1]: Failed to start Swampd Margin-based Fan Control Daemon.

and systemd gives up and stops trying to restart the service.

    $ systemctl --no-page status phosphor-pid-control.service
    * phosphor-pid-control.service - Swampd Margin-based Fan Control Daemon
       Loaded: loaded (/lib/systemd/system/phosphor-pid-control.service; enabled; vendor preset: enabled)
       Active: failed (Result: signal) since Thu 2019-10-31 18:05:11 UTC; 1min 56s ago
      Process: 2738 ExecStart=/usr/bin/swampd (code=killed, signal=ABRT)
     Main PID: 2738 (code=killed, signal=ABRT)

xyz.openbmc_project.fansensor.service is the service from dbus-sensors
that phosphor-pid-control uses to interact with the fans and pwms.
phosphor-pid-control should not start until after fansensor.

Tested:
swampd comes up reliably on a system using
xyz.openbmc_project.fansensor.service. I have not tried a system that
isn't using dbus-sensors.
Signed-off-by: Peter Lundgren &lt;peterlundgren@google.com&gt;
Change-Id: Iec019bfabcc77279c7dfe8d4899ac07c1c41a428
</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>build: drop flto option to workaround gcc issue</title>
<updated>2019-09-09T20:04:06+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-09-09T19:27:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=86a1820b6d0e8521a155102b61bfd7a7983d6538'/>
<id>urn:sha1:86a1820b6d0e8521a155102b61bfd7a7983d6538</id>
<content type='text'>
main.o swampd-util.o  ./.libs/libswampd.a -lstdc++fs -lphosphor_logging
-lsdbusplus -lsystemd -lphosphor_dbus
00:59:59 | lto1: internal compiler error: in add_symbol_to_partition_1,
at lto/lto-partition.c:154

Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: I387d1530ff7daaa217dce980e357ea612f7ddfdb
</content>
</entry>
<entry>
<title>sensors: buildjson: only load min/max if type fan</title>
<updated>2019-08-29T17:06:29+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-08-29T17:06:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=35906cc3d099d1452a49d6bf0cca677a121906a6'/>
<id>urn:sha1:35906cc3d099d1452a49d6bf0cca677a121906a6</id>
<content type='text'>
The min/max value in the json configuration only provide meaning in the
context of a fan sensor.  This patch only loads the configuration
options in that case, and reports a warning if otherwise detected.

Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: I20898ab3c87f4e9c6005683420a30c6685944c96
</content>
</entry>
<entry>
<title>sensors: buildjson: minor min/max cleanup</title>
<updated>2019-08-29T16:49:43+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-08-29T16:35:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=c7ab57e9bdbcc7aa51c51f89aff5aa0898882ee2'/>
<id>urn:sha1:c7ab57e9bdbcc7aa51c51f89aff5aa0898882ee2</id>
<content type='text'>
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: I9d01753a40f1146d49e1a03a18dbea704f3fff84
</content>
</entry>
<entry>
<title>s/swampd.service/phosphor-pid-control.service/g</title>
<updated>2019-07-18T18:17:06+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-07-18T18:17:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=a7ec8350d17b70153cebe666d3fbe88bddd02a1a'/>
<id>urn:sha1:a7ec8350d17b70153cebe666d3fbe88bddd02a1a</id>
<content type='text'>
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: Ia1f08915f5541142cb3e10aa68043d3d2cad0167
</content>
</entry>
<entry>
<title>rename away from RPM</title>
<updated>2019-07-16T22:17:11+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-07-16T21:31:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=f7a2dd5cbdd2dd5c3b892152f5a2e46d280f98de'/>
<id>urn:sha1:f7a2dd5cbdd2dd5c3b892152f5a2e46d280f98de</id>
<content type='text'>
The SetPoint output from a thermal PID is likely RPM, and that value is
then fed into a fan controller PID as the set-point (unit: RPM).  This
does not have to be RPM, however.  Continue renaming variables and
methods to remove the explicit unit-naming.

Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: I570dee0c688338f9a458cac7123314717bee2b42
</content>
</entry>
<entry>
<title>rename RPMSetPoint to SetPoint</title>
<updated>2019-07-16T21:16:01+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-07-16T17:50:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-pid-control/commit/?id=9bbf333d0c4b6bb47959ef6d0395949fa0fe386c'/>
<id>urn:sha1:9bbf333d0c4b6bb47959ef6d0395949fa0fe386c</id>
<content type='text'>
The PIDs were originally focused on collecting RPM set points from
thermal PIDs and then having fan PIDs use the highest value collected,
it doesn't need to be strictly an RPM set point.

It does however need to be one type of value.

Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: I1d589cf4b2688d7e86030c10496d737dc5bbdadf
</content>
</entry>
</feed>
