Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp171271pxb; Thu, 2 Sep 2021 01:14:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMl6O9BzzbhHDmww5yG3hD3Kjn+QUcUfZoyI+mjBmqr1nwPzOWlfOyH1CWdhXLefnaykaX X-Received: by 2002:a50:e606:: with SMTP id y6mr2262133edm.216.1630570444149; Thu, 02 Sep 2021 01:14:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630570444; cv=none; d=google.com; s=arc-20160816; b=l6/8tkkTP0ZVgG54bCMpU+3paGdngD35zlvidnlFwPKPwqWaSvztaWuIfXL+SHbyjx A/Amio1p2wuJ/ro2KWLMciSFXkH25C9ljjCCW4V6IcfdTlelzE1b4kNKrYVJrN5MyDPx ll4nqCi2He6lYwHUQdh+6YXf2ThHFYpBMSKRFM4Iy+XGju+1mRkmNB8oEHUQDOOF8ETc QDfsVz1rXT/caY7DXuXJ+879eopn7B4Bw3IVLUO9d+MPTpbb6xC/oje3q/7INe1ZQNvD ELMD0K/I9nm2rnMYR/EJzYazDtP6RvqT+UI73zfc4fJboZ6LID9in/2Rdo6rv0g8OzSP k3Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject; bh=sM/xIZnv1wjQV2T6eIF4R21Yj0HgXnl0ik1pUQBK0fs=; b=UBwsmVPxspWA//SMBYc9ETpoPmm4s1uR3XVCMAWfgeIy9mqamfZo9BtOp/LMdbAUZq n7h8A/wpXbVMmrVKF37/bwB9Q2qe2nvGiMleF+JYK2u8v6204gMQC5A9ZF3bRx5arDQA S2/w+1koM938PvyHVGDKDBcM0Ca6uiM/s1N8Eutif+0JPJCq7R/df3Uj6T84wisw6GUZ at+R6GV5SY9MMQcKSpHJ6zxsJEJ3vKSobhAEbNhL83z/4Fz9AjWlTW06odKHPWrGhYpb /HLnX5Q1C0s5x8eEiOxfKfF+3e2iXEJ/yY9yBnppDY1wEhiva/42Lon4gwfkhlk/Ifkj 9SeA== 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 r4si1407844edv.196.2021.09.02.01.13.37; Thu, 02 Sep 2021 01:14:04 -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 S244062AbhIBIMM (ORCPT + 99 others); Thu, 2 Sep 2021 04:12:12 -0400 Received: from ivanoab7.miniserver.com ([37.128.132.42]:54386 "EHLO www.kot-begemot.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233546AbhIBIML (ORCPT ); Thu, 2 Sep 2021 04:12:11 -0400 Received: from tun252.jain.kot-begemot.co.uk ([192.168.18.6] helo=jain.kot-begemot.co.uk) by www.kot-begemot.co.uk with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLhoJ-0003Pp-Se; Thu, 02 Sep 2021 08:11:04 +0000 Received: from madding.kot-begemot.co.uk ([192.168.3.98]) by jain.kot-begemot.co.uk with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mLhoF-0000bs-23; Thu, 02 Sep 2021 09:10:59 +0100 Subject: Re: [PATCH] drm/ttm: provide default page protection for UML To: Johannes Berg , Randy Dunlap , linux-kernel@vger.kernel.org Cc: =?UTF-8?Q?Thomas_Hellstr=c3=b6m?= , =?UTF-8?Q?Christian_K=c3=b6nig?= , Huang Rui , dri-devel@lists.freedesktop.org, Jeff Dike , Richard Weinberger , linux-um@lists.infradead.org, David Airlie , Daniel Vetter References: <20210902020129.25952-1-rdunlap@infradead.org> <9faacbc8-3346-8033-5b4d-60543eae959e@cambridgegreys.com> <0887903c-483d-49c7-0d35-f59be2f85bac@cambridgegreys.com> <288a2d4dbcb1e6b0fbeff6da86569aa92df09202.camel@sipsolutions.net> From: Anton Ivanov Organization: Cambridge Greys Message-ID: <347e4cb8-a7c5-9e1b-16bc-96805442d35b@cambridgegreys.com> Date: Thu, 2 Sep 2021 09:10:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <288a2d4dbcb1e6b0fbeff6da86569aa92df09202.camel@sipsolutions.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 X-Spam-Score: -1.0 X-Clacks-Overhead: GNU Terry Pratchett Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/09/2021 08:43, Johannes Berg wrote: > On Thu, 2021-09-02 at 07:19 +0100, Anton Ivanov wrote: >>>> >>>> I have a question though - why all of DRM is not !UML in config. Not >>>> like we can use them. >>> >>> I have no idea about that. >>> Hopefully one of the (other) UML maintainers can answer you. >> >> Touche. >> >> We will discuss that and possibly push a patch to !UML that part of the >> tree. IMHO it is not applicable. > > As I just said on the other patch, all of this is fallout from my commit > 68f5d3f3b654 ("um: add PCI over virtio emulation driver") which is the > first time that you could have PCI on UML. > > Without having checked, in this particular case it's probably something > like > > depends on PCI && X86_64 > > as we've seen in other drivers (idxd, ioat). > > The biggest problem is probably that UML internally uses X86_64 > (arch/x86/um/Kconfig), which is ... unexpected ... since CONFIG_X86_64 > is typically considered the ARCH, and now the ARCH is actually um. > > I think we can just fix that and get rid of this entire class of > problems? Something like > > https://p.sipsolutions.net/fbac19d86637e286.txt Good idea. I suspect that DRM will not be the only thing to pop up out of this so we might as well fix it "at the top". A > > johannes > > > > _______________________________________________ > linux-um mailing list > linux-um@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-um > -- Anton R. Ivanov Cambridgegreys Limited. Registered in England. Company Number 10273661 https://www.cambridgegreys.com/