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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEF42C001B0 for ; Wed, 9 Aug 2023 18:47:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233013AbjHISrD (ORCPT ); Wed, 9 Aug 2023 14:47:03 -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 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?