Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7899933rwn; Wed, 14 Sep 2022 06:14:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR5U4wNJC24c0G8zseKMZ0lN6httLiLyOAG36tVQJZR4eBmBouTKD7A40oj8Qlpj+a0GNkZH X-Received: by 2002:a17:907:a40f:b0:77b:b3c7:28b6 with SMTP id sg15-20020a170907a40f00b0077bb3c728b6mr13585153ejc.637.1663161289563; Wed, 14 Sep 2022 06:14:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663161289; cv=none; d=google.com; s=arc-20160816; b=omoUH0P6iXzrMvSeDDkMdJwmgVqTlzJaDXNwiwzKMPmZGEC5MwH+bZbbxbSuRia7VI 9wP+WYat6O95X3Dtjgvj8rZxRHrqJzRv622fn+9PnJsBBTPWBCCAs4o08jt0gTiCn8Cv RUraFdWho1IyPBXbxY3vOiy+SKMvkTlLT32v4pmkL1t5ozVLnDks6q0xZf+n6X1KO8/a eYr5Gd/vR9W/qbriwd4+dggLXYbYVwcIIJsPIfZ3HhwPuTl6AYWTgfOf8bfczHoHXReS 1OrgalJzcPp5bh7PaG//7q6s7yFsvIrylXlmwz8+G2sjHL/l6e3KvEVlJcXLwrIHtzmj rs3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=m2VHa8PJA+ZO0PNQvmJC1s72eQG93H3V0UjfkcrBkX0=; b=bc+Go2DEzYVxt0ladttkWZR7n7peiNc6yP5paCdod08KghqzojW7Cbe9sWw55eP3Rs Miov+sJ3J5Mg2VILzheSagmR6Jr12Q4fRLMKag9SDkg7m0eZLKHtWALm7tTjif8BmhKV cJJwuQ2ZJydhO+fCRiYT7Nm4ygCcpmwEHPffAnyetRnpy0qef0H1ADEvr9Ti/riXDNrn 6ozQcXhB4Yci9sy6s0zz8CjXSGai+oTrijhoULf8PsNynRoGhiVTX6mzs/Ze8acK1CJr XrLLfSsvpeUEq4AyB8z7JA8StSXS9zvsvj3MyW6QZj3cPh0TrV0zzFin3PcpbZQlPas9 Nb9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=G52rDO0o; 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=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g12-20020a056402090c00b00450f5384073si13961202edz.527.2022.09.14.06.14.20; Wed, 14 Sep 2022 06:14:49 -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=@intel.com header.s=Intel header.b=G52rDO0o; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229706AbiINM1H (ORCPT + 99 others); Wed, 14 Sep 2022 08:27:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229990AbiINM1B (ORCPT ); Wed, 14 Sep 2022 08:27:01 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1772980E93; Wed, 14 Sep 2022 05:26:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663158410; x=1694694410; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=FXpukppwLTUZtkrCV8069cSTP4V7FD1gf4WK/O7FkMc=; b=G52rDO0o2R+pKtiknoUDXjy3C96JY5aDbw1KR5XJh1u0WE3lyBKDmtML njBNLRsUh270bgqjEzmG+S5gZzd2zMEvTM7MYdnBnw0uIrs17X+n3usFm 8oj2wjEupanOEtn8qb4/udd4sv+tXLKnYkCNkGeSIsWmtcMXWrM0umLJl 8zwliwlWRUcyukNUKwIE1wkTuVsT2txFCYv68/ZXATIpf1oDSifxl8SVl Vmxm53HFaf08rLXGjtT6OYWrvQgvRQDXx4oMPpB+uedNdVpClnWlzH19v 2fFTFN/ry4YKzgycdLD1YhCVZRMNIQYfJvBOKjpuyIdrAUwpH2z/JftSL A==; X-IronPort-AV: E=McAfee;i="6500,9779,10470"; a="298414116" X-IronPort-AV: E=Sophos;i="5.93,315,1654585200"; d="scan'208";a="298414116" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2022 05:26:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,315,1654585200"; d="scan'208";a="679023475" Received: from mattu-haswell.fi.intel.com (HELO [10.237.72.199]) ([10.237.72.199]) by fmsmga008.fm.intel.com with ESMTP; 14 Sep 2022 05:26:48 -0700 Message-ID: <02ef1ae2-9dae-6f02-9951-1230939f06e2@linux.intel.com> Date: Wed, 14 Sep 2022 15:28:09 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.11.0 Subject: Re: [PATCH] xhci: Don't show warning for reinit on known broken suspend Content-Language: en-US To: Mario Limonciello , Mathias Nyman , Greg Kroah-Hartman , Puma Hsu Cc: "Artem S . Tashkinov" , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220913203515.451-1-mario.limonciello@amd.com> From: Mathias Nyman In-Reply-To: <20220913203515.451-1-mario.limonciello@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 13.9.2022 23.35, Mario Limonciello wrote: > commit 8b328f8002bc ("xhci: re-initialize the HC during resume if HCE was > set") introduced a new warning message when the host controller error > was set and re-initializing. > > This is expected behavior on some designs which already set > `xhci->broken_suspend` so the new warning is alarming to some users. > > Modify the code to only show the warning if this was a surprising behavior > to the XHCI driver. > > Fixes: 8b328f8002bc ("xhci: re-initialize the HC during resume if HCE was set") > Link: https://bugzilla.kernel.org/show_bug.cgi?id=216470 > Reported-by: Artem S. Tashkinov > Signed-off-by: Mario Limonciello > --- Thanks, adding to queue -Mathias