Peter Xu
829db8b497
tests: only update last_byte when at the edge
...
The only possible change of last_byte is when it reaches the edge.
Setting it every time might let last_byte contain an invalid data when
memory corruption is detected, then the check of the next byte will be
incorrect. For example, a single page corruption at address 0x14ad000
will also lead to a "fake" corruption at 0x14ae000:
Memory content inconsistency at 14ad000 first_byte = 44 last_byte = 44 current = ef hit_edge = 0
Memory content inconsistency at 14ae000 first_byte = 44 last_byte = ef current = 44 hit_edge = 0
After the patch, it'll only report the corrputed page:
Memory content inconsistency at 14ad000 first_byte = 44 last_byte = 44 current = ef hit_edge = 0
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180723123305.24792-4-peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2018-07-24 17:21:55 +01:00
..
2018-06-15 16:10:11 -03:00
2018-06-11 22:19:57 +03:00
2017-07-18 05:49:01 -05:00
2018-02-22 15:44:07 -08:00
2018-07-24 11:45:25 +01:00
2018-06-08 14:39:24 -03:00
2018-06-08 14:39:24 -03:00
2017-09-22 10:46:25 +08:00
2018-06-25 16:50:48 -04:00
2018-06-08 14:39:24 -03:00
2018-03-21 15:13:40 +01:00
2018-07-05 11:25:14 +01:00
2018-07-23 16:50:43 +02:00
2017-07-11 17:45:00 +02:00
2018-07-24 11:45:25 +01:00
2018-06-08 14:39:24 -03:00
2018-07-24 11:45:25 +01:00
2017-03-02 07:14:27 +02:00
2018-01-16 14:54:52 +01:00
2018-07-10 14:36:11 +02:00
2018-06-28 19:05:31 +02:00
2018-07-02 15:41:17 +02:00
2018-07-02 15:41:17 +02:00
2018-07-02 15:41:17 +02:00
2018-06-11 22:19:57 +03:00
2018-02-14 11:43:41 +01:00
2018-06-08 13:17:39 -04:00
2018-02-14 11:43:41 +01:00
2018-06-29 13:02:50 +02:00
2018-06-08 13:17:39 -04:00
2018-06-22 16:33:46 +02:00
2018-06-15 14:49:44 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-06-15 14:49:44 +02:00
2017-09-04 13:09:13 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-07-03 13:04:38 +01:00
2018-07-03 13:04:38 +01:00
2017-09-04 10:45:19 +01:00
2016-10-28 18:17:24 +03:00
2018-05-04 08:27:53 +02:00
2017-01-31 10:10:13 +11:00
2018-05-04 08:27:53 +02:00
2018-02-14 11:43:41 +01:00
2017-03-01 11:51:28 +04:00
2018-02-14 11:43:41 +01:00
2017-03-01 11:51:05 +04:00
2017-10-20 13:32:10 +02:00
2017-05-09 09:14:40 +02:00
2018-02-14 11:43:41 +01:00
2018-07-10 14:36:12 +02:00
2018-02-14 11:43:02 +01:00
2018-07-10 14:36:11 +02:00
2018-02-09 13:50:17 +01:00
2017-02-21 11:14:07 +00:00
2017-02-21 11:14:07 +00:00
2017-10-20 13:32:10 +02:00
2017-03-01 11:51:05 +04:00
2018-06-29 12:22:28 +01:00
2018-06-04 10:15:16 +01:00
2018-05-30 13:19:14 -03:00
2017-10-20 13:32:10 +02:00
2018-05-20 08:48:13 +03:00
2018-05-04 08:27:53 +02:00
2018-07-05 15:59:41 +01:00
2018-02-14 11:43:41 +01:00
2018-07-24 17:21:55 +01:00
2018-07-16 15:38:19 +02:00
2017-05-11 11:08:40 +02:00
2018-06-08 13:15:32 +01:00
2016-10-19 10:09:24 +01:00
2018-01-17 09:35:24 +11:00
2017-10-20 13:32:10 +02:00
2017-09-19 16:19:39 +02:00
2018-07-09 14:51:34 +01:00
2016-10-24 16:26:53 +01:00
2018-05-04 08:27:53 +02:00
2018-02-14 11:43:41 +01:00
2018-05-04 08:27:53 +02:00
2018-06-15 07:42:55 -10:00
2018-07-16 15:38:19 +02:00
2018-05-04 08:27:53 +02:00
2018-03-12 16:12:47 +01:00
2018-02-14 11:43:41 +01:00
2017-08-01 17:27:33 +02:00
2018-02-14 11:43:02 +01:00
2018-03-06 14:01:27 +01:00
2018-03-13 18:06:06 +00:00
2018-03-13 18:06:06 +00:00
2016-10-16 12:04:15 +11:00
2018-05-04 08:27:53 +02:00
2018-02-09 13:50:17 +01:00
2018-03-27 13:05:28 +01:00
2016-10-24 16:26:54 +01:00
2018-07-10 10:36:15 +02:00
2017-01-10 08:49:59 -08:00
2018-03-02 18:39:07 +01:00
2018-05-30 13:31:01 +02:00
2018-05-30 13:31:01 +02:00
2018-06-01 15:13:46 +02:00
2018-02-09 13:52:15 +01:00
2018-02-08 09:22:03 +08:00
2017-11-08 11:03:46 +00:00
2016-12-21 14:26:26 +00:00
2016-10-19 10:23:55 +01:00
2016-12-22 09:24:59 +00:00
2018-07-03 13:04:38 +01:00
2018-07-02 15:41:10 +02:00
2017-10-20 13:32:10 +02:00
2018-02-07 14:09:25 +01:00
2018-06-18 17:04:56 +02:00
2018-03-05 10:30:15 +08:00
2016-10-26 08:29:00 -07:00
2017-03-01 00:09:28 +04:00
2018-02-15 16:54:57 +00:00
2018-03-13 18:06:06 +00:00
2018-04-06 11:28:31 +01:00
2018-03-06 10:19:05 +00:00
2017-09-05 22:34:40 +02:00
2018-07-02 15:41:10 +02:00
2018-05-04 08:27:53 +02:00
2017-03-22 19:24:34 +01:00
2018-02-09 05:05:11 +01:00
2017-07-17 15:41:30 -03:00
2018-07-02 15:41:10 +02:00
2018-07-05 11:25:14 +01:00
2018-06-15 07:42:55 -10:00
2018-07-05 11:25:14 +01:00
2018-06-29 12:22:28 +01:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-06-15 14:49:44 +02:00
2017-01-31 10:10:14 +11:00
2018-02-09 13:52:15 +01:00
2018-02-10 10:45:14 +03:00
2018-05-20 08:48:13 +03:00
2017-09-05 18:12:21 +02:00
2018-07-23 14:00:03 +02:00
2017-12-20 22:01:24 +08:00
2018-05-04 08:27:53 +02:00
2017-09-27 11:44:18 +01:00
2018-05-04 08:27:53 +02:00
2017-05-18 18:04:54 +02:00
2018-06-08 13:15:32 +01:00
2018-06-06 15:44:07 -04:00
2018-03-29 17:41:03 -04:00
2018-05-20 08:38:38 +03:00
2018-06-29 12:22:28 +01:00
2018-06-06 15:44:07 -04:00
2018-06-06 15:44:07 -04:00
2018-06-06 15:44:12 -04:00
2018-02-21 07:24:50 -05:00
2018-06-06 15:44:12 -04:00
2018-06-06 15:44:12 -04:00
2018-02-14 11:43:02 +01:00
2018-02-14 11:43:41 +01:00
2018-06-12 12:07:30 +02:00
2018-05-24 21:14:11 +03:00
2018-07-16 16:58:16 +02:00
2018-02-14 11:43:41 +01:00
2017-10-20 13:32:10 +02:00
2018-02-14 11:43:41 +01:00
2017-10-20 13:32:10 +02:00
2018-05-04 08:27:53 +02:00
2016-10-28 09:36:58 +11:00
2018-03-12 16:12:46 +01:00
2017-10-20 13:32:10 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00