From: Gavin Shan Date: Tue, 30 Sep 2014 02:39:01 +0000 (+1000) Subject: powerpc/eeh: Unfreeze PE on enabling EEH functionality X-Git-Tag: fixes-against-v3.18-rc2~117^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4eeeff0ebcdeabf3f76c4eece0593e98c6619be8;p=pandora-kernel.git powerpc/eeh: Unfreeze PE on enabling EEH functionality When passing through PE to guest, that's possibly in frozen state. The driver for the pass-through devices on guest side can't be loaded successfully as reported. We already had one gate in eeh_dev_open() to clear PE frozen state accordingly, but that's not enough because the function is only called at QEMU startup for once. The patch adds another gate in eeh_pe_set_option() so that the PE frozen state can be cleared at QEMU restart time. Signed-off-by: Gavin Shan Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed