[roll] Roll fuchsia [kernel] Use root_resource_filter_* in x86

root_resource_filter is a platform mechanism to make certain ranges
within a resource domain (MMIO, IOPORT) unavailable, or allocated by the
kernel.

Before this patch, x86 would keep its own deny list of mmio regions and
ioports. By using a custom hook to initialize resources, it would then
mark all these regions as unavailable on each resource. Additionally the
ram regions would be stripped as well from the MMIO_RESOURCE.

This behavior is redundant with the current usage of root resource
filter, in which before reaching userspace all the ram regions are added
to the global deny list.

The root resource filter could only handle MMIO regions before this
patch, which adds support for IOPORTS and removes the ad-hoc mechanism
for managing deny regions for both MMIO and IOPORTS.

As a result, the few spots that use mark_mmio/pio_reserved were removed
and rely directly on the root_resource_filter. This made the pc/memory.h
header obsolete.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1271558
Original-Revision: 1b286ae17be557063bf03b1934ada28cc04d151b
GitOrigin-RevId: 0fdf34797972cbb08b0d6f8e046d8a2c66a09f39
Change-Id: I5769e8d1f1a2246219e931b4147ee8d0e21ab8a8
1 file changed
tree: 8fb039a8cb18ed4d0eac398607890bcc38648944
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. flower
  6. jiri.lock
  7. MILESTONE
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
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 in one of the communication channels documented at get involved.

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.