Skip to content
Permalink
ts7670-4.18.5

Commits on Aug 26, 2018

Commits on Aug 25, 2018

  1. arm: ts7670: Fix DTBs

    sjlongland committed Aug 25, 2018
  2. arm: ts-7670d: New port for TS-7670 rev D.

    The revision D TS-7670 uses eMMC on the GPMI pins instead of NAND flash,
    and so requires a different device tree layout.
    sjlongland committed Aug 25, 2018
  3. serial: mxs-auart: Add support for baud rate PWM sync.

    This uses a PWM channel at 50% duty cycle to synchronise an external
    device to the baud rate of the serial port.
    
    The PWM channel is specified in the device tree:
    
    	auart2: serial@8006e000 {
    		pinctrl-names = "default";
    		pinctrl-0 = <&auart2_2pins_a>;
    		pwms = <&pwm 2 9600 0>;
    		status = "okay";
    	};
    sjlongland committed Aug 25, 2018
  4. [ARM; ts7400v2] Update default config.

    - Reconfigured for kernel 4.4.1
    - Swap out Freescale built-in watchdog for Technologic Systems external
      watchdog.
    sjlongland committed Aug 25, 2018
  5. [ARM; ts7400] Rename dts consistent with U-boot

    Rename the dts for the TS-7670/TS-7400v2 to be consistent with that used
    in U-Boot provided by Technologic Systems.
    sjlongland committed Aug 25, 2018
  6. Set up proper NOWAYOUT for TS WDT Set stop of TS WDT to actually disa…

    …ble WDT, not instantly reset Added support for MAGICCLOSE since thats a common thing Added a do_ts_halt function for TS WDT and assign it in linux pm
    ts-kris authored and sjlongland committed Aug 25, 2018
  7. [ARM; ts7400] Add missed backslash.

    Missed during cherry-pick of patches across to kernel 4.4.1.
    sjlongland committed Aug 25, 2018
  8. ARM: ts7400: Disable spi-gpio for companion IC comms

    It seems someone goofed up with the design of the modem daughter card
    and wired up some of the modems (notably reset and RTS) to the SPI
    signals going to the Cortex M0 companion chip.
    
    Consequently, I've had to disable this feature and will have to look at
    what signals being asserted on the GPIO lines cause the modem to break.
    sjlongland committed Aug 25, 2018
  9. [ARM; ts7400] Working mmc1

    Finally got mmc1 working.  I had tried booting with this change and
    still didn't get any sense from the card, but then after powering off
    and re-seating the SD card, the card magically started working.
    sjlongland committed Aug 25, 2018
  10. [ARM; ts7400] Remove regulators for RS232, MODBUS, etc.

    Regulators sound like the right tool for the job but:
    - they can't be controlled from userspace
    - the serial driver's don't know how to turn them on and off
    
    The RS-232 ports have a transceiver that is switched by GPIO 1/25.
    The Modbus port has some pins that output 24V when GPIOs 1/13 and 1/15
    are both turned on.  There's also a status pin to indicate a fault on
    GPIO 1/14.
    
    We'll just leave the GPIOs unregistered so they can be accessed via
    userspace.
    sjlongland committed Aug 25, 2018
  11. [ARM; ts7400] Add in spi0 bus

    spi0 is a bit-banged bus from what I can see, and it is one of two
    possible connections to the LPC11U12 MCU that acts as the companion MCU
    for the i.MX286.
    sjlongland committed Aug 25, 2018
  12. [ARM] Port to Technologics TS-7400/TS-7670 single-board computer

    Things that appear to work:
    - LEDs
    - Ethernet
    - Flash (is at least seen, not tested)
    - Serial interfaces (again, at least seen, not tested)
    - USB (works fine)
    
    What doesn't work:
    - MicroSD card slots.
    sjlongland committed Aug 25, 2018

Commits on Aug 24, 2018

  1. Linux 4.18.5

    gregkh committed Aug 24, 2018
  2. reiserfs: fix broken xattr handling (heap corruption, bad retval)

    commit a13f085 upstream.
    
    This fixes the following issues:
    
    - When a buffer size is supplied to reiserfs_listxattr() such that each
      individual name fits, but the concatenation of all names doesn't fit,
      reiserfs_listxattr() overflows the supplied buffer.  This leads to a
      kernel heap overflow (verified using KASAN) followed by an out-of-bounds
      usercopy and is therefore a security bug.
    
    - When a buffer size is supplied to reiserfs_listxattr() such that a
      name doesn't fit, -ERANGE should be returned.  But reiserfs instead just
      truncates the list of names; I have verified that if the only xattr on a
      file has a longer name than the supplied buffer length, listxattr()
      incorrectly returns zero.
    
    With my patch applied, -ERANGE is returned in both cases and the memory
    corruption doesn't happen anymore.
    
    Credit for making me clean this code up a bit goes to Al Viro, who pointed
    out that the ->actor calling convention is suboptimal and should be
    changed.
    
    Link: http://lkml.kernel.org/r/20180802151539.5373-1-jannh@google.com
    Fixes: 48b32a3 ("reiserfs: use generic xattr handlers")
    Signed-off-by: Jann Horn <jannh@google.com>
    Acked-by: Jeff Mahoney <jeffm@suse.com>
    Cc: Eric Biggers <ebiggers@google.com>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    thejh authored and gregkh committed Aug 24, 2018
Older
You can’t perform that action at this time.