Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-28 Thread Christopher Snowhill
On 08/23/2018 07:22 PM, Andre Tomt wrote: > On 23. aug. 2018 17:44, Andi Kleen wrote: >> On Thu, Aug 23, 2018 at 03:44:18PM +0200, Vlastimil Babka wrote: >>> Two users have reported [1] that they have an "extremely unlikely" >>> system >>> with more than MAX_PA/2 memory and L1TF mitigation is

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-28 Thread Christopher Snowhill
On 08/23/2018 07:22 PM, Andre Tomt wrote: > On 23. aug. 2018 17:44, Andi Kleen wrote: >> On Thu, Aug 23, 2018 at 03:44:18PM +0200, Vlastimil Babka wrote: >>> Two users have reported [1] that they have an "extremely unlikely" >>> system >>> with more than MAX_PA/2 memory and L1TF mitigation is

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-24 Thread George Anchev
On Thu, 23 Aug 2018 08:44:37 -0700 Andi Kleen wrote: > Ah I see it's a client part with very large DIMMs > and someone being very brave and using that much > memory without ECC. It is not about being "brave" but about being informed. As of 2018 you can probably call "brave" everyone who uses any

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-24 Thread George Anchev
On Thu, 23 Aug 2018 08:44:37 -0700 Andi Kleen wrote: > Ah I see it's a client part with very large DIMMs > and someone being very brave and using that much > memory without ECC. It is not about being "brave" but about being informed. As of 2018 you can probably call "brave" everyone who uses any

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Andi Kleen
On Fri, Aug 24, 2018 at 04:22:57AM +0200, Andre Tomt wrote: > On 23. aug. 2018 17:44, Andi Kleen wrote: > > On Thu, Aug 23, 2018 at 03:44:18PM +0200, Vlastimil Babka wrote: > > > Two users have reported [1] that they have an "extremely unlikely" system > > > with more than MAX_PA/2 memory and L1TF

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Andi Kleen
On Fri, Aug 24, 2018 at 04:22:57AM +0200, Andre Tomt wrote: > On 23. aug. 2018 17:44, Andi Kleen wrote: > > On Thu, Aug 23, 2018 at 03:44:18PM +0200, Vlastimil Babka wrote: > > > Two users have reported [1] that they have an "extremely unlikely" system > > > with more than MAX_PA/2 memory and L1TF

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Andre Tomt
On 23. aug. 2018 17:44, Andi Kleen wrote: On Thu, Aug 23, 2018 at 03:44:18PM +0200, Vlastimil Babka wrote: Two users have reported [1] that they have an "extremely unlikely" system with more than MAX_PA/2 memory and L1TF mitigation is not effective. In fact it's a CPU with 36bits phys limit

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Andre Tomt
On 23. aug. 2018 17:44, Andi Kleen wrote: On Thu, Aug 23, 2018 at 03:44:18PM +0200, Vlastimil Babka wrote: Two users have reported [1] that they have an "extremely unlikely" system with more than MAX_PA/2 memory and L1TF mitigation is not effective. In fact it's a CPU with 36bits phys limit

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Vlastimil Babka
On 8/23/18 5:44 PM, Andi Kleen wrote: > On Thu, Aug 23, 2018 at 03:44:18PM +0200, Vlastimil Babka wrote: >> Two users have reported [1] that they have an "extremely unlikely" system >> with more than MAX_PA/2 memory and L1TF mitigation is not effective. In fact >> it's a CPU with 36bits phys limit

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Vlastimil Babka
On 8/23/18 5:44 PM, Andi Kleen wrote: > On Thu, Aug 23, 2018 at 03:44:18PM +0200, Vlastimil Babka wrote: >> Two users have reported [1] that they have an "extremely unlikely" system >> with more than MAX_PA/2 memory and L1TF mitigation is not effective. In fact >> it's a CPU with 36bits phys limit

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Andi Kleen
On Thu, Aug 23, 2018 at 03:44:18PM +0200, Vlastimil Babka wrote: > Two users have reported [1] that they have an "extremely unlikely" system > with more than MAX_PA/2 memory and L1TF mitigation is not effective. In fact > it's a CPU with 36bits phys limit (64GB) and 32GB memory, but due to holes >

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Andi Kleen
On Thu, Aug 23, 2018 at 03:44:18PM +0200, Vlastimil Babka wrote: > Two users have reported [1] that they have an "extremely unlikely" system > with more than MAX_PA/2 memory and L1TF mitigation is not effective. In fact > it's a CPU with 36bits phys limit (64GB) and 32GB memory, but due to holes >

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Michal Hocko
On Thu 23-08-18 15:44:18, Vlastimil Babka wrote: > Two users have reported [1] that they have an "extremely unlikely" system > with more than MAX_PA/2 memory and L1TF mitigation is not effective. In fact > it's a CPU with 36bits phys limit (64GB) and 32GB memory, but due to holes > in the e820

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Michal Hocko
On Thu 23-08-18 15:44:18, Vlastimil Babka wrote: > Two users have reported [1] that they have an "extremely unlikely" system > with more than MAX_PA/2 memory and L1TF mitigation is not effective. In fact > it's a CPU with 36bits phys limit (64GB) and 32GB memory, but due to holes > in the e820

[PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Vlastimil Babka
Two users have reported [1] that they have an "extremely unlikely" system with more than MAX_PA/2 memory and L1TF mitigation is not effective. In fact it's a CPU with 36bits phys limit (64GB) and 32GB memory, but due to holes in the e820 map, the main region is almost 500MB over the 32GB limit: [

[PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Vlastimil Babka
Two users have reported [1] that they have an "extremely unlikely" system with more than MAX_PA/2 memory and L1TF mitigation is not effective. In fact it's a CPU with 36bits phys limit (64GB) and 32GB memory, but due to holes in the e820 map, the main region is almost 500MB over the 32GB limit: [