Skip to content
Snippets Groups Projects
  1. Feb 26, 2019
    • Adam Barth's avatar
      [fdio] Migrate clients off lib/fdio/util.h · ee70eec3
      Adam Barth authored
      This header is deprecated and will be removed soon.
      
      Change-Id: I9cbaf283dee8b43b14adb4ee35d67829d265ce2f
      ee70eec3
    • Venkatesh Srinivas's avatar
      [zircon][arch/x86] CPU Features: Minor cleanup · 67d53e56
      Venkatesh Srinivas authored
      * Add an enumeration entry for when we're not running under a hypervisor;
        today UNKNOWN is used for 'all non-KVM and all physical'.
      
        This allows code elsewhere in the kernel to see whether we're running
        under a hypervisor or not, so we can apply certain workarounds if
        needed.
      
      * Modify select_microarch_config to take the x86 uarch enum by parameter
        rather than global and have it return the selected config operations
        table.
      
      I'd like to move towards an interface for code throughout the kernel to
      query decoded CPUID feature bits/synthetic feature bits/family-model-
      stepping data. The interface would allow writing tests for particular
      F/M/S targets. Marking the globals as such is a start towards that.
      
      Change-Id: Ic94d7661c8051fbda3ec9eef6e31750e0c53a08d
      67d53e56
    • Bryan Henry's avatar
      [appmgr] Delete 'persistent-storage' .cmx feature · 1a2d5512
      Bryan Henry authored
      All existing users have been migrated to
      'deprecated-global-persistent-storage', which is protected by a
      whitelist. New users must use 'isolated-persistent-storage' instead.
      
      Fuzzing tests have been broken for a while now because of assumptions
      made about /data across namespaces, and this wasn't caught because they
      don't run continuously (and no one complained). SEC-200 filed to fix
      them.
      
      CF-28 #progress
      
      Test: CQ
      Change-Id: Ibadb12f76012e4ed8eaa297b60d243c46e508faa
      1a2d5512
    • James Tucker's avatar
      [trace][tests] use package libs for unit tests · e3bcf42a
      James Tucker authored
      The unit tests were being run from /pkgfs directly, relying on libz from
      /system/lib. Adding a component manifest results in a migration to the
      package loader service.
      
      Bug: PKG-494 #comment fix trace_tests
      Change-Id: I0017ee3091c24193b0c137186bbfd30ffbeb3f49
      e3bcf42a
    • Tricia Landers's avatar
      [minfs] Refactor WritebackBuffer · a59a3e96
      Tricia Landers authored
      Separate "WritebackBuffer" into an in-memory buffer, and an
      asynchronous processing WritebackQueue.
      
      Test: fs-test
      
      Change-Id: I49f82e76c0c352459b262bd24c8d33b0a9a1a2c8
      a59a3e96
    • Yifei Teng's avatar
      [fshost] Stop supporting mounting mutable minfs system · 715d7b15
      Yifei Teng authored
      TEST: runtests
      Change-Id: I07d9051383695a6035ec155bcb3ccb1813cacb0e
      715d7b15
    • Adam Barth's avatar
      [examples] Migrate to lib/sys/cpp · b0e35851
      Adam Barth authored
      This change is part of a LSC migrating all clients of lib/component/cpp
      to lib/sys/cpp.
      
      Change-Id: I101c632af6e16156f742317fe25f27c16baefbda
      b0e35851
    • Eric Wang's avatar
      [wlan-mlme-c] update README for cbindgen · c4f1585d
      Eric Wang authored
      Change-Id: I98914df3a650febcccc224656ac7b8ba141bafbe
      c4f1585d
    • James Tucker's avatar
      [fx] introduce fx-error and fx-warn with colors · 1f71b3e5
      James Tucker authored
      fx-error prints ERROR: and it's arguemnts to stderr, with the prefix colored
      red if stderr is a terminal.
      fx-warn prints WARNING: and it's arguemnts to stderr, with the prefix colored
      yellow if stderr is a terminal.
      
      test -t is known to be imperfect, however, it should be sufficiently portable
      to be usable for now without otherwise going off the deep end.
      
      This should help to make errors and warnings stand out in output for a large
      group of users.
      
      Change-Id: Ib7fdee3ca677bfd27e4a3a64d39ecc9a812bfeab
      1f71b3e5
    • Jeff Belgum's avatar
      [rust][cobalt] Add OWNERS file for fuchsia-cobalt rust library. · deeca0d6
      Jeff Belgum authored
      TEST=CQ
      
      Change-Id: Id81c9a8481679720b5a9eeb256e04f0612cdb626
      deeca0d6
    • Tricia Landers's avatar
      [minfs] Implement copy-on-write data blocks · f7744402
      Tricia Landers authored
      When writing to a data block, always allocate a new block, even if
      one has been previously allocated. The data txn is sent out to disk
      before the inode metadata is updated to point to the new blocks.
      
      ZX-1284 #done
      
      Change-Id: I466ec9967a2361288061093b49acbbb845bd34d6
      f7744402
    • Nick Pollard's avatar
      [bt][common] Force DeviceAddress to be 8 bytes · af68dc3b
      Nick Pollard authored
      The 'Type' enum class in common::DeviceAddress has only 4 options, but
      defaults to a 32bit int, which due to alignment causes DeviceAddress to
      be 12 bytes. Switching to an explicit uint16_t allows the entire class
      to be packed into 8 bytes, which will allow it to fit in a 64-bit
      register and is likely to generally improve memory usage and performance.
      
      Change-Id: I6b1af5bde495bc57ee41db4f6b7e664d056f24cc
      af68dc3b
    • Joshua Seaton's avatar
      [test-spec] Enable linux/mac tests to specify environments · abc2a6cf
      Joshua Seaton authored
      This enables host-target interaction tests, allowing a linux test to
      target a NUC environment, for example (which would mean that it would
      run on the attached controller machine).
      
      Bug: IN-816
      Change-Id: I7e338de21130d24dadf300c1f8a324316dd55811
      abc2a6cf
    • Braden Kell's avatar
      [zircon][test] Add mock-sdio library · dd064d30
      Braden Kell authored
      Test: I7bcc11f98e5d72ef814981b120ece96bfbb3ed75
      Change-Id: Iaefc57502d86095b618d5bf4bd5847b9d9d85671
      dd064d30
    • Joshua Liebow-Feeser's avatar
      [recovery-netstack][icmp] Remove commented-out code · 2019981b
      Joshua Liebow-Feeser authored
      - Remove commented-out code accidentally left in a previous commit
      
      Change-Id: Iac6649a5758861877f96de79400b8c7c81ec84a4
      2019981b
    • Adam Barth's avatar
      [cobalt] Migrate to lib/sys/cpp · 88341b6c
      Adam Barth authored
      This change is part of a LSC migrating all clients of lib/component/cpp
      to lib/sys/cpp.
      
      Change-Id: I83398da73a5af9fbb04475fd5973573f96ee8833
      88341b6c
    • Doug Evans's avatar
      [lib/inferior_control] Move process delegation to Server class · d6ab8432
      Doug Evans authored
      Tested: CQ
      Change-Id: I0223558585a92c968240d7c72aa158359b7cb887
      d6ab8432
    • Adam Barth's avatar
      [a11y] Migrate to lib/sys/cpp · 187f794b
      Adam Barth authored
      This change is part of a LSC migrating all clients of lib/component/cpp
      to lib/sys/cpp.
      
      Change-Id: I5bd2b5942a129c643567e2b1467e8580d591fdb6
      187f794b
    • Nathan Rogers's avatar
      [scenic] Minor hello_base_view cleanup · b51993d9
      Nathan Rogers authored
      Apply cleanups discussed in the hello_touch_colors change to
      hello_base_view.
      
      Test: CQ
      Change-Id: Ia84833571073d82c822447e914301376615e0874
      b51993d9
    • Adam Barth's avatar
      [component] Limit who can depend on lib/component/cpp · e440c803
      Adam Barth authored
      This library is being replaced by //sdk/lib/sys/cpp. This starts
      limiting who can use the old library. As we migrate clients to the new
      library, we can tighten down the broad allow patterns in this initial
      list.
      
      Change-Id: Ic1e5ca2097f7fd5da327fccb9f3cd1ad4526407b
      e440c803
    • Christopher R. Johnson's avatar
      [iquery] Bug workaround for hang issue. · 21485538
      Christopher R. Johnson authored
      This is a temporary workaround for ZX-3284, which is causing iquery
      operations to hang occasionally.
      
      The problem is that components who are resumed from a suspended state
      occasionally miss events waiting on a channel. This change adds a new
      FilePoker class that takes the path of a directory that will soon be opened.
      If the operation to open that file happens to hang, a thread wrapped by
      FilePoker will attempt to open the directory, which unsticks the
      process.
      
      This hack uncovered a possible additional problem with thread
      suspension, but it is far more rare than the original issue.
      
      ZX-3284: #comment
      CF-255: #done
      
      Change-Id: I74263679f19446c11e0999a5e522a21fe43c1e71
      21485538
    • Jaeheon Yi's avatar
      [input][test] Increase timeout deadline. · e4a9d01d
      Jaeheon Yi authored
      SCN-1280 #comment
      
      TEST=CQ
      
      Change-Id: I9f42d63a0b632ab31d1e2cf6fe1b4f1504a3d05f
      e4a9d01d
    • Leo Lung's avatar
      [component_manager] Implement fuchsia-boot · d6fd7592
      Leo Lung authored
      TEST=fx run-test-component component_manager_tests
      
      CF-536 #comment
      
      "Despite its stocky shape and short legs, it can easily outrun most
      humans. Hippos have been clocked at 30 km/h over short distances"
      
      Change-Id: I157e83298f2437982068c272c08527bb6ab7c570
      d6fd7592
  2. Feb 25, 2019
    • Mohan Srinivasan's avatar
      [dev][acpi] Cleanup and change some naming in the x86 board driver. · f1a828e0
      Mohan Srinivasan authored
      Cosmetic changes. Cleanup some code, naming changes in the x86 board
      driver.
      
      Test: CQ, boot NUC and make sure ACPI and other x86 drivers load fine.
      Change-Id: I1378c64cc00026f541ef57d114627fa6b4131d32
      f1a828e0
    • Elsa Zuckerman's avatar
      [storyrunner] Convert StoryData from a FIDL struct to table · b2041ec2
      Elsa Zuckerman authored
      TESTED= build
      
      Change-Id: I6e93ea1ec7cf7e3bf7dfb6c94f7d644c2ea2c8b0
      b2041ec2
    • Doug Evans's avatar
      [lib/inferior_control] Logging tweaks · 83af91da
      Doug Evans authored
      Tested: run suspend_stress with --verbosity=2 and verify output
      Change-Id: I5a1509d677288f7336720d5958dca95137df3d31
      83af91da
    • Derek Gonyeo's avatar
      [componentmgr] derive Fail trait on RunnerError · 541e5967
      Derek Gonyeo authored
      Modify the RunnerError to derive failure::Fail and for each enum option
      to contain an inner failure::Error. Update the error handling in the ELF
      runner to reflect this.
      
      Change-Id: I5b7d092a2503b2a3a93928c07e70ca40cddc2ccb
      541e5967
    • Adam Barth's avatar
      [auth] Migrate to lib/sys/cpp · 5471499d
      Adam Barth authored
      This change is part of a LSC migrating all clients of lib/component/cpp
      to lib/sys/cpp.
      
      Change-Id: Ica94c0402b95980d51315024dc60ba52ba1e796f
      5471499d
    • James Tucker's avatar
      [mwget] move from system/bin to /bin · 2a304f10
      James Tucker authored
      Change-Id: Idecc24b76492c775bcc51a6d756a0d71b0014358
      2a304f10
    • James Tucker's avatar
      [nc] move from system/bin to /bin · aa8eb6f7
      James Tucker authored
      Change-Id: I70feb9970c7ebd44935a75241f77c20803cb1906
      aa8eb6f7
    • Dave Schuyler's avatar
      [System Monitor] add memory sampling · c4782a8c
      Dave Schuyler authored
      This CL adds sampling for memory stats. These are system-wide samples (not per
      process or thread).
      
      Test: //fuchsia/out/x64/host_x64/system_monitor_tests
      Change-Id: Icaf818ba2b58992d53d9a43668426e8e6049874c
      c4782a8c
    • James Robinson's avatar
      [packages/tools] Consolidate tools into tools bundle · 91851863
      James Robinson authored
      This consolidates the package definition files for many command line
      tools in the garnet directory to the //garnet/packages/tools directory
      and includes them in //bundles/tools so it's easier to build them as
      unit.
      
      This leaves a few forwarding declarations behind for packages
      referenced from topaz.git.
      
      Change-Id: Iabc053af938493e2671c4b7694ff27bb287ac48e
      91851863
    • Christopher R. Johnson's avatar
      [iquery] Refactor iquery to use new reader interface · 202313a0
      Christopher R. Johnson authored
      This change replaces iquery's manual traversal code with the new
      inspect/reader.h interface.
      
      To simplify iquery path handling and to make parts of the path more
      clear, this change also introduces a delimiter between the file part and
      inspect part of a particular path.
      
      Consider the inspect tree:
      objects:
       table-0x0:
        row-0x1:
       table-0x2:
      
      Previously we would write:
      $ iquery --ls --full_paths objects/table-0x0
      objects/table-0x0/row-0x1
      
      Now we write:
      $ iquery --ls --full_paths objects#table-0x0
      objects#table-0x0/row-0x1
      
      The delimiter '#' separates the file part of the path from the inspect
      part, which makes the meaning more clear ("open inspect at this
      location, then traverse to this child" vs. "expect to find an inspect
      endpoint along this path and once that is open continue traversing to
      the proper location").
      
      CF-218: #progress
      
      Change-Id: I31df97351aca4e3df5f53df4aa842c7207c2e18d
      202313a0
    • Jeremy Manson's avatar
      [fidl] A FIDL Linter. · 917bcd9f
      Jeremy Manson authored
      Test: Added tests to fidl-compiler-test.  make && fidl-compiler-test
      Change-Id: I9980184e92c4f45b6ebd3e13c7129a6e79160f14
      917bcd9f
    • Emircan Uysaler's avatar
      [tracing] Add flow between scenic and views · e5065ea9
      Emircan Uysaler authored
      This CL add a number of flows to communicate between scenic and the thread
      running a BaseView.
      
      Note that BaseView::PresentScene relies on
      https://fuchsia-review.googlesource.com/c/fuchsia/+/254250
      
      PT-86
      Test: hello_touch_colors
      
      Change-Id: I12e110ed57ec74a031ac65365babf2c23d23cff4
      e5065ea9
    • Doug Evans's avatar
      [lib/inferior_control] Remove eport mutex, no longer needed. · 37b9f115
      Doug Evans authored
      ... plus rename io_thread_ to port_thread_. "io_thread_" clashes with
      the I/O thread that servers run.
      
      Tested: CQ
      Change-Id: Ib4f746c28b2ea468f84eeb62e6855980a46ba7af
      37b9f115
    • Pascal Perez's avatar
      [fidlc] Use of interface is now deprecated · 97ad752c
      Pascal Perez authored
      * Adding warning, will turn into an error on 3/4/2019
      * Adjusting a few test files to avoid generating warnings in tests
      * Fixing a use of interface in the SDK
      
      Test: ninja -C build-zircon system/utest:host && ./build-zircon/host-x64-linux-clang/obj/system/utest/fidl-compiler/fidl-compiler-test
      Change-Id: Ic9fca96f5122bac20c2e64c2e0c6eccdfaba19d0
      97ad752c
    • Dave Schuyler's avatar
      [docs] clarification in fidl doc · ca8cd13e
      Dave Schuyler authored
      Primarily clarified "one blank line (two consecutive newline characters)" rather
      than "one newline" (which is doesn't create a blank line). There are other
      formatting changes for consistency as well.
      
      Test: none
      Change-Id: I31aa64b762daf2b10d07580fea3589f5c32e1ba6
      ca8cd13e
    • Dustin Green's avatar
      [codec] use_aac_decoder_test asan fix · 78f25995
      Dustin Green authored
      For now, work around a bug in SoftAAC2.cpp where it can editItemAt(0)
      and dereference the returned reference despite the vector being empty.
      For now, we let SoftAAC2.cpp have a reference to a dummy_.
      
      MTWN-236 #done
      
      Tested: use_aac_decoder_test (asan)
      Change-Id: Ic8effb3ca703530133f98f40bb79bc973594166c
      78f25995
    • Ed Coyne's avatar
      [devmgr] Move kernel-debug logic to service. · 21072b6d
      Ed Coyne authored
      We create a standalone(ish) service that lives in svchost that will
      handle kernel-debug related things (kerneldebug commands and ktrace).
      This also update the "dm" tool to talk directly to this new service.
      
      This is a re-commit of I5afd3e7bc366debf7b4819dfe62d66cfc665a9dc with
      support for the "k" cmdline tool.
      
      Test: Tested 'dm' tool and 'runtests' on qemu-x86.
      Issue: ZX-3403
      Change-Id: I5121346af4d24d479872c8655258b8cf4abb9957
      21072b6d
Loading