vrtsystems / linux
forked from torvalds/linuxts7670-4.18.5
Commits on Aug 26, 2018
-
[ARM] update defconfig for ts7400v2/ts7670
sjlongland committedAug 26, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits
Commits on Aug 25, 2018
-
sjlongland committed
Aug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
arm: ts7670: Mark rs232_en as active-low.
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
arm: ts7670b: Add DeviceTree for TS-7670 rev B.
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
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 committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
serial: mxs-auart: dev_dbg not dev_debug.
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
arm: ts-7400v2: Add baud rate PWM support to config.
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
arm: ts-7400v2: Add PWM channel to UART2
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
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 committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[ARM; ts7400v2] Add "LEDs" for turning on/off RS-232.
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[ARM; ts7400v2] Update default config.
- Reconfigured for kernel 4.4.1 - Swap out Freescale built-in watchdog for Technologic Systems external watchdog.
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[watchdog] ts_wdt: pm_power_off does not take arguments.
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[ARM; ts-7400v2] Add entry for TS-7400 watchdog
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[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 committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
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
Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[ARM; ts7400] Add missed backslash.
Missed during cherry-pick of patches across to kernel 4.4.1.
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
ARM: ts7400: Update defconfig for systemd
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
ARM: ts7400: Update defconfig for TS-7400/TS-7670
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
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 committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
ARM: ts7400: Tweak memory size
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
arm: ts7400: Fix OUI for Technologic Systems TS-7400/TS-7670
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
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 committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[ARM; ts7400] Attempt to get mmc1 working
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[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 committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[ARM; ts7400] Add support for RTC
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[ARM; ts7400] Add spidev device for access to companion MCU.
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
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 committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[ARM; ts7400] More appropriate triggers for LEDs
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[ARM; ts7400] Fix USB definitions for kernel 3.15
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[ARM; ts7400] Update .config for TS7400
sjlongland committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
sjlongland committed
Aug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits -
[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 committedAug 25, 2018 Verified
This commit was signed with a verified signature.sjlongland Stuart Longland
GPG key ID: 6AA32EFB18079BAA Learn about signing commits
Commits on Aug 24, 2018
-
gregkh committed
Aug 24, 2018 -
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>