Mike Rapoport
6e44bd6d34
memblock: exclude NOMAP regions from kmemleak
...
Vladimir Zapolskiy reports:
commit a7259df76702 ("memblock: make memblock_find_in_range method private")
invokes a kernel panic while running kmemleak on OF platforms with nomaped
regions:
Unable to handle kernel paging request at virtual address fff000021e00000
[...]
scan_block+0x64/0x170
scan_gray_list+0xe8/0x17c
kmemleak_scan+0x270/0x514
kmemleak_write+0x34c/0x4ac
Indeed, NOMAP regions don't have linear map entries so an attempt to scan
these areas would fault.
Prevent such faults by excluding NOMAP regions from kmemleak.
Link: https://lore.kernel.org/all/8ade5174-b143-d621-8c8e-dc6a1898c6fb@linaro.org
Fixes: a7259df76702 ("memblock: make memblock_find_in_range method private")
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Tested-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
2021-10-13 08:36:59 +03:00
..
2021-09-24 16:13:34 -07:00
2021-09-03 10:08:28 -07:00
2021-09-08 12:55:35 -07:00
2021-09-03 10:08:28 -07:00
2021-05-07 00:26:35 -07:00
2021-09-03 09:58:14 -07:00
2019-07-12 12:24:03 -07:00
2021-05-05 11:27:21 -07:00
2021-05-05 11:27:24 -07:00
2021-05-05 11:27:24 -07:00
2021-05-05 11:27:24 -07:00
2021-09-08 12:55:35 -07:00
2017-11-02 11:10:55 +01:00
2021-09-03 09:58:10 -07:00
2021-09-24 16:13:35 -07:00
2021-06-29 10:53:52 -07:00
2021-09-08 11:50:24 -07:00
2020-10-13 18:38:29 -07:00
2019-07-12 11:05:43 -07:00
2021-09-03 10:08:28 -07:00
2021-05-05 11:27:27 -07:00
2021-05-05 11:27:26 -07:00
2021-05-05 11:27:26 -07:00
2021-09-07 11:03:45 -07:00
2021-09-08 11:50:24 -07:00
2021-09-08 18:45:52 -07:00
2021-09-03 09:58:13 -07:00
2021-05-05 11:27:22 -07:00
2021-06-30 20:47:26 -07:00
2021-06-30 20:47:25 -07:00
2021-09-03 09:58:17 -07:00
2021-09-03 09:58:15 -07:00
2021-07-08 11:48:21 -07:00
2021-09-03 09:58:16 -07:00
2021-04-30 11:20:38 -07:00
2021-04-30 11:20:39 -07:00
2021-09-08 11:50:24 -07:00
2021-09-08 11:50:24 -07:00
2020-12-15 12:13:46 -08:00
2021-09-03 09:58:12 -07:00
2021-09-08 18:45:53 -07:00
2021-09-13 10:18:28 -07:00
2021-05-05 11:27:23 -07:00
2021-08-20 11:39:25 +01:00
2021-09-03 10:08:28 -07:00
2021-09-08 11:50:24 -07:00
2021-07-01 11:06:02 -07:00
2021-10-13 08:36:59 +03:00
2021-09-23 10:09:13 -07:00
2021-04-30 14:14:02 -05:00
2021-09-08 12:55:35 -07:00
2021-09-24 16:13:35 -07:00
2021-09-13 09:10:39 +01:00
2021-09-08 18:52:05 -07:00
2021-06-04 19:32:21 +01:00
2021-09-08 11:50:23 -07:00
2017-11-02 11:10:55 +01:00
2021-09-08 15:32:35 -07:00
2021-01-24 14:27:16 +01:00
2021-07-08 11:48:21 -07:00
2021-04-30 11:20:42 -07:00
2021-07-23 17:43:28 -07:00
2021-09-04 11:35:47 -07:00
2021-04-16 16:10:36 -07:00
2021-03-25 09:22:55 -07:00
2020-12-15 14:48:04 -08:00
2021-07-01 11:06:03 -07:00
2021-09-03 09:58:14 -07:00
2021-04-30 11:20:37 -07:00
2021-09-04 11:35:47 -07:00
2021-09-03 09:58:17 -07:00
2021-09-08 18:45:53 -07:00
2021-04-30 11:20:38 -07:00
2021-09-08 11:50:24 -07:00
2021-09-08 11:50:24 -07:00
2021-03-02 17:25:46 -07:00
2021-09-08 12:55:35 -07:00
2021-09-08 11:50:22 -07:00
2021-04-30 11:20:36 -07:00
2021-06-29 10:53:47 -07:00
2021-06-29 10:53:47 -07:00
2021-07-01 11:06:03 -07:00
2021-09-03 10:08:28 -07:00
2021-06-29 10:53:49 -07:00
2021-07-01 17:17:24 -07:00
2021-07-04 18:30:17 +00:00
2021-06-05 20:43:15 +00:00
2021-07-04 18:30:17 +00:00
2021-09-08 12:55:35 -07:00
2021-05-07 00:26:35 -07:00
2021-06-16 09:24:42 -07:00
2021-05-05 11:27:27 -07:00
2021-04-16 16:10:37 -07:00
2021-07-13 13:14:27 +02:00
2021-09-08 12:55:35 -07:00
2020-08-21 09:52:53 -07:00
2021-09-08 11:50:24 -07:00
2021-09-24 16:13:34 -07:00
2021-04-16 16:10:36 -07:00
2021-05-22 15:09:07 -10:00
2021-09-04 01:12:23 +02:00
2021-05-07 00:26:35 -07:00
2021-07-30 10:14:39 -07:00
2021-03-08 14:18:46 -08:00
2021-09-04 10:22:01 +02:00
2021-06-30 20:47:26 -07:00
2021-09-03 09:58:15 -07:00
2020-06-03 20:09:48 -07:00
2021-08-28 01:46:17 +02:00
2021-08-20 11:31:42 -07:00
2021-09-24 16:13:35 -07:00
2021-09-03 09:58:12 -07:00
2021-09-03 10:08:28 -07:00
2020-08-12 10:57:58 -07:00
2021-09-03 09:58:16 -07:00
2021-09-24 16:13:35 -07:00
2020-06-10 19:14:18 -07:00
2021-09-08 12:55:35 -07:00
2021-09-03 09:58:17 -07:00
2021-09-08 18:45:53 -07:00
2021-09-08 15:32:34 -07:00
2021-09-23 10:09:13 -07:00
2021-07-01 11:06:03 -07:00
2021-07-01 11:06:03 -07:00
2021-05-07 00:26:35 -07:00
2021-07-01 11:06:02 -07:00
2021-06-30 20:47:31 -07:00