Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5971472pxb; Mon, 14 Feb 2022 12:02:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxa1ffQ/5ZbO9mIgoePjuq1PYaaoW5b4N0gIU7Kna2QO2lxbaejqF22ZsjcYXEVwXrvsTJi X-Received: by 2002:a17:902:ef4e:: with SMTP id e14mr385262plx.125.1644868925793; Mon, 14 Feb 2022 12:02:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644868925; cv=none; d=google.com; s=arc-20160816; b=AxR4DQUwX++XTILPSiIRX4qmicPbk2YlYljydGvUMMltA/PGQ1GFlrySY9Qkg9r+fT ibHOMIc51yiMeB8kIrtmz8fABEiU2NtSG8n4oBjcx5+IkNjpxJm2IRmcpI2G6xWTaQiP FWrTj6D5ZDagG8NKifGyDI8eFU3Qumo/kI0w4x1e7A1dcOPc4JsyGeAHlfM9eRrVxTX5 MQT9T9XVizA+QNYFOP1eLseiBURjZjSLK+5Xtbt6dzu8UvZzjqAVW0++S/5xkWZs3IlT 2OoWqqjsihrbWXMhDnMgH/9uZbwtynTcFfbRPqq1zrTFMBA0LKqTXcg4FtiyVobc3Rc2 vnRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=FztyKzv6dHpMb2LTGno+rYgClFz3GISrzuq2OrZ/IwY=; b=Rhd1NzUvaaByXjWeuuE1HPFntm/crGv4/j6ow9dDmCGKMeJ9PiIgCsmotm9vrMQtMT wvv2N3dTztYOSNJzDEL4wM+EffYkEpDgf9Cs7Tw96nnWk6RDNQk6L+mYeDUJs20uVsh5 J56ImGgt5f3Rcql/iUWLM0ljkCNb5eOUEqnlpsDh2Hcsb6/XQVdRer/9ZjZFescNUFpj NJfE/lzqX1UTvNnhWvyQ8x8JlRqCcXM1v+gXNvRt/Y8fcF9puE5/7NXVzDkyQmepxjSB vlAqYnCPD6LIzhAri8AHVS4hs+9a2kmq0h0SpdjtAx/Z3UBgBH2Ubxuzo0qtOTnbepjB jj+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EqAR2DrG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id m1si793497pgu.401.2022.02.14.12.02.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 12:02:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EqAR2DrG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D4BDDE7AFE; Mon, 14 Feb 2022 11:41:37 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356005AbiBNPpy (ORCPT + 99 others); Mon, 14 Feb 2022 10:45:54 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:40432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355974AbiBNPpm (ORCPT ); Mon, 14 Feb 2022 10:45:42 -0500 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E43124925B; Mon, 14 Feb 2022 07:45:34 -0800 (PST) Received: by mail-lj1-x22c.google.com with SMTP id be32so4360655ljb.7; Mon, 14 Feb 2022 07:45:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=FztyKzv6dHpMb2LTGno+rYgClFz3GISrzuq2OrZ/IwY=; b=EqAR2DrGCWZ91yI5D95Slj+Hv/MWRuc+Qs8FANyKXabFHwOqD7XFM6u6msaoxC1VBu qfCmMQ7XGC7XPXzS89OEnNFv2MaJfVljKYFyWSyQ2zjzfj+bHHqbgd5WaacP6JkcpkdB 8ECH4uiE+NvFKqfbejg+dib3ux/04rLuDvb0le0DY+vyX++PMK7boD77Suuk8mXcLNOQ fb4P8fN2ZDJbZbime1vfonsnKTs9RnQyCdJFxAHtsa1V3gtVF9/ImpIffz+LZhoolNRs 6q6zOuhfbgizawGuN2PbYRQHspZf/7ZTZiv2kfrWWGHNI7Mx5TwSnzxu0phi3I1nCKgj PCTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FztyKzv6dHpMb2LTGno+rYgClFz3GISrzuq2OrZ/IwY=; b=FVaIImMZ1B6xubx8vySEAWXfhL/IblIgxS/eNFSpJV9idAswQVrQk7t7WI0WDm8r+D Hxf2g0sQfSFxrGJVFLdMOvYYWd/JhoixQ/njFiLgvNBZcLtJyVVNiaCkM7tuoyAbzU9Z gJOcRAmoVuhMpm0dkZZHme6uKl8qskVGTtycd44uia7NUHMlSVmG+gV/pJRywoTMAWtU 6ItPO15YEG7WZtrZFIHGHTTAFVyTPSLzCzFIK9JjB618L6wjaIU66053gx0LrGBwBCEn wPH0nN2Oa83UE0HKQVP5GRPZGuATyejwDS2L9A08JxOsfKQQKYGuoFQLhTCG5AmTBNMe L6RQ== X-Gm-Message-State: AOAM531BB0gCInR/N6JS0qK0rNPWW8UKmT/2/4oogIEfqiPdNCYxFXmS YrwHZgqYywDZ8KInniuhQN0= X-Received: by 2002:a05:651c:2051:: with SMTP id t17mr219765ljo.207.1644853533194; Mon, 14 Feb 2022 07:45:33 -0800 (PST) Received: from [192.168.1.103] ([31.173.86.214]) by smtp.gmail.com with ESMTPSA id t15sm376002lfr.72.2022.02.14.07.45.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Feb 2022 07:45:32 -0800 (PST) Subject: Re: [PATCH] xhci: reduce xhci_handshake timeout in xhci_reset To: Pavankumar Kondeti , Greg Kroah-Hartman , Mathias Nyman , Sarah Sharp Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, quic_ugoswami@quicinc.com, Jung Daehwan References: <1644836663-29220-1-git-send-email-quic_pkondeti@quicinc.com> From: Sergei Shtylyov Message-ID: <766b6370-979e-cd3c-cb64-44abce1977d7@gmail.com> Date: Mon, 14 Feb 2022 18:45:30 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <1644836663-29220-1-git-send-email-quic_pkondeti@quicinc.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hello! On 2/14/22 2:04 PM, Pavankumar Kondeti wrote: > From: Daehwan Jung > > xhci_reset() is called with interrupts disabled. Waiting 10 seconds for > controller reset and controller ready operations can be fatal to the > system when controller is timed out. Reduce the timeout to 1 second > and print a error message when the time out happens. Waiting 1 second with IRQs diabled is also hardly acceptable. :-/ > > Fixes: 22ceac191211 ("xhci: Increase reset timeout for Renesas 720201 host.") > Signed-off-by: Daehwan Jung > Signed-off-by: Pavankumar Kondeti [...] MBR, Sergey