Skip to content
Snippets Groups Projects
  1. Feb 15, 2023
  2. Feb 10, 2023
  3. Feb 02, 2023
  4. Jan 30, 2023
  5. Jan 19, 2023
  6. Jan 12, 2023
  7. Jan 11, 2023
  8. Jan 04, 2023
  9. Dec 27, 2022
  10. Dec 26, 2022
  11. Dec 21, 2022
  12. Dec 14, 2022
  13. Nov 10, 2022
  14. Nov 02, 2022
  15. Sep 29, 2022
  16. Sep 28, 2022
  17. Sep 13, 2022
  18. Sep 02, 2022
  19. Aug 30, 2022
    • Dmytro Maluka's avatar
      initramfs: enable RTC interrupts passthrough · dd287e2c
      Dmytro Maluka authored
      ChromeOS receives RTC interrupts (along with RTC acpi events),
      so ChromeOS VM in ManaTEE should be able to receive them too.
      
      That said, this fix might be completely optional: RTC wakeup seems
      to work as well with RTC acpi events passthrough only, without RTC
      interrupts. Also from rtc-cmos driver source in kernel it looks like
      it is actually redundant: cmos_interrupt() is called by the acpi event
      handler as well as by the irq handler.
      However, let's keep it close to the non-virtualized behavior.
      
      BUG=b:225285399
      TEST=Boot ManaTEE, verify that RTC wakeup works and rtc0 interrupt
      count in /proc/interrupts increases along with acpi event count in
      /sys/firmware/acpi/interrupts/ff_rt_clk.
      
      Change-Id: I6109ec4f2e76b7dd87496b02b23da4cfd1eeeb59
      Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/initramfs/+/3632105
      
      
      Tested-by: default avatarDmytro Maluka <dmaluka@google.com>
      Commit-Queue: Dmytro Maluka <dmaluka@google.com>
      Reviewed-by: default avatarDmitry Torokhov <dtor@chromium.org>
      dd287e2c
    • Dmytro Maluka's avatar
      initramfs: enable RTC acpi events passthrough · 2df99e14
      Dmytro Maluka authored
      ChromeOS VM takes control over physical communication with RTC
      hardware, so and RTC events should be passed through to the VM.
      
      BUG=b:225285399
      TEST=Suspend via "powerd_dbus_suspend --suspend_for_sec=5", check that
      the system wakes up after 5 secs and
      /sys/firmware/acpi/interrupts/ff_rt_clk counter in CrOS increases.
      
      Change-Id: Iaa71d7704883f1541535c05160146f7265c1b074
      Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/initramfs/+/3613811
      
      
      Reviewed-by: default avatarMicah Morton <mortonm@chromium.org>
      Reviewed-by: default avatarDmitry Torokhov <dtor@chromium.org>
      Tested-by: default avatarDmytro Maluka <dmaluka@google.com>
      Commit-Queue: Dmytro Maluka <dmaluka@google.com>
      2df99e14
    • Dmytro Maluka's avatar
      hypervisor: brya: PMIO regions cleanup · 4fad9d22
      Dmytro Maluka authored
      - Removed the following legacy ports not used by ChromeOS (the below is
        their source ACPI description in
        src/soc/intel/common/block/acpi/acpi/lpc.asl in Coreboot):
      
              IO (Decode16, 0x61, 0x61, 0x1, 0x01) // NMI Status
              IO (Decode16, 0x63, 0x63, 0x1, 0x01) // CPU Reserved
              IO (Decode16, 0x65, 0x65, 0x1, 0x01) // CPU Reserved
              IO (Decode16, 0x67, 0x67, 0x1, 0x01) // CPU Reserved
              IO (Decode16, 0x80, 0x80, 0x1, 0x01) // Port 80 Post
              IO (Decode16, 0x92, 0x92, 0x1, 0x01) // CPU Reserved
              IO (Decode16, 0xb2, 0xb2, 0x1, 0x02) // SWSMI
      
      - Removed legacy DMA ports 0x81-0xef except port 0x87 (DMA_PAGE_0 reg)
        which just returns 0xff value indicating that there is no legacy DMA
        controller, so that ChromeOS doesn't try to use legacy DMA.
        See i8237A_init_ops() in Linux kernel.
        TODO: emulate this port in crosvm instead of pass-through?
      
      - TODO: do we need Super I/O ports 0x2e-0x2f,0x4e-0x4f? ChromeOS does
        access them for some reason during bootup, as well as during resume
        from suspend, but is it really needed?
      
      BUG=none
      TEST=ManaTEE boots and works fine.
      
      Change-Id: Ib9bd5bb7b53473267005efb15b28c40cff06783d
      Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/initramfs/+/3827427
      
      
      Reviewed-by: default avatarDmitry Torokhov <dtor@chromium.org>
      Commit-Queue: Dmytro Maluka <dmy@semihalf.com>
      Tested-by: default avatarDmytro Maluka <dmy@semihalf.com>
      4fad9d22
  20. Aug 25, 2022
  21. Aug 19, 2022
  22. Aug 18, 2022
  23. Aug 13, 2022
  24. Aug 12, 2022
  25. Aug 09, 2022
  26. Aug 08, 2022
  27. Aug 02, 2022
Loading