Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1701967rwd; Tue, 16 May 2023 23:25:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5XrXkVsJ4Bk1DQJaxhdmQFohVVK6fw4X4nqP0PcMxh5nRRKZHVmAzW0K0T9ouq+5vO0jDx X-Received: by 2002:a17:902:da91:b0:1ae:f37:c1ab with SMTP id j17-20020a170902da9100b001ae0f37c1abmr14945577plx.25.1684304723654; Tue, 16 May 2023 23:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684304723; cv=none; d=google.com; s=arc-20160816; b=VU1ZE/4Qo3les6t+FMLbFfNCMXCNr5W4hWHWK68styuh+gs7aVwvLDWBZXAVOtNy52 3pB9169rLiL4wwUfulT2NduQRaB4huL6Uebbzh6HJWqMvs9HSnJhwvqnY/BXUi1JpTRq Yt8+IXPAG5fxEH8yE0xdx07wi63ZbgNF7vpffWZhC0tpzs8les0XVXuARMZxU6Shdjdj lEkBlPWDQJKL0/OZ4sG4J7+1UF4GmQ43KprvSVIqJyuXgfjJH4XQ6pUkP0WTEJIpdD0V 40P/u/DEIwIPPdfiP8WCw+ds/ULJs6h26jtVLqfLIkgBfkargK8Ml0aBaSCNMubAcVjq 8j1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Uiam3MV1AIHx2JXhBYlardHpiKPPLXRwMMxlhPQWj/8=; b=BHmzzX01AQEi4MTCOEgiZPdTD5yMdqRsy2nHiE0Ia+AuRB8w+jkh9mi7lnOzUOoC99 mgK82utUzQY1OVsBG3ZZ8CGtvugplEru002dgJJRcfRMj14a6HABiMimj6w/BlMihNFq vrM78ENQQ6TtdwlceUX0trtTdZnMNHwdNKlJsUMVnZ926qUzp6wWcb5lfyGgXTyr+pKH NH/XXKDi+SdVQc3to2cGZE9iE33IA5PKuZJrkNwUPTwPZvkmYdmtV3Ke1Lr8/UbjwqkN 9vM7k1bSfFW9qm2u47hl1EEEtPpfdn8Kxw6+6EutYFk+FOhbDJWsVDhC7f/FXLb6STPo JBJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=lCMxRrDH; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a170903120900b001aaf2ced278si22118689plh.430.2023.05.16.23.24.59; Tue, 16 May 2023 23:25:23 -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=@infradead.org header.s=bombadil.20210309 header.b=lCMxRrDH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232307AbjEQGUP (ORCPT + 99 others); Wed, 17 May 2023 02:20:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232441AbjEQGUN (ORCPT ); Wed, 17 May 2023 02:20:13 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4DD32728 for ; Tue, 16 May 2023 23:20:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Uiam3MV1AIHx2JXhBYlardHpiKPPLXRwMMxlhPQWj/8=; b=lCMxRrDHuojZ0UPd/0UgioRB86 2fhjUmfD78FcEyAu/uz3qh+YysEvBlNn3xRL8Tsf6EbZ3JjOPy6WMGzZ6RC48vvcs2bufdXIbItkI QKDCuWVkywiVvHZ+0vIGTEaNwHLPKEoKjT+qbxKoNaOVlewfVtaLHA028AScpKU449bGeo8DpmSq4 cQtDOvl7rY08GfxHMJlOMTuitFwEx8Tde4zleVg3eoI6f+RJX2KGDrRE5MndVj+WaA6OXP010uY55 3MqslUAkzi3wJzPq957lHtT+WX0rw+ZkskTevkhRhbJUEDcY6KS57uu+alDGFxf0qPsuqmi3hmEFe v57ygwTA==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1pzAW7-008PAq-1I; Wed, 17 May 2023 06:20:07 +0000 Date: Tue, 16 May 2023 23:20:07 -0700 From: Christoph Hellwig To: Lorenzo Stoakes Cc: Ryan Roberts , Andrew Morton , "Matthew Wilcox (Oracle)" , "Kirill A. Shutemov" , SeongJae Park , linux-kernel@vger.kernel.org, linux-mm@kvack.org, damon@lists.linux.dev, Christoph Hellwig , Uladzislau Rezki Subject: Re: [RESEND PATCH v1 1/5] mm: vmalloc must set pte via arch code Message-ID: References: <20230511132113.80196-1-ryan.roberts@arm.com> <20230511132113.80196-2-ryan.roberts@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Sat, May 13, 2023 at 02:14:18PM +0100, Lorenzo Stoakes wrote: > > Fixes: 3e9a9e256b1e ("mm: add a vmap_pfn function") > > Not sure if this is really 'fixing' anything, I mean ostensibly, but not > sure if the tag is relevant here, that is more so for a bug being > introduced, and unless an issue has arisen not sure if it's > appropriate. But this might be a nit, again! vmap_pfn was factored out of i915-specific code, which probably never ran on anything but x86 at that time. Now that intel builds plug in GPUs is probably could. But independent of that core mm code should use the proper APIs.