1. 09 Feb, 2024 3 commits
    • Damian Muszynski's avatar
      crypto: qat - add heartbeat error simulator · e2b67859
      Damian Muszynski authored
      Add a mechanism that allows to inject a heartbeat error for testing
      purposes.
      A new attribute `inject_error` is added to debugfs for each QAT device.
      Upon a write on this attribute, the driver will inject an error on the
      device which can then be detected by the heartbeat feature.
      Errors are breaking the device functionality thus they require a
      device reset in order to be recovered.
      
      This functionality is not compiled by default, to enable it
      CRYPTO_DEV_QAT_ERROR_INJECTION must be set.
      Signed-off-by: default avatarDamian Muszynski <damian.muszynski@intel.com>
      Reviewed-by: default avatarGiovanni Cabiddu <giovanni.cabiddu@intel.com>
      Reviewed-by: default avatarLucas Segarra Fernandez <lucas.segarra.fernandez@intel.com>
      Reviewed-by: default avatarAhsan Atta <ahsan.atta@intel.com>
      Reviewed-by: default avatarMarkas Rapoportas <markas.rapoportas@intel.com>
      Signed-off-by: default avatarMun Chun Yep <mun.chun.yep@intel.com>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      e2b67859
    • Li RongQing's avatar
      crypto: virtio - remove duplicate check if queue is broken · 633eeefa
      Li RongQing authored
      virtqueue_enable_cb() will call virtqueue_poll() which will check if
      queue is broken at beginning, so remove the virtqueue_is_broken() call
      Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: default avatarLi RongQing <lirongqing@baidu.com>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      633eeefa
    • Quanyang Wang's avatar
      crypto: xilinx - call finalize with bh disabled · a853450b
      Quanyang Wang authored
      When calling crypto_finalize_request, BH should be disabled to avoid
      triggering the following calltrace:
      
          ------------[ cut here ]------------
          WARNING: CPU: 2 PID: 74 at crypto/crypto_engine.c:58 crypto_finalize_request+0xa0/0x118
          Modules linked in: cryptodev(O)
          CPU: 2 PID: 74 Comm: firmware:zynqmp Tainted: G           O       6.8.0-rc1-yocto-standard #323
          Hardware name: ZynqMP ZCU102 Rev1.0 (DT)
          pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
          pc : crypto_finalize_request+0xa0/0x118
          lr : crypto_finalize_request+0x104/0x118
          sp : ffffffc085353ce0
          x29: ffffffc085353ce0 x28: 0000000000000000 x27: ffffff8808ea8688
          x26: ffffffc081715038 x25: 0000000000000000 x24: ffffff880100db00
          x23: ffffff880100da80 x22: 0000000000000000 x21: 0000000000000000
          x20: ffffff8805b14000 x19: ffffff880100da80 x18: 0000000000010450
          x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
          x14: 0000000000000003 x13: 0000000000000000 x12: ffffff880100dad0
          x11: 0000000000000000 x10: ffffffc0832dcd08 x9 : ffffffc0812416d8
          x8 : 00000000000001f4 x7 : ffffffc0830d2830 x6 : 0000000000000001
          x5 : ffffffc082091000 x4 : ffffffc082091658 x3 : 0000000000000000
          x2 : ffffffc7f9653000 x1 : 0000000000000000 x0 : ffffff8802d20000
          Call trace:
           crypto_finalize_request+0xa0/0x118
           crypto_finalize_aead_request+0x18/0x30
           zynqmp_handle_aes_req+0xcc/0x388
           crypto_pump_work+0x168/0x2d8
           kthread_worker_fn+0xfc/0x3a0
           kthread+0x118/0x138
           ret_from_fork+0x10/0x20
          irq event stamp: 40
          hardirqs last  enabled at (39): [<ffffffc0812416f8>] _raw_spin_unlock_irqrestore+0x70/0xb0
          hardirqs last disabled at (40): [<ffffffc08122d208>] el1_dbg+0x28/0x90
          softirqs last  enabled at (36): [<ffffffc080017dec>] kernel_neon_begin+0x8c/0xf0
          softirqs last disabled at (34): [<ffffffc080017dc0>] kernel_neon_begin+0x60/0xf0
          ---[ end trace 0000000000000000 ]---
      
      Fixes: 4d96f7d4 ("crypto: xilinx - Add Xilinx AES driver")
      Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      a853450b
  2. 02 Feb, 2024 5 commits
  3. 26 Jan, 2024 26 commits
  4. 21 Jan, 2024 6 commits
    • Linus Torvalds's avatar
      Linux 6.8-rc1 · 6613476e
      Linus Torvalds authored
      6613476e
    • Linus Torvalds's avatar
      Merge tag 'bcachefs-2024-01-21' of https://evilpiepirate.org/git/bcachefs · 35a4474b
      Linus Torvalds authored
      Pull more bcachefs updates from Kent Overstreet:
       "Some fixes, Some refactoring, some minor features:
      
         - Assorted prep work for disk space accounting rewrite
      
         - BTREE_TRIGGER_ATOMIC: after combining our trigger callbacks, this
           makes our trigger context more explicit
      
         - A few fixes to avoid excessive transaction restarts on
           multithreaded workloads: fstests (in addition to ktest tests) are
           now checking slowpath counters, and that's shaking out a few bugs
      
         - Assorted tracepoint improvements
      
         - Starting to break up bcachefs_format.h and move on disk types so
           they're with the code they belong to; this will make room to start
           documenting the on disk format better.
      
         - A few minor fixes"
      
      * tag 'bcachefs-2024-01-21' of https://evilpiepirate.org/git/bcachefs: (46 commits)
        bcachefs: Improve inode_to_text()
        bcachefs: logged_ops_format.h
        bcachefs: reflink_format.h
        bcachefs; extents_format.h
        bcachefs: ec_format.h
        bcachefs: subvolume_format.h
        bcachefs: snapshot_format.h
        bcachefs: alloc_background_format.h
        bcachefs: xattr_format.h
        bcachefs: dirent_format.h
        bcachefs: inode_format.h
        bcachefs; quota_format.h
        bcachefs: sb-counters_format.h
        bcachefs: counters.c -> sb-counters.c
        bcachefs: comment bch_subvolume
        bcachefs: bch_snapshot::btime
        bcachefs: add missing __GFP_NOWARN
        bcachefs: opts->compression can now also be applied in the background
        bcachefs: Prep work for variable size btree node buffers
        bcachefs: grab s_umount only if snapshotting
        ...
      35a4474b
    • Linus Torvalds's avatar
      Merge tag 'timers-core-2024-01-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4fbbed78
      Linus Torvalds authored
      Pull timer updates from Thomas Gleixner:
       "Updates for time and clocksources:
      
         - A fix for the idle and iowait time accounting vs CPU hotplug.
      
           The time is reset on CPU hotplug which makes the accumulated
           systemwide time jump backwards.
      
         - Assorted fixes and improvements for clocksource/event drivers"
      
      * tag 'timers-core-2024-01-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug
        clocksource/drivers/ep93xx: Fix error handling during probe
        clocksource/drivers/cadence-ttc: Fix some kernel-doc warnings
        clocksource/drivers/timer-ti-dm: Fix make W=n kerneldoc warnings
        clocksource/timer-riscv: Add riscv_clock_shutdown callback
        dt-bindings: timer: Add StarFive JH8100 clint
        dt-bindings: timer: thead,c900-aclint-mtimer: separate mtime and mtimecmp regs
      4fbbed78
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 7b297a5c
      Linus Torvalds authored
      Pull powerpc fixes from Aneesh Kumar:
      
       - Increase default stack size to 32KB for Book3S
      
      Thanks to Michael Ellerman.
      
      * tag 'powerpc-6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/64s: Increase default stack size to 32KB
      7b297a5c
    • Kent Overstreet's avatar
      bcachefs: Improve inode_to_text() · 249f441f
      Kent Overstreet authored
      Add line breaks - inode_to_text() is now much easier to read.
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      249f441f
    • Kent Overstreet's avatar
      bcachefs: logged_ops_format.h · d826cc57
      Kent Overstreet authored
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      d826cc57