From patchwork Sun Aug 26 07:14:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 962211 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MfZNQOM5"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41ymWb2PK5z9s4V for ; Sun, 26 Aug 2018 17:15:35 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:From:To: Subject:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=SN08y1ATQk357OzzPWOTrEDzCzHSXL7iG3zvGYJbrSU=; b=MfZNQOM5Fi2VBt Hoz/GQqksZiMxPt8I7we+cM1L0FqoSV9hInbJu+u2ufl25Rf9j7E0YqtQJ9SUUKLj2Wmme/CPIerJ 8KD3+fW9MzvoaM5i2FWtRBdtNRLdL+wGXegrm1nBw6vLdPA8HRZvNyJSQny2zc5zRbvldBhEfiGeB qc1YYrukyjQO9+EwjC+huHLWuUZdZhiLHBnA6tMLyxd8/lGLQcM72XGfjOFyYpzbhyBe/pMC+yCp1 ZAMqzbbJ/r11JzWcgokEh5rwFCoSdA85VVAAje0pP4r4J34MDzvmy7amcsWLzSXmfIIIRv1PREX+U dgJJpTLmAAmpqic/4kcg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ftpGl-0004JU-Mw; Sun, 26 Aug 2018 07:15:31 +0000 Received: from mail.linuxfoundation.org ([140.211.169.12]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ftpGh-0004Hi-GX for linux-snps-arc@lists.infradead.org; Sun, 26 Aug 2018 07:15:29 +0000 Received: from localhost (5355525A.cm-6-6b.dynamic.ziggo.nl [83.85.82.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 475459DA; Sun, 26 Aug 2018 07:15:13 +0000 (UTC) Subject: Patch "arc: fix build errors in arc/include/asm/delay.h" has been added to the 4.14-stable tree To: alexander.levin@microsoft.com, eladkan@mellanox.com, gregkh@linuxfoundation.org, leonro@mellanox.com, linux-snps-arc@lists.infradead.org, oferle@mellanox.com, rdunlap@infradead.org, vgupta@synopsys.com From: Date: Sun, 26 Aug 2018 09:14:10 +0200 Message-ID: <1535267650194175@kroah.com> MIME-Version: 1.0 X-stable: commit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180826_001527_599152_F1ABEE2F X-CRM114-Status: UNSURE ( 7.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [140.211.169.12 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: stable-commits@vger.kernel.org Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This is a note to let you know that I've just added the patch titled arc: fix build errors in arc/include/asm/delay.h to the 4.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: arc-fix-build-errors-in-arc-include-asm-delay.h.patch and it can be found in the queue-4.14 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. From foo@baz Sun Aug 26 09:13:00 CEST 2018 From: Randy Dunlap Date: Thu, 26 Jul 2018 20:16:35 -0700 Subject: arc: fix build errors in arc/include/asm/delay.h From: Randy Dunlap [ Upstream commit 2423665ec53f2a29191b35382075e9834288a975 ] Fix build errors in arch/arc/'s delay.h: - add "extern unsigned long loops_per_jiffy;" - add for "u64" In file included from ../drivers/infiniband/hw/cxgb3/cxio_hal.c:32: ../arch/arc/include/asm/delay.h: In function '__udelay': ../arch/arc/include/asm/delay.h:61:12: error: 'u64' undeclared (first use in this function) loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; ^~~ In file included from ../drivers/infiniband/hw/cxgb3/cxio_hal.c:32: ../arch/arc/include/asm/delay.h: In function '__udelay': ../arch/arc/include/asm/delay.h:63:37: error: 'loops_per_jiffy' undeclared (first use in this function) loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; ^~~~~~~~~~~~~~~ Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org Cc: Elad Kanfi Cc: Leon Romanovsky Cc: Ofer Levi Signed-off-by: Vineet Gupta Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/arc/include/asm/delay.h | 3 +++ 1 file changed, 3 insertions(+) Patches currently in stable-queue which might be from rdunlap@infradead.org are queue-4.14/usb-phy-fix-ppc64-build-errors-in-phy-fsl-usb.c.patch queue-4.14/arc-fix-printk-warning-in-arc-plat-eznps-mtm.c.patch queue-4.14/arc-add-missing-struct-nps_host_reg_aux_dpc.patch queue-4.14/net-prevent-isa-drivers-from-building-on-ppc32.patch queue-4.14/arc-fix-build-errors-in-arc-include-asm-delay.h.patch queue-4.14/arc-fix-data-type-errors-in-platform-headers.patch queue-4.14/media-staging-omap4iss-include-asm-cacheflush.h-after-generic-includes.patch queue-4.14/arc-fix-type-warnings-in-arc-mm-cache.c.patch --- a/arch/arc/include/asm/delay.h +++ b/arch/arc/include/asm/delay.h @@ -17,8 +17,11 @@ #ifndef __ASM_ARC_UDELAY_H #define __ASM_ARC_UDELAY_H +#include #include /* HZ */ +extern unsigned long loops_per_jiffy; + static inline void __delay(unsigned long loops) { __asm__ __volatile__(