Re: [RFC] avoid indirect calls for DMA direct mappings v2

From: Christoph Hellwig
Date: Tue Dec 11 2018 - 12:15:12 EST

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 <tony.luck@xxxxxxxxx>

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..