Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2037225rwl; Thu, 6 Apr 2023 05:09:40 -0700 (PDT) X-Google-Smtp-Source: AKy350afHFJaWbYKGqBrUFQJiJlobRy4T0s/OJjw9lTGI5056mBy4KlS8c5UvjKmwrYsU3EepJyp X-Received: by 2002:a05:6a20:47c7:b0:d9:3440:9a26 with SMTP id ey7-20020a056a2047c700b000d934409a26mr2755852pzb.20.1680782980028; Thu, 06 Apr 2023 05:09:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680782980; cv=none; d=google.com; s=arc-20160816; b=knpmPgiC3WGTYSYaTDgNT1P3uPzvvN1vjvxA+LbuKVkktTZQEg6l0NSK7i7dARoiKA pO6PFWiiQwPYhS/B/RO21Sk23/g6cxPxghVrZk/ngMD99B08JlvCdnKJDkOJM35+X4yy 5wjFYmK9E47lMX3Bnas8Q2QMA1PAGKWKil38lth7lkbu64CNUjUschPE66ZUCb4oTu7x 7KDPrxs9w6fu9ovwHBl1nz3K9Rn+o0pT/hfsz4zPOGX/s5GGt0nDDhAM1ZYfZENzEK8Z F7XqWYJI+u0nOCSmhz1d67LTl7KSKTs0oEEvCB+X0q/LNWDpHz5j8gFpdCxm35EVpkFm uruw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=D6+G/+qMHHfZWTlu7nahMnOXMFXydYG4UFMFj92Vprg=; b=uPuEzcoadh2wNC3AeTSFYg7cq7ESTEWQu2LG1LvoHB1iqznXdWCjOVvEhVh06JWRl3 tDlv14gur/CAayc8g4eCyhY+VXlbJktkdCcu0epV9z9F12FciR5iNqoyIbyEW5UzFZ8w Ej9MCZeATfB8I3Gkx3J9C8oy6WCy9tbnngK51+EAt/TgzaMeiPdXbonGgwiOKYB1CjJ2 jJBu03JXAp+vJ2C7lYI6WZwzPgdjhJMHaxh/rKse8S1C4/F0BvaOyWvZizNwjHI4X33B /M63zkDa9iIbv662OTgLPFvYPsf9LgOXW994DVKhxwjhGH+fac0n9YfnK/wfbDwKhSQC WZaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iVQ4lF37; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 29-20020a630a1d000000b0050beec93e77si1045176pgk.609.2023.04.06.05.09.22; Thu, 06 Apr 2023 05:09:39 -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=@redhat.com header.s=mimecast20190719 header.b=iVQ4lF37; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230032AbjDFMJC (ORCPT + 99 others); Thu, 6 Apr 2023 08:09:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjDFMJB (ORCPT ); Thu, 6 Apr 2023 08:09:01 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C33F19B for ; Thu, 6 Apr 2023 05:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680782884; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D6+G/+qMHHfZWTlu7nahMnOXMFXydYG4UFMFj92Vprg=; b=iVQ4lF37+QzNEOURYHHee5DPtd+j7knGGg/6dSkXAvpIQcdJu96kVz3z0DO2I4F7xxBd4y 05Y3Sj8pQepGMgphCSvD3yvp4eQUKp4F+/xk+9EojubDYK/lMFqI3p3Xtr7xSw/wff/gQc vRcOXWtvMWx8IdXiOEDFzD7LdeSjI1w= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-33-m-4Zhe6dMUejwVoqZEiGZQ-1; Thu, 06 Apr 2023 08:08:03 -0400 X-MC-Unique: m-4Zhe6dMUejwVoqZEiGZQ-1 Received: by mail-wr1-f70.google.com with SMTP id y4-20020adfc7c4000000b002d633dc129aso4822746wrg.0 for ; Thu, 06 Apr 2023 05:08:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680782881; x=1683374881; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=D6+G/+qMHHfZWTlu7nahMnOXMFXydYG4UFMFj92Vprg=; b=bk8NKSENE2kqhwEwLpvpNwnp7lB/AeKwYQdYLqXrrBgAu/cKMawOGvT/QXwIErPd+W iwQNs93yj4raFEhf19UjTos5cpljeNcHhJKYxIbuSFz9BiPkwD+MHY/D1Aasf9mpXfRr VSFsl469ZO3cWW7gV4TmiswVk9aeo3V9uy8H/cgt+IE/cTu84T4uMeKV+plhBgnLZPFG u+Yag/DmgJpsYrrqvm1OjizRlzn7jdYSElDYYIDeJUgZ75q6OVKQIneaYHXI8xTS778t Rww5n0/IHwjlZufDWVWdO4t0sjPn4Mcg7AZRvmy2e3XYQ2B/Jyjs3UQ1hzDcQjRGJYMX 9Ekg== X-Gm-Message-State: AAQBX9csyKgeaz/Xm51f1GqZldgOX22dpHi0Y//LQ4tvWQN90fuC//Mm 0a4lpP20NihZ3uNzRWNNU8HgeAJzicSX8nLUm2lizh95+eVIdC///XfBJI2z/SLCymspEydE6AO MlUQDc8ZcSCmu2v8evUq9dW70 X-Received: by 2002:a7b:cbc7:0:b0:3eb:2b88:a69a with SMTP id n7-20020a7bcbc7000000b003eb2b88a69amr7095611wmi.14.1680782881078; Thu, 06 Apr 2023 05:08:01 -0700 (PDT) X-Received: by 2002:a7b:cbc7:0:b0:3eb:2b88:a69a with SMTP id n7-20020a7bcbc7000000b003eb2b88a69amr7095597wmi.14.1680782880762; Thu, 06 Apr 2023 05:08:00 -0700 (PDT) Received: from ?IPV6:2a09:80c0:192:0:5dac:bf3d:c41:c3e7? ([2a09:80c0:192:0:5dac:bf3d:c41:c3e7]) by smtp.gmail.com with ESMTPSA id fj12-20020a05600c0c8c00b003ef67848a21sm5130037wmb.13.2023.04.06.05.07.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Apr 2023 05:07:59 -0700 (PDT) Message-ID: <46f68930-fdfc-db3d-5f28-521ff76e170a@redhat.com> Date: Thu, 6 Apr 2023 14:07:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v3 0/6] Expose GPU memory as coherently CPU accessible Content-Language: en-US To: ankita@nvidia.com, jgg@nvidia.com, alex.williamson@redhat.com, naoya.horiguchi@nec.com, maz@kernel.org, oliver.upton@linux.dev Cc: aniketa@nvidia.com, cjia@nvidia.com, kwankhede@nvidia.com, targupta@nvidia.com, vsethi@nvidia.com, acurrid@nvidia.com, apopple@nvidia.com, jhubbard@nvidia.com, danw@nvidia.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org References: <20230405180134.16932-1-ankita@nvidia.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20230405180134.16932-1-ankita@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 [...] > This goes along with a qemu series to provides the necessary > implementation of the Grace Hopper Superchip firmware specification so > that the guest operating system can see the correct ACPI modeling for > the coherent GPU device. > https://github.com/qemu/qemu/compare/master...ankita-nv:qemu:dev-ankit/cohmem-0330 > > Applied and tested over v6.3-rc4. > I briefly skimmed over the series, the patch subject prefixes are a bit misleading IMHO and could be improved: > Ankit Agrawal (6): > kvm: determine memory type from VMA this is arch64 specific kvm (kvm/aarch64: ?) > vfio/nvgpu: expose GPU device memory as BAR1 > mm: handle poisoning of pfn without struct pages mm/memory-failure: > mm: Add poison error check in fixup_user_fault() for mapped PFN That's both MM and core-KVM, maybe worth splitting up. > mm: Change ghes code to allow poison of non-struct PFN That's drivers/acpi/apei code, not core-mm code. > vfio/nvgpu: register device memory for poison handling -- Thanks, David / dhildenb