1. 29 Jan, 2021 4 commits
  2. 25 Jan, 2021 3 commits
  3. 14 Jan, 2021 11 commits
    • Marek Vasut's avatar
      ARM: dts: stm32: Disable KS8851 and FMC on PicoITX board · 8ba39655
      Marek Vasut authored
      The PicoITX has only one ethernet routed out, so the KS8851 is not used
      at all. Disable the KS8851 and the entire FMC controller.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      8ba39655
    • Alexander Dahl's avatar
      ARM: dts: stm32: Fix schema warnings for pwm-leds on lxa-mc1 · 2f9c3506
      Alexander Dahl authored
      The node names for devices using the pwm-leds driver follow a certain
      naming scheme (now).  Parent node name is not enforced, but recommended
      by DT project.
      
        DTC     arch/arm/boot/dts/stm32mp157c-lxa-mc1.dt.yaml
        CHECK   arch/arm/boot/dts/stm32mp157c-lxa-mc1.dt.yaml
      /home/alex/build/linux/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dt.yaml: led-rgb: 'led-blue', 'led-green', 'led-red' do not match any of the regexes: '^led(-[0-9a-f]+)?$', 'pinctrl-[0-9]+'
              From schema: /home/alex/src/linux/leds/Documentation/devicetree/bindings/leds/leds-pwm.yaml
      Signed-off-by: default avatarAlexander Dahl <post@lespocky.de>
      Acked-by: default avatarAhmad Fatoum <a.fatoum@pengutronix.de>
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      2f9c3506
    • Marek Vasut's avatar
      ARM: dts: stm32: Disable SDMMC1 CKIN feedback clock on DHCOM · 32d4878b
      Marek Vasut authored
      The STM32MP1 DHCOM SoM can be built with either bus voltage level shifter
      or without one on the SDMMC1 interface. Because the SDMMC1 interface is
      limited to 50 MHz and hence SD high-speed anyway, disable the SD feedback
      clock to permit operation of the same U-Boot image on both SoM with and
      without voltage level shifter.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      32d4878b
    • Marek Vasut's avatar
      ARM: dts: stm32: Enable internal pull-ups for SDMMC1 on DHCOM SoM · 7cd8567d
      Marek Vasut authored
      The default state of SD bus and clock line is logical HI. SD card IO is
      open-drain and pulls the bus lines LO. Always enable the SD bus pull ups
      to guarantee this behavior on DHCOM SoM. Note that on SoMs with SD bus
      voltage level shifter, the pull ups are built into the level shifter,
      however that has no negative impact.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      7cd8567d
    • Marek Vasut's avatar
      ARM: dts: stm32: Fix GPIO hog flags on DHCOM DRC02 · 83d41122
      Marek Vasut authored
      The GPIO hog flags are ignored by gpiolib-of.c now, set the flags to 0.
      Since GPIO_ACTIVE_HIGH is defined as 0, this change only increases the
      correctness of the DT.
      
      Fixes: fde180f0 ("ARM: dts: stm32: Add DHSOM based DRC02 board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      83d41122
    • Marek Vasut's avatar
      ARM: dts: stm32: Fix GPIO hog flags on DHCOM PicoITX · 10793e55
      Marek Vasut authored
      The GPIO hog flags are ignored by gpiolib-of.c now, set the flags to 0.
      Due to a change in gpiolib-of.c, setting flags to GPIO_ACTIVE_LOW and
      using output-low DT property leads to the GPIO being set high instead.
      
      Fixes: ac68793f ("ARM: dts: stm32: Add DHCOM based PicoITX board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      10793e55
    • Marek Vasut's avatar
      ARM: dts: stm32: Fix GPIO hog names on DHCOM · bcbacfb8
      Marek Vasut authored
      The GPIO hog node name should match regex '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$',
      make it so and fix the following two make dtbs_check warnings:
      
      arch/arm/boot/dts/stm32mp157c-dhcom-picoitx.dt.yaml: hog-usb-port-power: $nodename:0: 'hog-usb-port-power' does not match '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$'
      arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dt.yaml: hog-usb-hub: $nodename:0: 'hog-usb-hub' does not match '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$'
      
      Fixes: ac68793f ("ARM: dts: stm32: Add DHCOM based PicoITX board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      bcbacfb8
    • Marek Vasut's avatar
      ARM: dts: stm32: Disable optional TSC2004 on DRC02 board · 08769893
      Marek Vasut authored
      The DRC02 has no use for the on-SoM touchscreen controller, and the
      on-SoM touchscreen controller may not even be populated, which then
      results in error messages in kernel log. Disable the touchscreen
      controller in DT.
      
      Fixes: fde180f0 ("ARM: dts: stm32: Add DHSOM based DRC02 board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      08769893
    • Marek Vasut's avatar
      ARM: dts: stm32: Disable WP on DHCOM uSD slot · 063a6063
      Marek Vasut authored
      The uSD slot has no WP detection, disable it.
      
      Fixes: 34e0c784 ("ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM and PDK2 board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      063a6063
    • Marek Vasut's avatar
      ARM: dts: stm32: Connect card-detect signal on DHCOM · 1a9b0012
      Marek Vasut authored
      The DHCOM SoM uSD slot card detect signal is connected to GPIO PG1,
      describe it in the DT.
      
      Fixes: 34e0c784 ("ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM and PDK2 board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      1a9b0012
    • Marek Vasut's avatar
      ARM: dts: stm32: Fix polarity of the DH DRC02 uSD card detect · a0572c07
      Marek Vasut authored
      The uSD card detect signal on the DH DRC02 is active-high, with
      a default pull down resistor on the board. Invert the polarity.
      
      Fixes: fde180f0 ("ARM: dts: stm32: Add DHSOM based DRC02 board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      --
      Note that this could not be tested on prototype SoMs, now that it is
      tested, this issue surfaced, so it needs to be fixed.
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      a0572c07
  4. 27 Dec, 2020 8 commits
  5. 26 Dec, 2020 5 commits
  6. 25 Dec, 2020 5 commits
    • Linus Torvalds's avatar
      drm/amd/display: avoid uninitialized variable warning · 61d79136
      Linus Torvalds authored
      clang (quite rightly) complains fairly loudly about the newly added
      mpc1_get_mpc_out_mux() function returning an uninitialized value if the
      'opp_id' checks don't pass.
      
      This may not happen in practice, but the code really shouldn't return
      garbage if the sanity checks don't pass.
      
      So just initialize 'val' to zero to avoid the issue.
      
      Fixes: 110b055b ("drm/amd/display: add getter routine to retrieve mpcc mux")
      Cc: Josip Pavic <Josip.Pavic@amd.com>
      Cc: Bindu Ramamurthy <bindu.r@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      61d79136
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-2020-12-24' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux · 5814bc2d
      Linus Torvalds authored
      Pull more perf tools updates from Arnaldo Carvalho de Melo:
      
       - Refactor 'perf stat' per CPU/socket/die/thread aggregation fixing use
         cases in ARM machines.
      
       - Fix memory leak when synthesizing SDT probes in 'perf probe'.
      
       - Update kernel header copies related to KVM, epol_pwait. msr-index and
         powerpc and s390 syscall tables.
      
      * tag 'perf-tools-2020-12-24' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux: (24 commits)
        perf probe: Fix memory leak when synthesizing SDT probes
        perf stat aggregation: Add separate thread member
        perf stat aggregation: Add separate core member
        perf stat aggregation: Add separate die member
        perf stat aggregation: Add separate socket member
        perf stat aggregation: Add separate node member
        perf stat aggregation: Start using cpu_aggr_id in map
        perf cpumap: Drop in cpu_aggr_map struct
        perf cpumap: Add new map type for aggregation
        perf stat: Replace aggregation ID with a struct
        perf cpumap: Add new struct for cpu aggregation
        perf cpumap: Use existing allocator to avoid using malloc
        perf tests: Improve topology test to check all aggregation types
        perf tools: Update s390's syscall.tbl copy from the kernel sources
        perf tools: Update powerpc's syscall.tbl copy from the kernel sources
        perf s390: Move syscall.tbl check into check-headers.sh
        perf powerpc: Move syscall.tbl check to check-headers.sh
        tools headers UAPI: Synch KVM's svm.h header with the kernel
        tools kvm headers: Update KVM headers from the kernel sources
        tools headers UAPI: Sync KVM's vmx.h header with the kernel sources
        ...
      5814bc2d
    • Linus Torvalds's avatar
      Merge branch 'for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux · 42dc45e8
      Linus Torvalds authored
      Pull coccinelle updates from Julia Lawall.
      
      * 'for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux:
        scripts: coccicheck: Correct usage of make coccicheck
        coccinelle: update expiring email addresses
        coccinnelle: Remove ptr_ret script
        kbuild: do not use scripts/ld-version.sh for checking spatch version
        remove boolinit.cocci
      42dc45e8
    • Michael Ellerman's avatar
      genirq: Fix export of irq_to_desc() for powerpc KVM · 11cc92eb
      Michael Ellerman authored
      Commit 64a1b95b ("genirq: Restrict export of irq_to_desc()") removed
      the export of irq_to_desc() unless powerpc KVM is being built, because
      there is still a use of irq_to_desc() in modular code there.
      
      However it used:
      
        #ifdef CONFIG_KVM_BOOK3S_64_HV
      
      Which doesn't work when that symbol is =m, leading to a build failure:
      
        ERROR: modpost: "irq_to_desc" [arch/powerpc/kvm/kvm-hv.ko] undefined!
      
      Fix it by checking for the definedness of the correct symbol which is
      CONFIG_KVM_BOOK3S_64_HV_MODULE.
      
      Fixes: 64a1b95b ("genirq: Restrict export of irq_to_desc()")
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      11cc92eb
    • Linus Torvalds's avatar
      Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 7bb5226c
      Linus Torvalds authored
      Pull misc vfs updates from Al Viro:
       "Assorted patches from previous cycle(s)..."
      
      * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        fix hostfs_open() use of ->f_path.dentry
        Make sure that make_create_in_sticky() never sees uninitialized value of dir_mode
        fs: Kill DCACHE_DONTCACHE dentry even if DCACHE_REFERENCED is set
        fs: Handle I_DONTCACHE in iput_final() instead of generic_drop_inode()
        fs/namespace.c: WARN if mnt_count has become negative
      7bb5226c
  7. 24 Dec, 2020 4 commits
    • Linus Torvalds's avatar
      Merge tag 'docs-5.11-2' of git://git.lwn.net/linux · 71c5f031
      Linus Torvalds authored
      Pull documentation fixes from Jonathan Corbet:
       "A small set of late-arriving, small documentation fixes"
      
      * tag 'docs-5.11-2' of git://git.lwn.net/linux:
        docs: admin-guide: Fix default value of max_map_count in sysctl/vm.rst
        Documentation/submitting-patches: Document the SoB chain
        Documentation: process: Correct numbering
        docs: submitting-patches: Trivial - fix grammatical error
      71c5f031
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 555a6e8c
      Linus Torvalds authored
      Pull ext4 updates from Ted Ts'o:
       "Various bug fixes and cleanups for ext4; no new features this cycle"
      
      * tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (29 commits)
        ext4: remove unnecessary wbc parameter from ext4_bio_write_page
        ext4: avoid s_mb_prefetch to be zero in individual scenarios
        ext4: defer saving error info from atomic context
        ext4: simplify ext4 error translation
        ext4: move functions in super.c
        ext4: make ext4_abort() use __ext4_error()
        ext4: standardize error message in ext4_protect_reserved_inode()
        ext4: remove redundant sb checksum recomputation
        ext4: don't remount read-only with errors=continue on reboot
        ext4: fix deadlock with fs freezing and EA inodes
        jbd2: add a helper to find out number of fast commit blocks
        ext4: make fast_commit.h byte identical with e2fsprogs/fast_commit.h
        ext4: fix fall-through warnings for Clang
        ext4: add docs about fast commit idempotence
        ext4: remove the unused EXT4_CURRENT_REV macro
        ext4: fix an IS_ERR() vs NULL check
        ext4: check for invalid block size early when mounting a file system
        ext4: fix a memory leak of ext4_free_data
        ext4: delete nonsensical (commented-out) code inside ext4_xattr_block_set()
        ext4: update ext4_data_block_valid related comments
        ...
      555a6e8c
    • Linus Torvalds's avatar
      Merge tag 'Smack-for-5.11-io_uring-fix' of git://github.com/cschaufler/smack-next · 2f2fce3d
      Linus Torvalds authored
      Pull smack fix from Casey Schaufler:
       "Provide a fix for the incorrect handling of privilege in the face of
        io_uring's use of kernel threads. That invalidated an long standing
        assumption regarding the privilege of kernel threads.
      
        The fix is simple and safe. It was provided by Jens Axboe and has been
        tested"
      
      * tag 'Smack-for-5.11-io_uring-fix' of git://github.com/cschaufler/smack-next:
        Smack: Handle io_uring kernel thread privileges
      2f2fce3d
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 7a2fde8d
      Linus Torvalds authored
      Pull RISC-V fix from Palmer Dabbelt
       "Avoid trying to initialize memory regions outside the usable range"
      
      * tag 'riscv-for-linus-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        RISC-V: Fix usage of memblock_enforce_memory_limit
      7a2fde8d