Received: by 10.213.65.68 with SMTP id h4csp294802imn; Wed, 28 Mar 2018 03:51:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx49BVlnYv/db1W12CzyWdl5u6LhGbI+x/2KCHq1SkrnI+p3o4akwuFFn2tlIA2RoDJNlWCGw X-Received: by 10.101.74.69 with SMTP id a5mr2282127pgu.32.1522234286630; Wed, 28 Mar 2018 03:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522234286; cv=none; d=google.com; s=arc-20160816; b=0X+mhVEjnahqIGEJzTTt4wpsmbPmxCxbtWBLPj5dKzvT37Il7BWYQbisxhfnB5IDBq WDvsFFCeqqoGtXmtPpYrPLLY/rejBNqMelK8BnYJXZ7J1sfsPNwDVerTAu4DovNT7VfA Sye94oXyNX6Ey5UEZ2Bhy/NNG1MHjKuyjnOtP5MxrkCd4r2F115aSCTDjhEGfxP0Oa4R zkM0jZgi/krHeT2ss1OKY8fNk0xGoK7U4dIWxS1R+B0KfsPKXIMq+e6p7svuFlxyvsRW vKME30Hyo+BfafO19N1W1hqEWWK0rrRFzlqXni4P34M2U7Y8RM/jLctyPCA+1ls6XHjB yxpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=oUPhJUMW7QDMo55ZymTlveVW1TB+3Y66IpADQOllAXk=; b=wOxWXTCLXD70ecSJlEniOVxgRV+CMlkRfcoDDsb+B+JDyjRbGxNpPUdkeKQavCJway Uj0gkiDUnJ7gvn/6qPX50JQbXDgMytjhPYjBnPbNfLF98pYVCH/UhpVXLjmnZC407Ott 1gQ8DzCBfaRZ4HElkooApH9A5/arIEBZMD5bl5GeX713Njfx2YlZJ4gAmGTooiX3edpQ JH8p3ledgq0vJ1lgMkuIHQ8fAJjlmtmcybj+AEFgsq5z3gWj/yLzAEaFFfJ3lbjq08ht Q8/b6xbZXIzJDYIjZnIBK3xq5kDYC3F/k1XAaG0aNhJpzg92LYVhrTrdsUJyR7zPPTZZ cL/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Q6rUf8/v; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b17si2269568pgu.407.2018.03.28.03.51.10; Wed, 28 Mar 2018 03:51:26 -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=@amarulasolutions.com header.s=google header.b=Q6rUf8/v; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752154AbeC1JqW (ORCPT + 99 others); Wed, 28 Mar 2018 05:46:22 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:36253 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751434AbeC1JqV (ORCPT ); Wed, 28 Mar 2018 05:46:21 -0400 Received: by mail-wm0-f67.google.com with SMTP id x82so4000775wmg.1 for ; Wed, 28 Mar 2018 02:46:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id; bh=oUPhJUMW7QDMo55ZymTlveVW1TB+3Y66IpADQOllAXk=; b=Q6rUf8/vktHZo18d7c+dm1II5DjSgAvjiCPrmb+td2+p+FRuYahvDzL9XPvS7vBiGa G1iEwoo2mRF1a8Faq8lmWt9qkCFuOj7AwKg7/KbyDlz4LYL5lHIyaKn4sz29BZqjCSvW fRLxTk2mxm3V+lusbupogcOhVkHy6EBAYnG8M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=oUPhJUMW7QDMo55ZymTlveVW1TB+3Y66IpADQOllAXk=; b=WAZxC9BvSEf7CC9EpkANZ8txG7dIJhnhsHQSWm6UuPHBKseTt3xxorlK5GsgjqQ6sn tTTbwYcnUx1u4qFPN6N4stXkScWjDJpEMdj64elDs7lY2dtTh6NwK9A58Mtyle+qoZIx 2TYv+mflzerIW8Cth2hA+ZYnUI1j+EEkSa/oZNarn3lU+0fLRc8/GEE3t92QFqS+Za3L RS1Dys2kjlY0gRcaCUPpkgZfkS2O9tEXW71whJXnem4FOfcKwWyTXX+ioh4n0n957FRY GHMS5nsVGeZQXOciXAR61ygrZtDhlbTgyBCcnkv3n/bWfIonUM060noqFFS2b4zalpuT aFkA== X-Gm-Message-State: AElRT7EMofrjpaueVAy1r7GGeHOBJkJIp/MiNvmCsPJHSvPAOcypFAZC XHdDa4Y/OeOqbw5ax0f6A5lO3Q== X-Received: by 10.28.226.138 with SMTP id z132mr1922979wmg.101.1522230379997; Wed, 28 Mar 2018 02:46:19 -0700 (PDT) Received: from localhost.localdomain ([213.209.242.222]) by smtp.gmail.com with ESMTPSA id b34sm5609235wra.21.2018.03.28.02.46.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Mar 2018 02:46:19 -0700 (PDT) From: Andrea Parri To: Will Deacon , Catalin Marinas , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Peter Zijlstra , Ingo Molnar Cc: Linus Torvalds , linux-kernel@vger.kernel.org, Andrea Parri Subject: [PATCH v2 for-4.17 0/3] Changes and clean-ups for spin_is_locked() Date: Wed, 28 Mar 2018 11:45:53 +0200 Message-Id: <1522230353-12213-1-git-send-email-andrea.parri@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A resend of the "arch_spin_is_locked() patches" discussed in the last days, together with a third patch/clean-up suggested by Will during the review procees. The first two patches are unmodified, except for the inclusion of Acked-by:'s. Cheers, Andrea Andrea Parri (3): arm64: Remove smp_mb() from arch_spin_is_locked() powerpc: Remove smp_mb() from arch_spin_is_locked() locking: Clean-up comment and #ifndef for {,queued_}spin_is_locked() arch/arm64/include/asm/spinlock.h | 5 ----- arch/powerpc/include/asm/spinlock.h | 1 - include/asm-generic/qspinlock.h | 2 -- include/linux/mutex.h | 3 --- 4 files changed, 11 deletions(-) -- 2.7.4