Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp685931rdb; Fri, 26 Jan 2024 07:45:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvrbiwkG06dUSihovFiodfuc/C7EwDSpc526PVIklk6Jbp4E12G/Qj6fJAUtuaaBOSoaab X-Received: by 2002:a17:903:2305:b0:1d7:6feb:b0b4 with SMTP id d5-20020a170903230500b001d76febb0b4mr2131185plh.19.1706283919606; Fri, 26 Jan 2024 07:45:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706283919; cv=pass; d=google.com; s=arc-20160816; b=mIwT/DDhvayHYrDdg9B6oS82v3JWOrG5yfekv5898sEWRHRPUB2tp5wOzdC6lU/939 hue07aPapIKGdR1PNU+3WGlgpSnQCkuOYJQFPmz24+IIJ22Xn1L3qCTds2SAQEU4pL0a UsPl5Vs+8LVzvugXwy/Ffi2eck1vikqJ07yyaR9m4iRLhWbS763VD8CvuHSu7uRkJfvT 6bMGlcgFfuCaoIVIW44G4CZQPQwBgOKXv/0UmGOCGSPoOjoBAjr8B6GgYeVXgBr7Rud4 49K58lyiX7a9p8/VnRHQ7835/JQSOGTRvU1v7qqumtqZD9Xv2Dy5bL721g+jmmnfBVZ2 tNgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ifj3vKt8QC0k+Lvrl/eE4vaSsPq+S4SksoQKXsBRSXc=; fh=2IgBVr7cNYSqcbRXuKpLBItSFhZvWcatX8oieBqq3VI=; b=mUonfGm014qNMho8sX7P5UiUbe7iE6A1wRNgnnBCc82n11XfSI6bTS6M9ULKRbe9Gd IKDhLiiMYHul82KRAEuxxdBo7Z0cwFF2svNiEhUcgZ9foz12K1wa/bPNX2PXbsl8TiMY 7scYUJpnq5BGcq9DHgKgYsb2/oSjB0MqPXyOWDKS3JIQ75oEQZYwYylHJmyrC3WQLL8s JMjG6ifT67YUEDxUURt0PDwux+05yJQpXYpFs6ug8mrSaQGNh/YCcKNrC45ISHpbtOWn OquReL2dAY2i9T2k1IisAWDvJg5gIzfIfKoYWM+AU+36yBeJEp3RJf+WeKJYQb/J+4bU h+Xg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=XPmKa4ht; arc=pass (i=1 spf=pass spfdomain=ziepe.ca dkim=pass dkdomain=ziepe.ca); spf=pass (google.com: domain of linux-kernel+bounces-40296-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40296-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bf5-20020a170902b90500b001d60a708099si1266634plb.425.2024.01.26.07.45.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 07:45:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40296-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=XPmKa4ht; arc=pass (i=1 spf=pass spfdomain=ziepe.ca dkim=pass dkdomain=ziepe.ca); spf=pass (google.com: domain of linux-kernel+bounces-40296-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40296-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B0ABF289B20 for ; Fri, 26 Jan 2024 15:44:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 299F31D558; Fri, 26 Jan 2024 15:44:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="XPmKa4ht" Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com [209.85.160.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F21DD1DA38 for ; Fri, 26 Jan 2024 15:44:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706283871; cv=none; b=MRDJkTolCxblYIqcdVUckfrAaIgivioy2ubFSL0BOVg80mKzsGfsz5ccc5qupczofbuGJ1t+YC5J+WDTDGn1mlTIHLHlKz+/DcHm3snQN3mXAS8doU7qF0Laxqa3jKiQ9MOEhB0LxRR3oP6lIBJ1hUiydZ6Ts/AVLU+G67CR0uo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706283871; c=relaxed/simple; bh=UiLdiIVvMb83SWw7AGXvISH8OI0rahijuASgroB/Hlk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cFCRr3jWYBrrZUFc2pqRnXIjotSqRdomAdwtfRUSwCqScOLIhOXBXyf0G30QSS4bFNgvtMgf+Xy492mIldp+yBO7UTMxGeuQy1ruep9abT55EkGpE8Y3/IfrtOvojjYY2YOQwIL5C6xKzykD2fVP8pnNUg1o/FfVcCVVRrbJsk4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=XPmKa4ht; arc=none smtp.client-ip=209.85.160.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-206689895bfso328275fac.1 for ; Fri, 26 Jan 2024 07:44:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1706283869; x=1706888669; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ifj3vKt8QC0k+Lvrl/eE4vaSsPq+S4SksoQKXsBRSXc=; b=XPmKa4htdyIFQN5nkahRKFHwjBIj2w5nnjnY1CyS6eVuLv3IrPCwmLUgoyVIAkXD4U P1jun110v+iDL6vurH48iPpOv8S1BmzzTMcimFbXtQCsXtQlviUT2tQMSKmyK+4XCXFe n39GTlT4ZJyrynW6hqgC/kXgsU2hJlTH0dKRJsHzuRomi6ncG1mOu61Fd9roa6dwduUq m8qJkDNwKT8M8M2KvISQ+ovcf4bY7EgZqz//rM9qPeJzVOx+t4W6XM16TiiOZiRRITMz O5s22W3MQ/r6vJdV6wFmhQbFKMlzpxLGW/lfwvUrkFpPolQPZt4mVU3XDM44WmTHZEEM lI/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706283869; x=1706888669; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ifj3vKt8QC0k+Lvrl/eE4vaSsPq+S4SksoQKXsBRSXc=; b=O3URtzSupLvobWWCLTHJyFS41thRp2es9UFUNj/a59Aa6RkjG8+RWw1VhDzgOvVq5U yRerslJCrVEaLip8xeXU61C8PmEEaaZf+tbhkEwegTmKpt/N+MzZt63lILcXW+BkWcxl qNlNWkewLlXrrEJ7nOWlR1plKy9i/UaWjIFG0+GUL/h8D9XQF95JJ71ZeitCB/0YmPc7 lMu66OaxM+5SBqctHQ3rxEVqC5CG7ci2h9BOG/4uDtbztd18myun9b5ZM78Ub7M5XxCZ De3G362jREoYDLwwPwg1iuQSM2cMXXeccRdTkiMSNhf23nLDnquNGIr6+6UUTFPhYxEe HM/A== X-Gm-Message-State: AOJu0Yz6V3i8r3mv4sFghjaV8UO1VYVF970eO0/Ur1xwvF4A8rO/78f2 nbYCrxZpX8B1kcJdXBt/1MziZ1kmT5SZrBrYtpLDftCfS3AWr87WLNsM7XjbF00= X-Received: by 2002:a05:6871:2787:b0:214:2544:bfd9 with SMTP id zd7-20020a056871278700b002142544bfd9mr955769oab.43.1706283869008; Fri, 26 Jan 2024 07:44:29 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-142-68-80-239.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.80.239]) by smtp.gmail.com with ESMTPSA id pl10-20020a0568704e0a00b0021837cadf53sm200549oab.39.2024.01.26.07.44.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 07:44:28 -0800 (PST) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1rTONX-009SCu-NX; Fri, 26 Jan 2024 11:44:27 -0400 Date: Fri, 26 Jan 2024 11:44:27 -0400 From: Jason Gunthorpe To: Timothy Pearson Cc: Shivaprasad G Bhat , iommu , linuxppc-dev , linux-kernel , Michael Ellerman , npiggin , christophe leroy , aneesh kumar , naveen n rao , jroedel , aik , bgray , Greg Kroah-Hartman , gbatra , vaibhav Subject: Re: [PATCH 1/2] powerpc: iommu: Bring back table group release_ownership() call Message-ID: <20240126154427.GB50608@ziepe.ca> References: <170618450592.3805.8216395093813382208.stgit@ltcd48-lp2.aus.stglab.ibm.com> <170618451433.3805.9015493852395837391.stgit@ltcd48-lp2.aus.stglab.ibm.com> <20240125155017.GW50608@ziepe.ca> <20240126151701.GZ50608@ziepe.ca> <392247278.10124607.1706282995795.JavaMail.zimbra@raptorengineeringinc.com> <20240126153806.GA50608@ziepe.ca> <1453449220.10126352.1706283596477.JavaMail.zimbra@raptorengineeringinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1453449220.10126352.1706283596477.JavaMail.zimbra@raptorengineeringinc.com> On Fri, Jan 26, 2024 at 09:39:56AM -0600, Timothy Pearson wrote: > > Just forget about the weird KVM and SPAPR stuff, leave it under the > > kconfig of the old code and nobody will run it. Almost nobody already > > runs it, apparently. > > We actually use QEMU/KVM/VFIO extensively at Raptor, so need the > support and need it to be performant... I wonder if you alone are the "almost" :) The KVM entanglement was hairy and scary. I never did figure out what was really going on there. Maybe you don't need all of it and can be successful with a more typical iommu working model? Suggest to tackle it after getting the first parts done. Jason