Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2018 14:06:49 -0300
From:      Leandro <leandro.lupori@gmail.com>
To:        jhb@freebsd.org
Cc:        luporl@freebsd.org, src-committers@freebsd.org,  svn-src-projects@freebsd.org
Subject:   Re: svn commit: r339382 - projects/power8_bringup_hacks/sys/dev/bge
Message-ID:  <CAC7XEc%2BW%2BwmHNS3FKp3PhnpoW3xGrDmA7hrnaT1b7L9ph6vX7w@mail.gmail.com>
In-Reply-To: <8a90e167-a4ac-c32f-ae9c-d71f0fcb5471@FreeBSD.org>
References:  <201810161636.w9GGa3Nl001743@repo.freebsd.org> <8a90e167-a4ac-c32f-ae9c-d71f0fcb5471@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
The issue seems to be related to wrong configuration of DMA regions in
opal_pci.c, which affects all PowerNV platforms.
This is where I'm going to look next, that, if solved, we should be
able to remove this hack.
This is just to make the network interface stable, until the real
issue is resolved.
On Tue, Oct 16, 2018 at 1:55 PM John Baldwin <jhb@freebsd.org> wrote:
>
> On 10/16/18 9:36 AM, Leandro Lupori wrote:
> > Author: luporl
> > Date: Tue Oct 16 16:36:02 2018
> > New Revision: 339382
> > URL: https://svnweb.freebsd.org/changeset/base/339382
> >
> > Log:
> >   bge(4): limit DMA address to 2GB
> >
> >   This is a temporary hack, to avoid POWER8 Broadcom NICs from becoming
> >   unusable after transferring a reasonable amount of data.
> >   The issue is the same as that of AHCI, where DMA addresses above 2GB
> >   do not work and causes PCI errors.
>
> Is the issue bge specific or specific to the PCI chipset in these boxes?
> If the latter, the better approach would be to set the limit in a tag the
> chipset provides that all child devices would then inherit.
>
> --
> John Baldwin
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC7XEc%2BW%2BwmHNS3FKp3PhnpoW3xGrDmA7hrnaT1b7L9ph6vX7w>