[U-Boot] Please pull u-boot-dm

Hi Tom,
The following changes since commit 208ecbad2ea83333e8f3c9933213867addf16f4a:
Merge branch 'next' (2018-11-14 11:30:07 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/pull-14nov18
for you to fetch changes up to 4c6e27f63c88d065a98f438085dfc36af47d3a23:
Revert "imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO" (2018-11-14 09:16:28 -0800)
---------------------------------------------------------------- - virtio implementation and supporting patches - DM_FLAG_PRE_RELOC fixes - regmap improvements - minor buildman and sandbox things
---------------------------------------------------------------- Bin Meng (50): dm: cpu: Fix print_cpuinfo() output cpu: mpc83xx: Remove unnecessary characters in the description string dm: util: Add a livetree equivalent API of dm_fdt_pre_reloc() dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt() dm: Correct pre_reloc_only parameter description in several APIs' comments dm: core: Mirror the chosen node parse logic in the livetree scanning test: dm: core: Add a test case for driver marked with DM_FLAG_PRE_RELOC flag timer: Sort Kconfig driver entries dm: core: Allow uclass to set up a device's child after it is probed test: dm: core: Add test case for uclass driver's child_post_probe() riscv: bootm: Add dm_remove_devices_flags() call to do_bootm_linux() dm: Add a new uclass driver for VirtIO transport devices virtio: Add virtio over mmio transport driver test: dm: blk: Correct blk_base test case sandbox: blk: Switch to use platdata_auto_alloc_size for the driver data efi_driver: blk: Switch to use platdata_auto_alloc_size for the driver data blk: Call part_init() in the post_probe() method blk: Drop blk_prepare_device() blk: Make blk_next_free_devnum() public riscv: qemu: Enumerate virtio bus during early boot riscv: qemu: Include some useful commands kconfig: Introduce HAVE_ARCH_IOMAP x86: Implement arch-specific io accessor routines virtio: Add virtio over pci transport driver arm: qemu: Add a Kconfig in the board directory arm: qemu: Enumerate virtio bus during early boot x86: qemu: Imply virtio PCI transport and device drivers dm: pci: Add APIs to find next capability and extended capability test: dm: pci: Add cases for finding next PCI capability APIs virtio: pci: Support non-legacy PCI transport device virtio: net: Support non-legacy device virtio: Add a Sandbox transport driver test: dm: virtio: Add test cases for virtio uclass doc: Document virtio support arm: stm32mp: Remove DM_FLAG_PRE_RELOC flag clk: Remove DM_FLAG_PRE_RELOC flag in various drivers gpio: Remove DM_FLAG_PRE_RELOC flag in various drivers i2c: omap24xx: Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check mmc: omap: Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check pinctrl: Remove DM_FLAG_PRE_RELOC flag in various drivers ram: bmips: Remove DM_FLAG_PRE_RELOC flag timer: Remove DM_FLAG_PRE_RELOC flag in various drivers serial: Remove DM_FLAG_PRE_RELOC flag in various drivers sysreset: Remove DM_FLAG_PRE_RELOC flag in various drivers video: simplefb: Remove DM_FLAG_PRE_RELOC flag watchdog: Remove DM_FLAG_PRE_RELOC flag in various drivers dm: doc: Update description of pre-relocation support cpu: Add DM_FLAG_PRE_RELOC flag to various cpu drivers cpu: sandbox: Add "u-boot, dm-pre-reloc" for all cpu nodes Revert "imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO"
Liviu Dudau (1): uclass: Use uclass_foreach_dev() macro instead of open coding
Mario Six (18): board_f: Use static print_cpuinfo if CONFIG_CPU is active test: regmap: Increase size of syscon0 memory regmap: Fix documentation regmap: Add documentation regmap: Improve error handling misc: Sort Makefile entries misc: Add gdsys_soc driver misc: Add IHS FPGA driver core: ofnode: Fix mem leak in error path regmap: Introduce init_range regmap: Add error output mips: Implement {in, out}_{le, be}_{16, 32, 64} and {in, out}_8 regmap: Add raw read/write functions regmap: Support reading from specific range regmap: Define regmap_{get,set} test: regmap: Add test for regmap_{set, get} regmap: Add endianness support regmap: Add overview documentation
Simon Glass (2): sandbox: Try to start the RAM buffer at a particular address buildman: Add a --boards option to specify particular boards to build
Simon Goldschmidt (1): serial: ns16550: fix debug uart putc called before init
Tuomas Tynkkynen (5): virtio: Add codes for virtual queue/ring management virtio: Add net driver support blk: Introduce IF_TYPE_VIRTIO virtio: Add block driver support virtio: cmd: Add virtio command for virtio devices
Documentation/devicetree/bindings/misc/gdsys,iocon_fpga.txt | 19 + Documentation/devicetree/bindings/misc/gdsys,iocpu_fpga.txt | 19 + Documentation/devicetree/bindings/misc/gdsys,soc.txt | 16 + arch/Kconfig | 6 + arch/arm/Kconfig | 1 + arch/arm/mach-stm32mp/bsec.c | 1 - arch/mips/include/asm/io.h | 22 + arch/riscv/lib/bootm.c | 11 +- arch/sandbox/cpu/os.c | 7 +- arch/sandbox/dts/test.dts | 17 +- arch/x86/cpu/baytrail/cpu.c | 1 + arch/x86/cpu/broadwell/cpu.c | 1 + arch/x86/cpu/cpu_x86.c | 1 + arch/x86/cpu/ivybridge/model_206ax.c | 1 + arch/x86/cpu/tangier/sysreset.c | 1 - arch/x86/include/asm/io.h | 66 +++ board/emulation/qemu-arm/Kconfig | 13 + board/emulation/qemu-arm/qemu-arm.c | 10 + board/emulation/qemu-riscv/Kconfig | 11 + board/emulation/qemu-riscv/qemu-riscv.c | 9 + board/emulation/qemu-x86/Kconfig | 3 + cmd/Kconfig | 7 + cmd/Makefile | 1 + cmd/sata.c | 9 - cmd/virtio.c | 38 ++ common/board_f.c | 28 + common/usb_storage.c | 4 +- configs/imx8qxp_mek_defconfig | 1 - configs/qemu_arm64_defconfig | 1 - configs/qemu_arm_defconfig | 1 - configs/sandbox_noblk_defconfig | 1 + disk/part.c | 6 + doc/README.virtio | 253 +++++++++ doc/driver-model/README.txt | 16 +- drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/block/blk-uclass.c | 25 +- drivers/block/ide.c | 2 - drivers/block/sandbox.c | 17 +- drivers/clk/altera/clk-arria10.c | 1 - drivers/clk/clk_pic32.c | 1 - drivers/clk/clk_zynq.c | 1 - drivers/clk/exynos/clk-exynos7420.c | 3 - drivers/clk/owl/clk_s900.c | 1 - drivers/core/device.c | 2 +- drivers/core/dump.c | 2 +- drivers/core/lists.c | 9 +- drivers/core/ofnode.c | 4 +- drivers/core/regmap.c | 316 ++++++++++- drivers/core/root.c | 20 +- drivers/core/uclass.c | 31 +- drivers/core/util.c | 25 + drivers/cpu/mpc83xx_cpu.c | 2 +- drivers/gpio/omap_gpio.c | 2 + drivers/gpio/stm32f7_gpio.c | 2 +- drivers/gpio/tegra186_gpio.c | 1 - drivers/gpio/tegra_gpio.c | 1 - drivers/i2c/omap24xx_i2c.c | 2 + drivers/misc/Kconfig | 17 + drivers/misc/Makefile | 63 ++- drivers/misc/gdsys_soc.c | 74 +++ drivers/misc/gdsys_soc.h | 23 + drivers/misc/ihs_fpga.c | 867 +++++++++++++++++++++++++++++ drivers/misc/ihs_fpga.h | 49 ++ drivers/misc/imx8/scu.c | 4 +- drivers/misc/swap_case.c | 9 + drivers/mmc/mmc.c | 3 - drivers/mmc/omap_hsmmc.c | 2 + drivers/nvme/nvme.c | 1 - drivers/pci/pci-uclass.c | 51 +- drivers/pinctrl/broadcom/pinctrl-bcm283x.c | 2 + drivers/pinctrl/exynos/pinctrl-exynos7420.c | 1 - drivers/pinctrl/nxp/pinctrl-imx5.c | 2 + drivers/pinctrl/nxp/pinctrl-imx6.c | 2 + drivers/pinctrl/nxp/pinctrl-imx7.c | 2 + drivers/pinctrl/nxp/pinctrl-imx7ulp.c | 2 + drivers/pinctrl/pinctrl-single.c | 1 - drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 2 + drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c | 2 + drivers/ram/bmips_ram.c | 1 - drivers/scsi/scsi.c | 1 - drivers/serial/altera_jtag_uart.c | 1 - drivers/serial/altera_uart.c | 1 - drivers/serial/arm_dcc.c | 1 - drivers/serial/atmel_usart.c | 2 + drivers/serial/ns16550.c | 20 +- drivers/serial/serial-uclass.c | 2 +- drivers/serial/serial_ar933x.c | 1 - drivers/serial/serial_arc.c | 1 - drivers/serial/serial_bcm283x_mu.c | 2 + drivers/serial/serial_bcm283x_pl011.c | 2 + drivers/serial/serial_bcm6345.c | 1 - drivers/serial/serial_efi.c | 1 - drivers/serial/serial_intel_mid.c | 1 - drivers/serial/serial_lpuart.c | 1 - drivers/serial/serial_meson.c | 1 - drivers/serial/serial_mvebu_a3700.c | 1 - drivers/serial/serial_mxc.c | 2 + drivers/serial/serial_omap.c | 2 + drivers/serial/serial_owl.c | 1 - drivers/serial/serial_pic32.c | 1 - drivers/serial/serial_pl01x.c | 2 + drivers/serial/serial_s5p.c | 1 - drivers/serial/serial_sh.c | 2 + drivers/serial/serial_sti_asc.c | 1 - drivers/serial/serial_stm32.c | 2 + drivers/serial/serial_xuartlite.c | 1 - drivers/serial/serial_zynq.c | 1 - drivers/sysreset/sysreset_x86.c | 1 - drivers/timer/Kconfig | 110 ++-- drivers/timer/ag101p_timer.c | 1 - drivers/timer/altera_timer.c | 1 - drivers/timer/arc_timer.c | 1 - drivers/timer/ast_timer.c | 1 - drivers/timer/atcpit100_timer.c | 1 - drivers/timer/atmel_pit_timer.c | 1 - drivers/timer/cadence-ttc.c | 1 - drivers/timer/dw-apb-timer.c | 1 - drivers/timer/mpc83xx_timer.c | 1 - drivers/timer/omap-timer.c | 1 - drivers/timer/rockchip_timer.c | 1 - drivers/timer/sti-timer.c | 1 - drivers/timer/stm32_timer.c | 1 - drivers/timer/timer-uclass.c | 2 +- drivers/timer/tsc_timer.c | 1 - drivers/video/simplefb.c | 1 - drivers/virtio/Kconfig | 62 +++ drivers/virtio/Makefile | 11 + drivers/virtio/virtio-uclass.c | 369 ++++++++++++ drivers/virtio/virtio_blk.c | 137 +++++ drivers/virtio/virtio_blk.h | 129 +++++ drivers/virtio/virtio_mmio.c | 413 ++++++++++++++ drivers/virtio/virtio_mmio.h | 129 +++++ drivers/virtio/virtio_net.c | 239 ++++++++ drivers/virtio/virtio_net.h | 268 +++++++++ drivers/virtio/virtio_pci.h | 173 ++++++ drivers/virtio/virtio_pci_legacy.c | 421 ++++++++++++++ drivers/virtio/virtio_pci_modern.c | 609 ++++++++++++++++++++ drivers/virtio/virtio_ring.c | 358 ++++++++++++ drivers/virtio/virtio_sandbox.c | 233 ++++++++ drivers/watchdog/ast_wdt.c | 1 - include/blk.h | 22 +- include/dm/device-internal.h | 4 +- include/dm/lists.h | 9 +- include/dm/root.h | 17 +- include/dm/test.h | 1 + include/dm/uclass-id.h | 1 + include/dm/uclass.h | 4 +- include/dm/util.h | 27 +- include/init.h | 7 + include/linux/io.h | 4 + include/pci.h | 48 ++ include/regmap.h | 232 +++++++- include/virtio.h | 707 +++++++++++++++++++++++ include/virtio_ring.h | 320 +++++++++++ include/virtio_types.h | 24 + lib/Kconfig | 6 + lib/efi/efi_app.c | 1 - lib/efi_driver/efi_block_device.c | 26 +- test/dm/Makefile | 1 + test/dm/blk.c | 27 +- test/dm/bus.c | 47 +- test/dm/pci.c | 20 + test/dm/regmap.c | 30 +- test/dm/test-fdt.c | 36 +- test/dm/virtio.c | 122 ++++ tools/buildman/README | 12 +- tools/buildman/board.py | 28 +- tools/buildman/cmdline.py | 4 +- tools/buildman/control.py | 20 +- tools/buildman/test.py | 31 +- 171 files changed, 7486 insertions(+), 343 deletions(-) create mode 100644 Documentation/devicetree/bindings/misc/gdsys,iocon_fpga.txt create mode 100644 Documentation/devicetree/bindings/misc/gdsys,iocpu_fpga.txt create mode 100644 Documentation/devicetree/bindings/misc/gdsys,soc.txt create mode 100644 board/emulation/qemu-arm/Kconfig create mode 100644 cmd/virtio.c create mode 100644 doc/README.virtio create mode 100644 drivers/misc/gdsys_soc.c create mode 100644 drivers/misc/gdsys_soc.h create mode 100644 drivers/misc/ihs_fpga.c create mode 100644 drivers/misc/ihs_fpga.h create mode 100644 drivers/virtio/Kconfig create mode 100644 drivers/virtio/Makefile create mode 100644 drivers/virtio/virtio-uclass.c create mode 100644 drivers/virtio/virtio_blk.c create mode 100644 drivers/virtio/virtio_blk.h create mode 100644 drivers/virtio/virtio_mmio.c create mode 100644 drivers/virtio/virtio_mmio.h create mode 100644 drivers/virtio/virtio_net.c create mode 100644 drivers/virtio/virtio_net.h create mode 100644 drivers/virtio/virtio_pci.h create mode 100644 drivers/virtio/virtio_pci_legacy.c create mode 100644 drivers/virtio/virtio_pci_modern.c create mode 100644 drivers/virtio/virtio_ring.c create mode 100644 drivers/virtio/virtio_sandbox.c create mode 100644 include/virtio.h create mode 100644 include/virtio_ring.h create mode 100644 include/virtio_types.h create mode 100644 test/dm/virtio.c
Regards, Simon

Hi Tom,
On 15 November 2018 at 08:32, Simon Glass sjg@chromium.org wrote:
Hi Tom,
The following changes since commit 208ecbad2ea83333e8f3c9933213867addf16f4a:
Merge branch 'next' (2018-11-14 11:30:07 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/pull-14nov18
for you to fetch changes up to 4c6e27f63c88d065a98f438085dfc36af47d3a23:
Revert "imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO" (2018-11-14 09:16:28 -0800)
- virtio implementation and supporting patches
- DM_FLAG_PRE_RELOC fixes
- regmap improvements
- minor buildman and sandbox things
I am seeing strange failures with travis-ci.
https://travis-ci.org/sglass68/u-boot/builds/455582198?utm_medium=notificati...
I thought it was something strange with travis-ci but the above run is my second attempt and it fails with the same builds. Lots of stuff about the filesystem tests. But they have been there for a while!
Do you have any ideas?
Regards, Simon

On Thu, Nov 15, 2018 at 12:21:15PM -0800, Simon Glass wrote:
Hi Tom,
On 15 November 2018 at 08:32, Simon Glass sjg@chromium.org wrote:
Hi Tom,
The following changes since commit 208ecbad2ea83333e8f3c9933213867addf16f4a:
Merge branch 'next' (2018-11-14 11:30:07 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/pull-14nov18
for you to fetch changes up to 4c6e27f63c88d065a98f438085dfc36af47d3a23:
Revert "imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO" (2018-11-14 09:16:28 -0800)
- virtio implementation and supporting patches
- DM_FLAG_PRE_RELOC fixes
- regmap improvements
- minor buildman and sandbox things
I am seeing strange failures with travis-ci.
https://travis-ci.org/sglass68/u-boot/builds/455582198?utm_medium=notificati...
I thought it was something strange with travis-ci but the above run is my second attempt and it fails with the same builds. Lots of stuff about the filesystem tests. But they have been there for a while!
Do you have any ideas?
Yes: https://patchwork.ozlabs.org/patch/998330/ which I'm pushing now'ish, since my WIP branch completed again with that applied.

On 15 November 2018 at 13:02, Tom Rini trini@konsulko.com wrote:
On Thu, Nov 15, 2018 at 12:21:15PM -0800, Simon Glass wrote:
Hi Tom,
On 15 November 2018 at 08:32, Simon Glass sjg@chromium.org wrote:
Hi Tom,
The following changes since commit 208ecbad2ea83333e8f3c9933213867addf16f4a:
Merge branch 'next' (2018-11-14 11:30:07 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/pull-14nov18
for you to fetch changes up to 4c6e27f63c88d065a98f438085dfc36af47d3a23:
Revert "imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO" (2018-11-14 09:16:28 -0800)
- virtio implementation and supporting patches
- DM_FLAG_PRE_RELOC fixes
- regmap improvements
- minor buildman and sandbox things
I am seeing strange failures with travis-ci.
https://travis-ci.org/sglass68/u-boot/builds/455582198?utm_medium=notificati...
I thought it was something strange with travis-ci but the above run is my second attempt and it fails with the same builds. Lots of stuff about the filesystem tests. But they have been there for a while!
Do you have any ideas?
Yes: https://patchwork.ozlabs.org/patch/998330/ which I'm pushing now'ish, since my WIP branch completed again with that applied.
Thanks Tom, great to hear.
Regards, Simon

On Thu, Nov 15, 2018 at 08:32:30AM -0800, Simon Glass wrote:
Hi Tom,
The following changes since commit 208ecbad2ea83333e8f3c9933213867addf16f4a:
Merge branch 'next' (2018-11-14 11:30:07 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/pull-14nov18
for you to fetch changes up to 4c6e27f63c88d065a98f438085dfc36af47d3a23:
Revert "imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO" (2018-11-14 09:16:28 -0800)
Applied to u-boot/master, thanks!
participants (2)
-
Simon Glass
-
Tom Rini