Konstantin Khlebnikov
7e66cbc93f
ARM: 8132/1: LPAE: drop wrong carry flag correction after adding TTBR1_OFFSET
...
ARM: LPAE: drop wrong carry flag correction after adding TTBR1_OFFSET
In commit 7fb00c2fca ("ARM: 8114/1: LPAE:
load upper bits of early TTBR0/TTBR1") part which fixes carrying in adding
TTBR1_OFFSET to TTRR1 was wrong:
addls ttbr1, ttbr1, #TTBR1_OFFSET
adcls tmp, tmp, #0
addls doesn't update flags, adcls adds carry from cmp above:
cmp ttbr1, tmp @ PHYS_OFFSET > PAGE_OFFSET?
Condition 'ls' means carry flag is clear or zero flag is set, thus only one
case is affected: when PHYS_OFFSET == PAGE_OFFSET.
It seems safer to remove this fixup. Bug is here for ages and nobody
complained. Let's fix it separately.
Reported-and-Tested-by: Jassi Brar <jassisinghbrar@gmail.com >
Signed-off-by: Konstantin Khlebnikov <k.khlebnikov@samsung.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2014-09-02 20:55:23 +01:00
..
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2014-08-27 15:40:12 +01:00
2014-08-27 15:40:12 +01:00
2011-07-02 10:56:12 +01:00
2011-09-10 23:39:56 +01:00
2011-07-02 10:56:11 +01:00
2014-07-18 12:29:06 +01:00
2012-11-06 19:47:35 +00:00
2014-07-18 12:29:04 +01:00
2014-05-22 16:21:35 +01:00
2014-08-05 10:27:13 +01:00
2014-07-18 12:29:04 +01:00
2014-03-27 02:49:24 +01:00
2013-12-29 12:32:47 +00:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2012-03-28 18:30:01 +01:00
2013-12-29 12:46:49 +00:00
2012-03-20 21:48:14 +08:00
2012-03-20 21:48:14 +08:00
2012-03-29 16:53:48 -07:00
2012-03-20 21:48:14 +08:00
2012-03-20 21:48:14 +08:00
2012-03-29 16:53:48 -07:00
2012-03-20 21:48:14 +08:00
2012-03-29 16:53:48 -07:00
2014-08-06 18:01:16 -07:00
2014-07-24 14:27:08 +01:00
2013-11-07 00:15:49 +00:00
2013-11-15 09:32:14 +09:00
2013-09-12 15:38:01 -07:00
2011-12-08 10:30:40 +00:00
2014-05-25 23:48:45 +01:00
2011-12-08 10:30:37 +00:00
2013-06-04 16:52:38 +01:00
2014-04-23 11:09:42 +01:00
2014-06-04 16:53:51 -07:00
2014-08-02 15:20:26 +01:00
2014-06-05 15:57:04 -07:00
2012-02-23 20:18:56 -07:00
2014-06-01 01:15:04 +01:00
2014-08-08 11:14:29 -07:00
2014-05-30 00:47:23 +01:00
2014-07-18 12:29:04 +01:00
2014-05-30 00:49:01 +01:00
2014-06-02 09:20:11 +01:00
2013-11-30 14:45:31 +00:00
2014-08-02 08:51:55 +01:00
2014-06-29 10:29:34 +01:00
2011-07-02 10:56:10 +01:00
2011-07-02 10:56:10 +01:00
2011-07-02 10:56:10 +01:00
2013-12-29 12:36:20 +00:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-02-10 11:48:13 +00:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2013-03-26 09:55:34 +00:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-09-02 20:55:23 +01:00
2014-07-24 14:27:12 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2013-04-17 16:53:24 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00