From patchwork Fri Aug 5 10:25:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12937176 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 36AF6C00140 for ; Fri, 5 Aug 2022 10:27:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: MIME-Version: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=Gf8K4j8d9Io6M22wTdSbogrrf+QLRp5KoCy1zSppn0M=; b=qObIRevgbel0Mt BYF5OsmlUddAWqFqR4vv2F9BOT80epnViRVXvObv23XJd8TvcX1AhhQVgC0MiMUVxuXumNAlKwlI4 StTMA70W6vchcamRQ9JLfuyUCCU50o9tvrYwd+evL0jVpvfgfrhSWOJKWucNDlH9R1npxlx1fjU/9 jaXak6e8i6RfyePwIUyXiVSGEGuonQH4A5FeS1/ZhSvqsQ83ryWFA6ue2+FWZlubK81c298KcB5IA 75Zp7qEzLMIGov3XxnWyl7bXm0Bh4hqTpg6Qt3kG5j3MkyQfSkZHWVvfPU8MUeSZ1ru+6+X6Mczsv CVGg5kJ03m1W6EysJRbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oJuWP-00E4Qz-Rq; Fri, 05 Aug 2022 10:25:38 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oJuWL-00E4O9-Hm for linux-arm-kernel@lists.infradead.org; Fri, 05 Aug 2022 10:25:35 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B4433B827E8 for ; Fri, 5 Aug 2022 10:25:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84CB8C4347C for ; Fri, 5 Aug 2022 10:25:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659695130; bh=6qou5lJ9UlODgazZoZR7Tiio62yPWA6PDFls0zOiKJI=; h=From:Date:Subject:To:Cc:From; b=nm3PDFUfmuaRlMQRJRma6iT70g0oh6oZAGKtiNXfVB3FCRv6cT2eb5HKExaAngSAd 9xzpIrt4VZwd3SUYj00RplzilSmiEDLaN0B49DALzqLBgQsdzF8azpzyc0ufIQwrw5 gfZsu1xnJPM1xKJvGf0JUmANBk/a2YBTF1/CG3jEEeMPM1f5DkuuzGlY508fe19Uej oGJJqXVH98FnIoof24aP7ZxGDvq7j9yWm+dXWbYlHYWHZK3gYhuxBRT5avPj7sfUxZ aOODzc2nJNefgrs0ksiyEgexPwcuwLbuup+PU2WeNI0Cu1Z824ur3I1THom6AUKGSq rhRG1hH5m0W0Q== Received: by mail-ed1-f44.google.com with SMTP id e13so2758493edj.12 for ; Fri, 05 Aug 2022 03:25:30 -0700 (PDT) X-Gm-Message-State: ACgBeo2eEtLo2YD16sPv0Oi3YYTZozgedcgGAZFBN+DFO/tOk9pzip5r ex899Se5qvLH/dkPV89VnOi/BaDX3mQ67I+Gwls= X-Google-Smtp-Source: AA6agR7qw52v8Xrtb5g3bvH3jlTlxM1+g5YjvUAcr4ovWy2nMvkNCjNMO5qJ4gj9NEC+2rWEb8n1Z1k0UDtXTpnm4EQ= X-Received: by 2002:aa7:cd99:0:b0:43c:4f9c:4977 with SMTP id x25-20020aa7cd99000000b0043c4f9c4977mr5949707edv.303.1659695128764; Fri, 05 Aug 2022 03:25:28 -0700 (PDT) MIME-Version: 1.0 From: Arnd Bergmann Date: Fri, 5 Aug 2022 12:25:12 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: [GIT PULL] asm-generic: updates for 6.0 To: Linus Torvalds Cc: linux-arch , Linux ARM , Linux Kernel Mailing List , Sai Prakash Ranjan , Sebastian Andrzej Siewior X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220805_032533_939235_0DA01568 X-CRM114-Status: GOOD ( 19.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The following changes since commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3: Linux 5.19-rc2 (2022-06-12 16:11:37 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic-6.0 for you to fetch changes up to 6f05e014b96c8846cdc39acdf10bbdbafb9c78a0: uapi: asm-generic: fcntl: Fix typo 'the the' in comment (2022-07-22 14:54:22 +0200) ---------------------------------------------------------------- asm-generic: updates for 6.0 There are three independent sets of changes: - Sai Prakash Ranjan adds tracing support to the asm-generic version of the MMIO accessors, which is intended to help understand problems with device drivers and has been part of Qualcomm's vendor kernels for many years. - A patch from Sebastian Siewior to rework the handling of IRQ stacks in softirqs across architectures, which is needed for enabling PREEMPT_RT. - The last patch to remove the CONFIG_VIRT_TO_BUS option and some of the code behind that, after the last users of this old interface made it in through the netdev, scsi, media and staging trees. ---------------------------------------------------------------- Arnd Bergmann (2): Merge branch 'asm-generic-mmiotrace' into asm-generic arch/*/: remove CONFIG_VIRT_TO_BUS Prasad Sodagudi (1): lib: Add register read/write tracing support Sai Prakash Ranjan (8): arm64: io: Use asm-generic high level MMIO accessors coresight: etm4x: Use asm-generic IO memory barriers irqchip/tegra: Fix overflow implicit truncation warnings drm/meson: Fix overflow implicit truncation warnings KVM: arm64: Add a flag to disable MMIO trace for nVHE KVM asm-generic/io: Add logging support for MMIO accessors serial: qcom_geni_serial: Disable MMIO tracing for geni serial soc: qcom: geni: Disable MMIO tracing for GENI SE Sebastian Andrzej Siewior (1): arch/*: Disable softirq stacks on PREEMPT_RT. Slark Xiao (1): uapi: asm-generic: fcntl: Fix typo 'the the' in comment Documentation/core-api/bus-virt-phys-mapping.rst | 220 --------------------- Documentation/core-api/dma-api-howto.rst | 14 -- Documentation/core-api/index.rst | 1 - .../translations/zh_CN/core-api/index.rst | 1 - arch/Kconfig | 3 + arch/alpha/Kconfig | 1 - arch/alpha/include/asm/floppy.h | 2 +- arch/alpha/include/asm/io.h | 8 +- arch/arm/kernel/irq.c | 3 +- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/io.h | 41 +--- arch/arm64/kvm/hyp/nvhe/Makefile | 7 +- arch/ia64/Kconfig | 1 - arch/ia64/include/asm/io.h | 8 - arch/m68k/Kconfig | 1 - arch/m68k/include/asm/virtconvert.h | 4 +- arch/microblaze/Kconfig | 1 - arch/microblaze/include/asm/io.h | 2 - arch/mips/Kconfig | 1 - arch/mips/include/asm/io.h | 9 - arch/parisc/Kconfig | 1 - arch/parisc/include/asm/floppy.h | 4 +- arch/parisc/include/asm/io.h | 2 - arch/parisc/kernel/irq.c | 2 + arch/powerpc/Kconfig | 1 - arch/powerpc/include/asm/io.h | 2 - arch/powerpc/kernel/irq.c | 4 + arch/riscv/include/asm/page.h | 1 - arch/s390/include/asm/softirq_stack.h | 3 +- arch/sh/kernel/irq.c | 2 + arch/sparc/kernel/irq_64.c | 2 + arch/x86/Kconfig | 1 - arch/x86/include/asm/io.h | 9 - arch/xtensa/Kconfig | 1 - arch/xtensa/include/asm/io.h | 3 - drivers/gpu/drm/meson/meson_viu.c | 22 +-- drivers/hwtracing/coresight/coresight-etm4x-core.c | 8 +- drivers/hwtracing/coresight/coresight-etm4x.h | 8 +- drivers/irqchip/irq-tegra.c | 10 +- drivers/soc/qcom/qcom-geni-se.c | 3 + drivers/tty/serial/qcom_geni_serial.c | 3 + include/asm-generic/io.h | 105 ++++++++-- include/asm-generic/softirq_stack.h | 2 +- include/trace/events/rwmmio.h | 97 +++++++++ lib/Kconfig | 7 + lib/Makefile | 2 + lib/trace_readwrite.c | 47 +++++ mm/Kconfig | 8 - tools/include/uapi/asm-generic/fcntl.h | 2 +- 49 files changed, 314 insertions(+), 377 deletions(-) delete mode 100644 Documentation/core-api/bus-virt-phys-mapping.rst create mode 100644 include/trace/events/rwmmio.h create mode 100644 lib/trace_readwrite.c