From: Daniel Axtens Date: Fri, 14 Aug 2015 07:41:25 +0000 (+1000) Subject: cxl: Allow the kernel to trust that an image won't change on PERST. X-Git-Tag: omap-for-v4.3/fixes-rc1~100^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13e68d8bd05c998cae452a4f3400af1e8edd852e;p=pandora-kernel.git cxl: Allow the kernel to trust that an image won't change on PERST. Provide a kernel API and a sysfs entry which allow a user to specify that when a card is PERSTed, it's image will stay the same, allowing it to participate in EEH. cxl_reset is used to reflash the card. In that case, we cannot safely assert that the image will not change. Therefore, disallow cxl_reset if the flag is set. Signed-off-by: Daniel Axtens Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed