Message ID | 20180924144851.164533-21-alexander.levin@microsoft.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp813664lji; Mon, 24 Sep 2018 07:50:26 -0700 (PDT) X-Google-Smtp-Source: ANB0VdansYuU6REUcpVP4MMUxsEYcVlVXdRPW8woikTDYk6tJQqPpPQrzKUDLfHWEAe0vhXqcKb8 X-Received: by 2002:a62:c4da:: with SMTP id h87-v6mr10777890pfk.39.1537800626803; Mon, 24 Sep 2018 07:50:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537800626; cv=none; d=google.com; s=arc-20160816; b=d5sXoy9qZTAXgIZCprir0aTdA05HlSqDG3z1mk3woba2eavilA55izgpgVxRmg0nFa YcNrKE8rigjEsabAai3BJJBYtCQo0wJUdyYESynuQOsnRDAP+W/ZUrA34jgue5hn6rGG Wk89JGK2uEvgGIn9/7DOE6pPv7grCoGylUINxWbk8TXwmW4uWsoSjC8aZSd63+T/Uq08 1bHfZZFkygDJwg3g1q1IzzaueubSsJiz8ao8s+EFJ8knSpTSWrTMOmAO8F1cS/KFvuQH mE1/xCbMavlKcr3tkLJybzILrZSQIFvVgtFMsMI6o3QJ2+CFoFzTNajlNqpvPCeYtQis M2RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=j+S2b0r/YkNG9gxzOHdq1cAKiOm0xn0VOoTz/2Xek1Y=; b=a1nhujOSak68PTuA4a7v/wdNL5DgWpms2cpBbrrs+j9fywd+dLMnOqIpWbKmPSma/m MjUeCOGxh6mGMTnWhVUwXuxTK7lEEPEjG2FApYd7nHM4vuXUSZ6KT99zRZMhFT4BvA5L LOKyYSptvEd5t64+V/R8xZvswAlFZjr4Xi047FvIDpi5ioYgZ0oUhz4JjgZFYVX67H19 tqAmeAiVT+MZXnIO61vTl+U1ec86I6+IKAEHolV8X7/ruKcBYHGQpMEBZzeS2BQeNX9h SqHkVnlLkRGF5wOZrlOiSkAsGu4TsuA8zIEdtXul8eHvGUzjBL5cRoQbYweoZJJUfDp7 p8Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=hnOVWj9s; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2-v6si34171697pgm.236.2018.09.24.07.50.26; Mon, 24 Sep 2018 07:50:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=hnOVWj9s; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388425AbeIXUwy (ORCPT <rfc822;ruslan.trofymenko@linaro.org> + 13 others); Mon, 24 Sep 2018 16:52:54 -0400 Received: from mail-bl2nam02on0111.outbound.protection.outlook.com ([104.47.38.111]:27262 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388354AbeIXUww (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 24 Sep 2018 16:52:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j+S2b0r/YkNG9gxzOHdq1cAKiOm0xn0VOoTz/2Xek1Y=; b=hnOVWj9scacc01B3DoCNhZkylvzJ8zqOKzO6RWiXm2fdAyejm/ovkpHPup8ooQ5FoaC5xq5vvInd7e5R34+8FHiVj8K4R0S1Ba/UzXuf7e31ILEMd4QMAdao4yISA5aq9J0Lt0lO2Nbd3q9j+3N3j7LVeqfSyIitx3CZqndekZo= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0470.namprd21.prod.outlook.com (10.172.121.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.3; Mon, 24 Sep 2018 14:50:16 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::54e2:88e0:b622:b36]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::54e2:88e0:b622:b36%5]) with mapi id 15.20.1207.003; Mon, 24 Sep 2018 14:50:16 +0000 From: Sasha Levin <Alexander.Levin@microsoft.com> To: "stable@vger.kernel.org" <stable@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> CC: Will Deacon <will.deacon@arm.com>, Vineet Gupta <vgupta@synopsys.com>, Sasha Levin <Alexander.Levin@microsoft.com> Subject: [PATCH AUTOSEL 4.14 21/36] ARC: atomics: unbork atomic_fetch_##op() Thread-Topic: [PATCH AUTOSEL 4.14 21/36] ARC: atomics: unbork atomic_fetch_##op() Thread-Index: AQHUVBW9dD4N1IrGDkaLzqPXQGN5Zg== Date: Mon, 24 Sep 2018 14:49:05 +0000 Message-ID: <20180924144851.164533-21-alexander.levin@microsoft.com> References: <20180924144851.164533-1-alexander.levin@microsoft.com> In-Reply-To: <20180924144851.164533-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR21MB0470; 6:7wfJyXmii7XGJZKESJ+tL59jd0NKgJB8PwK0jnNkOXH8nOVogYjVUjMyunz47AcPtdmPklYwKZEAda/jIMxIbRaPqYQsRpGaLBuqDW8zeQyPhm1DpICO2kJRl8I13BTcZ/lC5XSBrbzhGbcucMcDafnuP8vyDkTkBFG886zJAkxSp+utob92AgVZH84HgNeDZKx+NkdhPJbNEKVDsHxzc5qgZUNWUnUkNtVaMp1gTZ2N8KacpWIFqzzNKruoH7GyXOglrLgYFvyKTyRF6v4W1Cg4wRo9z9cLmvosizHodkm5jFrPpI2yYwNXGvc1aRmQFZjmlds9mxQOQsXEgzXNPc/ysodyDfAY786l3cNpdNFdal7W/RJVYzYbwWEt+R1qyHZeBuUT4Xg7CgNrcGIOBOC+KUpJ0EXhLFLs4f89mGTdI2Lpz5kS3/aiimib3WFcbqkhXZJWR5kwEXjAjUmQYw==; 5:ENPQTd/DvKwyRxLtEhFiy6fFUt8tFIoInigq0KdgaKfRVx7c0Q1PZSjl2EHhTtF/DxGKm4n1hCvj+WDU3XYoFY6ZvbDIyJiPTxvnKKzx0A3khXfB4xtkM6t9OlofEfYNt4xVuXiGnCVVxB8bX1SDjbXu3pz5B1RdDBgZY9ICG4o=; 7:OAcg6UsSL0m3H9PPLsA1xoJxocYhgdhbBFn3YpnkYUDGXvbT6TfTiYqGfWhrGp2GiHPIXvE3a3Q+MQhGcgPDWr8TiVvYXzpSM9lzO1b9Q2BGIexi6aSKD0TTsLAS8ymu9EGzvPcOhuhH/vQpvUpGHbCatifd/oPe0iU5w0x1xMfiA90D8JtQ7Jfdxup+PzT6ZR+Jq09XjokUzt5vPRAeKUIJG3i+vG3uu6dcd8XuLUldXIWiDjk7kXcivg0ksMLQ x-ms-office365-filtering-correlation-id: e3726cff-69c1-4e56-b05d-08d6222d0ab2 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7193020); SRVR:CY4PR21MB0470; x-ms-traffictypediagnostic: CY4PR21MB0470: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: <CY4PR21MB047065569473A1F36729A74CFB170@CY4PR21MB0470.namprd21.prod.outlook.com> x-exchange-antispam-report-test: UriScan:(180628864354917)(28532068793085)(89211679590171); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231355)(944501410)(52105095)(2018427008)(6055026)(149066)(150027)(6041310)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(201708071742011)(7699051)(76991041); SRVR:CY4PR21MB0470; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0470; x-forefront-prvs: 0805EC9467 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(396003)(39860400002)(346002)(366004)(136003)(189003)(199004)(54534003)(26005)(97736004)(53936002)(14444005)(25786009)(1076002)(76176011)(99286004)(102836004)(186003)(6666003)(4326008)(3846002)(110136005)(107886003)(86362001)(5660300001)(6116002)(72206003)(54906003)(478600001)(8676002)(217873002)(86612001)(256004)(14454004)(10290500003)(316002)(6486002)(6436002)(106356001)(486006)(105586002)(446003)(6506007)(11346002)(476003)(10090500001)(2616005)(2501003)(5250100002)(71190400001)(68736007)(66066001)(81156014)(71200400001)(22452003)(7736002)(305945005)(2900100001)(8936002)(6512007)(81166006)(36756003)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0470; H:CY4PR21MB0776.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 02GM9Ap+e1trXZv08SuzLMHuYBJZYntF+RPqWjsyUCWShUdbPAvjSQDvJgT54F0r+LaHLooUkPfQeyYxSkYu2J8bfCJnj7f1QIv5ilsKGt8oLqTDcB1T1mGGu0uMpXnxetO+PofsU+kBieAcl6WdYi5d1N0xVg5fw7DbTo3Xqa3AkNBvwRD1K9B8eSCdiOvUmDkWRr4UU3lInhKjtx9Kkdc8gRSnSb3ICEimzBtI7jdl00UWD9vmgtm+Q362lx7cau1Afz701LlDzbuXn3VdhxnvYfLrVV1vs+DPG5z4ceasYnhPPjM2AxIItE1qjFt6nbgZiIdBUA09v7PtE7+iay4XwkEyAD4A24IfSqmrQQM= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: e3726cff-69c1-4e56-b05d-08d6222d0ab2 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2018 14:49:05.8144 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0470 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/arch/arc/include/asm/atomic.h b/arch/arc/include/asm/atomic.h index 11859287c52a..c98b59ac0612 100644 --- a/arch/arc/include/asm/atomic.h +++ b/arch/arc/include/asm/atomic.h @@ -84,7 +84,7 @@ static inline int atomic_fetch_##op(int i, atomic_t *v) \ "1: llock %[orig], [%[ctr]] \n" \ " " #asm_op " %[val], %[orig], %[i] \n" \ " scond %[val], [%[ctr]] \n" \ - " \n" \ + " bnz 1b \n" \ : [val] "=&r" (val), \ [orig] "=&r" (orig) \ : [ctr] "r" (&v->counter), \