Date: Mon, 8 Aug 2016 17:53:51 +0000 (UTC) From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r303839 - stable/11/sys/boot/fdt/dts/arm Message-ID: <201608081753.u78HrpA2091017@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gonzo Date: Mon Aug 8 17:53:51 2016 New Revision: 303839 URL: https://svnweb.freebsd.org/changeset/base/303839 Log: MFC r303726 Fix EHCI driver by excluding first 512K from available memory On Zynq 256K-512K memory region is not accessible by all bus masters. EHCI driver fails when trying to use it for DMA transfers. Patching memory node does not help because ubldr overrides values there with the ones obtained from u-boot. So as a workaround we just mark first 512K as reserved. PR: 211484 Submitted by: Thomas Skibo <thoma555-bsd@yahoo.com> Approved by: re (gjb) Modified: stable/11/sys/boot/fdt/dts/arm/zynq-7000.dtsi Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/boot/fdt/dts/arm/zynq-7000.dtsi ============================================================================== --- stable/11/sys/boot/fdt/dts/arm/zynq-7000.dtsi Mon Aug 8 17:44:54 2016 (r303838) +++ stable/11/sys/boot/fdt/dts/arm/zynq-7000.dtsi Mon Aug 8 17:53:51 2016 (r303839) @@ -32,6 +32,10 @@ #size-cells = <1>; interrupt-parent = <&GIC>; + // Reserve first half megabyte because it is not accessible to all + // bus masters. + memreserve = <0x00000000 0x00080000>; + // Zynq PS System registers. // ps7sys@f8000000 {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608081753.u78HrpA2091017>