Skip to content
  1. Jan 22, 2022
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-5.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 0809edba
      Linus Torvalds authored
      Pull devicetree fixes and cleanups from Rob Herring:
      
       - Fix a regression when probing a child device reusing the parent
         device's DT node pointer
      
       - Refactor of_parse_phandle*() variants to static inlines
      
       - Drop Enric Balletbo i Serra as a maintainer
      
       - Fix DT schemas with arrays incorrectly encoded as a matrix
      
       - Drop unneeded pinctrl properties from schemas
      
       - Add SPI peripheral schema to SPI based displays
      
       - Clean-up several schema examples
      
       - Clean-up trivial-devices.yaml comments
      
       - Add missing, in use vendor prefixes: Wingtech, Thundercomm, Huawei,
         F(x)tec, 8devices
      
      * tag 'devicetree-fixes-for-5.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        dt-bindings: google,cros-ec: drop Enric Balletbo i Serra from maintainers
        dt-bindings: display: bridge: drop Enric Balletbo i Serra from maintainers
        of: Check 'of_node_reused' flag on of_match_device()
        of: property: define of_property_read_u{8,16,32,64}_array() unconditionally
        of: base: make small of_parse_phandle() variants static inline
        dt-bindings: mfd: cirrus,madera: Fix 'interrupts' in example
        dt-bindings: Fix array schemas encoded as matrices
        dt-bindings: Drop unnecessary pinctrl properties
        dt-bindings: rtc: st,stm32-rtc: Make each example a separate entry
        dt-bindings: mmc: arm,pl18x: Make each example a separate entry
        dt-bindings: display: Add SPI peripheral schema to SPI based displays
        scripts/dtc: dtx_diff: remove broken example from help text
        dt-bindings: trivial-devices: fix double spaces in comments
        dt-bindings: trivial-devices: fix swapped comments
        dt-bindings: vendor-prefixes: add Wingtech
        dt-bindings: vendor-prefixes: add Thundercomm
        dt-bindings: vendor-prefixes: add Huawei
        dt-bindings: vendor-prefixes: add F(x)tec
        dt-bindings: vendor-prefixes: add 8devices
        dt-bindings: power: reset: gpio-restart: Correct default priority
      0809edba
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 636b5284
      Linus Torvalds authored
      Pull more kvm updates from Paolo Bonzini:
       "Generic:
      
         - selftest compilation fix for non-x86
      
         - KVM: avoid warning on s390 in mark_page_dirty
      
       x86:
      
         - fix page write-protection bug and improve comments
      
         - use binary search to lookup the PMU event filter, add test
      
         - enable_pmu module parameter support for Intel CPUs
      
         - switch blocked_vcpu_on_cpu_lock to raw spinlock
      
         - cleanups of blocked vCPU logic
      
         - partially allow KVM_SET_CPUID{,2} after KVM_RUN (5.16 regression)
      
         - various small fixes"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (46 commits)
        docs: kvm: fix WARNINGs from api.rst
        selftests: kvm/x86: Fix the warning in lib/x86_64/processor.c
        selftests: kvm/x86: Fix the warning in pmu_event_filter_test.c
        kvm: selftests: Do not indent with spaces
        kvm: selftests: sync uapi/linux/kvm.h with Linux header
        selftests: kvm: add amx_test to .gitignore
        KVM: SVM: Nullify vcpu_(un)blocking() hooks if AVIC is disabled
        KVM: SVM: Move svm_hardware_setup() and its helpers below svm_x86_ops
        KVM: SVM: Drop AVIC's intermediate avic_set_running() helper
        KVM: VMX: Don't do full kick when handling posted interrupt wakeup
        KVM: VMX: Fold fallback path into triggering posted IRQ helper
        KVM: VMX: Pass desired vector instead of bool for triggering posted IRQ
        KVM: VMX: Don't do full kick when triggering posted interrupt "fails"
        KVM: SVM: Skip AVIC and IRTE updates when loading blocking vCPU
        KVM: SVM: Use kvm_vcpu_is_blocking() in AVIC load to handle preemption
        KVM: SVM: Remove unnecessary APICv/AVIC update in vCPU unblocking path
        KVM: SVM: Don't bother checking for "running" AVIC when kicking for IPIs
        KVM: SVM: Signal AVIC doorbell iff vCPU is in guest mode
        KVM: x86: Remove defunct pre_block/post_block kvm_x86_ops hooks
        KVM: x86: Unexport LAPIC's switch_to_{hv,sw}_timer() helpers
        ...
      636b5284
    • Linus Torvalds's avatar
      Merge tag 'for-5.17/parisc-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · dc5341f4
      Linus Torvalds authored
      Pull more parisc architecture updates from Helge Deller:
       "Fixes and enhancements:
      
         - a memory leak fix in an error path in pdc_stable (Miaoqian Lin)
      
         - two compiler warning fixes in the TOC code
      
         - added autodetection for currently used console type (serial or
           graphics) which inserts console=<type> if it's missing"
      
      * tag 'for-5.17/parisc-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: pdc_stable: Fix memory leak in pdcs_register_pathentries
        parisc: Fix missing prototype for 'toc_intr' warning in toc.c
        parisc: Autodetect default output device and set console= kernel parameter
        parisc: Use safer strscpy() in setup_cmdline()
        parisc: Add visible flag to toc_stack variable
      dc5341f4
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.17-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 7867e402
      Linus Torvalds authored
      Pull more RISC-V updates from Palmer Dabbelt:
      
       - Support for sv48 paging
      
       - Hart ID mappings are now sparse, which enables more CPUs to come up
         on systems with sparse hart IDs
      
       - A handful of cleanups and fixes
      
      * tag 'riscv-for-linus-5.17-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: (27 commits)
        RISC-V: nommu_virt: Drop unused SLAB_MERGE_DEFAULT
        RISC-V: Remove redundant err variable
        riscv: dts: sifive unmatched: Add gpio poweroff
        riscv: canaan: remove useless select of non-existing config SYSCON
        RISC-V: Do not use cpumask data structure for hartid bitmap
        RISC-V: Move spinwait booting method to its own config
        RISC-V: Move the entire hart selection via lottery to SMP
        RISC-V: Use __cpu_up_stack/task_pointer only for spinwait method
        RISC-V: Do not print the SBI version during HSM extension boot print
        RISC-V: Avoid using per cpu array for ordered booting
        riscv: default to CONFIG_RISCV_SBI_V01=n
        riscv: fix boolconv.cocci warnings
        riscv: Explicit comment about user virtual address space size
        riscv: Use pgtable_l4_enabled to output mmu_type in cpuinfo
        riscv: Implement sv48 support
        asm-generic: Prepare for riscv use of pud_alloc_one and pud_free
        riscv: Allow to dynamically define VA_BITS
        riscv: Introduce functions to switch pt_ops
        riscv: Split early kasan mapping to prepare sv48 introduction
        riscv: Move KASAN mapping next to the kernel mapping
        ...
      7867e402
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · b21bae9a
      Linus Torvalds authored
      Pull arm64 fixes/cleanups from Catalin Marinas:
       "Some fixes that turned up during the merge window:
      
         - Add brackets to the io_stop_wc macro
      
         - Avoid -Warray-bounds warning with the LSE atomics inline asm
      
         - Apply __ro_after_init to memory_limit"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: mm: apply __ro_after_init to memory_limit
        arm64: atomics: lse: Dereference matching size
        asm-generic: Add missing brackets for io_stop_wc macro
      b21bae9a
    • Linus Torvalds's avatar
      Merge tag 'docs-5.17-2' of git://git.lwn.net/linux · 0854dc81
      Linus Torvalds authored
      Pull documentation fixes from Jonathan Corbet:
       "Three small documentation fixes"
      
      * tag 'docs-5.17-2' of git://git.lwn.net/linux:
        Documentation: fix firewire.rst ABI file path error
        docs: ftrace: fix ambiguous sentence
        docs: staging/tee.rst: fix two typos found while reading
      0854dc81
    • Miaoqian Lin's avatar
      parisc: pdc_stable: Fix memory leak in pdcs_register_pathentries · d24846a4
      Miaoqian Lin authored
      kobject_init_and_add() takes reference even when it fails.
      According to the doc of kobject_init_and_add():
      
         If this function returns an error, kobject_put() must be called to
         properly clean up the memory associated with the object.
      
      Fix memory leak by calling kobject_put().
      
      Fixes: 73f368cf
      
       ("Kobject: change drivers/parisc/pdc_stable.c to use kobject_init_and_add")
      Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      d24846a4
  2. Jan 21, 2022