Adam Borowski
99a97a8ba9
drm/nouveau/gpio: enable interrupts on cards with 32 gpio lines
...
The code attempts to enable them, but hits an undefined behaviour by
shifting by the entire register's width:
int lines = 32;
u32 mask = (1 << lines) - 1; // 00000000 on x86
u32 mask = (1 << lines) - 1; // ffffffff on arm (32)
u32 mask = (1 << lines) - 1; // 00000000 on arm64
u32 mask = (1ULL << lines) - 1; // ffffffff everywhere
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-04-06 14:53:50 +10:00
..
2017-04-03 16:30:24 +10:00
2017-02-07 21:43:55 +01:00
2017-03-23 12:05:13 +10:00
2017-03-29 09:50:38 +02:00
2017-03-14 15:07:33 +01:00
2017-03-16 11:23:59 +01:00
2017-03-29 09:50:38 +02:00
2017-03-30 15:06:47 +05:30
2017-02-07 21:36:28 +01:00
2017-03-02 08:42:40 +01:00
2017-03-28 17:34:19 +10:00
2017-03-14 14:38:34 +01:00
2017-03-29 09:56:25 +02:00
2017-03-14 14:38:34 +01:00
2017-01-26 10:44:43 +01:00
2017-04-03 16:30:24 +10:00
2017-03-23 08:53:41 +10:00
2017-02-21 11:17:54 -05:00
2017-03-14 14:38:34 +01:00
2017-02-27 18:43:47 -08:00
2017-03-01 09:44:11 +01:00
2017-03-29 09:14:01 +02:00
2017-03-23 12:05:13 +10:00
2017-04-06 14:53:50 +10:00
2017-04-03 12:36:40 +03:00
2017-04-04 17:03:35 +03:00
2017-03-15 11:32:01 +10:00
2017-03-01 09:44:11 +01:00
2017-04-03 16:30:24 +10:00
2017-04-04 17:04:21 +03:00
2017-03-24 14:48:58 -04:00
2017-01-09 11:25:22 +01:00
2017-02-26 22:54:47 +01:00
2017-03-29 09:50:38 +02:00
2017-02-03 11:10:32 +01:00
2017-03-14 14:38:34 +01:00
2017-03-14 14:38:34 +01:00
2017-03-27 17:50:47 +02:00
2017-03-25 22:19:27 +01:00
2017-03-27 09:43:58 +02:00
2017-03-29 23:53:07 -04:00
2017-03-29 09:50:38 +02:00
2017-03-29 09:50:38 +02:00
2017-03-14 15:07:33 +01:00
2017-02-28 10:00:50 +01:00
2017-03-15 11:32:01 +10:00
2017-04-03 16:30:24 +10:00
2017-03-22 13:44:42 +08:00
2017-01-26 10:44:43 +01:00
2017-03-30 09:36:29 +02:00
2017-03-06 11:43:05 +01:00
2017-01-25 16:22:42 +01:00
2017-03-06 11:43:43 +01:00
2017-02-28 14:32:19 +01:00
2017-01-31 15:31:58 +02:00
2017-02-28 16:16:48 +01:00
2017-03-29 09:56:25 +02:00
2017-02-28 16:14:53 +01:00
2017-03-29 09:59:16 +02:00
2017-03-24 09:36:06 +01:00
2017-03-24 09:36:06 +01:00
2017-02-23 11:06:12 -05:00
2017-03-07 16:38:16 -05:00
2017-03-22 21:47:44 +01:00
2017-02-23 12:10:12 +10:00
2017-01-25 16:30:34 +01:00
2017-02-21 15:41:24 +02:00
2017-03-23 12:05:13 +10:00
2017-01-25 16:30:34 +01:00
2017-02-28 16:16:48 +01:00
2017-03-22 19:45:00 +02:00
2017-03-28 17:34:19 +10:00
2017-03-14 14:38:34 +01:00
2017-03-23 08:15:55 +01:00
2017-03-22 19:45:00 +02:00
2017-03-14 15:07:33 +01:00
2017-02-28 16:16:43 +01:00
2017-01-14 11:37:18 +01:00
2017-03-24 09:36:06 +01:00
2017-02-28 14:32:19 +01:00
2017-03-25 22:40:55 +01:00
2017-03-30 17:15:49 +03:00
2017-03-09 16:18:02 +01:00
2017-03-02 08:42:29 +01:00
2017-02-06 16:57:37 +01:00
2017-02-28 16:16:48 +01:00
2017-03-14 15:07:33 +01:00
2017-02-28 16:14:53 +01:00
2017-03-22 19:45:00 +02:00
2017-01-25 16:30:34 +01:00
2017-03-09 16:18:02 +01:00
2017-03-29 09:56:25 +02:00
2017-03-30 17:28:24 -07:00
2017-03-09 16:18:02 +01:00
2017-02-26 21:43:08 +01:00
2017-03-14 15:07:33 +01:00
2017-02-28 16:16:46 +01:00
2017-03-21 10:15:56 +02:00
2017-03-30 12:02:00 -07:00
2017-01-25 16:22:42 +01:00
2017-03-14 14:38:33 +01:00
2017-02-24 17:46:55 -08:00
2017-02-03 11:10:32 +01:00
2017-02-26 22:11:37 +01:00
2017-03-21 10:15:39 +02:00