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 BE85CC04AAA for ; Wed, 20 Sep 2023 16:02:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235583AbjITQCc (ORCPT ); Wed, 20 Sep 2023 12:02:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234593AbjITQCa (ORCPT ); Wed, 20 Sep 2023 12:02:30 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4101B9; Wed, 20 Sep 2023 09:02:24 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BBE28C433C8; Wed, 20 Sep 2023 16:02:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1695225744; bh=PxmmE/dltr7gzuxv2mKuIj54FWPkVjlQN4tKctLDHqw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tcitaC/q97qOL5pWea96xn8J8vy43RrqUrBMskWb6DeaJ6qgI+Xhx0LrkTboKjikd 99uLEw63TTE+WD+0PyDWBtB0hLEnt7w6wBmidZqCWOO9LyRJsW7GwzwHdXDwnQ40DL 8by4TMuh7R/BRNVxliSDXrHNfyRhY9Zs+ISXe7no= Date: Wed, 20 Sep 2023 09:02:22 -0700 From: Andrew Morton To: Cc: , , , , , , , , , , , , , , , , Subject: Re: [PATCH v1 0/4] mm: Implement ECC handling for pfn with no struct page Message-Id: <20230920090222.580f2b3ca43f21f752c10e0a@linux-foundation.org> In-Reply-To: <20230920140210.12663-1-ankita@nvidia.com> References: <20230920140210.12663-1-ankita@nvidia.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, 20 Sep 2023 19:32:06 +0530 wrote: > The kernel MM currently handles ECC errors / poison only on memory page > backed by struct page. As part of [1], the nvgrace-gpu-vfio-pci module > maps the device memory to user VA (Qemu) using remap_pfn_range without > being added to the kernel. These pages are not backed by struct page. Are you able to identify any other drivers which can (or will) use this? Or is it likely that this feature will only ever be for nvgrace-gpu-vfio-pci?