Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1655384rwe; Fri, 2 Sep 2022 01:10:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR6f8BVdqSgzXhunujSRQuMApQYiAsvwRb6YSHQgM6Ao2DIMgI4JoB9UOuxnbahVq2D2lXPW X-Received: by 2002:a62:1ac1:0:b0:535:87d:d63f with SMTP id a184-20020a621ac1000000b00535087dd63fmr35508965pfa.74.1662106214039; Fri, 02 Sep 2022 01:10:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662106214; cv=pass; d=google.com; s=arc-20160816; b=WPeAmINbs6aGI7y0qkCZ8SAVFpW68RrTiEXgFngcKWWfxCgmYhsIPSIxschvxpcLMG ffDwsrLmZb8/mg1o/yW1qUQyWZemY9Vommn4Nz448q01EqKiRk5RhKju08hQe7Fpywh8 z5Jm1V/829cuM3vOXt0VVGk22YnwPRcJYjJ0CAOkqqqMZLen0+4QlGQHpgmZvChxuBAH XV99gXlDvgKkYR5TrDax+15ToghrM0f+nRhdferMDkSc9Siw1jZQ0wjjCa13g36LXwPK 92lUXg+UetRdlBx8BxvCvyCiTYIjGvBVWvGO1oLT38849TOO7y/gwzFgfFdVltMVp0iL wF/A== 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=vAc6NoHIe4TRTh85s+UNR60FCk1XGkxBElH4xgyDXOA=; b=XDH6Q7SdrGU/yTcsk/Bj0daVxQmFW/2PeS9fvAW0BrzFJBrBf+AleR5JobJhoIeZYz +gCYPJWKJM9wyJUQ8qnfnxsDAdR2I1WzrYX4a5AsvrnIBS9Biv74CwsP4ynWZjHBGibf df5prNQ2RC5IsDupu7/WCgAtETbY75AvRC2n3HrDRl9V/oRd2HM/sKreBfDCS8IIH02H v+AJxrFPpvSBL+GlOzWcjFcZJ1c+tOtgWLfpSW4E3Glwu87kW+FwPjMnQFv2XRx2iP6S 1f1Nydxrd+NqpFhquGaKc6IDX82sMg0KWmFeB6PYb8t3T1DQBAv6i/y7abjTASNHo04o B/DA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=n3d8nLAm; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i16-20020a17090332d000b00174db5180adsi1552128plr.192.2022.09.02.01.10.01; Fri, 02 Sep 2022 01:10:14 -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=@Nvidia.com header.s=selector2 header.b=n3d8nLAm; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235608AbiIBIAt (ORCPT + 99 others); Fri, 2 Sep 2022 04:00:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234651AbiIBIAr (ORCPT ); Fri, 2 Sep 2022 04:00:47 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2086.outbound.protection.outlook.com [40.107.220.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C879E2B630; Fri, 2 Sep 2022 01:00:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D7EJrOJ/2rN6OAUjMxKryp2HLFQNvgvwhsOXRE7igjKBbMkO9KMgbytbhRzIsDF6EvM9GB6KMs29q54W5ToXDvv8oHQXhvHjzgUnHZAPV5XsDVPjsV7OCvf6BXHPtSkjLMTn+Y8UITROqG6X4Gg8tXF3yDOIl/OiGL5AxBmuQOjZvE0hIIA4fM+dMpCJex6hBhkA59rImGs1gr4Nsy7yrHV8cNh3/RroTJiloidPolIsI4RSi0WUXUlqnnZLbhKLg5f+0Uk8yHTXaSZBZtAkbGVj7yWux3xI7dEHoHUvla0K1I+ajbYitAsLeS1vaLZ+P/6WxoCGCBFU1/7ZixBoqg== 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=vAc6NoHIe4TRTh85s+UNR60FCk1XGkxBElH4xgyDXOA=; b=ADfvoJ8T9/Fi3wWAypBSl5lFa+QQo15vdMGL6npCvk0QsYvd5lpAWckK4MHoqaO/j/bmqNSwnDn6cFGw2BfucZX3C2b0pYygUjk6vWcGuL30Q//bh4+W5qMzBepXSMNYRiICOCQ8eC/WBUb21/H/KTfYZg93RjieG8uQZC2uB7zDk+KJr2nk5k1bW2WFI4mTGzm89Un0DqYQkXzE6rw037LCFU3Jvn1jOeLGEgSRn64xozexC9jla1OUTH7VcHaR6MpkRJpbEwXPiPTYvysupAZGaBgXBAVPIlqmvQ76Huv2RizjJJ2RiZwRtiuvuOTrI+l5M86hUMJKXae2NwYy5A== 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=vAc6NoHIe4TRTh85s+UNR60FCk1XGkxBElH4xgyDXOA=; b=n3d8nLAm08aH8U8wSsfKXeeHyChAvVEcAZWs+ObsJfY2qabgApp4n03fZBz74TBvTD+5y/04b+3XzrQ3qfudJcgzuuJpbUGLt2Ngo1/l+EB4y1SoucSwA1/Fo7RRyyIDxHDvJmrUi+y8Ye/yWUgALD/zMQm+dVHXWqfxm6Zmby8U62oRaPSi710qGK4WcffjxUM61W+FURVTWrwKRcTaWWRle1bbZ7lgM+wKBBOyx6uWF1/GkwjbCT/88xzFlTwvf9aHUoMqFNHd156XrwEaUHfaq3MCwC/0Wmq39Hla/4BYXfF2camGrWitpXIXofhUhJkCbxGa5Y9VY2FK+80+pw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BL1PR12MB5304.namprd12.prod.outlook.com (2603:10b6:208:314::13) by CH2PR12MB4875.namprd12.prod.outlook.com (2603:10b6:610:35::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Fri, 2 Sep 2022 08:00:45 +0000 Received: from BL1PR12MB5304.namprd12.prod.outlook.com ([fe80::753c:8885:3057:b0a1]) by BL1PR12MB5304.namprd12.prod.outlook.com ([fe80::753c:8885:3057:b0a1%3]) with mapi id 15.20.5588.012; Fri, 2 Sep 2022 08:00:44 +0000 Message-ID: <43807bc4-5206-2c1d-99c6-3fc566655748@nvidia.com> Date: Fri, 2 Sep 2022 13:30:32 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v7 0/5] vfio/pci: power management changes Content-Language: en-US To: Alex Williamson , Cornelia Huck , Yishai Hadas , Jason Gunthorpe , Shameer Kolothum , Kevin Tian , "Rafael J . Wysocki" Cc: Max Gurtovoy , Bjorn Helgaas , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-pm@vger.kernel.org, linux-pci@vger.kernel.org References: <20220829114850.4341-1-abhsahu@nvidia.com> From: Abhishek Sahu X-Nvconfidentiality: public In-Reply-To: <20220829114850.4341-1-abhsahu@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MA0PR01CA0067.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:ad::13) To BL1PR12MB5304.namprd12.prod.outlook.com (2603:10b6:208:314::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9121202e-5f59-4f08-2943-08da8cb93ce5 X-MS-TrafficTypeDiagnostic: CH2PR12MB4875:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Df/XDKM6MpLV7nDdlEqUAgQveFEsALhewBHM0A/z9Jsh5q/FABe3lVOpc5gKon85KS2yiwyVfRxCxERD5qnmA1xoIa1Nm2SYvvFp5L0ADnbuTG1fj007EZlhk3lfJ2XyPU6ygLh2y/X7wBNJWxnKtuv032w/zhq7PUPqktIQLJVNf3tWDCntjYu5X9NaaM/Plv1GSvPiwOWYFHA7GqABXoXN/+BSQANvxEwNWoLCsxc1XMijNuinvYPXQj+TaOvDRhaM+ZQ/+RdvfOR3bFF9tO/vOemgCZ1RlhPkaZjNSrIRdFa9dFJ22JJd8lHuwDD9YZ0i5EWxs1dgCXqlQWK0n6JVbwykJch3U9us4KwMLs+rW0Po9EXcytKkcCYt8+ESaxXwRRuCePQYA8RnM3UTUMt3PSYoCQ9CtAHF0rrXZuOCkKqS3V8a5SANVxqcBQuBh9p4WUaVwSWdwMUzThnkyMlJWGCus0meyg4zBrIaiWRbU5p5jaOKpmho85O33g3Ra9oZ43El8wXgtnbrIFLDrN79ZLQt52TyXRd89jAijEmKLaFcnnaaqkW3tj+UodXBoyYzge634VymgPo8ZKFYx4l8DCvDtuVDZo1FhOo1vyMuqFIDvZAVzzQ0iQBSxLrBE97pPIWbqnjxC7MraKeXyQl4tljFDOJkiE0OwKc4crGIjdxdPSMgEExf6qTlM7/+vjvKVorGPoBYDqxMBVbxkKNaZHrz/fPIFVZlKnX9LhDqpouD/0C/8hxgUl//YJfrLBeX0AGlil4atqpdLUboKTB8UcztNmWLzlFey8MTapJWi4fkw1uXGYp2vXcjhlcz4/Yu+cUVmPxSBgDY/GWq616ipaJl6bnUd85Axy7OwlnB4CGRIDGHel2GhoGt/S4JPP4rTJ1HJ80f1CeTCqk6FfJAFVKcLp8V4fowMkFIg/U= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR12MB5304.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(396003)(376002)(366004)(39860400002)(136003)(346002)(83380400001)(31696002)(38100700002)(66946007)(66556008)(66476007)(8676002)(4326008)(110136005)(54906003)(316002)(2906002)(4744005)(7416002)(8936002)(5660300002)(55236004)(6506007)(6512007)(26005)(186003)(2616005)(966005)(41300700001)(478600001)(6486002)(86362001)(6666004)(36756003)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?THR3Qldwa09yT1hLSUhoMzM4SFdJdVVDUVU2UmNDR3YrSTRmZFlwK2lJTFlw?= =?utf-8?B?cDFnNEo5YkhYQ21aNW9GVUxRR1pYQUpPL0ZRa1diSXRhRkd5dkdIQVh2RjJG?= =?utf-8?B?V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QVW93enZ6RWJQR0pXcFpxdTRYL3k4dDBXQ2pT?= =?utf-8?B?QVlhUHJwYnBlR052SXVZV3d6djYwVTBYbnZXL1JHa2c0TGxVbWZEM2o0bHhP?= =?utf-8?B?L3orMlk4M0V3OTdCSW84eENWNS9jNFZveTFnTS9INHlEZ0RtUjN3a1ZYUm9o?= =?utf-8?B?MlBacGt4MGp1SDlzbFp5c3hyTVdGNmtWaXh0UGtFc2pubkRtYkdHdlAyYllC?= =?utf-8?Q?i0p3gWqcsA1dzawk3PvaFcvrW?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9121202e-5f59-4f08-2943-08da8cb93ce5 X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5304.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Sep 2022 08:00:44.8115 (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: hQjFCA2pDQ6x+pzdcbwpdodUZm2RNA94ICqWGgveXYpLK21uX4/o/5WkkEJkhc6bpUt3jxayOH4El+lzweH+pA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4875 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_NONE,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: X-Mailing-List: linux-kernel@vger.kernel.org > * Changes in v7 > > - Rebased patches over the following patch series > https://lore.kernel.org/all/0-v2-1bd95d72f298+e0e-vfio_pci_priv_jgg@nvidia.com > https://lore.kernel.org/all/0-v1-11d8272dc65a+4bd-vfio_ioctl_split_jgg@nvidia.com > This patch series is getting applied cleanly on top of Jason updated patch series as well. https://lore.kernel.org/all/0-v2-0f9e632d54fb+d6-vfio_ioctl_split_jgg@nvidia.com/ Thanks, Abhishek > - Since is_intx() is now static function, so open coded the same > (s/is_intx()/vdev->irq_type == VFIO_PCI_INTX_IRQ_INDEX) and > updated the commit message for the same. > - Replaced 'void __user *arg' with > 'struct vfio_device_low_power_entry_with_wakeup __user *arg' > - Added new device features in sorted order in > vfio_pci_core_ioctl_feature().