On 2020-02-29 3:47 p.m., Dan Williams wrote: > On Fri, Feb 21, 2020 at 10:25 AM Logan Gunthorpe <[email protected]> wrote: >> >> PCI BAR IO memory should never be mapped as WB, however prior to this >> the PAT bits were set WB and it was typically overridden by MTRR >> registers set by the firmware. >> >> Set PCI P2PDMA memory to be WC (writecombining) as the only current >> user (the NVMe CMB) was originally mapped WC before the P2PDMA code >> replaced the mapping with devm_memremap_pages(). > > Will the change to UC regress this existing use case? I don't think so. They've been essentially mapped UC for a long time now (since the P2PDMA patch set was merged) and nobody has complained.
- [PATCH v3 0/7] Allow setting caching mode in arch_add_me... Logan Gunthorpe
- [PATCH v3 7/7] mm/memremap: Set caching mode for PC... Logan Gunthorpe
- Re: [PATCH v3 7/7] mm/memremap: Set caching mod... Dan Williams
- Re: [PATCH v3 7/7] mm/memremap: Set caching... Logan Gunthorpe
- [PATCH v3 6/7] mm/memory_hotplug: Add pgprot_t to m... Logan Gunthorpe
- Re: [PATCH v3 6/7] mm/memory_hotplug: Add pgpro... David Hildenbrand
- Re: [PATCH v3 6/7] mm/memory_hotplug: Add pgpro... Dan Williams
- Re: [PATCH v3 6/7] mm/memory_hotplug: Add p... Logan Gunthorpe
- Re: [PATCH v3 6/7] mm/memory_hotplug: A... Dan Williams
- [PATCH v3 2/7] mm/memory_hotplug: Rename mhp_restri... Logan Gunthorpe
- Re: [PATCH v3 2/7] mm/memory_hotplug: Rename mh... David Hildenbrand
- Re: [PATCH v3 2/7] mm/memory_hotplug: Rename mh... Dan Williams
- Re: [PATCH v3 2/7] mm/memory_hotplug: Rename mh... Michal Hocko
- [PATCH v3 4/7] x86/mm: Introduce _set_memory_prot() Logan Gunthorpe
