From patchwork Tue Nov 13 14:48:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 150973 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4489855ljp; Tue, 13 Nov 2018 06:48:20 -0800 (PST) X-Google-Smtp-Source: AJdET5cMQQ30LIm+UsrdPmTPbju2D24tPUgz2JgqjJDEU1qqdkhsrrtnLS8MosP3Lo8gk2PPDlb2 X-Received: by 2002:a17:902:509:: with SMTP id 9-v6mr5315944plf.3.1542120500814; Tue, 13 Nov 2018 06:48:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542120500; cv=none; d=google.com; s=arc-20160816; b=mgC9jwmMMFY26FiKPpYtEK82/RwtpKcqg4hM8Y4xT7DD2Jy5RslkUGL2mqQkyFT82Z yrnAPG8HvRJTjBV/dCtKKB3OejAHIVLZg/7cB7XzarXPWZdlMdMASeqe1W5Ul3AklI8d mwvBeK9JSdY86lxZIvWUHt0Bnpn9EDdIsJUzk+j8/zW3tYQoWDooUTzyuyAlbHF17Gzt FskjAYhqXUlEuSPOn9XjS+YQoCv+CFvn4XjV48nAKFAfgLyVnjqFbYwpze2lShEcDcZW ykkdF/zb6XLFZ+KD0Igxng4+lfMJtqT3Zi4P8oXojpASeRbxVCBKnHlAxpSDP0A5Jg+z dUbw== 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; bh=bbY+0AzP+H3yzuk4q47b0ANkXIlf0xE24RY6DaCQYtA=; b=lltDLpIFMoyJXseB+dULQoQ/O6B56Gc5OYRScc1AzFWPwS1/nphFgpgwj4A/9bxOAk bWnW/pKkX3u2vvWKWdeVojy5s2vJ5p02cva0XMj3IpbxRaEz8f1c88ngc+rKkOwYfeos H9gIhGwCwHkKOZnQQctJwt/8lGxWEGtrV+DUk5W9qJrs5DCvz6/GIg6ApnWK7sdmzooZ W8B4Nu5kkWZTl2IYC66dJzJAKUYnHke3zFNnKg37tBwSQsDZFd3V/k56nYS7TSP1Tq39 isP0HPg46IHQOnX/r9xkiTHXoOewPF7wR1Yy0bm0XQD8vQoZktxmZh3NrNV1JrL1RA2y tZjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ePyRxlVJ; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gn7si1441357plb.321.2018.11.13.06.48.18; Tue, 13 Nov 2018 06:48:20 -0800 (PST) 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=@linaro.org header.s=google header.b=ePyRxlVJ; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388001AbeKNAqo (ORCPT + 32 others); Tue, 13 Nov 2018 19:46:44 -0500 Received: from mail-wm1-f49.google.com ([209.85.128.49]:52531 "EHLO mail-wm1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387402AbeKNAqo (ORCPT ); Tue, 13 Nov 2018 19:46:44 -0500 Received: by mail-wm1-f49.google.com with SMTP id r11-v6so12183419wmb.2 for ; Tue, 13 Nov 2018 06:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=bbY+0AzP+H3yzuk4q47b0ANkXIlf0xE24RY6DaCQYtA=; b=ePyRxlVJITMqp7STi/63B7AW3+0PebDSQeNxXmfy1FFYJg8PH5cBCkNpmG/tRJQiyn 8F8v/PjaxQWOlMwC8aXa6fcRJhHqh5un5fBWM/j4NN89ASdZu4MZlU1Ft/dXeB2YMwdL ztNl+cEFTiok9rFF+zz1s05ZHHzvXxIFfZr0I= 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=bbY+0AzP+H3yzuk4q47b0ANkXIlf0xE24RY6DaCQYtA=; b=jBAwAZkZZUkgbZIdn8rqSZiuuYfea1dAfv0w70zlB9GPFNINMH1VoZaktAEvdVeHdq LwTQQRLNC7Mni1Ahu0feSAUcLaskRCmyXsEhU86MaUJSrf5yQYeAUFinoIkLuAAxqDuc ObU6cXMhK19b5UT0X/HeSEt0yXYqkHkfBNdI5Mvin+itJNuGqjNrp4ycb1qLqmme6RhK ZUf7VaixEXpoZ8BZvTVneusrP2N08Dn3XvhgDMTTmZzrZ4mnas37C0vdNscmt4Ee9vQA 30AdXnqAKyKfSNEEpltvTHS0oJqLDMS117QUasUe4kbuXW5HD2Ax1x2ecl7XArjZx4bH e5KQ== X-Gm-Message-State: AGRZ1gJUbHu3iJGSHp6545TbD02rZYW7RJVkXzQ5Hoe4GZuj49YiQI1O HslCsYHHsfmll2/lsnZDlX71rg== X-Received: by 2002:a1c:b4c1:: with SMTP id d184-v6mr3574811wmf.143.1542120493849; Tue, 13 Nov 2018 06:48:13 -0800 (PST) Received: from lmecxl0911.lme.st.com ([2a04:cec0:1088:2b4c:8cab:bca7:b2f2:d2bb]) by smtp.gmail.com with ESMTPSA id s16sm3292020wrt.77.2018.11.13.06.48.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Nov 2018 06:48:13 -0800 (PST) From: Benjamin Gaignard X-Google-Original-From: Benjamin Gaignard To: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, mark.rutland@arm.com, alexandre.torgue@st.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Benjamin Gaignard Subject: [PATCH 0/3] Make STM32 interrupt controller use hwspinlock Date: Tue, 13 Nov 2018 15:48:02 +0100 Message-Id: <20181113144805.1054-1-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series allow to protect STM32 interrupt controller configuration registers with a hwspinlock to avoid conflicting accesses between processors. Benjamin Gaignard (3): dt-bindings: interrupt-controller: stm32: Document hwlock properties irqchip: stm32: protect configuration registers with hwspinlock ARM: dts: stm32: Add hwlock for irqchip on stm32mp157 .../interrupt-controller/st,stm32-exti.txt | 4 +++ arch/arm/boot/dts/stm32mp157c.dtsi | 1 + drivers/irqchip/irq-stm32-exti.c | 36 ++++++++++++++++++---- 3 files changed, 35 insertions(+), 6 deletions(-) -- 2.15.0