s390/cio: update measurement characteristics
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Tim Gardner | ||
Xenial |
Fix Released
|
Medium
|
Tim Gardner |
Bug Description
Description: s390/cio: update measurement characteristics
Symptom: lschp shows stale information in the "Cmg" and "Shared"
Problem: Measurement characteristics are read only during IPL
and are not updated when capabilities of a chpid change.
Solution: Keep measurement characteristics up to date.
Reproduction: chchp -c 1 <chpid> ; lschp
Upstream-ID: 0d9bfe9123cfde5
Please integrate the following upstream commit IDs into the Ubuntu kernel:
commit 0d9bfe9123cfde5
Author: Sebastian Ott <email address hidden>
Date: Mon Jan 25 10:30:27 2016 +0100
s390/cio: fix measurement characteristics memleak
Measurement characteristics are allocated during channel path
registration but not freed during deregistration. Fix this by
embedding these characteristics inside struct channel_path.
Signed-off-by: Sebastian Ott <email address hidden>
Reviewed-by: Peter Oberparleiter <email address hidden>
Signed-off-by: Martin Schwidefsky <email address hidden>
commit 61f0bfcf8020f02
Author: Sebastian Ott <email address hidden>
Date: Mon Jan 25 10:31:33 2016 +0100
s390/cio: ensure consistent measurement state
Make sure that in all cases where we could not obtain measurement
characteristics the associated fields are set to invalid values.
Note: without this change the "shared" capability of a channel path
for which we could not obtain the measurement characteristics was
incorrectly displayed as 0 (not shared). We will now correctly
report "unknown" in this case.
Signed-off-by: Sebastian Ott <email address hidden>
Reviewed-by: Peter Oberparleiter <email address hidden>
Signed-off-by: Martin Schwidefsky <email address hidden>
commit 9f3d6d7a40a178b
Author: Sebastian Ott <email address hidden>
Date: Mon Jan 25 10:32:51 2016 +0100
s390/cio: update measurement characteristics
Per channel path measurement characteristics are obtained during channel
path registration. However if some properties of a channel path change
we don't update the measurement characteristics.
Make sure to update the characteristics when we change the properties of
a channel path or receive a notification from FW about such a change.
Signed-off-by: Sebastian Ott <email address hidden>
Reviewed-by: Peter Oberparleiter <email address hidden>
Signed-off-by: Martin Schwidefsky <email address hidden>
tags: | added: architecture-s39064 bugnameltc-136515 severity-medium targetmilestone-inin1604 |
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Tim Gardner (timg-tpi) |
status: | New → Fix Committed |
Changed in linux (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1541534/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]