1. 29 Aug, 2023 17 commits
    • Linus Torvalds's avatar
      Merge tag 'for-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · b547f9b3
      Linus Torvalds authored
      Pull power supply and reset updates from Sebastian Reichel:
      
       - core: avoid duplicate hwmon device from thermal framework
      
       - convert multiple drivers to devm_platform_ioremap_resource
      
       - at91-reset: add sysfs interface to the power on reason
      
       - misc small fixes and improvements
      
      * tag 'for-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply:
        power: supply: qcom_pmi8998_charger: fix charger status
        power: supply: qcom_pmi8998_charger: remove CHARGE_CONTROL_LIMIT_* props
        power: supply: qcom_pmi8998_charger: fix uninitialized variable
        power: reset: oxnas-restart: remove obsolete restart driver
        power: supply: core: Avoid duplicate hwmon device from thermal framework
        power: reset: ocelot: Convert to devm_platform_ioremap_resource()
        power: reset: msm: Convert to devm_platform_ioremap_resource()
        power: reset: gemini-poweroff: Convert to devm_platform_ioremap_resource()
        power: reset: brcm-kona: Convert to devm_platform_ioremap_resource()
        power: reset: at91-sama5d2_shdwc: Convert to devm_platform_ioremap_resource()
        power: reset: at91-poweroff: Convert to devm_platform_ioremap_resource()
        power: reset: at91-reset: add sysfs interface to the power on reason
        power: supply: bd99954: make read-only array sub_status_reg
        power: supply: bq24190: Considers FORCE_20PCT when getting IPRECHG
        power: Explicitly include correct DT includes
      b547f9b3
    • Linus Torvalds's avatar
      Merge tag 'auxdisplay-6.6' of https://github.com/ojeda/linux · 5ea0cf77
      Linus Torvalds authored
      Pull auxdisplay update from Miguel Ojeda:
      
       - hd44780: move cursor home after clear display command
      
         The change allows to support displays like the NewHaven
         NHD-0220DZW-AG5 which has a non-standard controller.
      
      * tag 'auxdisplay-6.6' of https://github.com/ojeda/linux:
        auxdisplay: hd44780: move cursor home after clear display command
      5ea0cf77
    • Linus Torvalds's avatar
      Merge tag 'rust-6.6' of https://github.com/Rust-for-Linux/linux · a031fe8d
      Linus Torvalds authored
      Pull rust updates from Miguel Ojeda:
       "In terms of lines, most changes this time are on the pinned-init API
        and infrastructure. While we have a Rust version upgrade, and thus a
        bunch of changes from the vendored 'alloc' crate as usual, this time
        those do not account for many lines.
      
        Toolchain and infrastructure:
      
         - Upgrade to Rust 1.71.1. This is the second such upgrade, which is a
           smaller jump compared to the last time.
      
           This version allows us to remove the '__rust_*' allocator functions
           -- the compiler now generates them as expected, thus now our
           'KernelAllocator' is used.
      
           It also introduces the 'offset_of!' macro in the standard library
           (as an unstable feature) which we will need soon. So far, we were
           using a declarative macro as a prerequisite in some not-yet-landed
           patch series, which did not support sub-fields (i.e. nested
           structs):
      
               #[repr(C)]
               struct S {
                   a: u16,
                   b: (u8, u8),
               }
      
               assert_eq!(offset_of!(S, b.1), 3);
      
         - Upgrade to bindgen 0.65.1. This is the first time we upgrade its
           version.
      
           Given it is a fairly big jump, it comes with a fair number of
           improvements/changes that affect us, such as a fix needed to
           support LLVM 16 as well as proper support for '__noreturn' C
           functions, which are now mapped to return the '!' type in Rust:
      
               void __noreturn f(void); // C
               pub fn f() -> !;         // Rust
      
         - 'scripts/rust_is_available.sh' improvements and fixes.
      
           This series takes care of all the issues known so far and adds a
           few new checks to cover for even more cases, plus adds some more
           help texts. All this together will hopefully make problematic
           setups easier to identify and to be solved by users building the
           kernel.
      
           In addition, it adds a test suite which covers all branches of the
           shell script, as well as tests for the issues found so far.
      
         - Support rust-analyzer for out-of-tree modules too.
      
         - Give 'cfg's to rust-analyzer for the 'core' and 'alloc' crates.
      
         - Drop 'scripts/is_rust_module.sh' since it is not needed anymore.
      
        Macros crate:
      
         - New 'paste!' proc macro.
      
           This macro is a more flexible version of 'concat_idents!': it
           allows the resulting identifier to be used to declare new items and
           it allows to transform the identifiers before concatenating them,
           e.g.
      
               let x_1 = 42;
               paste!(let [<x _2>] = [<x _1>];);
               assert!(x_1 == x_2);
      
           The macro is then used for several of the pinned-init API changes
           in this pull.
      
        Pinned-init API:
      
         - Make '#[pin_data]' compatible with conditional compilation of
           fields, allowing to write code like:
      
               #[pin_data]
               pub struct Foo {
                   #[cfg(CONFIG_BAR)]
                   a: Bar,
                   #[cfg(not(CONFIG_BAR))]
                   a: Baz,
               }
      
         - New '#[derive(Zeroable)]' proc macro for the 'Zeroable' trait,
           which allows 'unsafe' implementations for structs where every field
           implements the 'Zeroable' trait, e.g.:
      
               #[derive(Zeroable)]
               pub struct DriverData {
                   id: i64,
                   buf_ptr: *mut u8,
                   len: usize,
               }
      
         - Add '..Zeroable::zeroed()' syntax to the 'pin_init!' macro for
           zeroing all other fields, e.g.:
      
               pin_init!(Buf {
                   buf: [1; 64],
                   ..Zeroable::zeroed()
               });
      
         - New '{,pin_}init_array_from_fn()' functions to create array
           initializers given a generator function, e.g.:
      
               let b: Box<[usize; 1_000]> = Box::init::<Error>(
                   init_array_from_fn(|i| i)
               ).unwrap();
      
               assert_eq!(b.len(), 1_000);
               assert_eq!(b[123], 123);
      
         - New '{,pin_}chain' methods for '{,Pin}Init<T, E>' that allow to
           execute a closure on the value directly after initialization, e.g.:
      
               let foo = init!(Foo {
                   buf <- init::zeroed()
               }).chain(|foo| {
                   foo.setup();
                   Ok(())
               });
      
         - Support arbitrary paths in init macros, instead of just identifiers
           and generic types.
      
         - Implement the 'Zeroable' trait for the 'UnsafeCell<T>' and
           'Opaque<T>' types.
      
         - Make initializer values inaccessible after initialization.
      
         - Make guards in the init macros hygienic.
      
        'allocator' module:
      
         - Use 'krealloc_aligned()' in 'KernelAllocator::alloc' preventing
           misaligned allocations when the Rust 1.71.1 upgrade is applied
           later in this pull.
      
           The equivalent fix for the previous compiler version (where
           'KernelAllocator' is not yet used) was merged into 6.5 already,
           which added the 'krealloc_aligned()' function used here.
      
         - Implement 'KernelAllocator::{realloc, alloc_zeroed}' for
           performance, using 'krealloc_aligned()' too, which forwards the
           call to the C API.
      
        'types' module:
      
         - Make 'Opaque' be '!Unpin', removing the need to add a
           'PhantomPinned' field to Rust structs that contain C structs which
           must not be moved.
      
         - Make 'Opaque' use 'UnsafeCell' as the outer type, rather than
           inner.
      
        Documentation:
      
         - Suggest obtaining the source code of the Rust's 'core' library
           using the tarball instead of the repository.
      
        MAINTAINERS:
      
         - Andreas and Alice, from Samsung and Google respectively, are
           joining as reviewers of the "RUST" entry.
      
        As well as a few other minor changes and cleanups"
      
      * tag 'rust-6.6' of https://github.com/Rust-for-Linux/linux: (42 commits)
        rust: init: update expanded macro explanation
        rust: init: add `{pin_}chain` functions to `{Pin}Init<T, E>`
        rust: init: make `PinInit<T, E>` a supertrait of `Init<T, E>`
        rust: init: implement `Zeroable` for `UnsafeCell<T>` and `Opaque<T>`
        rust: init: add support for arbitrary paths in init macros
        rust: init: add functions to create array initializers
        rust: init: add `..Zeroable::zeroed()` syntax for zeroing all missing fields
        rust: init: make initializer values inaccessible after initializing
        rust: init: wrap type checking struct initializers in a closure
        rust: init: make guards in the init macros hygienic
        rust: add derive macro for `Zeroable`
        rust: init: make `#[pin_data]` compatible with conditional compilation of fields
        rust: init: consolidate init macros
        docs: rust: clarify what 'rustup override' does
        docs: rust: update instructions for obtaining 'core' source
        docs: rust: add command line to rust-analyzer section
        scripts: generate_rust_analyzer: provide `cfg`s for `core` and `alloc`
        rust: bindgen: upgrade to 0.65.1
        rust: enable `no_mangle_with_rust_abi` Clippy lint
        rust: upgrade to Rust 1.71.1
        ...
      a031fe8d
    • Linus Torvalds's avatar
      Merge tag 'tpmdd-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd · f2586d92
      Linus Torvalds authored
      Pull tpm updates from Jarkko Sakkinen:
      
       - Restrict linking of keys to .ima and .evm keyrings based on
         digitalSignature attribute in the certificate
      
       - PowerVM: load machine owner keys into the .machine [1] keyring
      
       - PowerVM: load module signing keys into the secondary trusted keyring
         (keys blessed by the vendor)
      
       - tpm_tis_spi: half-duplex transfer mode
      
       - tpm_tis: retry corrupted transfers
      
       - Apply revocation list (.mokx) to an all system keyrings (e.g.
         .machine keyring)
      
      Link: https://blogs.oracle.com/linux/post/the-machine-keyring [1]
      
      * tag 'tpmdd-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd:
        certs: Reference revocation list for all keyrings
        tpm/tpm_tis_synquacer: Use module_platform_driver macro to simplify the code
        tpm: remove redundant variable len
        tpm_tis: Resend command to recover from data transfer errors
        tpm_tis: Use responseRetry to recover from data transfer errors
        tpm_tis: Move CRC check to generic send routine
        tpm_tis_spi: Add hardware wait polling
        KEYS: Replace all non-returning strlcpy with strscpy
        integrity: PowerVM support for loading third party code signing keys
        integrity: PowerVM machine keyring enablement
        integrity: check whether imputed trust is enabled
        integrity: remove global variable from machine_keyring.c
        integrity: ignore keys failing CA restrictions on non-UEFI platform
        integrity: PowerVM support for loading CA keys on machine keyring
        integrity: Enforce digitalSignature usage in the ima and evm keyrings
        KEYS: DigitalSignature link restriction
        tpm_tis: Revert "tpm_tis: Disable interrupts on ThinkPad T490s"
      f2586d92
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-nolibc-6.6-rc1' of... · 1c59d383
      Linus Torvalds authored
      Merge tag 'linux-kselftest-nolibc-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull nolibc updates from Shuah Khan:
       "Nolibc:
         - improved portability by removing build errors with -ENOSYS
         - added syscall6() on MIPS to support pselect6() and mmap()
         - added setvbuf(), rmdir(), pipe(), pipe2()
         - add support for ppc/ppc64
         - environ is no longer optional
         - fixed frame pointer issues at -O0
         - dropped sys_stat() in favor of sys_statx()
         - centralized _start_c() to remove lots of asm code
         - switched size_t to __SIZE_TYPE__
      
        Selftests:
         - improved status reporting (success/warning/failure counts, path to
           log file)
         - various code cleanups (indent, unused variables, ...)
         - more consistent test numbering
         - enabled compiler warnings
         - dropped unreliable chmod_net test
         - improved reliability (create /dev/zero & /tmp, rely less on /proc)
         - new tests (brk/sbrk/mmap/munmap)
         - improved compatibility with musl
         - new run-nolibc-test target to build and run natively
         - new run-libc-test target to build and run against native libc
         - made the cmdline parser more reliable against boolean arguments
         - dropped dependency on memfd for vfprintf() test
         - nolibc-test is no longer stripped
         - added support for extending ARCH via XARCH
      
        Other:
         - add Thomas as co-maintainer"
      
      * tag 'linux-kselftest-nolibc-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (103 commits)
        tools/nolibc: avoid undesired casts in the __sysret() macro
        tools/nolibc: keep brk(), sbrk(), mmap() away from __sysret()
        tools/nolibc: silence ppc64 compile warnings
        selftests/nolibc: libc-test: use HOSTCC instead of CC
        tools/nolibc: stackprotector.h: make __stack_chk_init static
        selftests/nolibc: allow report with existing test log
        selftests/nolibc: add test support for ppc64
        selftests/nolibc: add test support for ppc64le
        selftests/nolibc: add test support for ppc
        selftests/nolibc: add XARCH and ARCH mapping support
        tools/nolibc: add support for powerpc64
        tools/nolibc: add support for powerpc
        MAINTAINERS: nolibc: add myself as co-maintainer
        selftests/nolibc: enable compiler warnings
        selftests/nolibc: don't strip nolibc-test
        selftests/nolibc: prevent out of bounds access in expect_vfprintf
        selftests/nolibc: use correct return type for read() and write()
        selftests/nolibc: avoid sign-compare warnings
        selftests/nolibc: avoid unused parameter warnings
        selftests/nolibc: make functions static if possible
        ...
      1c59d383
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-kunit-6.6-rc1' of... · 815c24a0
      Linus Torvalds authored
      Merge tag 'linux-kselftest-kunit-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull kunit updates from Shuah Khan:
      
       - add support for running Rust documentation tests as KUnit tests
      
       - make init, str, sync, types doctests compilable/testable
      
       - add support for attributes API which include speed, modules
         attributes, ability to filter and report attributes
      
       - add support for marking tests slow using attributes API
      
       - add attributes API documentation
      
       - fix a wild-memory-access bug in kunit_filter_suites() and a possible
         memory leak in kunit_filter_suites()
      
       - add support for counting number of test suites in a module, list
         action to kunit test modules, and test filtering on module tests
      
      * tag 'linux-kselftest-kunit-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (25 commits)
        kunit: fix struct kunit_attr header
        kunit: replace KUNIT_TRIGGER_STATIC_STUB maro with KUNIT_STATIC_STUB_REDIRECT
        kunit: Allow kunit test modules to use test filtering
        kunit: Make 'list' action available to kunit test modules
        kunit: Report the count of test suites in a module
        kunit: fix uninitialized variables bug in attributes filtering
        kunit: fix possible memory leak in kunit_filter_suites()
        kunit: fix wild-memory-access bug in kunit_filter_suites()
        kunit: Add documentation of KUnit test attributes
        kunit: add tests for filtering attributes
        kunit: time: Mark test as slow using test attributes
        kunit: memcpy: Mark tests as slow using test attributes
        kunit: tool: Add command line interface to filter and report attributes
        kunit: Add ability to filter attributes
        kunit: Add module attribute
        kunit: Add speed attribute
        kunit: Add test attributes API structure
        MAINTAINERS: add Rust KUnit files to the KUnit entry
        rust: support running Rust documentation tests as KUnit ones
        rust: types: make doctests compilable/testable
        ...
      815c24a0
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-next-6.6-rc1' of... · 5a31cc72
      Linus Torvalds authored
      Merge tag 'linux-kselftest-next-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull Kselftest updates from Shuah Khan:
       "A mix of fixes, enhancements, and new tests. Bulk of the changes
        enhance and fix rseq and resctrl tests.
      
        In addition, user_events, dmabuf-heaps and perf_events are added to
        default kselftest build and test coverage. A futex test fix, enhance
        prctl test coverage, and minor fixes are included in this update"
      
      * tag 'linux-kselftest-next-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (32 commits)
        selftests: cachestat: use proper syscall number macro
        selftests: cachestat: properly link in librt
        selftests/futex: Order calls to futex_lock_pi
        selftests: Hook more tests into the build infrastructure
        selftests/user_events: Reenable build
        selftests/filesystems: Add six consecutive 'x' characters to mktemp
        selftests/rseq: Use rseq_unqual_scalar_typeof in macros
        selftests/rseq: Fix arm64 buggy load-acquire/store-release macros
        selftests/rseq: Implement rseq_unqual_scalar_typeof
        selftests/rseq: Fix CID_ID typo in Makefile
        selftests:prctl: add set-process-name to .gitignore
        selftests:prctl: Fix make clean override warning
        selftests/resctrl: Remove test type checks from cat_val()
        selftests/resctrl: Pass the real number of tests to show_cache_info()
        selftests/resctrl: Move CAT/CMT test global vars to function they are used in
        selftests/resctrl: Don't use variable argument list for ->setup()
        selftests/resctrl: Don't pass test name to fill_buf
        selftests/resctrl: Improve parameter consistency in fill_buf
        selftests/resctrl: Remove unnecessary startptr global from fill_buf
        selftests/resctrl: Remove "malloc_and_init_memory" param from run_fill_buf()
        ...
      5a31cc72
    • Linus Torvalds's avatar
      Merge tag 'thermal-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 36534782
      Linus Torvalds authored
      Pull thermal control updates from Rafael Wysocki:
       "These rework the Intel DTS IOSF and the ACPI thermal drivers to pass
        tables of generic trip point structures to the core during
        initialization and make some requisite modifications in the thermal
        core, fix a few issues elsewhere and clean up code.
      
        This includes changes that are present in the ACPI updates too,
        because they involve both ACPI and the thermal core. The list of
        specific changes below is limited to thermal control, however.
      
        Specifics:
      
         - Make the ACPI thermal driver use its own Notify() handler (Michal
           Wilczynski)
      
         - Rework the ACPI thermal driver to use a table of generic trip point
           structures on top of the internal representation of trip points and
           remove thermal zone callbacks that are not necessary any more from
           that driver (Rafael Wysocki)
      
         - Fix a few issues in the Intel DTS IOSF thermal driver, clean up
           code in it and make it pass tables of generic trip point structures
           to the core during thermal zone registration (Rafael Wysocki)
      
         - Drop a redundant check from the Intel DTS IOSF thermal driver's
           "remove" routine (Zhang Rui)
      
         - Use module_platform_driver() to replace an open-coded counterpart
           of it in the int340x thermal driver (Yang Yingliang)
      
         - Fix possible uninitialized value access in __thermal_of_bind() and
           __thermal_of_unbind() (Peng Fan)
      
         - Make the int3400 driver use thermal zone device wrappers (Daniel
           Lezcano)
      
         - Remove redundant thermal zone state check from the int340x thermal
           driver (Daniel Lezcano)
      
         - Drop non-functional nocrt parameter from ACPI thermal (Mario
           Limonciello)
      
         - Explicitly include correct DT includes in the thermal core and
           drivers (Rob Herring)"
      
      * tag 'thermal-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        thermal: intel: intel_soc_dts_iosf: Remove redundant check
        thermal: intel: int340x: simplify the code with module_platform_driver()
        thermal/of: Fix potential uninitialized value access
        thermal: intel: intel_soc_dts_iosf: Use struct thermal_trip
        thermal: intel: intel_soc_dts_iosf: Rework critical trip setup
        thermal: intel: intel_soc_dts_iosf: Add helper for resetting trip points
        thermal: intel: intel_soc_dts_iosf: Change initialization ordering
        thermal: intel: intel_soc_dts_iosf: Pass sensors to update_trip_temp()
        thermal: intel: intel_soc_dts_iosf: Untangle update_trip_temp()
        thermal: intel: intel_soc_dts_iosf: Always assume notification support
        thermal: intel: intel_soc_dts_iosf: Drop redundant symbol definition
        thermal: intel: intel_soc_dts_iosf: Always use 2 trips
        thermal: Explicitly include correct DT includes
        thermal/drivers/int340x: Do not check the thermal zone state
        thermal/drivers/int3400: Use thermal zone device wrappers
      36534782
    • Linus Torvalds's avatar
      Merge tag 'pm-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · ccc5e981
      Linus Torvalds authored
      Pull power management updates from Rafael Wysocki:
       "These rework cpuidle governors to call tick_nohz_get_sleep_length()
        less often and fix one of them, rework hibernation to avoid storing
        pages filled with zeros in hibernation images, switch over some
        cpufreq drivers to use void remove callbacks, fix and clean up
        multiple cpufreq drivers, fix the devfreq core, update the cpupower
        utility and make other assorted improvements.
      
        Specifics:
      
         - Rework the menu and teo cpuidle governors to avoid calling
           tick_nohz_get_sleep_length(), which is likely to become quite
           expensive going forward, too often and improve making decisions
           regarding whether or not to stop the scheduler tick in the teo
           governor (Rafael Wysocki)
      
         - Improve the performance of cpufreq_stats_create_table() in some
           cases (Liao Chang)
      
         - Fix two issues in the amd-pstate-ut cpufreq driver (Swapnil Sapkal)
      
         - Use clamp() helper macro to improve the code readability in
           cpufreq_verify_within_limits() (Liao Chang)
      
         - Set stale CPU frequency to minimum in intel_pstate (Doug Smythies)
      
         - Migrate cpufreq drivers for various platforms to use void remove
           callback (Yangtao Li)
      
         - Add online/offline/exit hooks for Tegra driver (Sumit Gupta)
      
         - Explicitly include correct DT includes in cpufreq (Rob Herring)
      
         - Frequency domain updates for qcom-hw driver (Neil Armstrong)
      
         - Modify AMD pstate driver return the highest_perf value (Meng Li)
      
         - Generic cleanups for cppc, mediatek and powernow driver (Liao
           Chang, Konrad Dybcio)
      
         - Add more platforms to cpufreq-arm driver's blocklist
           (AngeloGioacchino Del Regno and Konrad Dybcio)
      
         - brcmstb-avs-cpufreq: Fix -Warray-bounds bug (Gustavo A. R. Silva)
      
         - Add device PM helpers to allow a device to remain powered-on during
           system-wide transitions (Ulf Hansson)
      
         - Rework hibernation memory snapshotting to avoid storing pages
           filled with zeros in hibernation image files (Brian Geffon)
      
         - Add check to make sure that CPU latency QoS constraints do not use
           negative values (Clive Lin)
      
         - Optimize rp->domains memory allocation in the Intel RAPL power
           capping driver (xiongxin)
      
         - Remove recursion while parsing zones in the arm_scmi power capping
           driver (Cristian Marussi)
      
         - Fix memory leak in devfreq_dev_release() (Boris Brezillon)
      
         - Rewrite devfreq_monitor_start() kerneldoc comment (Manivannan
           Sadhasivam)
      
         - Explicitly include correct DT includes in devfreq (Rob Herring)
      
         - Remove unsued pm_runtime_update_max_time_suspended() extern
           declaration (YueHaibing)
      
         - Add turbo-boost support to cpupower (Wyes Karny)
      
         - Add support for amd_pstate mode change to cpupower (Wyes Karny)
      
         - Fix 'cpupower idle_set' command to accept only numeric values of
           arguments (Likhitha Korrapati)
      
         - Clean up OPP code and add new frequency related APIs to it (Viresh
           Kumar, Manivannan Sadhasivam)
      
         - Convert ti cpufreq/opp bindings to json schema (Nishanth Menon)"
      
      * tag 'pm-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (74 commits)
        cpufreq: tegra194: remove opp table in exit hook
        cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()
        cpufreq: tegra194: add online/offline hooks
        cpuidle: teo: Avoid unnecessary variable assignments
        cpufreq: qcom-cpufreq-hw: add support for 4 freq domains
        dt-bindings: cpufreq: qcom-hw: add a 4th frequency domain
        cpufreq: amd-pstate-ut: Fix kernel panic when loading the driver
        cpufreq: amd-pstate-ut: Remove module parameter access
        cpufreq: Use clamp() helper macro to improve the code readability
        PM: sleep: Add helpers to allow a device to remain powered-on
        PM: QoS: Add check to make sure CPU latency is non-negative
        PM: runtime: Remove unsued extern declaration of pm_runtime_update_max_time_suspended()
        cpufreq: intel_pstate: set stale CPU frequency to minimum
        cpufreq: stats: Improve the performance of cpufreq_stats_create_table()
        dt-bindings: cpufreq: Convert ti-cpufreq to json schema
        dt-bindings: opp: Convert ti-omap5-opp-supply to json schema
        OPP: Fix argument name in doc comment
        cpuidle: menu: Skip tick_nohz_get_sleep_length() call in some cases
        cpufreq: cppc: Set fie_disabled to FIE_DISABLED if fails to create kworker_fie
        cpufreq: cppc: cppc_cpufreq_get_rate() returns zero in all error cases.
        ...
      ccc5e981
    • Linus Torvalds's avatar
      Merge tag 'acpi-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 330235e8
      Linus Torvalds authored
      Pull ACPI updates from Rafael Wysocki:
       "These include new ACPICA material, a rework of the ACPI thermal
        driver, a switch-over of the ACPI processor driver to using _OSC
        instead of (long deprecated) _PDC for CPU initialization, a rework of
        firmware notifications handling in several drivers, fixes and cleanups
        for suspend-to-idle handling on AMD systems, ACPI backlight driver
        updates and more.
      
        Specifics:
      
         - Update the ACPICA code in the kernel to upstream revision 20230628
           including the following changes:
            - Suppress a GCC 12 dangling-pointer warning (Philip Prindeville)
            - Reformat the ACPI_STATE_COMMON macro and its users (George Guo)
            - Replace the ternary operator with ACPI_MIN() (Jiangshan Yi)
            - Add support for _DSC as per ACPI 6.5 (Saket Dumbre)
            - Remove a duplicate macro from zephyr header (Najumon B.A)
            - Add data structures for GED and _EVT tracking (Jose Marinho)
            - Fix misspelled CDAT DSMAS define (Dave Jiang)
            - Simplify an error message in acpi_ds_result_push() (Christophe
              Jaillet)
            - Add a struct size macro related to SRAT (Dave Jiang)
            - Add AML_NO_OPERAND_RESOLVE flag to Timer (Abhishek Mainkar)
            - Add support for RISC-V external interrupt controllers in MADT
              (Sunil V L)
            - Add RHCT flags, CMO and MMU nodes (Sunil V L)
            - Change ACPICA version to 20230628 (Bob Moore)
      
         - Introduce new wrappers for ACPICA notify handler install/remove and
           convert multiple drivers to using their own Notify() handlers
           instead of the ACPI bus type .notify() slated for removal (Michal
           Wilczynski)
      
         - Add backlight=native DMI quirk for Apple iMac12,1 and iMac12,2
           (Hans de Goede)
      
         - Put ACPI video and its child devices explicitly into D0 on boot to
           avoid platform firmware confusion (Kai-Heng Feng)
      
         - Add backlight=native DMI quirk for Lenovo Ideapad Z470 (Jiri Slaby)
      
         - Support obtaining physical CPU ID from MADT on LoongArch (Bibo Mao)
      
         - Convert ACPI CPU initialization to using _OSC instead of _PDC that
           has been depreceted since 2018 and dropped from the specification
           in ACPI 6.5 (Michal Wilczynski, Rafael Wysocki)
      
         - Drop non-functional nocrt parameter from ACPI thermal (Mario
           Limonciello)
      
         - Clean up the ACPI thermal driver, rework the handling of firmware
           notifications in it and make it provide a table of generic trip
           point structures to the core during initialization (Rafael Wysocki)
      
         - Defer enumeration of devices with _DEP pointing to IVSC (Wentong
           Wu)
      
         - Install SystemCMOS address space handler for ACPI000E (TAD) to meet
           platform firmware expectations on some platforms (Zhang Rui)
      
         - Fix finding the generic error data in the ACPi extlog driver for
           compatibility with old and new firmware interface versions
           (Xiaochun Lee)
      
         - Remove assorted unused declarations of functions (Yue Haibing)
      
         - Move AMBA bus scan handling into arm64 specific directory (Sudeep
           Holla)
      
         - Fix and clean up suspend-to-idle interface for AMD systems (Mario
           Limonciello, Andy Shevchenko)
      
         - Fix string truncation warning in pnpacpi_add_device() (Sunil V L)"
      
      * tag 'acpi-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (66 commits)
        ACPI: x86: s2idle: Add a function to get LPS0 constraint for a device
        ACPI: x86: s2idle: Add for_each_lpi_constraint() helper
        ACPI: x86: s2idle: Add more debugging for AMD constraints parsing
        ACPI: x86: s2idle: Fix a logic error parsing AMD constraints table
        ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects
        ACPI: x86: s2idle: Post-increment variables when getting constraints
        ACPI: Adjust #ifdef for *_lps0_dev use
        ACPI: TAD: Install SystemCMOS address space handler for ACPI000E
        ACPI: Remove assorted unused declarations of functions
        ACPI: extlog: Fix finding the generic error data for v3 structure
        PNP: ACPI: Fix string truncation warning
        ACPI: Remove unused extern declaration acpi_paddr_to_node()
        ACPI: video: Add backlight=native DMI quirk for Apple iMac12,1 and iMac12,2
        ACPI: video: Put ACPI video and its child devices into D0 on boot
        ACPI: processor: LoongArch: Get physical ID from MADT
        ACPI: scan: Defer enumeration of devices with a _DEP pointing to IVSC device
        ACPI: thermal: Eliminate code duplication from acpi_thermal_notify()
        ACPI: thermal: Drop unnecessary thermal zone callbacks
        ACPI: thermal: Rework thermal_get_trend()
        ACPI: thermal: Use trip point table to register thermal zones
        ...
      330235e8
    • Linus Torvalds's avatar
      Merge tag 'tag-chrome-platform-firmware-for-v6.6' of... · 2927d226
      Linus Torvalds authored
      Merge tag 'tag-chrome-platform-firmware-for-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
      
      Pull chrome platform firmware update from Tzung-Bi Shih:
      
       - Add MAINTAINERS entry for chrome platform firmware
      
      * tag 'tag-chrome-platform-firmware-for-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
        MAINTAINERS: Add drivers/firmware/google/ entry
      2927d226
    • Linus Torvalds's avatar
      Merge tag 'tag-chrome-platform-for-v6.6' of... · 670f0897
      Linus Torvalds authored
      Merge tag 'tag-chrome-platform-for-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
      
      Pull chrome platform updates from Tzung-Bi Shih:
       "Improvements:
      
        - Remove shutdown timeout on EC panic for offering the filesystem a
          chance to sync
      
        - Support official HID "GOOG0016" for ChromeOS ACPI
      
        Fixes:
      
        - Print hex string instead of using "%s" for ACPI_TYPE_BUFFER
      
        Misc:
      
        - Update MAINTAINERS"
      
      * tag 'tag-chrome-platform-for-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
        platform/chrome: chromeos_acpi: print hex string for ACPI_TYPE_BUFFER
        platform/chrome: chromeos_acpi: support official HID GOOG0016
        platform/chrome: cros_ec_lpc: Remove EC panic shutdown timeout
        MAINTAINERS: update maintainers of chrome-platform
      670f0897
    • Linus Torvalds's avatar
      Merge tag 'for-linus-6.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 6383cb42
      Linus Torvalds authored
      Pull xen updates from Juergen Gross:
      
       - a bunch of minor cleanups
      
       - a patch adding irqfd support for virtio backends running as user
         daemon supporting Xen guests
      
      * tag 'for-linus-6.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen: privcmd: Add support for irqfd
        xen/xenbus: Avoid a lockdep warning when adding a watch
        xen: Fix one kernel-doc comment
        xen: xenbus: Use helper function IS_ERR_OR_NULL()
        xen: Switch to use kmemdup() helper
        xen-pciback: Remove unused function declarations
        x86/xen: Make virt_to_pfn() a static inline
        xen: remove a confusing comment on auto-translated guest I/O
        xen/evtchn: Remove unused function declaration xen_set_affinity_evtchn()
      6383cb42
    • Linus Torvalds's avatar
      Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 54203417
      Linus Torvalds authored
      Pull arm64 updates from Will Deacon:
       "I think we have a bit less than usual on the architecture side, but
        that's somewhat balanced out by a large crop of perf/PMU driver
        updates and extensions to our selftests.
      
        CPU features and system registers:
      
         - Advertise hinted conditional branch support (FEAT_HBC) to userspace
      
         - Avoid false positive "SANITY CHECK" warning when xCR registers
           differ outside of the length field
      
        Documentation:
      
         - Fix macro name typo in SME documentation
      
        Entry code:
      
         - Unmask exceptions earlier on the system call entry path
      
        Memory management:
      
         - Don't bother clearing PTE_RDONLY for dirty ptes in pte_wrprotect()
           and pte_modify()
      
        Perf and PMU drivers:
      
         - Initial support for Coresight TRBE devices on ACPI systems (the
           coresight driver changes will come later)
      
         - Fix hw_breakpoint single-stepping when called from bpf
      
         - Fixes for DDR PMU on i.MX8MP SoC
      
         - Add NUMA-awareness to Hisilicon PCIe PMU driver
      
         - Fix locking dependency issue in Arm DMC620 PMU driver
      
         - Workaround Hisilicon erratum 162001900 in the SMMUv3 PMU driver
      
         - Add support for Arm CMN-700 r3 parts to the CMN PMU driver
      
         - Add support for recent Arm Cortex CPU PMUs
      
         - Update Hisilicon PMU maintainers
      
        Selftests:
      
         - Add a bunch of new features to the hwcap test (JSCVT, PMULL, AES,
           SHA1, etc)
      
         - Fix SSVE test to leave streaming-mode after grabbing the signal
           context
      
         - Add new test for SVE vector-length changes with SME enabled
      
        Miscellaneous:
      
         - Allow compiler to warn on suspicious looking system register
           expressions
      
         - Work around SDEI firmware bug by aborting any running handlers on a
           kernel crash
      
         - Fix some harmless warnings when building with W=1
      
         - Remove some unused function declarations
      
         - Other minor fixes and cleanup"
      
      * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (62 commits)
        drivers/perf: hisi: Update HiSilicon PMU maintainers
        arm_pmu: acpi: Add a representative platform device for TRBE
        arm_pmu: acpi: Refactor arm_spe_acpi_register_device()
        kselftest/arm64: Fix hwcaps selftest build
        hw_breakpoint: fix single-stepping when using bpf_overflow_handler
        arm64/sysreg: refactor deprecated strncpy
        kselftest/arm64: add jscvt feature to hwcap test
        kselftest/arm64: add pmull feature to hwcap test
        kselftest/arm64: add AES feature check to hwcap test
        kselftest/arm64: add SHA1 and related features to hwcap test
        arm64: sysreg: Generate C compiler warnings on {read,write}_sysreg_s arguments
        kselftest/arm64: build BTI tests in output directory
        perf/imx_ddr: don't enable counter0 if none of 4 counters are used
        perf/imx_ddr: speed up overflow frequency of cycle
        drivers/perf: hisi: Schedule perf session according to locality
        kselftest/arm64: fix a memleak in zt_regs_run()
        perf/arm-dmc620: Fix dmc620_pmu_irqs_lock/cpu_hotplug_lock circular lock dependency
        perf/smmuv3: Add MODULE_ALIAS for module auto loading
        perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
        kselftest/arm64: Size sycall-abi buffers for the actual maximum VL
        ...
      54203417
    • Linus Torvalds's avatar
      Merge tag 'm68k-for-v6.6-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k · bb2d9e54
      Linus Torvalds authored
      Pull m68k updates from Geert Uytterhoeven:
      
       - Remove <asm/export.h>
      
       - Miscellaneous W=1 fixes
      
       - defconfig updates
      
      * tag 'm68k-for-v6.6-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
        zorro: Include zorro.h in names.c
        m68k: Add memcmp() declaration
        m68k: Define __div64_32() to avoid a warning
        m68k: Remove <asm/export.h>
        m68k: Replace #include <asm/export.h> with #include <linux/export.h>
        m68k: defconfig: Update defconfigs for v6.5-rc1
      bb2d9e54
    • Linus Torvalds's avatar
      Merge tag 's390-6.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · e5b7ca09
      Linus Torvalds authored
      Pull s390 updates from Heiko Carstens:
      
       - Add vfio-ap support to pass-through crypto devices to secure
         execution guests
      
       - Add API ordinal 6 support to zcrypt_ep11misc device drive, which is
         required to handle key generate and key derive (e.g. secure key to
         protected key) correctly
      
       - Add missing secure/has_secure sysfs files for the case where it is
         not possible to figure where a system has been booted from. Existing
         user space relies on that these files are always present
      
       - Fix DCSS block device driver list corruption, caused by incorrect
         error handling
      
       - Convert virt_to_pfn() and pfn_to_virt() from defines to static inline
         functions to enforce type checking
      
       - Cleanups, improvements, and minor fixes to the kernel mapping setup
      
       - Fix various virtual vs physical address confusions
      
       - Move pfault code to separate file, since it has nothing to do with
         regular fault handling
      
       - Move s390 documentation to Documentation/arch/ like it has been done
         for other architectures already
      
       - Add HAVE_FUNCTION_GRAPH_RETVAL support
      
       - Factor out the s390_hypfs filesystem and add a new config option for
         it. The filesystem is deprecated and as soon as all users are gone it
         can be removed some time in the not so near future
      
       - Remove support for old CEX2 and CEX3 crypto cards from zcrypt device
         driver
      
       - Add support for user-defined certificates: receive user-defined
         certificates with a diagnose call and provide them via 'cert_store'
         keyring to user space
      
       - Couple of other small fixes and improvements all over the place
      
      * tag 's390-6.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (66 commits)
        s390/pci: use builtin_misc_device macro to simplify the code
        s390/vfio-ap: make sure nib is shared
        KVM: s390: export kvm_s390_pv*_is_protected functions
        s390/uv: export uv_pin_shared for direct usage
        s390/vfio-ap: check for TAPQ response codes 0x35 and 0x36
        s390/vfio-ap: handle queue state change in progress on reset
        s390/vfio-ap: use work struct to verify queue reset
        s390/vfio-ap: store entire AP queue status word with the queue object
        s390/vfio-ap: remove upper limit on wait for queue reset to complete
        s390/vfio-ap: allow deconfigured queue to be passed through to a guest
        s390/vfio-ap: wait for response code 05 to clear on queue reset
        s390/vfio-ap: clean up irq resources if possible
        s390/vfio-ap: no need to check the 'E' and 'I' bits in APQSW after TAPQ
        s390/ipl: refactor deprecated strncpy
        s390/ipl: fix virtual vs physical address confusion
        s390/zcrypt_ep11misc: support API ordinal 6 with empty pin-blob
        s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs
        s390/pkey: fix PKEY_TYPE_EP11_AES handling for sysfs attributes
        s390/pkey: fix PKEY_TYPE_EP11_AES handling in PKEY_VERIFYKEY2 IOCTL
        s390/pkey: fix PKEY_TYPE_EP11_AES handling in PKEY_KBLOB2PROTK[23]
        ...
      e5b7ca09
    • Linus Torvalds's avatar
      Merge tag 'x86-cleanups-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 97efd283
      Linus Torvalds authored
      Pull misc x86 cleanups from Ingo Molnar:
       "The following commit deserves special mention:
      
         22dc02f8 Revert "sched/fair: Move unused stub functions to header"
      
        This is in x86/cleanups, because the revert is a re-application of a
        number of cleanups that got removed inadvertedly"
      
      [ This also effectively undoes the amd_check_microcode() microcode
        declaration change I had done in my microcode loader merge in commit
        42a7f6e3 ("Merge tag 'x86_microcode_for_v6.6_rc1' [...]").
      
        I picked the declaration change by Arnd from this branch instead,
        which put it in <asm/processor.h> instead of <asm/microcode.h> like I
        had done in my merge resolution   - Linus ]
      
      * tag 'x86-cleanups-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/platform/uv: Refactor code using deprecated strncpy() interface to use strscpy()
        x86/hpet: Refactor code using deprecated strncpy() interface to use strscpy()
        x86/platform/uv: Refactor code using deprecated strcpy()/strncpy() interfaces to use strscpy()
        x86/qspinlock-paravirt: Fix missing-prototype warning
        x86/paravirt: Silence unused native_pv_lock_init() function warning
        x86/alternative: Add a __alt_reloc_selftest() prototype
        x86/purgatory: Include header for warn() declaration
        x86/asm: Avoid unneeded __div64_32 function definition
        Revert "sched/fair: Move unused stub functions to header"
        x86/apic: Hide unused safe_smp_processor_id() on 32-bit UP
        x86/cpu: Fix amd_check_microcode() declaration
      97efd283
  2. 28 Aug, 2023 23 commits
    • Linus Torvalds's avatar
      Merge tag 'sched-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 3ca9a836
      Linus Torvalds authored
      Pull scheduler updates from Ingo Molnar:
      
       - The biggest change is introduction of a new iteration of the
         SCHED_FAIR interactivity code: the EEVDF ("Earliest Eligible Virtual
         Deadline First") scheduler
      
         EEVDF too is a virtual-time scheduler, with two parameters (weight
         and relative deadline), compared to CFS that had weight only. It
         completely reworks the base scheduler: placement, preemption, picking
         -- everything
      
         LWN.net, as usual, has a terrific writeup about EEVDF:
      
            https://lwn.net/Articles/925371/
      
         Preemption (both tick and wakeup) is driven by testing against a
         fresh pick. Because the tree is now effectively an interval tree, and
         the selection is no longer the 'leftmost' task, over-scheduling is
         less of a problem. A lot of the CFS heuristics are removed or
         replaced by more natural latency-space parameters & constructs
      
         In terms of expected performance regressions: we will and can fix
         everything where a 'good' workload misbehaves with the new scheduler,
         but EEVDF inevitably changes workload scheduling in a binary fashion,
         hopefully for the better in the overwhelming majority of cases, but
         in some cases it won't, especially in adversarial loads that got
         lucky with the previous code, such as some variants of hackbench. We
         are trying hard to err on the side of fixing all performance
         regressions, but we expect some inevitable post-release iterations of
         that process
      
       - Improve load-balancing on hybrid x86 systems: enable cluster
         scheduling (again)
      
       - Improve & fix bandwidth-scheduling on nohz systems
      
       - Improve bandwidth-throttling
      
       - Use lock guards to simplify and de-goto-ify control flow
      
       - Misc improvements, cleanups and fixes
      
      * tag 'sched-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (43 commits)
        sched/eevdf/doc: Modify the documented knob to base_slice_ns as well
        sched/eevdf: Curb wakeup-preemption
        sched: Simplify sched_core_cpu_{starting,deactivate}()
        sched: Simplify try_steal_cookie()
        sched: Simplify sched_tick_remote()
        sched: Simplify sched_exec()
        sched: Simplify ttwu()
        sched: Simplify wake_up_if_idle()
        sched: Simplify: migrate_swap_stop()
        sched: Simplify sysctl_sched_uclamp_handler()
        sched: Simplify get_nohz_timer_target()
        sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset
        sched/rt: Fix sysctl_sched_rr_timeslice intial value
        sched/fair: Block nohz tick_stop when cfs bandwidth in use
        sched, cgroup: Restore meaning to hierarchical_quota
        MAINTAINERS: Add Peter explicitly to the psi section
        sched/psi: Select KERNFS as needed
        sched/topology: Align group flags when removing degenerate domain
        sched/fair: remove util_est boosting
        sched/fair: Propagate enqueue flags into place_entity()
        ...
      3ca9a836
    • Linus Torvalds's avatar
      Merge tag 'perf-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 1a7c6115
      Linus Torvalds authored
      Pull perf event updates from Ingo Molnar:
      
       - AMD IBS improvements
      
       - Intel PMU driver updates
      
       - Extend core perf facilities & the ARM PMU driver to better handle ARM big.LITTLE events
      
       - Micro-optimize software events and the ring-buffer code
      
       - Misc cleanups & fixes
      
      * tag 'perf-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf/x86/uncore: Remove unnecessary ?: operator around pcibios_err_to_errno() call
        perf/x86/intel: Add Crestmont PMU
        x86/cpu: Update Hybrids
        x86/cpu: Fix Crestmont uarch
        x86/cpu: Fix Gracemont uarch
        perf: Remove unused extern declaration arch_perf_get_page_size()
        perf: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capability
        arm_pmu: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capability
        perf/x86: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capability
        arm_pmu: Add PERF_PMU_CAP_EXTENDED_HW_TYPE capability
        perf/x86/ibs: Set mem_lvl_num, mem_remote and mem_hops for data_src
        perf/mem: Add PERF_MEM_LVLNUM_NA to PERF_MEM_NA
        perf/mem: Introduce PERF_MEM_LVLNUM_UNC
        perf/ring_buffer: Use local_try_cmpxchg in __perf_output_begin
        locking/arch: Avoid variable shadowing in local_try_cmpxchg()
        perf/core: Use local64_try_cmpxchg in perf_swevent_set_period
        perf/x86: Use local64_try_cmpxchg
        perf/amd: Prevent grouping of IBS events
      1a7c6115
    • Linus Torvalds's avatar
      Merge tag 'locking-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · d637fce0
      Linus Torvalds authored
      Pull locking update from Ingo Molnar:
       "Simplify the locking self-tests via using the new <linux/cleanup.h>
        facilities for lock guards"
      
      * tag 'locking-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        lockdep/selftests: Use SBRM APIs for wait context tests
      d637fce0
    • Linus Torvalds's avatar
      Merge tag 'efi-next-for-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi · d7dd9b44
      Linus Torvalds authored
      Pull EFI updates from Ard Biesheuvel:
       "This primarily covers some cleanup work on the EFI runtime wrappers,
        which are shared between all EFI architectures except Itanium, and
        which provide some level of isolation to prevent faults occurring in
        the firmware code (which runs at the same privilege level as the
        kernel) from bringing down the system.
      
        Beyond that, there is a fix that did not make it into v6.5, and some
        doc fixes and dead code cleanup.
      
         - one bugfix for x86 mixed mode that did not make it into v6.5
      
         - first pass of cleanup for the EFI runtime wrappers
      
         - some cosmetic touchups"
      
      * tag 'efi-next-for-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi:
        x86/efistub: Fix PCI ROM preservation in mixed mode
        efi/runtime-wrappers: Clean up white space and add __init annotation
        acpi/prmt: Use EFI runtime sandbox to invoke PRM handlers
        efi/runtime-wrappers: Don't duplicate setup/teardown code
        efi/runtime-wrappers: Remove duplicated macro for service returning void
        efi/runtime-wrapper: Move workqueue manipulation out of line
        efi/runtime-wrappers: Use type safe encapsulation of call arguments
        efi/riscv: Move EFI runtime call setup/teardown helpers out of line
        efi/arm64: Move EFI runtime call setup/teardown helpers out of line
        efi/riscv: libstub: Fix comment about absolute relocation
        efi: memmap: Remove kernel-doc warnings
        efi: Remove unused extern declaration efi_lookup_mapped_addr()
      d7dd9b44
    • Linus Torvalds's avatar
      Merge tag 'x86_microcode_for_v6.6_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 42a7f6e3
      Linus Torvalds authored
      Pull x86 microcode loading updates from Borislav Petkov:
       "The first, cleanup part of the microcode loader reorg tglx has been
        working on. The other part wasn't fully ready in time so it will
        follow on later.
      
        This part makes the loader core code as it is practically enabled on
        pretty much every baremetal machine so there's no need to have the
        Kconfig items.
      
        In addition, there are cleanups which prepare for future feature
        enablement"
      
      * tag 'x86_microcode_for_v6.6_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/microcode: Remove remaining references to CONFIG_MICROCODE_AMD
        x86/microcode/intel: Remove pointless mutex
        x86/microcode/intel: Remove debug code
        x86/microcode: Move core specific defines to local header
        x86/microcode/intel: Rename get_datasize() since its used externally
        x86/microcode: Make reload_early_microcode() static
        x86/microcode: Include vendor headers into microcode.h
        x86/microcode/intel: Move microcode functions out of cpu/intel.c
        x86/microcode: Hide the config knob
        x86/mm: Remove unused microcode.h include
        x86/microcode: Remove microcode_mutex
        x86/microcode/AMD: Rip out static buffers
      42a7f6e3
    • Linus Torvalds's avatar
      Merge tag 'x86_sev_for_v6.6_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · f31f663f
      Linus Torvalds authored
      Pull x86 SEV updates from Borislav Petkov:
      
       - Handle the case where the beginning virtual address of the address
         range whose SEV encryption status needs to change, is not page
         aligned so that callers which round up the number of pages to be
         decrypted, would mark a trailing page as decrypted and thus cause
         corruption during live migration.
      
       - Return an error from the #VC handler on AMD SEV-* guests when the
         debug registers swapping is enabled as a DR7 access should not happen
         then - that register is guest/host switched.
      
      * tag 'x86_sev_for_v6.6_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/sev: Make enc_dec_hypercall() accept a size instead of npages
        x86/sev: Do not handle #VC for DR7 read/write
      f31f663f
    • Linus Torvalds's avatar
      Merge tag 'ras_core_for_v6.6_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 28c59d94
      Linus Torvalds authored
      Pull x86 RAS updates from Borislav Petkov:
      
       - Add a quirk for AMD Zen machines where Instruction Fetch unit poison
         consumption MCEs are not delivered synchronously but still within the
         same context, which can lead to erroneously increased error severity
         and unneeded kernel panics
      
       - Do not log errors caught by polling shared MCA banks as they
         materialize as duplicated error records otherwise
      
      * tag 'ras_core_for_v6.6_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/MCE: Always save CS register on AMD Zen IF Poison errors
        x86/mce: Prevent duplicate error records
      28c59d94
    • Linus Torvalds's avatar
      Merge tag 'x86_misc_for_v6.6_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 7e5e832c
      Linus Torvalds authored
      Pull misc x86 updates from Borislav Petkov:
      
       - Add PCI device IDs for a new AMD family 0x1a CPUs and use them in the
         respective drivers
      
       - Update HPE Superdome Flex maintainers list
      
      * tag 'x86_misc_for_v6.6_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/uv: Update HPE Superdome Flex Maintainers
        EDAC/amd64: Add support for AMD family 1Ah models 00h-1Fh and 40h-4Fh
        hwmon: (k10temp) Add thermal support for AMD Family 1Ah-based models
        x86/amd_nb: Add PCI IDs for AMD Family 1Ah-based models
      7e5e832c
    • Linus Torvalds's avatar
      Merge tag 'x86_boot_for_v6.6_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · bd9e99f7
      Linus Torvalds authored
      Pull x86 boot updates from Borislav Petkov:
       "Avoid the baremetal decompressor code when booting on an EFI machine.
      
        This is mandated by the current tightening of EFI executables
        requirements when used in a secure boot scenario. More specifically,
        an EFI executable cannot have a single section with RWX permissions,
        which conflicts with the in-place kernel decompression that is done
        today.
      
        Instead, the things required by the booting kernel image are done in
        the EFI stub now.
      
        Work by Ard Biesheuvel"
      
      * tag 'x86_boot_for_v6.6_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (23 commits)
        x86/efistub: Avoid legacy decompressor when doing EFI boot
        x86/efistub: Perform SNP feature test while running in the firmware
        efi/libstub: Add limit argument to efi_random_alloc()
        x86/decompressor: Factor out kernel decompression and relocation
        x86/decompressor: Move global symbol references to C code
        decompress: Use 8 byte alignment
        x86/efistub: Prefer EFI memory attributes protocol over DXE services
        x86/efistub: Perform 4/5 level paging switch from the stub
        x86/decompressor: Merge trampoline cleanup with switching code
        x86/decompressor: Pass pgtable address to trampoline directly
        x86/decompressor: Only call the trampoline when changing paging levels
        x86/decompressor: Call trampoline directly from C code
        x86/decompressor: Avoid the need for a stack in the 32-bit trampoline
        x86/decompressor: Use standard calling convention for trampoline
        x86/decompressor: Call trampoline as a normal function
        x86/decompressor: Assign paging related global variables earlier
        x86/decompressor: Store boot_params pointer in callee save register
        x86/efistub: Clear BSS in EFI handover protocol entrypoint
        x86/decompressor: Avoid magic offsets for EFI handover entrypoint
        x86/efistub: Simplify and clean up handover entry code
        ...
      bd9e99f7
    • Linus Torvalds's avatar
      Merge tag 'smp-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 6f49693a
      Linus Torvalds authored
      Pull CPU hotplug updates from Thomas Gleixner:
       "Updates for the CPU hotplug core:
      
         - Support partial SMT enablement.
      
           So far the sysfs SMT control only allows to toggle between SMT on
           and off. That's sufficient for x86 which usually has at max two
           threads except for the Xeon PHI platform which has four threads per
           core
      
           Though PowerPC has up to 16 threads per core and so far it's only
           possible to control the number of enabled threads per core via a
           command line option. There is some way to control this at runtime,
           but that lacks enforcement and the usability is awkward
      
           This update expands the sysfs interface and the core infrastructure
           to accept numerical values so PowerPC can build SMT runtime control
           for partial SMT enablement on top
      
           The core support has also been provided to the PowerPC maintainers
           who added the PowerPC related changes on top
      
         - Minor cleanups and documentation updates"
      
      * tag 'smp-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        Documentation: core-api/cpuhotplug: Fix state names
        cpu/hotplug: Remove unused function declaration cpu_set_state_online()
        cpu/SMT: Fix cpu_smt_possible() comment
        cpu/SMT: Allow enabling partial SMT states via sysfs
        cpu/SMT: Create topology_smt_thread_allowed()
        cpu/SMT: Remove topology_smt_supported()
        cpu/SMT: Store the current/max number of threads
        cpu/SMT: Move smt/control simple exit cases earlier
        cpu/SMT: Move SMT prototypes into cpu_smt.h
        cpu/hotplug: Remove dependancy against cpu_primary_thread_mask
      6f49693a
    • Linus Torvalds's avatar
      Merge tag 'irq-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · dd3f0fe5
      Linus Torvalds authored
      Pull irq updates from Thomas Gleixner:
       "Boring updates for the interrupt subsystem:
      
        Core:
      
         - Prevent a deadlock of nested interrupt threads vs.
           synchronize_hard()
      
         - Removal of a stale extern declaration
      
        Drivers:
      
         - The first new driver since v6.2 for Amlogic-C3 SoCs
      
         - The usual small fixes, cleanups and improvements all over the
           place"
      
      * tag 'irq-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        irqchip: Add support for Amlogic-C3 SoCs
        dt-bindings: interrupt-controller: Add support for Amlogic-C3 SoCs
        irqchip/irq-mvebu-sei: Use devm_platform_get_and_ioremap_resource()
        irqchip/ls-scfg-msi: Use devm_platform_get_and_ioremap_resource()
        irqchip: Explicitly include correct DT includes
        irqchip/orion: Use of_address_count() helper
        irqchip/irq-pruss-intc: Do not check for 0 return after calling platform_get_irq()
        irqchip/imx-mu-msi: Do not check for 0 return after calling platform_get_irq()
        irqchipr/i8259: Mark i8259_of_init() static
        irqchip/mips-gic: Mark gic_irq_domain_free() static
        irqchip/xtensa-pic: Include header for xtensa_pic_init_legacy()
        irqchip/loongson-eiointc: Fix return value checking of eiointc_index
        genirq: Remove unused extern declaration
        genirq: Prevent nested thread vs synchronize_hardirq() deadlock
      dd3f0fe5
    • Linus Torvalds's avatar
      Merge tag 'core-entry-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 6bfce775
      Linus Torvalds authored
      Pull core entry code update from Thomas Gleixner:
       "A single update to the core entry code, which removes the empty user
        address limit check which is a leftover of the removed TIF_FSCHECK"
      
      * tag 'core-entry-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        entry: Remove empty addr_limit_user_check()
      6bfce775
    • Linus Torvalds's avatar
      Merge tag 'clocksource.2023.08.15a' of... · b98af53c
      Linus Torvalds authored
      Merge tag 'clocksource.2023.08.15a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu
      
      Pull clocksource watchdog updates from Paul McKenney:
      
       - Handle negative skews in "skew is too large" messages
      
       - Extend watchdog check exemption to 4-Socket platforms
      
      * tag 'clocksource.2023.08.15a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu:
        x86/tsc: Extend watchdog check exemption to 4-Sockets platform
        clocksource: Handle negative skews in "skew is too large" messages
      b98af53c
    • Linus Torvalds's avatar
      Merge tag 'csd-lock.2023.07.15a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu · b324696d
      Linus Torvalds authored
      Pull CSD lock updates from Paul McKenney:
       "This series reduces the number of stack traces dumped during CSD-lock
        debugging. This helps to avoid console overrun on systems with large
        numbers of CPUs"
      
      * tag 'csd-lock.2023.07.15a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu:
        smp: Reduce NMI traffic from CSD waiters to CSD destination
        smp: Reduce logging due to dump_stack of CSD waiters
      b324696d
    • Linus Torvalds's avatar
      Merge tag 'scftorture.2023.08.15a' of... · 6ae0c157
      Linus Torvalds authored
      Merge tag 'scftorture.2023.08.15a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu
      
      Pull smp_call_function torture-test updates from Paul McKenney:
       "This prevents some memory-exhaustion false-postitive failures in
        scftorture testing"
      
      * tag 'scftorture.2023.08.15a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu:
        scftorture: Add CONFIG_PREEMPT_DYNAMIC=n to NOPREEMPT scenario
        scftorture: Pause testing after memory-allocation failure
        scftorture: Forgive memory-allocation failure if KASAN
        torture: Scale scftorture memory based on number of CPUs
      6ae0c157
    • Linus Torvalds's avatar
      Merge tag 'rcu.2023.08.21a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu · 68cadad1
      Linus Torvalds authored
      Pull RCU updates from Paul McKenney:
      
       - Documentation updates
      
       - Miscellaneous fixes, perhaps most notably simplifying
         SRCU_NOTIFIER_INIT() as suggested
      
       - RCU Tasks updates, most notably treating Tasks RCU callbacks as lazy
         while still treating synchronous grace periods as urgent. Also fixes
         one bug that restores the ability to apply debug-objects to RCU Tasks
         and another that fixes a race condition that could result in
         false-positive failures of the boot-time self-test code
      
       - RCU-scalability performance-test updates, most notably adding the
         ability to measure the RCU-Tasks's grace-period kthread's CPU
         consumption. This proved quite useful for the RCU Tasks work
      
       - Reference-acquisition/release performance-test updates, including a
         fix for an uninitialized wait_queue_head_t
      
       - Miscellaneous torture-test updates
      
       - Torture-test scripting updates, including removal of the
         non-longer-functional formal-verification scripts, test builds of
         individual RCU Tasks flavors, better diagnostics for loss of
         connectivity for distributed rcutorture tests, disabling of reboot
         loops in qemu/KVM-based rcutorture testing, and passing of init
         parameters to rcutorture's init program
      
      * tag 'rcu.2023.08.21a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu: (64 commits)
        rcu: Use WRITE_ONCE() for assignments to ->next for rculist_nulls
        rcu: Make the rcu_nocb_poll boot parameter usable via boot config
        rcu: Mark __rcu_irq_enter_check_tick() ->rcu_urgent_qs load
        srcu,notifier: Remove #ifdefs in favor of SRCU Tiny srcu_usage
        rcutorture: Stop right-shifting torture_random() return values
        torture: Stop right-shifting torture_random() return values
        torture: Move stutter_wait() timeouts to hrtimers
        torture: Move torture_shuffle() timeouts to hrtimers
        torture: Move torture_onoff() timeouts to hrtimers
        torture: Make torture_hrtimeout_*() use TASK_IDLE
        torture: Add lock_torture writer_fifo module parameter
        torture: Add a kthread-creation callback to _torture_create_kthread()
        rcu-tasks: Fix boot-time RCU tasks debug-only deadlock
        rcu-tasks: Permit use of debug-objects with RCU Tasks flavors
        checkpatch: Complain about unexpected uses of RCU Tasks Trace
        torture: Cause mkinitrd.sh to indicate failure on compile errors
        torture: Make init program dump command-line arguments
        torture: Switch qemu from -nographic to -display none
        torture: Add init-program support for loongarch
        torture: Avoid torture-test reboot loops
        ...
      68cadad1
    • Linus Torvalds's avatar
      Merge tag 'hardening-v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 727dbda1
      Linus Torvalds authored
      Pull hardening updates from Kees Cook:
       "As has become normal, changes are scattered around the tree (either
        explicitly maintainer Acked or for trivial stuff that went ignored):
      
         - Carve out the new CONFIG_LIST_HARDENED as a more focused subset of
           CONFIG_DEBUG_LIST (Marco Elver)
      
         - Fix kallsyms lookup failure under Clang LTO (Yonghong Song)
      
         - Clarify documentation for CONFIG_UBSAN_TRAP (Jann Horn)
      
         - Flexible array member conversion not carried in other tree (Gustavo
           A. R. Silva)
      
         - Various strlcpy() and strncpy() removals not carried in other trees
           (Azeem Shaikh, Justin Stitt)
      
         - Convert nsproxy.count to refcount_t (Elena Reshetova)
      
         - Add handful of __counted_by annotations not carried in other trees,
           as well as an LKDTM test
      
         - Fix build failure with gcc-plugins on GCC 14+
      
         - Fix selftests to respect SKIP for signal-delivery tests
      
         - Fix CFI warning for paravirt callback prototype
      
         - Clarify documentation for seq_show_option_n() usage"
      
      * tag 'hardening-v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: (23 commits)
        LoadPin: Annotate struct dm_verity_loadpin_trusted_root_digest with __counted_by
        kallsyms: Change func signature for cleanup_symbol_name()
        kallsyms: Fix kallsyms_selftest failure
        nsproxy: Convert nsproxy.count to refcount_t
        integrity: Annotate struct ima_rule_opt_list with __counted_by
        lkdtm: Add FAM_BOUNDS test for __counted_by
        Compiler Attributes: counted_by: Adjust name and identifier expansion
        um: refactor deprecated strncpy to memcpy
        um: vector: refactor deprecated strncpy
        alpha: Replace one-element array with flexible-array member
        hardening: Move BUG_ON_DATA_CORRUPTION to hardening options
        list: Introduce CONFIG_LIST_HARDENED
        list_debug: Introduce inline wrappers for debug checks
        compiler_types: Introduce the Clang __preserve_most function attribute
        gcc-plugins: Rename last_stmt() for GCC 14+
        selftests/harness: Actually report SKIP for signal tests
        x86/paravirt: Fix tlb_remove_table function callback prototype warning
        EISA: Replace all non-returning strlcpy with strscpy
        perf: Replace strlcpy with strscpy
        um: Remove strlcpy declaration
        ...
      727dbda1
    • Linus Torvalds's avatar
      Merge tag 'seccomp-v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · b03a4342
      Linus Torvalds authored
      Pull seccomp updates from Kees Cook:
      
       - Provide USER_NOTIFY flag for synchronous mode (Andrei Vagin, Peter
         Oskolkov). This touches the scheduler and perf but has been Acked by
         Peter Zijlstra.
      
       - Fix regression in syscall skipping and restart tracing on arm32. This
         touches arch/arm/ but has been Acked by Arnd Bergmann.
      
      * tag 'seccomp-v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        seccomp: Add missing kerndoc notations
        ARM: ptrace: Restore syscall skipping for tracers
        ARM: ptrace: Restore syscall restart tracing
        selftests/seccomp: Handle arm32 corner cases better
        perf/benchmark: add a new benchmark for seccom_unotify
        selftest/seccomp: add a new test for the sync mode of seccomp_user_notify
        seccomp: add the synchronous mode for seccomp_unotify
        sched: add a few helpers to wake up tasks on the current cpu
        sched: add WF_CURRENT_CPU and externise ttwu
        seccomp: don't use semaphore and wait_queue together
      b03a4342
    • Linus Torvalds's avatar
      Merge tag 'pstore-v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 5b07aaca
      Linus Torvalds authored
      Pull pstore updates from Kees Cook:
      
       - Greatly simplify compression support (Ard Biesheuvel)
      
       - Avoid crashes for corrupted offsets when prz size is 0 (Enlin Mu)
      
       - Expand range of usable record sizes (Yuxiao Zhang)
      
       - Fix kernel-doc warning (Matthew Wilcox)
      
      * tag 'pstore-v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        pstore: Fix kernel-doc warning
        pstore: Support record sizes larger than kmalloc() limit
        pstore/ram: Check start of empty przs during init
        pstore: Replace crypto API compression with zlib_deflate library calls
        pstore: Remove worst-case compression size logic
      5b07aaca
    • Linus Torvalds's avatar
      Merge tag 'for-6.6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 547635c6
      Linus Torvalds authored
      Pull btrfs updates from David Sterba:
       "No new features, the bulk of the changes are fixes, refactoring and
        cleanups. The notable fix is the scrub performance restoration after
        rewrite in 6.4, though still only partial.
      
        Fixes:
      
         - scrub performance drop due to rewrite in 6.4 partially restored:
            - do IO grouping by blg_plug/blk_unplug again
            - avoid unnecessary tree searches when processing stripes, in
              extent and checksum trees
            - the drop is noticeable on fast PCIe devices, -66% and restored
              to -33% of the original
            - backports to 6.4 planned
      
         - handle more corner cases of transaction commit during orphan
           cleanup or delayed ref processing
      
         - use correct fsid/metadata_uuid when validating super block
      
         - copy directory permissions and time when creating a stub subvolume
      
        Core:
      
         - debugging feature integrity checker deprecated, to be removed in
           6.7
      
         - in zoned mode, zones are activated just before the write, making
           error handling easier, now the overcommit mechanism can be enabled
           again which improves performance by avoiding more frequent flushing
      
         - v0 extent handling completely removed, deprecated long time ago
      
         - error handling improvements
      
         - tests:
            - extent buffer bitmap tests
            - pinned extent splitting tests
      
         - cleanups and refactoring:
            - compression writeback
            - extent buffer bitmap
            - space flushing, ENOSPC handling"
      
      * tag 'for-6.6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux: (110 commits)
        btrfs: zoned: skip splitting and logical rewriting on pre-alloc write
        btrfs: tests: test invalid splitting when skipping pinned drop extent_map
        btrfs: tests: add a test for btrfs_add_extent_mapping
        btrfs: tests: add extent_map tests for dropping with odd layouts
        btrfs: scrub: move write back of repaired sectors to scrub_stripe_read_repair_worker()
        btrfs: scrub: don't go ordered workqueue for dev-replace
        btrfs: scrub: fix grouping of read IO
        btrfs: scrub: avoid unnecessary csum tree search preparing stripes
        btrfs: scrub: avoid unnecessary extent tree search preparing stripes
        btrfs: copy dir permission and time when creating a stub subvolume
        btrfs: remove pointless empty list check when reading delayed dir indexes
        btrfs: drop redundant check to use fs_devices::metadata_uuid
        btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super
        btrfs: use the correct superblock to compare fsid in btrfs_validate_super
        btrfs: simplify memcpy either of metadata_uuid or fsid
        btrfs: add a helper to read the superblock metadata_uuid
        btrfs: remove v0 extent handling
        btrfs: output extra debug info if we failed to find an inline backref
        btrfs: move the !zoned assert into run_delalloc_cow
        btrfs: consolidate the error handling in run_delalloc_nocow
        ...
      547635c6
    • Linus Torvalds's avatar
      Merge tag 'affs-for-6.6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · f678c890
      Linus Torvalds authored
      Pull affs updates from David Sterba:
       "Two minor updates for AFFS:
      
         - reimplement writepage() address space callback on top of
           migrate_folio()
      
         - fix a build warning, local parameters 'toupper' collide with the
           standard ctype.h name"
      
      * tag 'affs-for-6.6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        affs: rename local toupper() to fn() to avoid confusion
        affs: remove writepage implementation
      f678c890
    • Linus Torvalds's avatar
      Merge tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linux · 3bb156a5
      Linus Torvalds authored
      Pull fsverity updates from Eric Biggers:
       "Several cleanups for fs/verity/, including two commits that make the
        builtin signature support more cleanly separated from the base
        feature"
      
      * tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linux:
        fsverity: skip PKCS#7 parser when keyring is empty
        fsverity: move sysctl registration out of signature.c
        fsverity: simplify handling of errors during initcall
        fsverity: explicitly check that there is no algorithm 0
      3bb156a5
    • Linus Torvalds's avatar
      Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linux · cc0a38d0
      Linus Torvalds authored
      Pull fscrypt update from Eric Biggers:
       "Just a small documentation improvement"
      
      * tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linux:
        fscrypt: improve the "Encryption modes and usage" section
      cc0a38d0