1. 22 Dec, 2020 9 commits
    • Linus Torvalds's avatar
      Merge tag 'for-5.11/dm-changes' of... · d8355e74
      Linus Torvalds authored
      Merge tag 'for-5.11/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper updates from Mike Snitzer:
      
       - Add DM verity support for signature verification with 2nd keyring
      
       - Fix DM verity to skip verity work if IO completes with error while
         system is shutting down
      
       - Add new DM multipath "IO affinity" path selector that maps IO
         destined to a given path to a specific CPU based on user provided
         mapping
      
       - Rename DM multipath path selector source files to have "dm-ps" prefix
      
       - Add REQ_NOWAIT support to some other simple DM targets that don't
         block in more elaborate ways waiting for IO
      
       - Export DM crypt's kcryptd workqueue via sysfs (WQ_SYSFS)
      
       - Fix error return code in DM's target_message() if empty message is
         received
      
       - A handful of other small cleanups
      
      * tag 'for-5.11/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        dm cache: simplify the return expression of load_mapping()
        dm ebs: avoid double unlikely() notation when using IS_ERR()
        dm verity: skip verity work if I/O error when system is shutting down
        dm crypt: export sysfs of kcryptd workqueue
        dm ioctl: fix error return code in target_message
        dm crypt: Constify static crypt_iv_operations
        dm: add support for REQ_NOWAIT to various targets
        dm: rename multipath path selector source files to have "dm-ps" prefix
        dm mpath: add IO affinity path selector
        dm verity: Add support for signature verification with 2nd keyring
        dm: remove unnecessary current->bio_list check when submitting split bio
      d8355e74
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-v5.11-take2' of... · 4e31dcc0
      Linus Torvalds authored
      Merge tag 'hwmon-for-v5.11-take2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      Pull another hwmon update from Guenter Roeck:
       "The only patch in this series is removal of voltage and current
        reporting for AMD Zen CPUs.
      
        Turns out that was not worth the trouble, because it's all
        undocumented and not maintainable"
      
      * tag 'hwmon-for-v5.11-take2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (k10temp) Remove support for displaying voltage and current on Zen CPUs
      4e31dcc0
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-5.11' of git://git.infradead.org/users/hch/dma-mapping · 347d81b6
      Linus Torvalds authored
      Pull dma-mapping updates from Christoph Hellwig:
      
       - support for a partial IOMMU bypass (Alexey Kardashevskiy)
      
       - add a DMA API benchmark (Barry Song)
      
       - misc fixes (Tiezhu Yang, tangjianqiang)
      
      * tag 'dma-mapping-5.11' of git://git.infradead.org/users/hch/dma-mapping:
        selftests/dma: add test application for DMA_MAP_BENCHMARK
        dma-mapping: add benchmark support for streaming DMA APIs
        dma-contiguous: fix a typo error in a comment
        dma-pool: no need to check return value of debugfs_create functions
        powerpc/dma: Fallback to dma_ops when persistent memory present
        dma-mapping: Allow mixing bypass and mapped DMA operation
      347d81b6
    • Linus Torvalds's avatar
      Merge tag 'configfs-5.11' of git://git.infradead.org/users/hch/configfs · 4f06f210
      Linus Torvalds authored
      Pull configfs update from Christoph Hellwig:
       "Fix a kerneldoc comment (Alex Shi)"
      
      * tag 'configfs-5.11' of git://git.infradead.org/users/hch/configfs:
        configfs: fix kernel-doc markup issue
      4f06f210
    • Linus Torvalds's avatar
      Merge tag 'exfat-for-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat · e9e541ec
      Linus Torvalds authored
      Pull exfat update from Namjae Jeon:
       "Avoid page allocation failure from upcase table allocation"
      
      * tag 'exfat-for-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
        exfat: Avoid allocating upcase table using kcalloc()
      e9e541ec
    • Andi Kleen's avatar
      x86/split-lock: Avoid returning with interrupts enabled · e14fd4ba
      Andi Kleen authored
      When a split lock is detected always make sure to disable interrupts
      before returning from the trap handler.
      
      The kernel exit code assumes that all exits run with interrupts
      disabled, otherwise the SWAPGS sequence can race against interrupts and
      cause recursing page faults and later panics.
      
      The problem will only happen on CPUs with split lock disable
      functionality, so Icelake Server, Tiger Lake, Snow Ridge, Jacobsville.
      
      Fixes: ca4c6a98 ("x86/traps: Make interrupt enable/disable symmetric in C code")
      Fixes: bce9b042 ("x86/traps: Disable interrupts in exc_aligment_check()") # v5.8+
      Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Cc: Tony Luck <tony.luck@intel.com>
      Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e14fd4ba
    • Guenter Roeck's avatar
      hwmon: (k10temp) Remove support for displaying voltage and current on Zen CPUs · 0a4e668b
      Guenter Roeck authored
      Voltages and current are reported by Zen CPUs. However, the means
      to do so is undocumented, changes from CPU to CPU, and the raw data
      is not calibrated. Calibration information is available, but again
      not documented. This results in less than perfect user experience,
      up to concerns that loading the driver might possibly damage
      the hardware (by reporting out-of range voltages). Effectively
      support for reporting voltages and current is not maintainable.
      Drop it.
      
      Cc: Artem S. Tashkinov <aros@gmx.com>
      Cc: Wei Huang <wei.huang2@amd.com>
      Tested-by: default avatarWei Huang <wei.huang2@amd.com>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      0a4e668b
    • Zheng Yongjun's avatar
      dm cache: simplify the return expression of load_mapping() · b7770923
      Zheng Yongjun authored
      Simplify the return expression.
      Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
      Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
      b7770923
    • Artem Labazov's avatar
      exfat: Avoid allocating upcase table using kcalloc() · 9eb78c25
      Artem Labazov authored
      The table for Unicode upcase conversion requires an order-5 allocation,
      which may fail on a highly-fragmented system:
      
       pool-udisksd: page allocation failure: order:5,
       mode:0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), nodemask=(null),
       cpuset=/,mems_allowed=0
       CPU: 4 PID: 3756880 Comm: pool-udisksd Tainted: G U
       5.8.10-200.fc32.x86_64 #1
       Hardware name: Dell Inc. XPS 13 9360/0PVG6D, BIOS 2.13.0 11/14/2019
       Call Trace:
        dump_stack+0x6b/0x88
        warn_alloc.cold+0x75/0xd9
        ? _cond_resched+0x16/0x40
        ? __alloc_pages_direct_compact+0x144/0x150
        __alloc_pages_slowpath.constprop.0+0xcfa/0xd30
        ? __schedule+0x28a/0x840
        ? __wait_on_bit_lock+0x92/0xa0
        __alloc_pages_nodemask+0x2df/0x320
        kmalloc_order+0x1b/0x80
        kmalloc_order_trace+0x1d/0xa0
        exfat_create_upcase_table+0x115/0x390 [exfat]
        exfat_fill_super+0x3ef/0x7f0 [exfat]
        ? sget_fc+0x1d0/0x240
        ? exfat_init_fs_context+0x120/0x120 [exfat]
        get_tree_bdev+0x15c/0x250
        vfs_get_tree+0x25/0xb0
        do_mount+0x7c3/0xaf0
        ? copy_mount_options+0xab/0x180
        __x64_sys_mount+0x8e/0xd0
        do_syscall_64+0x4d/0x90
        entry_SYSCALL_64_after_hwframe+0x44/0xa9
      
      Make the driver use kvcalloc() to eliminate the issue.
      
      Fixes: 370e812b ("exfat: add nls operations")
      Cc: stable@vger.kernel.org #v5.7+
      Signed-off-by: default avatarArtem Labazov <123321artyom@gmail.com>
      Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
      9eb78c25
  2. 21 Dec, 2020 10 commits
    • Antonio Quartulli's avatar
      dm ebs: avoid double unlikely() notation when using IS_ERR() · 52252ade
      Antonio Quartulli authored
      The definition of IS_ERR() already applies the unlikely() notation
      when checking the error status of the passed pointer. For this
      reason there is no need to have the same notation outside of
      IS_ERR() itself.
      
      Clean up code by removing redundant notation.
      Signed-off-by: default avatarAntonio Quartulli <a@unstable.cc>
      Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
      52252ade
    • Hyeongseok Kim's avatar
      dm verity: skip verity work if I/O error when system is shutting down · 252bd125
      Hyeongseok Kim authored
      If emergency system shutdown is called, like by thermal shutdown,
      a dm device could be alive when the block device couldn't process
      I/O requests anymore. In this state, the handling of I/O errors
      by new dm I/O requests or by those already in-flight can lead to
      a verity corruption state, which is a misjudgment.
      
      So, skip verity work in response to I/O error when system is shutting
      down.
      Signed-off-by: default avatarHyeongseok Kim <hyeongseok@gmail.com>
      Reviewed-by: default avatarSami Tolvanen <samitolvanen@google.com>
      Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
      252bd125
    • Linus Torvalds's avatar
      Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 8653b778
      Linus Torvalds authored
      Pull clk updates from Stephen Boyd:
       "The core framework got some nice improvements this time around. We
        gained the ability to get struct clk pointers from a struct clk_hw so
        that clk providers can consume the clks they provide, if they need to
        do something like that. This has been a long missing part of the clk
        provider API that will help us move away from exposing a struct clk
        pointer in the struct clk_hw. Tracepoints are added for the
        clk_set_rate() "range" functions, similar to the tracepoints we
        already have for clk_set_rate() and we added a column to debugfs to
        help developers understand the hardware enable state of clks in case
        firmware or bootloader state is different than what is expected.
        Overall the core changes are mostly improving the clk driver writing
        experience.
      
        At the driver level, we have the usual collection of driver updates
        and new drivers for new SoCs. This time around the Qualcomm folks
        introduced a good handful of clk drivers for various parts of three or
        four SoCs. The SiFive folks added a new clk driver for their FU740
        SoCs, coming in second on the diffstat and then Atmel AT91 and Amlogic
        SoCs had lots of work done after that for various new features. One
        last thing to note in the driver area is that the i.MX driver has
        gained a new binding to support SCU clks after being on the list for
        many months. It uses a two cell binding which is sort of rare in clk
        DT bindings. Beyond that we have the usual set of driver fixes and
        tweaks that come from more testing and finding out that some
        configuration was wrong or that a driver could support being built as
        a module.
      
        Summary:
      
        Core:
         - Add some trace points for clk_set_rate() "range" functions
         - Add hardware enable information to clk_summary debugfs
         - Replace clk-provider.h with of_clk.h when possible
         - Add devm variant of clk_notifier_register()
         - Add clk_hw_get_clk() to generate a struct clk from a struct clk_hw
      
        New Drivers:
         - Bindings for Canaan K210 SoC clks
         - Support for SiFive FU740 PRCI
         - Camera clks on Qualcomm SC7180 SoCs
         - GCC and RPMh clks on Qualcomm SDX55 SoCs
         - RPMh clks on Qualcomm SM8350 SoCs
         - LPASS clks on Qualcomm SM8250 SoCs
      
        Updates:
         - DVFS support for AT91 clk driver
         - Update git repo branch for Renesas clock drivers
         - Add camera (CSI) and video-in (VIN) clocks on Renesas R-Car V3U
         - Add RPC (QSPI/HyperFLASH) clocks on Renesas RZ/G2M, RZ/G2N, and RZ/G2E
         - Stop using __raw_*() I/O accessors in Renesas clk drivers
         - One more conversion of DT bindings to json-schema
         - Make i.MX clk-gate2 driver more flexible
         - New two cell binding for i.MX SCU clks
         - Drop of_match_ptr() in i.MX8 clk drivers
         - Add arch dependencies for Rockchip clk drivers
         - Fix i2s on Rockchip rk3066
         - Add MIPI DSI clks on Amlogic axg and g12 SoCs
         - Support modular builds of Amlogic clk drivers
         - Fix an Amlogic Video PLL clock dependency
         - Samsung Kconfig dependencies updates for better compile test coverage
         - Refactoring of the Samsung PLL clocks driver
         - Small Tegra driver cleanups
         - Minor fixes to Ingenic and VC5 clk drivers
         - Cleanup patches to remove unused variables and plug memory leaks"
      
      * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (134 commits)
        dt-binding: clock: Document canaan,k210-clk bindings
        dt-bindings: Add Canaan vendor prefix
        clk: vc5: Use "idt,voltage-microvolt" instead of "idt,voltage-microvolts"
        clk: ingenic: Fix divider calculation with div tables
        clk: sunxi-ng: Make sure divider tables have sentinel
        clk: s2mps11: Fix a resource leak in error handling paths in the probe function
        clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9
        clk: si5351: Wait for bit clear after PLL reset
        clk: at91: sam9x60: remove atmel,osc-bypass support
        clk: at91: sama7g5: register cpu clock
        clk: at91: clk-master: re-factor master clock
        clk: at91: sama7g5: do not allow cpu pll to go higher than 1GHz
        clk: at91: sama7g5: decrease lower limit for MCK0 rate
        clk: at91: sama7g5: remove mck0 from parent list of other clocks
        clk: at91: clk-sam9x60-pll: allow runtime changes for pll
        clk: at91: sama7g5: add 5th divisor for mck0 layout and characteristics
        clk: at91: clk-master: add 5th divisor for mck master
        clk: at91: sama7g5: allow SYS and CPU PLLs to be exported and referenced in DT
        dt-bindings: clock: at91: add sama7g5 pll defines
        clk: at91: sama7g5: fix compilation error
        ...
      8653b778
    • Linus Torvalds's avatar
      Merge tag 'm68knommu-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu · 8552d28e
      Linus Torvalds authored
      Pull m68knommu updates from Greg Ungerer:
      
       - cleanup of 68328 code
      
       - align BSS section to 32bit
      
      * tag 'm68knommu-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
        m68k: m68328: remove duplicate code
        m68k: m68328: move platform code to separate files
        m68knommu: align BSS section to 4-byte boundaries
      8552d28e
    • Linus Torvalds's avatar
      Merge tag '9p-for-5.11-rc1' of git://github.com/martinetd/linux · 70990afa
      Linus Torvalds authored
      Pull 9p update from Dominique Martinet:
      
       - fix long-standing limitation on open-unlink-fop pattern
      
       - add refcount to p9_fid (fixes the above and will allow for more
         cleanups and simplifications in the future)
      
      * tag '9p-for-5.11-rc1' of git://github.com/martinetd/linux:
        9p: Remove unnecessary IS_ERR() check
        9p: Uninitialized variable in v9fs_writeback_fid()
        9p: Fix writeback fid incorrectly being attached to dentry
        9p: apply review requests for fid refcounting
        9p: add refcount to p9_fid struct
        fs/9p: search open fids first
        fs/9p: track open fids
        fs/9p: fix create-unlink-getattr idiom
      70990afa
    • Stephen Boyd's avatar
      Merge branches 'clk-ingenic', 'clk-vc5', 'clk-cleanup', 'clk-canaan' and... · abe7e32f
      Stephen Boyd authored
      Merge branches 'clk-ingenic', 'clk-vc5', 'clk-cleanup', 'clk-canaan' and 'clk-marvell' into clk-next
      
       - Bindings for Canaan K210 SoC clks
      
      * clk-ingenic:
        clk: ingenic: Fix divider calculation with div tables
      
      * clk-vc5:
        clk: vc5: Use "idt,voltage-microvolt" instead of "idt,voltage-microvolts"
      
      * clk-cleanup:
        clk: sunxi-ng: Make sure divider tables have sentinel
        clk: s2mps11: Fix a resource leak in error handling paths in the probe function
        clk: bcm: dvp: Add MODULE_DEVICE_TABLE()
        clk: bcm: dvp: drop a variable that is assigned to only
      
      * clk-canaan:
        dt-binding: clock: Document canaan,k210-clk bindings
        dt-bindings: Add Canaan vendor prefix
      
      * clk-marvell:
        clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9
      abe7e32f
    • Stephen Boyd's avatar
      Merge branches 'clk-ti', 'clk-analog', 'clk-trace', 'clk-at91' and 'clk-silabs' into clk-next · b53a1603
      Stephen Boyd authored
       - Add some trace points for clk_set_rate() "range" functions
       - DVFS support for AT91 clk driver
      
      * clk-ti:
        clk: ti: omap5: Fix reboot DPLL lock failure when using ABE TIMERs
        clk: ti: Fix memleak in ti_fapll_synth_setup
      
      * clk-analog:
        clk: axi-clkgen: move the OF table at the bottom of the file
        clk: axi-clkgen: wrap limits in a struct and keep copy on the state object
        dt-bindings: clock: adi,axi-clkgen: convert old binding to yaml format
      
      * clk-trace:
        clk: Trace clk_set_rate() "range" functions
      
      * clk-at91:
        clk: at91: sam9x60: remove atmel,osc-bypass support
        clk: at91: sama7g5: register cpu clock
        clk: at91: clk-master: re-factor master clock
        clk: at91: sama7g5: do not allow cpu pll to go higher than 1GHz
        clk: at91: sama7g5: decrease lower limit for MCK0 rate
        clk: at91: sama7g5: remove mck0 from parent list of other clocks
        clk: at91: clk-sam9x60-pll: allow runtime changes for pll
        clk: at91: sama7g5: add 5th divisor for mck0 layout and characteristics
        clk: at91: clk-master: add 5th divisor for mck master
        clk: at91: sama7g5: allow SYS and CPU PLLs to be exported and referenced in DT
        dt-bindings: clock: at91: add sama7g5 pll defines
        clk: at91: sama7g5: fix compilation error
      
      * clk-silabs:
        clk: si5351: Wait for bit clear after PLL reset
      b53a1603
    • Stephen Boyd's avatar
      Merge branches 'clk-tegra', 'clk-imx', 'clk-sifive', 'clk-mediatek' and 'clk-summary' into clk-next · 699eda28
      Stephen Boyd authored
       - Support for SiFive FU740 PRCI
       - Add hardware enable information to clk_summary debugfs
      
      * clk-tegra:
        clk: tegra: Fix duplicated SE clock entry
        clk: tegra: bpmp: Clamp clock rates on requests
        clk: tegra: Do not return 0 on failure
      
      * clk-imx: (24 commits)
        clk: imx: scu: remove the calling of device_is_bound
        clk: imx: scu: Make pd_np with static keyword
        clk: imx8mq: drop of_match_ptr from of_device_id table
        clk: imx8mp: drop of_match_ptr from of_device_id table
        clk: imx8mn: drop of_match_ptr from of_device_id table
        clk: imx8mm: drop of_match_ptr from of_device_id table
        clk: imx: gate2: Remove unused variable ret
        clk: imx: gate2: Add locking in is_enabled op
        clk: imx: gate2: Add cgr_mask for more flexible number of control bits
        clk: imx: gate2: Check if clock is enabled against cgr_val
        clk: imx: gate2: Keep the register writing in on place
        clk: imx: gate2: Remove the IMX_CLK_GATE2_SINGLE_BIT special case
        clk: imx: scu: fix build break when compiled as modules
        clk: imx: remove redundant assignment to pointer np
        clk: imx: remove unneeded semicolon
        clk: imx: lpcg: add suspend/resume support
        clk: imx: clk-imx8qxp-lpcg: add runtime pm support
        clk: imx: lpcg: allow lpcg clk to take device pointer
        clk: imx: imx8qxp-lpcg: add parsing clocks from device tree
        clk: imx: scu: add suspend/resume support
        ...
      
      * clk-sifive:
        clk: sifive: Add clock enable and disable ops
        clk: sifive: Fix the wrong bit field shift
        clk: sifive: Add a driver for the SiFive FU740 PRCI IP block
        clk: sifive: Use common name for prci configuration
        clk: sifive: Extract prci core to common base
        dt-bindings: fu740: prci: add YAML documentation for the FU740 PRCI
      
      * clk-mediatek:
        clk: mediatek: Make mtk_clk_register_mux() a static function
      
      * clk-summary:
        clk: Add hardware-enable column to clk summary
      699eda28
    • Stephen Boyd's avatar
      Merge branches 'clk-amlogic', 'clk-rockchip', 'clk-of', 'clk-freescale' and... · d240d4c2
      Stephen Boyd authored
      Merge branches 'clk-amlogic', 'clk-rockchip', 'clk-of', 'clk-freescale' and 'clk-unused' into clk-next
      
       - Replace clk-provider.h with of_clk.h when possible
      
      * clk-amlogic:
        clk: meson: g12a: add MIPI DSI Host Pixel Clock
        dt-bindings: clk: g12a-clkc: add DSI Pixel clock bindings
        clk: meson: enable building as modules
        clk: meson: Kconfig: fix dependency for G12A
        clk: meson: axg: add MIPI DSI Host clock
        clk: meson: axg: add Video Clocks
        dt-bindings: clk: axg-clkc: add MIPI DSI Host clock binding
        dt-bindings: clk: axg-clkc: add Video Clocks
      
      * clk-rockchip:
        clk: rockchip: fix i2s gate bits on rk3066 and rk3188
        clk: rockchip: add CLK_SET_RATE_PARENT to sclk for rk3066a i2s and uart clocks
        clk: rockchip: Remove redundant null check before clk_prepare_enable
        clk: rockchip: Add appropriate arch dependencies
      
      * clk-of:
        xtensa: Replace <linux/clk-provider.h> by <linux/of_clk.h>
        sh: boards: Replace <linux/clk-provider.h> by <linux/of_clk.h>
      
      * clk-freescale:
        clk: fsl-flexspi: new driver
        dt-bindings: clock: document the fsl-flexspi-clk device
        clk: divider: add devm_clk_hw_register_divider_table()
        clk: qoriq: provide constants for the type
        clk: fsl-sai: use devm_clk_hw_register_composite_pdata()
        clk: composite: add devm_clk_hw_register_composite_pdata()
        clk: fsl-sai: fix memory leak
        clk: qoriq: Add platform dependencies
      
      * clk-unused:
        clk: scpi: mark scpi_clk_match as maybe unused
        clk: pwm: drop of_match_ptr from of_device_id table
      d240d4c2
    • Stephen Boyd's avatar
      Merge branches 'clk-doc', 'clk-qcom', 'clk-simplify', 'clk-hw', 'clk-renesas'... · 23cae54f
      Stephen Boyd authored
      Merge branches 'clk-doc', 'clk-qcom', 'clk-simplify', 'clk-hw', 'clk-renesas' and 'clk-samsung' into clk-next
      
       - Camera clks on Qualcomm SC7180 SoCs
       - GCC and RPMh clks on Qualcomm SDX55 SoCs
       - RPMh clks on Qualcomm SM8350 SoCs
       - LPASS clks on Qualcomm SM8250 SoCs
       - Add devm variant of clk_notifier_register()
       - Add clk_hw_get_clk() to generate a struct clk from a struct clk_hw
      
      * clk-doc:
        clk: fix a kernel-doc markup
      
      * clk-qcom: (27 commits)
        clk: qcom: rpmh: add support for SM8350 rpmh clocks
        dt-bindings: clock: Add RPMHCC bindings for SM8350
        clk: qcom: lpasscc: Introduce pm autosuspend for SC7180
        clk: qcom: gcc-sc7180: Add 50 MHz clock rate for SDC2
        clk: qcom: gcc-sc7180: Use floor ops for sdcc clks
        clk: qcom: Add GDSC support for SDX55 GCC
        dt-bindings: clock: Add GDSC in SDX55 GCC
        clk: qcom: Add support for SDX55 RPMh clocks
        dt-bindings: clock: Introduce RPMHCC bindings for SDX55
        clk: qcom: Add SDX55 GCC support
        dt-bindings: clock: Add SDX55 GCC clock bindings
        clk: qcom: Kconfig: Fix spelling mistake "dyanmic" -> "dynamic"
        clk: qcom: rpmh: Add CE clock on sdm845.
        dt-bindings: clock: Add entry for crypto engine RPMH clock resource
        clk: qcom: dispcc-sm8250: handle MMCX power domain
        clk: qcom: camcc-sc7180: Use runtime PM ops instead of clk ones
        clk: qcom: lpass-sc7180: Clean up on error in lpass_sc7180_init()
        clk: qcom: Add support to LPASS AON_CC Glitch Free Mux clocks
        clk: qcom: Add support to LPASS AUDIO_CC Glitch Free Mux clocks
        dt-bindings: clock: Add support for LPASS Always ON Controller
        ...
      
      * clk-simplify:
        clk: remove unneeded dead-store initialization
      
      * clk-hw:
        clk: meson: g12: use devm variant to register notifiers
        clk: add devm variant of clk_notifier_register
        clk: meson: g12: drop use of __clk_lookup()
        clk: add api to get clk consumer from clk_hw
        clk: avoid devm_clk_release name clash
      
      * clk-renesas:
        dt-bindings: clock: renesas: rcar-usb2-clock-sel: Convert bindings to json-schema
        clk: renesas: sh73a0: Stop using __raw_*() I/O accessors
        clk: renesas: r8a774c0: Add RPC clocks
        clk: renesas: r8a779a0: Fix R and OSC clocks
        clk: renesas: cpg-mssr: fix kerneldoc of cpg_mssr_priv
        clk: renesas: rcar-usb2-clock-sel: Replace devm_reset_control_array_get()
        clk: renesas: r8a774b1: Add RPC clocks
        clk: renesas: r8a774a1: Add RPC clocks
        clk: renesas: r8a779a0: Add VIN clocks
        clk: renesas: r8a779a0: Add CSI4[0-3] clocks
        MAINTAINERS: Update git repo for Renesas clock drivers
        clk: renesas: r8a779a0: Make rcar_r8a779a0_cpg_clk_register() static
        clk: renesas: rcar-gen3: Remove stp_ck handling for SDHI
      
      * clk-samsung:
        clk: samsung: Prevent potential endless loop in the PLL ops
        clk: samsung: Allow compile testing of Exynos, S3C64xx and S5Pv210
      23cae54f
  3. 20 Dec, 2020 11 commits
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.11-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux · e37b12e4
      Linus Torvalds authored
      Pull orangefs update from Mike Marshall:
       "Add splice file operations"
      
      * tag 'for-linus-5.11-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux:
        orangefs: add splice file operations
      e37b12e4
    • Linus Torvalds's avatar
      Merge tag '5.11-rc-smb3-part2' of git://git.samba.org/sfrench/cifs-2.6 · 58288813
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "Four small CIFS/SMB3 fixes (witness protocol and reconnect related),
        and two that add ability to get and set auditing information in the
        security descriptor (SACL), which can be helpful not just for backup
        scenarios ("smbinfo secdesc" etc.) but also for improving security"
      
      * tag '5.11-rc-smb3-part2' of git://git.samba.org/sfrench/cifs-2.6:
        Add SMB 2 support for getting and setting SACLs
        SMB3: Add support for getting and setting SACLs
        cifs: Avoid error pointer dereference
        cifs: Re-indent cifs_swn_reconnect()
        cifs: Unlock on errors in cifs_swn_reconnect()
        cifs: Delete a stray unlock in cifs_swn_reconnect()
      58288813
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-2020-12-19' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux · 48342fc0
      Linus Torvalds authored
      Pull perf tools updates from Arnaldo Carvalho de Melo:
       "perf record:
         - Fix memory leak when using '--user-regs=?' to list registers
      
        aarch64 support:
         - Add aarch64 registers to 'perf record's' --user-regs command line
           option
      
        aarch64 hw tracing support:
         - Decode memory tagging properties
         - Improve ARM's auxtrace support
         - Add support for ARMv8.3-SPE
      
        perf kvm:
         - Add kvm-stat for arm64
      
        perf stat:
         - Add --quiet option
      
        Cleanups:
         - Fixup function names wrt what is in libperf and what is in
           tools/perf
      
        Build:
         - Allow building without libbpf in older systems
      
        New kernel features:
         - Initial support for data/code page size sample type, more to come
      
        perf annotate:
         - Support MIPS instruction extended support
      
        perf stack unwinding:
         - Fix separate debug info files when using elfutils' libdw's unwinder
      
        perf vendor events:
         - Update Intel's Skylake client events to v50
         - Add JSON metrics for ARM's imx8mm DDR Perf
         - Support printing metric groups for system PMUs
      
        perf build id:
         - Prep work for supporting having the build id provided by the kernel
           in PERF_RECORD_MMAP2 metadata events
      
        perf stat:
         - Support regex pattern in --for-each-cgroup
      
        pipe mode:
         - Allow to use stdio functions for pipe mode
         - Support 'perf report's' --header-only for pipe mode
         - Support pipe mode display in 'perf evlist'
      
        Documentation:
         - Update information about CAP_PERFMON"
      
      * tag 'perf-tools-2020-12-19' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux: (134 commits)
        perf mem: Factor out a function to generate sort order
        perf sort: Add sort option for data page size
        perf script: Support data page size
        tools headers UAPI: Update asm-generic/unistd.h
        tools headers cpufeatures: Sync with the kernel sources
        tools headers UAPI: Sync linux/prctl.h with the kernel sources
        tools headers UAPI: Sync linux/fscrypt.h with the kernel sources
        tools headers UAPI: Sync linux/const.h with the kernel headers
        tools arch x86: Sync the msr-index.h copy with the kernel sources
        perf trace beauty: Update copy of linux/socket.h with the kernel sources
        tools headers: Update linux/ctype.h with the kernel sources
        tools headers: Add conditional __has_builtin()
        tools headers: Get tools's linux/compiler.h closer to the kernel's
        tools headers UAPI: Sync linux/stat.h with the kernel sources
        tools headers: Syncronize linux/build_bug.h with the kernel sources
        perf tools: Reformat record's control fd man text
        perf config: Fix example command in manpage to conform to syntax specified in the SYNOPSIS section.
        perf test: Make sample-parsing test aware of PERF_SAMPLE_{CODE,DATA}_PAGE_SIZE
        perf tools: Add support to read build id from compressed elf
        perf debug: Add debug_set_file function
        ...
      48342fc0
    • Damien Le Moal's avatar
      dt-binding: clock: Document canaan,k210-clk bindings · 0c797d2c
      Damien Le Moal authored
      Document the device tree bindings of the Canaan Kendryte K210 SoC clock
      driver in Documentation/devicetree/bindings/clock/canaan,k210-clk.yaml.
      The header file include/dt-bindings/clock/k210-clk.h is modified to
      include the complete list of IDs for all clocks of the SoC.
      Signed-off-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Link: https://lore.kernel.org/r/20201220085725.19545-3-damien.lemoal@wdc.comSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      0c797d2c
    • Damien Le Moal's avatar
      dt-bindings: Add Canaan vendor prefix · 6c5c1600
      Damien Le Moal authored
      Update Documentation/devicetree/bindings/vendor-prefixes.yaml to
      include "canaan" as a vendor prefix for "Canaan Inc.". Canaan is the
      vendor of the Kendryte K210 RISC-V SoC.
      Signed-off-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Link: https://lore.kernel.org/r/20201220085725.19545-2-damien.lemoal@wdc.comSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      6c5c1600
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 6a447b0e
      Linus Torvalds authored
      Pull KVM updates from Paolo Bonzini:
       "Much x86 work was pushed out to 5.12, but ARM more than made up for it.
      
        ARM:
         - PSCI relay at EL2 when "protected KVM" is enabled
         - New exception injection code
         - Simplification of AArch32 system register handling
         - Fix PMU accesses when no PMU is enabled
         - Expose CSV3 on non-Meltdown hosts
         - Cache hierarchy discovery fixes
         - PV steal-time cleanups
         - Allow function pointers at EL2
         - Various host EL2 entry cleanups
         - Simplification of the EL2 vector allocation
      
        s390:
         - memcg accouting for s390 specific parts of kvm and gmap
         - selftest for diag318
         - new kvm_stat for when async_pf falls back to sync
      
        x86:
         - Tracepoints for the new pagetable code from 5.10
         - Catch VFIO and KVM irqfd events before userspace
         - Reporting dirty pages to userspace with a ring buffer
         - SEV-ES host support
         - Nested VMX support for wait-for-SIPI activity state
         - New feature flag (AVX512 FP16)
         - New system ioctl to report Hyper-V-compatible paravirtualization features
      
        Generic:
         - Selftest improvements"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (171 commits)
        KVM: SVM: fix 32-bit compilation
        KVM: SVM: Add AP_JUMP_TABLE support in prep for AP booting
        KVM: SVM: Provide support to launch and run an SEV-ES guest
        KVM: SVM: Provide an updated VMRUN invocation for SEV-ES guests
        KVM: SVM: Provide support for SEV-ES vCPU loading
        KVM: SVM: Provide support for SEV-ES vCPU creation/loading
        KVM: SVM: Update ASID allocation to support SEV-ES guests
        KVM: SVM: Set the encryption mask for the SVM host save area
        KVM: SVM: Add NMI support for an SEV-ES guest
        KVM: SVM: Guest FPU state save/restore not needed for SEV-ES guest
        KVM: SVM: Do not report support for SMM for an SEV-ES guest
        KVM: x86: Update __get_sregs() / __set_sregs() to support SEV-ES
        KVM: SVM: Add support for CR8 write traps for an SEV-ES guest
        KVM: SVM: Add support for CR4 write traps for an SEV-ES guest
        KVM: SVM: Add support for CR0 write traps for an SEV-ES guest
        KVM: SVM: Add support for EFER write traps for an SEV-ES guest
        KVM: SVM: Support string IO operations for an SEV-ES guest
        KVM: SVM: Support MMIO for an SEV-ES guest
        KVM: SVM: Create trace events for VMGEXIT MSR protocol processing
        KVM: SVM: Create trace events for VMGEXIT processing
        ...
      6a447b0e
    • Linus Torvalds's avatar
      Merge tag 'rtc-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux · f4a2f786
      Linus Torvalds authored
      Pull RTC updates from Alexandre Belloni:
       "Subsystem:
      
         - Remove nvram ABI. There was no complaints about the deprecation for
           the last 3 years.
      
         - Improve RTC device allocation and registration
      
         - Now available for ARCH=um
      
        Drivers:
      
         - at91rm9200: correction and sam9x60 support
      
         - ds1307: improve ACPI support
      
         - mxc: now DT only
      
         - pcf2127: watchdog support now needs the reset-source property
      
         - pcf8523: set range
      
         - rx6110: i2c support"
      
      * tag 'rtc-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (43 commits)
        rtc: pcf2127: only use watchdog when explicitly available
        dt-bindings: rtc: add reset-source property
        rtc: fix RTC removal
        rtc: s3c: Remove dead code related to periodic tick handling
        rtc: s3c: Disable all enable (RTC, tick) bits in the probe
        rtc: ep93xx: Fix NULL pointer dereference in ep93xx_rtc_read_time
        rtc: test: remove debug message
        rtc: mxc{,_v2}: enable COMPILE_TEST
        rtc: enable RTC framework on ARCH=um
        rtc: pcf8523: use BIT
        rtc: pcf8523: set range
        rtc: pcf8523: switch to devm_rtc_allocate_device
        rtc: destroy mutex when releasing the device
        rtc: shrink devm_rtc_allocate_device()
        rtc: rework rtc_register_device() resource management
        rtc: nvmem: emit an error message when nvmem registration fails
        rtc: add devm_ prefix to rtc_nvmem_register()
        rtc: nvmem: remove nvram ABI
        Documentation: list RTC devres helpers in devres.rst
        rtc: omap: use devm_pinctrl_register()
        ...
      f4a2f786
    • Linus Torvalds's avatar
      Merge tag 'gfs2-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · 7703f46f
      Linus Torvalds authored
      Pull gfs2 updates from Andreas Gruenbacher:
      
       - Don't wait for unfreeze of the wrong filesystems
      
       - Remove an obsolete delete_work_func hack and an incorrect
         sb_start_write
      
       - Minor documentation updates and cosmetic care
      
      * tag 'gfs2-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
        gfs2: in signal_our_withdraw wait for unfreeze of _this_ fs only
        gfs2: Remove sb_start_write from gfs2_statfs_sync
        gfs2: remove trailing semicolons from macro definitions
        Revert "GFS2: Prevent delete work from occurring on glocks used for create"
        gfs2: Make inode operations static
        MAINTAINERS: Add gfs2 bug tracker link
        Documentation: Update filesystems/gfs2.rst
      7703f46f
    • Heiko Carstens's avatar
      epoll: fix compat syscall wire up of epoll_pwait2 · 450f68e2
      Heiko Carstens authored
      Commit b0a0c261 ("epoll: wire up syscall epoll_pwait2") wired up
      the 64 bit syscall instead of the compat variant in a couple of places.
      
      Fixes: b0a0c261 ("epoll: wire up syscall epoll_pwait2")
      Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Willem de Bruijn <willemb@google.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Will Deacon <will@kernel.org>
      Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      Cc: Vasily Gorbik <gor@linux.ibm.com>
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      450f68e2
    • Geert Uytterhoeven's avatar
      clk: vc5: Use "idt,voltage-microvolt" instead of "idt,voltage-microvolts" · 4b003f5f
      Geert Uytterhoeven authored
      Commit 45c94018 ("dt-bindings: clk: versaclock5: convert to
      yaml") accidentally changed "idt,voltage-microvolts" to
      "idt,voltage-microvolt" in the DT bindings, while the driver still used
      the former.
      
      Update the driver to match the bindings, as
      Documentation/devicetree/bindings/property-units.txt actually recommends
      using "microvolt".
      
      Fixes: 260249f9 ("clk: vc5: Enable addition output configurations of the Versaclock")
      Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Link: https://lore.kernel.org/r/20201218125253.3815567-1-geert+renesas@glider.beReviewed-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
      Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      4b003f5f
    • Paul Cercueil's avatar
      clk: ingenic: Fix divider calculation with div tables · 11a163f2
      Paul Cercueil authored
      The previous code assumed that a higher hardware value always resulted
      in a bigger divider, which is correct for the regular clocks, but is
      an invalid assumption when a divider table is provided for the clock.
      
      Perfect example of this is the PLL0_HALF clock, which applies a /2
      divider with the hardware value 0, and a /1 divider otherwise.
      
      Fixes: a9fa2893 ("clk: ingenic: Add support for divider tables")
      Cc: <stable@vger.kernel.org> # 5.2
      Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
      Link: https://lore.kernel.org/r/20201212135733.38050-1-paul@crapouillou.netSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      11a163f2
  4. 19 Dec, 2020 10 commits