From owner-freebsd-arm@freebsd.org Wed Jun 17 17:38: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 C42AF354DAE for ; Wed, 17 Jun 2020 17:38:49 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) (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 49nC3X38cDz46w7 for ; Wed, 17 Jun 2020 17:38:47 +0000 (UTC) (envelope-from greg@unrelenting.technology) Date: Wed, 17 Jun 2020 17:38:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unrelenting.technology; s=default; t=1592415525; 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=0d9kTbyKUm4f/6NfVc3Rf+hzj54efwlFQBYP0T6aArk=; b=dsM5nd6IRX4PerGs8g82GA9J+3RWwKbzfJIilUtva3EIjMhoyo44ujiYl/RxMSDzHjCjlM 626V5e3yRaeEr2VNEK6ozIaZ+AARJpi3KgHthKZnvs8KUr78NLMgDS7CJC9mw0xFDTplv4 bVqM3mRljivgFdyXkSt+fnIcXaCa9H0= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: myfreeweb To: Dan Kotowski CC: freebsd-arm Subject: Re: FreeBSD on Layerscape/QorIQ LX2160X In-Reply-To: References: <940a6099e971e01bd6d04564d0982b9d@unrelenting.technology> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.10 X-Rspamd-Queue-Id: 49nC3X38cDz46w7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=dsM5nd6I; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-3.60 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.995]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-0.97)[-0.970]; 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]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; NEURAL_HAM_SHORT(-0.64)[-0.636]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_VERYGOOD(0.00)[91.121.223.63:from]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, 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: Wed, 17 Jun 2020 17:38:49 -0000 On June 17, 2020 4:48:49 PM UTC, Dan Kotowski wrote: >> By the way, did you get any different firmware builds in the meantime? = That don't have everything suspiciously routed to the SMMU in IORT=2E=2E > >s/suspiciously/by design/ > >BEGIN QUOTE >the PCIe root nodes are hidden from the rich OS with this configuration= =2E To access the root nodes you need a quirk implemented=2E > >eventually it will be an option for those that want to run custom kernels= , but for now this is the solution for the most SBSA like configuration >END QUOTE And how are we supposed to get any MSI-X interrupts in this configuration? Our fallback code for when nothing was matched in IORT (i=2Ee=2E directly = using PCIe RID with no offset) did not result in working interrupts=2E IIRC legacy interrupts didn't work either, but maybe you should retest the= m (disabling MSI, MSI-X)=2E