Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp927110imu; Tue, 11 Dec 2018 09:40:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wv6u7JVou52O5wC7ayKz3IAIkMRUH+r0qi0FYVOd32Ww+NNG7HJdd11kN3dvGngFMfDik/ X-Received: by 2002:a17:902:bb98:: with SMTP id m24mr16355772pls.71.1544550025682; Tue, 11 Dec 2018 09:40:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544550025; cv=none; d=google.com; s=arc-20160816; b=rKo/agWJ1WJKDd/UpMgenOpEGLJoF75KfzJ5pxuBWQjTz2jnmUt8CYMDbcp303S/ed EEaNtZsBqTFyADH750VlIn8mfSlwSmkGiEkYKwxHQGdbFwUBtn0JNf5hVvKIY9OgMIks 2ARiNrcuQ2j2+43Hyr3Pk9yo6vOC9tfXcFRiW6vMZ2vSE3VsNQFyBxckrTEswFVs/yH4 F4j8iB1A9HRv3VOEaTZCFxhCWpmLGJ525vB0LPq1BU8758sH8J/fRTWUAomV0fBAMbaW t7Gyahj0SnrQXkm/oUiWJwRxbW85fgEdfFY2kpMjpVybKZBT+2yQjhm223a+09v2NzCy fHOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=cf4tChty81Fo+X3ecex6QEUtLB66aVXKCzoLQ6iErXw=; b=LE5sz4nNOnhY2bg6qXaRnyJkp0Ufw4ISE0hy7fMYbVTAQdzKOMyse1HCaqXY1XgNEu BzcoWypqd9KRoOHZqdnmk2ykgn+vXb7B1HAyHevZ4nLTf/SdAcBGM+363RdUUH2bw68b fokXYg9IBFAmyaUy9+vCmXfH4YqXXh+zTlL4cTVpPvwriv6U9pO1t6ZnBf//ABjdRi9S yjpzzvZZHhkNYSs4RIhEMrrLtyZ5D6arHX+5JgTUd30F8LHbkO9tqWVzzuc+z1AVC8gT Oqu89D6B3IZhu09V4oqiNB0NGafA3JHWXFf28tJSOQX/NYRDaqZArRKqMxgdjCWc7jDI jWAw== ARC-Authentication-Results: i=1; mx.google.com; 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 27si12595306pgp.135.2018.12.11.09.40.10; Tue, 11 Dec 2018 09:40:25 -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; 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 S1727072AbeLKRPJ (ORCPT + 99 others); Tue, 11 Dec 2018 12:15:09 -0500 Received: from verein.lst.de ([213.95.11.211]:56965 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726402AbeLKRPG (ORCPT ); Tue, 11 Dec 2018 12:15:06 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 9B3E068D8D; Tue, 11 Dec 2018 18:15:04 +0100 (CET) Date: Tue, 11 Dec 2018 18:15:04 +0100 From: Christoph Hellwig To: "Luck, Tony" Cc: Christoph Hellwig , "iommu@lists.linux-foundation.org" , Linus Torvalds , Jesper Dangaard Brouer , Tariq Toukan , Ilias Apalodimas , Toke =?iso-8859-1?Q?H=F8iland-J=F8rgensen?= , Robin Murphy , Konrad Rzeszutek Wilk , "Yu, Fenghua" , Marek Szyprowski , "Busch, Keith" , "Derrick, Jonathan" , "linux-pci@vger.kernel.org" , "linux-ia64@vger.kernel.org" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC] avoid indirect calls for DMA direct mappings v2 Message-ID: <20181211171504.GA13624@lst.de> References: <20181207190720.18517-1-hch@lst.de> <20181210215113.GA22180@agluck-desk> <20181211065112.GA13668@lst.de> <3908561D78D1C84285E8C5FCA982C28F7D4922D6@ORSMSX110.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3908561D78D1C84285E8C5FCA982C28F7D4922D6@ORSMSX110.amr.corp.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 11, 2018 at 05:13:30PM +0000, Luck, Tony wrote: > > But that might not be your fault. My ancient system is getting flaky. A v4.19 build that > > has booted before is also resetting :-( > > After a power-cycle (and some time to let the machine cool off). System now boots > with your patch series plus the __phys_to_pfn() #define > > So if you can figure the right way to fix that, you are good to go. > > Tested-by: Tony Luck Thanks. I'll just replace the __phys_to_pfn with PHYS_PFN for now, and see if I can find time to get the whole kernel to agree to one version of this macro eventually..