From owner-freebsd-arm@freebsd.org Fri Jul 3 23:43:13 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 8343435C29D for ; Fri, 3 Jul 2020 23:43:13 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out1.migadu.com (out1.migadu.com [IPv6:2001:41d0:2:863f::]) (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 49zBNc3thVz3f8M for ; Fri, 3 Jul 2020 23:43:12 +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=1593819784; 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=V7pmJVEa8unIqFULTrMxTh0gPaW1VolbqSYAJHA7YIo=; b=h2sLYgCcxZ/2TygoP78kei7QM8r75qY+f9RLH2ONqEXvMJCzGUSjCz5Qwd17CLb4Vl6Epa KnR8zBHaoThe3gUIcDJ00wy4cZtXw/Z4XJD8006C3DM0JYh6P+oN0IRfPu6WyCqfKR8fzI lLqqa1qDvz20nS6o5dOlQ0MTuJ6HUfY= Date: Fri, 03 Jul 2020 23:43:03 +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: <8a3f78ddd5136ef22c59e9f7b1b23ca6@unrelenting.technology> Subject: Re: FreeBSD on Layerscape/QorIQ LX2160X To: "Dan Kotowski" Cc: "freebsd-arm" In-Reply-To: References: _____<71481BF5-3972-45A3-8287-FCEB1FCCDC41@unrelenting.technology> X-Spam-Score: -0.10 X-Rspamd-Queue-Id: 49zBNc3thVz3f8M X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=h2sLYgCc; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 2001:41d0:2:863f:: as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-3.43 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.967]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; R_SPF_ALLOW(-0.20)[+ip6:2001:41d0:2:863f::]; NEURAL_HAM_LONG(-0.99)[-0.989]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; RCPT_COUNT_TWO(0.00)[2]; FROM_NO_DN(0.00)[]; NEURAL_HAM_SHORT(-0.47)[-0.472]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[] 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: Fri, 03 Jul 2020 23:43:13 -0000 July 3, 2020 5:52 PM, "Dan Kotowski" wro= te:=0A=0A> In the old firmware, under the Root Complex Nodes, `Output ref= erence: 0x30` points to the ITS Node=0A> with node offset 0x30.=0A> =0A> = Then in the new firmware, under the Root Copmlex Nodes, `Output reference= :=0A> 0x48` points to the SMMU with node offset 0x48.=0A> =0A> Is this wh= at you meant when you said everything is "behind the SMMU"?=0A=0AYes.=0A= =0A> What patches are we applying right now? I think some new builds woul= d be good, including one with=0A> all the stuff we've fixed - like AHCI -= but with the NXP PCIe code so I can test on the old=0A> firmware. If I'm= keeping track correctly, this includes:=0A> =0A> - D20835: enable tagged= pointers=0A> - D20974: Port sbsawdt drive from NetBSD=0A> - D21017: armv= 8crypto: add AES-XTS support=0A> - D24423: arm/pmu: add ACPI attachment, = more FDT names=0A=0AThese are not directly related to running on NXP, jus= t random improvements :)=0A=0A> - D25145: acpi_resource: support multiple= IRQs=0A> - D25157: ahci_generic: add quirk for NXP0004=0A> - D25179: acp= i_iort: fix mapping end calculation=0A=0AYes, these three.=0A=0AHere's th= e pci_layerscape patch:=0A=0Ahttps://github.com/DankBSD/base/commit/c1ea4= 4aa33b29f74daed89eee82b3dfeb105d376.patch=0A=0AIf we haven't tried it + a= cpi_iort fix before, which is quite likely, maybe that's a combination th= at would work.=0A(I remember when we tried it only, there was only the sa= me interrupt problem as usual..)=0A=0AIt's honestly kinda weird that "old= " FW requires the custom controller access while "new" FW requires *not* = doing it >_<