History log of /openbmc/openpower-occ-control/ (Results 226 – 250 of 260)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
18dc128129-Aug-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Change signature of getService

getService() has [bus, interface, path] as parameter and
the caller invoked it with [bus, path, interface] and that
resulted in a failure. Although the fix can be put

Change signature of getService

getService() has [bus, interface, path] as parameter and
the caller invoked it with [bus, path, interface] and that
resulted in a failure. Although the fix can be put into the
caller to pass the right arguments, better fix would be to
change the signature of getService() to receive path and then
the interface as that is what has been followed all over and
the deviation resulted in this bug.

Change-Id: I3efe7f4f0a2d0bceb7e6e801cd68de6b2624fbe0
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...

6c56a4a813-Jul-2017 Lei YU <mine260309@gmail.com>

Add unit tests for utils and refactor Makefiles

1. Add unit tests for utils;
2. Put the common code shared by app and utest into a library, and link the
library to app and utest.
This eliminates the

Add unit tests for utils and refactor Makefiles

1. Add unit tests for utils;
2. Put the common code shared by app and utest into a library, and link the
library to app and utest.
This eliminates the duplicated compiled objects.
3. Update .gitignore

Change-Id: I05ee93c2b23748a1e038eeec3534d49b94911366
Signed-off-by: Lei YU <mine260309@gmail.com>

show more ...

0ab90ca713-Jul-2017 Lei YU <mine260309@gmail.com>

Add I2C OCC support for P8 systems

P8 system uses I2C OCC and it uses different driver for occ-hwmon.
Add `--enable-i2c-occ` configure option to enable the support.

It searches i2c device names in

Add I2C OCC support for P8 systems

P8 system uses I2C OCC and it uses different driver for occ-hwmon.
Add `--enable-i2c-occ` configure option to enable the support.

It searches i2c device names in sysfs to get all occ-hwmon devices and
use the i2c device name to bind/unbind the driver.

The occ control object path for I2C OCC hwmon becomes something like
/org/open_power/control/3_0050, where 3_0050 is the i2c address.

Change-Id: I8b9d8d4429c563528dc88fb2679b265c53d7a2d5
Signed-off-by: Lei YU <mine260309@gmail.com>

show more ...

3ace757622-Aug-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Only consider CPUs that are Present and Functional

OCC control application looks at CPU inventory and creates
D-Bus objects. In some of the cases, hostboot marks the CPU
as Not Present but also mark

Only consider CPUs that are Present and Functional

OCC control application looks at CPU inventory and creates
D-Bus objects. In some of the cases, hostboot marks the CPU
as Not Present but also marks Functional and this results in
creating an OCC object for the CPU which is not present.

Need to filter CPUs based on Present and Functional properties
to address the issue and this commit adds that support.

Fixes openbmc/openbmc#2024

Change-Id: I58a06bfd09131bc3deba8f132547095c53bde5e1
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...

1ec291fb21-Aug-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Remove creating sdbusplus handler in occ_finder

occ finder was creating a separate sdbusplus handler
to access the Inventory instead of using the one which
is already available. This commit will enf

Remove creating sdbusplus handler in occ_finder

occ finder was creating a separate sdbusplus handler
to access the Inventory instead of using the one which
is already available. This commit will enforce using the
bus which is already created.

Change-Id: Ic256f185b67c661ba551139d5e057eee3ac67c7e
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...

2dc9b1a218-Aug-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Enable OCC error monitoring

Fixes openbmc/openbmc#2165

Change-Id: I93f317a32c910f279003fa0fce6ae2d597f90312
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

715595b616-Aug-2017 Andrew Geissler <andrewg@us.ibm.com>

Reset hub scan variable when OCC goes inactive

Need to re-scan the second processors hub chip on
every boot of the system

Resolves openbmc/openbmc#2161

Change-Id: I089140333462d83f66a0ad207fecb679

Reset hub scan variable when OCC goes inactive

Need to re-scan the second processors hub chip on
every boot of the system

Resolves openbmc/openbmc#2161

Change-Id: I089140333462d83f66a0ad207fecb679cba79210
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>

show more ...

3e5422ed10-Aug-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Delay opening OCC device until bind

Fixes openbmc/openbmc#2118

Change-Id: If9e2610fe7443daa2196b0e5989f81bc544266b2
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

d298105d09-Aug-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Call Hub FSI scan service prior to doing OCC bind

This is needed to make sure that the /dev/occ files are created
that are needed to communicate with OCC device. Also, calling to
this service is nee

Call Hub FSI scan service prior to doing OCC bind

This is needed to make sure that the /dev/occ files are created
that are needed to communicate with OCC device. Also, calling to
this service is needed only when the first call to do OCC bind is
received.

Change-Id: I40466b8b74753b2f2366be385a8b066e912b32e4
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...

30e329ad24-Jul-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Reset OCC on error condition

After detecting the error in the OCC, invokes OccReset command
in Host Control dbus object with the sensor ID of the failing OCC

Fixes openbmc/openbmc#1363

Change-Id:

Reset OCC on error condition

After detecting the error in the OCC, invokes OccReset command
in Host Control dbus object with the sensor ID of the failing OCC

Fixes openbmc/openbmc#1363

Change-Id: I608dbbb943d3b39d0709d6f350ab799e771a13e9
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...

6add0b8121-Jul-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Use generated occ to sensor ID map

