Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1247802

Atmel sama5d3 boot regression, today's linux-next

From Sylvain Rochet <sylvain.rochet@finsecur.com>
Newsgroups linux.kernel
Subject Atmel sama5d3 boot regression, today's linux-next
Date 2015-10-15 15:40 +0200
Message-ID <qjQVb-7Re-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

Atmel SAMA5D31 boards no longer boot on today's linux-next. Bisected to:

commit 7d24068e144adc03b805806645d732cf79488717
Author: Wonhong Kwon <wonhongkwon@gmail.com>
Date:   Tue Oct 6 10:10:20 2015 +0900

    PM / hibernate: Move pm_init/pm_disk_init to late_initcall_sync

    pm_init is being invoked by core_initcall and hibernate_image_size_init
    calculates preferred image size (image_size) based on total pages
    (totalram_pages). This totalram_pages can be modified during various
    initcall-s phase and this can cause miscalculated image_size.

    For example, when CMA is being used, init_cma_reserved_pageblock tries
    to change the totalram_pages and this job is done during core_initcall.
    In order words, the totalram_pages doesn't take CMA reserved pages into
    account when image_size is calculated and it can be too small.

    Move pm_init and pm_disk_init to late_initcall_sync so that it happens
    after all other initcall-s change the totalram_pages.

    Reported-by: Sangseok Lee <sangseok.lee@lge.com>
    Signed-off-by: Wonhong Kwon <wonhong.kwon@lge.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Reverting it fixes the issue.

Sylvain
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Atmel sama5d3 boot regression, today's linux-next Sylvain Rochet <sylvain.rochet@finsecur.com> - 2015-10-15 15:40 +0200
  Re: Atmel sama5d3 boot regression, today's linux-next Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-10-15 16:20 +0200
    Re: Atmel sama5d3 boot regression, today's linux-next Sylvain Rochet <sylvain.rochet@finsecur.com> - 2015-10-15 17:30 +0200
      Re: Atmel sama5d3 boot regression, today's linux-next "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-10-15 23:10 +0200

csiph-web