From: Dominik Dingel Date: Mon, 9 Dec 2013 17:30:01 +0000 (+0100) Subject: KVM: s390: ioeventfd: ignore leftmost bits X-Git-Tag: v3.14-rc1~127^2~32^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff1f3cb4b3ac5d039f02679f34cb1498d110d241;p=pandora-kernel.git KVM: s390: ioeventfd: ignore leftmost bits The diagnose 500 subcode 3 contains the 32 bit subchannel id in bits 32-63 (counting from the left). As for other I/O instructions, bits 0-31 should be ignored and thus not be passed to kvm_io_bus_write_cookie(). This fixes a bug where the guest passed non-zero bits 0-31 which the host tried to interpret, leading to ioeventfd notification failures. Cc: stable@vger.kernel.org Signed-off-by: Dominik Dingel Reviewed-by: Cornelia Huck Signed-off-by: Cornelia Huck --- Reading git-diff-tree failed