Skip to content
Snippets Groups Projects
  1. Jul 06, 2023
    • Christian König's avatar
      drm: execution context for GEM buffers v7 · 89724f7c
      Christian König authored
      
      This adds the infrastructure for an execution context for GEM buffers
      which is similar to the existing TTMs execbuf util and intended to replace
      it in the long term.
      
      The basic functionality is that we abstracts the necessary loop to lock
      many different GEM buffers with automated deadlock and duplicate handling.
      
      v2: drop xarray and use dynamic resized array instead, the locking
          overhead is unnecessary and measurable.
      v3: drop duplicate tracking, radeon is really the only one needing that.
      v4: fixes issues pointed out by Danilo, some typos in comments and a
          helper for lock arrays of GEM objects.
      v5: some suggestions by Boris Brezillon, especially just use one retry
          macro, drop loop in prepare_array, use flags instead of bool
      v6: minor changes suggested by Thomas, Boris and Danilo
      v7: minor typos pointed out by checkpatch.pl fixed
      
      Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
      Reviewed-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
      Reviewed-by: default avatarDanilo Krummrich <dakr@redhat.com>
      Tested-by: default avatarDanilo Krummrich <dakr@redhat.com>
      89724f7c
  2. Jun 27, 2023
  3. May 22, 2023
  4. Mar 22, 2023
  5. Mar 11, 2023
  6. Mar 10, 2023
  7. Mar 08, 2023
  8. Feb 15, 2023
    • Paolo Bonzini's avatar
      Documentation/hw-vuln: Fix rST warning · 971cecb9
      Paolo Bonzini authored
      
      The following warning:
      
         Documentation/admin-guide/hw-vuln/cross-thread-rsb.rst:92: ERROR: Unexpected indentation.
      
      was introduced by commit 493a2c2d.  Fix it by placing everything in
      the same paragraph and also use a monospace font.
      
      Fixes: 493a2c2d ("Documentation/hw-vuln: Add documentation for Cross-Thread Return Predictions")
      Reported-by: Stephen Rothwell <sfr@canb@auug.org.au>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      971cecb9
  9. Feb 10, 2023
  10. Feb 09, 2023
  11. Feb 02, 2023
  12. Feb 01, 2023
    • Michal Hocko's avatar
      Revert "mm: add nodes= arg to memory.reclaim" · 55ab834a
      Michal Hocko authored
      This reverts commit 12a5d395.
      
      Although it is recognized that a finer grained pro-active reclaim is
      something we need and want the semantic of this implementation is really
      ambiguous.
      
      In a follow up discussion it became clear that there are two essential
      usecases here.  One is to use memory.reclaim to pro-actively reclaim
      memory and expectation is that the requested and reported amount of memory
      is uncharged from the memcg.  Another usecase focuses on pro-active
      demotion when the memory is merely shuffled around to demotion targets
      while the overall charged memory stays unchanged.
      
      The current implementation considers demoted pages as reclaimed and that
      break both usecases.  [1] has tried to address the reporting part but
      there are more issues with that summarized in [2] and follow up emails.
      
      Let's revert the nodemask based extension of the memcg pro-active
      reclaim for now until we settle with a more robust semantic.
      
      [1] http://lkml.kernel.org/r/http://lkml.kernel.org/r/20221206023406.3182800-1-almasrymina@google.com
      [2] http://lkml.kernel.org/r/Y5bsmpCyeryu3Zz1@dhcp22.suse.cz
      
      Link: https://lkml.kernel.org/r/Y5xASNe1x8cusiTx@dhcp22.suse.cz
      
      
      Fixes: 12a5d395 ("mm: add nodes= arg to memory.reclaim")
      Signed-off-by: default avatarMichal Hocko <mhocko@suse.com>
      Cc: Bagas Sanjaya <bagasdotme@gmail.com>
      Cc: Huang Ying <ying.huang@intel.com>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: Mina Almasry <almasrymina@google.com>
      Cc: Muchun Song <songmuchun@bytedance.com>
      Cc: Roman Gushchin <roman.gushchin@linux.dev>
      Cc: Shakeel Butt <shakeelb@google.com>
      Cc: Tejun Heo <tj@kernel.org>
      Cc: Wei Xu <weixugc@google.com>
      Cc: Yang Shi <yang.shi@linux.alibaba.com>
      Cc: Yosry Ahmed <yosryahmed@google.com>
      Cc: zefan li <lizefan.x@bytedance.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      55ab834a
  13. Jan 29, 2023
  14. Jan 28, 2023
    • Linus Torvalds's avatar
      Fix up more non-executable files marked executable · c9661827
      Linus Torvalds authored
      
      Joe found another DT file that shouldn't be executable, and that
      frustrated me enough that I went hunting with this script:
      
          git ls-files -s |
              grep '^100755' |
              cut -f2 |
              xargs grep -L '^#!'
      
      and that found another file that shouldn't have been marked executable
      either, despite being in the scripts directory.
      
      Maybe these two are the last ones at least for now.  But I'm sure we'll
      be back in a few years, fixing things up again.
      
      Fixes: 8c6789f4 ("ASoC: dt-bindings: Add Everest ES8326 audio CODEC")
      Fixes: 4d8e5cd2 ("locking/atomics: Fix scripts/atomic/ script permissions")
      Reported-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c9661827
  15. Jan 27, 2023
  16. Jan 26, 2023
  17. Jan 24, 2023
Loading