Allow VSET write cache to be enabled in bare metal mode.

Signed-off-by: Brian King <brk...@linux.vnet.ibm.com>
---

 iprlib.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff -puN iprlib.c~iprutils_vset_wcache_baremetal iprlib.c
--- iprutils.patched/iprlib.c~iprutils_vset_wcache_baremetal    2016-10-05 
11:19:19.238305447 -0500
+++ iprutils.patched-bjking1/iprlib.c   2016-10-05 11:20:17.888936022 -0500
@@ -7769,8 +7769,7 @@ int ipr_set_ioa_attr(struct ipr_ioa *ioa
        if (ipr_get_ioa_attr(ioa, &old_attr))
                return -EIO;
 
-       if (ioa->has_vset_write_cache && attr->vset_write_cache &&
-           power_cur_mode != POWER_BAREMETAL) {
+       if (ioa->has_vset_write_cache && attr->vset_write_cache) {
                /* vset cache should not be disabled adapter-wide
                 for any reason.  So we don't save the parameter here. */
                ipr_change_cache_parameters(ioa,
_


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Iprdd-devel mailing list
Iprdd-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iprdd-devel

Reply via email to