Re: [PATCH v4 02/11] cxl: Drop commands if the PCI channel is not in normal state

2015-08-13 Thread Ian Munsie
Acked-by: Ian Munsie imun...@au1.ibm.com Excerpts from Daniel Axtens's message of 2015-08-13 14:11:20 +1000: +/* Only warn if we detached while the link was OK. Only because mpe is sure to pick this up (I personally don't mind) - block comments should start with /* on a line by itself. +

[PATCH v4 02/11] cxl: Drop commands if the PCI channel is not in normal state

2015-08-12 Thread Daniel Axtens
If the PCI channel has gone down, don't attempt to poke the hardware. We need to guard every time cxl_whatever_(read|write) is called. This is because a call to those functions will dereference an offset into an mmio register, and the mmio mappings get invalidated in the EEH teardown. Check in