Anup Patel
ff0e2a7bd1
RISC-V: Fix FIXMAP_TOP to avoid overlap with VMALLOC area
The FIXMAP area overlaps with VMALLOC area in Linux-5.1-rc1 hence we get
below warning in Linux RISC-V 32bit kernel. This warning does not show-up
in Linux RISC-V 64bit kernel due to large VMALLOC area.
WARNING: CPU: 0 PID: 22 at mm/vmalloc.c:150 vmap_page_range_noflush+0x134/0x15c
Modules linked in:
CPU: 0 PID: 22 Comm: kworker/0:1 Not tainted 5.1.0-rc1-00005-gebc2f658040e #1
Workqueue: events pcpu_balance_workfn
Call Trace:
[<c002b950>] walk_stackframe+0x0/0xa0
[<c002baac>] show_stack+0x28/0x32
[<c0587354>] dump_stack+0x62/0x7e
[<c002fdee>] __warn+0x98/0xce
[<c002fe52>] warn_slowpath_null+0x2e/0x3c
[<c00e71ce>] vmap_page_range_noflush+0x134/0x15c
[<c00e7886>] map_kernel_range_noflush+0xc/0x14
[<c00d54b8>] pcpu_populate_chunk+0x19e/0x236
[<c00d610e>] pcpu_balance_workfn+0x448/0x464
[<c00408d6>] process_one_work+0x16c/0x2ea
[<c0040b46>] worker_thread+0xf2/0x3b2
[<c004519a>] kthread+0xce/0xdc
[<c002a974>] ret_from_exception+0x0/0xc
This patch fixes above warning by placing FIXMAP area below VMALLOC area.
Fixes: f2c17aabc9
("RISC-V: Implement compile-time fixed mappings")
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2019-03-28 23:16:04 -07:00
..
2018-09-24 13:12:27 -07:00
2017-11-30 10:01:10 -08:00
2018-12-21 08:10:30 -08:00
2018-04-02 19:59:43 -07:00
2017-11-28 14:04:05 -08:00
2017-11-30 10:01:10 -08:00
2018-06-07 08:01:50 -07:00
2018-04-02 19:59:44 -07:00
2018-08-13 08:31:31 -07:00
2018-10-31 12:13:47 -07:00
2018-04-02 19:59:43 -07:00
2019-03-28 23:16:04 -07:00
2018-04-02 19:59:13 -07:00
2019-01-03 18:57:57 -08:00
2019-02-28 17:23:12 +00:00
2018-08-13 08:31:31 -07:00
2018-01-07 15:14:39 -08:00
2019-01-06 09:46:51 +09:00
2018-01-30 19:16:17 -08:00
2017-11-30 12:58:25 -08:00
2019-01-07 08:19:20 -08:00
2019-01-23 12:56:20 -08:00
2018-05-07 07:15:41 +02:00
2018-08-13 08:31:32 -07:00
2019-01-04 13:13:47 -08:00
2019-02-11 15:24:45 -08:00
2019-02-21 11:25:49 +05:30
2019-01-25 10:50:53 -08:00
2019-01-07 08:22:39 -08:00
2019-03-04 10:40:38 -08:00
2018-04-02 19:59:43 -07:00
2018-10-22 17:02:23 -07:00
2019-01-07 08:22:39 -08:00
2019-01-07 08:22:39 -08:00
2017-11-30 10:12:21 -08:00
2018-08-28 12:58:35 -07:00
2018-10-22 17:03:37 -07:00
2019-03-26 18:24:51 -07:00
2019-01-07 08:22:41 -08:00
2018-08-20 10:55:24 -07:00