Christophe Leroy
d95947426c
powerpc/fixmap: Fix FIX_EARLY_DEBUG_BASE when page size is 256k
...
[ Upstream commit 03fd42d458 ]
FIX_EARLY_DEBUG_BASE reserves a 128k area for debuging.
When page size is 256k, the calculation results in a 0 number of
pages, leading to the following failure:
CC arch/powerpc/kernel/asm-offsets.s
In file included from ./arch/powerpc/include/asm/nohash/32/pgtable.h:77:0,
from ./arch/powerpc/include/asm/nohash/pgtable.h:8,
from ./arch/powerpc/include/asm/pgtable.h:20,
from ./include/linux/pgtable.h:6,
from ./arch/powerpc/include/asm/kup.h:42,
from ./arch/powerpc/include/asm/uaccess.h:9,
from ./include/linux/uaccess.h:11,
from ./include/linux/crypto.h:21,
from ./include/crypto/hash.h:11,
from ./include/linux/uio.h:10,
from ./include/linux/socket.h:8,
from ./include/linux/compat.h:15,
from arch/powerpc/kernel/asm-offsets.c:14:
./arch/powerpc/include/asm/fixmap.h:75:2: error: overflow in enumeration values
__end_of_permanent_fixed_addresses,
^
make[2]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1
Ensure the debug area is at least one page.
Fixes: b8e8efaa86 ("powerpc: reserve fixmap entries for early debug")
Reported-by: kernel test robot <lkp@intel.com >
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu >
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au >
Link: https://lore.kernel.org/r/ca8c9f8249f523b1fab873e67b81b11989d46553.1592207216.git.christophe.leroy@csgroup.eu
Signed-off-by: Sasha Levin <sashal@kernel.org >
2020-08-19 08:26:26 +02:00
..
2020-06-09 09:39:14 -07:00
2020-06-20 22:14:54 +10:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2020-01-25 12:18:51 -05:00
2018-07-30 22:48:16 +10:00
2018-07-30 22:48:16 +10:00
2020-04-01 13:42:14 +11:00
2019-05-24 17:27:11 +02:00
2020-05-28 23:24:36 +10:00
2017-11-02 11:10:55 +01:00
2020-01-24 10:33:52 -08:00
2020-05-28 23:24:36 +10:00
2017-11-02 11:10:55 +01:00
2019-06-07 19:00:14 +10:00
2019-11-18 22:27:51 +11:00
2019-05-30 11:26:32 -07:00
2020-05-28 23:24:35 +10:00
2020-06-08 11:05:58 -07:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2020-05-28 23:24:36 +10:00
2018-08-08 00:32:25 +10:00
2020-05-19 00:10:37 +10:00
2020-01-03 09:32:51 +01:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2018-01-20 23:29:02 -06:00
2017-11-02 11:10:55 +01:00
2019-12-09 13:54:34 -06:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2019-04-30 22:37:48 +10:00
2020-06-02 20:59:20 +10:00
2018-10-13 22:21:25 +11:00
2020-04-01 13:42:13 +11:00
2019-08-20 21:22:15 +10:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:35 -07:00
2020-05-19 00:11:04 +10:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:30:28 +02:00
2019-11-20 20:31:40 +01:00
2020-04-01 14:30:50 +11:00
2020-06-02 20:59:07 +10:00
2018-07-30 22:48:17 +10:00
2019-05-30 11:26:35 -07:00
2020-03-25 12:09:39 +11:00
2019-10-29 15:12:17 +11:00
2019-08-30 09:40:15 +10:00
2019-06-05 17:37:07 +02:00
2018-03-13 15:50:32 +11:00
2019-05-30 11:26:32 -07:00
2020-04-01 13:42:11 +11:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-05-04 22:29:58 +10:00
2019-09-14 00:04:45 +10:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2020-05-18 21:58:45 +10:00
2020-08-19 08:26:26 +02:00
2020-05-12 19:34:53 +03:00
2017-08-10 23:32:12 +10:00
2019-05-24 17:36:45 +02:00
2019-05-30 11:26:32 -07:00
2017-02-27 18:43:46 -08:00
2019-05-30 11:26:35 -07:00
2019-06-05 17:30:28 +02:00
2019-05-30 11:26:32 -07:00
2020-05-19 00:10:34 +10:00
2020-05-28 23:24:36 +10:00
2017-11-02 11:10:55 +01:00
2018-06-07 10:23:33 -07:00
2019-08-30 10:32:36 +10:00
2017-11-02 11:10:55 +01:00
2020-06-04 19:06:22 -07:00
2019-05-24 17:39:01 +02:00
2020-06-05 12:39:30 -07:00
2020-01-17 15:08:31 +11:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2019-01-14 20:39:27 +11:00
2020-06-02 20:58:55 +10:00
2020-05-04 09:18:06 +10:00
2016-03-01 19:27:20 +11:00
2017-11-02 11:10:55 +01:00
2020-07-15 23:09:55 +10:00
2017-11-02 11:10:55 +01:00
2020-04-30 12:35:26 +10:00
2017-11-02 11:10:55 +01:00
2019-05-24 17:39:01 +02:00
2017-11-02 11:10:55 +01:00
2020-05-26 23:36:57 +10:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2019-08-27 13:03:34 +10:00
2020-06-09 09:39:13 -07:00
2020-05-11 23:15:15 +10:00
2019-05-30 11:26:32 -07:00
2018-03-13 15:50:37 +11:00
2019-05-30 11:26:32 -07:00
2018-01-19 22:37:01 +11:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2020-08-11 15:48:11 +02:00
2020-04-02 09:35:25 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-07 16:24:47 +10:00
2017-11-02 11:10:55 +01:00
2018-10-20 13:26:47 +11:00
2019-05-30 11:26:32 -07:00
2020-05-19 00:10:39 +10:00
2020-06-09 09:39:13 -07:00
2020-03-19 16:39:52 +11:00
2019-06-05 17:30:28 +02:00
2020-05-29 16:09:27 +10:00
2019-06-05 17:30:28 +02:00
2020-03-26 11:09:04 +11:00
2020-06-12 11:05:52 -07:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:30:28 +02:00
2019-06-05 17:30:28 +02:00
2020-05-27 11:39:31 +10:00
2019-06-05 17:30:28 +02:00
2020-05-27 11:39:31 +10:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-21 11:28:45 +02:00
2019-11-24 15:06:33 -08:00
2019-07-13 16:08:36 -07:00
2019-05-30 11:26:39 -07:00
2019-09-05 14:22:41 +10:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2020-03-27 14:59:35 +11:00
2017-11-02 11:10:55 +01:00
2019-08-30 09:55:41 +10:00
2018-02-05 21:34:31 +01:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-04-08 12:09:27 +01:00
2020-04-20 16:53:01 +10:00
2020-06-02 20:59:20 +10:00
2017-11-02 11:10:55 +01:00
2020-06-05 12:39:30 -07:00
2019-05-24 17:27:12 +02:00
2017-11-02 11:10:55 +01:00
2015-10-22 16:06:08 +02:00
2018-05-25 12:04:42 +10:00
2019-05-24 17:27:12 +02:00
2019-06-05 17:37:18 +02:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:17 +02:00
2019-05-30 11:26:32 -07:00
2018-10-21 19:32:07 +11:00
2019-06-05 17:37:17 +02:00
2019-02-26 23:28:24 +11:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2020-03-04 22:44:27 +11:00
2019-11-13 00:33:22 +11:00
2019-05-30 11:26:32 -07:00
2020-06-02 20:59:08 +10:00
2019-08-20 21:22:15 +10:00
2020-04-10 15:36:21 -07:00
2020-05-11 23:15:16 +10:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:06 +02:00
2020-06-02 10:59:10 -07:00
2020-01-06 16:25:29 +11:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-03-04 22:44:28 +11:00
2019-09-24 15:54:09 -07:00
2019-05-03 01:20:23 +10:00
2019-05-03 01:20:23 +10:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2019-08-20 21:22:09 +10:00
2016-06-14 13:58:26 +10:00
2019-05-30 11:26:32 -07:00
2018-05-25 12:04:41 +10:00
2019-07-15 12:41:26 +10:00
2019-05-30 11:26:32 -07:00
2019-07-03 15:19:36 +10:00
2020-01-23 21:31:17 +11:00
2019-07-13 16:08:36 -07:00
2019-05-24 17:27:12 +02:00
2019-08-28 23:19:33 +10:00
2020-05-19 00:10:39 +10:00
2019-08-22 23:12:47 +10:00
2019-05-30 11:26:35 -07:00
2020-06-02 20:59:18 +10:00
2020-06-02 20:59:20 +10:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2019-06-05 17:37:07 +02:00
2019-07-13 16:08:36 -07:00
2019-07-05 00:43:50 +10:00
2020-05-15 11:58:54 +10:00
2020-01-23 21:31:14 +11:00
2019-05-30 11:26:32 -07:00
2020-05-28 23:24:35 +10:00
2018-07-30 22:48:17 +10:00
2020-06-02 20:59:20 +10:00
2018-05-25 12:04:43 +10:00
2019-05-30 11:26:32 -07:00
2020-06-02 20:59:08 +10:00
2020-06-02 20:59:08 +10:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-06-18 12:10:37 -07:00
2019-11-12 12:25:49 +11:00
2019-11-30 14:35:43 -08:00
2019-11-13 00:33:22 +11:00
2019-05-30 11:26:32 -07:00
2020-04-01 14:30:51 +11:00
2018-12-20 22:59:03 +11:00
2018-12-04 19:45:01 +11:00
2017-11-02 11:10:55 +01:00
2020-04-01 13:42:13 +11:00
2020-05-26 22:22:21 +10:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2020-04-10 15:36:21 -07:00
2017-11-02 11:10:55 +01:00
2020-05-28 23:24:36 +10:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:32 -07:00
2020-05-19 00:14:37 +10:00
2018-10-03 15:40:03 +10:00
2018-08-08 00:32:30 +10:00
2019-08-21 22:23:48 +10:00
2019-08-30 09:55:40 +10:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-04-20 16:53:01 +10:00
2018-07-30 22:48:17 +10:00
2020-05-15 11:58:54 +10:00
2018-05-10 23:25:14 +10:00
2019-02-23 22:31:39 +11:00
2019-05-03 01:20:23 +10:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:32 -07:00
2020-04-03 00:10:00 +11:00
2020-05-28 23:24:35 +10:00
2019-08-28 23:19:33 +10:00
2020-06-09 09:39:13 -07:00
2018-07-30 22:48:21 +10:00
2018-05-24 16:04:02 +10:00
2020-03-04 22:44:31 +11:00
2019-06-19 17:09:55 +02:00
2019-05-01 16:45:05 +10:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-05-20 23:37:33 +10:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-11-28 17:02:31 +11:00
2019-11-28 17:02:31 +11:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-04-03 00:09:59 +11:00
2020-05-19 00:10:39 +10:00
2018-10-19 15:09:04 +11:00
2020-04-20 16:53:14 +10:00
2020-01-23 21:31:15 +11:00
2020-03-13 21:13:06 +11:00
2020-04-23 10:50:26 +09:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2019-12-10 10:12:55 +01:00
2016-11-14 11:11:51 +11:00
2017-11-02 11:10:55 +01:00
2020-05-07 22:58:31 +10:00
2020-04-20 16:52:59 +10:00
2019-05-30 11:26:32 -07:00
2018-05-25 12:04:38 +10:00
2019-05-30 11:26:35 -07:00