← Back to team overview

kernel-packages team mailing list archive

[Bug 1541534] Re: s390/cio: update measurement characteristics

 

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Xenial)
       Status: New => Fix Committed

** Changed in: linux (Ubuntu Xenial)
     Assignee: (unassigned) => Tim Gardner (timg-tpi)

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

Title:
  s390/cio: update measurement characteristics

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Xenial:
  Fix Committed

Bug description:
  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 <sebott@xxxxxxxxxxxxxxxxxx>
  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 <sebott@xxxxxxxxxxxxxxxxxx>
      Reviewed-by: Peter Oberparleiter <oberpar@xxxxxxxxxxxxxxxxxx>
      Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>

  
  commit 61f0bfcf8020f02eb09adaef96745d1c1d1b3623
  Author: Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx>
  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 <sebott@xxxxxxxxxxxxxxxxxx>
      Reviewed-by: Peter Oberparleiter <oberpar@xxxxxxxxxxxxxxxxxx>
      Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>

  commit 9f3d6d7a40a178b8a5b5274f4e55fec8c30147c9
  Author: Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx>
  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 <sebott@xxxxxxxxxxxxxxxxxx>
      Reviewed-by: Peter Oberparleiter <oberpar@xxxxxxxxxxxxxxxxxx>
      Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>

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