Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Sep 2020 11:47:12 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        myfreeweb <greg@unrelenting.technology>
Cc:        Robert Crowston <crowston@protonmail.com>, freebsd-arm@freebsd.org
Subject:   Re: onboard wireless on rpi4
Message-ID:  <99701B38-13FE-40D6-9D94-182E1995644A@yahoo.com>
In-Reply-To: <e10ab99970f407f17f45132d55df3f2a@unrelenting.technology>
References:  <9B62C18C-EE94-4DFE-8EA9-AC7B32966886@yahoo.com> <20200904134619.GB80905@bastion.zyxst.net> <CACNAnaHRn5VGM8G6_kxj7S%2B0LQOSG3CK9=umxj74Qc5v%2BNOLeA@mail.gmail.com> <BE2FA7D2-1266-496E-B808-55204B1AB21A@yahoo.com> <5AF83D16-2432-4EA9-BC2F-373DA8BC3360@googlemail.com> <4306A90D-97B9-4DE9-A05A-A91B6F4A587F@yahoo.com> <sinTekBDB_YOboAoJU0Uld7IaGBlIJ68dPgxuO3kcUuZpTH9KxyTquRgPxU7-0qlvofrr_8HzdCbNL-nRNaT6-OeIyIuLUUvYSGEwEzRVbc=@protonmail.com> <8037E5D3-E89E-4AED-8FFE-43D9D83B2BD3@yahoo.com> <CANCZdfqZZHRQFD2W5MqSpyR-eFGRABN-X37yRBcRNcxBzdtsPg@mail.gmail.com> <24CED3CF-6624-4CE3-A21C-D4BAD88E8812@googlemail.com> <f1TEvkOXAVtF1YAKglflVOIyTD4kNhuWXglfpsJf-x9VfUWNflgIBk-50IO_6iv-TYoaNsgf2FPB6ennhKDvbfgMySl7WDo4swchRlE1Cn0=@protonmail.com> <e10ab99970f407f17f45132d55df3f2a@unrelenting.technology>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-Sep-6, at 11:36, greg at unrelenting.technology wrote:

September 6, 2020 9:20 PM, "Mark Millard via freebsd-arm" <freebsd-arm =
at freebsd.org> wrote:
>=20
>> On 2020-Sep-6, at 08:20, Robert Crowston via freebsd-arm <freebsd-arm =
at freebsd.org> wrote:
>>=20
>>> That's interesting: OpenBSD is allowing only the lowest 1 GB of =
memory for DMA; the documentation I
>>> obtained suggests the first 3 GB should be accessible. I am =
experimenting with this new lower
>>> bound.
>>=20
>> https://rpi4-uefi.dev/tag/netbsd reports:
>>=20
>> QUOTE
>> NetBSD also is the only OS today to fully support ACPI _DMA =
descriptors for describing DMA
>> translations/constraints. This is very important for supporting Pi =
and Pi-like platforms via
>> straight-up ACPI and without platform DMA quirks.
>> END QUOTE
>=20
> That would be https://reviews.freebsd.org/D25219 for us.. not "full =
support" though because our bus dma tags are way too weak and =
inflexible, much worse than NetBSD's :(
>=20
> The RPi ACPI tables declare a 3GB limit for XHCI, and a 1GB limit for =
some other devices.
>=20
> Namely, devices described by
> =
https://github.com/tianocore/edk2-platforms/blob/master/Platform/Raspberry=
Pi/AcpiTables/GpuDevs.asl

It is not clear to me if the Greg vs. Robert developments in
this area are:

A) conflicting? (Use at most one of the two.)
B) compatible but independent?
C) compatible with one based on also using the other?

It sounds like Robert may be going the direction of using
the minimum of what is learned from what the ACPI tables
report as supportable in the hardware --and so may be using
a global 1 GiB limit for each PCIe device, including the
XHCI device.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99701B38-13FE-40D6-9D94-182E1995644A>