Date: Wed, 11 May 2016 00:41:40 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299399 - head/sys/dev/dpaa Message-ID: <201605110041.u4B0fejm039124@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Wed May 11 00:41:40 2016 New Revision: 299399 URL: https://svnweb.freebsd.org/changeset/base/299399 Log: Don't mark the initial portal registers as fully mapped. BMan and QMan will do this at attach time. Even though the registers are mapped now, dpaa_portal_map_registers() will be called at BMan and QMan attach time, updating the mappings to be private, and in the case of cache-enabled registers, marked as coherent memory mappings. Modified: head/sys/dev/dpaa/portals_common.c Modified: head/sys/dev/dpaa/portals_common.c ============================================================================== --- head/sys/dev/dpaa/portals_common.c Wed May 11 00:37:15 2016 (r299398) +++ head/sys/dev/dpaa/portals_common.c Wed May 11 00:41:40 2016 (r299399) @@ -91,7 +91,6 @@ dpaa_portal_alloc_res(device_t dev, stru sc->sc_rrid[0], sc->sc_rres[0]); return (ENXIO); } - sc->sc_dp[PCPU_GET(cpuid)].dp_regs_mapped = 1; } /* Acquire portal's CE_PA and CI_PA */ rle = resource_list_find(res, SYS_RES_MEMORY, 0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605110041.u4B0fejm039124>