From patchwork Mon Sep 4 21:03:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1829747 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=DpsvDVvZ; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=vHlpx6O9; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Rfh1y0ZtSz1yg7 for ; Tue, 5 Sep 2023 07:03:30 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:From:Cc:To:MIME-Version:Date:Message-ID: 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=3JRHfp6zxUlRr1wt5V95MRkNpljXpTbJm/ftmYO4AVw=; b=DpsvDVvZoAjySF3BnyGFEJHuGH YOiLmGthUpiE0bg+pE8Gsk6Ikr/W2XvjuRMyKG8mSqx8FX4orgo2xCXw1u/EiVXogTvjlUaJWmHwg 4yKt7plpgtyYC9pQCOptMBCGbg7JBkpZ18vJkbb4hvYAeSjNLKL/Dn7HCdd+uf74Hz2wJ9urzDH+w w/Aol2BfXZ42RVKjQ7ROIYfNtKjwjNIb6Ph1UapU103R/Dz5Tsyr3cMY+bT+oNPv7D02lj06Z66WH A36lMmYKYRSilO2jSKljvRqBMC1T1ecR8KilkLnfW/BENTtak460l1A1Vw+xeOj6Uu8Q25UIi5o8Z ZTLMtFHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qdGjI-004nVc-2M; Mon, 04 Sep 2023 21:03:28 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qdGjF-004nV6-36 for linux-snps-arc@lists.infradead.org; Mon, 04 Sep 2023 21:03:27 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 5CD35CE0FD5; Mon, 4 Sep 2023 21:03:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E3ACC433C7; Mon, 4 Sep 2023 21:03:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693861401; bh=358MV0N9rkXvUiLXfxaHjaiq4p3G/26YbE6LdV/L59M=; h=Date:To:Cc:From:Subject:From; b=vHlpx6O95BpR/rC2eok8qgyUOLc0qm/XEsAq4ACCEd3KRF3uqsoeJbHpeudpV7omN LFATE1cWOXJh9IUElgspviLe84h7cwRDs/Cfa/hnjnBmmj/x3EA1H5bAu/e1QQ9RrN 2JejTYRLbBPuspM7vmiq0mWwAEDiMhY+BWx4UyLYCbxA9LupzdmjvxtpXF0eGGZFoX LyYonhSmUDUsos/TnT/3LX4MX98TpQmfy8rOoOM2Tp8Urr8pAyRdKrW8PRSZAWnuYJ NVsEtd7wShMO+GdDqMm852cIAFrFqJjloDERajdD5OjCK2a1ENuL0w7QYjn68nifgR T5PEeAZiJ4TMA== Message-ID: Date: Mon, 4 Sep 2023 14:03:20 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Linus Torvalds Cc: arcml , lkml From: Vineet Gupta Subject: [GIT PULL] ARC updates for v6.6-rc1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230904_140326_380927_9CD7ADD3 X-CRM114-Status: GOOD ( 11.27 ) X-Spam-Score: -2.7 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Linus, Some ARC updates for the current cycle. There could be a minor merge conflict in arch/arc/Kconfig. Thx, -Vineet > The following changes since commit 2ccdd1b13c591d306f0401d98dedc4bdcd02b421: Content analysis details: (-2.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [145.40.73.55 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Hi Linus, Some ARC updates for the current cycle. There could be a minor merge conflict in arch/arc/Kconfig. Thx, -Vineet -----------------> The following changes since commit 2ccdd1b13c591d306f0401d98dedc4bdcd02b421:   Linux 6.5-rc6 (2023-08-13 11:29:55 -0700) are available in the Git repository at:   git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/ tags/arc-6.6-rc1 for you to fetch changes up to c40cad3b0aa47d6d0995637178fb6607ac3d45c1:   ARC: boot log: fix warning (2023-08-23 22:36:19 -0700) ---------------------------------------------------------------- ARC updates for v6.6  -Wmissing-prototype warning fixes  - Missing compiler barrier in relaxed atomics  - some uaccess simplification, declutter  - Removal of massive glocal struct cpuinfo_arc from bootlog code  - __switch_to consolidation (removal of inline asm variant)  - use GP to cache task pointer (vs. r25)  - Miscll rework of entry code ---------------------------------------------------------------- Pavel Kozlov (1):       ARC: atomics: Add compiler barrier to atomic operations... Rob Herring (1):       arc: Explicitly include correct DT includes Vineet Gupta (22):       ARC: -Wmissing-prototype warning fixes       ARC: uaccess: remove arc specific out-of-line handles for -Os       ARC: uaccess: use optimized generic __strnlen_user/__strncpy_from_user       ARC: uaccess: elide unaliged handling if hardware supports       ARCv2: memset: don't prefetch for len == 0 which happens a alot       ARC: boot log: eliminate struct cpuinfo_arc #1: mm       ARC: boot log: eliminate struct cpuinfo_arc #2: cache       ARC: boot log: eliminate struct cpuinfo_arc #3: don't export       ARC: boot log: eliminate struct cpuinfo_arc #4: boot log per ISA       ARC: entry: use gp to cache task pointer (vs. r25)       ARC: kernel stack: INIT_THREAD need not setup @init_stack in @ksp       ARC: __switch_to: asm with dwarf ops (vs. inline asm)       ARC: __switch_to: move ksp to thread_info from thread_struct       ARC: entry: rework (non-functional)       ARC: entry: ARcompact EV_ProtV to use r10 directly       ARC: entry: EV_MachineCheck dont re-read ECR       ARC: entry: Add more common chores to EXCEPTION_PROLOGUE       ARC: entry: replace 8 byte OR with 4 byte BSET       ARC: entry: replace 8 byte ADD.ne with 4 byte ADD2.ne       ARCv2: entry: rearrange pt_regs slightly       ARC: pt_regs: create seperate type for ecr       ARC: boot log: fix warning  arch/arc/Kconfig                      |   8 +-  arch/arc/Makefile                     |   6 +-  arch/arc/include/asm/arcregs.h        |  99 +++---  arch/arc/include/asm/atomic-llsc.h    |   6 +-  arch/arc/include/asm/atomic64-arcv2.h |   6 +-  arch/arc/include/asm/current.h        |   2 +-  arch/arc/include/asm/dwarf.h          |  32 +-  arch/arc/include/asm/entry-arcv2.h    |  66 ++--  arch/arc/include/asm/entry-compact.h  |  50 ++-  arch/arc/include/asm/entry.h          | 128 +++-----  arch/arc/include/asm/irq.h            |   1 +  arch/arc/include/asm/mmu.h            |   2 +  arch/arc/include/asm/processor.h      |   7 +-  arch/arc/include/asm/ptrace.h         |  65 ++--  arch/arc/include/asm/setup.h          |   8 +-  arch/arc/include/asm/smp.h            |   2 +  arch/arc/include/asm/thread_info.h    |  10 +-  arch/arc/include/asm/uaccess.h        |  21 +-  arch/arc/kernel/Makefile              |   9 +-  arch/arc/kernel/asm-offsets.c         |  14 +-  arch/arc/kernel/ctx_sw.c              | 112 -------  arch/arc/kernel/ctx_sw_asm.S          |  76 ++---  arch/arc/kernel/devtree.c             |   1 +  arch/arc/kernel/entry-arcv2.S         |  15 -  arch/arc/kernel/entry-compact.S       |  19 +-  arch/arc/kernel/entry.S               |  70 ++---  arch/arc/kernel/intc-arcv2.c          |   2 +-  arch/arc/kernel/kgdb.c                |   2 +-  arch/arc/kernel/mcip.c                |   2 -  arch/arc/kernel/process.c             |  17 +-  arch/arc/kernel/ptrace.c              |   8 +-  arch/arc/kernel/setup.c               | 563 ++++++++++++++++------------------  arch/arc/kernel/signal.c              |   1 +  arch/arc/kernel/smp.c                 |   7 +-  arch/arc/kernel/stacktrace.c          |   1 +  arch/arc/kernel/traps.c               |   5 +-  arch/arc/kernel/troubleshoot.c        |  13 +-  arch/arc/lib/memset-archs.S           |   3 +-  arch/arc/mm/cache.c                   | 179 ++++-------  arch/arc/mm/extable.c                 |  11 -  arch/arc/mm/fault.c                   |   7 +-  arch/arc/mm/init.c                    |   1 +  arch/arc/mm/tlb.c                     |  99 +++---  arch/arc/plat-axs10x/axs10x.c         |   1 -  44 files changed, 724 insertions(+), 1033 deletions(-)  delete mode 100644 arch/arc/kernel/ctx_sw.c