Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp174983rwl; Wed, 9 Aug 2023 12:47:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGvQMx2FS6fAH/N2AE4BATJrTrFIXElKZmhXKlu34MnSQA/KUeXeSRLtv2b7AWnric6nEqj X-Received: by 2002:a2e:6816:0:b0:2b6:9ebc:daf8 with SMTP id c22-20020a2e6816000000b002b69ebcdaf8mr154503lja.31.1691610458795; Wed, 09 Aug 2023 12:47:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691610458; cv=none; d=google.com; s=arc-20160816; b=jXyJFoBwAzGgsrSa3zKqL8uXbfU2kTi5VIXpAIYibgsbP3kcwTEioFWEPYNL2XV2L7 niByUWkOdnlGAcrwiaSLPQnKsStZRFUyGUBKSYXLa3MSNCCxpZB5Y5KGs4Q3iVpfzL/Z jwC4uD22AZB8i894OwK1skgmplRDitBURo7qX2KGDntdGmsp9P51BidSah4GlPa9RDGt dgoqg4acaEO2R90cVO+ZkXF3hazPkcxMGWK2aJtBzHnwhwvrg7CRBVo/5GdVyxh5kFex 9ZY7gPFK2EIi7DqWJ7VVqhXWJszHrb+za9cepRW6pFzZMnkrgbZayEeEqvFY/ihJFyhz ByMg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=gYN2BOMiGu+xu8LvJqcnM/ZthDRKMm/RHX63Tym2/rY=; fh=MTZw3kkOx6064wtMkJ0zU1eyyvfnpwuHnk7Wt3Tuwtc=; b=USGIRoTpUUJHqZDekfKm8uveB0FzjzSZi6a6Abrimmk9vPljEr+/7fBz2KV1YV/6FD rxwho9qZsvHtNfxWoDTk3UFbhwHwPs5ZJe12fm+x8At7Ke29ATbANj/8GOPF6h8SIL6w FfWzz9tBu1ahDMEbwl8mAih3jIydFM4cDReSMoF6HXbGjRIZ830AXeV3Wue7+xV0uW+n 0liA8tmZR4lSDQcHMcfIOPUC6c4ovo+JpcOO4dTKKU9IJ9mkWDD1fWkBECblPtn0ri95 VcPjnewlh010/MV2mU7fxKoYH0fJH3vJzhTtDOWVRwW+2/1P479zym4GN2IzbkFAVK3F dooA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=yIVM+8nI; 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 g23-20020a170906c19700b00992a36ceca1si10267349ejz.35.2023.08.09.12.47.13; Wed, 09 Aug 2023 12:47:38 -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=@linux-foundation.org header.s=korg header.b=yIVM+8nI; 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 S232942AbjHISrC (ORCPT + 99 others); Wed, 9 Aug 2023 14:47:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232946AbjHISqz (ORCPT ); Wed, 9 Aug 2023 14:46:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5F7710D4 for ; Wed, 9 Aug 2023 11:46:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 442DD61572 for ; Wed, 9 Aug 2023 18:46:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5EBA3C433C7; Wed, 9 Aug 2023 18:46:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1691606812; bh=8VUPwjOWYEE8WoNNGr3QrghG1LCxP6UkLxr+pnJhuFk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=yIVM+8nIl0vsi4/PqcnzqN9bbpk+DS4PYrcZ2KQWHBIoeA/jjEElKS0+05FczTqvK wJ6Ncr19U0fuIvmzJbb9PXFjJ4xt42LoB22DvEQVnu5XVqcvwcJrrdxmXqSVbAKo8X 45m91JO+yHAPRRkeXvyJZbgZsRMn81bn1H4Q0Mik= Date: Wed, 9 Aug 2023 11:46:51 -0700 From: Andrew Morton To: Alexandre Ghiti Cc: Uladzislau Rezki , Christoph Hellwig , Lorenzo Stoakes , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Dylan Jhong Subject: Re: [PATCH -fixes] mm: Add a call to flush_cache_vmap() in vmap_pfn() Message-Id: <20230809114651.eb690e5bd4c60b075eb3111b@linux-foundation.org> In-Reply-To: <20230809164633.1556126-1-alexghiti@rivosinc.com> References: <20230809164633.1556126-1-alexghiti@rivosinc.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,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 Wed, 9 Aug 2023 18:46:33 +0200 Alexandre Ghiti wrote: > flush_cache_vmap() must be called after new vmalloc mappings are > installed in the page table in order to allow architectures to make sure > the new mapping is visible. Thanks. What are the user-visible effects of this bug?