1. 01 Dec, 2023 2 commits
  2. 30 Nov, 2023 5 commits
  3. 28 Nov, 2023 1 commit
    • Nathan Lynch's avatar
      powerpc/rtas_pci: rename and properly expose config access APIs · 9be4feb7
      Nathan Lynch authored
      The rtas_read_config() and rtas_write_config() functions in
      kernel/rtas_pci.c have external linkage and two users in arch/powerpc:
      the rtas_pci code itself and the pseries platform's "enhanced error
      handling" (EEH) support code.
      
      The prototypes for these functions in asm/ppc-pci.h have until now
      been guarded by CONFIG_EEH since the only external caller is the
      pseries EEH code. However, this presumably has always generated
      warnings when built with !CONFIG_EEH and -Wmissing-prototypes:
      
        arch/powerpc/kernel/rtas_pci.c:46:5: error: no previous prototype for
        function 'rtas_read_config' [-Werror,-Wmissing-prototypes]
           46 | int rtas_read_config(struct pci_dn *pdn, int where,
                                     int size, u32 *val)
      
        arch/powerpc/kernel/rtas_pci.c:98:5: error: no previous prototype for
        function 'rtas_write_config' [-Werror,-Wmissing-prototypes]
           98 | int rtas_write_config(struct pci_dn *pdn, int where,
                                      int size, u32 val)
      
      The introduction of commit c6345dfa6e3e ("Makefile.extrawarn: turn on
      missing-prototypes globally") forces the issue.
      
      The efika and chrp platform code have (static) functions with the same
      names but different signatures. We may as well eliminate the potential
      for conflicts and confusion by renaming the globally visible versions
      as their prototypes get moved out of the CONFIG_EEH-guarded region;
      their current names are too generic anyway. Since they operate on
      objects of the type 'struct pci_dn *', give them the slightly more
      verbose prefix "rtas_pci_dn_" and fix up all the call sites.
      
      Fixes: c6345dfa6e3e ("Makefile.extrawarn: turn on missing-prototypes globally")
      Reported-by: default avatarLinux Kernel Functional Testing <lkft@linaro.org>
      Closes: https://lore.kernel.org/linuxppc-dev/CA+G9fYt0LLXtjSz+Hkf3Fhm-kf0ZQanrhUS+zVZGa3O+Wt2+vg@mail.gmail.com/Signed-off-by: default avatarNathan Lynch <nathanl@linux.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://msgid.link/20231127-rtas-pci-rw-config-v1-1-385d29ace3df@linux.ibm.com
      9be4feb7
  4. 27 Nov, 2023 13 commits
  5. 21 Nov, 2023 8 commits
  6. 19 Nov, 2023 8 commits
  7. 18 Nov, 2023 3 commits
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 037266a5
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Seven small fixes, six in drivers and one in sd.
      
        The sd fix is so large because it changes a struct pointer to a struct
        but otherwise is fairly simple"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: ufs: qcom-ufs: dt-bindings: Document the SM8650 UFS Controller
        scsi: sd: Fix sshdr use in sd_suspend_common()
        scsi: scsi_debug: Delete some bogus error checking
        scsi: scsi_debug: Fix some bugs in sdebug_error_write()
        scsi: ufs: core: Fix racing issue between ufshcd_mcq_abort() and ISR
        scsi: ufs: core: Expand MCQ queue slot to DeviceQueueDepth + 1
        scsi: qla2xxx: Fix system crash due to bad pointer access
      037266a5
    • Linus Torvalds's avatar
      Merge tag 'parisc-for-6.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · 2254005e
      Linus Torvalds authored
      Pull parisc fixes from Helge Deller:
       "On parisc we still sometimes need writeable stacks, e.g. if programs
        aren't compiled with gcc-14. To avoid issues with the upcoming
        systemd-254 we therefore have to disable prctl(PR_SET_MDWE) for now
        (for parisc only).
      
        The other two patches are minor: a bugfix for the soft power-off on
        qemu with 64-bit kernel and prefer strscpy() over strlcpy():
      
         - Fix power soft-off on qemu
      
         - Disable prctl(PR_SET_MDWE) since parisc sometimes still needs
           writeable stacks
      
         - Use strscpy instead of strlcpy in show_cpuinfo()"
      
      * tag 'parisc-for-6.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        prctl: Disable prctl(PR_SET_MDWE) on parisc
        parisc/power: Fix power soft-off when running on qemu
        parisc: Replace strlcpy() with strscpy()
      2254005e
    • Linus Torvalds's avatar
      Merge tag 'xfs-6.7-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · b8f1fa24
      Linus Torvalds authored
      Pull xfs fixes from Chandan Babu:
      
       - Fix deadlock arising due to intent items in AIL not being cleared
         when log recovery fails
      
       - Fix stale data exposure bug when remapping COW fork extents to data
         fork
      
       - Fix deadlock when data device flush fails
      
       - Fix AGFL minimum size calculation
      
       - Select DEBUG_FS instead of XFS_DEBUG when XFS_ONLINE_SCRUB_STATS is
         selected
      
       - Fix corruption of log inode's extent count field when NREXT64 feature
         is enabled
      
      * tag 'xfs-6.7-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: recovery should not clear di_flushiter unconditionally
        xfs: inode recovery does not validate the recovered inode
        xfs: fix again select in kconfig XFS_ONLINE_SCRUB_STATS
        xfs: fix internal error from AGFL exhaustion
        xfs: up(ic_sema) if flushing data device fails
        xfs: only remap the written blocks in xfs_reflink_end_cow_extent
        XFS: Update MAINTAINERS to catch all XFS documentation
        xfs: abort intent items when recovery intents fail
        xfs: factor out xfs_defer_pending_abort
      b8f1fa24