Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754328AbcJ2VIE (ORCPT ); Sat, 29 Oct 2016 17:08:04 -0400 Received: from gruss.cc ([80.82.209.135]:33744 "EHLO mail.gruss.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751229AbcJ2VID (ORCPT ); Sat, 29 Oct 2016 17:08:03 -0400 Subject: Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] To: Pavel Machek References: <20161028172710.GA10309@amd> <20161029194224.GB3827@amd> <5f5741d5-0695-6a56-6c05-ebdaaa896f54@gruss.cc> <20161029210518.GC3827@amd> Cc: "kernel-hardening@lists.openwall.com" , Mark Rutland , Kees Cook , Peter Zijlstra , Arnaldo Carvalho de Melo , kernel list , Ingo Molnar , Alexander Shishkin From: Daniel Gruss Message-ID: <571c5ef8-ccce-0b7a-b506-c69a024276a0@gruss.cc> Date: Sat, 29 Oct 2016 23:07:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161029210518.GC3827@amd> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 445 Lines: 12 On 29.10.2016 23:05, Pavel Machek wrote: > So far I did bzip2 and kernel compilation. I believe I can prevent > flips in rowhammer-test with bzip2 going from 4 seconds to 5 > seconds... let me see. can you prevent bitflips in this one? https://github.com/IAIK/rowhammerjs/tree/master/native > Ok, let me try that. Problem is that the machine I'm testing on takes > 20 minutes to produce bit flip... will be lots faster with my code above ;)