1. 19 May, 2020 1 commit
    • Faiz Abbas's avatar
      ARM: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver · 0b4edf11
      Faiz Abbas authored
      Move mmc nodes to be compatible with the sdhci-omap driver. The following
      modifications are required for omap_hsmmc specific properties:
      
      ti,non-removable: convert to the generic mmc non-removable
      ti,needs-special-reset:  co-opted into the sdhci-omap driver
      ti,dual-volt: removed. Legacy property not used in am335x or am43xx
      ti,needs-special-hs-handling: removed. Legacy property not used in am335x
      or am43xx
      
      Also since the sdhci-omap driver does not support runtime PM, explicitly
      disable the mmc3 instance in the dtsi.
      Signed-off-by: default avatarFaiz Abbas <faiz_abbas@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      0b4edf11
  2. 05 May, 2020 25 commits
    • Tero Kristo's avatar
      ARM: OMAP5: Make L4SEC clock domain SWSUP only · e88ba436
      Tero Kristo authored
      Commit c2ce5fb3 ('ARM: OMAP: DRA7xx: Make L4SEC clock domain SWSUP
      only') made DRA7 SoC L4SEC clock domain SWSUP only because of power
      state transition issues detected with HWSUP mode. Based on
      experimentation similar issue exists on OMAP5, so do the same change
      for OMAP5 also.
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      e88ba436
    • Tero Kristo's avatar
      ARM: OMAP4: Make L4SEC clock domain SWSUP only · f18e314a
      Tero Kristo authored
      Commit c2ce5fb3 ('ARM: OMAP: DRA7xx: Make L4SEC clock domain SWSUP
      only') made DRA7 SoC L4SEC clock domain SWSUP only because of power
      state transition issues detected with HWSUP mode. Based on
      experimentation similar issue exists on OMAP4, so do the same change
      for OMAP4 also.
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      f18e314a
    • Tero Kristo's avatar
      ARM: dts: omap5: add DES crypto accelerator node · 189a8739
      Tero Kristo authored
      OMAP5 contains a single DES crypto accelerator instance. Add node for
      this in DT to enable it.
      
      We keep the node disabled for now, as it appears OMAP5 platform is
      running out of available DMA channels, and DES is the least interesting
      crypto accelerator available on the device.
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      189a8739
    • Tero Kristo's avatar
      ARM: dts: omap5: add SHA crypto accelerator node · bf755817
      Tero Kristo authored
      Add the single available SHA crypto accelerator device for OMAP5 SoC.
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      bf755817
    • Tero Kristo's avatar
      ARM: dts: omap5: add aes2 entry · 4b9882ae
      Tero Kristo authored
      OMAP5 has AES hardware cryptographic accelerator, add AES2 instance for
      it.
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      4b9882ae
    • Tero Kristo's avatar
      ARM: dts: omap5: add aes1 entry · f9cd51bf
      Tero Kristo authored
      OMAP5 has AES hardware cryptographic accelerator, add AES1 instance for
      it.
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      f9cd51bf
    • Suman Anna's avatar
      ARM: dts: dra7-ipu-dsp-common: Add watchdog timers to IPU and DSP nodes · 1f159805
      Suman Anna authored
      The watchdog timer information has been added to all the IPU and DSP
      remote processor device nodes in the DRA7xx/AM57xx SoC families. The
      data has been added to the two common dra7-ipu-dsp-common and
      dra74-ipu-dsp-common dtsi files that can be included by all the
      desired board files. The following timers are chosen as the watchdog
      timers, as per the usage on the current firmware images:
              IPU2: GPTimers 4 & 9 (one for each Cortex-M4 core)
              IPU1: GPTimers 7 & 8 (one for each Cortex-M4 core)
              DSP1: GPTimer 10
              DSP2: GPTimer 13
      
      Each of the IPUs has two Cortex-M4 processors and so uses a timer
      each for providing watchdog support on that processor irrespective of
      whether the IPU is running in SMP-mode or non-SMP node. The chosen
      timers also need to be unique from the ones used by other processors
      (regular timers or watchdog timers) so that they can be supported
      simultaneously.
      
      The MPU-side drivers will use this data to initialize the watchdog
      timer(s), and listen for any watchdog triggers. The BIOS-side code on
      these processors needs to configure/refresh the corresponding timer
      properly to not throw a watchdog error.
      
      The watchdog timers are optional in general, but are mandatory to
      be added to support watchdog error recovery on a particular processor.
      These timers can be changed or removed as per the system integration
      needs, alongside appropriate equivalent changes on the firmware side.
      Signed-off-by: default avatarAngela Stegmaier <angelabaker@ti.com>
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      1f159805
    • Suman Anna's avatar
      ARM: dts: am571x-idk: Add CMA pools and enable IPUs & DSP1 rprocs · c2a5678e
      Suman Anna authored
      The CMA reserved memory nodes have been added for both the IPUs and the
      DSP1 remoteproc devices on the AM571x IDK board. These nodes are assigned
      to the respective rproc device nodes, and both the IPUs and the DSP1
      remote processors are enabled for this board.
      
      The current CMA pools and sizes are defined statically for each device.
      The addresses chosen are the same as the respective processors on the
      DRA72 EVM board to maintain firmware compatibility between the two boards.
      The CMA pools and sizes are defined using 64-bit values to support LPAE.
      The starting addresses are fixed to meet current dependencies on the
      remote processor firmwares, and this will go away when the remote-side
      code has been improved to gather this information runtime during its
      initialization.
      
      An associated pair of the rproc node and its CMA node can be disabled
      later on if there is no use-case defined to use that remote processor.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      c2a5678e
    • Suman Anna's avatar
      ARM: dts: am572x-idk-common: Add CMA pools and enable IPU & DSP rprocs · ac21a4a8
      Suman Anna authored
      The CMA reserved memory nodes have been added for all the IPU and DSP
      remoteproc devices in the am572x-idk-common.dtsi file that is common to
      both the AM572x and AM574x IDK boards. These nodes are assigned to the
      respective rproc device nodes, and all the IPU and DSP remote processors
      are enabled.
      
      The current CMA pools and sizes are defined statically for each device.
      The addresses chosen are the same as the respective processors on
      the AM57xx EVM board to maintain firmware compatibility between the
      two boards. The CMA pools and sizes are defined using 64-bit values
      to support LPAE. The starting addresses are fixed to meet current
      dependencies on the remote processor firmwares, and this will go
      away when the remote-side code has been improved to gather this
      information runtime during its initialization.
      
      An associated pair of the rproc node and its CMA node can be disabled
      later on if there is no use-case defined to use that remote processor.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      ac21a4a8
    • Suman Anna's avatar
      ARM: dts: beagle-x15-common: Add CMA pools and enable IPU & DSP rprocs · 35529cc0
      Suman Anna authored
      The CMA reserved memory nodes have been added for all the IPU and DSP
      remoteproc devices on all the AM57xx BeagleBoard-X15 boards. These nodes
      are assigned to the respective rproc device nodes, and all the IPU and
      DSP remote processors are enabled for all these boards.
      
      The current CMA pools and sizes are defined statically for each device.
      The addresses chosen are the same as the respective processors on the
      DRA7 EVM board to maintain firmware compatibility between the two boards.
      The CMA pools and sizes are defined using 64-bit values to support LPAE.
      The starting addresses are fixed to meet current dependencies on the
      remote processor firmwares, and this will go away when the remote-side
      code has been improved to gather this information runtime during its
      initialization.
      
      An associated pair of the rproc node and its CMA node can be disabled
      later on if there is no use-case defined to use that remote processor.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      35529cc0
    • Suman Anna's avatar
      ARM: dts: dra76-evm: Add CMA pools and enable IPU & DSP rprocs · 101a29dd
      Suman Anna authored
      The CMA reserved memory nodes have been added for all the IPU and
      the DSP remoteproc devices on the DRA76 EVM board, and assigned to
      the respective rproc device nodes. These match the configuration
      used on the DRA7 EVM board. Both the CMA nodes and the corresponding
      rproc nodes are also enabled to enable these processors on the
      DRA76 EVM board.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      101a29dd
    • Suman Anna's avatar
      ARM: dts: dra71-evm: Add CMA pools and enable IPUs & DSP1 rprocs · f09862d5
      Suman Anna authored
      The CMA reserved memory nodes have been added for both the IPUs and the
      DSP1 remoteproc devices on DRA71 EVM board. These nodes are assigned to
      the respective rproc device nodes, and both the IPUs and the DSP1 remote
      processors are enabled for this board.
      
      The current CMA pools and sizes are defined statically for each device.
      The addresses chosen are the same as the respective processors on the
      DRA72 EVM board to maintain firmware compatibility between the two boards.
      The CMA pools and sizes are defined using 64-bit values to support LPAE.
      The starting addresses are fixed to meet current dependencies on the
      remote processor firmwares, and this will go away when the remote-side
      code has been improved to gather this information runtime during its
      initialization.
      
      An associated pair of the rproc node and its CMA node can be disabled
      later on if there is no use-case defined to use that remote processor.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      f09862d5
    • Suman Anna's avatar
      ARM: dts: dra72-evm-revc: Add CMA pools and enable IPUs & DSP1 rprocs · 81fe00fa
      Suman Anna authored
      The CMA reserved memory nodes have been added for both the IPUs and
      the DSP1 remoteproc devices on the DRA72 EVM rev C board, and assigned
      to the respective rproc device nodes. These match the configuration
      used on the DRA72 EVM board. Both the CMA nodes and the corresponding
      rproc nodes are also enabled to enable these processors on the
      DRA72 EVM rev C board.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      81fe00fa
    • Suman Anna's avatar
      ARM: dts: dra72-evm: Add CMA pools and enable IPUs & DSP1 rprocs · 791cc4e4
      Suman Anna authored
      The CMA reserved memory nodes have been added for both the IPUs and the
      DSP1 remoteproc devices on DRA72 EVM board. These nodes are assigned to
      the respective rproc device nodes, and both the IPUs and the DSP1 remote
      processors are enabled for this board.
      
      The current CMA pools and sizes are defined statically for each device.
      The addresses chosen are the same as the respective processors on the
      DRA7 EVM board to maintain firmware compatibility between the two boards.
      The CMA pools and sizes are defined using 64-bit values to support LPAE.
      The starting addresses are fixed to meet current dependencies on the
      remote processor firmwares, and this will go away when the remote-side
      code has been improved to gather this information runtime during its
      initialization.
      
      An associated pair of the rproc node and its CMA node can be disabled
      later on if there is no use-case defined to use that remote processor.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      791cc4e4
    • Suman Anna's avatar
      ARM: dts: dra7-evm: Add CMA pools and enable IPU & DSP rprocs · 371cddbd
      Suman Anna authored
      The CMA reserved memory nodes have been added for all the IPU and DSP
      remoteproc devices on DRA7 EVM board. These nodes are assigned to the
      respective rproc device nodes, and all the IPU and DSP remote processors
      are enabled for this board.
      
      The current CMA pools and sizes are defined statically for each device.
      The CMA pools and sizes are defined using 64-bit values to support LPAE.
      The starting addresses are fixed to meet current dependencies on the
      remote processor firmwares, and this will go away when the remote-side
      code has been improved to gather this information runtime during its
      initialization.
      
      An associated pair of the rproc node and its CMA node can be disabled
      later on if there is no use-case defined to use that remote processor.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      371cddbd
    • Suman Anna's avatar
      ARM: dts: dra7-ipu-dsp-common: Add timers to IPU and DSP nodes · d329f9f1
      Suman Anna authored
      The BIOS System Tick timers have been added for all the IPU and
      DSP remoteproc devices in the DRA7 SoC family. The data is added
      to the two common dra7-ipu-dsp-common and dra74-ipu-dsp-common
      dtsi files that are included by all the desired board files. The
      following timers are chosen, as per the timers used on the current
      firmware images:
              IPU2: GPTimer 3
              IPU1: GPTimer 11
              DSP1: GPTimer 5
              DSP2: GPTimer 6
      
      The timers are optional, but are mandatory to support advanced device
      management features such as power management and watchdog support.
      The above are added to successfully boot and execute firmware images
      configured with the respective timers, images that use internal
      processor subsystem timers are not affected. The timers can be
      changed or removed as per the system integration needs, if needed.
      
      Each of the IPUs has two Cortex-M4 processors, and is currently
      expected to be running in SMP-mode, so only a single timer suffices
      to provide the BIOS tick timer. An additional timer should be added
      for the second processor in IPU if it were to be run in non-SMP mode.
      The timer value also needs to be unique from the ones used by other
      processors so that they can be run simultaneously.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      d329f9f1
    • Suman Anna's avatar
      ARM: dts: dra7-ipu-dsp-common: Add mailboxes to IPU and DSP nodes · 5e89b390
      Suman Anna authored
      Add the required 'mboxes' property to all the IPU and DSP remote
      processors (IPU1, IPU2, DSP1 and DSP2) in the two available common
      dtsi files - dra7-ipu-dsp-common and dra74-ipu-dsp-common dtsi files.
      The latter file is for platforms having DRA74x/DRA76x/AM572x/AM574x
      SoCs which do have a DSP2 processor in addition to the other common
      remote processors. The common data is added to the former file, and
      the DSP2 only data is added to the latter file.
      
      The mailboxes are required for running the Remote Processor Messaging
      (RPMsg) stack between the host processor and each of the remote
      processors. Each of the remote processors uses a single sub-mailbox
      node, the IPUs are assumed to be running in SMP-mode. The chosen
      sub-mailboxes match the values used in the current firmware images.
      This can be changed, if needed, as per the system integration needs
      after making appropriate changes on the firmware side as well.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      5e89b390
    • Suman Anna's avatar
      ARM: dts: dra7-ipu-dsp-common: Move mailboxes into common files · a11a2f73
      Suman Anna authored
      The System Mailboxes 5 and 6 and their corresponding child sub-mailbox
      (IPC 3.x) nodes are enabled in each of the DRA7xx and AM57xx board
      dts files individually at present. These mailboxes enable the Remote
      Processor Messaging (RPMsg) communication stack between the MPU host
      processor and each of the IPU1, IPU2, DSP1 and DSP2 remote processors.
      
      Move these nodes into two common dtsi files - dra7-ipu-dsp-common and
      dra74-ipu-dsp-common files, which are then included in various board
      dts files. These files can be used to add all the common configuration
      properties (except memory data) required by remote processor nodes.
      The memory pools and the remote processor nodes themselves are to be
      enabled in the actual board dts files. The first file is to used by
      platforms using DRA72x/DRA71x/AM571x/AM570x SoCs, and the second file
      is to be used by platforms using DRA74x/DRA76x/AM572x/AM574x SoCs.
      The second file includes the first file and contains additional data
      only applicable for DSP2 remote processor.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      a11a2f73
    • Suman Anna's avatar
      ARM: dts: DRA72x: Add aliases for rproc nodes · 0ed073c2
      Suman Anna authored
      Add aliases for all the 3 remote processor nodes common to
      all DRA72x/DRA71x/AM571x/AM570x boards. The aliases uses the
      stem "rproc", and are defined in the order of the most common
      processors on the DRA72x family. The ids are same as DRA74x
      except for the missing DSP2.
      
      The aliases can be overridden, if needed, in the respective
      derivative board dts files.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      0ed073c2
    • Suman Anna's avatar
      ARM: dts: DRA74x: Add aliases for rproc nodes · c6df6557
      Suman Anna authored
      Add aliases for all the IPU and DSP remoteproc processor
      nodes common to all DRA74x/DRA76x/AM572x/AM574x boards.
      The aliases uses the stem "rproc". The aliases are defined
      in the order of the most common processors on the DRA74x
      family.
      
      The aliases can be overridden, if needed, in the respective
      derivative board dts files.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      c6df6557
    • Suman Anna's avatar
      ARM: dts: DRA74x: Add DSP2 processor device node · 78aae49a
      Suman Anna authored
      The DRA7xx family of SoCs can contain upto two identical DSP
      processor subsystems. The second DSP processor subsystem is
      present only on the DRA74x/DRA76x variants. The processor
      device DT node has therefore been added in disabled state for
      this processor subsystem in the DRA74x specific DTS file.
      
      NOTE:
      1. The node does not have any mailboxes, timers or CMA region
         assigned, they should be added in the respective board dts
         files.
      2. The node should also be enabled as per the individual product
         configuration in the corresponding board dts files.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      [t-kristo@ti.com: converted to support ti-sysc from legacy hwmod]
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      78aae49a
    • Suman Anna's avatar
      ARM: dts: DRA7: Add common IPU and DSP nodes · 46ab8238
      Suman Anna authored
      The DRA7xx family of SOCs have two IPUs and upto two DSP
      processor subsystems in general. The IPU processor subsystem
      contains dual-core ARM Cortex-M4 processors, while the DSP
      processor subsystem is based on the TI's standard TMS320C66x
      DSP CorePac core. The IPUs are very similar to those on OMAP5.
      
      Two IPUs and one DSP processor subsystems is the most common
      configuration. The processor device DT nodes have been added
      for these processor subsystems, with the internal memories
      added through 'reg' and 'reg-names' properties. The IPUs only
      have an L2 RAM, whereas the DSPs have L1P, L1D and L2 RAM
      memories.
      
      NOTE:
      1. The nodes do not have any mailboxes, timers or CMA regions
         assigned, they should be added in the respective board dts
         files.
      2. The nodes haven been disabled by default and the enabling
         of these nodes is also left to the respective board dts
         files.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      [t-kristo@ti.com: convert to ti-sysc support from legacy hwmod]
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      46ab8238
    • Tero Kristo's avatar
      ARM: dts: dra7: add timer_sys_ck entries for IPU/DSP timers · 5390130f
      Tero Kristo authored
      With this, the clocksource driver can setup the timers properly.
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      5390130f
    • Tony Lindgren's avatar
    • Lokesh Vutla's avatar
      ARM: dts: Add 32KHz clock as default clock source · ac819eda
      Lokesh Vutla authored
      Clocksource to timer configured in pwm mode can be selected using the DT
      property ti,clock-source. There are few pwm timers which are not
      selecting the clock source and relying on default value in hardware or
      selected by driver. Instead of relying on default value, always select
      the clock source from DT.
      Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      Reviewed-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      ac819eda
  3. 21 Apr, 2020 2 commits
  4. 12 Apr, 2020 10 commits
    • Linus Torvalds's avatar
      Linux 5.7-rc1 · 8f3d9f35
      Linus Torvalds authored
      8f3d9f35
    • Linus Torvalds's avatar
      MAINTAINERS: sort field names for all entries · 3b50142d
      Linus Torvalds authored
      This sorts the actual field names too, potentially causing even more
      chaos and confusion at merge time if you have edited the MAINTAINERS
      file.  But the end result is a more consistent layout, and hopefully
      it's a one-time pain minimized by doing this just before the -rc1
      release.
      
      This was entirely scripted:
      
        ./scripts/parse-maintainers.pl --input=MAINTAINERS --output=MAINTAINERS --order
      Requested-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3b50142d
    • Linus Torvalds's avatar
      MAINTAINERS: sort entries by entry name · 4400b7d6
      Linus Torvalds authored
      They are all supposed to be sorted, but people who add new entries don't
      always know the alphabet.  Plus sometimes the entry names get edited,
      and people don't then re-order the entry.
      
      Let's see how painful this will be for merging purposes (the MAINTAINERS
      file is often edited in various different trees), but Joe claims there's
      relatively few patches in -next that touch this, and doing it just
      before -rc1 is likely the best time.  Fingers crossed.
      
      This was scripted with
      
        /scripts/parse-maintainers.pl --input=MAINTAINERS --output=MAINTAINERS
      
      but then I also ended up manually upper-casing a few entry names that
      stood out when looking at the end result.
      Requested-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      4400b7d6
    • Linus Torvalds's avatar
      Merge tag 'x86-urgent-2020-04-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4f8a3cc1
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "A set of three patches to fix the fallout of the newly added split
        lock detection feature.
      
        It addressed the case where a KVM guest triggers a split lock #AC and
        KVM reinjects it into the guest which is not prepared to handle it.
      
        Add proper sanity checks which prevent the unconditional injection
        into the guest and handles the #AC on the host side in the same way as
        user space detections are handled. Depending on the detection mode it
        either warns and disables detection for the task or kills the task if
        the mode is set to fatal"
      
      * tag 'x86-urgent-2020-04-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        KVM: VMX: Extend VMXs #AC interceptor to handle split lock #AC in guest
        KVM: x86: Emulate split-lock access as a write in emulator
        x86/split_lock: Provide handle_guest_split_lock()
      4f8a3cc1
    • Linus Torvalds's avatar
      Merge tag 'timers-urgent-2020-04-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 0785249f
      Linus Torvalds authored
      Pull time(keeping) updates from Thomas Gleixner:
      
       - Fix the time_for_children symlink in /proc/$PID/ so it properly
         reflects that it part of the 'time' namespace
      
       - Add the missing userns limit for the allowed number of time
         namespaces, which was half defined but the actual array member was
         not added. This went unnoticed as the array has an exessive empty
         member at the end but introduced a user visible regression as the
         output was corrupted.
      
       - Prevent further silent ucount corruption by adding a BUILD_BUG_ON()
         to catch half updated data.
      
      * tag 'timers-urgent-2020-04-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        ucount: Make sure ucounts in /proc/sys/user don't regress again
        time/namespace: Add max_time_namespaces ucount
        time/namespace: Fix time_for_children symlink
      0785249f
    • Linus Torvalds's avatar
      Merge tag 'sched-urgent-2020-04-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 590680d1
      Linus Torvalds authored
      Pull scheduler fixes/updates from Thomas Gleixner:
      
       - Deduplicate the average computations in the scheduler core and the
         fair class code.
      
       - Fix a raise between runtime distribution and assignement which can
         cause exceeding the quota by up to 70%.
      
       - Prevent negative results in the imbalanace calculation
      
       - Remove a stale warning in the workqueue code which can be triggered
         since the call site was moved out of preempt disabled code. It's a
         false positive.
      
       - Deduplicate the print macros for procfs
      
       - Add the ucmap values to the SCHED_DEBUG procfs output for completness
      
      * tag 'sched-urgent-2020-04-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched/debug: Add task uclamp values to SCHED_DEBUG procfs
        sched/debug: Factor out printing formats into common macros
        sched/debug: Remove redundant macro define
        sched/core: Remove unused rq::last_load_update_tick
        workqueue: Remove the warning in wq_worker_sleeping()
        sched/fair: Fix negative imbalance in imbalance calculation
        sched/fair: Fix race between runtime distribution and assignment
        sched/fair: Align rq->avg_idle and rq->avg_scan_cost
      590680d1
    • Linus Torvalds's avatar
      Merge tag 'perf-urgent-2020-04-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 20e2aa81
      Linus Torvalds authored
      Pull perf fixes from Thomas Gleixner:
       "Three fixes/updates for perf:
      
         - Fix the perf event cgroup tracking which tries to track the cgroup
           even for disabled events.
      
         - Add Ice Lake server support for uncore events
      
         - Disable pagefaults when retrieving the physical address in the
           sampling code"
      
      * tag 'perf-urgent-2020-04-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf/core: Disable page faults when getting phys address
        perf/x86/intel/uncore: Add Ice Lake server uncore support
        perf/cgroup: Correct indirection in perf_less_group_idx()
        perf/core: Fix event cgroup tracking
      20e2aa81
    • Linus Torvalds's avatar
      Merge tag 'locking-urgent-2020-04-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 652fa53c
      Linus Torvalds authored
      Pull locking fixes from Thomas Gleixner:
       "Three small fixes/updates for the locking core code:
      
         - Plug a task struct reference leak in the percpu rswem
           implementation.
      
         - Document the refcount interaction with PID_MAX_LIMIT
      
         - Improve the 'invalid wait context' data dump in lockdep so it
           contains all information which is required to decode the problem"
      
      * tag 'locking-urgent-2020-04-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        locking/lockdep: Improve 'invalid wait context' splat
        locking/refcount: Document interaction with PID_MAX_LIMIT
        locking/percpu-rwsem: Fix a task_struct refcount
      652fa53c
    • Linus Torvalds's avatar
      Merge tag '5.7-rc-smb3-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6 · 4119bf9f
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "Ten cifs/smb fixes:
      
         - five RDMA (smbdirect) related fixes
      
         - add experimental support for swap over SMB3 mounts
      
         - also a fix which improves performance of signed connections"
      
      * tag '5.7-rc-smb3-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6:
        smb3: enable swap on SMB3 mounts
        smb3: change noisy error message to FYI
        smb3: smbdirect support can be configured by default
        cifs: smbd: Do not schedule work to send immediate packet on every receive
        cifs: smbd: Properly process errors on ib_post_send
        cifs: Allocate crypto structures on the fly for calculating signatures of incoming packets
        cifs: smbd: Update receive credits before sending and deal with credits roll back on failure before sending
        cifs: smbd: Check send queue size before posting a send
        cifs: smbd: Merge code to track pending packets
        cifs: ignore cached share root handle closing errors
      4119bf9f
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-5.7-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs · 50bda5fa
      Linus Torvalds authored
      Pull NFS client bugfix from Trond Myklebust:
       "Fix an RCU read lock leakage in pnfs_alloc_ds_commits_list()"
      
      * tag 'nfs-for-5.7-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
        pNFS: Fix RCU lock leakage
      50bda5fa
  5. 11 Apr, 2020 2 commits