[roll] Roll fuchsia [kernel] Give a simpler handling of kernel.memory-limit-mb

We do not need the complexities of libmemory_limit to handle this boot
option. With a normalized accounting of RAM, we can more simply
determine a RAM cut-off address and then truncate all mention of RAM
passed that point.

Removing the use of libmemory_limit, which parameterizes repeated calls
to pmm_add_arena() is a first step toward refactoring how the arenas are
initialized (which should happen all at once, and not an arena at a
time).

The code in this CL is a switchback, tweaking the legacy zbi_mem_range_t
ranges - as described by the bootloader - that are handed off to the
kernel. When we are ready to hand off the normalized ranges, we'll be
able to remove this special handling entirely, relying on the truncation
of the normalized ranges that now occurs at the very beginning of phys
memory intialization.

Original-Bug: 347766366
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1067512
Original-Revision: a7dfb01dcd54c8d8e5f3ec24d86b7c4eee735b34
GitOrigin-RevId: 9843cf7e29f8efd8bb53baddb9b78ba39b90a1a1
Change-Id: Ia7686f4afb6bc2374882662d973eb51ba3e3fbba
1 file changed
tree: 62e1a371dc2623623fc0797f59f79b3b2a631a3c
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.