Re: [PATCH] x86: PAT: Documentation: update overlapping ioremap hack recommendation

2016-03-04 Thread Paul E. McKenney
On Fri, Mar 04, 2016 at 08:23:26PM +0100, Luis R. Rodriguez wrote: > On Thu, Mar 03, 2016 at 01:42:33PM -0800, Paul E. McKenney wrote: > > On Thu, Mar 03, 2016 at 01:21:48PM -0800, Luis R. Rodriguez wrote: > > > The current documentation refers to using set_memor_wc() as a > > > possible hole strat

Re: [PATCH] x86: PAT: Documentation: update overlapping ioremap hack recommendation

2016-03-04 Thread Luis R. Rodriguez
On Thu, Mar 03, 2016 at 01:42:33PM -0800, Paul E. McKenney wrote: > On Thu, Mar 03, 2016 at 01:21:48PM -0800, Luis R. Rodriguez wrote: > > The current documentation refers to using set_memor_wc() as a > > possible hole strategy when you have overlapping ioremap() regions, > > that's incorrect as se

Re: [PATCH] x86: PAT: Documentation: update overlapping ioremap hack recommendation

2016-03-03 Thread Paul E. McKenney
On Thu, Mar 03, 2016 at 01:21:48PM -0800, Luis R. Rodriguez wrote: > The current documentation refers to using set_memor_wc() as a > possible hole strategy when you have overlapping ioremap() regions, > that's incorrect as set_memory_*() helpers can only be used on RAM, > not IO memory. This fixes

[PATCH] x86: PAT: Documentation: update overlapping ioremap hack recommendation

2016-03-03 Thread Luis R. Rodriguez
The current documentation refers to using set_memor_wc() as a possible hole strategy when you have overlapping ioremap() regions, that's incorrect as set_memory_*() helpers can only be used on RAM, not IO memory. This fixes that, and updates the documention to *strongly* discourage overlapping iore