From owner-freebsd-arm@freebsd.org Sun Sep 6 18:36:11 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 611713D9F19 for ; Sun, 6 Sep 2020 18:36:11 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bl0VL1Qrcz4Kbg for ; Sun, 6 Sep 2020 18:36:09 +0000 (UTC) (envelope-from greg@unrelenting.technology) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unrelenting.technology; s=default; t=1599417361; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EUpmgn2LcKJ6wzVA3ZNc7O1tOieO60S/zL2isw5f45I=; b=hVu8R9o4r1kB1k9xOMHqWiwdYF+RzpDyViNYlgwpT6fhEyVrYK2qgJidf+eOD0CKJ0uJtW LdD+yxKa2YWGiPItwqXMDF8M8ZwHiYMbljpdvbUZp2+v1Do81dJZv7MWPM30smltOcsz6p r+uyIowkctrCNJx+ILaylEb2R5pwZ/Q= Date: Sun, 06 Sep 2020 18:36:00 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: greg@unrelenting.technology Message-ID: Subject: Re: onboard wireless on rpi4 To: "Mark Millard" , "Robert Crowston" Cc: freebsd-arm@freebsd.org In-Reply-To: <9B62C18C-EE94-4DFE-8EA9-AC7B32966886@yahoo.com> References: <9B62C18C-EE94-4DFE-8EA9-AC7B32966886@yahoo.com> <20200904134619.GB80905@bastion.zyxst.net> <5AF83D16-2432-4EA9-BC2F-373DA8BC3360@googlemail.com> <4306A90D-97B9-4DE9-A05A-A91B6F4A587F@yahoo.com> <8037E5D3-E89E-4AED-8FFE-43D9D83B2BD3@yahoo.com> <24CED3CF-6624-4CE3-A21C-D4BAD88E8812@googlemail.com> X-Spam-Score: -3.09 X-Rspamd-Queue-Id: 4Bl0VL1Qrcz4Kbg X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=hVu8R9o4; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 94.23.1.103 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-3.39 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.93)[-0.928]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:94.23.1.103]; NEURAL_HAM_LONG(-0.94)[-0.939]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; FROM_NO_DN(0.00)[]; NEURAL_HAM_SHORT(-0.53)[-0.527]; FREEMAIL_TO(0.00)[yahoo.com,protonmail.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_VERYGOOD(0.00)[94.23.1.103:from]; ASN(0.00)[asn:16276, ipnet:94.23.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2020 18:36:11 -0000 September 6, 2020 9:20 PM, "Mark Millard via freebsd-arm" wrote:=0A=0A> On 2020-Sep-6, at 08:20, Robert Crowston via fre= ebsd-arm wrote:=0A> =0A>> That's interesting= : OpenBSD is allowing only the lowest 1 GB of memory for DMA; the documen= tation I=0A>> obtained suggests the first 3 GB should be accessible. I am= experimenting with this new lower=0A>> bound.=0A> =0A> https://rpi4-uefi= .dev/tag/netbsd reports:=0A> =0A> QUOTE=0A> NetBSD also is the only OS to= day to fully support ACPI _DMA descriptors for describing DMA=0A> transla= tions/constraints. This is very important for supporting Pi and Pi-like p= latforms via=0A> straight-up ACPI and without platform DMA quirks.=0A> EN= D QUOTE=0A=0AThat would be https://reviews.freebsd.org/D25219 for us.. no= t "full support" though because our bus dma tags are way too weak and inf= lexible, much worse than NetBSD's :(=0A=0AThe RPi ACPI tables declare a 3= GB limit for XHCI, and a 1GB limit for some other devices.=0A=0ANamely, d= evices described by=0Ahttps://github.com/tianocore/edk2-platforms/blob/ma= ster/Platform/RaspberryPi/AcpiTables/GpuDevs.asl