------- Comment From kamale...@in.ibm.com 2014-08-06 04:53 EDT-------
This isn't really a problem requiring further diagnosis.  Rather, it's an issue 
with the Power Linux kernel whose root cause is already understood and for 
which a patch has been submitted.  The patch has not yet been accepted, but we 
hope that it will be soon.

We're just asking here that Ubuntu incorporate the patch if/when it goes
into mainline.

So I hope this meets the criteria necessary for a change to 'Confirmed'
in LP.

-- 
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/1352994

Title:
  remap_4K_pfn() safety improvement needed for Ubuntu 14.10

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  == Comment: #0 - Brian Hart <ha...@us.ibm.com> - 2014-08-04 17:41:57 ==
  ---Problem Description---
  The current implementation of remap_4k_pfn() trusts that it's safe to map the 
PFN supplied by the requestor.  But there may be PFNs that are not safe to map 
via remap_4k_pfn().  (For example, the addresses at which PCI MMIO regions are 
mapped in some hypervisor configurations.)  When an unsafe PFN passes through 
remap_4k_pfn() some address bits may be unknowingly dropped by the underlying 
remapping routines.  When that happens the remap will appear to succeed, but 
any later attempt to use the mapping will checkstop the machine because the 
truncated target address is not present in the machine.

  A patch has been submitted that will cause remap_4k_pfn() to detect
  and reject these unsafe requests:

  https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-July/119179.html

  Our project needs some form of this safety improvement in the Ubuntu 14.10 
release.
   
  ---uname output---
  Linux tul115p1 3.16.0-6-generic #11-Ubuntu SMP Mon Jul 28 02:00:45 UTC 2014 
ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = 8286-42A 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   The problem requires a hypervisor that allows PCI MMIO regions to span above 
the 46-bit line, and a device driver that maps MMIO regions using 
remap_4k_pfn().

  I can provide detailed instructions and a driver upon request.
   
  Stack trace output:
   no
   
  Oops output:
   no
   
  System Dump Info:
    The system is not configured to capture a system dump.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to