Re: What can change in ways Linux handles memory when all memory >4G is disabled? (x86)

2014-06-08 Thread Nikolay Amiantov
On Sun, Jun 8, 2014 at 9:53 PM, H. Peter Anvin wrote: > > This would point either to an iommu problem, or a problem in the driver > where addresses somehow get truncated to 32 bits. Since this is a > graphics driver it is extremely complex, and subtle problems could be > buried somewhere inside i

Re: What can change in ways Linux handles memory when all memory >4G is disabled? (x86)

2014-06-08 Thread H. Peter Anvin
On 06/06/2014 05:06 PM, Nikolay Amiantov wrote: > > I've played a bit with this theory in mind and found a very > interesting thing -- when I reserve all memory upper than 4G with > "memmap" kernel option ("memmap=99G$0x1"), everything works! > Also, I've written a small utility that fills

Re: What can change in ways Linux handles memory when all memory >4G is disabled? (x86)

2014-06-08 Thread Nikolay Amiantov
On Sun, Jun 8, 2014 at 8:19 AM, Bjorn Helgaas wrote: > [+cc linux-pci, linux-pm] > > > I don't know what ACPI methods you're calling, but (as I'm sure you > know) it's not guaranteed to be safe to call random methods because > they can make arbitrary changes to the system. Yes, I've tested this be

Re: What can change in ways Linux handles memory when all memory >4G is disabled? (x86)

2014-06-07 Thread Bjorn Helgaas
[+cc linux-pci, linux-pm] On Fri, Jun 6, 2014 at 6:06 PM, Nikolay Amiantov wrote: > Hello all, > > I'm trying to resolve a cryptic problem with Lenovo T440p (and with > Dell XPS 15z, as it appears) and nvidia in my spare time. You can read > more at [1]. Basically: when the user disables and then

What can change in ways Linux handles memory when all memory >4G is disabled? (x86)

2014-06-06 Thread Nikolay Amiantov
Hello all, I'm trying to resolve a cryptic problem with Lenovo T440p (and with Dell XPS 15z, as it appears) and nvidia in my spare time. You can read more at [1]. Basically: when the user disables and then re-enables nvidia card (via ACPI, bbswitch or nouveau's dynpm) on new BIOS versions, somethi