Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • arch
  • mips
  • kernel
  • setup.c
Find file BlameHistoryPermalink
  • Huacai Chen's avatar
    MIPS: Let early memblock_alloc*() allocate memories bottom-up · 25517ed4
    Huacai Chen authored Nov 10, 2018
    
    
    After switched to NO_BOOTMEM, there are several boot failures. Some of
    them have been fixed and some of them haven't. I find that many of them
    are because of memory allocations are top-down, while the old behavior
    is bottom-up. This patch let early memblock_alloc*() allocate memories
    bottom-up to avoid some potential problems.
    
    Signed-off-by: default avatarHuacai Chen <chenhc@lemote.com>
    Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
    Fixes: bcec54bf ("mips: switch to NO_BOOTMEM")
    Patchwork: https://patchwork.linux-mips.org/patch/21069/
    References: https://patchwork.linux-mips.org/patch/21031/
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: James Hogan <james.hogan@mips.com>
    Cc: Steven J . Hill <Steven.Hill@cavium.com>
    Cc: linux-mips@linux-mips.org
    Cc: Fuxin Zhang <zhangfx@lemote.com>
    Cc: Zhangjin Wu <wuzhangjin@gmail.com>
    25517ed4
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7