Skip to content
Permalink
Alim-Akhtar/dt…
Switch branches/tags

Commits on Jan 21, 2022

  1. arm64: defconfig: Enable Tesla FSD SoC

    This patch enables the Tesla FSD SoC in arm64 defconfig.
    
    Cc: linux-fsd@tesla.com
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  2. arm64: dts: fsd: Add initial pinctrl support

    Add initial pin configuration nodes for FSD SoC.
    
    Cc: linux-fsd@tesla.com
    Signed-off-by: Shashank Prashar <s.prashar@samsung.com>
    Signed-off-by: Aswani Reddy <aswani.reddy@samsung.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  3. arm64: dts: fsd: Add initial device tree support

    Add initial device tree support for "Full Self-Driving" (FSD) SoC
    This SoC contain three clusters of four cortex-a72 CPUs and various
    peripheral IPs.
    
    Cc: linux-fsd@tesla.com
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Arjun K V <arjun.kv@samsung.com>
    Signed-off-by: Aswani Reddy <aswani.reddy@samsung.com>
    Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
    Signed-off-by: Sriranjani P <sriranjani.p@samsung.com>
    Signed-off-by: Chandrasekar R <rcsekar@samsung.com>
    Signed-off-by: Shashank Prashar <s.prashar@samsung.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  4. dt-bindings: arm: add Tesla FSD ARM SoC

    Add device tree bindings for the Tesla FSD ARM SoC.
    
    Cc: linux-fsd@tesla.com
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  5. pinctrl: samsung: add FSD SoC specific data

    Adds Tesla FSD SoC specific data to enable pinctrl.
    FSD SoC has similar pinctrl controller as found in the most
    Samsung/Exynos SoCs.
    
    Cc: linux-fsd@tesla.com
    Acked-by: Linus Walleij <linus.walleij@linaro.org>
    Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  6. dt-bindings: pinctrl: samsung: Add compatible for Tesla FSD SoC

    Add compatible for Tesla Full Self-Driving SoC. The
    pinctrl hardware IP is similar to what found on most of the
    Exynos series of SoC, so this new compatible is added in
    Samsung pinctrl binding.
    
    Cc: linux-fsd@tesla.com
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  7. clk: samsung: fsd: Add cam_csi block clock information

    Adds clocks for BLK_CAM_CSI block, this is needed for CSI to work.
    
    Cc: linux-fsd@tesla.com
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Sathyakam M <sathya@samsung.com>
    Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  8. clk: samsung: fsd: Add cmu_mfc block clock information

    Adds cmu_mfc clock related code, these clocks are
    required for MFC IP.
    
    Cc: linux-fsd@tesla.com
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Smitha T Murthy <smitha.t@samsung.com>
    Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  9. clk: samsung: fsd: Add cmu_imem block clock information

    Adds cmu_imem clock related code, imem block contains IPs
    like WDT, DMA, TMU etc, these clocks are required for such
    IP function.
    
    Cc: linux-fsd@tesla.com
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Arjun K V <arjun.kv@samsung.com>
    Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
    Signed-off-by: Tauseef Nomani <tauseef.n@samsung.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  10. clk: samsung: fsd: Add cmu_fsys1 clock information

    Adds cmu_fsys1 block clock information which are needed
    for PCIe IPs in block FSYS1.
    
    Cc: linux-fsd@tesla.com
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
    Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  11. clk: samsung: fsd: Add cmu_fsys0 clock information

    CMU_FSYS0 block has IPs like UFS, EQOS, PCIe etc, lets add
    the related clock information for the same.
    
    Cc: linux-fsd@tesla.com
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
    Signed-off-by: Shradha Todi <shradha.t@samsung.com>
    Signed-off-by: Jayati Sahu <jayati.sahu@samsung.com>
    Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  12. clk: samsung: fsd: Add cmu_peric block clock information

    Add CMU_PERIC block clock information needed for various IPs
    functions found in this block.
    
    Cc: linux-fsd@tesla.com
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Aswani Reddy <aswani.reddy@samsung.com>
    Signed-off-by: Niyas Ahmed S T <niyas.ahmed@samsung.com>
    Signed-off-by: Chandrasekar R <rcsekar@samsung.com>
    Signed-off-by: Jayati Sahu <jayati.sahu@samsung.com>
    Signed-off-by: Sriranjani P <sriranjani.p@samsung.com>
    Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
    Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  13. clk: samsung: fsd: Add initial clock support

    Add initial clock support for FSD (Full Self-Driving) SoC
    which is required to bring-up platforms based on this SoC.
    
    Cc: linux-fsd@tesla.com
    Signed-off-by: Jayati Sahu <jayati.sahu@samsung.com>
    Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
    Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  14. dt-bindings: clock: Document FSD CMU bindings

    Add dt-schema documentation for Tesla FSD SoC clock controller.
    
    Cc: linux-fsd@tesla.com
    Acked-by: Stephen Boyd <sboyd@kernel.org>
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  15. dt-bindings: clock: Add bindings definitions for FSD CMU blocks

    Clock controller driver of FSD platform is designed to have separate
    instances for each particular CMU. So clock IDs in this bindings header
    also start from 1 for each CMU block.
    
    Cc: linux-fsd@tesla.com
    Reported-by: kernel test robot <lkp@intel.com>
    [robot: reported missing #endif]
    Acked-by: Stephen Boyd <sboyd@kernel.org>
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  16. dt-bindings: add vendor prefix for Tesla

    Add vendor prefix for the Tesla (https://www.tesla.com)
    
    Cc: linux-fsd@tesla.com
    Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
    alim-akhtar authored and intel-lab-lkp committed Jan 21, 2022
  17. Add linux-next specific files for 20220121

    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    sfrothwell committed Jan 21, 2022
  18. Merge branch 'akpm/master'

    sfrothwell committed Jan 21, 2022
  19. mm: hide the FRONTSWAP Kconfig symbol

    Select FRONTSWAP from ZSWAP instead of prompting for it.
    
    Link: https://lkml.kernel.org/r/20211224062246.1258487-14-hch@lst.de
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Juergen Gross <jgross@suse.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Christoph Hellwig authored and sfrothwell committed Jan 21, 2022
  20. frontswap: remove support for multiple ops

    There is only a single instance of frontswap ops in the kernel, so
    simplify the frontswap code by removing support for multiple operations.
    
    Link: https://lkml.kernel.org/r/20211224062246.1258487-13-hch@lst.de
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Juergen Gross <jgross@suse.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Christoph Hellwig authored and sfrothwell committed Jan 21, 2022
  21. mm: mark swap_lock and swap_active_head static

    swap_lock and swap_active_head are only used in swapfile.c, so mark them
    static.
    
    Link: https://lkml.kernel.org/r/20211224062246.1258487-12-hch@lst.de
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Juergen Gross <jgross@suse.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Christoph Hellwig authored and sfrothwell committed Jan 21, 2022
  22. frontswap: simplify frontswap_register_ops

    Given that frontswap_register_ops must be called from built-in code,
    there is no need to handle the case of swapfiles coming online before
    or during it, so delete the code that deals with that case.
    
    Link: https://lkml.kernel.org/r/20211224062246.1258487-11-hch@lst.de
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Juergen Gross <jgross@suse.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Christoph Hellwig authored and sfrothwell committed Jan 21, 2022
  23. frontswap: remove frontswap_test

    frontswap_test is unused now, remove it.
    
    Link: https://lkml.kernel.org/r/20211224062246.1258487-10-hch@lst.de
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Juergen Gross <jgross@suse.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Christoph Hellwig authored and sfrothwell committed Jan 21, 2022
  24. mm-simplify-try_to_unuse-fix

    fix shmem_unuse() stub, per Matthew
    
    Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    akpm00 authored and sfrothwell committed Jan 21, 2022
  25. mm: simplify try_to_unuse

    Remove the unused frontswap and pages_to_unuse arguments, and mark
    the function static now that the caller in frontswap is gone.
    
    Link: https://lkml.kernel.org/r/20211224062246.1258487-9-hch@lst.de
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Juergen Gross <jgross@suse.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Christoph Hellwig authored and sfrothwell committed Jan 21, 2022
  26. frontswap: remove the frontswap exports

    None of the frontswap API is called from modular code.
    
    Link: https://lkml.kernel.org/r/20211224062246.1258487-8-hch@lst.de
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Juergen Gross <jgross@suse.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Christoph Hellwig authored and sfrothwell committed Jan 21, 2022
  27. frontswap: simplify frontswap_init

    Just use IS_ENABLED() and remove the __frontswap_init indirection.
    Also remove the unused export.
    
    Link: https://lkml.kernel.org/r/20211224062246.1258487-7-hch@lst.de
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Juergen Gross <jgross@suse.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Christoph Hellwig authored and sfrothwell committed Jan 21, 2022
  28. frontswap: remove frontswap_curr_pages

    frontswap_curr_pages is never called, so remove it.
    
    Link: https://lkml.kernel.org/r/20211224062246.1258487-6-hch@lst.de
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Juergen Gross <jgross@suse.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Christoph Hellwig authored and sfrothwell committed Jan 21, 2022
  29. frontswap: remove frontswap_shrink

    frontswap_shrink is never called, so remove it.
    
    Link: https://lkml.kernel.org/r/20211224062246.1258487-5-hch@lst.de
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Juergen Gross <jgross@suse.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Christoph Hellwig authored and sfrothwell committed Jan 21, 2022
  30. frontswap: remove frontswap_tmem_exclusive_gets

    frontswap_tmem_exclusive_gets is never called, so remove it.
    
    Link: https://lkml.kernel.org/r/20211224062246.1258487-4-hch@lst.de
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Juergen Gross <jgross@suse.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Christoph Hellwig authored and sfrothwell committed Jan 21, 2022
  31. frontswap: remove frontswap_writethrough

    frontswap_writethrough is never called, so remove it.
    
    Link: https://lkml.kernel.org/r/20211224062246.1258487-3-hch@lst.de
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Juergen Gross <jgross@suse.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Christoph Hellwig authored and sfrothwell committed Jan 21, 2022
  32. mm: remove cleancache

    Patch series "remove Xen tmem leftovers".
    
    Since the removal of the Xen tmem driver in 2019, the cleancache hooks are
    entirely unused, as are large parts of frontswap.  This series against
    linux-next (with the folio changes included) removes cleancaches, and cuts
    down frontswap to the bits actually used by zswap.
    
    This patch (of 13):
    
    The cleancache subsystem is unused since the removal of Xen tmem driver in
    commit 814bbf4 ("xen: remove tmem driver").
    
    Link: https://lkml.kernel.org/r/20211224062246.1258487-1-hch@lst.de
    Link: https://lkml.kernel.org/r/20211224062246.1258487-2-hch@lst.de
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Juergen Gross <jgross@suse.com>
    Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Christoph Hellwig authored and sfrothwell committed Jan 21, 2022
  33. lib/stackdepot: always do filter_irq_stacks() in stack_depot_save()

    The non-interrupt portion of interrupt stack traces before interrupt entry
    is usually arbitrary.  Therefore, saving stack traces of interrupts (that
    include entries before interrupt entry) to stack depot leads to unbounded
    stackdepot growth.
    
    As such, use of filter_irq_stacks() is a requirement to ensure stackdepot
    can efficiently deduplicate interrupt stacks.
    
    Looking through all current users of stack_depot_save(), none (except
    KASAN) pass the stack trace through filter_irq_stacks() before passing it
    on to stack_depot_save().
    
    Rather than adding filter_irq_stacks() to all current users of
    stack_depot_save(), it became clear that stack_depot_save() should simply
    do filter_irq_stacks().
    
    Link: https://lkml.kernel.org/r/20211130095727.2378739-1-elver@google.com
    Signed-off-by: Marco Elver <elver@google.com>
    Reviewed-by: Alexander Potapenko <glider@google.com>
    Acked-by: Vlastimil Babka <vbabka@suse.cz>
    Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
    Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
    Cc: Dmitry Vyukov <dvyukov@google.com>
    Cc: Vijayanand Jitta <vjitta@codeaurora.org>
    Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org>
    Cc: Imran Khan <imran.f.khan@oracle.com>
    Cc: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    melver authored and sfrothwell committed Jan 21, 2022
  34. lib/stackdepot: allow optional init and stack_table allocation by kvm…

    …alloc() - fixup4
    
    Due to 4e66934 ("lib: add reference counting tracking
    infrastructure") landing recently to net-next adding a new stack depot
    user in lib/ref_tracker.c we need to add an appropriate call to
    stack_depot_init() there as well.
    
    Link: https://lkml.kernel.org/r/45c1b738-1a2f-5b5f-2f6d-86fab206d01c@suse.cz
    Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
    Reviewed-by: Eric Dumazet <edumazet@google.com>
    Cc: Jiri Slab <jirislaby@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    tehcaster authored and sfrothwell committed Jan 21, 2022
  35. lib/stackdepot: allow optional init and stack_table allocation by kvm…

    …alloc() - fixup3
    
    Due to cd06ab2 ("drm/locking: add backtrace for locking contended
    locks without backoff") landing recently to -next adding a new stack depot
    user in drivers/gpu/drm/drm_modeset_lock.c we need to add an appropriate
    call to stack_depot_init() there as well.
    
    Link: https://lkml.kernel.org/r/2a692365-cfa1-64f2-34e0-8aa5674dce5e@suse.cz
    Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Cc: Naresh Kamboju <naresh.kamboju@linaro.org>
    Cc: Marco Elver <elver@google.com>
    Cc: Vijayanand Jitta <vjitta@codeaurora.org>
    Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
    Cc: Maxime Ripard <mripard@kernel.org>
    Cc: Thomas Zimmermann <tzimmermann@suse.de>
    Cc: David Airlie <airlied@linux.ie>
    Cc: Daniel Vetter <daniel@ffwll.ch>
    Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
    Cc: Alexander Potapenko <glider@google.com>
    Cc: Andrey Konovalov <andreyknvl@gmail.com>
    Cc: Dmitry Vyukov <dvyukov@google.com>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Oliver Glitta <glittao@gmail.com>
    Cc: Imran Khan <imran.f.khan@oracle.com>
    Cc: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    tehcaster authored and sfrothwell committed Jan 21, 2022
Older