Skip to content
Snippets Groups Projects
  1. Mar 14, 2025
  2. Feb 25, 2025
  3. Feb 14, 2025
    • Christoph Hellwig's avatar
      xfs: flush inodegc before swapon · 2d873efd
      Christoph Hellwig authored
      
      Fix the brand new xfstest that tries to swapon on a recently unshared
      file and use the chance to document the other bit of magic in this
      function.
      
      The big comment is taken from a mailinglist post by Dave Chinner.
      
      Fixes: 5e672cd6 ("xfs: introduce xfs_inodegc_push()")
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
      Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
      Signed-off-by: default avatarCarlos Maiolino <cem@kernel.org>
      2d873efd
    • Christoph Hellwig's avatar
      xfs: rename xfs_iomap_swapfile_activate to xfs_vm_swap_activate · 3cd6a805
      Christoph Hellwig authored
      
      Match the method name and the naming convention or address_space
      operations.
      
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
      Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
      Signed-off-by: default avatarCarlos Maiolino <cem@kernel.org>
      3cd6a805
    • Carlos Maiolino's avatar
      xfs: Do not allow norecovery mount with quotacheck · 9f090209
      Carlos Maiolino authored
      
      Mounting a filesystem that requires quota state changing will generate a
      transaction.
      
      We already check for a read-only device; we should do that for
      norecovery too.
      
      A quotacheck on a norecovery mount, and with the right log size, will cause
      the mount process to hang on:
      
      [<0>] xlog_grant_head_wait+0x5d/0x2a0 [xfs]
      [<0>] xlog_grant_head_check+0x112/0x180 [xfs]
      [<0>] xfs_log_reserve+0xe3/0x260 [xfs]
      [<0>] xfs_trans_reserve+0x179/0x250 [xfs]
      [<0>] xfs_trans_alloc+0x101/0x260 [xfs]
      [<0>] xfs_sync_sb+0x3f/0x80 [xfs]
      [<0>] xfs_qm_mount_quotas+0xe3/0x2f0 [xfs]
      [<0>] xfs_mountfs+0x7ad/0xc20 [xfs]
      [<0>] xfs_fs_fill_super+0x762/0xa50 [xfs]
      [<0>] get_tree_bdev_flags+0x131/0x1d0
      [<0>] vfs_get_tree+0x26/0xd0
      [<0>] vfs_cmd_create+0x59/0xe0
      [<0>] __do_sys_fsconfig+0x4e3/0x6b0
      [<0>] do_syscall_64+0x82/0x160
      [<0>] entry_SYSCALL_64_after_hwframe+0x76/0x7e
      
      This is caused by a transaction running with bogus initialized head/tail
      
      I initially hit this while running generic/050, with random log
      sizes, but I managed to reproduce it reliably here with the steps
      below:
      
      mkfs.xfs -f -lsize=1025M -f -b size=4096 -m crc=1,reflink=1,rmapbt=1, -i
      sparse=1 /dev/vdb2 > /dev/null
      mount -o usrquota,grpquota,prjquota /dev/vdb2 /mnt
      xfs_io -x -c 'shutdown -f' /mnt
      umount /mnt
      mount -o ro,norecovery,usrquota,grpquota,prjquota  /dev/vdb2 /mnt
      
      Last mount hangs up
      
      As we add yet another validation if quota state is changing, this also
      add a new helper named xfs_qm_validate_state_change(), factoring the
      quota state changes out of xfs_qm_newmount() to reduce cluttering
      within it.
      
      Signed-off-by: default avatarCarlos Maiolino <cmaiolino@redhat.com>
      Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
      Signed-off-by: default avatarCarlos Maiolino <cem@kernel.org>
      9f090209
    • Lukas Herbolt's avatar
      xfs: do not check NEEDSREPAIR if ro,norecovery mount. · 9e00163c
      Lukas Herbolt authored
      
      If there is corrutpion on the filesystem andxfs_repair
      fails to repair it. The last resort of getting the data
      is to use norecovery,ro mount. But if the NEEDSREPAIR is
      set the filesystem cannot be mounted. The flag must be
      cleared out manually using xfs_db, to get access to what
      left over of the corrupted fs.
      
      Signed-off-by: default avatarLukas Herbolt <lukas@herbolt.com>
      Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
      Reviewed-by: default avatarEric Sandeen <sandeen@redhat.com>
      Signed-off-by: default avatarCarlos Maiolino <cem@kernel.org>
      9e00163c
    • Darrick J. Wong's avatar
      xfs: fix data fork format filtering during inode repair · 6e33017c
      Darrick J. Wong authored
      
      Coverity noticed that xrep_dinode_bad_metabt_fork never runs because
      XFS_DINODE_FMT_META_BTREE is always filtered out in the mode selection
      switch of xrep_dinode_check_dfork.
      
      Metadata btrees are allowed only in the data forks of regular files, so
      add this case explicitly.  I guess this got fubard during a refactoring
      prior to 6.13 and I didn't notice until now. :/
      
      Coverity-id: 1617714
      Signed-off-by: default avatar"Darrick J. Wong" <djwong@kernel.org>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarCarlos Maiolino <cem@kernel.org>
      6e33017c
    • Darrick J. Wong's avatar
      xfs: fix online repair probing when CONFIG_XFS_ONLINE_REPAIR=n · 66314e9a
      Darrick J. Wong authored
      I received a report from the release engineering side of the house that
      xfs_scrub without the -n flag (aka fix it mode) would try to fix a
      broken filesystem even on a kernel that doesn't have online repair built
      into it:
      
       # xfs_scrub -dTvn /mnt/test
       EXPERIMENTAL xfs_scrub program in use! Use at your own risk!
       Phase 1: Find filesystem geometry.
       /mnt/test: using 1 threads to scrub.
       Phase 1: Memory used: 132k/0k (108k/25k), time:  0.00/ 0.00/ 0.00s
       <snip>
       Phase 4: Repair filesystem.
       <snip>
       Info: /mnt/test/some/victimdir directory entries: Attempting repair. (repair.c line 351)
       Corruption: /mnt/test/some/victimdir directory entries: Repair unsuccessful; offline repair required. (repair.c line 204)
      
      Source: https://blogs.oracle.com/linux/post/xfs-online-filesystem-repair
      
      
      
      It is strange that xfs_scrub doesn't refuse to run, because the kernel
      is supposed to return EOPNOTSUPP if we actually needed to run a repair,
      and xfs_io's repair subcommand will perror that.  And yet:
      
       # xfs_io -x -c 'repair probe' /mnt/test
       #
      
      The first problem is commit dcb660f9 (4.15) which should have had
      xchk_probe set the CORRUPT OFLAG so that any of the repair machinery
      will get called at all.
      
      It turns out that some refactoring that happened in the 6.6-6.8 era
      broke the operation of this corner case.  What we *really* want to
      happen is that all the predicates that would steer xfs_scrub_metadata()
      towards calling xrep_attempt() should function the same way that they do
      when repair is compiled in; and then xrep_attempt gets to return the
      fatal EOPNOTSUPP error code that causes the probe to fail.
      
      Instead, commit 8336a64e (6.6) started the failwhale swimming by
      hoisting OFLAG checking logic into a helper whose non-repair stub always
      returns false, causing scrub to return "repair not needed" when in fact
      the repair is not supported.  Prior to that commit, the oflag checking
      that was open-coded in scrub.c worked correctly.
      
      Similarly, in commit 4bdfd7d1 (6.8) we hoisted the IFLAG_REPAIR
      and ALREADY_FIXED logic into a helper whose non-repair stub always
      returns false, so we never enter the if test body that would have called
      xrep_attempt, let alone fail to decode the OFLAGs correctly.
      
      The final insult (yes, we're doing The Naked Gun now) is commit
      48a72f60 (6.8) in which we hoisted the "are we going to try a
      repair?" predicate into yet another function with a non-repair stub
      always returns false.
      
      Fix xchk_probe to trigger xrep_probe if repair is enabled, or return
      EOPNOTSUPP directly if it is not.  For all the other scrub types, we
      need to fix the header predicates so that the ->repair functions (which
      are all xrep_notsupported) get called to return EOPNOTSUPP.  Commit
      48a72 is tagged here because the scrub code prior to LTS 6.12 are
      incomplete and not worth patching.
      
      Reported-by: default avatarDavid Flynn <david.flynn@oracle.com>
      Cc: <stable@vger.kernel.org> # v6.8
      Fixes: 8336a64e ("xfs: don't complain about unfixed metadata when repairs were injected")
      Signed-off-by: default avatar"Darrick J. Wong" <djwong@kernel.org>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarCarlos Maiolino <cem@kernel.org>
      66314e9a
  4. Feb 09, 2025
    • Linus Torvalds's avatar
      Linux 6.14-rc2 · a64dcfb4
      Linus Torvalds authored
      v6.14-rc2
      a64dcfb4
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v6.14' of... · 69b54314
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - Suppress false-positive -Wformat-{overflow,truncation}-non-kprintf
         warnings regardless of the W= option
      
       - Avoid CONFIG_TRIM_UNUSED_KSYMS dropping symbols passed to symbol_get()
      
       - Fix a build regression of the Debian linux-headers package
      
      * tag 'kbuild-fixes-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        kbuild: install-extmod-build: add missing quotation marks for CC variable
        kbuild: fix misspelling in scripts/Makefile.lib
        kbuild: keep symbols for symbol_get() even with CONFIG_TRIM_UNUSED_KSYMS
        scripts/Makefile.extrawarn: Do not show clang's non-kprintf warnings at W=1
      69b54314
    • Linus Torvalds's avatar
      Merge tag 'pm-6.14-rc2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 146339dd
      Linus Torvalds authored
      Pull power management fix from Rafael Wysocki:
       "Fix a recently introduced kernel crash due to a NULL pointer
        dereference during system-wide suspend (Rafael Wysocki)"
      
      * tag 'pm-6.14-rc2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        PM: sleep: core: Restrict power.set_active propagation
      146339dd
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 954a209f
      Linus Torvalds authored
      Pull kvm fixes from Paolo Bonzini:
       "ARM:
      
         - Correctly clean the BSS to the PoC before allowing EL2 to access it
           on nVHE/hVHE/protected configurations
      
         - Propagate ownership of debug registers in protected mode after the
           rework that landed in 6.14-rc1
      
         - Stop pretending that we can run the protected mode without a GICv3
           being present on the host
      
         - Fix a use-after-free situation that can occur if a vcpu fails to
           initialise the NV shadow S2 MMU contexts
      
         - Always evaluate the need to arm a background timer for fully
           emulated guest timers
      
         - Fix the emulation of EL1 timers in the absence of FEAT_ECV
      
         - Correctly handle the EL2 virtual timer, specially when HCR_EL2.E2H==0
      
        s390:
      
         - move some of the guest page table (gmap) logic into KVM itself,
           inching towards the final goal of completely removing gmap from the
           non-kvm memory management code.
      
           As an initial set of cleanups, move some code from mm/gmap into kvm
           and start using __kvm_faultin_pfn() to fault-in pages as needed;
           but especially stop abusing page->index and page->lru to aid in the
           pgdesc conversion.
      
        x86:
      
         - Add missing check in the fix to defer starting the huge page
           recovery vhost_task
      
         - SRSO_USER_KERNEL_NO does not need SYNTHESIZED_F"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (31 commits)
        KVM: x86/mmu: Ensure NX huge page recovery thread is alive before waking
        KVM: remove kvm_arch_post_init_vm
        KVM: selftests: Fix spelling mistake "initally" -> "initially"
        kvm: x86: SRSO_USER_KERNEL_NO is not synthesized
        KVM: arm64: timer: Don't adjust the EL2 virtual timer offset
        KVM: arm64: timer: Correctly handle EL1 timer emulation when !FEAT_ECV
        KVM: arm64: timer: Always evaluate the need for a soft timer
        KVM: arm64: Fix nested S2 MMU structures reallocation
        KVM: arm64: Fail protected mode init if no vgic hardware is present
        KVM: arm64: Flush/sync debug state in protected mode
        KVM: s390: selftests: Streamline uc_skey test to issue iske after sske
        KVM: s390: remove the last user of page->index
        KVM: s390: move PGSTE softbits
        KVM: s390: remove useless page->index usage
        KVM: s390: move gmap_shadow_pgt_lookup() into kvm
        KVM: s390: stop using lists to keep track of used dat tables
        KVM: s390: stop using page->index for non-shadow gmaps
        KVM: s390: move some gmap shadowing functions away from mm/gmap.c
        KVM: s390: get rid of gmap_translate()
        KVM: s390: get rid of gmap_fault()
        ...
      954a209f
    • Rafael J. Wysocki's avatar
      PM: sleep: core: Restrict power.set_active propagation · 75859462
      Rafael J. Wysocki authored
      Commit 3775fc53 ("PM: sleep: core: Synchronize runtime PM status of
      parents and children") exposed an issue related to simple_pm_bus_pm_ops
      that uses pm_runtime_force_suspend() and pm_runtime_force_resume() as
      bus type PM callbacks for the noirq phases of system-wide suspend and
      resume.
      
      The problem is that pm_runtime_force_suspend() does not distinguish
      runtime-suspended devices from devices for which runtime PM has never
      been enabled, so if it sees a device with runtime PM status set to
      RPM_ACTIVE, it will assume that runtime PM is enabled for that device
      and so it will attempt to suspend it with the help of its runtime PM
      callbacks which may not be ready for that.  As it turns out, this
      causes simple_pm_bus_runtime_suspend() to crash due to a NULL pointer
      dereference.
      
      Another problem related to the above commit and simple_pm_bus_pm_ops is
      that setting runtime PM status of a device handled by the latter to
      RPM_ACTIVE will actually prevent it from being resumed because
      pm_runtime_force_resume() only resumes devices with runtime PM status
      set to RPM_SUSPENDED.
      
      To mitigate these issues, do not allow power.set_active to propagate
      beyond the parent of the device with DPM_FLAG_SMART_SUSPEND set that
      will need to be resumed, which should be a sufficient stop-gap for the
      time being, but they will need to be properly addressed in the future
      because in general during system-wide resume it is necessary to resume
      all devices in a dependency chain in which at least one device is going
      to be resumed.
      
      Fixes: 3775fc53 ("PM: sleep: core: Synchronize runtime PM status of parents and children")
      Closes: https://lore.kernel.org/linux-pm/1c2433d4-7e0f-4395-b841-b8eac7c25651@nvidia.com/
      
      
      Reported-by: default avatarJon Hunter <jonathanh@nvidia.com>
      Tested-by: default avatarJohan Hovold <johan+linaro@kernel.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Link: https://patch.msgid.link/6137505.lOV4Wx5bFT@rjwysocki.net
      75859462
  5. Feb 08, 2025
  6. Feb 07, 2025
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2025-02-08' of https://gitlab.freedesktop.org/drm/kernel · 7ee983c8
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Just regular drm fixes, amdgpu, xe and i915 mostly, but a few
        scattered fixes. I think one of the i915 fixes fixes some build combos
        that Guenter was seeing.
      
        amdgpu:
         - Add new tiling flag for DCC write compress disable
         - Add BO metadata flag for DCC
         - Fix potential out of bounds access in display
         - Seamless boot fix
         - CONFIG_FRAME_WARN fix
         - PSR1 fix
      
        xe:
         - OA uAPI related fixes
         - Fix SRIOV migration initialization
         - Restore devcoredump to a sane state
      
        i915:
         - Fix the build error with clamp after WARN_ON on gcc 13.x+
         - HDCP related fixes
         - PMU fix zero delta busyness issue
         - Fix page cleanup on DMA remap failure
         - Drop 64bpp YUV formats from ICL+ SDR planes
         - GuC log related fix
         - DisplayPort related fixes
      
        ivpu:
         - Fix error handling
      
        komeda:
         - add return check
      
        zynqmp:
         - fix locking in DP code
      
        ast:
         - fix AST DP timeout
      
        cec:
         - fix broken CEC adapter check"
      
      * tag 'drm-fixes-2025-02-08' of https://gitlab.freedesktop.org/drm/kernel: (29 commits)
        drm/i915/dp: Fix potential infinite loop in 128b/132b SST
        Revert "drm/amd/display: Use HW lock mgr for PSR1"
        drm/amd/display: Respect user's CONFIG_FRAME_WARN more for dml files
        accel/amdxdna: Add MODULE_FIRMWARE() declarations
        drm/i915/dp: Iterate DSC BPP from high to low on all platforms
        drm/xe: Fix and re-enable xe_print_blob_ascii85()
        drm/xe/devcoredump: Move exec queue snapshot to Contexts section
        drm/xe/oa: Set stream->pollin in xe_oa_buffer_check_unlocked
        drm/xe/pf: Fix migration initialization
        drm/xe/oa: Preserve oa_ctrl unused bits
        drm/amd/display: Fix seamless boot sequence
        drm/amd/display: Fix out-of-bound accesses
        drm/amdgpu: add a BO metadata flag to disable write compression for Vulkan
        drm/i915/backlight: Return immediately when scale() finds invalid parameters
        drm/i915/dp: Return min bpc supported by source instead of 0
        drm/i915/dp: fix the Adaptive sync Operation mode for SDP
        drm/i915/guc: Debug print LRC state entries only if the context is pinned
        drm/i915: Drop 64bpp YUV formats from ICL+ SDR planes
        drm/i915: Fix page cleanup on DMA remap failure
        drm/i915/pmu: Fix zero delta busyness issue
        ...
      7ee983c8
    • Linus Torvalds's avatar
      Merge tag 'stable/for-linus-6.14-rc1-tag' of... · 8aa0f49c
      Linus Torvalds authored
      Merge tag 'stable/for-linus-6.14-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/ibft
      
      Pull ibft fixes from Konrad Rzeszutek Wilk:
       "Two tiny fixes to IBFT code: one for Kconfig and another for IPv6"
      
      * tag 'stable/for-linus-6.14-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/ibft:
        iscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic()
        firmware: iscsi_ibft: fix ISCSI_IBFT Kconfig entry
      8aa0f49c
    • Linus Torvalds's avatar
      Merge tag 'block-6.14-20250207' of git://git.kernel.dk/linux · a67d0a05
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - MD pull request via Song:
            - fix an error handling path for md-linear
      
       - NVMe pull request via Keith:
            - Connection fixes for fibre channel transport (Daniel)
            - Endian fixes (Keith, Christoph)
            - Cleanup fix for host memory buffer (Francis)
            - Platform specific power quirks (Georg)
            - Target memory leak (Sagi)
            - Use appropriate controller state accessor (Daniel)
      
       - Fixup for a regression introduced last week, where sunvdc wasn't
         updated for an API change, causing compilation failures on sparc64.
      
      * tag 'block-6.14-20250207' of git://git.kernel.dk/linux:
        drivers/block/sunvdc.c: update the correct AIP call
        md: Fix linear_set_limits()
        nvme-fc: use ctrl state getter
        nvme: make nvme_tls_attrs_group static
        nvmet: add a missing endianess conversion in nvmet_execute_admin_connect
        nvmet: the result field in nvmet_alloc_ctrl_args is little endian
        nvmet: fix a memory leak in controller identify
        nvme-fc: do not ignore connectivity loss during connecting
        nvme: handle connectivity loss in nvme_set_queue_count
        nvme-fc: go straight to connecting state when initializing
        nvme-pci: Add TUXEDO IBP Gen9 to Samsung sleep quirk
        nvme-pci: Add TUXEDO InfinityFlex to Samsung sleep quirk
        nvme-pci: remove redundant dma frees in hmb
        nvmet: fix rw control endian access
      a67d0a05
    • WangYuli's avatar
      kbuild: install-extmod-build: add missing quotation marks for CC variable · f354fc88
      WangYuli authored
      
      While attempting to build a Debian packages with CC="ccache gcc", I
      saw the following error as builddeb builds linux-headers-$KERNELVERSION:
      
        make HOSTCC=ccache gcc VPATH= srcroot=. -f ./scripts/Makefile.build obj=debian/linux-headers-6.14.0-rc1/usr/src/linux-headers-6.14.0-rc1/scripts
        make[6]: *** No rule to make target 'gcc'.  Stop.
      
      Upon investigation, it seems that one instance of $(CC) variable reference
      in ./scripts/package/install-extmod-build was missing quotation marks,
      causing the above error.
      
      Add the missing quotation marks around $(CC) to fix build.
      
      Fixes: 5f73e7d0 ("kbuild: refactor cross-compiling linux-headers package")
      Co-developed-by: default avatarMingcong Bai <jeffbai@aosc.io>
      Signed-off-by: default avatarMingcong Bai <jeffbai@aosc.io>
      Tested-by: default avatarWangYuli <wangyuli@uniontech.com>
      Signed-off-by: default avatarWangYuli <wangyuli@uniontech.com>
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      f354fc88
    • Linus Torvalds's avatar
      Merge tag 'pm-6.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 1fa9970a
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
       "These fix a handful of issues in the amd-pstate driver, the airoha
        cpufreq driver build, a (recently added) possible NULL pointer
        dereference in the cpufreq code and a possible memory leak in the
        power capping subsystem:
      
         - Fix cpufreq_policy reference counting and prevent max_perf from
           going above the current limit in amd-pstate, and drop a redundant
           goto label from it (Dhananjay Ugwekar)
      
         - Prevent the per-policy boost_enabled flag in amd-pstate from
           getting out of sync with the actual state after boot failures
           (Lifeng Zheng)
      
         - Fix a recently added possible NULL pointer dereference in the
           cpufreq core (Aboorva Devarajan)
      
         - Fix a build issue related to CONFIG_OF and COMPILE_TEST
           dependencies in the airoha cpufreq driver (Arnd Bergmann)
      
         - Fix a possible memory leak in the power capping subsystem (Joe
           Hattori)"
      
      * tag 'pm-6.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq/amd-pstate: Fix cpufreq_policy ref counting
        cpufreq: prevent NULL dereference in cpufreq_online()
        cpufreq: airoha: modify CONFIG_OF dependency
        cpufreq/amd-pstate: Fix max_perf updation with schedutil
        cpufreq/amd-pstate: Remove the goto label in amd_pstate_update_limits
        cpufreq/amd-pstate: Fix per-policy boost flag incorrect when fail
        powercap: call put_device() on an error path in powercap_register_control_type()
      1fa9970a
    • Linus Torvalds's avatar
      Merge tag 'acpi-6.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 0aa0282a
      Linus Torvalds authored
      Pull ACPI fixes from Rafael Wysocki:
       "These fix three assorted issues, including one recent regression:
      
         - Add an ACPI IRQ override quirk for Eluktronics MECH-17 to make the
           internal keyboard work (Gannon Kolding)
      
         - Make acpi_data_prop_read() reflect the OF counterpart behavior in
           error cases (Andy Shevchenko)
      
         - Remove recently added strict ACPI PRM handler address checks that
           prevented PRM from working on some platforms in the field (Aubrey
           Li)"
      
      * tag 'acpi-6.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: PRM: Remove unnecessary strict handler address checks
        ACPI: resource: IRQ override for Eluktronics MECH-17
        ACPI: property: Fix return value for nval == 0 in acpi_data_prop_read()
      0aa0282a
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v6.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 78b2a232
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
      
       - fix interrupt support in gpio-pca953x
      
       - fix configfs attribute locking in gpio-sim
      
       - limit the visibility of the GPIO_GRGPIO Kconfig symbol to OF systems
         only
      
       - update MAINTAINERS
      
      * tag 'gpio-fixes-for-v6.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        MAINTAINERS: Use my kernel.org address for ACPI GPIO work
        gpio: GPIO_GRGPIO should depend on OF
        gpio: sim: lock hog configfs items if present
        gpio: pca953x: Improve interrupt support
      78b2a232
    • Linus Torvalds's avatar
      Merge tag 'vfs-6.14-rc2.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs · 8c67da5b
      Linus Torvalds authored
      Pull vfs fixes from Christian Brauner:
      
       - Fix fsnotify FMODE_NONOTIFY* handling.
      
         This also disables fsnotify on all pseudo files by default apart from
         very select exceptions. This carries a regression risk so we need to
         watch out and adapt accordingly. However, it is overall a significant
         improvement over the current status quo where every rando file can
         get fsnotify enabled.
      
       - Cleanup and simplify lockref_init() after recent lockref changes.
      
       - Fix vboxfs build with gcc-15.
      
       - Add an assert into inode_set_cached_link() to catch corrupt links.
      
       - Allow users to also use an empty string check to detect whether a
         given mount option string was empty or not.
      
       - Fix how security options were appended to statmount()'s ->mnt_opt
         field.
      
       - Fix statmount() selftests to always check the returned mask.
      
       - Fix uninitialized value in vfs_statx_path().
      
       - Fix pidfs_ioctl() sanity checks to guard against ioctl() overloading
         and preserve extensibility.
      
      * tag 'vfs-6.14-rc2.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
        vfs: sanity check the length passed to inode_set_cached_link()
        pidfs: improve ioctl handling
        fsnotify: disable pre-content and permission events by default
        selftests: always check mask returned by statmount(2)
        fsnotify: disable notification by default for all pseudo files
        fs: fix adding security options to statmount.mnt_opt
        fsnotify: use accessor to set FMODE_NONOTIFY_*
        lockref: remove count argument of lockref_init
        gfs2: switch to lockref_init(..., 1)
        gfs2: use lockref_init for gl_lockref
        statmount: let unset strings be empty
        vboxsf: fix building with GCC 15
        fs/stat.c: avoid harmless garbage value problem in vfs_statx_path()
      8c67da5b
    • Linus Torvalds's avatar
      Merge tag 'bcachefs-2025-02-06.2' of git://evilpiepirate.org/bcachefs · 94b481f7
      Linus Torvalds authored
      Pull bcachefs fixes from Kent Overstreet:
       "Nothing major, things continue to be fairly quiet over here.
      
         - add a SubmittingPatches to clarify that patches submitted for
           bcachefs do, in fact, need to be tested
      
         - discard path now correctly issues journal flushes when needed, this
           fixes performance issues when the filesystem is nearly full and
           we're bottlenecked on copygc
      
         - fix a bug that could cause the pending rebalance work accounting to
           be off when devices are being onlined/offlined; users should report
           if they are still seeing this
      
         - and a few more trivial ones"
      
      * tag 'bcachefs-2025-02-06.2' of git://evilpiepirate.org/bcachefs:
        bcachefs: bch2_bkey_sectors_need_rebalance() now only depends on bch_extent_rebalance
        bcachefs: Fix rcu imbalance in bch2_fs_btree_key_cache_exit()
        bcachefs: Fix discard path journal flushing
        bcachefs: fix deadlock in journal_entry_open()
        bcachefs: fix incorrect pointer check in __bch2_subvolume_delete()
        bcachefs docs: SubmittingPatches.rst
      94b481f7
Loading