1. 25 Feb, 2020 1 commit
  2. 20 Feb, 2020 1 commit
    • Varun Wadekar's avatar
      Tegra: spe: uninit console on a timeout · 8a47fe43
      Varun Wadekar authored
      
      
      There are chances a denial-of-service attack, if an attacker
      removes the SPE firmware from the system. The console driver
      would end up waiting for the firmware to respond indefinitely.
      The console driver must detect such scenarios and uninit the
      interface as a result.
      
      This patch adds a timeout to the interaction with the SPE
      firmware and uninits the interface if it times out.
      
      Change-Id: I06f27a858baed25711d41105b4110865f1a01727
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      8a47fe43
  3. 15 Aug, 2019 1 commit
  4. 05 Feb, 2019 1 commit
    • Varun Wadekar's avatar
      Tegra: spe: prepend '\r' to '\n' · 843d0aad
      Varun Wadekar authored
      
      
      This patch udpates the SPE console driver to prepend '\r' to
      '\n'. This fixes the alignment of prints seen by the host
      machines on their UART ports.
      
      Tested by collecting the logs from host PC using Cutecom
      
      Reported by: Mustafa Bilgen <mbilgen@nvidia.com>
      
      Change-Id: I6e0b412bd71ff5eb889582071df8c157da5175ed
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      843d0aad
  5. 23 Jan, 2019 1 commit
    • Varun Wadekar's avatar
      Tegra: spe: shared console for Tegra platforms · dd20f5b3
      Varun Wadekar authored
      
      
      There are Tegra platforms which have limited UART ports and so
      all the components have to share the console. The SPE helps out
      by collecting all the logs in such cases and prints them on the
      shared UART port.
      
      This patch adds a driver to communicate with the SPE driver, which
      in turn provides the console.
      
      Change-Id: Ie750520b936b8bed0ab1d876f03fc0a3490a85a3
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      dd20f5b3