From patchwork Thu Jan 7 17:50:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Das, Nirmoy" X-Patchwork-Id: 12004601 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3CD6C433DB for ; Thu, 7 Jan 2021 17:51:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 98AF323403 for ; Thu, 7 Jan 2021 17:51:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727753AbhAGRvj (ORCPT ); Thu, 7 Jan 2021 12:51:39 -0500 Received: from mail-dm6nam10on2080.outbound.protection.outlook.com ([40.107.93.80]:54976 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726780AbhAGRvi (ORCPT ); Thu, 7 Jan 2021 12:51:38 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lOzi0BF94itj6Ey+x2poxw/Nm8Q94jbfkk1VgguvMZH3DpyaXafmFz5SKddCYGzQQWBut6JsmL/hGqMoS7UWdorsWZSlvmSn83CvvbD6GIEXm3j+iqX1KiVWhGmMrf8PJQ2azw3vEDmPftry1HZRoGqqXDNg8yeDZb5DIyamfASzcNf/NHrXfp5dELD3SpxblksnuwLEyZTPAfcUb6nqtG+KF3mAxG6eTfhKpl6PZ3Hz0648k8T7Q7/4Z2630Uixcy+nxN7h4PkeHw6C7ugHffiioPk9kZ4aWeiI57X9GjVImHpantUQ/WYicYCIyOPyRsyQ2qr0uVcszcgLpOOP/A== 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-SenderADCheck; bh=LWxLjz4LseBfUY3MCQckcJBAJIwDZcJnJWBT+aGHAA8=; b=cpF3T/Ydmolm5yUKsNr7u5ZREkBqY7tGFm7klLqZT2kursSNUvm4b1+XE/+vkpowj8eQQU/xPCN7Nx0rsWQSX7Gl1ve7q9Kcxo9hVZk6GNPy1lIQQWGzQo7KikJnFViit8bZIi2IwgKgGpe9ZXFMKJGeIh1CxlAEkMvxa0QICkH08Y3BbK536VYoW+4NQDJ+8kbiZyyRMzewMux04M4JCs+YZTtvvmGR8E4Xjf2sSdxSKcZgwFFLoNG3yXUXKj8nQ8zgGrNUPuHyP8sVtaZX+gKWHfJntI/UQKaWF+ZMmWB2AnH3lNzUNDndKOHGFSxUD2DVr8St0X1cdvCtTwjXrw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LWxLjz4LseBfUY3MCQckcJBAJIwDZcJnJWBT+aGHAA8=; b=cHIUCyY3s2b/Hqn8jaw5mhuvlQ3NtABKa3Eu2NhkI3KfODjyHk/GgTqwalEXoHF1ae0rF6udSwjVMvF3xhPvPUX4KKosNEeTEZyxks2spcgvi7yMJklRLG1YOZ9D2AI4zriIkc671SHYIOnZA3YbVc7ggFgiUjKuGPlmbz2bF30= Authentication-Results: google.com; dkim=none (message not signed) header.d=none;google.com; dmarc=none action=none header.from=amd.com; Received: from DM6PR12MB3916.namprd12.prod.outlook.com (2603:10b6:5:1ca::21) by DM6PR12MB3066.namprd12.prod.outlook.com (2603:10b6:5:11a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Thu, 7 Jan 2021 17:50:46 +0000 Received: from DM6PR12MB3916.namprd12.prod.outlook.com ([fe80::f872:3677:28c3:660b]) by DM6PR12MB3916.namprd12.prod.outlook.com ([fe80::f872:3677:28c3:660b%5]) with mapi id 15.20.3721.024; Thu, 7 Jan 2021 17:50:46 +0000 From: Nirmoy Das To: bhelgaas@google.com Cc: ckoenig.leichtzumerken@gmail.com, linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org, devspam@moreofthesa.me.uk, Nirmoy Das Subject: [PATCH 0/4] A PCI quirk for resizable BAR 0 on Navi10 Date: Thu, 7 Jan 2021 18:50:13 +0100 Message-Id: <20210107175017.15893-1-nirmoy.das@amd.com> X-Mailer: git-send-email 2.29.2 X-Originating-IP: [217.86.111.165] X-ClientProxiedBy: AM0PR03CA0093.eurprd03.prod.outlook.com (2603:10a6:208:69::34) To DM6PR12MB3916.namprd12.prod.outlook.com (2603:10b6:5:1ca::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from brihaspati.fritz.box (217.86.111.165) by AM0PR03CA0093.eurprd03.prod.outlook.com (2603:10a6:208:69::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6 via Frontend Transport; Thu, 7 Jan 2021 17:50:44 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6b55d7d7-9e20-4c6b-6070-08d8b334c2fb X-MS-TrafficTypeDiagnostic: DM6PR12MB3066: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PwhmuoR+vRidJI814P89aSnzZIRcxVrYdNOuvMptBy8HP7oZE/+WFcloyEAOcvEfPsb+H0M7ZRbWv00a8NaG8q1npQNw+Kuno4ycLfUOcA+9zN13wxqvO8COzRmoWVGpDO/dvxIPUrbmngPbaMtvgFKa2E9BVuM/vnl8JduKBF5l2NwdXemZZ2Uu8oXhFhw2zqj0I3yX0Rxf/VJrcshc98DBc8hrW/5YETg5TD1gra6vOb+YNzDIQpKKKE6WsWd/jTaICo0Mp5AHSXclKmsEZ0U3U9KqZoKjTchQkf/3zYVPWudpIIQhBfSb56ryoCY58WH4ektPSFHT/QZiTa/Y45XCJmq9baziKYUsKlL1JA1hMsx6BYF+d976ipxAFx+Za7T4RYTToSSgJuS8uEBgTkxa8x+WICb6/7PuMxR9tlAOZR6vyFW3xGP+lyzXHlbjV9GEgUBG/nZH/wX+YXBbxg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR12MB3916.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(346002)(376002)(136003)(39860400002)(396003)(966005)(4326008)(6916009)(316002)(1076003)(478600001)(6486002)(36756003)(26005)(66476007)(66556008)(5660300002)(8936002)(66946007)(2616005)(4744005)(16526019)(44832011)(2906002)(52116002)(6506007)(8676002)(86362001)(6666004)(956004)(6512007)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?q?vKS8CJg+JJdzpydP85o420tj0pdb/Q?= =?utf-8?q?JF2EjgxKdvDbnb/bd8ZbkSOHAXm+PxJby0I29Q3V6wIXhKSqVW0g0vdooaoRqBf8N?= =?utf-8?q?GfhDHvEBcSxUhcutdOIq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ginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3916.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jan 2021 17:50:46.2731 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-Network-Message-Id: 6b55d7d7-9e20-4c6b-6070-08d8b334c2fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: cxMM5twa+XggW0MAkM1R4VC+JODTmBJffczbEwj76bJ8+2Qj+05Cft8ktLnpJINKveCQAQLo0R9Q/qDvM1+vrg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3066 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Hi Bjorn, I cleaned up the patch series[1] that Christian sent earlier to fix wrongly exported resizable bar capability dword by VBIOS of RX 5600 XT Pulse card. I didn't split #2 patch instead merged amdgpu changes of #2 patch to #3 patch and removed changes related to pci_rebar_size_to_bytes() as it isn't needed anymore. Apart from that I clean up rest of the patches as you suggested. Please let me know if I missed something. Regards, Nirmoy [1] https://www.spinics.net/lists/linux-pci/msg103422.html --- 2.29.2