From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 240A9E92701 for ; Thu, 5 Oct 2023 14:09:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Q8Ekdzc3S1v3Z65J8Ab0vwA/wGBLlGlNt24hCugtoyc=; b=bsKTaPLOeEwgGA uQzpeHhTtd9VN/+vcK4D9gT2g1zJmNiqKKe7FQPI72qwrWWe6YC5664P+c97JaZK4NdA0qkExZL/3 73CpDClOhbPx5ncVCoIwQBX2p1NKKpbCPrdLf8sT5PfT5usPmCjs7C5glTmmMRJ0Eisuh1YgGJEDP OVUBIHzcVVI8NTf1k/8Xjx8VOMJTlMTD8fahiqtsPgN0Nw9EK/PaDffx/uWHvaWLoAYrWsMlZJEy7 DXYeVawlXuyPJ1x4+bs3XdHXmcFFTnuyUPXdV1YMoX+MET4JG4bZY3ORANkwvxVcDyMERI5qPQ/4y to0nBTKHoAAb+HpQkKXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qoP1h-003fbx-1a; Thu, 05 Oct 2023 14:08:29 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qoP1d-003fbK-2G for linux-arm-kernel@lists.infradead.org; Thu, 05 Oct 2023 14:08:28 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id DD4F561993; Thu, 5 Oct 2023 14:08:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49DC5C43397; Thu, 5 Oct 2023 14:08:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696514904; bh=DK81/htK+2aR7Ilf7FzYj5ATkDZv3qQF17441LDLSQI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LPDVrJrdB0gzVcVk+AiFyKdrZVSNnQpfOQFIaFc4NtyGmObglYpZx69OaOGxp+ZER py5k8PfxXKyzgWa0b2AKIWe2JEdutccIbKszNnOyOg/Ez6fPRG84YUjD8WvCIk3BrB 1WH+4nc063LUHU7aoVjg469gO4QNqrTV5AaHuY6vc7cpm4IpVL2RZemXP5b+Af5nYr GTtCI56AjK7ZEqTzzo2V0FRO/oCQXaDgSWFEBDAHo08W1lf4KelpMHDtumRkW9g5ZJ JwdncdvmnOcD4i/6EiMekH2hr+KBQnZeckZ/4DPy7A5qJ2qSB6IYT2/b6+BV6HqVpM 9bEe+N6iDj5Eg== Date: Thu, 5 Oct 2023 16:08:16 +0200 From: Lorenzo Pieralisi To: Jason Gunthorpe Cc: Catalin Marinas , ankita@nvidia.com, maz@kernel.org, oliver.upton@linux.dev, will@kernel.org, aniketa@nvidia.com, cjia@nvidia.com, kwankhede@nvidia.com, targupta@nvidia.com, vsethi@nvidia.com, acurrid@nvidia.com, apopple@nvidia.com, jhubbard@nvidia.com, danw@nvidia.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 2/2] KVM: arm64: allow the VM to select DEVICE_* and NORMAL_NC for IO memory Message-ID: References: <20230907181459.18145-1-ankita@nvidia.com> <20230907181459.18145-3-ankita@nvidia.com> <20231005115630.GL682044@nvidia.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231005115630.GL682044@nvidia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231005_070825_783745_1FAE38AF X-CRM114-Status: GOOD ( 18.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 05, 2023 at 08:56:30AM -0300, Jason Gunthorpe wrote: > On Thu, Oct 05, 2023 at 11:56:55AM +0200, Lorenzo Pieralisi wrote: > > On Tue, Sep 26, 2023 at 02:52:13PM +0100, Catalin Marinas wrote: > > > > [...] > > > > > Anyway, the text looks fine to me. Thanks for putting it together > > > Lorenzo. > > > > Thanks ! > > > > > One thing not mentioned here is that pci-vfio still maps such memory as > > > Device-nGnRnE in user space and relaxing this potentially creates an > > > alias. But such alias is only relevant of both the VMM and the VM try to > > > access the same device which I doubt is a realistic scenario. > > > > A revised log, FWIW: > > What is the plan here, do you want Ankit to resend the series with > this text? I have put together the text to summarize the discussions that led to this patch; if that helps somehow, yes please, make it the commit log. > There were no comments on patch 1/2? I don't have enough background knowledge to make a statement on this series' code, I just wanted to make sure the architectural details are in the commit log so that it can help the reviewers and, if it makes it to the kernel, future developers. Thanks, Lorenzo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel