Yinghai Lu
55cd63676e
x86: make zap_low_mapping could be used early
Only one cpu is there, just call __flush_tlb for it. Fixes the following boot
warning on x86:
[ 0.000000] Memory: 885032k/915540k available (5993k kernel code, 29844k reserved, 3842k data, 428k init, 0k highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xffe17000 - 0xfffff000 (1952 kB)
[ 0.000000] vmalloc : 0xf8615000 - 0xffe15000 ( 120 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf7e15000 ( 894 MB)
[ 0.000000] .init : 0xc19a5000 - 0xc1a10000 ( 428 kB)
[ 0.000000] .data : 0xc15da4bb - 0xc199af6c (3842 kB)
[ 0.000000] .text : 0xc1000000 - 0xc15da4bb (5993 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] WARNING: at kernel/smp.c:369 smp_call_function_many+0x50/0x1b0()
[ 0.000000] Hardware name: System Product Name
[ 0.000000] Modules linked in:
[ 0.000000] Pid: 0, comm: swapper Not tainted 2.6.30-tip #52504
[ 0.000000] Call Trace:
[ 0.000000] [<c104aa16>] warn_slowpath_common+0x65/0x95
[ 0.000000] [<c104aa58>] warn_slowpath_null+0x12/0x15
[ 0.000000] [<c1073bbe>] smp_call_function_many+0x50/0x1b0
[ 0.000000] [<c1037615>] ? do_flush_tlb_all+0x0/0x41
[ 0.000000] [<c1037615>] ? do_flush_tlb_all+0x0/0x41
[ 0.000000] [<c1073d4f>] smp_call_function+0x31/0x58
[ 0.000000] [<c1037615>] ? do_flush_tlb_all+0x0/0x41
[ 0.000000] [<c104f635>] on_each_cpu+0x26/0x65
[ 0.000000] [<c10374b5>] flush_tlb_all+0x19/0x1b
[ 0.000000] [<c1032ab3>] zap_low_mappings+0x4d/0x56
[ 0.000000] [<c15d64b5>] ? printk+0x14/0x17
[ 0.000000] [<c19b42a8>] mem_init+0x23d/0x245
[ 0.000000] [<c19a56a1>] start_kernel+0x17a/0x2d5
[ 0.000000] [<c19a5347>] ? unknown_bootoption+0x0/0x19a
[ 0.000000] [<c19a5039>] __init_begin+0x39/0x41
[ 0.000000] ---[ end trace 4eaa2a86a8e2da22 ]---
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
2009-06-12 13:50:24 +03:00
..
2009-06-08 18:57:47 +02:00
2009-04-08 11:51:46 -07:00
2009-02-10 00:41:58 +01:00
2009-02-09 13:33:51 +01:00
2009-02-18 16:48:05 +08:00
2009-04-28 17:42:08 +02:00
2009-05-28 18:23:56 +02:00
2009-05-28 18:10:43 +02:00
2009-06-10 16:15:14 -07:00
2009-05-11 14:37:36 +02:00
2009-01-11 19:13:38 +01:00
2009-01-29 14:16:51 +01:00
2009-04-07 12:02:41 +02:00
2009-01-06 15:59:10 -08:00
2009-01-13 18:56:30 +01:00
2009-05-11 17:44:39 -07:00
2009-05-11 17:45:06 -07:00
2009-01-14 19:56:50 -08:00
2009-04-02 00:49:02 +02:00
2009-02-03 19:48:18 +01:00
2009-06-07 12:22:56 +02:00
2009-01-29 14:17:01 +01:00
2009-06-11 10:03:30 -07:00
2009-03-13 14:49:54 +10:30
2009-01-19 00:38:58 +09:00
2009-04-21 19:39:59 -07:00
2009-01-06 14:06:57 +01:00
2009-04-07 08:31:12 -07:00
2009-03-23 17:20:50 +01:00
2009-01-29 14:16:51 +01:00
2009-04-07 13:36:36 +02:00
2009-03-23 15:02:05 +05:30
2009-03-04 19:20:16 +01:00
2009-02-10 00:42:00 +01:00
2009-06-03 09:53:34 +02:00
2009-04-10 20:27:13 +02:00
2009-03-13 16:57:42 +01:00
2009-02-17 17:52:43 +01:00
2009-04-29 14:47:05 +02:00
2009-03-11 15:47:46 +01:00
2009-06-11 17:55:42 +02:00
2009-06-10 16:15:14 -07:00
2009-04-10 14:35:53 +02:00
2009-03-27 14:43:57 -04:00
2009-03-05 14:17:18 +01:00
2009-02-13 09:46:36 +01:00
2009-02-13 09:46:36 +01:00
2009-05-18 08:38:55 +02:00
2009-04-10 20:27:13 +02:00
2009-04-30 19:26:11 +02:00
2009-01-06 14:06:57 +01:00
2009-02-17 17:52:44 +01:00
2009-01-21 17:26:06 +09:00
2009-04-21 09:08:25 +02:00
2009-06-11 17:55:42 +02:00
2009-03-04 20:25:37 +01:00
2009-04-15 12:12:36 +02:00
2009-01-14 19:56:50 -08:00
2009-03-10 18:13:25 -07:00
2009-06-10 11:49:00 +03:00
2009-06-10 11:48:54 +03:00
2009-06-10 11:48:23 +03:00
2009-04-19 23:14:01 +09:30
2009-03-11 12:39:28 +01:00
2009-01-29 14:16:51 +01:00
2009-01-29 14:16:51 +01:00
2009-02-10 00:39:14 +01:00
2009-04-22 13:56:25 -07:00
2009-05-12 10:36:44 +02:00
2009-02-10 00:42:00 +01:00
2009-03-01 16:06:56 +09:00
2009-02-18 15:37:55 -08:00
2009-01-08 15:37:37 +01:00
2009-05-28 01:59:05 +02:00
2009-03-17 15:38:59 -07:00
2009-05-08 10:43:24 -07:00
2009-06-10 12:18:43 +02:00
2009-01-31 00:17:39 +05:30
2009-06-07 16:22:02 +02:00
2009-03-03 13:13:15 +01:00
2009-05-18 09:21:04 +02:00
2009-02-05 22:30:14 +01:00
2009-04-14 11:44:45 +02:00
2009-02-13 13:36:47 +01:00
2009-06-10 16:13:20 -07:00
2009-02-11 14:54:09 -08:00
2009-04-14 11:44:45 +02:00
2009-02-13 13:23:02 +01:00
2009-06-10 16:16:27 -07:00
2009-04-10 13:55:48 +02:00
2009-04-03 13:13:45 +02:00
2009-01-29 14:16:51 +01:00
2009-04-05 10:33:07 -07:00
2009-05-11 08:54:33 -07:00
2009-05-29 09:04:58 +02:00
2009-01-23 18:42:06 +01:00
2009-03-05 14:53:10 +01:00
2009-03-14 17:23:47 -07:00
2009-05-05 19:10:18 -07:00
2009-04-12 15:20:16 +02:00
2009-04-21 10:48:08 +02:00
2009-02-13 11:35:01 -08:00
2009-03-19 14:04:19 +01:00
2009-02-13 11:35:01 -08:00
2009-03-19 14:04:19 +01:00
2009-06-10 16:16:27 -07:00
2009-02-02 23:27:09 +05:30
2009-06-10 19:53:40 -07:00
2009-01-29 14:17:03 +01:00
2009-02-24 18:23:35 +01:00
2009-06-10 19:53:40 -07:00
2009-01-18 19:39:18 +01:00
2009-04-08 11:51:46 -07:00
2009-03-02 15:41:30 -08:00
2009-03-02 15:41:30 -08:00
2009-03-14 15:37:14 -07:00
2009-02-10 00:42:01 +01:00
2009-01-29 14:16:51 +01:00
2009-04-10 14:35:53 +02:00
2009-01-31 00:18:58 +05:30
2009-04-12 13:08:56 +02:00
2009-05-12 12:22:06 +02:00
2009-01-29 14:16:51 +01:00
2009-02-15 22:43:33 -08:00
2009-05-05 19:10:18 -07:00
2009-05-15 20:07:42 +02:00
2009-02-11 11:33:49 +01:00
2009-04-01 08:59:16 -07:00
2009-06-10 11:48:38 +03:00
2009-01-31 00:19:32 +05:30
2009-03-27 14:43:57 -04:00
2009-04-12 15:20:16 +02:00
2009-03-02 12:07:49 +01:00
2009-06-11 08:50:59 -07:00
2009-04-07 13:34:16 -07:00
2009-03-30 10:10:49 -07:00
2009-01-25 16:57:47 +01:00
2009-06-12 13:50:24 +03:00
2009-05-11 23:57:56 +02:00
2009-01-16 14:19:26 +01:00
2009-06-10 16:16:27 -07:00
2009-03-02 11:06:49 +01:00
2009-03-02 11:06:49 +01:00
2009-02-04 17:28:21 -08:00
2009-04-30 21:16:49 +02:00
2009-04-30 21:16:49 +02:00
2009-03-24 11:02:46 +02:00
2009-06-10 12:27:08 +03:00
2009-04-12 13:08:56 +02:00