Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp482245ybg; Tue, 9 Jun 2020 05:49:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnYolBrRqzNOTdtdTx3NoJ7ZHWadD5Xxk3e+2MgwlN2Y3UZ8O3NSNQ66IP2gR09PyNysSF X-Received: by 2002:a05:6402:39a:: with SMTP id o26mr27359216edv.10.1591706980425; Tue, 09 Jun 2020 05:49:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591706980; cv=none; d=google.com; s=arc-20160816; b=oTnqYcLek0Cw0/jcUAYazeRQdg/wq/eeV9PgmwoOd4tmc9TjOU8kXHydTAFKh7MN0Y W5KtnyE9Uak8bK3MntbIWm/pfa5/Q19DqTgao5LCscCPVRsHxeF+BeqvW70rh7X6vWjX 4VFY4+F2IzEpCweFGMImy7y8rTQPi/bB0kHFU7KwRyOhxSDAod04ch8+YvTq6Bh1Oc+j 15SQxg0zKb+Jhbh6ZueO/f1NlzTiecJIcyEUApMQvmdY+2D2tHrFLgQUd9EZejmMWXHH DZG515l0Klh+DYy2lZZcz4CTrkQxd3BNqEQQgUJGGz8Yl3K5vUAgjDd/VVFamN7hNGdU 6cHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=GFVbvOnoWg6keXcpe4T0c/NTPkYr5MrR5V5z4LZJb4g=; b=toQbMUAoP3B610BF9JEJRWkoIfaXiWi0VfE0MoDIiVELYN5CFXe4jkdj302o72V2fJ OG0hQKSKP7HDV6Qz76PZvKYSzKXIKEHO8N5b0BKWLNWvOXj7xuMeLAF21Lwqr+zWSyXM jUaR7axCLiy/47/pN/iWmBnC8iSoaHDIZhHjDHgaNOQptHyCvJQjzksMisSxPd6Sh8vt Rub6SrfFLiPONwgH0qq7OMTniBUbmJha4kTWoyaSTjYmVHQHrt7JBpKEsGj06lgFQkcj Uly3OcI7TC6lyIpr25IoMG+x0rPs7ZOU6JPwOjBaJ6m/2dVnhDrPiFI0Zf1Bn1yspBLI tmmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a9si4083641ejk.553.2020.06.09.05.49.17; Tue, 09 Jun 2020 05:49:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728785AbgFILba (ORCPT + 99 others); Tue, 9 Jun 2020 07:31:30 -0400 Received: from verein.lst.de ([213.95.11.211]:41974 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728051AbgFILb3 (ORCPT ); Tue, 9 Jun 2020 07:31:29 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id E3C5D68B02; Tue, 9 Jun 2020 13:31:23 +0200 (CEST) Date: Tue, 9 Jun 2020 13:31:23 +0200 From: Christoph Hellwig To: Takashi Iwai Cc: Christoph Hellwig , David Rientjes , "Alex Xu (Hello71)" , alsa-devel@alsa-project.org, bp@alien8.de, hch@infradead.org, hpa@zytor.com, linux-kernel@vger.kernel.org, mingo@redhat.com, Pavel Machek , perex@perex.cz, tglx@linutronix.de, tiwai@suse.com, x86@kernel.org Subject: Re: next-0519 on thinkpad x60: sound related? window manager crash Message-ID: <20200609113123.GA547@lst.de> References: <1591545088.74ii116nf2.none@localhost> <20200608061950.GA17476@lst.de> <1591624340.z01ejtod28.none@localhost> <20200609054306.GA9606@lst.de> <20200609084305.GA21671@lst.de> <20200609091727.GA23814@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 09, 2020 at 11:31:20AM +0200, Takashi Iwai wrote: > > > How would be a proper way to get the virtually mapped SG-buffer pages > > > with coherent memory? (Also allowing user-space mmap, too) > > > > dma_mmap_coherent / dma_mmap_attrs for userspace. We don't really > > have a good way for kernel space mappings. > > And that's the missing piece right now... :-< Can you point me to the relevant places (allocation and vmap mostly) so that I can take a look at how to fix this mess?