From owner-freebsd-arm@freebsd.org Fri Nov 13 23:44:49 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 85B5346127D for ; Fri, 13 Nov 2020 23:44:49 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "amnesiac", Issuer "amnesiac" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CXw7412wLz3Kbh for ; Fri, 13 Nov 2020 23:44:47 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.15.2/8.15.2) with ESMTPS id 0ADNidPe088145 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 14 Nov 2020 00:44:39 +0100 (CET) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.15.2/8.15.2/Submit) id 0ADNidkp088144 for freebsd-arm@freebsd.org; Sat, 14 Nov 2020 00:44:39 +0100 (CET) (envelope-from fuz) Date: Sat, 14 Nov 2020 00:44:39 +0100 From: Robert Clausecker To: Mark Millard via freebsd-arm Subject: Re: RPi4B: edk2-platforms updated because _DMA method for XHCI DMA issue insufficient for Linux; pftf/RPi4 v1.21 has the change Message-ID: <20201113234439.GA88059@fuz.su> References: <2D77549B-0A45-46DB-AD19-7E0B760DE857.ref@yahoo.com> <2D77549B-0A45-46DB-AD19-7E0B760DE857@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2D77549B-0A45-46DB-AD19-7E0B760DE857@yahoo.com> X-Rspamd-Queue-Id: 4CXw7412wLz3Kbh X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fuz@fuz.su designates 2001:41d0:8:e508::1 as permitted sender) smtp.mailfrom=fuz@fuz.su X-Spamd-Result: default: False [-3.19 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:41d0:8:e508::1:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[fuz.su]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:41d0:8:e508::1:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.89)[-0.895]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2020 23:44:49 -0000 Hi Mark, Does this change affect FreeBSD w/ UEFI in any way? Should I consider updating the UEFI bootcode on my board? Yours, Robert Clausecker On Fri, Nov 13, 2020 at 02:55:21PM -0800, Mark Millard via freebsd-arm wrote: > > Quoting https://github.com/tianocore/edk2-platforms/commit/dac891da5cf326d2b4e9aa5adab1d9320b2dd443 : > > Add an IORT table that will limit XHCI DMA to 2 GB, by setting the > DMA width to 31 bits. This is needed for Linux/arm64, which can > only reliably deal with devices that are unable to perform DMA to > the entire 32-bit address range if it can discover their existence > early during boot, and this is before the ACPI interpreter is up > and running (which rules out calling the _DMA method of the XHC0 > object) > > End Quote > > https://github.com/pftf/RPi4/releases/tag/v1.21 includes this change. > (It also updates the RPI4B firmware to quit using the broken start4.elf > that corrupted Device Tree information.) > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- () ascii ribbon campaign - for an 8-bit clean world /\ - against html email - against proprietary attachments