| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /** |
|---|
| 2 | 3 | * SHA-512 routines supporting the Power 7+ Nest Accelerators driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2011-2012 International Business Machines Inc. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 8 | | - * the Free Software Foundation; version 2 only. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | | - * GNU General Public License for more details. |
|---|
| 14 | | - * |
|---|
| 15 | | - * You should have received a copy of the GNU General Public License |
|---|
| 16 | | - * along with this program; if not, write to the Free Software |
|---|
| 17 | | - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|---|
| 18 | 6 | * |
|---|
| 19 | 7 | * Author: Kent Yoder <yoder1@us.ibm.com> |
|---|
| 20 | 8 | */ |
|---|
| .. | .. |
|---|
| 166 | 154 | goto out; |
|---|
| 167 | 155 | } |
|---|
| 168 | 156 | |
|---|
| 169 | | - rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, |
|---|
| 170 | | - desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP); |
|---|
| 157 | + rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); |
|---|
| 171 | 158 | if (rc) |
|---|
| 172 | 159 | goto out; |
|---|
| 173 | 160 | |
|---|
| .. | .. |
|---|
| 249 | 236 | goto out; |
|---|
| 250 | 237 | } |
|---|
| 251 | 238 | |
|---|
| 252 | | - rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, |
|---|
| 253 | | - desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP); |
|---|
| 239 | + rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); |
|---|
| 254 | 240 | if (rc) |
|---|
| 255 | 241 | goto out; |
|---|
| 256 | 242 | |
|---|