Message ID | 20230608114322.604887-1-15330273260@189.cn |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp219403vqr; Thu, 8 Jun 2023 04:49:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ok0NFZo8jdc93vXWAtIWhzHciiktkJMtVQrvSOzBmdTzDkFUK7dZgPaIICGaK1BZIkYiJ X-Received: by 2002:a92:c090:0:b0:335:1ed:359b with SMTP id h16-20020a92c090000000b0033501ed359bmr10083404ile.15.1686224980533; Thu, 08 Jun 2023 04:49:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686224980; cv=none; d=google.com; s=arc-20160816; b=wmfqwi6kwi9q192USNHGpMrOzNFX2skzfVzEp8ocuYMCqLSIZlnWa3ijGKV2vZC2G4 8eiYPZ3V95NimyTuqGxAtiJgJQtmfDiO+ZK0InWMljs93sv4n9LV6mHODNdZY2Tx2/q/ lrmEug0/xPCkf6GNWwGitiZp4MitEbFS2wVC0iqPRs9huora5gwphNWAgzZRaqNE2yvy iKVZ71PLw1tmpPa2e5mEEGUVeKb0UtQVVyNZ4tK2EshAXrpOtHkQcudDb/YWqB08v2de HyPTJ83U3EQsHDHEivVXU1o4ut8ctMKholYMQ4giHsJh5NuFs1TKpjpx+909CrCUS5wL o4QQ== 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 :message-id:date:subject:cc:to:from:sender:hmm_source_type :hmm_attache_num:hmm_source_ip; bh=BfXfefA2s1OreV9LQ6zXEazVbNSAWY8JZ5rJA9l4pok=; b=dcGumTqDVRuPsdVbOqiid/v+L/+in44c2rr42+MDXrqiv6aZMOzawzgwxxcvNTUtsZ 1jWey8+HiMijIEH7vvf35kMLMxcuQ6+xtDYnrLiHWIiPBiDviegmjI0baxjtteAmrBI6 XU3Vr4yKwn5V0HHlLn3E9nZmGJsJLb7jG24YqLNTPEMmokTAXBj+XVwtJVLQUBHLo2Og fnL+ELRlHF31JYa2ZGXR/ZodGhkrzMm+El2KzNivSXCEYuymizagS93fsGOXAu/FbIVk CsG9kFGEcDFrhaKdUio91THP4nPfukh41Zawbd8tPE//IAof1JGUM5crDUhOS/bY3mQg XCSQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot11-20020a17090b3b4b00b0025675c51fa1si2722255pjb.126.2023.06.08.04.49.24; Thu, 08 Jun 2023 04:49:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233626AbjFHLnf (ORCPT <rfc822;liningstudo@gmail.com> + 99 others); Thu, 8 Jun 2023 07:43:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234521AbjFHLnd (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 8 Jun 2023 07:43:33 -0400 Received: from 189.cn (ptr.189.cn [183.61.185.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 980D8E6C; Thu, 8 Jun 2023 04:43:30 -0700 (PDT) HMM_SOURCE_IP: 10.64.8.41:48916.660287130 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-114.242.206.180 (unknown [10.64.8.41]) by 189.cn (HERMES) with SMTP id BE9E61001E1; Thu, 8 Jun 2023 19:43:24 +0800 (CST) Received: from ([114.242.206.180]) by gateway-151646-dep-75648544bd-xwndj with ESMTP id 7729ef043a1042388f426189986bb73b for alexander.deucher@amd.com; Thu, 08 Jun 2023 19:43:27 CST X-Transaction-ID: 7729ef043a1042388f426189986bb73b X-Real-From: 15330273260@189.cn X-Receive-IP: 114.242.206.180 X-MEDUSA-Status: 0 Sender: 15330273260@189.cn From: Sui Jingfeng <15330273260@189.cn> To: Alex Deucher <alexander.deucher@amd.com>, Christian Konig <christian.koenig@amd.com>, Pan Xinhui <Xinhui.Pan@amd.com>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Jani Nikula <jani.nikula@linux.intel.com>, Joonas Lahtinen <joonas.lahtinen@linux.intel.com>, Rodrigo Vivi <rodrigo.vivi@intel.com>, Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>, Ben Skeggs <bskeggs@redhat.com>, Karol Herbst <kherbst@redhat.com>, Lyude Paul <lyude@redhat.com>, Bjorn Helgaas <bhelgaas@google.com>, Alex Williamson <alex.williamson@redhat.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, Hawking Zhang <Hawking.Zhang@amd.com>, Mario Limonciello <mario.limonciello@amd.com>, Lijo Lazar <lijo.lazar@amd.com>, YiPeng Chai <YiPeng.Chai@amd.com>, Andrey Grodzovsky <andrey.grodzovsky@amd.com>, Somalapuram Amaranath <Amaranath.Somalapuram@amd.com>, Bokun Zhang <Bokun.Zhang@amd.com>, Ville Syrjala <ville.syrjala@linux.intel.com>, Li Yi <liyi@loongson.cn>, Sui Jingfeng <suijingfeng@loongson.cn>, Jason Gunthorpe <jgg@ziepe.ca>, Kevin Tian <kevin.tian@intel.com>, Cornelia Huck <cohuck@redhat.com>, Yishai Hadas <yishaih@nvidia.com>, Abhishek Sahu <abhsahu@nvidia.com>, Yi Liu <yi.l.liu@intel.com> Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-pci@vger.kernel.org, kvm@vger.kernel.org, loongson-kernel@lists.loongnix.cn Subject: [PATCH v3 0/4] PCI/VGA: introduce is_boot_device function callback to vga_client_register Date: Thu, 8 Jun 2023 19:43:18 +0800 Message-Id: <20230608114322.604887-1-15330273260@189.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FROM_LOCAL_DIGITS, FROM_LOCAL_HEX,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768135045281111929?= X-GMAIL-MSGID: =?utf-8?q?1768135045281111929?= |
Series |
PCI/VGA: introduce is_boot_device function callback to vga_client_register
|
|
Message
Sui Jingfeng
June 8, 2023, 11:43 a.m. UTC
From: Sui Jingfeng <suijingfeng@loongson.cn>
Patch 1,2 and 3 do basic clean up to the vgaarb module.
Patch 4 introduce is_boot_device function callback to vga_client_register
Sui Jingfeng (4):
PCI/VGA: tidy up the code and comment format
PCI/VGA: Use unsigned type for the io_state variable
PCI/VGA: only deal with VGA class devices
PCI/VGA: introduce is_boot_device function callback to
vga_client_register
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
drivers/gpu/drm/i915/display/intel_vga.c | 3 +-
drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
drivers/gpu/drm/radeon/radeon_device.c | 2 +-
drivers/pci/vgaarb.c | 72 +++++++++++++---------
drivers/vfio/pci/vfio_pci_core.c | 2 +-
include/linux/vgaarb.h | 16 ++---
7 files changed, 57 insertions(+), 42 deletions(-)