Message ID | 1377161014.6167.67.camel@yhuang-dev (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Hi Huang, On Aug 22 16:43, Huang Ying wrote: > Hi, Alexandra, > Can you try the following debug patch, and send me back the output of: > > $ dmesg | grep apei_res bash$ dmesg |grep apei [ 9.608829] apei_res_add: ffff8802730cde48: 7dfd5018 - 7dfd5019 [ 9.615354] apei_res_add: ffff8802730cde48: 7dfd5018 - 7dfd5019 [ 9.621595] apei_res_add: ffff8802730cde48: 7dfd5018 - 7dfd5019 [ 9.627915] apei_res_add: ffff8802730cde48: 7dfd5019 - 7dfd501a [ 9.634363] apei_res_add: ffff8802730cde48: 7dfd501a - 7dfd501e [ 9.640689] apei_res_add: ffff8802730cde58: b2 - b3 [ 9.646008] apei_res_add: ffff8802730cde48: 7dfd501e - 7dfd501f [ 9.652320] apei_res_add: ffff8802730cde48: 7dfd501f - 7dfd5020 [ 9.658637] apei_res_add: ffff8802730cde48: 7dfd5020 - 7dfd5028 [ 9.664952] apei_res_add: ffff8802730cde48: 7dfd5028 - 7dfd5030 [ 9.671227] apei_res_add: ffff8802730cde48: 7dfd5030 - 7dfd5032 [ 9.686533] apei_res_add: ffff8802730cde48: 7dfd5018 - 7dfd5019 [ 9.702283] apei_res_add: ffff8802730cde48: 7dfd5032 - 7dfd5033 [ 9.718050] apei_res_add: ffff8802730cde48: 7dfd5032 - 7dfd503a [ 9.732699] apei_res_add: ffff8802730cde48: 7dfd503a - 7dfd503e [ 9.747231] apei_res_add: ffff8802730cde48: 7dfd503e - 7dfd503f [ 9.761822] apei_res_sub: ffff8802730cde48 - ffffffff81a76ee0 [ 9.775718] apei_res_sub: ffff8802730cde58 - ffffffff81a76ef0 [ 9.789058] apei_res_add: ffff8802730cdde8: 7e095000 - 7e299000 [ 9.803780] apei_res_add: ffff8802730cdde8: 7f370000 - 7f3f6000 [ 9.818264] apei_res_sub: ffff8802730cde48 - ffff8802730cdde8 [ 9.831933] apei_res_sub: ffff8802730cde58 - ffff8802730cddf8 [ 9.846091] apei_res_add: ffffffff81a76ee0: 7dfd5018 - 7dfd503f [ 9.859528] apei_res_add: ffffffff81a76ef0: b2 - b3 I hope it helps. Alexandra.
--- a/drivers/acpi/apei/apei-base.c +++ b/drivers/acpi/apei/apei-base.c @@ -310,6 +310,8 @@ static int apei_res_add(struct list_head struct apei_res *res, *resn, *res_ins = NULL; unsigned long end = start + size; + pr_info("apei_res_add: %p: %lx - %lx\n", res_list, start, end); + if (end <= start) return 0; repeat: @@ -346,6 +348,7 @@ static int apei_res_sub(struct list_head struct list_head *res_list2) { struct apei_res *res1, *resn1, *res2, *res; + pr_info("apei_res_sub: %p - %p\n", res_list1, res_list2); res1 = list_entry(res_list1->next, struct apei_res, list); resn1 = list_entry(res1->list.next, struct apei_res, list); while (&res1->list != res_list1) { @@ -386,6 +389,7 @@ static void apei_res_clean(struct list_h { struct apei_res *res, *resn; + pr_info("apei_res_clean: %p\n", res_list); list_for_each_entry_safe(res, resn, res_list, list) { list_del(&res->list); kfree(res);