Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17541138rwd; Tue, 27 Jun 2023 04:38:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5lv2ShRUpXGpeqOutUCbvdcT+zkB+g6OiCB7/w37KqXyqNSnNcnU9AEI3y7wAUPMJBVxoZ X-Received: by 2002:a05:6402:4cf:b0:514:a4cd:85d7 with SMTP id n15-20020a05640204cf00b00514a4cd85d7mr19668836edw.26.1687865919736; Tue, 27 Jun 2023 04:38:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687865919; cv=none; d=google.com; s=arc-20160816; b=eLgOekU51UKHfQKDovO4owJe6lFoVghU8pvV1fjMOVAcUsb1KCw//hiG6FoOuPkJzW LuniUImoNSnrg41iK4OTTKG3i1oFbimy/wZ/e9B9iUZ2qGx4Gc7C6hk4g8jyJnN1QGud MCEIwb8d9+aj18To6CuN8S3uU5t8whgFu1tcH2TlgroGsxmsMRGbJUYk62nchZpY6/vO +kGdhjrHsvUmR+o7HEN9zo1LhU36iomkpcqMVeI8tWnOAKa+NZ+c7Xy2Fmi057mDWiMe kO/7LttXEcmiE62S6Tp8NkM4OuzG5hnF4evkXwJGMf2P0tu0Lr9YLetR7U7QNRoEZ7ER Fetw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=8+7pb9kkezXuALuGQ9D1BYYeolzOO/8PS1XTZd2C/jQ=; fh=312wuMO+vB+5UluITLXkWlVii+UmCIfxrhY0Xl5YKYE=; b=nqr5sZmP0mE4kIY0eTiy4og+CmeacQ/Lkg8qVcUtV78E2NprTidtizaMw5hMq9jMKe Ug1zx5hgVR6RK2g6vBcg4ucdunzX4DIemfiSOZn8Et0M5sbqsVB4yfu9a7tl00d5MmkU GLJQfCLkIEgecVxnxR/HYY68U/1tpDn/NvHJZahbVIU4AdT58kTAujjMFgY6nOOzLLRl mBkXnsq5awqZn8SU44XN/GG3H3hZQx4DrmcTW1uFLoDU69HIFl4l02eqY4XJnHogyYYk G/IgdVm/IdSBZWSu+RFycOl7a9zRAqIkGzViA00fE/RDCIWZDwKl47XabsTc9sU67z4D 28NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=XkZMAaIH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z22-20020aa7d416000000b0051d89570c8asi3284590edq.651.2023.06.27.04.38.15; Tue, 27 Jun 2023 04:38:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=XkZMAaIH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231168AbjF0KzI (ORCPT + 99 others); Tue, 27 Jun 2023 06:55:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230283AbjF0KzH (ORCPT ); Tue, 27 Jun 2023 06:55:07 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2E7E19AA for ; Tue, 27 Jun 2023 03:55:06 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1b8063aa2e1so11915935ad.1 for ; Tue, 27 Jun 2023 03:55:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687863306; x=1690455306; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8+7pb9kkezXuALuGQ9D1BYYeolzOO/8PS1XTZd2C/jQ=; b=XkZMAaIH6zTafrMpOtt/Rf5k5qj+eqHlO+XMiByS4e8QgTS/8NhUZMLb1Lqs6hkpae aKSWR6SPugzj8jYgur2WN7XvK1mC09zEb88/2Jnj/XzToXqr2hHgcXOPwgHUZBoU+D5Y RJaD0qLZWzrDMGpdEsOqH82xIZio6q1r8JKdfnGsKaCQ5ycwwQTp3glfKMb/eiXp7535 E8kgrTKbCxR0HGo8zl5vYysIaEFc1+T6g0dB3s9JDgrEGzzPhHXy0TL6+m750ICWIMAu TLDbtlEsbfJERpwPgon/CMBWEEeLsn4lMftSfcZe5rKayV5IJuWkzWf4wWtTuv9MJRKf KxlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687863306; x=1690455306; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8+7pb9kkezXuALuGQ9D1BYYeolzOO/8PS1XTZd2C/jQ=; b=VK3wu0YKw1XuhQfOQsKzyr9g2cYZrCM5BYHjBDKPdjeljXVaIzthXySv7QxcJdaqSk sOUSV7jDwW2Ef/4ClV2r6CzfbRNJVBNORiam8K6zqYCrK4JZjhFjhFYxIFSCIMvavu8A dxMi/cho82Y8ptmRq0InnMRYgdL+2teGm7tuya7uuC0HpYA3sTCyfl+T09lAfa7dY3CI w2tNM4WG6u7B+9G5qmmxYngyi7b3dYs4g/PLLXgTO23ZTbddqPEgTXbTmE13U+yzOYp1 6XqqZq14ldcUuOLv9I1iTjATXegekeRCF/9QgSpmJDEt0gAO7qQLJczVEq4L8/1Ra1wf iXKA== X-Gm-Message-State: AC+VfDye9FbFC79dqPZhRyH5dwTAIYwq82r7M5JemSUYPFJnp8Yz/FIs bKEo6cjxGWdI+3hRz9xBBak4UdBaB+o= X-Received: by 2002:a17:902:eccf:b0:1b3:e6ba:1573 with SMTP id a15-20020a170902eccf00b001b3e6ba1573mr5854659plh.6.1687863306247; Tue, 27 Jun 2023 03:55:06 -0700 (PDT) Received: from octofox.hsd1.ca.comcast.net ([2601:641:401:1d20:96d2:5d2:b10f:c30c]) by smtp.gmail.com with ESMTPSA id i10-20020a17090332ca00b001b8053b8e0esm3256635plr.136.2023.06.27.03.55.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 03:55:05 -0700 (PDT) From: Max Filippov To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Chris Zankel , Max Filippov Subject: [PULL 00/18] xtensa updates for v6.5 Date: Tue, 27 Jun 2023 03:54:51 -0700 Message-Id: <20230627105451.803122-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, please pull the following updates for the Xtensa architecture. The following changes since commit 858fd168a95c5b9669aac8db6c14a9aeab446375: Linux 6.4-rc6 (2023-06-11 14:35:30 -0700) are available in the Git repository at: https://github.com/jcmvbkbc/linux-xtensa.git tags/xtensa-20230627 for you to fetch changes up to f7667ca106df50ff8b776db54f85074dc9c52e1b: xtensa: dump userspace code around the exception PC (2023-06-24 06:34:27 -0700) ---------------------------------------------------------------- Xtensa updates for v6.5 - clean up platform_* interface of the xtensa architecture - enable HAVE_ASM_MODVERSIONS - drop ARCH_WANT_FRAME_POINTERS - clean up unaligned access exception handler - provide handler for load/store exceptions - various small fixes and cleanups ---------------------------------------------------------------- Max Filippov (18): xtensa: xt2000: drop empty platform_init xtensa: drop platform_heartbeat xtensa: drop platform_restart xtensa: drop platform_halt and platform_power_off xtensa: clean up default platform functions xtensa: boot-redboot: clean up Makefile xtensa: drop EXPORT_SYMBOL for common_exception_return xtensa: drop bcopy implementation xtensa: only build __strncpy_user with CONFIG_ARCH_HAS_STRNCPY_FROM_USER xtensa: add asm-prototypes.h xtensa: report trax and perf counters in cpuinfo xtensa: drop ARCH_WANT_FRAME_POINTERS xtensa: move early_trap_init from kasan_early_init to init_arch xtensa: always install slow handler for unaligned access exception xtensa: rearrange unaligned exception handler xtensa: add load/store exception handler xtensa: rearrange show_stack output xtensa: dump userspace code around the exception PC arch/xtensa/Kconfig | 14 +- arch/xtensa/Kconfig.debug | 8 + arch/xtensa/boot/boot-redboot/Makefile | 9 +- arch/xtensa/include/asm/asm-prototypes.h | 29 ++++ arch/xtensa/include/asm/asmmacro.h | 1 + arch/xtensa/include/asm/core.h | 8 + arch/xtensa/include/asm/ftrace.h | 9 -- arch/xtensa/include/asm/platform.h | 20 --- arch/xtensa/include/asm/string.h | 3 - arch/xtensa/include/asm/traps.h | 7 + arch/xtensa/kernel/align.S | 256 +++++++++++++++++++++---------- arch/xtensa/kernel/mcount.S | 1 + arch/xtensa/kernel/platform.c | 29 ++-- arch/xtensa/kernel/setup.c | 41 ++++- arch/xtensa/kernel/stacktrace.c | 4 - arch/xtensa/kernel/time.c | 4 - arch/xtensa/kernel/traps.c | 102 +++++++++--- arch/xtensa/kernel/xtensa_ksyms.c | 95 +----------- arch/xtensa/lib/Makefile | 3 +- arch/xtensa/lib/ashldi3.S | 1 + arch/xtensa/lib/ashrdi3.S | 1 + arch/xtensa/lib/bswapdi2.S | 1 + arch/xtensa/lib/bswapsi2.S | 1 + arch/xtensa/lib/checksum.S | 2 + arch/xtensa/lib/divsi3.S | 1 + arch/xtensa/lib/lshrdi3.S | 1 + arch/xtensa/lib/memcopy.S | 19 +-- arch/xtensa/lib/memset.S | 2 + arch/xtensa/lib/modsi3.S | 1 + arch/xtensa/lib/mulsi3.S | 1 + arch/xtensa/lib/strncpy_user.S | 1 + arch/xtensa/lib/strnlen_user.S | 1 + arch/xtensa/lib/udivsi3.S | 1 + arch/xtensa/lib/umodsi3.S | 1 + arch/xtensa/lib/umulsidi3.S | 1 + arch/xtensa/lib/usercopy.S | 1 + arch/xtensa/mm/kasan_init.c | 2 - arch/xtensa/mm/misc.S | 5 + arch/xtensa/platforms/iss/setup.c | 24 +-- arch/xtensa/platforms/xt2000/setup.c | 48 +++--- arch/xtensa/platforms/xtfpga/setup.c | 34 ++-- 41 files changed, 467 insertions(+), 326 deletions(-) create mode 100644 arch/xtensa/include/asm/asm-prototypes.h -- Thanks. -- Max