Re: [Qemu-devel] [PATCH] i.MX: Fix GPIO ISR register write

2016-10-25 Thread Peter Maydell
On 25 October 2016 at 03:03, Guenter Roeck wrote: > Writing the ISR register is supposed to clear interrupt status bits, > not to set them. > > This patch makes '-M sabrelite' work without devicetree changes (Linux > kernel versions 3.18 to 4.7 with imx_v6_v7_defconfig and up to v4.8 with > multi_

Re: [Qemu-devel] [PATCH] i.MX: Fix GPIO ISR register write

2016-10-25 Thread Jean-Christophe DUBOIS
Le 25/10/2016 à 04:03, Guenter Roeck a écrit : Writing the ISR register is supposed to clear interrupt status bits, not to set them. This patch makes '-M sabrelite' work without devicetree changes (Linux kernel versions 3.18 to 4.7 with imx_v6_v7_defconfig and up to v4.8 with multi_v7_defconfig;

[Qemu-devel] [PATCH] i.MX: Fix GPIO ISR register write

2016-10-24 Thread Guenter Roeck
Writing the ISR register is supposed to clear interrupt status bits, not to set them. This patch makes '-M sabrelite' work without devicetree changes (Linux kernel versions 3.18 to 4.7 with imx_v6_v7_defconfig and up to v4.8 with multi_v7_defconfig; mainline has different problems). Signed-off-by