From owner-freebsd-x11@freebsd.org Mon Apr 29 20:24:21 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1262A159CB5C for ; Mon, 29 Apr 2019 20:24:21 +0000 (UTC) (envelope-from tychon@freebsd.org) Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) (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 802F5720DB; Mon, 29 Apr 2019 20:24:20 +0000 (UTC) (envelope-from tychon@freebsd.org) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 9F5EA14A801; Mon, 29 Apr 2019 16:24:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=sasl; bh= Egjr7RwUXEXFgooni7ajIh+iweA=; b=hzJoxUS6VwxhzuOWttp3xuNu/LI3dnBt CgWwUIcbAcL9f3Qt3+65ftMvfoKaoZJJc3pVPCG5OFFnoYXEYv4+XPcEN3ZSnNny fqHIjKdLEIgjc312xywvP9Ba3uVOO0mKlHyK5NtpGb00yVa0UQxbiW+SDPiowpJL KUstahPJXvo= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 96D8414A800; Mon, 29 Apr 2019 16:24:14 -0400 (EDT) Received: from [10.0.1.195] (unknown [146.115.68.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 1D9D014A7FF; Mon, 29 Apr 2019 16:24:14 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: dmar, dma_pool, etc From: Tycho Nightingale In-Reply-To: <23fe1183-d12c-b4b8-958f-34cee6e33977@freebsd.org> Date: Mon, 29 Apr 2019 16:24:13 -0400 Cc: "freebsd-x11@freebsd.org" , Johannes Lundberg Content-Transfer-Encoding: quoted-printable Message-Id: <9E61210C-4939-4D3A-8110-72023B67BBE6@freebsd.org> References: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> <60b447bb-81da-4c01-e164-bdf10e5560b0@freebsd.org> <594E1E71-6834-431E-B122-005E64EDB1C2@freebsd.org> <3a07ffef-a978-2fdd-8d54-85fc0b6f3a63@freebsd.org> <23fe1183-d12c-b4b8-958f-34cee6e33977@freebsd.org> To: Niclas Zeising X-Mailer: Apple Mail (2.3445.9.1) X-Pobox-Relay-ID: C15C52BE-6ABC-11E9-9DA5-DF19F34BB12D-09779102!pb-smtp2.pobox.com X-Rspamd-Queue-Id: 802F5720DB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; ASN(0.00)[asn:11403, ipnet:64.147.96.0/19, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 20:24:21 -0000 Hi, > On Apr 29, 2019, at 2:34 PM, Niclas Zeising = wrote: >=20 > On 2019-04-29 20:27, Niclas Zeising wrote: >> On 2019-04-29 18:00, Tycho Nightingale wrote: >>>> On Apr 29, 2019, at 11:06 AM, Niclas Zeising = wrote: >>>>=20 >>>> As a side note, I can readily reproduce the hang on a spare laptop, = please let me know if I can help in testing or diagnosing in any way. >>>=20 >>>=20 >>> If you can readily reproduce the hang, since there are 2 halves that = comprised the fix (the DMA pool and non-pool mappings) it would be = instructive to try reverting either dmapool.h or dma-mapping.h = independently to see if that helps. >>>=20 >> Hi! >> I will test this and report back. Thank you! >> Regards >=20 > Hi! > Just reverting dmapool.h or dma-mapping.h doesn't work, it won't = build. I need to revert more than that. Can you help me figure out what = to revert in either case, or provide a patch? Thanks for trying. I managed to setup my HW and reproduce this and I = see your point that it doesn=E2=80=99t cleave in half perfectly. Since I=E2=80=99ve got a (non)-working test case, let me investigate a = bit further. Tycho