From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03305C433F5 for ; Thu, 30 Sep 2021 01:30:51 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A8DA7617E6 for ; Thu, 30 Sep 2021 01:30:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A8DA7617E6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 7A2F261392; Thu, 30 Sep 2021 01:30:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XrOi7cOmWYpc; Thu, 30 Sep 2021 01:30:49 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTPS id 6DA95606D6; Thu, 30 Sep 2021 01:30:49 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 4333EC0011; Thu, 30 Sep 2021 01:30:49 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id F0D75C000D for ; Thu, 30 Sep 2021 01:30:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id C977940763 for ; Thu, 30 Sep 2021 01:30:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JcAeMdDo1wcg for ; Thu, 30 Sep 2021 01:30:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp2.osuosl.org (Postfix) with ESMTPS id 6B3C740176 for ; Thu, 30 Sep 2021 01:30:46 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 20A6261555; Thu, 30 Sep 2021 01:30:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632965445; bh=W4G6Gi3WfUEF+ocW3iGHbdJrEsYEKtCwelydWmNSTXY=; h=From:To:Cc:Subject:Date:From; b=FeOEGvYRt9YBnwi5kb3qw8llRdbAqgOX6GOAwmn4C6e28NCDqfS8q5TUg2/bAbIFc OvNHwA/EpqIBHDiAdYuUqhshspz+SGchmTQodNjn+9BI89Een4JTe6+CdWq+uqjd/O ELQcKqDQ73VGn9LFULcWdRiwt1PWG2nakPImJSXJYsOz/L+b4+hIrubDMVuWwbi+Xc TB3T9h0huptHiBzUo1Q+MKwh+vm2H+UcPWWNQCxdr9aZf2jRpaAhrHY4bcdq6MNF97 rs0kxTFZvJAdBbiXn8EoQ/8LL2+y2OzRLQtZSrharXYebFR3x1yiN+9kMR+KY+m59L caIl6hfQKQ89A== From: Mike Rapoport To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/2] arm64: retry dropping HAVE_ARCH_PFN_VALID Date: Thu, 30 Sep 2021 04:30:37 +0300 Message-Id: <20210930013039.11260-1-rppt@kernel.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Cc: Will Deacon , David Hildenbrand , Catalin Marinas , Anshuman Khandual , Alex Bee , Linux Kernel Mailing List , iommu@lists.linux-foundation.org, Andrew Morton , Mike Rapoport , Robin Murphy , Christoph Hellwig , Mike Rapoport X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" From: Mike Rapoport Hi, This is a new attempt to drop HAVE_ARCH_PFN_VALID on arm64 and start using the generic implementation of pfn_valid(). The first patch removes the check for pfn_valid() in dma_map_resource() which is required to avoid false positives when there is memory map for MMIO. Anshuman Khandual (1): arm64/mm: drop HAVE_ARCH_PFN_VALID Mike Rapoport (1): dma-mapping: remove bogus test for pfn_valid from dma_map_resource arch/arm64/Kconfig | 1 - arch/arm64/include/asm/page.h | 1 - arch/arm64/mm/init.c | 37 ----------------------------------- kernel/dma/mapping.c | 4 ---- 4 files changed, 43 deletions(-) base-commit: 5816b3e6577eaa676ceb00a848f0fd65fe2adc29 -- 2.28.0 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu