1. 22 Jul, 2020 3 commits
  2. 20 Jul, 2020 9 commits
  3. 10 Jul, 2020 5 commits
    • Sven Schnelle's avatar
      s390: add trace events for idle enter/exit · 6589c93f
      Sven Schnelle authored
      Helpful for debugging.
      Signed-off-by: default avatarSven Schnelle <svens@linux.ibm.com>
      Reviewed-by: default avatarHeiko Carstens <hca@linux.ibm.com>
      Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
      6589c93f
    • Christian Borntraeger's avatar
      s390: fix comment regarding interrupts in svc · 7b7735c5
      Christian Borntraeger authored
      With the removal of the critical section cleanup, we now enter the svc
      interrupt handler with interrupts disabled.
      
      Fixes: 0b0ed657 ("s390: remove critical section cleanup from entry.S")
      Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
      7b7735c5
    • Harald Freudenberger's avatar
      s390/ap: rework crypto config info and default domain code · c8337c47
      Harald Freudenberger authored
      Rework of the QCI crypto info and how it is used.
      This is only a internal rework but does not affect the way
      how the ap bus acts with ap card and queue devices and
      domain handling.
      
      Tested on z15, z14, z12 (QCI support) and z196 (no QCI support).
      Signed-off-by: default avatarHarald Freudenberger <freude@linux.ibm.com>
      Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
      c8337c47
    • David Hildenbrand's avatar
      s390/mm: don't set ARCH_KEEP_MEMBLOCK · fa49066f
      David Hildenbrand authored
      Commit 50be6345 ("s390/mm: Convert bootmem to memblock") mentions
      	"The original bootmem allocator is getting replaced by memblock. To
      	cover the needs of the s390 kdump implementation the physical
      	memory list is used."
      
      As we can now reference "physmem" managed in the memblock allocator after
      init even without ARCH_KEEP_MEMBLOCK, and s390x does no longer need
      other memblock metadata after boot (esp., the zcore memmap device that used
      it got removed), we can stop setting ARCH_KEEP_MEMBLOCK.
      
      With this change, we no longer create memblocks for standby/hotplugged
      memory (added via add_memory()) and free up memblock metadata (except
      physmem) after boot.
      
      Cc: Vasily Gorbik <gor@linux.ibm.com>
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: Philipp Rudo <prudo@linux.ibm.com>
      Cc: Mike Rapoport <rppt@linux.ibm.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
      Message-Id: <20200701141830.18749-3-david@redhat.com>
      Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
      fa49066f
    • David Hildenbrand's avatar
      mm/memblock: expose only miminal interface to add/walk physmem · 77649905
      David Hildenbrand authored
      "physmem" in the memblock allocator is somewhat weird: it's not actually
      used for allocation, it's simply information collected during boot, which
      describes the unmodified physical memory map at boot time, without any
      standby/hotplugged memory. It's only used on s390 and is currently the
      only reason s390 keeps using CONFIG_ARCH_KEEP_MEMBLOCK.
      
      Physmem isn't numa aware and current users don't specify any flags. Let's
      hide it from the user, exposing only for_each_physmem(), and simplify. The
      interface for physmem is now really minimalistic:
      - memblock_physmem_add() to add ranges
      - for_each_physmem() / __next_physmem_range() to walk physmem ranges
      
      Don't place it into an __init section and don't discard it without
      CONFIG_ARCH_KEEP_MEMBLOCK. As we're reusing __next_mem_range(), remove
      the __meminit notifier to avoid section mismatch warnings once
      CONFIG_ARCH_KEEP_MEMBLOCK is no longer used with
      CONFIG_HAVE_MEMBLOCK_PHYS_MAP.
      
      While fixing up the documentation, sneak in some related cleanups. We can
      stop setting CONFIG_ARCH_KEEP_MEMBLOCK for s390 next.
      
      Cc: Vasily Gorbik <gor@linux.ibm.com>
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: Mike Rapoport <rppt@linux.ibm.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
      Reviewed-by: default avatarMike Rapoport <rppt@linux.ibm.com>
      Message-Id: <20200701141830.18749-2-david@redhat.com>
      Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
      77649905
  4. 03 Jul, 2020 9 commits
  5. 01 Jul, 2020 3 commits
    • Oscar Carter's avatar
      s390/tty3270: remove function callback casts · 5cdfbdce
      Oscar Carter authored
      In an effort to enable -Wcast-function-type in the top-level Makefile to
      support Control Flow Integrity builds, remove all the function callback
      casts.
      
      To do this modify the function prototypes accordingly.
      Signed-off-by: default avatarOscar Carter <oscar.carter@gmx.com>
      Message-Id: <20200627125417.18887-1-oscar.carter@gmx.com>
      Reviewed-by: default avatarKees Cook <keescook@chromium.org>
      [heiko.carstens@de.ibm.com: coding style changes]
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      5cdfbdce
    • David Hildenbrand's avatar
      s390/vmem: get rid of memory segment list · f05f62d0
      David Hildenbrand authored
      I can't come up with a satisfying reason why we still need the memory
      segment list. We used to represent in the list:
      - boot memory
      - standby memory added via add_memory()
      - loaded dcss segments
      
      When loading/unloading dcss segments, we already track them in a
      separate list and check for overlaps
      (arch/s390/mm/extmem.c:segment_overlaps_others()) when loading segments.
      
      The overlap check was introduced for some segments in
      commit b2300b9e ("[S390] dcssblk: add >2G DCSSs support and stacked
      contiguous DCSSs support.")
      and was extended to cover all dcss segments in
      commit ca571146 ("s390/extmem: remove code for 31 bit addressing
      mode").
      
      Although I doubt that overlaps with boot memory and standby memory
      are relevant, let's reshuffle the checks in load_segment() to request
      the resource first. This will bail out in case we have overlaps with
      other resources (esp. boot memory and standby memory). The order
      is now different compared to segment_unload() and segment_unload(), but
      that should not matter.
      
      This smells like a leftover from ancient times, let's get rid of it. We
      can now convert vmem_remove_mapping() into a void function - everybody
      ignored the return value already.
      
      Cc: Vasily Gorbik <gor@linux.ibm.com>
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
      Message-Id: <20200625150029.45019-1-david@redhat.com>
      Reviewed-by: default avatarGerald Schaefer <gerald.schaefer@de.ibm.com>
      Tested-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> [DCSS]
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      f05f62d0
    • Sven Schnelle's avatar
      s390/stp: allow group and users to read stp sysfs files · 66a049b7
      Sven Schnelle authored
      There are no secrets in these files, so allow all users
      to read it.
      Signed-off-by: default avatarSven Schnelle <svens@linux.ibm.com>
      Acked-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      66a049b7
  6. 29 Jun, 2020 7 commits
  7. 28 Jun, 2020 4 commits
    • Linus Torvalds's avatar
      Linux 5.8-rc3 · 9ebcfadb
      Linus Torvalds authored
      9ebcfadb
    • Linus Torvalds's avatar
      Merge tag 'arm-omap-fixes-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · f7db192b
      Linus Torvalds authored
      Pull ARM OMAP fixes from Arnd Bergmann:
       "The OMAP developers are particularly active at hunting down
        regressions, so this is a separate branch with OMAP specific
        fixes for v5.8:
      
        As Tony explains
          "The recent display subsystem (DSS) related platform data changes
           caused display related regressions for suspend and resume. Looks
           like I only tested suspend and resume before dropping the legacy
           platform data, and forgot to test it after dropping it. Turns out
           the main issue was that we no longer have platform code calling
           pm_runtime_suspend for DSS like we did for the legacy platform data
           case, and that fix is still being discussed on the dri-devel list
           and will get merged separately. The DSS related testing exposed a
           pile other other display related issues that also need fixing
           though":
      
         - Fix ti-sysc optional clock handling and reset status checks for
           devices that reset automatically in idle like DSS
      
         - Ignore ti-sysc clockactivity bit unless separately requested to
           avoid unexpected performance issues
      
         - Init ti-sysc framedonetv_irq to true and disable for am4
      
         - Avoid duplicate DSS reset for legacy mode with dts data
      
         - Remove LCD timings for am4 as they cause warnings now that we're
           using generic panels
      
        Other OMAP changes from Tony include:
      
         - Fix omap_prm reset deassert as we still have drivers setting the
           pm_runtime_irq_safe() flag
      
         - Flush posted write for ti-sysc enable and disable
      
         - Fix droid4 spi related errors with spi flags
      
         - Fix am335x USB range and a typo for softreset
      
         - Fix dra7 timer nodes for clocks for IPU and DSP
      
         - Drop duplicate mailboxes after mismerge for dra7
      
         - Prevent pocketgeagle header line signal from accidentally setting
           micro-SD write protection signal by removing the default mux
      
         - Fix NFSroot flakeyness after resume for duover by switching the
           smsc911x gpio interrupt to back to level sensitive
      
         - Fix regression for omap4 clockevent source after recent system
           timer changes
      
         - Yet another ethernet regression fix for the "rgmii" vs "rgmii-rxid"
           phy-mode
      
         - One patch to convert am3/am4 DT files to use the regular sdhci-omap
           driver instead of the old hsmmc driver, this was meant for the
           merge window but got lost in the process"
      
      * tag 'arm-omap-fixes-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (21 commits)
        ARM: dts: am5729: beaglebone-ai: fix rgmii phy-mode
        ARM: dts: Fix omap4 system timer source clocks
        ARM: dts: Fix duovero smsc interrupt for suspend
        ARM: dts: am335x-pocketbeagle: Fix mmc0 Write Protect
        Revert "bus: ti-sysc: Increase max softreset wait"
        ARM: dts: am437x-epos-evm: remove lcd timings
        ARM: dts: am437x-gp-evm: remove lcd timings
        ARM: dts: am437x-sk-evm: remove lcd timings
        ARM: dts: dra7-evm-common: Fix duplicate mailbox nodes
        ARM: dts: dra7: Fix timer nodes properly for timer_sys_ck clocks
        ARM: dts: Fix am33xx.dtsi ti,sysc-mask wrong softreset flag
        ARM: dts: Fix am33xx.dtsi USB ranges length
        bus: ti-sysc: Increase max softreset wait
        ARM: OMAP2+: Fix legacy mode dss_reset
        bus: ti-sysc: Fix uninitialized framedonetv_irq
        bus: ti-sysc: Ignore clockactivity unless specified as a quirk
        bus: ti-sysc: Use optional clocks on for enable and wait for softreset bit
        ARM: dts: omap4-droid4: Fix spi configuration and increase rate
        bus: ti-sysc: Flush posted write on enable and disable
        soc: ti: omap-prm: use atomic iopoll instead of sleeping one
        ...
      f7db192b
    • Linus Torvalds's avatar
      Merge tag 'arm-fixes-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · e44b59cd
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "Here are a couple of bug fixes, mostly for devicetree files
      
        NXP i.MX:
         - Use correct voltage on some i.MX8M board device trees to avoid
           hardware damage
         - Code fixes for a compiler warning and incorrect reference counting,
           both harmless.
         - Fix the i.MX8M SoC driver to correctly identify imx8mp
         - Fix watchdog configuration in imx6ul-kontron device tree.
      
        Broadcom:
         - A small regression fix for the Raspberry-Pi firmware driver
         - A Kconfig change to use the correct timer driver on Northstar
         - A DT fix for the Luxul XWC-2000 machine
         - Two more DT fixes for NSP SoCs
      
        STmicroelectronics STI
         - Revert one broken patch for L2 cache configuration
      
        ARM Versatile Express:
         - Fix a regression by reverting a broken DT cleanup
      
        TEE drivers:
         - MAINTAINERS: change tee mailing list"
      
      * tag 'arm-fixes-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        Revert "ARM: sti: Implement dummy L2 cache's write_sec"
        soc: imx8m: fix build warning
        ARM: imx6: add missing put_device() call in imx6q_suspend_init()
        ARM: imx5: add missing put_device() call in imx_suspend_alloc_ocram()
        soc: imx8m: Correct i.MX8MP UID fuse offset
        ARM: dts: imx6ul-kontron: Change WDOG_ANY signal from push-pull to open-drain
        ARM: dts: imx6ul-kontron: Move watchdog from Kontron i.MX6UL/ULL board to SoM
        arm64: dts: imx8mm-beacon: Fix voltages on LDO1 and LDO2
        arm64: dts: imx8mn-ddr4-evk: correct ldo1/ldo2 voltage range
        arm64: dts: imx8mm-evk: correct ldo1/ldo2 voltage range
        ARM: dts: NSP: Correct FA2 mailbox node
        ARM: bcm2835: Fix integer overflow in rpi_firmware_print_firmware_revision()
        MAINTAINERS: change tee mailing list
        ARM: dts: NSP: Disable PL330 by default, add dma-coherent property
        ARM: bcm: Select ARM_TIMER_SP804 for ARCH_BCM_NSP
        ARM: dts: BCM5301X: Add missing memory "device_type" for Luxul XWC-2000
        arm: dts: vexpress: Move mcc node back into motherboard node
      e44b59cd
    • Linus Torvalds's avatar
      Merge tag 'timers-urgent-2020-06-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 668f532d
      Linus Torvalds authored
      Pull timer fix from Ingo Molnar:
       "A single DocBook fix"
      
      * tag 'timers-urgent-2020-06-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        timekeeping: Fix kerneldoc system_device_crosststamp & al
      668f532d