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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A93AEC76196 for ; Thu, 6 Apr 2023 12:09:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DzKTNLcjKvVCA2ZtdED7U1REpprTIlhhAl/hLpkteJM=; b=Xnwz24uI5r5eRO 33ig1KOaScC5xhiWqIRA+tUyIr0mLVAcUZw0C1e707284qLj2qCE8sX1QtsD/fvjIt4NtLlFGWF65 CC3+Zo3n2cvOMbbn5He36MSQ/+mmHQCi2AqPtuU+ed4DxEPpvjtML+WljP6WU4AhSW8+wQtDIAy/9 Dw/SbpGXKMjF795C13ixLs0nbFK4Fs0SdI9Ikg+UIffZMUNJ5nQwCy61A3JP3bx2lYk9r+7+ChwYu 31Q66rPhJPt3nYYnudptnnu0JShFoGg5HIQz/9Ap1zUfgilbhht/Re3hXZ5AZLC7e1B+Tc/+4jPPa LdwxE5ElAx7d/Mk3oROA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pkOPQ-007F6S-0b; Thu, 06 Apr 2023 12:08:08 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pkOPN-007F67-0s for linux-arm-kernel@lists.infradead.org; Thu, 06 Apr 2023 12:08:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680782883; 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=V6fCS+LIjrHci0cQ2TYaQOFbPCsS4x39Z1b/gC7fZJW2PS5Bivvo7bk4sR0R75lZzsnmVQ Hg6ynJwY1rR8CXBxvbTfRMG0dfM1UtHiVuGla1CykFkOwDeaQVhD5TH+aWQKJcbg8uD8kj v3UTXvkDD+Zvnrl52i8iT3V/inST9aw= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-515-19B15GiaNaW7-OBT1BEKUw-1; Thu, 06 Apr 2023 08:08:02 -0400 X-MC-Unique: 19B15GiaNaW7-OBT1BEKUw-1 Received: by mail-wm1-f69.google.com with SMTP id iv18-20020a05600c549200b003ee21220fccso18223276wmb.1 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=r8u6OPgBq3RbbK2CcnAR4W/zUUF5ShuK3hTjeEmhBCi4DYPYeWby3MqjjvtFBC6nCL 5BUCmQxrPoBkA2Sn9EJ6jyqwxngs7/1rgDMqemAtH/h8p1MD6cgI5NR2hRVxbRFuieUb cABfUGRuDNtEOoUcLDsHQ+1Xsep+CmxPD/UHQr6VkLbrL/T+T400FLDk0tORabCGrBYe tJJDaiMP9I3J1Lr6PoDA5f7lrFQQ04C159lSvGls5WFU2umQN1tnwWQT/DK2//LuLrCL pCjEAmwY8z1gdvPZU6jzhqgvPfpy3RLOGEqO/zk7ZHP1deIPbbkHjYhXQv1B8G6Lsa1x ewQg== X-Gm-Message-State: AAQBX9egpTZ/IS1HLda/8gtr5H4kX42ZXgjcvjb5BsFTNTMbbRdBrXy0 xJOABxLA4JYQFBW/FOA9Gfp5Qp65dq5wfmc11UQtGg97ZVdkSrvbr7mdcgp1ZBpHUuE5VGmfBxi cngglHm3jIseIMB/+Y7fk7WUOSxqXm792BwA= X-Received: by 2002:a7b:cbc7:0:b0:3eb:2b88:a69a with SMTP id n7-20020a7bcbc7000000b003eb2b88a69amr7095609wmi.14.1680782881078; Thu, 06 Apr 2023 05:08:01 -0700 (PDT) X-Google-Smtp-Source: AKy350b1TCHLBujhOUkgXMFuNaQqaNd6h+rVM3zqYVUUAk79f8ntvaT7XE35w9wr4mvS8DgydZCjZg== 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 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> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230406_050805_406186_D3D7B19E X-CRM114-Status: GOOD ( 12.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel