From patchwork Fri Sep 8 17:49:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 811752 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=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="On4l6+JI"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 3xplFV2NMvz9sBW for ; Sat, 9 Sep 2017 03:49:34 +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-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:Subject:From:To: 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=m4SHHKh15p4ZjPeNClt5j/HcQDUTHrufi0KUdBX1lww=; b=On4l6+JIAO+wQvqg5L76XtCygs xWIL7ei1OrQTjIx2zBGIP7H3S4ldZQH4daYNwtAk2BGGODF9N7hmAXHrS+x8rHXIcEKXdyM2EnwGp HcmX2ycUcfYwLJZxLNqy1F/UQ41HewqWxsF5cg6U7/fwm0IzE+Y9h1qqBsuGKCEfngmVZ6nudw8mX r5+AEK835C2fgVynts2MY13Iuk1YzOLVEo783i8S8bMAUms3Ec9BMw61/b+6lDxveA0Mrjqiz3F/n 3Jrr1ctmWyiwsecqsAGDOQtboTXAblkbO0GeJCrES3JC6ULCcbKApOQyvTfYElhHAn2ApAbigy1Zn TiFA5/eQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dqNPI-0004p3-O2; Fri, 08 Sep 2017 17:49:32 +0000 Received: from smtprelay.synopsys.com ([198.182.60.111]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dqNPG-0004mE-3B for linux-snps-arc@lists.infradead.org; Fri, 08 Sep 2017 17:49:31 +0000 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 78F6910C101E; Fri, 8 Sep 2017 10:49:09 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 46D758F4; Fri, 8 Sep 2017 10:49:09 -0700 (PDT) Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) by mailhost.synopsys.com (Postfix) with ESMTP id 316DC8EF; Fri, 8 Sep 2017 10:49:09 -0700 (PDT) Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.106) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.266.1; Fri, 8 Sep 2017 10:49:08 -0700 Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.104) by IN01WEHTCB.internal.synopsys.com (10.144.199.105) with Microsoft SMTP Server (TLS) id 14.3.266.1; Fri, 8 Sep 2017 23:19:06 +0530 Received: from [10.10.161.108] (10.10.161.108) by IN01WEHTCA.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.266.1; Fri, 8 Sep 2017 23:19:05 +0530 X-Mozilla-News-Host: news://gmane.comp.lib.uclibc.buildroot:119 To: Linus Torvalds From: Vineet Gupta Subject: [GIT PULL] ARC changes for 4.4-rc1 Message-ID: <28d82061-b6e2-2549-280e-8dc769a7be8e@synopsys.com> Date: Fri, 8 Sep 2017 10:49:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Language: en-US X-Originating-IP: [10.10.161.108] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170908_104930_154835_E3995F8C X-CRM114-Status: GOOD ( 15.87 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [198.182.60.111 listed in list.dnswl.org] -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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: Jose Abreu , Alexey Brodkin , lkml , Liav Rehana , arcml , "eladkan@mellanox.com" Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Hi Linus, We have a bigger set of updates for ARC this time (mostly because some couldn't make last release bus). Please pull. Thx, -Vineet -------> The following changes since commit cc4a41fe5541a73019a864883297bd5043aa6d98: Linux 4.13-rc7 (2017-08-27 17:20:40 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/ tags/arc-4.14-rc1 for you to fetch changes up to 1ee55a8f7f6b7ca4c0c59e0b4b4e3584a085c2d3: ARC: Re-enable MMU upon Machine Check exception (2017-09-01 11:29:05 -0700) ---------------------------------------------------------------- ARC changes for 4.14-rc1 - support for HSDK board hosting a Quad core HS38x4 based SoC running @ 1 GHz (and some prerrquisite changes such as ability to scoot the kernel code/data from start of memory map etc) - Quite a few updates for EZChip (Mellanox) platform - Fixes to fault/exception printing ---------------------------------------------------------------- Alexey Brodkin (2): ARC: Hardcode ARCH_DMA_MINALIGN to max line length we may have ARC: [plat-hsdk] initial port for HSDK board Elad Kanfi (1): ARC: [plat-eznps] avoid toggling of DPC register Eugeniy Paltsev (4): ARC: [plat-axs103] use clk driver #1: Get rid of platform specific cpu clk setting ARC: [plat-axs103] use clk driver #2: Add core pll node to DT to manage cpu clk ARCv2: IOC: Tighten up the contraints (specifically base / size alignment) ARC: mm: Decouple RAM base address from kernel link address Jose Abreu (2): ARC: Show fault information passed to show_kernel_fault_diag() ARC: Re-enable MMU upon Machine Check exception Liav Rehana (4): ARC: typo fix in mm/fault.c ARC: typos fix in kernel/entry-compact.S ARC: [plat-eznps] Update the init sequence of aux regs per cpu. ARC: [plat-eznps] handle extra aux regs #2: kernel/entry exit Noam Camus (9): ARC: [plat-eznps] typo fix at Kconfig ARC: [plat-eznps] Fix TLB Errata ARC: [plat-eznps] disabled stall counter due to a HW bug ARC: [plat-eznps] spinlock aware for MTM ARC: [plat-eznps] use schd.wft instruction instead of sleep at idle task ARC: [plat-eznps] Handle user memory error same in simulation and silicon ARC: set boot print log level to PR_INFO ARC: [plat-eznps] new command line argument for HW scheduler at MTM ARC: [plat-eznps] handle extra aux regs #1: save/restore on context switch Vineet Gupta (4): ARC: spinlock: Document the EX based spin_unlock ARC: create cpu specific version of arch_cpu_idle() ARCv2: SLC: provide a line based flush routine for debugging ARC: [plat-axs103] refactor the DT fudging code Documentation/admin-guide/kernel-parameters.txt | 9 ++ Documentation/devicetree/bindings/arc/hsdk.txt | 7 + arch/arc/Kconfig | 11 +- arch/arc/Makefile | 1 + arch/arc/boot/dts/axc001.dtsi | 2 +- arch/arc/boot/dts/axc003.dtsi | 13 +- arch/arc/boot/dts/axc003_idu.dtsi | 13 +- arch/arc/boot/dts/hsdk.dts | 189 ++++++++++++++++++++++++ arch/arc/boot/dts/nsim_hs.dts | 2 +- arch/arc/configs/hsdk_defconfig | 80 ++++++++++ arch/arc/include/asm/cache.h | 5 +- arch/arc/include/asm/entry-compact.h | 24 +++ arch/arc/include/asm/irqflags-arcv2.h | 3 - arch/arc/include/asm/irqflags-compact.h | 2 - arch/arc/include/asm/page.h | 2 +- arch/arc/include/asm/processor.h | 10 ++ arch/arc/include/asm/ptrace.h | 5 + arch/arc/include/asm/spinlock.h | 12 ++ arch/arc/include/asm/switch_to.h | 9 ++ arch/arc/kernel/devtree.c | 5 +- arch/arc/kernel/entry-compact.S | 22 +-- arch/arc/kernel/entry.S | 6 + arch/arc/kernel/process.c | 33 ++++- arch/arc/kernel/setup.c | 6 +- arch/arc/kernel/traps.c | 4 +- arch/arc/kernel/troubleshoot.c | 5 +- arch/arc/mm/cache.c | 83 +++++++++-- arch/arc/mm/fault.c | 2 +- arch/arc/mm/init.c | 6 +- arch/arc/mm/tlb.c | 5 +- arch/arc/mm/tlbex.S | 9 ++ arch/arc/plat-axs10x/axs10x.c | 152 +++---------------- arch/arc/plat-eznps/Kconfig | 26 +++- arch/arc/plat-eznps/Makefile | 2 +- arch/arc/plat-eznps/ctop.c | 32 ++++ arch/arc/plat-eznps/entry.S | 2 +- arch/arc/plat-eznps/include/plat/ctop.h | 2 + arch/arc/plat-eznps/mtm.c | 50 ++++++- arch/arc/plat-hsdk/Kconfig | 9 ++ arch/arc/plat-hsdk/Makefile | 9 ++ arch/arc/plat-hsdk/platform.c | 66 +++++++++ 41 files changed, 741 insertions(+), 194 deletions(-) create mode 100644 Documentation/devicetree/bindings/arc/hsdk.txt create mode 100644 arch/arc/boot/dts/hsdk.dts create mode 100644 arch/arc/configs/hsdk_defconfig create mode 100644 arch/arc/plat-eznps/ctop.c create mode 100644 arch/arc/plat-hsdk/Kconfig create mode 100644 arch/arc/plat-hsdk/Makefile create mode 100644 arch/arc/plat-hsdk/platform.c