Public bug reported:

Description:  s390/cio: update measurement characteristics
Symptom:      lschp shows stale information in the "Cmg" and "Shared"
              column.
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:  0d9bfe9123cfde59bf5c2e375b59d2a7d5061c4c
              61f0bfcf8020f02eb09adaef96745d1c1d1b3623
              9f3d6d7a40a178b8a5b5274f4e55fec8c30147c9

Please integrate the following upstream commit IDs into the Ubuntu
kernel:

commit 0d9bfe9123cfde59bf5c2e375b59d2a7d5061c4c
Author: Sebastian Ott <[email protected]>
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 protected]>
    Reviewed-by: Peter Oberparleiter <[email protected]>
    Signed-off-by: Martin Schwidefsky <[email protected]>


commit 61f0bfcf8020f02eb09adaef96745d1c1d1b3623
Author: Sebastian Ott <[email protected]>
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 protected]>
    Reviewed-by: Peter Oberparleiter <[email protected]>
    Signed-off-by: Martin Schwidefsky <[email protected]>

commit 9f3d6d7a40a178b8a5b5274f4e55fec8c30147c9
Author: Sebastian Ott <[email protected]>
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 protected]>
    Reviewed-by: Peter Oberparleiter <[email protected]>
    Signed-off-by: Martin Schwidefsky <[email protected]>

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1541534

Title:
  s390/cio: update measurement characteristics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1541534/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to