Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933520AbbFJM5M (ORCPT ); Wed, 10 Jun 2015 08:57:12 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:32980 "EHLO mail-wg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754011AbbFJM5G (ORCPT ); Wed, 10 Jun 2015 08:57:06 -0400 Message-ID: <5578341E.3020709@suse.cz> Date: Wed, 10 Jun 2015 14:57:02 +0200 From: Jiri Slaby User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: James Hogan , stable CC: Nicholas Mc Guire , Gleb Natapov , Paolo Bonzini , Ralf Baechle , kvm@vger.kernel.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MIPS: KVM: do not sign extend on unsigned MMIO load References: <1431002870-30098-1-git-send-email-hofrat@osadl.org> <554CC530.20906@imgtec.com> <5575536E.8080608@imgtec.com> In-Reply-To: <5575536E.8080608@imgtec.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1878 Lines: 53 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 06/08/2015, 10:33 AM, James Hogan wrote: > Hi stable folk, > > On 08/05/15 15:16, James Hogan wrote: >> On 07/05/15 13:47, Nicholas Mc Guire wrote: >>> Fix possible unintended sign extension in unsigned MMIO loads >>> by casting to uint16_t in the case of mmio_needed != 2. >>> >>> Signed-off-by: Nicholas Mc Guire >> >> Looks good to me. I wrote an MMIO test to reproduce the issue, >> and this fixes it. >> >> Reviewed-by: James Hogan Tested-by: >> James Hogan >> >> It looks suitable for stable too (3.10+). > > This has reached mainline, commit > ed9244e6c534612d2b5ae47feab2f55a0d4b4ced > > Please could it be added to stable (3.10+). Applied to 3.12. Thanks. - -- js suse labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVeDQcAAoJEL0lsQQGtHBJ7q4P/3Q7y1FHwPKDhsdIdyyRypR6 OXaH/6eNzpBhvSngP1gnx9MiyESTYihFVlRJsV6hYYzRcippnU0BP88dx9ntYrc1 Accbhj/PPYcMqfCnYdL80Kxt9EomeuxEDcCdbp8twnReTt44xNAGHePiNh9GrhjG VKBMralyyjymtwyamCGb2W2aLNhxELIG3gXJTb7Q7E071LVeqQA6g+VNQ2QHwFYq FkJexePsLu/j3zVxH+rsQPJA6E1oKfUJb3jQHAtZHAH95Um0r8T4jUVSgFhyk3r6 9tlkazL3P8Iui6lxbrV1vNCPAhhucY7PmX99uGhdroKJOKDCDPsVOKyJbxeHrUBR 3zrMpB9x2uXd6WpDLDfL+bI8bCG6NVXZPGgSd7P+r/UbNuZ6VBNSVdqlWUeoMWGR ZS+HFMxVOiNplYudCTdLbJDLhm2XCWeW2lqszll/8Nk1c1FZkl8YbgpmdXfutKeU LQfUfS4tr0AQ7BqXf3bPUGrSGZO7e1V5R4gAa+Yqo6ZjDOj20AjYvs0oW4ubgLg8 OJrHcJDLkEKrMDIZ7qpRZxyz56yrOgcfVbYB1fudXaV+e38t+kO0sujdNSJnHK8h T3kfa96QW2gOi7Cys1o2OaQboY2wFxK3/YefX3Jn+N7tGedKUwF4IYHtj17YqX1/ 8BkHSZZ9HQsJqyRAXBux =qlvA -----END PGP SIGNATURE----- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/