Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Nov 2004 17:41:48 -0600
From:      "James R. Van Artsalen" <james@jrv.org>
To:        Vinod Kashyap <vkashyap@amcc.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: How to debug >2GB memory issues (and 3ware)
Message-ID:  <4190043C.3030409@jrv.org>
In-Reply-To: <I6VW1I00.TN1@hadar.amcc.com>
References:  <I6VW1I00.TN1@hadar.amcc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Vinod Kashyap wrote:

>The 3ware driver (twe) for 7xxx/8xxx controllers can handle upto
>4 GB memory on FreeBSD 4.x, and beyond 4 GB on FreeBSD 5.x.  The
>driver (twa) for 9xxx controllers can handle memory beyond 4 GB
>on both 4.x and 5.x.
>  
>

The twe driver in MAIN seems to be limited to direct access to the lower 
4GB.  Am I misinterpreting the significance of this code in twe_freebsd.c?

    /*
     * Allocate the parent bus DMA tag appropriate for PCI.
     */
    if (bus_dma_tag_create(NULL, 				/* parent */
			   1, 0, 				/* alignment, boundary */
			   BUS_SPACE_MAXADDR_32BIT, 		/* lowaddr */
			   BUS_SPACE_MAXADDR, 			/* highaddr */
			   NULL, NULL, 				/* filter, filterarg */
			   MAXBSIZE, TWE_MAX_SGL_LENGTH,	/* maxsize, nsegments */
			   BUS_SPACE_MAXSIZE_32BIT,		/* maxsegsize */
			   BUS_DMA_ALLOCNOW,			/* flags */
			   NULL,				/* lockfunc */
			   NULL,				/* lockarg */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4190043C.3030409>