Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2151138ybh; Sun, 8 Mar 2020 23:31:30 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvHjmBADZ3eYReztkVLeMTmQ02zR83ERjhbGIPsIGyreSItLJNGGyRuYwtNwz9uNhZ3/KCy X-Received: by 2002:aca:5546:: with SMTP id j67mr2103914oib.0.1583735490864; Sun, 08 Mar 2020 23:31:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583735490; cv=none; d=google.com; s=arc-20160816; b=iA2TECrRgBBTTL6tPD25CaDCtn0l9VgnC6I7+lg2Axd/XppURQAw7ASwanuX62+DSV iLYUkwAGB4Vced8fyIFt+c6bkcp0XdfTwXHTeqTaw/5GLsSCUGClJUsBSKusrR5sHq2k k/s2XHNHYZycpU11yVjEVwSxMsbP4iFZnqpsBhDvNFPnisYGRGUeMLOhWkAgyL4qBM+q mYsELWvntMwNq62KXO5IUftcbzWSAj16BqehXm8obTMgr8/qDOL9zYxz/aqYA2Lhn8IF PrXFC78SU9e5q8uifvaDIFgFLvcmzcqtOYACgpCuGdLpZX8kf+SWTyPiX74osUfpi1jh G1sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=yybJ1QzXrgkr7XDf2YoWtEBzCY5FqWK4MqdNg1pgXOc=; b=Zr7hoqQZMrcDYaYtp/Gylg43ed5MSXvoLP9bOtlpzkSYHLVtb+g1WHFREkA6AqmHf/ SkgWadvxYr75oECpkJJM2N2hlCuDNWap4nT8DVk4usEqpjC8Pivz/L7kPpNLGH321P21 bNqoKoM5axDQq2UXfGOZcVW4/D+B53pLir/Ag5pR/7+ILkkbwKqLd+JEfmYKXM/oiAc3 s4wV/8JT2WOPkL4TmpwaP+aMm4KTIt+Ydrq7fh2wqyWQGeRe+pazw/LgyDSbHPM25sVq K2Z5duXs34NYci7O0Fgsax6TLIIsynV5QAww7CUwM7bMRSiL69kk7yMtHlQbTIlKLthM 00qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=U1DFSlHe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 48si6090140otv.320.2020.03.08.23.31.19; Sun, 08 Mar 2020 23:31:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=U1DFSlHe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726248AbgCIGaz (ORCPT + 99 others); Mon, 9 Mar 2020 02:30:55 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:37276 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725956AbgCIGay (ORCPT ); Mon, 9 Mar 2020 02:30:54 -0400 Received: by mail-pf1-f196.google.com with SMTP id p14so4365173pfn.4 for ; Sun, 08 Mar 2020 23:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=yybJ1QzXrgkr7XDf2YoWtEBzCY5FqWK4MqdNg1pgXOc=; b=U1DFSlHey9T/E8PLM4IJY/0dylRiAAHFvGZnWirUOQkMCY8N7t9/hLkzoLA31J5tvU wQurPIFF50OYGWyuz7WmPY/CJpDaE1d6mhTr4OmHVUnC5CQF75QJktLdij+rhhEBU7dk Orz8Jvlwf2lYSxGYjcGubpNoQwmyePVaOp8yE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=yybJ1QzXrgkr7XDf2YoWtEBzCY5FqWK4MqdNg1pgXOc=; b=XhpDo3mB0Yj8TmuCMxXYgxCXSamw+xwOosnPVdHHKzEZ0WiN+lmjoR02fH/teBIQ3S jEHSOewES7npxiEQsQxVNqo0gxNDG6KDJestdclelPMAXLEG86i0J0fc1udYye82Kj4V jf9c4N1iFxxaYTMGl86j/MvNpwR6JpepyvpesVTjmHfE2WG5UI+TL6mmzs4ngGSOgxVR Iu3Qkj8satDYjJZrHH2O+C4xlha7cy1xHQpD+5Xc1Ud4h76hk0LDPJKArBX/981B6dQi tWvUqQDD7aIkG02Ax/ZHgvDLDtx8Jpm8E0C5B5/XGus+gRdPAfDJkqzo35B9gFZZ1H7K Fiwg== X-Gm-Message-State: ANhLgQ2HhPhoPr528cY8pZa4p98kq4T4o9lEA2cHHxPGq9gDjgV1ttpB Eha7n3IDfmJWeGLX93nqZCPGCA== X-Received: by 2002:a62:760e:: with SMTP id r14mr8075667pfc.51.1583735452374; Sun, 08 Mar 2020 23:30:52 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id h7sm45650104pfq.36.2020.03.08.23.30.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Mar 2020 23:30:51 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200306092328.41253-1-ran.wang_1@nxp.com> References: <20200306092328.41253-1-ran.wang_1@nxp.com> Subject: Re: [PATCH] usb: host: xhci-plat: add a shutdown From: Stephen Boyd Cc: Peter Chen , Jun Li , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Ran Wang To: Greg Kroah-Hartman , Mathias Nyman , Ran Wang Date: Sun, 08 Mar 2020 23:30:50 -0700 Message-ID: <158373545061.66766.10321933903764965708@swboyd.mtv.corp.google.com> User-Agent: alot/0.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Ran Wang (2020-03-06 01:23:28) > When loading new kernel via kexec, we need to shutdown host controller to > avoid any un-expected memory accessing during new kernel boot. >=20 > Signed-off-by: Ran Wang > Reviewed-by: Peter Chen > --- Tested-by: Stephen Boyd This fixes a problem I see where USB is still active during an orderly reboot.