1. 11 Dec, 2021 29 commits
  2. 10 Dec, 2021 11 commits
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 9e65da13
      Linus Torvalds authored
      Pull ACPI fix from Rafael Wysocki:
       "Create the output directory for the ACPI tools during build if it has
        not been present before and prevent the compilation from failing in
        that case (Chen Yu)"
      
      * tag 'acpi-5.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: tools: Fix compilation when output directory is not present
      9e65da13
    • Linus Torvalds's avatar
      Merge tag 'pm-5.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · d46bca63
      Linus Torvalds authored
      Pull power management fix from Rafael Wysocki:
       "Fix a kernedoc comment that doesn't match the behavior of the function
        documented by it"
      
      * tag 'pm-5.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        PM: runtime: Fix pm_runtime_active() kerneldoc comment
      d46bca63
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-v5.16-rc5' of... · 1e050cd5
      Linus Torvalds authored
      Merge tag 'hwmon-for-v5.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      Pull hwmon fixes from Guenter Roeck:
      
       - In the pwm-fan driver, ensure that the internal pwm state matches the
         state assumed by the pwm code.
      
       - Avoid EREMOTEIO errors in sht4 driver
      
       - In the nct6775 driver, make it explicit that the register value
         passed to nct6775_asuswmi_read() is an 8-bit value
      
       - Avoid WARNing in dell-smm driver removal after failing to create
         /proc/i8k
      
       - Stop using a plain integer as NULL pointer in corsair-psu driver
      
      * tag 'hwmon-for-v5.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (pwm-fan) Ensure the fan going on in .probe()
        hwmon: (sht4x) Fix EREMOTEIO errors
        hwmon: (nct6775) mask out bank number in nct6775_wmi_read_value()
        hwmon: (dell-smm) Fix warning on /proc/i8k creation error
        hwmon: (corsair-psu) fix plain integer used as NULL pointer
      1e050cd5
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.16-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 257dcf29
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
       "Tracing, ftrace and tracefs fixes:
      
         - Have tracefs honor the gid mount option
      
         - Have new files in tracefs inherit the parent ownership
      
         - Have direct_ops unregister when it has no more functions
      
         - Properly clean up the ops when unregistering multi direct ops
      
         - Add a sample module to test the multiple direct ops
      
         - Fix memory leak in error path of __create_synth_event()"
      
      * tag 'trace-v5.16-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing: Fix possible memory leak in __create_synth_event() error path
        ftrace/samples: Add module to test multi direct modify interface
        ftrace: Add cleanup to unregister_ftrace_direct_multi
        ftrace: Use direct_ops hash in unregister_ftrace_direct
        tracefs: Set all files to the same group ownership as the mount option
        tracefs: Have new files inherit the ownership of their parent
      257dcf29
    • Linus Torvalds's avatar
      Merge tag 'aio-poll-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux · 0d21e668
      Linus Torvalds authored
      Pull aio poll fixes from Eric Biggers:
       "Fix three bugs in aio poll, and one issue with POLLFREE more broadly:
      
         - aio poll didn't handle POLLFREE, causing a use-after-free.
      
         - aio poll could block while the file is ready.
      
         - aio poll called eventfd_signal() when it isn't allowed.
      
         - POLLFREE didn't handle multiple exclusive waiters correctly.
      
        This has been tested with the libaio test suite, as well as with test
        programs I wrote that reproduce the first two bugs. I am sending this
        pull request myself as no one seems to be maintaining this code"
      
      * tag 'aio-poll-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux:
        aio: Fix incorrect usage of eventfd_signal_allowed()
        aio: fix use-after-free due to missing POLLFREE handling
        aio: keep poll requests on waitqueue until completed
        signalfd: use wake_up_pollfree()
        binder: use wake_up_pollfree()
        wait: add wake_up_pollfree()
      0d21e668
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · b9172f9e
      Linus Torvalds authored
      Pull kvm fixes from Paolo Bonzini:
       "More x86 fixes:
      
         - Logic bugs in CR0 writes and Hyper-V hypercalls
      
         - Don't use Enlightened MSR Bitmap for L3
      
         - Remove user-triggerable WARN
      
        Plus a few selftest fixes and a regression test for the
        user-triggerable WARN"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        selftests: KVM: Add test to verify KVM doesn't explode on "bad" I/O
        KVM: x86: Don't WARN if userspace mucks with RCX during string I/O exit
        KVM: X86: Raise #GP when clearing CR0_PG in 64 bit mode
        selftests: KVM: avoid failures due to reserved HyperTransport region
        KVM: x86: Ignore sparse banks size for an "all CPUs", non-sparse IPI req
        KVM: x86: Wait for IPIs to be delivered when handling Hyper-V TLB flush hypercall
        KVM: x86: selftests: svm_int_ctl_test: fix intercept calculation
        KVM: nVMX: Don't use Enlightened MSR Bitmap for L3
      b9172f9e
    • Chris Packham's avatar
      i2c: mpc: Use atomic read and fix break condition · a74c313a
      Chris Packham authored
      Maxime points out that the polling code in mpc_i2c_isr should use the
      _atomic API because it is called in an irq context and that the
      behaviour of the MCF bit is that it is 1 when the byte transfer is
      complete. All of this means the original code was effectively a
      udelay(100).
      
      Fix this by using readb_poll_timeout_atomic() and removing the negation
      of the break condition.
      
      Fixes: 4a8ac5e4 ("i2c: mpc: Poll for MCF")
      Reported-by: default avatarMaxime Bizon <mbizon@freebox.fr>
      Signed-off-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
      Tested-by: default avatarMaxime Bizon <mbizon@freebox.fr>
      Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
      a74c313a
    • Linus Torvalds's avatar
      Merge tag 'pci-v5.16-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · b8a98b6b
      Linus Torvalds authored
      Pull PCI fixes from Bjorn Helgaas:
      
       - Revert emulation of Marvell Armada A3720 expansion ROM because it
         doesn't work as expected (Marek Behún)
      
       - Assert PERST# in Apple M1 driver to fix initialization when booting
         from bootloaders using PCIe, such as U-Boot (Marc Zyngier)
      
       - Describe PERST# as active low in Apple T8103 DT and update driver to
         match (Marc Zyngier)
      
      * tag 'pci-v5.16-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        PCI: apple: Fix PERST# polarity
        arm64: dts: apple: t8103: Mark PCIe PERST# polarity active low in DT
        PCI: apple: Follow the PCIe specifications when resetting the port
        Revert "PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge"
      b8a98b6b
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 2ca4b651
      Linus Torvalds authored
      Pull MMC host fixes from Ulf Hansson:
      
       - mtk-sd: Fix memory leak during tuning
      
       - renesas_sdhi: Initialize variable properly when tuning
      
      * tag 'mmc-v5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: mediatek: free the ext_csd when mmc_get_ext_csd success
        mmc: renesas_sdhi: initialize variable properly when tuning
      2ca4b651
    • Linus Torvalds's avatar
      Merge tag 'libata-5.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata · bec8cb26
      Linus Torvalds authored
      Pull libata fixes from Damien Le Moal:
      
       - Fix a sparse warning in the ahci_ceva driver (me)
      
       - Disable the ASMedia 1092 non-functional device (Hannes)
      
      * tag 'libata-5.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata:
        libata: add horkage for ASMedia 1092
        ata: ahci_ceva: Fix id array access in ceva_ahci_read_id()
      bec8cb26
    • Linus Torvalds's avatar
      Merge tag 'sound-5.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 5b46fb03
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Another collection of small fixes. It's still not quite calm yet, but
        nothing looks scary.
      
        ALSA core got a few fixes for covering the issues detected by fuzzer
        and the 32bit compat problem of control API, while the rest are all
        device-specific small fixes, including the continued fixes for Tegra"
      
      * tag 'sound-5.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (23 commits)
        ALSA: hda/realtek - Add headset Mic support for Lenovo ALC897 platform
        ALSA: usb-audio: Reorder snd_djm_devices[] entries
        ALSA: hda/realtek: Fix quirk for TongFang PHxTxX1
        ALSA: ctl: Fix copy of updated id with element read/write
        ALSA: pcm: oss: Handle missing errors in snd_pcm_oss_change_params*()
        ALSA: pcm: oss: Limit the period size to 16MB
        ALSA: pcm: oss: Fix negative period/buffer sizes
        ASoC: codecs: wsa881x: fix return values from kcontrol put
        ASoC: codecs: wcd934x: return correct value from mixer put
        ASoC: codecs: wcd934x: handle channel mappping list correctly
        ASoC: qdsp6: q6routing: Fix return value from msm_routing_put_audio_mixer
        ASoC: SOF: Intel: Retry codec probing if it fails
        ASoC: amd: fix uninitialized variable in snd_acp6x_probe()
        ASoC: rockchip: i2s_tdm: Dup static DAI template
        ASoC: rt5682s: Fix crash due to out of scope stack vars
        ASoC: rt5682: Fix crash due to out of scope stack vars
        ASoC: tegra: Use normal system sleep for ADX
        ASoC: tegra: Use normal system sleep for AMX
        ASoC: tegra: Use normal system sleep for Mixer
        ASoC: tegra: Use normal system sleep for MVC
        ...
      5b46fb03