From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 CE262C433E6 for ; Tue, 5 Jan 2021 13:44:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A688122B30 for ; Tue, 5 Jan 2021 13:44:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730336AbhAENov (ORCPT ); Tue, 5 Jan 2021 08:44:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730161AbhAENou (ORCPT ); Tue, 5 Jan 2021 08:44:50 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAC3DC061574 for ; Tue, 5 Jan 2021 05:44:09 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id c5so36214080wrp.6 for ; Tue, 05 Jan 2021 05:44:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mUhdkztHJYfj4ts/wyIOknJ7qzjcn2uJGVM5qK+3CQU=; b=iPVTSsBwwjGyoqIbexKl5FsgUy7kU3RFisePUjWeuWQ5FG3P8Vz+NsVvcmYTJXjHU/ RQcVKc9txFoAp7pnMkg5//gYZpls2+JnOraibK6aVfaN4wC/AlK4IkdvbcvM+jjlORLu ycizsWQ40v6b7fBeaQD19xfRZEMWwJb0Enwl3gTVxiwPk3sgL0vGL2Z42nx3pbse5bSd rAEVItjgh/1pM6gsI3Ne5RaZyzhejiXHbp6wtBY2bwJ4QFGm3x+1kERe9i30GKtHI65I 8NJvVpfLJXuqL4PDnGrs8TUt/c9IHQ7JvJ7l3bT/gw3hCwB7J3cbralNclOoj6NvxRRB jKXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mUhdkztHJYfj4ts/wyIOknJ7qzjcn2uJGVM5qK+3CQU=; b=WTewIxITqT2ECuFGOQPjQrqAb6QNSRPp9jwiwfBYrumunhdUD9vBN1RJGW7KxLaABA eNwcVugu6nauXC1egP1cOdUEd+kRHsaC1gKFaAOLtPF13SEY8b9ZaKywXm4vabsrCJEY BzRu5qjArgzpR2cmLTfhnOVa4LV/tRewNz3DIPnw5dLt/9JLkAwhJr0LCCW2s3IGAtzp nOswJvEEN5d932tISQnPiKsxhIKmyG+v7uoaeijf4xNOQE6VWE2vcLuAYzIjCxPqQv3w QfFf3yQ/do5Bqny93qxdvBmEUYi2uWr31ecBWEX0yXatlm71HuIuidcH4GcpVglFPjDZ 02Bg== X-Gm-Message-State: AOAM530DUvomWjP+0A3Aa6bVrCvJt2DIlguSOnTMqKbeF3daWpdFk7Q9 xI8PdoPOVJcVBZiPCgUi3qEwimFpD4k= X-Google-Smtp-Source: ABdhPJy6xlAThV+5qXmAyY1HeEGVnLN3jEG+J3dPe2Hvce+eVmaFPsjIPhEtJb/Kb423IPcqjcCROg== X-Received: by 2002:a05:6000:222:: with SMTP id l2mr73339059wrz.392.1609854248788; Tue, 05 Jan 2021 05:44:08 -0800 (PST) Received: from abel.fritz.box ([2a02:908:1252:fb60:3137:60b9:8d8f:7f55]) by smtp.gmail.com with ESMTPSA id l20sm102191243wrh.82.2021.01.05.05.44.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 05:44:08 -0800 (PST) From: "=?UTF-8?q?Christian=20K=C3=B6nig?=" X-Google-Original-From: =?UTF-8?q?Christian=20K=C3=B6nig?= To: bhelgaas@google.com Cc: devspam@moreofthesa.me.uk, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-pci@vger.kernel.org Subject: A PCI quirk for resizeable BAR 0 on Navi10 Date: Tue, 5 Jan 2021 14:44:00 +0100 Message-Id: <20210105134404.1545-1-christian.koenig@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Hi Bjorn, Darren stumbled over an AMD GPU with nonsense in it's resizeable BAR capability dword. This is most likely fixable with a VBIOS update, but we already sold quite a bunch of those boards with the problem. The driver still loads without this, but the performance isn't the best. Do you have any objection to merge this through the drm branch? Thanks in advance, Christian. From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 4C11EC433E0 for ; Tue, 5 Jan 2021 13:44:12 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0778B229C4 for ; Tue, 5 Jan 2021 13:44:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0778B229C4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 27FFB6E10A; Tue, 5 Jan 2021 13:44:11 +0000 (UTC) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0FF056E106; Tue, 5 Jan 2021 13:44:10 +0000 (UTC) Received: by mail-wr1-x430.google.com with SMTP id i9so36232294wrc.4; Tue, 05 Jan 2021 05:44:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mUhdkztHJYfj4ts/wyIOknJ7qzjcn2uJGVM5qK+3CQU=; b=iPVTSsBwwjGyoqIbexKl5FsgUy7kU3RFisePUjWeuWQ5FG3P8Vz+NsVvcmYTJXjHU/ RQcVKc9txFoAp7pnMkg5//gYZpls2+JnOraibK6aVfaN4wC/AlK4IkdvbcvM+jjlORLu ycizsWQ40v6b7fBeaQD19xfRZEMWwJb0Enwl3gTVxiwPk3sgL0vGL2Z42nx3pbse5bSd rAEVItjgh/1pM6gsI3Ne5RaZyzhejiXHbp6wtBY2bwJ4QFGm3x+1kERe9i30GKtHI65I 8NJvVpfLJXuqL4PDnGrs8TUt/c9IHQ7JvJ7l3bT/gw3hCwB7J3cbralNclOoj6NvxRRB jKXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mUhdkztHJYfj4ts/wyIOknJ7qzjcn2uJGVM5qK+3CQU=; b=BSQd+O1hbZemmi3LvDDgb2lMv/3zJw+4AtbsOY92TWZ30oh/Zfs9r2BJRCveIQFtCP yz/QlmNtXzMGYRC1nTn9xNOu40kmIfXt3wo+IvdrC/4gl1saEfXaH/pocEmWmvJifrrh 4o2t9Mfk3CH0UO5wiJAAZA8llCtRckRLyH4I+uY8gpEwpfy8UuKRIaj9fUJ2e/5oIV0x 1blrsezpMZ7rGbFCFp9W8VnZ5mB2dAADyy7jyK77CO/cz0BYVqjLMTx20dmm+QYDdxhT 9UAOeC1wqbyw+y3RpEREiRje0UpVlWEP9FxMIekp35LyoB5UwYWDTX+eVNZbbVhYyzj8 a7sQ== X-Gm-Message-State: AOAM530IOrEtVBdZTVpxNm90d0urycB0HxzCFz+GjvtlZbkMROIVA2Pv leAoitNzaU4KlvSEoDzPfnA= X-Google-Smtp-Source: ABdhPJy6xlAThV+5qXmAyY1HeEGVnLN3jEG+J3dPe2Hvce+eVmaFPsjIPhEtJb/Kb423IPcqjcCROg== X-Received: by 2002:a05:6000:222:: with SMTP id l2mr73339059wrz.392.1609854248788; Tue, 05 Jan 2021 05:44:08 -0800 (PST) Received: from abel.fritz.box ([2a02:908:1252:fb60:3137:60b9:8d8f:7f55]) by smtp.gmail.com with ESMTPSA id l20sm102191243wrh.82.2021.01.05.05.44.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 05:44:08 -0800 (PST) From: "=?UTF-8?q?Christian=20K=C3=B6nig?=" X-Google-Original-From: =?UTF-8?q?Christian=20K=C3=B6nig?= To: bhelgaas@google.com Subject: A PCI quirk for resizeable BAR 0 on Navi10 Date: Tue, 5 Jan 2021 14:44:00 +0100 Message-Id: <20210105134404.1545-1-christian.koenig@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devspam@moreofthesa.me.uk, linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Bjorn, Darren stumbled over an AMD GPU with nonsense in it's resizeable BAR capability dword. This is most likely fixable with a VBIOS update, but we already sold quite a bunch of those boards with the problem. The driver still loads without this, but the performance isn't the best. Do you have any objection to merge this through the drm branch? Thanks in advance, Christian. _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 7864CC433DB for ; Tue, 5 Jan 2021 13:44:11 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 34D6E229C4 for ; Tue, 5 Jan 2021 13:44:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 34D6E229C4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=amd-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B6DC86E106; Tue, 5 Jan 2021 13:44:10 +0000 (UTC) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0FF056E106; Tue, 5 Jan 2021 13:44:10 +0000 (UTC) Received: by mail-wr1-x430.google.com with SMTP id i9so36232294wrc.4; Tue, 05 Jan 2021 05:44:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mUhdkztHJYfj4ts/wyIOknJ7qzjcn2uJGVM5qK+3CQU=; b=iPVTSsBwwjGyoqIbexKl5FsgUy7kU3RFisePUjWeuWQ5FG3P8Vz+NsVvcmYTJXjHU/ RQcVKc9txFoAp7pnMkg5//gYZpls2+JnOraibK6aVfaN4wC/AlK4IkdvbcvM+jjlORLu ycizsWQ40v6b7fBeaQD19xfRZEMWwJb0Enwl3gTVxiwPk3sgL0vGL2Z42nx3pbse5bSd rAEVItjgh/1pM6gsI3Ne5RaZyzhejiXHbp6wtBY2bwJ4QFGm3x+1kERe9i30GKtHI65I 8NJvVpfLJXuqL4PDnGrs8TUt/c9IHQ7JvJ7l3bT/gw3hCwB7J3cbralNclOoj6NvxRRB jKXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mUhdkztHJYfj4ts/wyIOknJ7qzjcn2uJGVM5qK+3CQU=; b=BSQd+O1hbZemmi3LvDDgb2lMv/3zJw+4AtbsOY92TWZ30oh/Zfs9r2BJRCveIQFtCP yz/QlmNtXzMGYRC1nTn9xNOu40kmIfXt3wo+IvdrC/4gl1saEfXaH/pocEmWmvJifrrh 4o2t9Mfk3CH0UO5wiJAAZA8llCtRckRLyH4I+uY8gpEwpfy8UuKRIaj9fUJ2e/5oIV0x 1blrsezpMZ7rGbFCFp9W8VnZ5mB2dAADyy7jyK77CO/cz0BYVqjLMTx20dmm+QYDdxhT 9UAOeC1wqbyw+y3RpEREiRje0UpVlWEP9FxMIekp35LyoB5UwYWDTX+eVNZbbVhYyzj8 a7sQ== X-Gm-Message-State: AOAM530IOrEtVBdZTVpxNm90d0urycB0HxzCFz+GjvtlZbkMROIVA2Pv leAoitNzaU4KlvSEoDzPfnA= X-Google-Smtp-Source: ABdhPJy6xlAThV+5qXmAyY1HeEGVnLN3jEG+J3dPe2Hvce+eVmaFPsjIPhEtJb/Kb423IPcqjcCROg== X-Received: by 2002:a05:6000:222:: with SMTP id l2mr73339059wrz.392.1609854248788; Tue, 05 Jan 2021 05:44:08 -0800 (PST) Received: from abel.fritz.box ([2a02:908:1252:fb60:3137:60b9:8d8f:7f55]) by smtp.gmail.com with ESMTPSA id l20sm102191243wrh.82.2021.01.05.05.44.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 05:44:08 -0800 (PST) From: "=?UTF-8?q?Christian=20K=C3=B6nig?=" X-Google-Original-From: =?UTF-8?q?Christian=20K=C3=B6nig?= To: bhelgaas@google.com Subject: A PCI quirk for resizeable BAR 0 on Navi10 Date: Tue, 5 Jan 2021 14:44:00 +0100 Message-Id: <20210105134404.1545-1-christian.koenig@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devspam@moreofthesa.me.uk, linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" Hi Bjorn, Darren stumbled over an AMD GPU with nonsense in it's resizeable BAR capability dword. This is most likely fixable with a VBIOS update, but we already sold quite a bunch of those boards with the problem. The driver still loads without this, but the performance isn't the best. Do you have any objection to merge this through the drm branch? Thanks in advance, Christian. _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx