u-boot-brain/drivers
Bin Meng 793c819c6e usb: xhci: Set accurate add context flags when updating hub attributes
If a USB 3.0 hub is plugged into the root port of the xHC, the xHCI
driver will issue a 'Configure Endpoint' command to the xHC for it
to update its internal data structure for this hub device. The hub
attributes are in the slot context so we need tell xHC to update the
slot context by setting the add context flags of the input control
context to only cover the slot context.

At present the add context flags is or'ed with the slot context bit,
but it should really be accurately set to the slot context, as the
variable that holds the value of the add context flags comes from
whatever was set in the last command execution, which may contain
additional contexts that 'Configure Endpoint' command should not
touch. Some xHC implementations like x86 don't complain such, but
it was observed on Renesas RCar Gen3 platform that the RCar xHC
complains with a 'TRB error' completion codes as the response.

Reported-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Marek Vasut <marek.vasut@gmail.com>
Tested-by: Matthias Blankertz <matthias.blankertz@cetitec.com>
2018-05-30 11:59:10 +02:00
..
adc adc: add Amlogic Meson SAR ADC driver 2018-05-08 09:07:40 -04:00
ata scsi: ceva: Convert driver to use UCLASS_AHCI instead of SCSI 2018-05-11 09:23:43 +02:00
bios_emulator SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
block SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bootcount SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk clk: at91: clk-h32mx: replace dm_warn with dev_dbg 2018-05-23 17:30:03 -04:00
core regmap: add regmap_update_bits() helper 2018-05-08 09:07:40 -04:00
cpu SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
crypto SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr SPDX: Fixup SPDX tags in a few new files 2018-05-20 09:47:45 -04:00
demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dma SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
firmware SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fpga SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gpio gpio: atmel_pio4: give a full configuration when muxing pins 2018-05-08 09:07:36 -04:00
i2c i2c: Drop CONFIG_SH_SH7734_I2C 2018-05-23 17:30:04 -04:00
input SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
led dm: led: auto probe() LEDs with "default-state" 2018-05-08 09:07:33 -04:00
mailbox SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc stm32mp1: add FUSE command support 2018-05-26 18:19:18 -04:00
mmc mmc: stm32_sdmmc2: Fix stm32_sdmmc2_start_cmd() 2018-05-26 18:19:19 -04:00
mtd Merge git://git.denx.de/u-boot-tegra 2018-05-11 15:22:36 -04:00
net net: Drop CONFIG_TSI108_ETH 2018-05-23 17:30:03 -04:00
nvme SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pch SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci PCI: autoconfig: Don't allocate 64-bit addresses to 32-bit only resources 2018-05-26 12:46:50 -04:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
phy SPDX: Fixup SPDX tags in a few new files 2018-05-20 09:47:45 -04:00
pinctrl pinctrl: do not set_state for device without valid ofnode 2018-05-16 00:25:19 -06:00
power sandbox: Rewrite i2c_pmic_emul.c to support PMIC with 3 bytes transmission 2018-05-18 08:27:26 +02:00
pwm pwm: sunxi: add support for PWM found on Allwinner A64 2018-05-15 08:18:09 +02:00
qe SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ram ram: stm32_sdram: Adds stm32f429-disco fixes for HardFault at booting 2018-05-26 18:19:17 -04:00
remoteproc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reset regmap: change regmap_init_mem() to take ofnode instead udevice 2018-05-07 15:49:51 -04:00
rtc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
scsi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial serial: stm32: Add setparity support 2018-05-26 18:19:18 -04:00
soc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sound SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spi spi: mvebu_a3700_spi: Use Armada 37xx clk driver for SPI clock frequency 2018-05-14 10:00:15 +02:00
spmi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset regmap: clean up regmap allocation 2018-05-07 15:15:27 -04:00
thermal SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer timer: Add Cadence TTC timer counter support 2018-05-11 09:23:43 +02:00
tpm tpm: add a Sandbox TPMv2.x driver 2018-05-25 20:13:00 -04:00
usb usb: xhci: Set accurate add context flags when updating hub attributes 2018-05-30 11:59:10 +02:00
video video: dw_hdmi: fix HSYNC and VSYNC polarity settings 2018-05-15 08:03:42 +02:00
watchdog watchdog: Add support for Armada 37xx CPU watchdog 2018-05-14 10:00:15 +02:00
Kconfig bootcount: add support for bootcounter on EXT filesystem 2017-11-20 09:58:31 +01:00
Makefile bootcount: spl: Enable bootcount support in SPL 2018-05-10 20:37:05 -04:00