Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2933504iob; Sun, 1 May 2022 01:47:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxa3zenxRgM8YhydS8w+NxLBOoAJZyjqxRibssDFlx97bATv4uiPDazOMbUjMlOT/S48lT X-Received: by 2002:a17:903:234d:b0:15d:4055:d7aa with SMTP id c13-20020a170903234d00b0015d4055d7aamr6624177plh.167.1651394822757; Sun, 01 May 2022 01:47:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651394822; cv=none; d=google.com; s=arc-20160816; b=ST1MOdkeKCEvn0MBSv3Hyv6JPTkjARoKTwXQLP8179upgzpJOxcD3/ZIG9dNCbwyo3 JfHnPfCYZeFBuEiX39SNh8k0Yx3p1rdZ7PpCIlEsM7bVsmP4CButEVNgxsRmwcHWgXEq kxvh212GJTfJKtOHLYIxdKfX6N5cPXY/J1OQeJC5VfDWF55Z3ebYGamFK95iiF/sS55A 3PIMPgyH1xBDUXc1d0JEvM+EN+9HRVdnKnswz4TDbRFOE8sqBuN8Vl4EhUkqu/0dr2Hp VCX8OOqMBbGbypj124hLU6/wlJJZOwNU9K1wSP4AainGkUq23ekKmpYwZJA6FbNugFUa iHhw== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=1SdrNUtS00bHB3h5RBXA34wN9KxMmUCAGBI0InI/QLI=; b=nOX2Mw9V15ihaKbnYZZ5jugIHNjH+OH4EDRgbmCeCNRJ2BZhh0chl23LozlLn4i4Jy wMagJwkHHl20s1hipu3qsOGXcGMvfybYD4gT9uoUtQNb/IJcw43yMRgekEPMVhL2HVxa cyMl8gClZK2jVybI1j8c8gPQL3RJFd3PkFeRymc8amKTXPZaSiXYaD/mUE09DjrkGVjt ubWJZSusirhsJWm8SjdNK0LVRWRkY84DjWAUjH6vWqRKQJXVzy6mVQpVGqu9Lgl2XEud uIiTfnOztU0NmRSxl4leRNO2TDpm5KAQsncYfHmGJO440VQ2Bnplc0oJkJL+MVe/0Z2d PiVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FATzLtVF; 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 u18-20020a170903305200b00158aac8cd3asi10055414pla.351.2022.05.01.01.46.48; Sun, 01 May 2022 01:47:02 -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=FATzLtVF; 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 S1352423AbiD1Vvh (ORCPT + 99 others); Thu, 28 Apr 2022 17:51:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232756AbiD1Vvg (ORCPT ); Thu, 28 Apr 2022 17:51:36 -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 ESMTP id E1E89BB0A8 for ; Thu, 28 Apr 2022 14:48:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651182498; 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=1SdrNUtS00bHB3h5RBXA34wN9KxMmUCAGBI0InI/QLI=; b=FATzLtVFlYKpQTEKq7sAbnozsl3K42vhFSAVUW+27EbLxDG4Laf1153YmAE+p86vW+kJ4i BKkCbxnZCoAT6pbftTzBQ+0vYdsbuXTPJbLMnx4ybDd03dnAY6cjgcbF0NL+xmYIzcW0ml EJpMu3NZirJ2AodF9KAGK8FoJpcSt+w= Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-159-xAH0Jw54OIevqb7Etyypyg-1; Thu, 28 Apr 2022 17:48:17 -0400 X-MC-Unique: xAH0Jw54OIevqb7Etyypyg-1 Received: by mail-io1-f72.google.com with SMTP id j6-20020a5d93c6000000b0064fbbf9566bso5372709ioo.12 for ; Thu, 28 Apr 2022 14:48:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=1SdrNUtS00bHB3h5RBXA34wN9KxMmUCAGBI0InI/QLI=; b=r40u39Jk8X8zyckL1vklAGI8OUk8CnQvh8QWY4xIFXQm1Hv+M0i1g3BPTrAXXejBFU otuRk63Iys1r50SNPqJyOB1tzfyv/o8tt9ELOo+5XEVqR4HF8+8ImKYA0l7OHym07csl VqvtH2+wh2P5j8EMj8e6Etj7gAMLXeBwspIprAy0KuEQ2OAITMdta0x18ZI47bLQ/u5q LB3+zUo/IIdLySbLsPnYZsu4xyleGW/A62A5L/D0Uj11m9h+Ge9iyZWlRWWEkvyvxqbF O1oLv+Nwwp6jdmOCyVgH8w7z1buW+CRh0KUQzbrEsAlypPm6ePT2KZ4DWMsjAc/j70uy 8X5Q== X-Gm-Message-State: AOAM531Q/m13j6Vpu2TD7bnIxANN+eYWINu9w2fgGLoVSh2AUcxc8AK9 PdrMNaetL173GWyT/4msdGlIBIDzhT1VJKKHUry6pSSuoQKX6dxIY0G5zbHsH391Y6KYw9yDaPB l07Z/3l3ObLZjRwgvD7jiFD2f X-Received: by 2002:a05:6638:345b:b0:32b:171c:e98a with SMTP id q27-20020a056638345b00b0032b171ce98amr4549689jav.157.1651182495331; Thu, 28 Apr 2022 14:48:15 -0700 (PDT) X-Received: by 2002:a05:6638:345b:b0:32b:171c:e98a with SMTP id q27-20020a056638345b00b0032b171ce98amr4549684jav.157.1651182495127; Thu, 28 Apr 2022 14:48:15 -0700 (PDT) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id v18-20020a056e0213d200b002cbed258dcfsm42754ilj.0.2022.04.28.14.48.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 14:48:14 -0700 (PDT) Date: Thu, 28 Apr 2022 15:48:13 -0600 From: Alex Williamson To: Jason Gunthorpe Cc: "Wang, Zhi A" , Jani Nikula , Joonas Lahtinen , "Vivi, Rodrigo" , Christoph Hellwig , Tvrtko Ursulin , "intel-gvt-dev@lists.freedesktop.org" , "intel-gfx@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , Zhenyu Wang , "dri-devel@lists.freedesktop.org" Subject: Re: [PULL] gvt-next Message-ID: <20220428154813.7cef50d0.alex.williamson@redhat.com> In-Reply-To: <20220428153558.4b13fa27.alex.williamson@redhat.com> References: <87zgk8tf3l.fsf@intel.com> <20220426115258.GJ2125828@nvidia.com> <20220428153558.4b13fa27.alex.williamson@redhat.com> Organization: Red Hat MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE 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 Thu, 28 Apr 2022 15:35:58 -0600 Alex Williamson wrote: > On Tue, 26 Apr 2022 08:52:58 -0300 > Jason Gunthorpe wrote: > > > On Tue, Apr 26, 2022 at 08:42:25AM +0000, Wang, Zhi A wrote: > > > On 4/26/22 8:37 AM, Jani Nikula wrote: > > > > On Tue, 26 Apr 2022, "Wang, Zhi A" wrote: > > > >> Hi folks: > > > >> > > > >> Here is the pull of gvt-next which fixs the compilation error when i915 debug > > > >> is open after the GVT-g refactor patches. > > > >> > > > >> Thanks so much for the efforts. > > > > > > > > Pulled, thanks. > > > > > > > > BR, > > > > Jani. > > > > > > > Thanks, looks good now. :) > > > > Great! Thanks everyone! > > > > Alex, can you pull this to VFIO now too? The top commit should be: > > I see a gvt-next-2022-04-29 tag adding the following fixes: > > 419f8299ddad i915/gvt: Fix NULL pointer dereference in init_mmio_block_handlers > 5b95b9d58fb0 drm/i915/gvt: Fix the compiling error when CONFIG_DRM_I915_DEBUG_RUNTIME_PM=n > fa630c304b93 drm/i915/gvt: Make intel_gvt_match_device() static > > I'm expecting that's my new merge target once a pull request is > completed for that. Please keep me cc'd. Thanks, Oops, I see the new pull request for this tag came in while I was writing this. I'll keep an eye for it to be merged. Thanks, Alex > > commit 5e9ae5c47052e28a31fb4f55a6e735c28d4c3948 > > Author: Zhi Wang > > Date: Mon Apr 25 18:03:31 2022 -0400 > > > > drm/i915/gvt: Add missing symbol export. > > > > When CONFIG_DRM_I915_DEBUG_RUNTIME and CONFIG_DRM_I915_DEBUG_PM > > are enabled, two more extra symols in i915 are required to be > > exported. > > > > Cc: Jani Nikula > > Signed-off-by: Zhi Wang > > Link: http://patchwork.freedesktop.org/patch/msgid/20220425220331.24865-1-zhi.a.wang@intel.com > > Reviewed-by: Jani Nikula > > > > Which was picked up here: > > > > https://cgit.freedesktop.org/drm-intel/commit/?h=drm-intel-next&id=f08699ec5bd924be4c9572e21fd0a806d3fb34c2 > > > > It will have these commits: > > > > 5e9ae5c47052e2 drm/i915/gvt: Add missing symbol export. > > 2917f53113be3b vfio/mdev: Remove mdev drvdata > > 2aa72ec97ce9eb vfio/mdev: Use the driver core to create the 'remove' file > > 6b42f491e17ce1 vfio/mdev: Remove mdev_parent_ops > > e6486939d8ea22 vfio/mdev: Remove mdev_parent_ops dev_attr_groups > > 6c7f98b334a32d vfio/mdev: Remove vfio_mdev.c > > cba619cb0d4d66 drm/i915/gvt: merge gvt.c into kvmgvt.c > > 978cf586ac35f3 drm/i915/gvt: convert to use vfio_register_emulated_iommu_dev > > 0e09f4066ad11b drm/i915/gvt: remove kvmgt_guest_{init,exit} > > 7f11e6893ff01b drm/i915/gvt: pass a struct intel_vgpu to the vfio read/write helpers > > 4456641232e2c1 drm/i915/gvt: streamline intel_vgpu_create > > 37e4bdbd5bad71 drm/i915/gvt: remove the extra vfio_device refcounting for dmabufs > > 5f8f3fe67cd908 drm/i915/gvt: remove struct intel_gvt_mpt > > 91879bbaf8890f drm/i915/gvt: devirtualize dma_pin_guest_page > > 8398eee85fd009 drm/i915/gvt: devirtualize ->dma_{,un}map_guest_page > > 4c2baaaf764bfb drm/i915/gvt: devirtualize ->{enable,disable}_page_track > > 4050dab5981cd4 drm/i915/gvt: devirtualize ->gfn_to_mfn > > bd73b4b193d450 drm/i915/gvt: devirtualize ->is_valid_gfn > > b3bece34956f86 drm/i915/gvt: devirtualize ->inject_msi > > 4c705ad0d784fd drm/i915/gvt: devirtualize ->detach_vgpu > > f9399b0e4a9555 drm/i915/gvt: devirtualize ->set_edid and ->set_opregion > > fe902f0ce686e8 drm/i915/gvt: devirtualize ->{get,put}_vfio_device > > e3d7640eeeb306 drm/i915/gvt: devirtualize ->{read,write}_gpa > > 3c340d05868d98 drm/i915/gvt: remove vgpu->handle > > 10ddb96295f3bd drm/i915/gvt: merge struct kvmgt_guest_info into strut intel_vgpu > > 62980cacc37f58 drm/i915/gvt: merge struct kvmgt_vdev into struct intel_vgpu > > 3cbac24c2cdbfe drm/i915/gvt: remove the unused from_virt_to_mfn op > > c977092a997708 drm/i915/gvt: remove the map_gfn_to_mfn and set_trap_area ops > > 675e5c4a33e20c drm/i915/gvt: remove intel_gvt_ops > > 8b750bf744181c drm/i915/gvt: move the gvt code into kvmgt.ko > > f49fc35799fa63 drm/i915/gvt: rename intel_vgpu_ops to intel_vgpu_mdev_ops > > 367748066eeb37 drm/i915/gvt: remove enum hypervisor_type > > a85749e12d66c2 drm/i915/gvt: remove module refcounting in intel_gvt_{,un}register_hypervisor > > 7f0cf30187cdb1 drm/i915/gvt: better align the Makefile with i915 Makefile > > de5d437ae8696a drm/i915/gvt: fix trace TRACE_INCLUDE_PATH > > 1672991412dfef i915/gvt: Use the initial HW state snapshot saved in i915 > > 66e7a8063381cb i915/gvt: Save the initial HW state snapshot in i915 > > e0f74ed4634d6d i915/gvt: Separate the MMIO tracking table from GVT-g > > > > Thanks, > > Jason > > >