Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2784909rdb; Mon, 4 Dec 2023 07:30:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqKZn9NRyFr3jXLdfMlQtvgD8cJhrrmbYuYYHpXRWha/BQ6C6p57xPU102gtcrc9QK7Rt6 X-Received: by 2002:a05:6a20:e118:b0:18f:97c:3846 with SMTP id kr24-20020a056a20e11800b0018f097c3846mr5142460pzb.32.1701703801076; Mon, 04 Dec 2023 07:30:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701703801; cv=pass; d=google.com; s=arc-20160816; b=oxZoK2sJUqB4Iba2ETghQQrpnUj68MhFMGIL/pgLeouVr9LelJX+04+fpJhw5BfkM9 pY+y7JFIUYa6iD0YdRTEr5fCorUApLWWoWkFgiOq2yKEbqbq2bKT5Rlqe3W50VIeXa/M IOT5zY/rD62gef7m87bSnhWpBk9aEfPTGpZcOSSPhmXUnQh3SIjSOVJbs/iuYSfVzOFx 3Yn8KIaixAPaz1FT+YCReAgkVzRdVtVMjmNuk+XImGweHs45aHL/oYSHaCeXbdkhhMyJ uYF8iey0AojuTDuKDj17c3uSUK9zA5rFPca9NYs4QYsiNVK8/gSuT2pGwWoi5Befvr0D kNuA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:date:message-id:dkim-signature; bh=xMvQhM8RWERdywVGGf9d6GCnblKibINeViMgxj2/bHM=; fh=LCWfjDTBosS5T21npEER66XDELtKOMB1LoITW63UTE0=; b=vINO8+BloivbsIfldnEOnP69Dc7ZulPwayyRDx/7sfXo3rKN8hzbDSrhzoaF7Oe+ju z2xlovEZPQhCbgopRQVWHxVjcxn+YZE6rBEZUnYAxxyHoLZtjdV+KWYXg7j8WrxfNtnY gsQEoxe4QVZ8JTcmgAQH74gU8xwCk3clCa+hwr4Ppl6+HCiLTqu6vr5zltziS1LxYFIO QmNh8LdMR0UUTrMi+adOs/bgi8MrOvkC+prdSCcdL0IWeP8TZeCfqn4uUAFJx/UhR6rF +ztq/3926R0DT7ITI/Ckg55hQyVj1lU455gf1hQn8Vuli/L4l1lmjW0Y6yAFM5SVF//Z ce3Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=vWI4x890; 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-bluetooth+bounces-369-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-369-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z20-20020a656654000000b005c6921c1cddsi1556393pgv.143.2023.12.04.07.30.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 07:30:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-369-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=vWI4x890; 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-bluetooth+bounces-369-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-369-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B73512810C8 for ; Mon, 4 Dec 2023 15:30:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6889D2C85D; Mon, 4 Dec 2023 15:29:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="vWI4x890" X-Original-To: linux-bluetooth@vger.kernel.org Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2068.outbound.protection.outlook.com [40.107.93.68]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CE86B0; Mon, 4 Dec 2023 07:29:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QTd6QpQxFZnQxy9FusKqZh72sGevdEcw+KVPhDMm1CFmBqGpjpm/vfeXDXY27VIJ96hbCDN/8QkmRBxtn5dGh3uSeS/iLLqza5vBmFQfQOLFufX9ZYaqR/e/GPcPf/Qcec1ZZDlqbV6bMpfCEj9ssP2QT8Pv4n5IEngbfSpdPgG8aLSCQaVirRHwRwDKCK3Qi86NKlaT5geX7VajHrdCnEXOs5mXWONe8SaKCfEGtOgaGBKP2cnDuu7zNz2Eg//fGYlcajXik45gQRY9tTjyJO3XoxT1O1jzWemjJBje+NI9ArohTkz5976mpl/6K0slTJQC9f0J7tLDOVikpL4Rzg== 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=xMvQhM8RWERdywVGGf9d6GCnblKibINeViMgxj2/bHM=; b=EBZL78V43Fux0bAkDRfkJOJkXJHeH1Tf8ASJlha4eOHDHwwmm7gdH96JPcjlVW8ScDLV2gsbiY+ZvCMK0jwzWVzeanVn6rFvn9rkHTm8I2mYyEEd2HfyaElCF8nUTbAaEP0iT0z7KxM8zDYg+KhFTzS6XHC4GrPft1oI+ekWDvjp1iIfXYWQZB0ItFpg/vDerz05t6cwRgm5sfLsX2t66Z5QFqpYi0xkddiDO+jcTgZL4FC2+lZHLcwT2wAzgts/771thNJGuprbiTNl9GCYQZN3kAPVzSYtbCP7JaHdEKQdj816oOsBvtQ6OJK6yaWhSuiSapt5w2x01TUH4yjF+Q== 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=xMvQhM8RWERdywVGGf9d6GCnblKibINeViMgxj2/bHM=; b=vWI4x890dKl4j2vNujxujEoCmOTOXTsIc5bim7s288dmzOIZG5Y1KxQvtLZkcRZyv7kl9b3KPNzzpkbhns1sW1ipqZFoe24mDcCCz000F+f/8TIwqTh+7rd9DGwXjMN9jFmwMSBFhpXSduns28JpjjlH7U7NSKBZ0P1fmxGvSTg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM4PR12MB5040.namprd12.prod.outlook.com (2603:10b6:5:38b::19) by CY8PR12MB7561.namprd12.prod.outlook.com (2603:10b6:930:94::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.23; Mon, 4 Dec 2023 15:29:46 +0000 Received: from DM4PR12MB5040.namprd12.prod.outlook.com ([fe80::6f3c:cedb:bf1e:7504]) by DM4PR12MB5040.namprd12.prod.outlook.com ([fe80::6f3c:cedb:bf1e:7504%4]) with mapi id 15.20.7046.033; Mon, 4 Dec 2023 15:29:46 +0000 Message-ID: Date: Mon, 4 Dec 2023 20:59:35 +0530 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] Revert "xhci: Enable RPM on controllers that support low-power states" Content-Language: en-US To: Mathias Nyman , gregkh@linuxfoundation.org Cc: linux-usb@vger.kernel.org, linux-bluetooth@vger.kernel.org, mario.limonciello@amd.com, regressions@lists.linux.dev, regressions@leemhuis.info, Basavaraj.Natikar@amd.com, pmenzel@molgen.mpg.de, bugs-a21@moonlit-rail.com, stable@vger.kernel.org References: <3d3b8fd3-a1b9-9793-b709-eda447ebd1ab@linux.intel.com> <20231204100859.1332772-1-mathias.nyman@linux.intel.com> <070b3ce1-815c-4f3d-af09-e02cda8f9bf0@amd.com> <273a8811-f34e-dbe7-c301-bb796ddcced1@linux.intel.com> From: Basavaraj Natikar In-Reply-To: <273a8811-f34e-dbe7-c301-bb796ddcced1@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BMXPR01CA0074.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:54::14) To DM4PR12MB5040.namprd12.prod.outlook.com (2603:10b6:5:38b::19) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR12MB5040:EE_|CY8PR12MB7561:EE_ X-MS-Office365-Filtering-Correlation-Id: 3e88b695-44a5-4aaa-08b8-08dbf4ddd8ac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1NQrg7FELx9AuSg8SUQlJe/fme2f8+nxUJLfKm+fkbYYnP3tlmRqJWj7Ztv9wesHffjR53Y6vhvDCgB5y+DRVuC37bbzQQUlQ0+h3VtHR3WsYIkKI0zKmbQvZoz8TJ6GTZ/vPeyp4f5q14sITXymOgLKq9LOawfh6xnOe99LFb1R5mIleHjyt056wKwxXzzuS0obKrGTu7oZ8ItSJM7e0ki+RZ1XXONPL0R/zMslFR29NHU6k0OwCzseZ2nZNUnSOg7h5RA/tHtqeuUbg5OP/pMgVmTMRO20ryNuqI5yNFjn+n2pbnhcFv0FG99/ikjz2hKMh3rICkscaKyEZPfQuvwWbmFohi0GmHxdQcqeXqolcoAImoleribgUbhH3VsuzCowmO09C/yOR6MiDlTolGnkE3cp0Qf9bOGhm5busLuNwoesmRnRNmRpA8R+RZcEeB74H8IctByyyp67Gi/dwPfmwydTzVaiGbnSrAYUsATYfe2BnvguHywLXk/z5nCVdj7yvr23FyZDZzBnqv1pN8U0pphnp7XKQRhMR+MEI3h2zxiI/ysIi5LmNnUUiJe+MvLvwYBHniPYCpiOWJ143mBaD+7uRuJllNpXDTTwGn9fEhkug7oxS7keXr5EQCP0YaR0znJ4SvZHIsh31Hux1Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR12MB5040.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(366004)(396003)(376002)(39860400002)(136003)(230922051799003)(451199024)(64100799003)(1800799012)(186009)(6666004)(6506007)(6486002)(6512007)(31696002)(53546011)(8676002)(36756003)(5660300002)(8936002)(966005)(41300700001)(478600001)(31686004)(2616005)(66476007)(66946007)(66556008)(4326008)(38100700002)(26005)(316002)(2906002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RUhIZVhqYnRnQStueE5OQ0tMZDZudnhtSVRrZm1nM1BvR2dHc1V6RUc5bDVL?= =?utf-8?B?SHFsb0N0eTNtMVBtdEt6Vm96TXJvWDIzU0lqbkJBMURoY2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FbndQbHhUejV2WVZmU0J3WTczbmZleERRS0VydmMxeVJ2OGk5Y2dmVW9u?= =?utf-8?B?d1pOcUl2WDdpZ0pYMm9aMjFacUdDQzh5aEl3T2kzZWIvSGRwdHhlT1JGc2tL?= =?utf-8?B?cVFmY3Yzak85S1g5OW9LSWdPYThRdW9oaVlRRkFDWU9mSEpVSDd5QTB1RmVK?= =?utf-8?B?U0VwaE1jVUxJb3lkU2RmTnpwaTM0dHQ3UzVhcHhSMURhSnFtdWpJZ2ZMT0kz?= =?utf-8?Q?NKmg3ocUuni5ruYLteCzaRjio?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e88b695-44a5-4aaa-08b8-08dbf4ddd8ac X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5040.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2023 15:29:46.7027 (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: Gznxtr5Q4knTROAHH6e5ed3jv2lNpCwCXuETF58RZBVodnSqF8Ki7YTyxN3DdhYbW72dmB+aB1+JmkQoWULRDg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7561 On 12/4/2023 8:36 PM, Mathias Nyman wrote: > On 4.12.2023 16.49, Basavaraj Natikar wrote: >> >> On 12/4/2023 7:52 PM, Mathias Nyman wrote: >>> On 4.12.2023 12.49, Basavaraj Natikar wrote: >>>> >>>> On 12/4/2023 3:38 PM, Mathias Nyman wrote: >>>>> This reverts commit a5d6264b638efeca35eff72177fd28d149e0764b. >>>>> >>>>> This patch was an attempt to solve issues seen when enabling >>>>> runtime PM >>>>> as default for all AMD 1.1 xHC hosts. see commit 4baf12181509 >>>>> ("xhci: Loosen RPM as default policy to cover for AMD xHC 1.1") >>>> >>>> AFAK, only 4baf12181509 commit has regression on AMD xHc 1.1 below is >>>> not regression >>>> patch and its unrelated to AMD xHC 1.1. >>>> >>>> Only [PATCH 2/2] Revert "xhci: Loosen RPM as default policy to cover >>>> for AMD xHC 1.1" >>>> alone in this series solves regression issues. >>>> >>> >>> Patch a5d6264b638e ("xhci: Enable RPM on controllers that support >>> low-power states") >>> was originally not supposed to go to stable. It was added later as it >>> solved some >>> cases triggered by 4baf12181509 ("xhci: Loosen RPM as default policy >>> to cover for AMD xHC 1.1") >>> see: >>> https://lore.kernel.org/linux-usb/5993222.lOV4Wx5bFT@natalenko.name/ >>> >>> Turns out it wasn't enough. >>> >>> If we now revert 4baf12181509 "xhci: Loosen RPM as default policy to >>> cover for AMD xHC 1.1" >>> I still think it makes sense to also revert a5d6264b638e. >>> Especially from the stable kernels. >> >> Yes , a5d6264b638e still solves other issues if underlying hardware >> doesn't support RPM >> if we revert a5d6264b638e on stable releases then new issues (not >> related to regression) >> other than AMD xHC 1.1 controllers including xHC 1.2 will still exist >> on stable releases. > > Ok, got it, so a5d6264b638e also solves other issues than those > exposed by 4baf12181509. > And that one (a5d6264b638) should originally have been marked for stable. > > So only revert 4baf12181509, PATCH 2/2 in this series Thank you, that is correct. Thanks, -- Basavaraj > > Thanks > Mathias