Guenter Roeck
73e6ff71a7
hwmon: (f71805f) Use request_muxed_region for Super-IO accesses
...
Super-IO accesses may fail on a system with no or unmapped LPC bus.
Unable to handle kernel paging request at virtual address ffffffbffee0002e
pgd = ffffffc1d68d4000
[ffffffbffee0002e] *pgd=0000000000000000, *pud=0000000000000000
Internal error: Oops: 94000046 [#1 ] PREEMPT SMP
Modules linked in: f71805f(+) hwmon
CPU: 3 PID: 1659 Comm: insmod Not tainted 4.5.0+ #88
Hardware name: linux,dummy-virt (DT)
task: ffffffc1f6665400 ti: ffffffc1d6418000 task.ti: ffffffc1d6418000
PC is at f71805f_find+0x6c/0x358 [f71805f]
Also, other drivers may attempt to access the LPC bus at the same time,
resulting in undefined behavior.
Use request_muxed_region() to ensure that IO access on the requested
address space is supported, and to ensure that access by multiple
drivers is synchronized.
Fixes: e53004e20a
("hwmon: New f71805f driver")
Reported-by: Kefeng Wang <wangkefeng.wang@huawei.com >
Reported-by: John Garry <john.garry@huawei.com >
Cc: John Garry <john.garry@huawei.com >
Acked-by: John Garry <john.garry@huawei.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2019-04-15 17:19:53 -07:00
..
2019-04-15 17:19:23 -07:00
2019-04-15 17:19:53 -07:00
2014-10-03 08:19:02 -07:00
2014-10-20 16:20:36 +02:00
2014-10-20 16:20:36 +02:00
2018-12-16 15:13:30 -08:00
2013-04-16 18:27:52 -07:00
2018-12-16 15:13:31 -08:00
2018-12-16 15:13:31 -08:00
2019-04-15 17:19:53 -07:00
2019-02-25 09:06:00 -08:00
2019-04-15 17:19:53 -07:00
2018-12-16 15:13:33 -08:00
2018-12-16 15:13:34 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2019-02-18 14:23:29 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2018-12-16 15:13:36 -08:00
2018-12-16 15:13:38 -08:00
2017-11-02 11:10:55 +01:00
2015-10-28 10:30:17 +09:00
2013-04-07 21:16:38 -07:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2018-12-16 15:13:37 -08:00
2019-04-15 17:19:53 -07:00
2018-12-16 15:13:38 -08:00
2018-12-16 15:13:39 -08:00
2017-01-02 10:19:45 -08:00
2017-10-29 18:36:03 -07:00
2018-12-16 15:13:39 -08:00
2018-12-16 15:13:47 -08:00
2017-01-02 10:19:45 -08:00
2018-12-16 15:13:41 -08:00
2018-12-16 15:13:41 -08:00
2018-12-16 15:13:42 -08:00
2019-02-18 14:23:29 -08:00
2017-01-10 08:57:55 -08:00
2018-12-16 15:13:43 -08:00
2018-12-16 15:13:43 -08:00
2018-12-16 15:13:45 -08:00
2018-12-16 15:13:44 -08:00
2018-12-16 15:13:44 -08:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2013-10-13 16:16:27 -07:00
2017-01-02 10:19:45 -08:00
2018-12-16 15:13:45 -08:00
2018-12-16 15:13:46 -08:00
2017-01-02 10:19:45 -08:00
2018-03-10 19:00:14 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2018-02-15 01:15:52 +01:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2018-11-04 15:55:12 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2017-08-13 08:24:38 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2018-12-28 19:48:25 -08:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2017-01-21 12:26:38 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2013-03-18 21:19:49 +01:00
2019-02-18 14:23:29 -08:00
2017-01-02 10:19:45 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2017-04-13 06:09:26 -07:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2018-12-16 15:13:24 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2018-12-16 15:13:23 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2018-12-16 15:13:29 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2018-12-16 15:13:25 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2018-07-07 17:52:26 +02:00
2017-01-02 10:19:45 -08:00
2019-02-18 14:23:29 -08:00
2014-08-04 07:01:39 -07:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2017-01-02 10:19:45 -08:00
2014-11-03 19:53:56 -08:00
2019-04-15 17:19:53 -07:00
2018-06-12 16:19:22 -07:00
2019-01-27 18:55:49 -08:00
2018-12-16 15:13:25 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2017-01-02 10:19:45 -08:00
2019-02-18 14:23:29 -08:00
2019-04-15 17:19:23 -07:00
2019-04-15 17:19:53 -07:00
2014-10-20 16:20:36 +02:00
2017-01-02 10:19:45 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2014-06-12 08:36:48 -07:00
2017-01-02 10:19:45 -08:00
2014-08-04 07:01:37 -07:00
2019-02-18 14:23:29 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2019-04-15 17:19:53 -07:00
2019-02-18 14:23:29 -08:00
2019-02-18 14:23:29 -08:00
2014-08-04 07:01:39 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2018-12-16 15:13:28 -08:00
2019-04-15 17:19:53 -07:00
2014-10-20 16:20:36 +02:00
2019-02-18 14:23:29 -08:00
2017-01-02 10:19:45 -08:00
2019-02-18 14:23:29 -08:00
2014-10-20 16:20:36 +02:00
2017-01-02 10:19:45 -08:00
2014-04-04 18:01:34 +02:00
2014-08-04 07:01:34 -07:00
2017-04-02 07:01:53 -07:00
2017-01-02 10:19:45 -08:00
2019-04-15 17:19:53 -07:00
2017-11-16 01:01:55 -08:00
2017-11-16 01:02:23 -08:00
2017-11-16 01:02:43 -08:00
2017-11-16 01:03:19 -08:00
2018-11-18 14:34:56 -08:00
2014-10-20 16:20:36 +02:00
2014-10-20 16:20:36 +02:00
2017-11-01 06:14:52 -07:00