Skip to content
Snippets Groups Projects
  1. Dec 05, 2022
  2. Dec 03, 2022
  3. Oct 29, 2022
  4. Jul 14, 2022
  5. Jun 30, 2022
    • Frederic Weisbecker's avatar
      context_tracking: Split user tracking Kconfig · 24a9c541
      Frederic Weisbecker authored
      
      Context tracking is going to be used not only to track user transitions
      but also idle/IRQs/NMIs. The user tracking part will then become a
      separate feature. Prepare Kconfig for that.
      
      [ frederic: Apply Max Filippov feedback. ]
      
      Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Neeraj Upadhyay <quic_neeraju@quicinc.com>
      Cc: Uladzislau Rezki <uladzislau.rezki@sony.com>
      Cc: Joel Fernandes <joel@joelfernandes.org>
      Cc: Boqun Feng <boqun.feng@gmail.com>
      Cc: Nicolas Saenz Julienne <nsaenz@kernel.org>
      Cc: Marcelo Tosatti <mtosatti@redhat.com>
      Cc: Xiongfeng Wang <wangxiongfeng2@huawei.com>
      Cc: Yu Liao <liaoyu15@huawei.com>
      Cc: Phil Auld <pauld@redhat.com>
      Cc: Paul Gortmaker<paul.gortmaker@windriver.com>
      Cc: Alex Belits <abelits@marvell.com>
      Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
      Reviewed-by: default avatarNicolas Saenz Julienne <nsaenzju@redhat.com>
      Tested-by: default avatarNicolas Saenz Julienne <nsaenzju@redhat.com>
      24a9c541
  6. Jun 27, 2022
  7. Jun 09, 2022
  8. May 02, 2022
  9. Mar 07, 2022
  10. Feb 23, 2022
  11. Dec 17, 2021
  12. Nov 01, 2021
    • Helge Deller's avatar
      parisc: Move thread_info into task struct · 2214c0e7
      Helge Deller authored
      
      This implements the CONFIG_THREAD_INFO_IN_TASK option.
      
      With this change:
      - before thread_info was part of the stack and located at the beginning of the stack
      - now the thread_info struct is moved and located inside the task_struct structure
      - the stack is allocated and handled like the major other platforms
      - drop the cpu field of thread_info and use instead the one in task_struct
      
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      Signed-off-by: default avatarSven Schnelle <svens@stackframe.org>
      2214c0e7
  13. Sep 11, 2021
  14. Aug 24, 2021
  15. Aug 12, 2021
  16. Jul 15, 2021
  17. Mar 31, 2021
  18. Mar 15, 2021
  19. Feb 25, 2021
  20. Dec 03, 2020
  21. Nov 30, 2020
  22. Nov 21, 2020
  23. Oct 30, 2020
  24. Oct 27, 2020
  25. Sep 14, 2020
    • Niklas Schnelle's avatar
      s390/pci: Implement ioremap_wc/prot() with MIO · b02002cc
      Niklas Schnelle authored
      
      With our current support for the new MIO PCI instructions, write
      combining/write back MMIO memory can be obtained via the pci_iomap_wc()
      and pci_iomap_wc_range() functions.
      This is achieved by using the write back address for a specific bar
      as provided in clp_store_query_pci_fn()
      
      These functions are however not widely used and instead drivers often
      rely on ioremap_wc() and ioremap_prot(), which on other platforms enable
      write combining using a PTE flag set through the pgrprot value.
      
      While we do not have a write combining flag in the low order flag bits
      of the PTE like x86_64 does, with MIO support, there is a write back bit
      in the physical address (bit 1 on z15) and thus also the PTE.
      Which bit is used to toggle write back and whether it is available at
      all, is however not fixed in the architecture. Instead we get this
      information from the CLP Store Logical Processor Characteristics for PCI
      command. When the write back bit is not provided we fall back to the
      existing behavior.
      
      Signed-off-by: default avatarNiklas Schnelle <schnelle@linux.ibm.com>
      Reviewed-by: default avatarPierre Morel <pmorel@linux.ibm.com>
      Reviewed-by: default avatarGerald Schaefer <gerald.schaefer@linux.ibm.com>
      Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
      b02002cc
  26. Sep 02, 2020
    • Aneesh Kumar K.V's avatar
      powerpc/mm: Remove DEBUG_VM_PGTABLE support on powerpc · 675bceb0
      Aneesh Kumar K.V authored
      
      The test is broken w.r.t page table update rules and results in kernel
      crash as below. Disable the support until we get the tests updated.
      
      [   21.083519] kernel BUG at arch/powerpc/mm/pgtable.c:304!
      cpu 0x0: Vector: 700 (Program Check) at [c000000c6d1e76c0]
          pc: c00000000009a5ec: assert_pte_locked+0x14c/0x380
          lr: c0000000005eeeec: pte_update+0x11c/0x190
          sp: c000000c6d1e7950
         msr: 8000000002029033
        current = 0xc000000c6d172c80
        paca    = 0xc000000003ba0000   irqmask: 0x03   irq_happened: 0x01
          pid   = 1, comm = swapper/0
      kernel BUG at arch/powerpc/mm/pgtable.c:304!
      [link register   ] c0000000005eeeec pte_update+0x11c/0x190
      [c000000c6d1e7950] 0000000000000001 (unreliable)
      [c000000c6d1e79b0] c0000000005eee14 pte_update+0x44/0x190
      [c000000c6d1e7a10] c000000001a2ca9c pte_advanced_tests+0x160/0x3d8
      [c000000c6d1e7ab0] c000000001a2d4fc debug_vm_pgtable+0x7e8/0x1338
      [c000000c6d1e7ba0] c0000000000116ec do_one_initcall+0xac/0x5f0
      [c000000c6d1e7c80] c0000000019e4fac kernel_init_freeable+0x4dc/0x5a4
      [c000000c6d1e7db0] c000000000012474 kernel_init+0x24/0x160
      [c000000c6d1e7e20] c00000000000cbd0 ret_from_kernel_thread+0x5c/0x6c
      
      With DEBUG_VM disabled
      
      [   20.530152] BUG: Kernel NULL pointer dereference on read at 0x00000000
      [   20.530183] Faulting instruction address: 0xc0000000000df330
      cpu 0x33: Vector: 380 (Data SLB Access) at [c000000c6d19f700]
          pc: c0000000000df330: memset+0x68/0x104
          lr: c00000000009f6d8: hash__pmdp_huge_get_and_clear+0xe8/0x1b0
          sp: c000000c6d19f990
         msr: 8000000002009033
         dar: 0
        current = 0xc000000c6d177480
        paca    = 0xc00000001ec4f400   irqmask: 0x03   irq_happened: 0x01
          pid   = 1, comm = swapper/0
      [link register   ] c00000000009f6d8 hash__pmdp_huge_get_and_clear+0xe8/0x1b0
      [c000000c6d19f990] c00000000009f748 hash__pmdp_huge_get_and_clear+0x158/0x1b0 (unreliable)
      [c000000c6d19fa10] c0000000019ebf30 pmd_advanced_tests+0x1f0/0x378
      [c000000c6d19fab0] c0000000019ed088 debug_vm_pgtable+0x79c/0x1244
      [c000000c6d19fba0] c0000000000116ec do_one_initcall+0xac/0x5f0
      [c000000c6d19fc80] c0000000019a4fac kernel_init_freeable+0x4dc/0x5a4
      [c000000c6d19fdb0] c000000000012474 kernel_init+0x24/0x160
      [c000000c6d19fe20] c00000000000cbd0 ret_from_kernel_thread+0x5c/0x6c
      33:mon>
      
      Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://lore.kernel.org/r/20200902040122.136414-1-aneesh.kumar@linux.ibm.com
      675bceb0
  27. Aug 11, 2020
  28. Jul 30, 2020
  29. Jul 28, 2020
  30. Jul 23, 2020
  31. Jul 13, 2020
Loading