1. 10 Jun, 2020 8 commits
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml · 84fc461d
      Linus Torvalds authored
      Pull UML updates from Richard Weinberger:
      
       - Use fdatasync() in ubd
      
       - Add a generic "fd" vector transport
      
       - Minor cleanups and fixes
      
      * tag 'for-linus-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml:
        um: virtio: Replace zero-length array with flexible-array
        um: Use fdatasync() when mapping the UBD FSYNC command
        um: Do not evaluate compiler's library path when cleaning
        um: Neaten vu_err macro definition
        um: Add a generic "fd" vector transport
        um: Add include: memset() and memcpy() are in <string.h>
      84fc461d
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs · 0e083da7
      Linus Torvalds authored
      Pull UBI update from Richard Weinberger:
       "This contains a single change for UBI:
      
         - Select fastmap anchor PEBs considering wear level rules"
      
      * tag 'for-linus-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs:
        ubi: Select fastmap anchor PEBs considering wear level rules
      0e083da7
    • Linus Torvalds's avatar
      Merge tag 'mtd/for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux · 6f51ab94
      Linus Torvalds authored
      Pull MTD updates from Richard Weinberger:
       "MTD core changes:
         - partition parser: Support MTD names containing one or more colons.
         - mtdblock: clear cache_state to avoid writing to bad blocks
           repeatedly.
      
        Raw NAND core changes:
         - Stop using nand_release(), patched all drivers.
         - Give more information about the ECC weakness when not matching the
           chip's requirement.
         - MAINTAINERS updates.
         - Support emulated SLC mode on MLC NANDs.
         - Support "constrained" controllers, adapt the core and ONFI/JEDEC
           table parsing and Micron's code.
         - Take check_only into account.
         - Add an invalid ECC mode to discriminate with valid ones.
         - Return an enum from of_get_nand_ecc_algo().
         - Drop OOB_FIRST placement scheme.
         - Introduce nand_extract_bits().
         - Ensure a consistent bitflips numbering.
         - BCH lib:
            - Allow easy bit swapping.
            - Rework a little bit the exported function names.
         - Fix nand_gpio_waitrdy().
         - Propage CS selection to sub operations.
         - Add a NAND_NO_BBM_QUIRK flag.
         - Give the possibility to verify a read operation is supported.
         - Add a helper to check supported operations.
         - Avoid indirect access to ->data_buf().
         - Rename the use_bufpoi variables.
         - Fix comments about the use of bufpoi.
         - Rename a NAND chip option.
         - Reorder the nand_chip->options flags.
         - Translate obscure bitfields into readable macros.
         - Timings:
            - Fix default values.
            - Add mode information to the timings structure.
      
        Raw NAND controller driver changes:
         - Fixed many error paths.
         - Arasan
            - New driver
         - Au1550nd:
            - Various cleanups
            - Migration to ->exec_op()
         - brcmnand:
            - Misc cleanup.
            - Support v2.1-v2.2 controllers.
            - Remove unused including <linux/version.h>.
            - Correctly verify erased pages.
            - Fix Hamming OOB layout.
         - Cadence
            - Make cadence_nand_attach_chip static.
         - Cafe:
            - Set the NAND_NO_BBM_QUIRK flag
         - cmx270:
            - Remove this controller driver.
         - cs553x:
            - Misc cleanup
            - Migration to ->exec_op()
         - Davinci:
            - Misc cleanup.
            - Migration to ->exec_op()
         - Denali:
            - Add more delays before latching incoming data
         - Diskonchip:
            - Misc cleanup
            - Migration to ->exec_op()
         - Fsmc:
            - Change to non-atomic bit operations.
         - GPMI:
            - Use nand_extract_bits()
            - Fix runtime PM imbalance.
         - Ingenic:
            - Migration to exec_op()
            - Fix the RB gpio active-high property on qi, lb60
            - Make qi_lb60_ooblayout_ops static.
         - Marvell:
            - Misc cleanup and small fixes
         - Nandsim:
            - Fix the error paths, driver wide.
         - Omap_elm:
            - Fix runtime PM imbalance.
         - STM32_FMC2:
            - Misc cleanups (error cases, comments, timeout valus, cosmetic
              changes).
      
        SPI NOR core changes:
         - Add, update support and fix few flashes.
         - Prepare BFPT parsing for JESD216 rev D.
         - Kernel doc fixes.
      
        CFI changes:
         - Support the absence of protection registers for Intel CFI flashes.
         - Replace zero-length array with flexible-arrays"
      
      * tag 'mtd/for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux: (208 commits)
        mtd: clear cache_state to avoid writing to bad blocks repeatedly
        mtd: parser: cmdline: Support MTD names containing one or more colons
        mtd: physmap_of_gemini: remove defined but not used symbol 'syscon_match'
        mtd: rawnand: Add an invalid ECC mode to discriminate with valid ones
        mtd: rawnand: Return an enum from of_get_nand_ecc_algo()
        mtd: rawnand: Drop OOB_FIRST placement scheme
        mtd: rawnand: Avoid a typedef
        mtd: Fix typo in mtd_ooblayout_set_databytes() description
        mtd: rawnand: Stop using nand_release()
        mtd: rawnand: nandsim: Reorganize ns_cleanup_module()
        mtd: rawnand: nandsim: Rename a label in ns_init_module()
        mtd: rawnand: nandsim: Manage lists on error in ns_init_module()
        mtd: rawnand: nandsim: Fix the label pointing on nand_cleanup()
        mtd: rawnand: nandsim: Free erase_block_wear on error
        mtd: rawnand: nandsim: Use an additional label when freeing the nandsim object
        mtd: rawnand: nandsim: Stop using nand_release()
        mtd: rawnand: nandsim: Free the partition names in ns_free()
        mtd: rawnand: nandsim: Free the allocated device on error in ns_init()
        mtd: rawnand: nandsim: Free partition names on error in ns_init()
        mtd: rawnand: nandsim: Fix the two ns_alloc_device() error paths
        ...
      6f51ab94
    • Linus Torvalds's avatar
      Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 6f630784
      Linus Torvalds authored
      Pull clk updates from Stephen Boyd:
       "This time around we have four lines of diff in the core framework,
        removing a function that isn't used anymore. Otherwise the main new
        thing for the common clk framework is that it is selectable in the
        Kconfig language now. Hopefully this will let clk drivers and clk
        consumers be testable on more than the architectures that support the
        clk framework. The goal is to introduce some Kunit tests for the
        framework.
      
        Outside of the core framework we have the usual set of various driver
        updates and non-critical fixes. The dirstat shows that the new
        Baikal-T1 driver is the largest addition this time around in terms of
        lines of code. After that the x86 (Intel), Qualcomm, and Mediatek
        drivers introduce many lines to support new or upcoming SoCs. After
        that the dirstat shows the usual suspects working on their SoC support
        by fixing minor bugs, correcting data and converting some of their DT
        bindings to YAML.
      
        Core:
         - Allow the COMMON_CLK config to be selectable
      
        New Drivers:
         - Clk driver for Baikal-T1 SoCs
         - Mediatek MT6765 clock support
         - Support for Intel Agilex clks
         - Add support for X1830 and X1000 Ingenic SoC clk controllers
         - Add support for the new Renesas RZ/G1H (R8A7742) SoC
         - Add support for Qualcomm's MSM8939 Generic Clock Controller
      
        Updates:
         - Support IDT VersaClock 5P49V5925
         - Bunch of updates for HSDK clock generation unit (CGU) driver
         - Start making audio and GPU clks work on Marvell MMP2/MMP3 SoCs
         - Add some GPU, NPU, and UFS clks to Qualcomm SM8150 driver
         - Enable supply regulators for GPU gdscs on Qualcomm SoCs
         - Add support for Si5342, Si5344 and Si5345 chips
         - Support custom flags in Xilinx zynq firmware
         - Various small fixes to the Xilinx clk driver
         - A single minor rounding fix for the legacy Allwinner clock support
         - A few patches from Abel Vesa as preparation of adding audiomix
           clock support on i.MX
         - A couple of cleanups from Anson Huang for i.MX clk-sscg-pll and
           clk-pllv3 drivers
         - Drop dependency on ARM64 for i.MX8M clock driver, to support
           aarch32 mode on aarch64 hardware
         - A series from Peng Fan to improve i.MX8M clock drivers, using
           composite clock for core and bus clk slice
         - Set a better parent clock for flexcan on i.MX6UL to support CiA102
           defined bit rates
         - A couple changes for EMC frequency scaling on Tegra210
         - Support for CPU frequency scaling on Tegra20/Tegra30
         - New clk gate for CSI test pattern generator on Tegra210
         - Regression fixes for Samsung exynos542x and exynos5433 SoCs
         - Use of fallthrough; attribute for Samsung s3c24xx
         - Updates and fixup HDMI and video clocks on Meson8b
         - Fixup reset polarity on Meson8b
         - Fix GPU glitch free mux switch on Meson gx and g12
         - A minor fix for the currently unused suspend/resume handling on
           Renesas RZ/A1 and RZ/A2
         - Two more conversions of Renesas DT bindings to json-schema
         - Add support for the USB 2.0 clock selector on Renesas R-Car M3-W+"
      
      * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (155 commits)
        clk: mediatek: Remove ifr{0,1}_cfg_regs structures
        clk: baikal-t1: remove redundant assignment to variable 'divider'
        clk: baikal-t1: fix spelling mistake "Uncompatible" -> "Incompatible"
        dt-bindings: clock: Add a missing include to MMP Audio Clock binding
        dt: Add bindings for IDT VersaClock 5P49V5925
        clk: vc5: Add support for IDT VersaClock 5P49V6965
        clk: Add Baikal-T1 CCU Dividers driver
        clk: Add Baikal-T1 CCU PLLs driver
        dt-bindings: clk: Add Baikal-T1 CCU Dividers binding
        dt-bindings: clk: Add Baikal-T1 CCU PLLs binding
        clk: mediatek: assign the initial value to clk_init_data of mtk_mux
        clk: mediatek: Add MT6765 clock support
        clk: mediatek: add mt6765 clock IDs
        dt-bindings: clock: mediatek: document clk bindings vcodecsys for Mediatek MT6765 SoC
        dt-bindings: clock: mediatek: document clk bindings mipi0a for Mediatek MT6765 SoC
        dt-bindings: clock: mediatek: document clk bindings for Mediatek MT6765 SoC
        CLK: HSDK: CGU: add support for 148.5MHz clock
        CLK: HSDK: CGU: support PLL bypassing
        CLK: HSDK: CGU: check if PLL is bypassed first
        clk: clk-si5341: Add support for the Si5345 series
        ...
      6f630784
    • Linus Torvalds's avatar
      Merge tag 'for-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · 3a2a8751
      Linus Torvalds authored
      Pull power supply and reset updates from Sebastian Reichel:
       "This time there are lots of changes. Quite a few changes to the core,
        lots of driver changes and one change to kobject core (with Ack from
        Greg).
      
        Summary:
      
        kobject:
         - Increase number of allowed uevent variables
      
        power-supply core:
         - Add power-supply type in uevent
         - Cleanup property handling in core
         - Make property and usb_type pointers const
         - Convert core power-supply DT binding to YAML
         - Cleanup HWMON code
         - Add new health status "calibration required"
         - Add new properties for manufacture date and capacity error margin
      
        battery drivers:
         - new cw2015 battery driver used by pine64 Pinebook Pro laptop
         - axp22: blacklist on Meegopad T02
         - sc27xx: support current/voltage reading
         - max17042: support time-to-empty reading
         - simple-battery: add more battery parameters
         - bq27xxx: convert DT binding document to YAML
         - sbs-battery: add TI BQ20Z65 support, fix technology property,
               convert DT binding to YAML, add option to disable charger
               broadcasts, add new properties: manufacture date, capacity
               error margin, average current, charge current and voltage and
               support calibration required health status
         - misc fixes
      
        charger drivers:
         - bq25890: cleanup, implement charge type, precharge current and
               input current limiting properties
         - bd70528: use new linear range helper library
         - bd99954: new charger driver
         - mp2629: new charger driver
         - misc fixes
      
        reboot drivers:
         - oxnas-restart: introduce new driver
         - syscon-reboot: convert DT binding to YAML, add parent syscon device
               support
         - misc fixes"
      
      * tag 'for-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (85 commits)
        power: supply: cw2015: Attach OF ID table to the driver
        power: reset: gpio-poweroff: add missing '\n' in dev_err()
        Revert "power: supply: sbs-battery: simplify read_read_string_data"
        Revert "power: supply: sbs-battery: add PEC support"
        dt-bindings: power: sbs-battery: Convert to yaml
        power: supply: sbs-battery: constify power-supply property array
        power: supply: sbs-battery: switch to i2c's probe_new
        power: supply: sbs-battery: switch from of_property_* to device_property_*
        power: supply: sbs-battery: add ability to disable charger broadcasts
        power: supply: sbs-battery: fix idle battery status
        power: supply: sbs-battery: add POWER_SUPPLY_HEALTH_CALIBRATION_REQUIRED support
        power: supply: sbs-battery: add MANUFACTURE_DATE support
        power: supply: sbs-battery: add POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT/VOLTAGE_MAX support
        power: supply: sbs-battery: Improve POWER_SUPPLY_PROP_TECHNOLOGY support
        power: supply: sbs-battery: add POWER_SUPPLY_PROP_CURRENT_AVG support
        power: supply: sbs-battery: add PEC support
        power: supply: sbs-battery: simplify read_read_string_data
        power: supply: sbs-battery: add POWER_SUPPLY_PROP_CAPACITY_ERROR_MARGIN support
        power: supply: sbs-battery: Add TI BQ20Z65 support
        power: supply: core: add POWER_SUPPLY_HEALTH_CALIBRATION_REQUIRED
        ...
      3a2a8751
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-5.8-rc1' of git://git.infradead.org/users/vkoul/slave-dma · c90e7945
      Linus Torvalds authored
      Pull dmaengine updates from Vinod Koul:
       "A fairly small dmaengine update which includes mostly driver updates
        (dmatest, dw-edma, ioat, mmp-tdma and k3-udma) along with Renesas
        binding update to json-schema"
      
      * tag 'dmaengine-5.8-rc1' of git://git.infradead.org/users/vkoul/slave-dma: (39 commits)
        dmaengine: imx-sdma: initialize all script addresses
        dmaengine: ti: k3-udma: Use proper return code in alloc_chan_resources
        dmaengine: ti: k3-udma: Remove udma_chan.in_ring_cnt
        dmaengine: ti: k3-udma: Add missing dma_sync call for rx flush descriptor
        dmaengine: at_xdmac: Replace zero-length array with flexible-array
        dmaengine: at_hdmac: Replace zero-length array with flexible-array
        dmaengine: qcom: bam_dma: Replace zero-length array with flexible-array
        dmaengine: ti: k3-udma: Use PTR_ERR_OR_ZERO() to simplify code
        dmaengine: moxart-dma: Drop pointless static qualifier in moxart_probe()
        dmaengine: sf-pdma: Simplify the error handling path in 'sf_pdma_probe()'
        dmaengine: qcom_hidma: use true,false for bool variable
        dmaengine: dw-edma: support local dma device transfer semantics
        dmaengine: Fix doc strings to satisfy validation script
        dmaengine: Include dmaengine.h into dmaengine.c
        dmaengine: dmatest: Describe members of struct dmatest_info
        dmaengine: dmatest: Describe members of struct dmatest_params
        dmaengine: dmatest: Allow negative timeout value to specify infinite wait
        Revert "dmaengine: dmatest: timeout value of -1 should specify infinite wait"
        dmaengine: stm32-dma: direct mode support through device tree
        dt-bindings: dma: add direct mode support through device tree in stm32-dma
        ...
      c90e7945
    • Geert Uytterhoeven's avatar
      Documentation/CodingStyle: Fix duplicate "are" typo · 77d22a43
      Geert Uytterhoeven authored
      The improved paragraph about line lengths contains a sentence with a
      duplicate word: there is one "are" at the end of a line, followed by a
      second one at the beginning of the next line.
      
      Drop the first one, as that one is part of the longest line.
      
      Fixes: bdc48fa1 ("checkpatch/coding-style: deprecate 80-column warning")
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      77d22a43
    • Andrew Morton's avatar
      arch/sparc/mm/srmmu.c: fix build · f7579007
      Andrew Morton authored
      "mm: consolidate pte_index() and pte_offset_*() definitions" was supposed
      to remove arch/sparc/mm/srmmu.c:pte_offset_kernel().
      
      Fixes: 974b9b2c ("mm: consolidate pte_index() and pte_offset_*() definitions")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Cc: Mike Rapoport <rppt@linux.ibm.com>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f7579007
  2. 09 Jun, 2020 32 commits