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 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 74CC3C5475B for ; Fri, 8 Mar 2024 15:04:29 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ACLWwiBqMJPkktia+jt77WcfSRFPmOWi7h13H+RRwog=; b=2macMW5wPf7/Ye c1o5ElpzU1q80BfMfDF82G1q6FAJPeOMVOnTcyfchupeAbt2ssqwXaGTwPIUGQbCWZB97KHicYe8s xOiWmA3graxeghfz9peuHjnVb/TSu6BihcuU8BY2NEdcdLQf6c/4+mqV1QxpfnZJC1cje8s74GY7u sXYlO9EDL+nOxg1ZPNWaio9qjIg2rni+Pc/W3ZQH/w+qLexkfOr4UsJwFv8ibNpglbjzzJZ1Xt1g1 +DceEeIxhEVCYdMhUcQRgg/iGIBKa8aLXfD1kphdjIT9wwlyHjwdnXY2kej+vWZmunNmyWxyS23fo pFWkcLzhPr3lIB41V1Ag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1riblg-00000009juH-3A1t; Fri, 08 Mar 2024 15:04:16 +0000 Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1ribld-00000009jst-2sof; Fri, 08 Mar 2024 15:04:13 +0000 Date: Fri, 8 Mar 2024 07:04:13 -0800 From: Christoph Hellwig To: Alexei Starovoitov Cc: Miguel Ojeda , Christoph Hellwig , Linus Torvalds , linux-mm , Andrew Morton , Catalin Marinas , Will Deacon , Linux ARM , Daniel Borkmann , bpf , Bjorn Helgaas , linux-pci@vger.kernel.org Subject: Re: vm_area at addr ffffffffc0800000 is not marked as VM_IOREMAP Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Mar 07, 2024 at 07:49:16PM -0800, Alexei Starovoitov wrote: > Ok. I think I figured it out. > Please try the attached patch. I don't think this is the right thing. The probem is that the PCI code shouldn't really be using ioremap_page_range if it is not an ioremap area, but instead directly call into vmap_range_noflush (or an added back vmap_range to avoid all the duplication) similar to the vunmap case in vunmap_range. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel