1. 05 6月, 2021 1 次提交
  2. 21 4月, 2021 6 次提交
  3. 10 4月, 2021 1 次提交
  4. 06 3月, 2021 1 次提交
  5. 09 12月, 2020 2 次提交
  6. 23 9月, 2020 2 次提交
  7. 27 8月, 2020 1 次提交
    • H
      drm/amdkfd: implement the dGPU fallback path for apu (v6) · 6127896f
      Huang Rui 提交于
      We still have a few iommu issues which need to address, so force raven
      as "dgpu" path for the moment.
      
      This is to add the fallback path to bypass IOMMU if IOMMU v2 is disabled
      or ACPI CRAT table not correct.
      
      v2: Use ignore_crat parameter to decide whether it will go with IOMMUv2.
      v3: Align with existed thunk, don't change the way of raven, only renoir
          will use "dgpu" path by default.
      v4: don't update global ignore_crat in the driver, and revise fallback
          function if CRAT is broken.
      v5: refine acpi crat good but no iommu support case, and rename the
          title.
      v6: fix the issue of dGPU initialized firstly, just modify the report
          value in the node_show().
      Signed-off-by: NHuang Rui <ray.huang@amd.com>
      Reviewed-by: NFelix Kuehling <Felix.Kuehling@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      6127896f
  8. 16 7月, 2020 1 次提交
    • A
      drm/amdkfd: Provide SMI events watch · 938a0650
      Amber Lin 提交于
      When the compute is malfunctioning or performance drops, the system admin
      will use SMI (System Management Interface) tool to monitor/diagnostic what
      went wrong. This patch provides an event watch interface for the user
      space to register devices and subscribe events they are interested. After
      registered, the user can use annoymous file descriptor's poll function
      with wait-time specified and wait for events to happen. Once an event
      happens, the user can use read() to retrieve information related to the
      event.
      
      VM fault event is done in this patch.
      
      v2: - remove UNREGISTER and add event ENABLE/DISABLE
          - correct kfifo usage
          - move event message API to kfd_ioctl.h
      v3: send the event msg in text than in binary
      v4: support multiple clients
      v5: move events enablement from ioctl to fd write
      v6: sparse fix
      Signed-off-by: NAmber Lin <Amber.Lin@amd.com>
      Reviewed-by: NFelix Kuehling <Felix.Kuehling@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      938a0650
  9. 01 5月, 2020 1 次提交
  10. 29 4月, 2020 3 次提交
  11. 29 2月, 2020 1 次提交
  12. 13 2月, 2020 1 次提交
  13. 10 1月, 2020 1 次提交
  14. 14 11月, 2019 2 次提交
  15. 23 10月, 2019 1 次提交
  16. 03 10月, 2019 3 次提交
  17. 07 8月, 2019 1 次提交
  18. 22 6月, 2019 1 次提交
  19. 31 5月, 2019 1 次提交
  20. 30 5月, 2019 1 次提交
  21. 29 5月, 2019 2 次提交
  22. 25 5月, 2019 3 次提交
  23. 04 1月, 2019 1 次提交
    • L
      Remove 'type' argument from access_ok() function · 96d4f267
      Linus Torvalds 提交于
      Nobody has actually used the type (VERIFY_READ vs VERIFY_WRITE) argument
      of the user address range verification function since we got rid of the
      old racy i386-only code to walk page tables by hand.
      
      It existed because the original 80386 would not honor the write protect
      bit when in kernel mode, so you had to do COW by hand before doing any
      user access.  But we haven't supported that in a long time, and these
      days the 'type' argument is a purely historical artifact.
      
      A discussion about extending 'user_access_begin()' to do the range
      checking resulted this patch, because there is no way we're going to
      move the old VERIFY_xyz interface to that model.  And it's best done at
      the end of the merge window when I've done most of my merges, so let's
      just get this done once and for all.
      
      This patch was mostly done with a sed-script, with manual fix-ups for
      the cases that weren't of the trivial 'access_ok(VERIFY_xyz' form.
      
      There were a couple of notable cases:
      
       - csky still had the old "verify_area()" name as an alias.
      
       - the iter_iov code had magical hardcoded knowledge of the actual
         values of VERIFY_{READ,WRITE} (not that they mattered, since nothing
         really used it)
      
       - microblaze used the type argument for a debug printout
      
      but other than those oddities this should be a total no-op patch.
      
      I tried to fix up all architectures, did fairly extensive grepping for
      access_ok() uses, and the changes are trivial, but I may have missed
      something.  Any missed conversion should be trivially fixable, though.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      96d4f267
  24. 19 12月, 2018 1 次提交
  25. 08 12月, 2018 1 次提交