1. Sep 29, 2020
    • Mychaela N. Falconia's avatar
      USB: serial: ftdi_sio: add support for FreeCalypso JTAG+UART adapters · 6cf87e5e
      Mychaela N. Falconia authored
      
      
      There exist many FT2232-based JTAG+UART adapter designs in which
      FT2232 Channel A is used for JTAG and Channel B is used for UART.
      The best way to handle them in Linux is to have the ftdi_sio driver
      create a ttyUSB device only for Channel B and not for Channel A:
      a ttyUSB device for Channel A would be bogus and will disappear as
      soon as the user runs OpenOCD or other applications that access
      Channel A for JTAG from userspace, causing undesirable noise for
      users.  The ftdi_sio driver already has a dedicated quirk for such
      JTAG+UART FT2232 adapters, and it requires assigning custom USB IDs
      to such adapters and adding these IDs to the driver with the
      ftdi_jtag_quirk applied.
      
      Boutique hardware manufacturer Falconia Partners LLC has created a
      couple of JTAG+UART adapter designs (one buffered, one unbuffered)
      as part of FreeCalypso project, and this hardware is specifically made
      to be used with Linux hosts, with the intent that Channel A will be
      accessed only from userspace via appropriate applications, and that
      Channel B will be supported by the ftdi_sio kernel driver, presenting
      a standard ttyUSB device to userspace.  Toward this end the hardware
      manufacturer will be programming FT2232 EEPROMs with custom USB IDs,
      specifically with the intent that these IDs will be recognized by
      the ftdi_sio driver with the ftdi_jtag_quirk applied.
      
      Signed-off-by: default avatarMychaela N. Falconia <falcon@freecalypso.org>
      [johan: insert in PID order and drop unused define]
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      6cf87e5e
  2. Sep 21, 2020
  3. Sep 20, 2020
  4. Sep 19, 2020
    • Linus Torvalds's avatar
      Merge tag 's390-5.9-6' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · eb5f95f1
      Linus Torvalds authored
      Pull s390 fixes from Vasily Gorbik:
      
       - Fix order in trace_hardirqs_off_caller() to make locking state
         consistent even if the IRQ tracer calls into lockdep again. Touches
         common code. Acked-by Peter Zijlstra.
      
       - Correctly handle secure storage violation exception to avoid kernel
         panic triggered by user space misbehaviour.
      
       - Switch the idle->seqcount over to using raw_write_*() to avoid
        "suspicious RCU usage".
      
       - Fix memory leaks on hard unplug in pci code.
      
       - Use kvmalloc instead of kmalloc for larger allocations in zcrypt.
      
       - Add few missing __init annotations to static functions to avoid
         section mismatch complains when functions are not inlined.
      
      * tag 's390-5.9-6' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390: add 3f program exception handler
        lockdep: fix order in trace_hardirqs_off_caller()
        s390/pci: fix leak of DMA tables on hard unplug
        s390/init: add missing __init annotations
        s390/zcrypt: fix kmalloc 256k failure
        s390/idle: fix suspicious RCU usage
      eb5f95f1