s390x: implement rrbe instruction properly
authorAlexander Graf <agraf@suse.de>
Thu, 14 Jul 2011 09:50:33 +0000 (11:50 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 14 Nov 2011 16:47:26 +0000 (17:47 +0100)
commitfc2385c4fcefc5f0a3b1d754d670932d768a0b5b
treed45d1b73abe94043b74b0028033e689b06ba534c
parent95b4fb3a553476f7bae3414be8051e2116a505e5
s390x: implement rrbe instruction properly

The rrbe instruction resets the reference bit in the given storage key.
So far, we merely made it a nop and also returned an invalid CC value,
so that the kernel never knew if a page actually got accessed.

This patch implements it properly, flushing the R bit and returning the
correct CC value.

Signed-off-by: Alexander Graf <agraf@suse.de>
target-s390x/op_helper.c