1. 05 May, 2020 10 commits
    • 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
  2. 21 Apr, 2020 2 commits
  3. 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
  4. 11 Apr, 2020 14 commits
  5. 10 Apr, 2020 4 commits