Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp807658rwl; Sun, 25 Dec 2022 07:33:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXtdijpfZGT09+wYeJyv2ZHVBqyym2WBQkEbsNnaRqHlMNlQr1hbiH1zWhiWpFBJEE3v9UqE X-Received: by 2002:a62:e303:0:b0:576:d946:604a with SMTP id g3-20020a62e303000000b00576d946604amr16123084pfh.27.1671982393342; Sun, 25 Dec 2022 07:33:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1671982393; cv=pass; d=google.com; s=arc-20160816; b=myazOlsydUw89y3sXS6WEbvjceFU5EWDGU7qjYaNHWKV+1FgA4xTLVzxaK3aSLcnrV d2sxPbFFCUUrtNJJhForha8C1LNJVoEMmDYVLbVNa+HcxOCINA3swE2wb37KSfFL/ERo 26zB1bG2mTh+wfwkGuC6MmB2pkuDHzbqt6+YrUXEpZ4JjIxjjsSwdoeya36J9wAbI+GI 2/feYOkDv3a3b9dxlGI1+fHT7/nRjmFR6gri7a/KhmYh4N2tZ9t4i8szs/zsmel2kJdC fG+/XHC8QYfU57wt3ZnODV7trfxVfrvyxr1XP1Ejo1WPXuuDTKwcFnc4zG6MGKNWCEAd XyCA== 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=5qrNLnYirvmkU75qCA7l7fDXZwJrPJns2D5zc8tQfTg=; b=w3rr7TJuhHSZyujRs7L21t8/7XPCHYeWaktaXU2neYryncOMdJtXG9hPv7SuKR+euK GfIhP4FXoL4yjR5qYlx8i4p2h8unUHH5QC6PyqB6Ab2gmiVekyRCV1jJK2qSIKnRjPut 09OTlXMC3se2Hq2pYJUFghMqUs/MLSGSe78Bi6t4SiuDo5DS95K5lSEMIFQK3jkY4lw6 zLmtgTOd2PBsKXTGWmuX9bDGgkFEftxT9uf9b6+c/4UOmk1C4CXc99Jj/dVV5r2iAIsJ uZzy+buTIUuljOqFvpgUcTYzXrL9SpLFya6Fa83m4zJeASAlwh1yTtOrTA955S6FBKWf R0Hw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Uaigjlym; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p26-20020a056a000a1a00b005768619bd8esi9802140pfh.177.2022.12.25.07.33.04; Sun, 25 Dec 2022 07:33:13 -0800 (PST) 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=@amd.com header.s=selector1 header.b=Uaigjlym; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229649AbiLYPbF (ORCPT + 66 others); Sun, 25 Dec 2022 10:31:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229631AbiLYPbC (ORCPT ); Sun, 25 Dec 2022 10:31:02 -0500 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2086.outbound.protection.outlook.com [40.107.244.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4A67D5A; Sun, 25 Dec 2022 07:31:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TFUW8Noth0C72YKzHAq7pq8a9GXAixRt9jZi/FQXJ5+C528fiH6azEJ+f8ImH6JaCl2xl0NRmFI/IRIU0n+HZnuXEVCXW8C6brszS3V9lahP/5XGguy+pJeIk7+ra1XHlSeYc60YCnGCsPsgz1SRbvrwsOwY2ohHlwk20/njJOgFsjfU5bXeN7qlI17TCEiW8uadv/l7BY9zEmCJ2uX0B/q3RBPENG6NElVftx7dFnUlmpZ9WECigVhRx9p7QG4h/h2poepS3pHfJpUfKX77T3YIEK8y1Mx2/k2jK9nQSp4yIY/KdmU9VXz5aXhL56J3JOw9mMZQGx8RjVf7anfC8w== 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=5qrNLnYirvmkU75qCA7l7fDXZwJrPJns2D5zc8tQfTg=; b=I4XuscPgN70F46sWw2puHbCxsFJPMQ4jTAovYvVJHcy9+pks5QXjRC9b+lNYQMVtlTUMYjwUxIUKDl9tnKwDrGK2UfBySJLiVlZ3fv4HIr3Zdoa5yk9FKO0Mit+rDbfYCIU2+jLnZCMIkminc5XWDkL7F/XsBrghPGMU0hP8bNx8QkmSKCShtahw2D7gzxWnjD+Gwxn3lUK5zJOm88sZpCT0uqBVnviveW+JtVDZ9JDIwjQIlT7hyLxy6urnoUNV2hYCBpn3MTwfuXAYErDPw3l9BMox+IrnHqsmAL9yYhaLiVdhaydb96j9fI/buAKsM6m+A9xcw7VDAMpqhXZKOQ== 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=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5qrNLnYirvmkU75qCA7l7fDXZwJrPJns2D5zc8tQfTg=; b=UaigjlymPkGXJP7AkBXICW8hTs6ScQUuMs5U118jkBuUM7V2gF8Sjhv90QMJqmjvg1YBXUEZclPbE4rZ6RF9SfIlWk6Q+Ic2KGUUb0vhyG8JSXjMGSSlpMhsanXdT9c0g4fXahPHlb42oH80+n+Uwdq6JpwP20H9++a8/rZ//ik= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BN8PR12MB3587.namprd12.prod.outlook.com (2603:10b6:408:43::13) by MW3PR12MB4426.namprd12.prod.outlook.com (2603:10b6:303:58::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.13; Sun, 25 Dec 2022 15:30:58 +0000 Received: from BN8PR12MB3587.namprd12.prod.outlook.com ([fe80::80d8:934f:caa7:67b0]) by BN8PR12MB3587.namprd12.prod.outlook.com ([fe80::80d8:934f:caa7:67b0%3]) with mapi id 15.20.5944.014; Sun, 25 Dec 2022 15:30:52 +0000 Message-ID: Date: Sun, 25 Dec 2022 16:30:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 0/2] Recover from failure to probe GPU Content-Language: en-US To: Thomas Zimmermann , Mario Limonciello , Javier Martinez Canillas , Alex Deucher , linux-efi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, Carlos Soriano Sanchez References: <20221222183012.1046-1-mario.limonciello@amd.com> <2761b1e1-508d-2c2c-f2d8-6f1be536723e@suse.de> From: =?UTF-8?Q?Christian_K=c3=b6nig?= In-Reply-To: <2761b1e1-508d-2c2c-f2d8-6f1be536723e@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: FR2P281CA0097.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:9c::12) To BN8PR12MB3587.namprd12.prod.outlook.com (2603:10b6:408:43::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8PR12MB3587:EE_|MW3PR12MB4426:EE_ X-MS-Office365-Filtering-Correlation-Id: 37f57048-e15d-4f06-322b-08dae68d017c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lL4lT5DCdolIYQBv5zKWZT5CcIGDOz06W5TF5N0I44+Co96Egt9Wax4eCD/rjG5XugPtvy1516lDnhWqEvglAnU+j/XRpiZ65v6KDNXARNNANHFutUq+TD9DCeyHDbloxkU0+C5StCyev6BZ9+GrDXQBJfc9GYyEfeKyqn3IBuItZdNswKeJE+bgiDoSzgQxWsg5ISbHbI1HgJ4IG3yFZVm5hLyc+KEVt2cD9RHkadRxA//QVhH/hbzXQRh0Jqn8lg7AOJ0OznSOcfVbUFcj5dTNm2kB3soRACA5jZB4YJOpFGsFMoA8w7yzCdQ8cQK/HXbHt6Uvj54+sSK6kHJ86edFGofDi3RxM55nmldULbym+V5M47fn03Rz3/rmCu9bVZsZPl0PrJ2Ov078TsA/OebfyxvED0UDTo89A5SBAo9CCzdotWffPc71Cqnj/6HjXY1OTpSpLzZX9bkiEWH/6hlotJiNOauz0xTp2aplkMndEbgCVhqNjPmCZmMzAJljZt3wQIgEuIr9/Ei/VCaBLKoMdCaYHmUxDPAW0JclMBRb8DnkPbU5/LytsOA8H+06ku4z8EmRovg8QRHXNE/FDL6NiY5wzHwoVzfgQzT2wf3d58Om/S0dXRU9/IOEfXu2ufNhQJxImv3GF6U+KAPVO3myc9T8Cs2xX+jCFwtkWjyf0wqUHIjSPyz5qK40YSPOGcIksMtHQ7X3h+hxnvLSIJV0N9VjbhG33z411+K1ath36/ve2BETxdC+0CbflxQ2 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN8PR12MB3587.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(39860400002)(396003)(366004)(451199015)(316002)(2906002)(110136005)(36756003)(6486002)(478600001)(6506007)(31696002)(86362001)(2616005)(6666004)(6512007)(186003)(38100700002)(8936002)(83380400001)(31686004)(41300700001)(5660300002)(66946007)(66556008)(66476007)(4326008)(8676002)(3714002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SHpYMFQyNGswVzA5UG9mUEM0YmVaUnBsOElTTFpFZjJIcVl2UjhZYkFQQTZw?= =?utf-8?B?a1FTM0NDVVRCOVo1Y29IR01HaGRBUjNSYnpqY2d5ckJXeWRrQ0JVd25GTGxz?= =?utf-8?B?Nmlzd3BFSzU4SCtHUnJ4ZEc0MndJRUgyanNVZm4xMWVOZUFKUERLY0E5Wjdx?= =?utf-8?B?dm1SeWlCTXUvT0ZHNHVrRUZTUExiY0ZyVk0wWHBYRU1QUEkxYjF1ZUlUVFZy?= =?utf-8?B?REpBNEtJVWVDOWFRZUM3UzA0dGkwWFdZVXdBWUNyQmNhQjhPV3JUTzNGTmF6?= =?utf-8?B?RmVTdVIyRFg3bHluNzNyekIwWldsOVFwOWVFaURUOVVNM0twZXJkd2EzaU1J?= =?utf-8?B?MlZ5aUc0SVlGbTBEcHNnV3VnRWduYzR5Y2dZL3pwSjZTaGFiRmpWVzFlMHhD?= =?utf-8?B?RHQ5R1YrdE15T09paCtOaWlxcStLbDBVU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: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 37f57048-e15d-4f06-322b-08dae68d017c X-MS-Exchange-CrossTenant-AuthSource: BN8PR12MB3587.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Dec 2022 15:30:52.0571 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: CT2hsPsq3yNjaNIoKHAaRIK4HQWeg/CT998LpsEDDDC1tGo/rv+MYuTNp3BsZuV4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4426 X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham 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 Am 24.12.22 um 10:34 schrieb Thomas Zimmermann: > Hi > > Am 22.12.22 um 19:30 schrieb Mario Limonciello: >> One of the first thing that KMS drivers do during initialization is >> destroy the system firmware framebuffer by means of >> `drm_aperture_remove_conflicting_pci_framebuffers` >> >> This means that if for any reason the GPU failed to probe the user >> will be stuck with at best a screen frozen at the last thing that >> was shown before the KMS driver continued it's probe. >> >> The problem is most pronounced when new GPU support is introduced >> because users will need to have a recent linux-firmware snapshot >> on their system when they boot a kernel with matching support. >> >> However the problem is further exaggerated in the case of amdgpu because >> it has migrated to "IP discovery" where amdgpu will attempt to load >> on "ALL" AMD GPUs even if the driver is missing support for IP blocks >> contained in that GPU. >> >> IP discovery requires some probing and isn't run until after the >> framebuffer has been destroyed. >> >> This means a situation can occur where a user purchases a new GPU not >> yet supported by a distribution and when booting the installer it will >> "freeze" even if the distribution doesn't have the matching kernel >> support >> for those IP blocks. >> >> The perfect example of this is Ubuntu 21.10 and the new dGPUs just >> launched by AMD.  The installation media ships with kernel 5.19 (which >> has IP discovery) but the amdgpu support for those IP blocks landed in >> kernel 6.0. The matching linux-firmware was released after 21.10's >> launch. >> The screen will freeze without nomodeset. Even if a user manages to >> install >> and then upgrades to kernel 6.0 after install they'll still have the >> problem of missing firmware, and the same experience. >> >> This is quite jarring for users, particularly if they don't know >> that they have to use "nomodeset" to install. >> >> To help the situation, allow drivers to re-run the init process for the >> firmware framebuffer during a failed probe. As this problem is most >> pronounced with amdgpu, this is the only driver changed. >> >> But if this makes sense more generally for other KMS drivers, the call >> can be added to the cleanup routine for those too. > > Just a quick drive-by comment: as Javier noted, at some point while > probing, your driver has changed the device' state and the system FB > will be gone. you cannot reestablish the sysfb after that. I was about to note exactly that as well. This effort here is unfortunately pretty pointless. > > You are, however free to read device state at any time, as long as it > has no side effects. > > So why not just move the call to > drm_aperture_remove_conflicting_pci_framebuffers() to a later point > when you know that your driver supports the hardware? That's the > solution we always proposed to this kind of problem. It's safe and > won't require any changes to the aperture helpers. if I'm not completely mistaken that's a little bit tricky. Currently it's not possible to read the discovery table before disabling the VGA and/or current framebuffer. We might be able to do this, but it's probably not easy. Regards, Christian. > > Best regards > Thomas > >> >> Here is a sample of what happens with missing GPU firmware and this >> series: >> >> [    5.950056] amdgpu 0000:63:00.0: vgaarb: deactivate vga console >> [    5.950114] amdgpu 0000:63:00.0: enabling device (0006 -> 0007) >> [    5.950883] [drm] initializing kernel modesetting (YELLOW_CARP >> 0x1002:0x1681 0x17AA:0x22F1 0xD2). >> [    5.952954] [drm] register mmio base: 0xB0A00000 >> [    5.952958] [drm] register mmio size: 524288 >> [    5.954633] [drm] add ip block number 0 >> [    5.954636] [drm] add ip block number 1 >> [    5.954637] [drm] add ip block number 2 >> [    5.954638] [drm] add ip block number 3 >> [    5.954639] [drm] add ip block number 4 >> [    5.954641] [drm] add ip block number 5 >> [    5.954642] [drm] add ip block number 6 >> [    5.954643] [drm] add ip block number 7 >> [    5.954644] [drm] add ip block number 8 >> [    5.954645] [drm] add ip block number 9 >> [    5.954663] amdgpu 0000:63:00.0: amdgpu: Fetched VBIOS from VFCT >> [    5.954666] amdgpu: ATOM BIOS: 113-REMBRANDT-X37 >> [    5.954677] [drm] VCN(0) decode is enabled in VM mode >> [    5.954678] [drm] VCN(0) encode is enabled in VM mode >> [    5.954680] [drm] JPEG decode is enabled in VM mode >> [    5.954681] amdgpu 0000:63:00.0: amdgpu: Trusted Memory Zone (TMZ) >> feature disabled as experimental (default) >> [    5.954683] amdgpu 0000:63:00.0: amdgpu: PCIE atomic ops is not >> supported >> [    5.954724] [drm] vm size is 262144 GB, 4 levels, block size is >> 9-bit, fragment size is 9-bit >> [    5.954732] amdgpu 0000:63:00.0: amdgpu: VRAM: 512M >> 0x000000F400000000 - 0x000000F41FFFFFFF (512M used) >> [    5.954735] amdgpu 0000:63:00.0: amdgpu: GART: 1024M >> 0x0000000000000000 - 0x000000003FFFFFFF >> [    5.954738] amdgpu 0000:63:00.0: amdgpu: AGP: 267419648M >> 0x000000F800000000 - 0x0000FFFFFFFFFFFF >> [    5.954747] [drm] Detected VRAM RAM=512M, BAR=512M >> [    5.954750] [drm] RAM width 256bits LPDDR5 >> [    5.954834] [drm] amdgpu: 512M of VRAM memory ready >> [    5.954838] [drm] amdgpu: 15680M of GTT memory ready. >> [    5.954873] [drm] GART: num cpu pages 262144, num gpu pages 262144 >> [    5.955333] [drm] PCIE GART of 1024M enabled (table at >> 0x000000F41FC00000). >> [    5.955502] amdgpu 0000:63:00.0: Direct firmware load for >> amdgpu/yellow_carp_toc.bin failed with error -2 >> [    5.955505] amdgpu 0000:63:00.0: amdgpu: fail to request/validate >> toc microcode >> [    5.955510] [drm:psp_sw_init [amdgpu]] *ERROR* Failed to load psp >> firmware! >> [    5.955725] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init >> of IP block failed -2 >> [    5.955952] amdgpu 0000:63:00.0: amdgpu: amdgpu_device_ip_init failed >> [    5.955954] amdgpu 0000:63:00.0: amdgpu: Fatal error during GPU init >> [    5.955957] amdgpu 0000:63:00.0: amdgpu: amdgpu: finishing device. >> [    5.971162] efifb: probing for efifb >> [    5.971281] efifb: showing boot graphics >> [    5.974803] efifb: framebuffer at 0x910000000, using 20252k, total >> 20250k >> [    5.974805] efifb: mode is 2880x1800x32, linelength=11520, pages=1 >> [    5.974807] efifb: scrolling: redraw >> [    5.974807] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0 >> [    5.974974] Console: switching to colour frame buffer device 180x56 >> [    5.978181] fb0: EFI VGA frame buffer device >> [    5.978199] amdgpu: probe of 0000:63:00.0 failed with error -2 >> [    5.978285] [drm] amdgpu: ttm finalized >> >> Now if the user loads the firmware into the system they can re-load the >> driver or re-attach using sysfs and it gracefully recovers. >> >> [  665.080480] [drm] Initialized amdgpu 3.49.0 20150101 for >> 0000:63:00.0 on minor 0 >> [  665.090075] fbcon: amdgpudrmfb (fb0) is primary device >> [  665.090248] [drm] DSC precompute is not needed. >> >> Mario Limonciello (2): >>    firmware: sysfb: Allow re-creating system framebuffer after init >>    drm/amd: Re-create firmware framebuffer on failure to probe >> >>   drivers/firmware/efi/sysfb_efi.c        |  6 +++--- >>   drivers/firmware/sysfb.c                | 15 ++++++++++++++- >>   drivers/firmware/sysfb_simplefb.c       |  4 ++-- >>   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c |  2 ++ >>   include/linux/sysfb.h                   |  5 +++++ >>   5 files changed, 26 insertions(+), 6 deletions(-) >> >> >> base-commit: 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 >