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-...@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 {
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to