Overview

Request 156268 accepted

- Update to 1.2.16
* The drmgr command does not currently allow users to specify the
drc index of the resource they wish to add/remove. This patch
updates the drmgr command so that users can specify either a
drc name or a drc index with the -s option.

* This functionality is needed for the upcoming userspace handling
of PRRN RTAS events. The rtas_errd will already have the drc
index for the resources it needs, adding the capability to
parse drc names from the device tree is not supported in
rtas_errd though.
* Update the man page for update_flash which had an out of date link
to instructions for resetting a managed system to a non-partitioned
configuration.
* The upstream kernel has a feature in the pseries PCI code called DDW
that inserts TCEs transparently to device drivers. The upstream kernel
was recently sent a fix for DLPAR that ensured those TCEs would get
cleared upon DLPAR remove (http://patchwork.ozlabs.org/patch/213735/),
but for it to work, we need a corresponding change to drmgr for, at
least, PHB remove, so that the notifier chain has fired before we call
into the slot isolate code. Without such a change, there is no way to
ensure the DDW TCEs are cleared, and the DLPAR will always fail.
* Add and use dt_swap_int() to byte swap on little endian.

* Also declare buf as unsigned char, so that we don't sign extend when
printing values from it. (forwarded request 156267 from k0da)

Request History
Dinar Valeev's avatar

k0da created request

- Update to 1.2.16
* The drmgr command does not currently allow users to specify the
drc index of the resource they wish to add/remove. This patch
updates the drmgr command so that users can specify either a
drc name or a drc index with the -s option.

* This functionality is needed for the upcoming userspace handling
of PRRN RTAS events. The rtas_errd will already have the drc
index for the resources it needs, adding the capability to
parse drc names from the device tree is not supported in
rtas_errd though.
* Update the man page for update_flash which had an out of date link
to instructions for resetting a managed system to a non-partitioned
configuration.
* The upstream kernel has a feature in the pseries PCI code called DDW
that inserts TCEs transparently to device drivers. The upstream kernel
was recently sent a fix for DLPAR that ensured those TCEs would get
cleared upon DLPAR remove (http://patchwork.ozlabs.org/patch/213735/),
but for it to work, we need a corresponding change to drmgr for, at
least, PHB remove, so that the notifier chain has fired before we call
into the slot isolate code. Without such a change, there is no way to
ensure the DDW TCEs are cleared, and the DLPAR will always fail.
* Add and use dt_swap_int() to byte swap on little endian.

* Also declare buf as unsigned char, so that we don't sign extend when
printing values from it. (forwarded request 156267 from k0da)


Saul Goodman's avatar

licensedigger accepted review

{"approve": "preliminary, version number changed"}


Factory Auto's avatar

factory-auto accepted review

Builds for repo openSUSE_Factory


Factory Auto's avatar

factory-auto added a reviewer

Please review sources


Sascha Peilicke's avatar

saschpe accepted review


Sascha Peilicke's avatar

saschpe approved review


Stephan Kulow's avatar

coolo accepted request

checkin

openSUSE Build Service is sponsored by