Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1511918
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] |
| Date | 2016-10-29 23:50 +0200 |
| Message-ID | <sxJFL-3LU-1@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <sxBId-6Gd-3@gated-at.bofh.it> <sxHND-2mK-1@gated-at.bofh.it> <sxI6Z-2Kc-13@gated-at.bofh.it> <sxJ33-3sa-13@gated-at.bofh.it> <sxJ34-3sa-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Sat 2016-10-29 23:07:59, Daniel Gruss wrote:
> 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
Thanks for the pointer. Unfortunately, my test machine has 64-bit
kernel, but 32-bit userland, so I can't compile it:
g++ -g -pthread -std=c++11 -O3 -o rowhammer rowhammer.cc
rowhammer.cc: In function ‘int main(int, char**)’:
rowhammer.cc:243:57: error: inconsistent operand constraints in an
‘asm’
asm volatile ("rdtscp" : "=a" (a), "=d" (d) : : "rcx");
I tried g++ -m64, but that does not seem to work here at all. I'll try
to find some way to compile it during the week.
(BTW any idea which version would be right for this cpu?
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz
stepping : 10
Its Wolfdale-3M according to wikipedia... that seems older than
indy/sandy/haswell/skylake, so I'll just use the generic version...?)
> >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 ;)
Yes, that will help :-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Getting interrupt every million cache misses Pavel Machek <pavel@ucw.cz> - 2016-10-27 16:40 +0200
Re: Getting interrupt every million cache misses Peter Zijlstra <peterz@infradead.org> - 2016-10-27 16:40 +0200
Re: Getting interrupt every million cache misses Kees Cook <keescook@chromium.org> - 2016-10-27 22:50 +0200
rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-10-27 23:30 +0200
Re: rowhammer protection [was Re: Getting interrupt every million cache misses] Ingo Molnar <mingo@kernel.org> - 2016-10-28 09:10 +0200
Re: rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-10-28 11:00 +0200
Re: rowhammer protection [was Re: Getting interrupt every million cache misses] Ingo Molnar <mingo@kernel.org> - 2016-10-28 11:00 +0200
Re: rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-10-28 14:00 +0200
Re: rowhammer protection [was Re: Getting interrupt every million cache misses] Peter Zijlstra <peterz@infradead.org> - 2016-10-28 11:10 +0200
Re: rowhammer protection [was Re: Getting interrupt every million cache misses] Vegard Nossum <vegard.nossum@gmail.com> - 2016-10-28 11:30 +0200
Re: rowhammer protection [was Re: Getting interrupt every million cache misses] Ingo Molnar <mingo@kernel.org> - 2016-10-28 11:40 +0200
Re: rowhammer protection [was Re: Getting interrupt every million cache misses] Vegard Nossum <vegard.nossum@gmail.com> - 2016-10-28 11:50 +0200
Re: [kernel-hardening] Re: rowhammer protection [was Re: Getting interrupt every million cache misses] Mark Rutland <mark.rutland@arm.com> - 2016-10-28 12:00 +0200
Re: rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-10-28 13:30 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Mark Rutland <mark.rutland@arm.com> - 2016-10-28 12:00 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-10-28 13:30 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Mark Rutland <mark.rutland@arm.com> - 2016-10-28 16:10 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Peter Zijlstra <peterz@infradead.org> - 2016-10-28 16:20 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-10-28 20:40 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Peter Zijlstra <peterz@infradead.org> - 2016-10-28 20:50 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-11-02 19:20 +0100
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-10-28 19:30 +0200
Re: Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Daniel Gruss <daniel@gruss.cc> - 2016-10-29 15:20 +0200
Re: Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-10-29 21:50 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Daniel Gruss <daniel@gruss.cc> - 2016-10-29 22:10 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-10-29 23:10 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Daniel Gruss <daniel@gruss.cc> - 2016-10-29 23:10 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-10-29 23:50 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Daniel Gruss <daniel@gruss.cc> - 2016-10-30 00:00 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-10-30 00:10 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Daniel Gruss <daniel@gruss.cc> - 2016-10-30 00:10 +0200
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-10-31 09:30 +0100
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Mark Rutland <mark.rutland@arm.com> - 2016-10-31 15:50 +0100
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-10-31 22:20 +0100
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Mark Rutland <mark.rutland@arm.com> - 2016-10-31 23:10 +0100
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Ingo Molnar <mingo@kernel.org> - 2016-11-01 07:40 +0100
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Daniel Micay <danielmicay@gmail.com> - 2016-11-01 08:30 +0100
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Daniel Gruss <daniel@gruss.cc> - 2016-11-01 09:00 +0100
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Daniel Gruss <daniel@gruss.cc> - 2016-11-01 09:20 +0100
Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses] Pavel Machek <pavel@ucw.cz> - 2016-11-01 09:20 +0100
csiph-web