From patchwork Tue May 29 18:26:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 137207 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp4380932lji; Tue, 29 May 2018 11:27:05 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrqlaHGmIlu8z8F4pvRTiQXrWCd24rTotRBrWBEjDaUjQQYA2n3fBRfhw8DI/Lh9oCAGNqe X-Received: by 2002:a62:449c:: with SMTP id m28-v6mr18362544pfi.145.1527618425381; Tue, 29 May 2018 11:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527618425; cv=none; d=google.com; s=arc-20160816; b=fDo4+psgqqJrMnIbYgfeyhHb7y3LMpdc6e2KdLbHrxm1Jk6OoU6aqTZKLY0G2MYA2W 8Yf4lufZMc0VUZs5kNkEMoEE/K2jZk4s8Wl4lMImPVFIZ7FmYHMZRQ3yJRBlT9j1lxrB TMJpWS9I2baH572FL4y+07VtbLi7Ri0I5mCGVM5HOIeqGaTnY9TS4gRaqrCl53j5Dedj mvHpRx55dW+1lgiVl7qpmG663z0omzZJaws0cSCXhGyqtXQmxbqS/BC8rtNo28slYncB lK3Sz613gsE/QV14sZKKMOm7I0o2bZvLHf1GYCZj6j/iGsf+NrbGFVOXD0yBKTyyVZc1 /mfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=rETctRvQtj1S7b5KvlFnnnfz5Df4UrxkYBB12NkbC3A=; b=O9MWnA/E/2Gw8v9tk11p6NOsgcTnDgK1789METQ5xCpeSaGesnQx6Ffk+YNZjwFMmZ d2YAxbEpUHpwsLpH2DQJxz5rJxF8jHLzTnaPuWic3V0/DvsucQEmbTLVYyCY6qOKdkEt FgnKFFdaYki0DTc68+Xu7nEMZo1p+I3+5QN4xWhubvPgQkaGo0eaPc4XF1nITPoI9zsA Y3sIZieI7OYg7EFhh3b3EZyRnyLveemZdxsPGJkZixpxlcURYsqmAwxpVDqZOTm2Kq5f ZvAs6pzRDuUXkN5KAtkEGzTnPtDzPXhxbFhTmkETWKwXWoPb1EFO0gjjk1wsDoi+xKts 9HJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S5VaI6XF; 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 m12-v6si31818338pls.498.2018.05.29.11.27.05; Tue, 29 May 2018 11:27:05 -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=@linaro.org header.s=google header.b=S5VaI6XF; 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 S966140AbeE2S1D (ORCPT + 30 others); Tue, 29 May 2018 14:27:03 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36493 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965993AbeE2S1B (ORCPT ); Tue, 29 May 2018 14:27:01 -0400 Received: by mail-wm0-f68.google.com with SMTP id v131-v6so23881002wma.1 for ; Tue, 29 May 2018 11:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rETctRvQtj1S7b5KvlFnnnfz5Df4UrxkYBB12NkbC3A=; b=S5VaI6XFcJOEBRo390oYKGpqOvQ6AFJlElpOGCNXi9D09wAbKvOg9HV1OwVPSgc543 YAJbwRrJ/a9ASY6Bl+TW/pNWa9FaaoXxdWPVoq4fTv+dbI86IBuMaAHcBfc6nhZixE3m hC//F8Pb+FwUcZQ0lwt1sxQhPbPxwB+v93qak= 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:in-reply-to :references; bh=rETctRvQtj1S7b5KvlFnnnfz5Df4UrxkYBB12NkbC3A=; b=B4JLa6tHQfkzgGIXWXgkAnyFZhoL00Brsig9ep8wWTzwp8BcimyhXEJfl96AG9hDIy DkeJJaKb+bBz0BtESHRGQuznmjtSVSYwv5UNHrhW1ZQCWgJjcXf5mTal7uB2R88NI4UF xJaDQMGxaWhsRNxZ/b/SEQsRYnHCnfO3fJnseHIA3R17qHK441788qeXgNmtpyv19Cma 7oVrmDikiBvHWr+YEC+f3rrncYfyloUNQ8qXfaaH1rqxKlwNc4ENIxp4n4cyTfhndEMF Qf3Y+5kCxaPAeMLGLO3Ft1soqs6T8OTMAuNT8B9SMDzYYRo58LtSnuIikye/pkXJ9twh J6hw== X-Gm-Message-State: ALKqPwdTCaIVVBYrgfh0Hn7BWt4tLCCaiapAYrrlsp7YmYmdY9TMzhrt TOKZUDvbOVXmHqyoeGjK3XPC/Q== X-Received: by 2002:a1c:bfce:: with SMTP id o75-v6mr9512wmi.122.1527618419761; Tue, 29 May 2018 11:26:59 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:c07c:1556:b860:2283]) by smtp.gmail.com with ESMTPSA id 135-v6sm27027893wmx.21.2018.05.29.11.26.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 May 2018 11:26:59 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Chunyan Zhang Subject: [PATCH 1/7] clocksource/drivers/sprd: Fix Kconfig dependency Date: Tue, 29 May 2018 20:26:36 +0200 Message-Id: <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1274a543-02dd-bbf0-c690-b08c788d9e91@linaro.org> References: <1274a543-02dd-bbf0-c690-b08c788d9e91@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chunyan Zhang SPRD arch doesn't select SPRD_TIMER, so this config would not appear even if ARCH_SPRD is set but COMPILE_TEST not. Fix the dependency of this config with SPRD arch, and set a default value for it, also leave other choices for EXPERT. Signed-off-by: Chunyan Zhang Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 8e8a097..dec0dd8 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -450,8 +450,10 @@ config MTK_TIMER Support for Mediatek timer driver. config SPRD_TIMER - bool "Spreadtrum timer driver" if COMPILE_TEST + bool "Spreadtrum timer driver" if EXPERT depends on HAS_IOMEM + depends on (ARCH_SPRD || COMPILE_TEST) + default ARCH_SPRD select TIMER_OF help Enables support for the Spreadtrum timer driver. From patchwork Tue May 29 18:26:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 137208 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp4381145lji; Tue, 29 May 2018 11:27:19 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrW66cD6E1vSga3WazMVjXr3Vm86k6TjSzWGz95KIhWBLDE59Tr03FXuAMMUcwMspGSVgBA X-Received: by 2002:a62:1e02:: with SMTP id e2-v6mr18496616pfe.212.1527618439702; Tue, 29 May 2018 11:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527618439; cv=none; d=google.com; s=arc-20160816; b=Y+UK7420ifBEUjeHBgKJu9Q6umGIbgyY0pNYhIqYHgF63sHGXY0crgG6NWIrA2YpxA MO/fJVfSXY6iErYIjhoQV7va9q4b75teE0zU8cgolXAMPz/lz61+c7dfcSFxTCv02Cz2 ZY7rvVsjD3sUCXta2F2DgkRmEvE9QJdLWZNEVAuZR9F+QNxRw8AiYmKK+ev8o3+Y0yMJ EHKBYqvpnnvMio6OV7DP/CPv6ILOjgXkWxMNbrB2H7fC43YoYh+wxddzR3yYOh9FC6+u HMRbU/VYo2DWVmxfj3TU3RQx60yv786/whSp7oTFJM0/9jETQ2HHdes4BfzTl+12PSpd STZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=UjJ3jHtjRvBxlDd6Ytc7ZMcJePkg8WNNH+GK66dAf2w=; b=reTv/Ow/Dh9Uryxe/aFgKuP9w1fba0hwZR5j0fDQO9ixOHxNRbiv8Gp4qMmwgMB5qy GZjgX2gAVApmQOSvrcEVWMGdesWhwA4GJD3Dq4LdrLn1GEeMwlIi632Ntp9dYxLfncuT CHIEg3A3tGE6xhct5Qd4c59XPNIq9I+kO6rxWqpBQyYaWt6w2qskqJ9ICdLlAIaZeYxl S2tuejM2QKCT4jpS1ixiKvgtc1Zjku6XOiz2M7KwpX0/qBXU+yo61OVklpaYEfWl0R3x fmkUDydPLs8Je+EF1WnoIl/SiOXQummhqw+kyrUGJS+HohgsUhX3VjXCTZp8jsug8OXO VedA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dCvLbQ7+; 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 m12-v6si31818338pls.498.2018.05.29.11.27.19; Tue, 29 May 2018 11:27:19 -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=@linaro.org header.s=google header.b=dCvLbQ7+; 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 S965937AbeE2S1Q (ORCPT + 30 others); Tue, 29 May 2018 14:27:16 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:52148 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966078AbeE2S1C (ORCPT ); Tue, 29 May 2018 14:27:02 -0400 Received: by mail-wm0-f67.google.com with SMTP id r15-v6so15559711wmc.1 for ; Tue, 29 May 2018 11:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UjJ3jHtjRvBxlDd6Ytc7ZMcJePkg8WNNH+GK66dAf2w=; b=dCvLbQ7+snXAOaX6QpkfrFl4lgSl8//58m1BMoHLHt7BVmVcVAnchm6bNcJEJwSg4t vxcLgOZY74quTptUrMt8+cpiKz7djeTg0s10hC+BzWla/qJE/dCUzs/AsVzjg6g+MI6T j73iiZ9K011kyr5xhft8EiGNBWUfzvmz5Um64= 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:in-reply-to :references; bh=UjJ3jHtjRvBxlDd6Ytc7ZMcJePkg8WNNH+GK66dAf2w=; b=tPOpCl7v6twGCHdzTmEIQbBVl+IRln8dVdTJrf5upgehd12QMIZEKm0Dok7UhvgrkJ uyjKtRtedvLNM2EZKR3j734JNWWjc1+wAYYwAmcjBNLo6NSq2linDaHZnexlrcREbvi7 EioanNVcAQlOX7t77X2i/mktrk4cNdE6m6gstB4iRa8R+hH2L2OXattMf9j7tCkcUbz9 F2jfCETKa5Wr1I3DvT7z2bR2KVbIM0DgPCeXlRFyjk51MnAdWdyS0wi2JNmcHkx7RUCW c3xJOLyxFtmpvK/28YM2PA5eM9Runs7TEoGT5tp4Pxj8Ke711JZLl0/QsC0a+Psgna58 GOQQ== X-Gm-Message-State: ALKqPwdKUo5TdVycsU9IBFee8G+I6UoiMWw5AIbCvjpoPbYKbwLb/1BF H3ZRp12L3GUe826D9dl7A8jTiQ== X-Received: by 2002:a1c:6f57:: with SMTP id k84-v6mr6301wmc.142.1527618421162; Tue, 29 May 2018 11:27:01 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:c07c:1556:b860:2283]) by smtp.gmail.com with ESMTPSA id 135-v6sm27027893wmx.21.2018.05.29.11.27.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 May 2018 11:27:00 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Matt Redfearn Subject: [PATCH 2/7] clocksource/drivers/mips-gic-timer: Add pr_fmt and reword pr_* messages Date: Tue, 29 May 2018 20:26:37 +0200 Message-Id: <1527618402-31974-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> References: <1274a543-02dd-bbf0-c690-b08c788d9e91@linaro.org> <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matt Redfearn Several messages from the MIPS GIC driver include the text "GIC", "GIC timer", etc, but the format is not standard. Add a pr_fmt of "mips-gic-timer: " and reword the messages now that they will be prefixed with the driver name. Signed-off-by: Matt Redfearn Signed-off-by: Daniel Lezcano --- drivers/clocksource/mips-gic-timer.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) -- 2.7.4 diff --git a/drivers/clocksource/mips-gic-timer.c b/drivers/clocksource/mips-gic-timer.c index 986b679..54f8a33 100644 --- a/drivers/clocksource/mips-gic-timer.c +++ b/drivers/clocksource/mips-gic-timer.c @@ -5,6 +5,9 @@ * * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. */ + +#define pr_fmt(fmt) "mips-gic-timer: " fmt + #include #include #include @@ -136,8 +139,7 @@ static int gic_clockevent_init(void) ret = setup_percpu_irq(gic_timer_irq, &gic_compare_irqaction); if (ret < 0) { - pr_err("GIC timer IRQ %d setup failed: %d\n", - gic_timer_irq, ret); + pr_err("IRQ %d setup failed (%d)\n", gic_timer_irq, ret); return ret; } @@ -176,7 +178,7 @@ static int __init __gic_clocksource_init(void) ret = clocksource_register_hz(&gic_clocksource, gic_frequency); if (ret < 0) - pr_warn("GIC: Unable to register clocksource\n"); + pr_warn("Unable to register clocksource\n"); return ret; } @@ -188,7 +190,7 @@ static int __init gic_clocksource_of_init(struct device_node *node) if (!mips_gic_present() || !node->parent || !of_device_is_compatible(node->parent, "mti,gic")) { - pr_warn("No DT definition for the mips gic driver\n"); + pr_warn("No DT definition\n"); return -ENXIO; } @@ -196,7 +198,7 @@ static int __init gic_clocksource_of_init(struct device_node *node) if (!IS_ERR(clk)) { ret = clk_prepare_enable(clk); if (ret < 0) { - pr_err("GIC failed to enable clock\n"); + pr_err("Failed to enable clock\n"); clk_put(clk); return ret; } @@ -204,12 +206,12 @@ static int __init gic_clocksource_of_init(struct device_node *node) gic_frequency = clk_get_rate(clk); } else if (of_property_read_u32(node, "clock-frequency", &gic_frequency)) { - pr_err("GIC frequency not specified.\n"); + pr_err("Frequency not specified\n"); return -EINVAL; } gic_timer_irq = irq_of_parse_and_map(node, 0); if (!gic_timer_irq) { - pr_err("GIC timer IRQ not specified.\n"); + pr_err("IRQ not specified\n"); return -EINVAL; } @@ -220,7 +222,7 @@ static int __init gic_clocksource_of_init(struct device_node *node) ret = gic_clockevent_init(); if (!ret && !IS_ERR(clk)) { if (clk_notifier_register(clk, &gic_clk_nb) < 0) - pr_warn("GIC: Unable to register clock notifier\n"); + pr_warn("Unable to register clock notifier\n"); } /* And finally start the counter */ From patchwork Tue May 29 18:26:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 137210 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp4381321lji; Tue, 29 May 2018 11:27:31 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpV2RbaTSdfPfKZFetFNSMSDX8ONdp9qnSR+zp5N96FPFU69IEAbYnmIwTIcPkzxU43wMe3 X-Received: by 2002:a17:902:7283:: with SMTP id d3-v6mr18958072pll.192.1527618450913; Tue, 29 May 2018 11:27:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527618450; cv=none; d=google.com; s=arc-20160816; b=iQ+rN4PU8Ipc9caugeQCostUD1L+jQ8Qgr+LlqESysy/VXS7gx4dirxsRtJK8ugVQp Z7AoCDd1y0+4BQGd6XACceNs6vohxEGb4zqFkITPk2GC3CkF0HMBjh+sqw0Ce0vhMOH1 H+YNO4y8Sq0vPxm8hD1XgWPsE79KaRXpPvUUn6ujtLXNiVg2XaX/OrzYYRrLKk7ZcCQv 36IcxEfpIk6k+qEhPaQ4tMCClZ6CHEgf11i9jW5AdMDMCQ0H2VVUp4X/1cPcdfkF9uqf KR4Bsjq6egjj35Ha+vSjkKXxSjjqigs+3Vcc8TEPIkyjIsoVWj7Hv/JPi+3b01Y7UAO1 jfEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=hQ9MLGg5IslBq9JKbVpfLcf9DHRsW5Q09qHLxZeFlFc=; b=M3uOBEX38R72dMvTcGhT0Fk4LG9lhd82EVWduKfIkP8Cdk0OH3VzH0m57p9ek4BreB zgnlV1/uvr2XhXiLu+ufAa14skpNUa67h+6SFtslz4t2WxGxL82yh3THwDO9Hx1CxNUk 1goyu+4M7Z6XOSVQ7huyIAuICIyFShZTF0MyCIWFQALKX19UFext9odGEa3uYN42d1eT 6UMykswH24yWPyK26aOBWKqX+s8qruzsv+C/jNx7iTwvyUnCw7O4ijKcJZXVdeAfDZBC KM5dnfqYRZ4FTi+j9cfQnEDsQqI0il++SQY0bJLi4x3IowfMzVKHWLLDnKnrdKA36f6P jGWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UYGkRUqm; 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 k14-v6si10905982pgn.99.2018.05.29.11.27.30; Tue, 29 May 2018 11:27:30 -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=@linaro.org header.s=google header.b=UYGkRUqm; 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 S966172AbeE2S12 (ORCPT + 30 others); Tue, 29 May 2018 14:27:28 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:50871 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965874AbeE2S1Q (ORCPT ); Tue, 29 May 2018 14:27:16 -0400 Received: by mail-wm0-f67.google.com with SMTP id t11-v6so43215788wmt.0 for ; Tue, 29 May 2018 11:27:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hQ9MLGg5IslBq9JKbVpfLcf9DHRsW5Q09qHLxZeFlFc=; b=UYGkRUqmppcOw5lIsthtyDcd245u6l6QHxZQbYj9E1KvOTFc2f9NfRaBiwJqu08+dF wCNJhC8rZ+CYPx4YncEz8bS5XGh4NjElvJ7cWbaFP2kkKxKd4D7NoMAOpP15Pi7dEq27 sLrXL6k25/iT9G8k/G9ujLe98t2NzvXDgSH/8= 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:in-reply-to :references; bh=hQ9MLGg5IslBq9JKbVpfLcf9DHRsW5Q09qHLxZeFlFc=; b=aMNTpOxIF61jjDPw5rGipDb8uIJ2ShGTb2cwKz5vBtQTKNmMwsSlOVKFaWKMS/QoQf jcTWh2iPKsZLPnZhJ8u9iS17GUuGgKXOlU0gN5/Itw8nS/wNeOYvgcDW3wXw+ezsRu8S c19u3BAbc92fQ6WUExAv4x7rPpHnvpuzjmzVfpntbYdp47vNiBGDR6tr7rKc+Ee90zYN kBH5ZoQpq+NrGWfTpiB4kM+qvHxUuXhLJycUNw0qoIXbeVgowpp/8vDf1HlwPxUB7Oi4 M7Skbk+WVIZhrBWQFPxoDgdOKPhk3vybLxJgCYWZS2cCn5J6mR5vnZRGvjHkLc8w9vnH teuw== X-Gm-Message-State: ALKqPweHynptlBER+VPTLatEMxFvgitP00GevS0d2z2x7LD+BAPma5FQ DMLiNQNCesdPnflNy2yG6e1jJQ== X-Received: by 2002:a1c:8b88:: with SMTP id n130-v6mr24277wmd.8.1527618435410; Tue, 29 May 2018 11:27:15 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:c07c:1556:b860:2283]) by smtp.gmail.com with ESMTPSA id 135-v6sm27027893wmx.21.2018.05.29.11.27.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 May 2018 11:27:02 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Eugeniy Paltsev , Vineet Gupta , linux-snps-arc@lists.infradead.org (open list:SYNOPSYS ARC ARCHITECTURE) Subject: [PATCH 3/7] clocksource/drivers/arc_timer: Add comments about locking while read GFRC Date: Tue, 29 May 2018 20:26:38 +0200 Message-Id: <1527618402-31974-3-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> References: <1274a543-02dd-bbf0-c690-b08c788d9e91@linaro.org> <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Eugeniy Paltsev This came to light in some internal discussions and it is nice to have this documented rather than digging up the PRM (Prog Ref Manual) again. Signed-off-by: Eugeniy Paltsev Acked-by: Vineet Gupta Signed-off-by: Daniel Lezcano --- drivers/clocksource/arc_timer.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.7.4 diff --git a/drivers/clocksource/arc_timer.c b/drivers/clocksource/arc_timer.c index 471b428..20da9b1 100644 --- a/drivers/clocksource/arc_timer.c +++ b/drivers/clocksource/arc_timer.c @@ -61,6 +61,20 @@ static u64 arc_read_gfrc(struct clocksource *cs) unsigned long flags; u32 l, h; + /* + * From a programming model pov, there seems to be just one instance of + * MCIP_CMD/MCIP_READBACK however micro-architecturally there's + * an instance PER ARC CORE (not per cluster), and there are dedicated + * hardware decode logic (per core) inside ARConnect to handle + * simultaneous read/write accesses from cores via those two registers. + * So several concurrent commands to ARConnect are OK if they are + * trying to access two different sub-components (like GFRC, + * inter-core interrupt, etc...). HW also supports simultaneously + * accessing GFRC by multiple cores. + * That's why it is safe to disable hard interrupts on the local CPU + * before access to GFRC instead of taking global MCIP spinlock + * defined in arch/arc/kernel/mcip.c + */ local_irq_save(flags); __mcip_cmd(CMD_GFRC_READ_LO, 0); From patchwork Tue May 29 18:26:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 137209 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp4381214lji; Tue, 29 May 2018 11:27:24 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr30C5EqDXdnwgFgu1RxXU2hxNSvJ/xUwNsz/X2V8fBt5SiFPhrk47Wu4bligeXnl2mRktD X-Received: by 2002:a65:62d9:: with SMTP id m25-v6mr14705249pgv.407.1527618444249; Tue, 29 May 2018 11:27:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527618444; cv=none; d=google.com; s=arc-20160816; b=y2BISAQmeU+SodCF4FLY2rYSJ7H2lTUtkE9GHadOseVGT47RW5YMwInS7aplLh2Eh6 jL/XFoyvqmGldEHPL1sFHzJJNhMiyYpITq1IHIS1JvtqX3M9Rq6Qve8AsZSeYNFNUD5k 3wzHVvuvF7AG4zOjl3/+zVbugmJIlShNi19zG0y1aP9REDS81vMcn8+9cD490Y5KKQ3h KgD1c3ifaTJBv4a0J1dsfR2rwvJLDaX0++uO4fuweUXqQfqn5KXtA/lS1Z6UsSDX3/91 GVXxEIXh4JNb++2Un9MgFH5gmvK8EghAXe0Jeu4UrcJdkzdilD1Rv3iQgiPK3LIlUxaB BPsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=o6nQaEbREQ5w6A1sVuj54sd4NxlWL+1s8MKm6XJD7zg=; b=IoF5Pv5B5B3VAaRZOXjI7GsSBS1qZdx0Dixrdi8jNmGar9LvubAm40gY20VSnEeWd8 x12A26Xfnfki0uAQW2R4Uf1L5mWjPMelwQUIwmXeuw6w1ukb6xgtT1G8LeeBwSYQZ3bP okrO3mXoTJaRPmcpFwViS4oNoldo0rEz8gqU5VPDzs3L77ygaZ/nFj2rV71hCBCxBmA1 PHvyJrcplpQvnZqqvnWZT7QLpCPDrQ7cNzVycw3Eh3VgVYFUDSYJLUfLk7TkKYpX/j+U ipzXkbEDEubANsJ5jI2zK9TIiKjn9P3BM/gYD2/LAGemJVyqUg0dvkwrHNiMQAG5aZ3P HNUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DpRuHWRG; 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 k14-v6si10905982pgn.99.2018.05.29.11.27.23; Tue, 29 May 2018 11:27:24 -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=@linaro.org header.s=google header.b=DpRuHWRG; 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 S966075AbeE2S1W (ORCPT + 30 others); Tue, 29 May 2018 14:27:22 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:54872 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965941AbeE2S1S (ORCPT ); Tue, 29 May 2018 14:27:18 -0400 Received: by mail-wm0-f67.google.com with SMTP id f6-v6so43165078wmc.4 for ; Tue, 29 May 2018 11:27:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=o6nQaEbREQ5w6A1sVuj54sd4NxlWL+1s8MKm6XJD7zg=; b=DpRuHWRG/hE07U/9XQNI7WufyEo8E/Ws8CHZwnxPlhERAPNcDSc10LZDq6KQKTAeWG d7UIhOtYSdU4R7DnIJ5qn4FDj/jWxLX3aXSH8YQQv787gHipr2doPx33Kv11oBzs+hv2 datwIXQ7x9dfK9OjZcnwDPk+cTMSXBod0MLis= 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:in-reply-to :references; bh=o6nQaEbREQ5w6A1sVuj54sd4NxlWL+1s8MKm6XJD7zg=; b=SdsaZyIfZyxvFJFpQt5CWxXlRk8KUVrxVbTXRGpnWff6t9ej3Eyj4fSLiDTUVtDDds qhAIZi3nq7VcJfwFFW4GKVbEvsgpk6lrjNVVHuqpAlOGJTMN3ZG62FWdvPD2vo+8YxWH hHEtw0hwX8I0ss9EGLtZQ1JohhGEEByZ90BAOPQEO5KJuSYNJblLL5IyflAUzuajFHEm LOKRooj3gzv4ljizKrS7nodaNureBn8X5EPLS4fW8utke23mLH7Sab8aRVfdaA2P30Ov Fq7QI8igb1j/qoPgXnNXo8OqqI/uH+228DZRW0Hy6eOYyJA+0o4v6RcvwZWhNZQNLm1Z mlAw== X-Gm-Message-State: ALKqPweKJf8mLPESYW7z4htdtxhnvq4dZpg4IAGPzt3LJS5c0ZoCAp1f zzb4lsVkBhrwYEflXAIahPrzPikonVk= X-Received: by 2002:a1c:d913:: with SMTP id q19-v6mr11896099wmg.91.1527618436763; Tue, 29 May 2018 11:27:16 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:c07c:1556:b860:2283]) by smtp.gmail.com with ESMTPSA id 135-v6sm27027893wmx.21.2018.05.29.11.27.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 May 2018 11:27:16 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Fabio Estevam Subject: [PATCH 4/7] clocksource/drivers/timer-imx-gpt: Remove outdated file path Date: Tue, 29 May 2018 20:26:39 +0200 Message-Id: <1527618402-31974-4-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> References: <1274a543-02dd-bbf0-c690-b08c788d9e91@linaro.org> <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabio Estevam imx gpt timer driver has been moved from arch/arm/mach-imx to drivers/clocksource/ a long time ago, so remove the reference to the old file path. Signed-off-by: Fabio Estevam Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-imx-gpt.c | 2 -- 1 file changed, 2 deletions(-) -- 2.7.4 diff --git a/drivers/clocksource/timer-imx-gpt.c b/drivers/clocksource/timer-imx-gpt.c index 6ec6d79..b63b834 100644 --- a/drivers/clocksource/timer-imx-gpt.c +++ b/drivers/clocksource/timer-imx-gpt.c @@ -1,6 +1,4 @@ /* - * linux/arch/arm/plat-mxc/time.c - * * Copyright (C) 2000-2001 Deep Blue Solutions * Copyright (C) 2002 Shane Nay (shane@minirl.com) * Copyright (C) 2006-2007 Pavel Pisa (ppisa@pikron.com) From patchwork Tue May 29 18:26:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 137211 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp4381349lji; Tue, 29 May 2018 11:27:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZof00refN+qzEuHtrOJJcrNCMVjhBLOUv+Zjbxq5kYwLjd85vjvRMnBYePdEw7OVNBNmxxq X-Received: by 2002:a63:7904:: with SMTP id u4-v6mr14792580pgc.143.1527618452656; Tue, 29 May 2018 11:27:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527618452; cv=none; d=google.com; s=arc-20160816; b=i5+TIHVefoDHhXREH6FGXVDLfomKgO79FqAP70H+pyKniJQ2cz9mmEseeX/dgRY0qH O1YvdAN9wExainSPZfr067C6cZ42NCID/UbDK01GW6ee/tXpBek0ykiE57mnafcCSrUw 8WFW7D7obJqZxRD3BggWouOCh9YDGkvwzs+Mg/dm2nDhCNZqhybxke+IfZFFaYIQD2Fk Prg2MqH1ZI40K3zB44BLSR/lQLY7ooBt8SdXiA2AohF3QL/kj1yGdjOnlXuLwUqzmQ12 bfLfltCkgvKjZFOOCFSQUviSzwnLx6r11jaNU63s5YwiS3TBSOCjPw8gI1Pw8I4RVS19 sIQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=UHdJaT2YMRWR3abYL7zy6QjlQHig2Wo6tEHrzpqioNs=; b=NoxlVI76dNXOnVbHC96GplapuC5A2tK3mZOQ0jOyqT6za7j/AQkhey6Yovo2/ORVbj 6KcHgL48btfVUFkBLnLQMoahCiggdmScbr/OSbQ+JbiQOU7c0PMuBpJpuoDQWa2KQ8Uk 1GyK2jttYWOyNEARtVFK5U7g8P2qFruPLuoGGukZ8Z6wt1c5IE8BcOWKsyiNyO4HBTZr i7t4WcOdKUjA23ebEHFGL/c36h7gM8Fez9rfzoNt8h1++4Xl/eglQM4FGgpadf8pFLsZ vfckmHKGOEmyoxJCL32qdnsxu3acxhfN5oKajZIaBw9KWss7BysLHdBSDPSK85Q4WRkK V8ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FnSb4kzf; 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 a68-v6si22720598pgc.210.2018.05.29.11.27.32; Tue, 29 May 2018 11:27:32 -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=@linaro.org header.s=google header.b=FnSb4kzf; 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 S966237AbeE2S1a (ORCPT + 30 others); Tue, 29 May 2018 14:27:30 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:38614 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965954AbeE2S1T (ORCPT ); Tue, 29 May 2018 14:27:19 -0400 Received: by mail-wm0-f65.google.com with SMTP id m129-v6so43006434wmb.3 for ; Tue, 29 May 2018 11:27:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UHdJaT2YMRWR3abYL7zy6QjlQHig2Wo6tEHrzpqioNs=; b=FnSb4kzfWpixWU+bkxfqN4IljnhJIGNfyiNPLm08RIxegouW4ZskoA9nIFPBQUfpbU 4ErVw6cLUDJG5EKWgGVmJ5d3L7I28L28yTRDFaD5mhfN9IG5Y7fhkFG8/cnGZ3he2+mP 9vi4+aCPIhUfXrfRZTmXu/VsAf/+3wG707Z3E= 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:in-reply-to :references; bh=UHdJaT2YMRWR3abYL7zy6QjlQHig2Wo6tEHrzpqioNs=; b=YCWjFeLTNY7d8xJRaPU/YpSr5lgf4iviu7Yeu3Ay06DAJy6d1gfZJZfsCfxkpmriWb ihjzdEHQ6koef6QInQGQlx0SSsRRVQ/n2yNrGT9QNcRcb2ZrMC3KwzlTAv8oxwyz2aXz ATMgDkDBTd2onKD/f9924x3zXkYaX1SrJJfogjvjlqf81aNS8KOqMnsUKaFEZBlUr/Dv wtCd6FIYBwDu318zlkWhoJRk+jW636bMIXaGhD3oJVE0hS6iD5BtHFkQAtDqGY2qNB+J ho/f6vPPbWAk48vS63ZtOeod1grZ5idMCqZo1puk/jlJpmcG5BvjPl5vorSZlCk+i/lY TbSw== X-Gm-Message-State: ALKqPweZVHZYaByqUDHuqNtFtPNo4l20rRCsGN7hk2s4DVontjaZidau 3oTBOsQ3G4H4xL8fHddTW1vDw9WVCEI= X-Received: by 2002:a1c:e8c6:: with SMTP id f67-v6mr1397wmi.25.1527618437998; Tue, 29 May 2018 11:27:17 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:c07c:1556:b860:2283]) by smtp.gmail.com with ESMTPSA id 135-v6sm27027893wmx.21.2018.05.29.11.27.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 May 2018 11:27:17 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Fabio Estevam Subject: [PATCH 5/7] clocksource/drivers/timer-imx-gpt: Switch to SPDX identifier Date: Tue, 29 May 2018 20:26:40 +0200 Message-Id: <1527618402-31974-5-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> References: <1274a543-02dd-bbf0-c690-b08c788d9e91@linaro.org> <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabio Estevam Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Fabio Estevam Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-imx-gpt.c | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) -- 2.7.4 diff --git a/drivers/clocksource/timer-imx-gpt.c b/drivers/clocksource/timer-imx-gpt.c index b63b834..165fbbb 100644 --- a/drivers/clocksource/timer-imx-gpt.c +++ b/drivers/clocksource/timer-imx-gpt.c @@ -1,23 +1,9 @@ -/* - * Copyright (C) 2000-2001 Deep Blue Solutions - * Copyright (C) 2002 Shane Nay (shane@minirl.com) - * Copyright (C) 2006-2007 Pavel Pisa (ppisa@pikron.com) - * Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, - * MA 02110-1301, USA. - */ +// SPDX-License-Identifier: GPL-2.0+ +// +// Copyright (C) 2000-2001 Deep Blue Solutions +// Copyright (C) 2002 Shane Nay (shane@minirl.com) +// Copyright (C) 2006-2007 Pavel Pisa (ppisa@pikron.com) +// Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) #include #include From patchwork Tue May 29 18:26:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 137213 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp4382129lji; Tue, 29 May 2018 11:28:30 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoXTJU9cA5jRTdUkW0jzXjT1q5r0pNp9HJdOuwpJwArMEkiV7Ts4RjfHGJS97OS+HA9lSQQ X-Received: by 2002:a65:5382:: with SMTP id x2-v6mr14708980pgq.160.1527618510193; Tue, 29 May 2018 11:28:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527618510; cv=none; d=google.com; s=arc-20160816; b=ttq1YBc/LmOim1Dn+Qm9kCWF2FhGajr2gQr7oy0cg7DHsam0FvKaSz9owXCmUPKO6V 0YAbop23hNEFCeSiyOL7zGVbuIybL7sfuV5JvCxRraApLj/7WDl0ra1rdkI06V4iddQO 8gyJINjZ51WYPwSBfx3/J+DVRT+OCG/hBHjiSJbGX0Mptu02aWmRUGLL40p6Zn0f+rIJ cs9bg1bYs/Muo+OfpOc14MrdyP+VFXaETORhjS80R4iEnMvdLc8KQOMOB/W+92751eOA IhmeWUrG76tAm50oQkygy8u3uyzmsDLOTRQRKVUrM9SYwZ/RNZ0TRuwMBhzfewY3Fr2E 7MXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=CORPaHAbgEbDwbhWIb6HIn1y9STT73N7Q9H/fFnSgDg=; b=VKBOr6HfZViBEALMZaNJGOnqN/utGnAg+Cve82tzfJPxiM7Pk5pJiayDXK+slhm3po W34F3uqXrs8SV6jog2WFQ/NqW+yW+DxncGgVJTOeEPWZCm96SlNgAsbaTKiYHV8vzW9f 9h7QgQBdIXD7uhyMsxPnhPQTlbMLi5vsWG0R4Dv7P+V+104d+g8vizWa3vWX3uVhiVZW kUQCW+Hng1pbfXtiI5OgDem2Z2zzNUWgmp/sSQNLg1ypYH+Wx+/HZTrFXd+w+UJKYAmf /n1Iuyg3lFNSm+s+InGpOFAvxRHo30EzHD93/HO7lCcjgZ+Mne4z+ctP3N62MLfSkivn Qdsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jDcBECEr; 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 f7-v6si32655552pfa.78.2018.05.29.11.28.29; Tue, 29 May 2018 11:28:30 -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=@linaro.org header.s=google header.b=jDcBECEr; 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 S966353AbeE2S20 (ORCPT + 30 others); Tue, 29 May 2018 14:28:26 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:50881 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965980AbeE2S1V (ORCPT ); Tue, 29 May 2018 14:27:21 -0400 Received: by mail-wm0-f65.google.com with SMTP id t11-v6so43216069wmt.0 for ; Tue, 29 May 2018 11:27:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=CORPaHAbgEbDwbhWIb6HIn1y9STT73N7Q9H/fFnSgDg=; b=jDcBECErlLJWqtTZF/CshX/TSke4qkkolu7LrSF9S5dLwIfLPMJt0Yda1RW1flUcNa CL7Me8ud/J9wMFmvJFmO1Pjp8o1au25cuA9/pVw8fHycJtlEYQvNW6tRTRBT4a1dTeY3 iT/uIo6l7x3U6Jz0Zs9FO4bKs7/KW7bP7W1Bw= 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:in-reply-to :references; bh=CORPaHAbgEbDwbhWIb6HIn1y9STT73N7Q9H/fFnSgDg=; b=iOZfPDlkGpPq/WRMee1xft/oEIA6PlAdYPFkp8MhTdaUESOD2BD2LQ28EyegT3U1cz Zqf5jCfzc6lLfpVAqy5+CdjLIotoxriVDVADrN+fVBHk0J713+8/I+hVUkElsKxoYAh5 8d5zVmT9Ye45gE9IvPrs5QKxhETMkkEOg+1RoqZPN89X2DnEfUlkGl73KU4o+RWDI0mJ vG7chPC7HAPgfg7xQOCKHlFWYnuRfymwmnEEBepOSPluRGNrqtoSSl0IG7ZppiiMJaeB AGMn+sq5ZtYsZao7vml+dmTa9YVU5W6/L9jgb5ZeNI42X88YPMFsfXLjA4mgrTcJegjm Gfbg== X-Gm-Message-State: ALKqPweCbB2PW+OhdfNLdkrfvxknj8K04FdJ5PBdtxHPnSTBl+/vr5on O4OI6LqqvGQh47i6WjlNwEtzPQ== X-Received: by 2002:a1c:7192:: with SMTP id d18-v6mr9681248wmi.115.1527618439392; Tue, 29 May 2018 11:27:19 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:c07c:1556:b860:2283]) by smtp.gmail.com with ESMTPSA id 135-v6sm27027893wmx.21.2018.05.29.11.27.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 May 2018 11:27:18 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Fabio Estevam Subject: [PATCH 6/7] clocksource/drivers/timer-imx-tpm: Switch to SPDX identifier Date: Tue, 29 May 2018 20:26:41 +0200 Message-Id: <1527618402-31974-6-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> References: <1274a543-02dd-bbf0-c690-b08c788d9e91@linaro.org> <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabio Estevam Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Fabio Estevam Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-imx-tpm.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) -- 2.7.4 diff --git a/drivers/clocksource/timer-imx-tpm.c b/drivers/clocksource/timer-imx-tpm.c index 6c83184..b7aa2b8 100644 --- a/drivers/clocksource/timer-imx-tpm.c +++ b/drivers/clocksource/timer-imx-tpm.c @@ -1,12 +1,7 @@ -/* - * Copyright 2016 Freescale Semiconductor, Inc. - * Copyright 2017 NXP - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - */ +// SPDX-License-Identifier: GPL-2.0+ +// +// Copyright 2016 Freescale Semiconductor, Inc. +// Copyright 2017 NXP #include #include From patchwork Tue May 29 18:26:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 137212 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp4381393lji; Tue, 29 May 2018 11:27:36 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqK1m0fU/iUAvKE6ggiLekCRZsRYkCyjY6aGPu19lhjt9AAxzJBV0PA7UxnBdAgp4klflMh X-Received: by 2002:a65:61a5:: with SMTP id i5-v6mr14260600pgv.405.1527618456310; Tue, 29 May 2018 11:27:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527618456; cv=none; d=google.com; s=arc-20160816; b=u/sTQY70KJ6UtmBt4ATKO1hHPzaXCx7/68ww0QB5GJJ4K3iESHU1l2v42V/h2ipkU+ eFlVzHeRK3ov16Fx8HpUyXl6BkwW7iL6Azm5azYl9xMn4/oM38VWmg7iQ9IQk7HzRzxh ol8xnGony3ytteGiDzwzn71CO7G/P6yrmOkZmOAUtUGYMnI7c3V7yZv1x1J9UVjdCmcI BX57nm8mowEvMczv1kvZ4pNR0fBSzsr4ijjudGU37Gj1S3XWxcdEIl5Y1TRmGXB8P1lY s7hsGzPnbckxliXbhaOLvA2VHX8Q312FLWVDWblkJA6AnvGjlnumvzv90B8HCZnGQ+Rl /ejA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=lk6BIFW89rM2dA2E+wQgp8QPhETEcYyM1NG6vlkMMkI=; b=Y19tqNVjP/2vQ/yY19/QVZU/D2N/r32UzSFNQaj56oGsZaS8EJiUmfLLVz3o1QDVlc P5lDM5R/v/pone29SnAqNJ24dHj5w/Z34dGNBL5tdkYkSQsswQjSC+nFWiUBaK4rnie5 70U9jnm2gup4zFWdZbTjwmFCZHx3X9D0kLZyeXqtdHvKUaaqs8ontOiJvkjNVDwF7oPZ vfOM4yR9osMFjDmM8JGr1kP5fxD5t9+TtrOARoIgWa9vqURJ/DjERHA5eJgw78U4eX7D QE1qE/k2wNy3yBMhojNuIxoqEGahJq//bmWUqtJdymzNirBLqXn5yQwcM1Z4xbvlJUMN 1gZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cjMMSHLP; 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 k64-v6si23783039pgk.264.2018.05.29.11.27.35; Tue, 29 May 2018 11:27:36 -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=@linaro.org header.s=google header.b=cjMMSHLP; 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 S966284AbeE2S1d (ORCPT + 30 others); Tue, 29 May 2018 14:27:33 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:52197 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965993AbeE2S1W (ORCPT ); Tue, 29 May 2018 14:27:22 -0400 Received: by mail-wm0-f66.google.com with SMTP id r15-v6so15561002wmc.1 for ; Tue, 29 May 2018 11:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lk6BIFW89rM2dA2E+wQgp8QPhETEcYyM1NG6vlkMMkI=; b=cjMMSHLPqpf6WTc2fShqPXJ7UoqyT9OJUs9eo7eC10xme6P6jmdU/GM2O61wJ4ICJr lfxK/Hz7UCMJIAhOVEFYSDqq0wzLnzSZVgm9MXPUdr/v80ufLcCOsmkmJnFliHO2S7WF pEaLlJoLpmhV2ukc4wTRdVxJ8nYdFxZja5SfU= 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:in-reply-to :references; bh=lk6BIFW89rM2dA2E+wQgp8QPhETEcYyM1NG6vlkMMkI=; b=ksFQKZDB0RaMO1HHzsr/N71L042O4OyHBdkY8lz4Wf7B5PbLMpxjVd4rkQddzuQAF6 KtbRoGMK2c516xWL+hZxb1DcA+LWRybC3fX/F4IEB7JuFq2XVT3Oa0TtEclx7NHz/scL gyCii1LaANLGBrw5GgKqLZ13yyTdqMVUeYaADG1LsPRoSH4aTGtawSv+TAlgtUBy7R5E EhEXdo2a8yO9aTH4TZpGZhiQSR1DV5pYUJa6xaNnQZAXkKb2Ow9V05i0KsaUjeDsdYas aRthKnsqxjNjZS2X1PcPniQdkO1q4b5XyjuYJu2KF5+HosJqwRB5HkUWVIg5HpK40Rmk o38w== X-Gm-Message-State: ALKqPwc/9rwdtm9Z12YAs2pefsHHd3qjLcTYzqWTPBiLmNk/3n3s0uj4 YSJApbVlgmu5z8QfTrX+oZbj7pm7zqg= X-Received: by 2002:a1c:20c7:: with SMTP id g190-v6mr26710wmg.2.1527618440640; Tue, 29 May 2018 11:27:20 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:c07c:1556:b860:2283]) by smtp.gmail.com with ESMTPSA id 135-v6sm27027893wmx.21.2018.05.29.11.27.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 May 2018 11:27:20 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Fabio Estevam Subject: [PATCH 7/7] clocksource/drivers/mxs_timer: Switch to SPDX identifier Date: Tue, 29 May 2018 20:26:42 +0200 Message-Id: <1527618402-31974-7-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> References: <1274a543-02dd-bbf0-c690-b08c788d9e91@linaro.org> <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabio Estevam Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Fabio Estevam Signed-off-by: Daniel Lezcano --- drivers/clocksource/mxs_timer.c | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) -- 2.7.4 diff --git a/drivers/clocksource/mxs_timer.c b/drivers/clocksource/mxs_timer.c index a03434e..f6ddae3 100644 --- a/drivers/clocksource/mxs_timer.c +++ b/drivers/clocksource/mxs_timer.c @@ -1,24 +1,10 @@ -/* - * Copyright (C) 2000-2001 Deep Blue Solutions - * Copyright (C) 2002 Shane Nay (shane@minirl.com) - * Copyright (C) 2006-2007 Pavel Pisa (ppisa@pikron.com) - * Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) - * Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, - * MA 02110-1301, USA. - */ +// SPDX-License-Identifier: GPL-2.0+ +// +// Copyright (C) 2000-2001 Deep Blue Solutions +// Copyright (C) 2002 Shane Nay (shane@minirl.com) +// Copyright (C) 2006-2007 Pavel Pisa (ppisa@pikron.com) +// Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) +// Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved. #include #include