Message ID | 20180924144751.164410-42-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-v6csp833760lji; Mon, 24 Sep 2018 08:07:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV615r3A/jskYRfnPJUplDr7wrVdSVuSsavDyDEY4jYiSqIYU+P9qhXJn1c1XazvQ/V+X3WNS X-Received: by 2002:a63:170b:: with SMTP id x11-v6mr9625400pgl.364.1537801655869; Mon, 24 Sep 2018 08:07:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537801655; cv=none; d=google.com; s=arc-20160816; b=nL9h3b531y9/YfHiXfmc9QK+CM8wnYTJOWqblBoql10G3pujX6BNcT/9QGcC40Fvst sYFiZz4CtigYF7udfZoU2TF9dPyL12MXGSsxR/JG3nH4Roy9MTAnmnNvJHa2Z7RgCebG YeJomfwGUs45PtigUSaBUxbu7pxI/DEckFOCxsOC4w0sxeo/Ll87XYejRwx8l2Y/62SW bBtVZvZ5B9o0GXlD/Jd8C4yL3Pz/L6ZjvVCjVMDSXuijODzLUwl8sXua98lZyp3idN6j jUuqSlmi1QbldJ6sBLB5QRPZBakehBjA7GXQBcDyRvw02LvszcSIjjy2gMV3HJdp+UCf nctw== 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=rI/1/duJC4doxNsot9ignHLIHiP+dP3fCMmAx+BTlKLod332UjGYNChr43YHEuMXvS y94Z2jNhJWRqm10mJ64plqjLkuzlahywMYttp/SoU/fosp1ayYabxKJvQA0D9XX6lCbh RXEsF0myUs06DDLQPwIKXbTp2VAUqK8HkMmQeZ0LYaTuymUdq8CqP2ZErRLlehxNS5/s 4wOcvny+j1DVXI4gogCpa6l38a0jmCXNFW+/oOinbrCJXs6298ZRFXwxsb7My9a/HklZ 21bet8qpRr5tg/17Byo00s+mdxCsxjxtcCn0fc1DjW5qQEq1bF366L4mreTSIcOG9PPi dPbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b="O/wj5azq"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h32-v6si5935889pgm.126.2018.09.24.08.07.35; Mon, 24 Sep 2018 08:07:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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="O/wj5azq"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1731428AbeIXVKI (ORCPT <rfc822;igor.opaniuk@linaro.org> + 32 others); Mon, 24 Sep 2018 17:10:08 -0400 Received: from mail-eopbgr710090.outbound.protection.outlook.com ([40.107.71.90]:26752 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1733087AbeIXUvj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 24 Sep 2018 16:51:39 -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=O/wj5azqXu8kSFjZ42sacQWzyBlNvZxjF87Zu+sQPeOKsTkRevAWwowsiPYS7o04FklbN2IbCn3Gn5TYryQTGOisyLBb1x+21Iu/4wNAjbn/8lXM2wzcSefhoc5d3cKI+GKNQHJqyCVK583WuAKLCTwFe4cKSTTjaj5mdJsf5hI= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0855.namprd21.prod.outlook.com (10.173.192.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.5; Mon, 24 Sep 2018 14:48:55 +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:48:55 +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.18 43/76] ARC: atomics: unbork atomic_fetch_##op() Thread-Topic: [PATCH AUTOSEL 4.18 43/76] ARC: atomics: unbork atomic_fetch_##op() Thread-Index: AQHUVBWn8Jjg1tvV70SHOyQh5puObw== Date: Mon, 24 Sep 2018 14:48:28 +0000 Message-ID: <20180924144751.164410-42-alexander.levin@microsoft.com> References: <20180924144751.164410-1-alexander.levin@microsoft.com> In-Reply-To: <20180924144751.164410-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; CY4PR21MB0855; 6:Ki/v3aKL7Npogu23eaIqkyFd9HKDqcPSGAUECQ/frZBrd18WQljjJOjr60FTFQqmJ6XuLqsTDmS4QNADRYE7PkdjcVGVRaDJFclGm5j6MgwulGxmDV7kMT3xOUZV11sazQZB3eblgMiXwdMUjmXTS4Z6WKvxFVqi4BHRKMYrbDk/TewhgN40wuyr46+zWPRjjpboxeeC6kA0JRa4MTFQXUmpLN7icQhIK2ZZbfiD4/ywL1d07X/kuAAVOl1hDbpoy2lJbHeFZiuASkUlORPbkIFqryiNwXk8ARDJMO044ap8mnSFAe9SbcpRBebTDfCSqQ2iYHeceEg8gJMESjW6LctoRs8VQq+nBkGDMvGY82tUBOGdVp9VlxAJrlbv5wlIw8l3lnBDlyqg7LCYUPVKqhsfS2pslHB8nrmCd1eOM/dT1Z4+Y+Z5slhVJSFTTSHBxePifO6xYmZFGLF/tIEdPQ==; 5:Ndf+OrcVqSiqbZ1W5n3b612h06XeD35zA1tlQWvuKta/7VBkyIS/NYsyiWFjDVBAR6dnwOupH4hoMGkKeKQGhHpO7WiwmOCag5tWGeYSiPuUae0DIcyuPjDyDjRQtwLH5vSqke6ctv4If8AVTViCiymvDe3xy1N2CyGIs5ad3Fg=; 7:GmVJIdSnadqGmzIt38r8cjgEUiMYPV3ks9/07UL5qtvUXRK8QqXRaJbSu+8FopiwCMiJmr1mGvOy0SBs8nmA4QdyCAomCtxpPZdE8iMNhmjgvUMwuy8eGqakkxsjFSvdO89EjsitNqZ7XkTxOqELjQkNMMBG7NWDh8zWnGWKXRKrPVw5T7U8O60y7ie3tAO/sxE8xs9mV3wL2dFymsxBLSM9EqZTIm7psSkAmmRwD/YFEZI9r01TmzpXAJMo3TER x-ms-office365-filtering-correlation-id: 4b963fde-d6d0-48d2-c18b-08d6222cda5c 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:CY4PR21MB0855; x-ms-traffictypediagnostic: CY4PR21MB0855: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: <CY4PR21MB0855FF703D36F35F78BA56C3FB170@CY4PR21MB0855.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)(93006095)(93001095)(3231355)(944501410)(52105095)(2018427008)(3002001)(10201501046)(6055026)(149066)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123564045)(201708071742011)(7699051)(76991041); SRVR:CY4PR21MB0855; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0855; x-forefront-prvs: 0805EC9467 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(396003)(136003)(366004)(39860400002)(199004)(189003)(54534003)(486006)(81166006)(6436002)(110136005)(54906003)(10290500003)(6666003)(86362001)(446003)(6486002)(68736007)(2900100001)(86612001)(476003)(6512007)(1076002)(2616005)(305945005)(81156014)(105586002)(10090500001)(14454004)(71200400001)(106356001)(316002)(7736002)(71190400001)(478600001)(11346002)(6116002)(8936002)(5660300001)(3846002)(72206003)(97736004)(8676002)(6506007)(25786009)(36756003)(66066001)(2906002)(5250100002)(76176011)(26005)(14444005)(217873002)(107886003)(186003)(256004)(102836004)(22452003)(2501003)(99286004)(53936002)(4326008); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0855; H:CY4PR21MB0776.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: sEN1bafe4itZK1LDfxEs7vgIO2E2uskhQ/qU+hV6UtZ78sunkJd/tihT1Tbi79i1qTV7GNbXYa6QdUFRDSPlXljTG7+6ZAt9m0Fme0aKCWnamJeujNLkaFYMLWKqKqIYu2RkMRkjtDZRxIKCke6vocPxtJFslHnQ04H3eEig22IWF76wMduG25korqUXWBUeCDG34FbnZWkEYgRyG9dppAkg4lSjABjwQJkR8o3yrZPjkR+OEZFDB7/cGXo7iROfPXy5WI8rJXEkstGFCMeKvuW3JrMtudMa9B5H1ds5pvAHDC2+gqL3pdpFwttvHDYQ4nVci8MleqJXq8Uu9xA1SRRug4ASXnW1AYTs91hqNVM= 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: 4b963fde-d6d0-48d2-c18b-08d6222cda5c X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2018 14:48:28.3756 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0855 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@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), \