Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp224175pxv; Thu, 15 Jul 2021 02:55:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4xp0EBhbPPvvSq8tEhdOMkv4pU3rIzViUNql6ZVMRKFzyrtYyL+zczl+CcAFKv1yPRNou X-Received: by 2002:a50:ff02:: with SMTP id a2mr5648462edu.214.1626342958708; Thu, 15 Jul 2021 02:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626342958; cv=none; d=google.com; s=arc-20160816; b=fE9vHjeQ3507uwcqOQqeO6+3GShmSsBDpFjVpWyWUKCF9w7q+b1VHyeK834EOWY7jW Wn87UYZUL/FTRGrBWCHSx0L8woMXl7QQeOl3ccMvrePbjs1rr3dpGyVL3RY58/TMK289 0LcUll+PVkgyZUsmT63fzXjsanGN7pEvV19KERdHXZgfXgvRFkoZseh1QKP0ICIjInQF veqMPsUEIdoBz4mos8HREIgolidgvVQsaX1qHuIeOF0F9VLAG0H+whk7RC2cIvMIx/7X ueaBv7ByCJBFFiFjUvnh7JG2IdiIjKo/2SFdbxu6vHwN+Zv2YEfEO5X4Gienkh8hvBnY jVdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=KsMTFE0swcfbd7t/BcKV78XsUEZ6SfJcUNTUBravTSQ=; b=uRDCOCpnw4nGBTGqNNTg+Fht9MPvzq5xpS1RkmQQ4PTLjyGKEUtzdvUpkk53bZjI3q MWlxgrX7s249DKTqTGQV6iPlN61hsz2+UPIRzAuoSQx2AdXu9rjLgKMYVgrsvQEgUmag Tvdoq9so0/EPvP1LWPVskprVmj2zW/ynX0EOpgJRxLBoBl3soZDdylp5oa16A9hBakhW jCH/PbzPycOUHYQ5GP2641C1cLAdVHNq14wIao7JZKbf6kMpn9dYOoLqDeDaJ7jLo4nO +3uUwNbURI2H1/EXNsS9Uqwyed6+EcNIdcZ5f/YhmQHDbrwIgOBr7yIyUI3XlQwrd2VF jbvg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c16si7333944edw.152.2021.07.15.02.55.36; Thu, 15 Jul 2021 02:55:58 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238546AbhGOGzg (ORCPT + 99 others); Thu, 15 Jul 2021 02:55:36 -0400 Received: from 8bytes.org ([81.169.241.247]:38500 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236519AbhGOGzf (ORCPT ); Thu, 15 Jul 2021 02:55:35 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id 0D83D352; Thu, 15 Jul 2021 08:52:40 +0200 (CEST) Date: Thu, 15 Jul 2021 08:52:33 +0200 From: Joerg Roedel To: Arnd Bergmann Cc: Robin Murphy , Sven Peter , Will Deacon , DTML , Hector Martin , Linux Kernel Mailing List , Marc Zyngier , Mohamed Mediouni , Stan Skowronek , Linux ARM , Mark Kettenis , "open list:IOMMU DRIVERS" , Alexander Graf , Alyssa Rosenzweig , Rob Herring , Rouven Czerwinski Subject: Re: [PATCH v4 0/3] Apple M1 DART IOMMU driver Message-ID: References: <20210627143405.77298-1-sven@svenpeter.dev> <7261df01-34a9-4e53-37cd-ae1aa15b1fb4@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 14, 2021 at 10:51:34PM +0200, Arnd Bergmann wrote: > The question is how we can best allow one but not the other. By only allowing to allocate domains of type IDENTITY and DMA, but fail to allocate UNMANAGED domains. Regards, Joerg