Received: by 10.223.185.116 with SMTP id b49csp181438wrg; Fri, 2 Mar 2018 16:25:47 -0800 (PST) X-Google-Smtp-Source: AG47ELv/b9g/te8gseKN1N724QY/PZIculm+1jfzA24Ubl97CtE3pDCIRzNyMur6BPJxv5/gFr1O X-Received: by 10.99.125.16 with SMTP id y16mr5852218pgc.3.1520036747141; Fri, 02 Mar 2018 16:25:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520036747; cv=none; d=google.com; s=arc-20160816; b=ZKtXkoineZrDgPYbz2e4wYJmPbKDMZpvf06MtbkmRdn/h60oW8UbkJjiq5F/98xHXT LYC1qiHoDjSTKESlETsBXaERYtamKexebMzvbq517+W/ZcJeG+TB7Bgs/fcfm8ujschu 6nneiUuahcsJBDcxMit5fazM6ybDq51UwpPsecMOEidbhTMwbpOY6LxG8vVRa+7grOJw KewwTFaOucGsXCLnWGUNSsx8NUijVyB0hh1J9x8XmJM5dksg1iZa1n7lPpggUuGFBfI7 uaOyDDuy1hqrTWMdOn1+IfJaqkVEzrd9rHt74HpwnVbcoRQDIOFYNzmqnfoO0Wl23IbG AnAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=94eMUdtctPBOBgOzHHAZ10Q5RIlG/liO4WVfSp5sBSg=; b=lwEug9N3YrgIz1GoEUi9R5PJnjwJCfJrZYGuERYnSvEvx2m7e2g9LyH+qMaCX4/mpR sdWS4460kdY/mws3GjaJGeh25xT0dl8Z6gEYewxeC4xla6vlnaGlfYKJPwTR/qWUPX2R X0Z4u24c4OlAJjpkXjubzLhkp/qfIv8mdPPdfXc4+/lL+KKGOs1r53mQ2agMd0M3odLM wct9rFqjjg2wxD82Csnmlx1NXYOQv1KzXfQwgYOlb3ZsDUdxeaB6knSgmEM1nxEQu+wY VBDpcUFUChW3OjsKgFXDHpuCTGe8fCrM5I3HLr6wSAH7CJzlRqpS+khKQU8uUDVTzPvz tUWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=OY4D/TY2; dkim=fail header.i=@linux-foundation.org header.s=google header.b=bo5JusGx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t12si4696536pgb.190.2018.03.02.16.25.32; Fri, 02 Mar 2018 16:25:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=OY4D/TY2; dkim=fail header.i=@linux-foundation.org header.s=google header.b=bo5JusGx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946656AbeCBRer (ORCPT + 99 others); Fri, 2 Mar 2018 12:34:47 -0500 Received: from mail-it0-f41.google.com ([209.85.214.41]:51678 "EHLO mail-it0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1428218AbeCBReo (ORCPT ); Fri, 2 Mar 2018 12:34:44 -0500 Received: by mail-it0-f41.google.com with SMTP id u66so2506771ith.1; Fri, 02 Mar 2018 09:34:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=94eMUdtctPBOBgOzHHAZ10Q5RIlG/liO4WVfSp5sBSg=; b=OY4D/TY2DHVETb5iP5Z6k8wBoWzKMyH2unuyPhPYgDn0BTG4FleDGAVwdM+T97t/0U 72rV64b5B8eGdaAXuow9gnbWwNMR9BBiMa2IWA2UT782dYLsIaRIA4wjhbHS51cacB2N pXb0nRsVg4BiKFZLp5VCxHiXoQ9S7hjoFjR3ahzwGTrSeRHphRhEKQiiLS6k/zkWWczI BT3X/WTf68VyS5HRzIwOuG+4OszUkIMDZPP6jehUFsxHjLRhWi25X9AgezeNJdCfWCnX cWPW9+DEPjuAhc+sVrDzrCZXfJTj9xECUL241uQDziQMpIs+NOWf2OvMQER3dYU2HEjM 2knA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=94eMUdtctPBOBgOzHHAZ10Q5RIlG/liO4WVfSp5sBSg=; b=bo5JusGx5M7DyK6n+3TgYZ2wjN6fNQ1Gd6fzFq6zCTNZfmkYL9Fzk6L78h5ipPmcxQ GY7uHH+FNXQPL/OV3Gq8p5D6fG9FILQyYpfl2CesSwKuCtB9u9YJCK6BwzP/zvGWiQpb 6QTFPaX1C5yTJHvLXIOzlQmAr5zrtEWAE1nLw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=94eMUdtctPBOBgOzHHAZ10Q5RIlG/liO4WVfSp5sBSg=; b=BPbtJEnIjksYxWnHgxbh0lVa3uBcSjeaRybLFGUPPwdPNcXp9EuASWO/H9txQYeRLs RBjQgakdugo4pe7k12BYCj6aLT9HUmIkLxGonV2XyFFP8YSJVctVXbkz9ucUVmOZcBVQ KzuI0VNrCIDinVQOgeyTjekcrfsCZJ2+auVTBjdgiWbyVAYSH7042X21QqFZr2LaYIsI nknNTRJv9MZAy+BY2HWj9uZFLLMnnSgqArNB0bSpZybkjZYJi19AEK0yVc2IjWZZeWV2 oTw5O1lxblD9119P17tOp6eaWQIBqXKIIUbN8Ys6eLS4/5HTbIJ76HKgmzImDjuQ6uKO FIZQ== X-Gm-Message-State: AElRT7HLBCaGFidC9Ue22aJzzD5bbp8u+kFhPOtgTq4wM9yke+Ac4+ZU ktznj9EExRa0PcWShKFhzGP/uhek+DHxs1gSrOg= X-Received: by 10.36.135.195 with SMTP id f186mr3566279ite.100.1520012083626; Fri, 02 Mar 2018 09:34:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.135.221 with HTTP; Fri, 2 Mar 2018 09:34:42 -0800 (PST) In-Reply-To: References: <20180228234006.21093-1-logang@deltatee.com> <1519876489.4592.3.camel@kernel.crashing.org> <1519876569.4592.4.camel@au1.ibm.com> <1519936477.4592.23.camel@au1.ibm.com> <1519936815.4592.25.camel@au1.ibm.com> <20180301205315.GJ19007@ziepe.ca> <1519942012.4592.31.camel@au1.ibm.com> <1519943658.4592.34.camel@kernel.crashing.org> <1520010446.2693.19.camel@hpe.com> From: Linus Torvalds Date: Fri, 2 Mar 2018 09:34:42 -0800 X-Google-Sender-Auth: ZsJbnA7LCk9M9X9G1163_7xBkRE Message-ID: Subject: Re: [PATCH v2 00/10] Copy Offload in NVMe Fabrics with P2P PCI Memory To: "Kani, Toshi" Cc: "benh@kernel.crashing.org" , "linux-kernel@vger.kernel.org" , "alex.williamson@redhat.com" , "linux-block@vger.kernel.org" , "linux-rdma@vger.kernel.org" , "hch@lst.de" , "axboe@kernel.dk" , "linux-nvdimm@lists.01.org" , "jglisse@redhat.com" , "linux-nvme@lists.infradead.org" , "maxg@mellanox.com" , "linux-pci@vger.kernel.org" , "keith.busch@intel.com" , "oliveroh@au1.ibm.com" , "jgg@ziepe.ca" , "bhelgaas@google.com" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 2, 2018 at 8:57 AM, Linus Torvalds wrote: > > Like the page table caching entries, the memory type range registers > are really just "secondary information". They don't actually select > between PCIe and RAM, they just affect the behavior on top of that. Side note: historically the two may have been almost the same, since the CPU only had one single unified bus for "memory" (whether that was memory-mapped PCI or actual RAM). The steering was external. But even back then you had extended bits to specify things like how the 640k-1M region got remapped - which could depend on not just the address, but on whether you read or wrote to it. The "lost" 384kB of RAM could either be remapped at a different address, or could be used for shadowing the (slow) ROM contents, or whatever. Linus