[roll] Roll fuchsia [fdf][compat] Give back zx_device_t* before init().

device_init_reply() relies on having a zx_device_t*. Init is called
asynchronously, so _some_ of the time we would set the zx_device_t*
before Init got called, but sometimes we wouldn't, which would cause
crashes early in boot.

This wasn't caught by any tests because in tests we always call
device_add from the async dispatcher thread. In practice, the x86 board
driver calls device_add from a secondary thread. If the dispatcher
thread is not busy when device_add is called, it will immediately call
DdkInit.

Original-Bug: 91608
Original-Bug: 93757
Test: fx test ddk-init-test
Test: boot chromebook-x64-dfv2
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/662002
Original-Revision: f7c4f033e7041769121eb2f687e459150a7357e2
GitOrigin-RevId: 7e9ae64f8066cf8fc82c0f520d007871a0f0fc86
Change-Id: I7f512c8cee5ef98dff2ffe921aa3a94619b60f37
1 file changed
tree: 90e08d169665dc30f47a0be564034b5c93407d63
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
  12. 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.