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-17 16:29:43.186067027 -0500 +++ iprutils.patched-bjking1/iprlib.c 2016-10-17 16:29:43.193066998 -0500 @@ -7768,8 +7768,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, _ ------------------------------------------------------------------------------ The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik _______________________________________________ Iprdd-devel mailing list Iprdd-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iprdd-devel