Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp56212lfv; Tue, 12 Apr 2022 17:06:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkbOSGEaIbc5llMjV0+enYijczLNQtaTv2kvWkKpJDdYwqnBfpcCu9LwfmepTz1Sy/lEme X-Received: by 2002:a17:90b:4acc:b0:1cd:37de:3baf with SMTP id mh12-20020a17090b4acc00b001cd37de3bafmr4395381pjb.194.1649808404364; Tue, 12 Apr 2022 17:06:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649808404; cv=pass; d=google.com; s=arc-20160816; b=VvUdH2KVdOSeN0srbjUp3zBDdns/8CCn7h+OVbSqhYV/hAcZAFFbtq0cXCQ+SJ9hFA RZyr75okETah+1jazhHK+XTHT+6lTW07TjDUqJWGdOm6ZG8CfBWmBgRP1SNMlCT1ZpYn FrxIB8YW/DfBG9CBZdctE4Rnr4gWcOSDLViqeQingNKmo57PB13R6oxq7Xn6sqInwBeG kBQBsDsAI7Y9xoLOU4Zn3YuRUYr8hboRTg0Lyhy7AEiivWpAVGnlcheBd5H6DtY9g+si 3vug0hUuvRoaZHNGeGKvwAaCGr+CXJyMBAg7FdzS8LMVpXZ3YeX5mqVqlmZinnZYrOXw CE2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=fOYpj/CZHYPcQuphC9Wcs6ImNt6KYcylM5y1cC9ffbM=; b=v0fyC9Hsko+Fx23l5jGRwXRLlLtJew0UClYTkGokdc0tASvV85ZGvWNkuDibTwvMNZ BAPeiUr4tKU6zfOwhtXCz4v2tO5gJmhctKe3sKwcoTxdrA4eBrxnIZlAz1UMXD7+elwS SROIH/Zx6UWMrNkjWlxvvuqtpOnyUXvo3CaiLaMfqcO9jAcvuB42QfQT8kJADlcnul0D clbrTuFvslyFWWPdNr/W0XVi9bkDtOG1RxGOtCn9XKXJVWl8R9A3kj8Qsvl70SqdTEIL PEXB2M+xz6ebNMbHVT9XspWwwGehKSPfLBsak5akZJsGCosuT1ZJmRBGlVYGFRHIO/am dvXg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=A3KRueRI; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h9-20020a056a00218900b005056456ed1fsi13261146pfi.221.2022.04.12.17.06.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 17:06:44 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=A3KRueRI; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2089B14FFCA; Tue, 12 Apr 2022 15:03:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231318AbiDLU6F (ORCPT + 99 others); Tue, 12 Apr 2022 16:58:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232208AbiDLU5x (ORCPT ); Tue, 12 Apr 2022 16:57:53 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2058.outbound.protection.outlook.com [40.107.93.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FA031563D6 for ; Tue, 12 Apr 2022 13:54:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H3raf1EK1oWNGJ0N4zFmZ1W3+4mP4JJbmNeSWU1qkudXwjeIdomAzb8jOYJHlrkm6pj1uqtRIvDxHhr1lRiCr9RQEvU1/HAk3J+6b7Kmp9RWhLLh/DKvQ3aRjSlKp6S+Cp5VYVnPeFnFSF33VYdfTBQ6k/IHkfb/cCvtVD8WtBq0nuZ/35rDKhTDsDDDmn1L/XNokNbuAzKWMVo2TEAS1j9kWOug06D6btnZSAPaDtozFo0jgvgagrZSsXTYwGhm6l+khUCCcQdt1VGeKIoQHZrnZY/D5EytZSUYKTK1PpFFKtZQVIMSw2SgOxDnZZ3valBoNJxmlgcSf/w7/ISSVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fOYpj/CZHYPcQuphC9Wcs6ImNt6KYcylM5y1cC9ffbM=; b=dHNR7U2GxwiPzbmY9oA2brOy3btHPvsaca6waQrQkIdt5PH/yUkacFPkxJNzclEfCVjjSwZgIEUYUm2RPjue2m0ctAJMNiEYEd8aGZyxrbEhj2+/aOYksCCxyTL53Ij3S6WaFVmBLMwR4b9hnzv1xgTAWIXQhcHge9Vqxi3uhiMiVjPQisLzFxgLdVsRzSUt+5TKEznPatk1Co+L/zwLpXIcKQRK5hKB41NaUIE88igm5HxWFy09WF4r5VTyo3Cv7/GaiajtxTRaByC8VG42ku8BfVv+Mu6n87FcCSDYFnpHF6Wcp3wlgznPmsVduCz/1dW2Jjk0/Dt7dk6wi6nFbQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fOYpj/CZHYPcQuphC9Wcs6ImNt6KYcylM5y1cC9ffbM=; b=A3KRueRI2ojgPdmI/7mNODbnJ72BhNEMrcSeTJw0e5r2L/fSQWQnrn8KzAFC2s8QXQqTga172UrPjsq6ElTAnQCv0T0cViDIbOARteU83kUv4r/eYZJaKUtbHPBeVfPqjTRSDqzcHVayHmKxf+JDXSR2iHFSuBegQfJ6EMO+J5A3Ey6y85jlOaGvM+JSVoNV/gf5Zt8hg45N1MaTJ6nNPBxOBEKcVVBn65CkBXdwS/2luWt8woGwO8c7hrK/lWhc+epY2GjZVk5JlIZTvQ7mzicfq2KfkvcQPuLPwTn44r0uSbxdxWzwM6LW+qxewkhYem/XLGeSxrTC4zJ8h/PK8Q== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from MN2PR12MB4206.namprd12.prod.outlook.com (2603:10b6:208:1d5::18) by MW2PR12MB2588.namprd12.prod.outlook.com (2603:10b6:907:a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Tue, 12 Apr 2022 20:52:44 +0000 Received: from MN2PR12MB4206.namprd12.prod.outlook.com ([fe80::211e:d78f:c944:6665]) by MN2PR12MB4206.namprd12.prod.outlook.com ([fe80::211e:d78f:c944:6665%7]) with mapi id 15.20.5144.030; Tue, 12 Apr 2022 20:52:44 +0000 Message-ID: <60b41d41-0f74-2123-b51a-d77f66084dba@nvidia.com> Date: Wed, 13 Apr 2022 02:22:30 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 Subject: Re: [PATCH 34/34] vfio/mdev: Remove mdev drvdata Content-Language: en-US To: Christoph Hellwig , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Zhenyu Wang , Zhi Wang Cc: Jason Gunthorpe , intel-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20220411141403.86980-1-hch@lst.de> <20220411141403.86980-35-hch@lst.de> X-Nvconfidentiality: public From: Kirti Wankhede In-Reply-To: <20220411141403.86980-35-hch@lst.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MA1PR0101CA0058.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:20::20) To MN2PR12MB4206.namprd12.prod.outlook.com (2603:10b6:208:1d5::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a302730f-799e-4048-8536-08da1cc664a3 X-MS-TrafficTypeDiagnostic: MW2PR12MB2588:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kzHGh8EkHxOfpxtflEeyZB3R3q82z8MQvpkYmcHR1EAdyYZeWOa3qCMy3adiOfiwGm1w54iEgM20TxEKDRLgUpWtjMMuqGcMXTRougyLEWdgDUzlENazxcjaiCaMgVpxAnQaKJBam3AHqwJn5ifd02UPneLLhFwGlhuG7F0mW4iHkorSwJ5aE0xM+/smFb/ZyiYJZTAdLUKKOy1OG6xQv25bJ6k471M3ESTBe1/ejSeMYDcncbxJL2SlJLPB60SZCKsqUdjddxrEzTzhbqg18g8pwSAMWFCKEWu0104bVuo8BDB+HwkLCd7b75bXdCGbEUZp76niql5xoh9YDZOfN/eJFsfTylGOOpHW7ch2LilBQ7Nxhn4LLvmH5hjd+3nWr96+4rf3vwpWpztW7Giu2eQ4TVUgRwbn4wYkJQ/+h9ap1UkXJDgVB22n+fg1AOiNOalPyWp/6KFpGx1HA8Li+1pDihrRAniz27aJ/ojj27uXhf/SU9twDfmqdAAmFVHY+ICfRgNb1X4ZPH9+znTTTUmaM8mhlz2L8yJYZrPe2HsTpcnFLoxH4tXPBYN+RoctnE3YDc4tsu+HTto4fnTQIruQoeP/YTAD4h47CT4OXZAsmloxSjxVU0JiUWhzb9HLaiTpYeNPrGNmNGnluuxgOJ0BxgyEO8ASjUb75VIyCiKfZEWVfyZ9efTsJUh6da60UdXkNXdVmMtCe8ZSiW1Fo4zZitsUv0OyiPVxuNd7d2w= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR12MB4206.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(508600001)(316002)(110136005)(6486002)(4744005)(6512007)(5660300002)(6506007)(26005)(7416002)(83380400001)(86362001)(55236004)(31696002)(8936002)(2906002)(38100700002)(53546011)(6666004)(186003)(66556008)(66476007)(2616005)(36756003)(66946007)(4326008)(8676002)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?S2htSmZHME04aGVvRFVFNnNaSG85UVptd1MwUEdUeStmdnc1ZmlhaE0wSEM4?= =?utf-8?B?VkVmVTR0U2tpVGxRbmo4enhENlErVlBOYzRZQ2hySjVxK1VZNUxjN2RQbmtx?= =?utf-8?B?bHlndzBZTVB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1UWdCWGxKNDhsVnFYVDVs?= =?utf-8?B?MXZjVWk5SXR6bEtHakRDcUFjUjFsaTQwV3ppMW9HL01jSTlEb0lZZ0dzWTcz?= =?utf-8?B?Y0lmNkRsVGFGeTZZbGRmVU0yM01IQzV3NnFuRi9vOGtuZVRCeXlpdzlqTFJx?= =?utf-8?B?dFVqTDVER1hyU2xWRFYvWXZ4Q01WQmJWSS9raWhsc2JzYVpxNHQ3ZUZRbjNs?= =?utf-8?B?T3ZSeTFKcVQzM2o4dG1wS3BvblpGb29SL21XNHExMmtlWXZENVZSOWNFNmND?= =?utf-8?B?Y3NWVE9SQ1pxYnN4Ujh5eTVaUnRyWnZNWUIzcjVrTUhPUUl1Yml2L1BRZVdq?= =?utf-8?B?amVoeEVHNHRxbDJ5SDc0NGxsMEwzdW5LQU5iaVptWENhdzNKM2g5a01PN29z?= =?utf-8?B?aEs3Wng1SHQvVUhGeXVBRGVBYmViWXpmUmlVUmlxazZXSWpEZjZnQT09?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: a302730f-799e-4048-8536-08da1cc664a3 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4206.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2022 20:52:44.8071 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ocgS4ZNdGueNpgulFxGlB9jXIiV+i2tFxT8j+2V5iJm6i+fXRPWu05B2El/zbkX3/Goa4qOgqblAbR6FTiYOzw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR12MB2588 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE 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 On 4/11/2022 7:44 PM, Christoph Hellwig wrote: > From: Jason Gunthorpe > > This is no longer used, remove it. > > All usages were moved over to either use container_of() from a vfio_device > or to use dev_drvdata() directly on the mdev. > > Signed-off-by: Jason Gunthorpe > Signed-off-by: Christoph Hellwig > --- > include/linux/mdev.h | 9 --------- > 1 file changed, 9 deletions(-) > Reviewed-by: Kirti Wankhede