Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-coresight-backports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-coresight-backports
  • Repository
Switch branch/tag
  • linux-coresight-backports
  • arch
  • mips
  • kernel
  • setup.c
Find file BlameHistoryPermalink
  • Alexander Sverdlin's avatar
    MIPS: bootmem: Fix mapstart calculation for contiguous maps · 88d34269
    Alexander Sverdlin authored Sep 03, 2015
    Commit a6335fa1 fixed the case with gap between initrd and next usable PFN zone,
    but broken the case when initrd is combined with usable memory into one region
    (in add_memory_region()). Restore the fixup initially brought in by f9a7febd
    
    .
    
    ---- error message ----
    Unpacking initramfs...
    Initramfs unpacking failed: junk in compressed archive
    BUG: Bad page state in process swapper  pfn:00261
    page:81004c20 count:0 mapcount:-127 mapping:  (null) index:0x2
    flags: 0x0()
    page dumped because: nonzero mapcount
    CPU: 0 PID: 1 Comm: swapper Not tainted 4.2.0+ #1782
    -----------------------
    
    Signed-off-by: default avatarAlexander Sverdlin <alexander.sverdlin@gmail.com>
    Reported-by: default avatarTony Wu <tung7970@gmail.com>
    Tested-by: default avatarTony Wu <tung7970@gmail.com>
    Cc: David Daney <david.daney@cavium.com>
    Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
    Cc: Huacai Chen <chenhc@lemote.com>
    Cc: Joe Perches <joe@perches.com>
    Cc: Steven J. Hill <Steven.Hill@imgtec.com>
    Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
    Cc: stable@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/11086/
    
    
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    88d34269