Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1976355rwd; Sun, 28 May 2023 06:03:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5iVesb2tDK8iUoQiTG6vxeRMxKcbfFakZhOQhdTByKY/FOd4gcnU93gQMjDI8iw5D33lCw X-Received: by 2002:a17:90a:9105:b0:253:94c7:4609 with SMTP id k5-20020a17090a910500b0025394c74609mr7589271pjo.44.1685278998133; Sun, 28 May 2023 06:03:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685278998; cv=pass; d=google.com; s=arc-20160816; b=Xbbnlixxtwmru7P5ptrx3bNRHPrsYZaakY7Wfrbm1OFPkGx7w8z6+4wfrLeRNaYsfB rDsAtfKrQ6KlPXLAY63D60qgH946xYrmScikEQXzDa0Pklu/vYXHCdk1rj/yIetJbHI8 Q7xvPSBsip6RewPiXvZP78tbCw8heeb2Df9R1v9f7+NNJty23wccUM/rN/WylPR+dEdM i8ilnVaxDH0/78603hI4KzQfOOC0TMDC396jywg4AK19HzJWr9axgb5x/OBY8qn3Lorz kzksnPBlxv3Qv3dBxRR9fWOoUFOvwA0Qd7m1r71LttuNPkXx4nbPEBd9Ape4g7oFb1Mg uyDQ== 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:content-language:references:cc:to:subject :user-agent:date:message-id:dkim-signature; bh=P3ADXnT76gKJG+XW3nvG74bDwmaYj1pk4rChzsQGITk=; b=PschGgFQtTMJcEBGgmRaG2z7r1DQtBHUEYnytxf2eNLxXpUx0GrhF59Lt5z8Grn5LV yQEhG/ySLxKUBYsRAObk/8jLNqb3IcavNPJmXj3M0mE1eQOjvN6GyNsaFn5vCZaOlPlt maW/owEenDoH3tm+Ltv88TOZoz0JFtU6rw8xxtUrBttpJnDQVwjQLzMt/dtezVv3RC1Z tUHuLj9y9tDNSGC9xOkrYlNyW1jCPzuxLlw8jz9E5RwHaEckJcIBixrUOjZHnSO/qpOM UcuIuP+ErnPeL29MSx23vBNsWkmlISRMPfUSuoZc/ItEb4b634HGNRVOiD7VZSI3psxw 9Jvg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Z5eiVoIy; 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 h189-20020a6383c6000000b0053f82f20bb6si715703pge.667.2023.05.28.06.02.53; Sun, 28 May 2023 06:03:18 -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=@amd.com header.s=selector1 header.b=Z5eiVoIy; 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 S229548AbjE1MoO (ORCPT + 99 others); Sun, 28 May 2023 08:44:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjE1MoN (ORCPT ); Sun, 28 May 2023 08:44:13 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2068.outbound.protection.outlook.com [40.107.94.68]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CE51B9; Sun, 28 May 2023 05:44:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MhUcuSOh5XYiQ4m5qaB+Y5klsFxkx7a3z97duU9HX+SERBd91M/FDWCEnMZyzT3KboNtZn5+nfcB6IV2fpz2f1awPOGnKqAG3aTADzPoocdtErc0QsD2NtTODb+mwZo34ObbnWbpM8x8JR9yYzbIvN38k0vTIbCAWeqbkcwxjYROFcJPBl05nJrrn7Yel6TMIRWSKIAatLyZQVn5EwJOy4lQ3T8IxwBjV4KuQX4M6okQyvaEKRttWsHp2S9d+iOZR2fhYuCcNQjOAs0TuQh2K146qLtcxXk1cuHqpkhWYHUUNTMdx0Mhc3dquZVNKXdV7nuIy8vhBSUJ3Gdx/niOag== 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=P3ADXnT76gKJG+XW3nvG74bDwmaYj1pk4rChzsQGITk=; b=nSlq3LM+Y1F2QwvvOzrLg41vz+Uh6vxgWIRN/Up6x2yb3YCgwUYteiA3MV6HLzymeksKA/EZvCWVvDvuCMUC5x0nALk/sVgS327KMlY5BoW3IeSz2qo7AwX+tvTAz1E9SSgmQXOzNGeeJh8HeiEOgg8Z7fLm/12G3tgmetK1WeX8IYp08bAk70Hb5d2cvfJ0tQjrVHG5K33aHvvJID4rGTjLOrtzujh+2zavqj/i+ILcW/32JskeuocAiAllm0PtaVGiJhhwsEmQgrnvNMu0gD5R8hiZA6UgAUHXU6IKr5lSVgH9prY9iWNlElgXw8K7SR0nLGD5pyxrNl6ekZm8rA== 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=P3ADXnT76gKJG+XW3nvG74bDwmaYj1pk4rChzsQGITk=; b=Z5eiVoIyDMi3qcsX8piJWNPfDOwGApjY0tB0/ONJCkZWXN1XFaavWA9KmLnfN1LPCoZiAsFXbdWM36Q0YhtwaXXbDg61di3YG2cUQYGLnjNY/tfy5v2wlptWqMyHuTtdzvgefYOsALzSh7x4nS4mL+LD4U8bdgTlE6J6QYjg1TY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) by DS0PR12MB6558.namprd12.prod.outlook.com (2603:10b6:8:d2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.21; Sun, 28 May 2023 12:44:08 +0000 Received: from MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::a65c:3aa0:b759:8527]) by MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::a65c:3aa0:b759:8527%5]) with mapi id 15.20.6433.022; Sun, 28 May 2023 12:44:08 +0000 Message-ID: Date: Sun, 28 May 2023 07:44:05 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: Regression from "ACPI: OSI: Remove Linux-Dell-Video _OSI string"? (was: Re: Bug#1036530: linux-signed-amd64: Hard lock up of system) To: Salvatore Bonaccorso , Nick Hastings , 1036530@bugs.debian.org Cc: "Rafael J. Wysocki" , Len Brown , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev References: <168471337231.1913606.15905047692536779158.reportbug@xps> <168471337231.1913606.15905047692536779158.reportbug@xps> <168471337231.1913606.15905047692536779158.reportbug@xps> Content-Language: en-US From: Mario Limonciello In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DM6PR08CA0039.namprd08.prod.outlook.com (2603:10b6:5:1e0::13) To MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN0PR12MB6101:EE_|DS0PR12MB6558:EE_ X-MS-Office365-Filtering-Correlation-Id: 53fbc910-d1a8-448b-89ef-08db5f793a71 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wUnGRGPRgsuUlCrVsPZgtZZxxc52o3/beYi+DxEtdFknAA/GA4XppxOyuWhSa7YIHU0SlgbacrnfZUX5ZYSmmfFxdp/jv6P9HLWoBAdxl/foAAJ8JIP6hR2U88vMjy2l4NWtHsK0eMfv+1oC/Ki/5JWoxKs2Kh3wyaaFAUq7sP0B2DLDLaYdC9E8uEc+JXR955rwhGvyQT/FA7GkAp+Gaj0ZwoY2LF23WZ1/+JOwyorxWVux84Z2SWcAMWDz2zqH/ALvkzUZlBABzTCr3qPSIHGmcGkocJYyYsBKXeINisLMo9vN/xy7iKU009r9GSkSO/duYyHg6omNP2GWtjsL1SqOQcz9BtXtLq6RxTtf9olld/YCHK0z4OKVCyRRtAnXPq92ekdghfub9BKa6vjapbE83u7919p1pdDEZqTkIeG47jmAvqClxPeR5bZB/7LCH8EfRwV12N3mGG5VlhbhRcGyTGpDYI0yGlzowHFhsSD+3+FZKWBmomYbFRvLTL5rlD6L9+mosbmnHTuh0895257WGn7t2yRgv4wHp9nIP6HmqQyL2OZ4u3awY+ZU/0gt65nM7+ypag2ypAiJ6MpvgSnZ9Wsecrc7hCcZ7uda5UhXGcZMagMhjTNpHDv9FXC+I9laLRsZhHmdZLJ2ne/I3w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN0PR12MB6101.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(366004)(346002)(396003)(136003)(376002)(451199021)(83380400001)(5660300002)(316002)(6666004)(66946007)(36756003)(66476007)(66556008)(4326008)(966005)(31696002)(8676002)(6486002)(41300700001)(38100700002)(8936002)(86362001)(44832011)(110136005)(54906003)(53546011)(2906002)(2616005)(6506007)(6512007)(186003)(31686004)(478600001)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZUc2R25lNm1STytqWHRrWHdta05ZS0k5Yk5yZDBDT1hTNklJN3loNzZEcG05?= =?utf-8?B?SVFEN1V1ZURDNHliU1BZWVVNWkwvK1I2Mi9Jd1MxYk9zeXRVaGt0dGJoQmI3?= =?utf-8?B?eWJsZXJpZWkzU21zRHFUNjZHOFEvc01VMDFYamtvSnB1UVhZbWNOS3F5UGhT?= =?utf-8?B?VTQzVnFXM1VLN2YvVldCY0xSTkZHeHE5MTJGSzVZUnNyc0kxclBiRHdZVGt2?= =?utf-8?B?Tk4vT3k5MXlKVEN1bG05aWltbmFhSnRoZyswZXhZYkVja1NUNGs2d3N1K281?= =?utf-8?B?UHZ5TXp5WkZiQ1hqTXpkalFjSVZ6dW56aktNTVRhSW5pZXF3LzAvRHBRYm5t?= =?utf-8?B?a21hNklFZFBhUk9rUDlwNUJHMk1aNlVqVUNHZ0xRN0xTOWc1dE5QeDFhRVJF?= =?utf-8?B?TTV3dmJlUW9kaXdEOUd2blN1dHE1NVQ3em5vVzNOTEI2UDNJYnp2Rjd0dnlq?= =?utf-8?B?OFpaNWJYMmNoSnhISklEQ0lFSGVRTldmTFpaRFQ4UUJ0Y0FhV3lhYkU4Slcr?= =?utf-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hwZWwy?= =?utf-8?B?M1FMU29yT2RhNWlWMzFFOUdwZm5lYndGVzZXbU40bk4vekRKWEVnN1BLeCsz?= =?utf-8?B?M0doVC8yZHJETm9tcmtaSnJtbE1xcG1TeGNRT0szMjM4N3IwaGMzT21zM2lF?= =?utf-8?B?WWNEWklYT2NSNlFQc21BVldZZnZWVHpFYW5XaUdpZzRUOGRhejQ2d1JzUWc4?= =?utf-8?B?bkREUnpERFp0WEEvR1RNaFFRbzRhUUc2ZVp3MjdSLzZGYWduSXMydWpoeDd5?= =?utf-8?B?bm5DTXZIaUJsRlYrRjV3K1hUajROdjJ1ZjZYUmtGZmg0R1lOMWwvZDZ3cGtF?= =?utf-8?B?RHJCaHUyY3J6eTFDN0F0WHplVHhKQ3VWOE90eUFHZlBHYzFHMnNianA3WjJE?= =?utf-8?B?UTQ1dFpBbFJmelNSZVAvMm96YTBrWFNWRFZ0eFl1UWVueHdTTm02VnFBMlZQ?= =?utf-8?B?blRrZFNjZUt2UHkxS3IwUWQ4SnZHcFhBSEx3YURTWUNBZVhPMVo3ZlNUdVcv?= =?utf-8?B?TUdEejNrQXN4TGJXajZ4OWdMZmFHcWRweWwvTXdGcWpNT2FjcDAra1hhQjBX?= =?utf-8?B?bWlXaElMdVFWYjFpQUQ0TGRpQ21BZFlwb3RvejMwRDFrNWZRZXRCd0ZKRTNZ?= =?utf-8?B?ckx3K1UwakNyVnFUU0NId2h6d25vSXVvZWFmNEJRVVB2R08xT2taVXpyM2l4?= =?utf-8?B?emF0OTJHTjhUc3UyUExFTjFZUUtyeVFCcVg4UEgwOU43ODdQRlFoZmRKTkNP?= =?utf-8?B?MHc9PQ==?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 53fbc910-d1a8-448b-89ef-08db5f793a71 X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6101.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 May 2023 12:44:08.0785 (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: O0E5pb0ae37+dpGg6DVZ7vtRlc6mo8hqZOETrN6MMypwaMlNqYuS+zzQJqhbgM5jTR0Ndn37YzVUuskE6ZaJDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB6558 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,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=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 On 5/28/23 01:49, Salvatore Bonaccorso wrote: > Hi Mario > > Nick Hastings reported in Debian in https://bugs.debian.org/1036530 > lockups from his system after updating from a 6.0 based version to > 6.1.y. > > #regzbot ^introduced 24867516f06d > > he bisected the issue and tracked it down to: > > On Sun, May 28, 2023 at 10:14:51AM +0900, Nick Hastings wrote: >> Control: tags -1 - moreinfo >> >> Hi, >> >> I repeated the git bisect, and the bad commit seems to be: >> >> (git)-[v6.1-rc1~206^2~4^5~3|bisect] % git bisect bad >> 24867516f06dabedef3be7eea0ef0846b91538bc is the first bad commit >> commit 24867516f06dabedef3be7eea0ef0846b91538bc >> Author: Mario Limonciello >> Date: Tue Aug 23 13:51:31 2022 -0500 >> >> ACPI: OSI: Remove Linux-Dell-Video _OSI string >> >> This string was introduced because drivers for NVIDIA hardware >> had bugs supporting RTD3 in the past. >> >> Before proprietary NVIDIA driver started to support RTD3, Ubuntu had >> had a mechanism for switching PRIME on and off, though it had required >> to logout/login to make the library switch happen. >> >> When the PRIME had been off, the mechanism had unloaded the NVIDIA >> driver and put the device into D3cold, but the GPU had never come back >> to D0 again which is why ODMs used the _OSI to expose an old _DSM >> method to switch the power on/off. >> >> That has been fixed by commit 5775b843a619 ("PCI: Restore config space >> on runtime resume despite being unbound"). so vendors shouldn't be >> using this string to modify ASL any more. >> >> Reviewed-by: Lyude Paul >> Signed-off-by: Mario Limonciello >> Signed-off-by: Rafael J. Wysocki >> >> drivers/acpi/osi.c | 9 --------- >> 1 file changed, 9 deletions(-) >> >> This machine is a Dell with an nvidia chip so it looks like this really >> could be the commit that that is causing the problems. The description >> of the commit also seems (to my untrained eye) to be consistent with the >> error reported on the console when the lockup occurs: >> >> [ 58.729863] ACPI Error: Aborting method \_SB.PCI0.PGON due to previous error (AE_AML_LOOP_TIMEOUT) (20220331/psparse-529) >> [ 58.729904] ACPI Error: Aborting method \_SB.PCI0.PEG0.PG00._ON due to previous error (AE_AML_LOOP_TIMEOUT) (20220331/psparse-529) >> [ 60.083261] vfio-pci 0000:01:00.0 Unable to change power state from D3cold to D0, device inaccessible >> >> Hopefully this is enough information for experts to resolve this. > > Does this ring some bell for you? Do you need any further information > from Nick? > > Regards, > Salvatore Hi Salvatore, Have Nick try using "pcie_port_pm=off" and see if it helps the issue. Does this happen in the latest 6.4 RC as well? I think we need to see a full dmesg and acpidump to better characterize it.