Change-Id: I948cc33ef05c2c49353277f4d5df958012a9801f
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

5f031f3c26-Jul-2017 Deepak Kodihalli <dkodihal@in.ibm.com>

Reconstruct OCC objects on app restart

The OCC objects would get created when corresponding CPU inventory items
get added. This doesn't cover a scenario where the OCC app restarts.

If the CPU inven

Reconstruct OCC objects on app restart

The OCC objects would get created when corresponding CPU inventory items
get added. This doesn't cover a scenario where the OCC app restarts.

If the CPU inventory is already present when the app starts, construct
OCC objects as well.

Resolves openbmc/openbmc#1824.

Change-Id: I4994d93ba6f528ca67977604ccb1da717563092a
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>

show more ...

ee4d83df29-Jun-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Add support to watch for OCC errors

Change-Id: I98d95020a2d01e281e5c8efa825d6b4bd4c6c160
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

554d600521-Jul-2017 Andrew Geissler <andrewg@us.ibm.com>

Fix master occ name in openpower-occ-control

Resolves openbmc/openbmc#2005

Change-Id: I3ce16566f442872b11b10d8db752a29bf803d1e4
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>

6ac874e110-Jul-2017 Andrew Geissler <andrewg@us.ibm.com>

Notify OCC of pcap setting changes

Resolves openbmc/openbmc#948

Change-Id: I03193b07ddaf380468bd0c0e62a41220bdeaecce
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>

4cea4d2b10-Jul-2017 Andrew Geissler <andrewg@us.ibm.com>

Determine pcap value to send to occ

Change-Id: Ie60aac151f5fd8ce091020ce756834e4877cbc93
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>

52cf26a806-Jul-2017 Andrew Geissler <andrewg@us.ibm.com>

Create pcap object and log monitored events

Change-Id: I2d7b3a449e2c9c1d5a0627161f8e85dcaca1e087
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>

32016d1820-Jun-2017 Andrew Geissler <andrewg@us.ibm.com>

Register callbacks for pcap property changes

Change-Id: I39b38a931ffdf260d9ee45f02cdd31e9e884b04d
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>

805e04bf20-Jun-2017 Andrew Geissler <andrewg@us.ibm.com>

Add .gitignore for openpower-occ-control repo

Change-Id: I0637558da8f984af7628fcb44c6d1a2eb6bce4de
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>

32e84e9828-Jun-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Add Support to do device bind and unbind based on OCC status

Fixes openbmc/openbmc#1698

Change-Id: Iaa33c3065b0358b62e3ec7e39d4b57c6b9d181e1
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.i

Add Support to do device bind and unbind based on OCC status

Fixes openbmc/openbmc#1698

Change-Id: Iaa33c3065b0358b62e3ec7e39d4b57c6b9d181e1
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...

307d80b328-Jun-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Implement OCC status interface

Change-Id: I43822cb28bc2d23398fb09352c9876e169c666f7
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

2180b2da28-Jun-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Change occ control service name

Currently, only thing that OCC controller does is create PassThrough
objects. However, there is a need now to create OCC Status objects
and hence some restructuring i

Change occ control service name

Currently, only thing that OCC controller does is create PassThrough
objects. However, there is a need now to create OCC Status objects
and hence some restructuring is needed to consume that.

Since OCC control now is doing more than one thing, service name is
changed to map to that.

Change-Id: I466979a873d6f14385eb59d0e9d9f3a8b3f95a9b
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...

fd358d1808-May-2017 Deepak Kodihalli <dkodihal@in.ibm.com>

Create OCC pass-through objects

Create OCC pass-through d-bus objects when corresponding CPU objects are
created in the inventory.

Resolves openbmc/openbmc#1450.

Change-Id: I8da879f51ebef8dcc3d253

Create OCC pass-through objects

Create OCC pass-through d-bus objects when corresponding CPU objects are
created in the inventory.

Resolves openbmc/openbmc#1450.

Change-Id: I8da879f51ebef8dcc3d25358def81c5e0dce0617
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>

show more ...

d13694a001-Jun-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Use /dev/occ instead of /dev/occfifo

Initially, the occ fifo devices were named as /dev/occfifo1..N
but it has been renamed to /dev/occ1..N.

Fixes openbmc/openbmc#1696

Change-Id: Ibf37cc3f61a85a46

Use /dev/occ instead of /dev/occfifo

Initially, the occ fifo devices were named as /dev/occfifo1..N
but it has been renamed to /dev/occ1..N.

Fixes openbmc/openbmc#1696

Change-Id: Ibf37cc3f61a85a46accd678a55e1b2b6019bd6e5
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...

7d700e2619-May-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Fix data format used in OCC communication

Amester and OCC understand only the sequence that is in bytes.
Current OCC pass-through was sending chunk of 4 bytes and that
was breaking the protocol. Sin

Fix data format used in OCC communication

Amester and OCC understand only the sequence that is in bytes.
Current OCC pass-through was sending chunk of 4 bytes and that
was breaking the protocol. Since the REST server only handles 4
bytes, OCC pass-through needs to convert array of 4 bytes into
array of 2 bytes prior to sending to OCC driver.

Similarly, pass-through reader now needs to read one byte at a time
than 4 bytes.

Change-Id: Ifc24636f6b1dfb0cc0052362d2982ecfa652fec5
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...

1234567891011