Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1495901ybl; Wed, 14 Aug 2019 18:30:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwK5OzVVnz4fEF6h2WPOUcLD4eTi+VqKK0hTTrS/t7bpi0VtFfkSAGtR37DtWdD4glR6rfp X-Received: by 2002:a17:90a:30ad:: with SMTP id h42mr7236pjb.31.1565832620279; Wed, 14 Aug 2019 18:30:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565832620; cv=none; d=google.com; s=arc-20160816; b=nGwFRO/KOliA5n1q2fMOBXr+ykVD2cWYA0Zv5+0KcjW6Df8w2ymUP1XyXLDeq2y+RM 9LTa6F/zXSqj75KI3s3IJ+F+fvuL+XAatcMW3Wpoy56YTn0MTn6CNVvMpnBnHN5gfNmy KAF83mGXZuOr4FOAvXpSn+IeSx0J+WA5PRyTM5VOt3wyOq4OpSYVVOmy5jz2Ch7k6tK+ MBtFvAMmKqHvtRAlQgcxCrm3iYfhw04elYsK5hAZsaiWvf1OtRHUq0Dd4ntcsupzMWPm mmtVBQwIUeVvra37eB2NnL+ojItg+p6dIb3OdoJJnjciDi3dmdREwPH0O5d/UcWfkRuH iz6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:user-agent :references:in-reply-to:message-id:mime-version:date:subject:cc:to :from:dkim-signature; bh=YGuDiErQQ42Hc0nLZo7ea/SJqM4FxFI42R5TjzsfJsA=; b=Eqk8VYZP0nmBVxJv2uZQ6naBoffg7QqzZuotWQf/fPmGRzFHnlcR0GxKMfpbg+IHCx 1ttQlkBC7ORkkVzoC+CiZXPs1Q6Mm2siXQu6NEsUwWG5oCldu3mZVuzXWdFkesifoZK6 DSrsCj6Ff/kmiJ3Pfg3eW1UHLmPoc86PucTkgZOzXFg22/k//qjjylqZJ9I0jYIzhFq+ szTE+OXBdXA98LKkIHTEZpWicH/rJEpmilXJ7TCDU+7bPHVMaZNqIdLObZ/RkcgEL9c9 NNBaf6o9s+3X93BT3Rcq10W3Q76+3Ne8O05JL6SmtPOQxJOhQoQROQ2tNBooBCbYtgQd XvBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tGN1QWR2; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y6si853722pgp.320.2019.08.14.18.30.04; Wed, 14 Aug 2019 18:30:20 -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=@gmail.com header.s=20161025 header.b=tGN1QWR2; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729378AbfHOBQA (ORCPT + 99 others); Wed, 14 Aug 2019 21:16:00 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:36164 "EHLO mail-wm1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728597AbfHOBQA (ORCPT ); Wed, 14 Aug 2019 21:16:00 -0400 Received: by mail-wm1-f42.google.com with SMTP id g67so1560wme.1; Wed, 14 Aug 2019 18:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:mime-version:message-id:in-reply-to :references:user-agent:content-transfer-encoding; bh=YGuDiErQQ42Hc0nLZo7ea/SJqM4FxFI42R5TjzsfJsA=; b=tGN1QWR2w94STNXJ5XAm9NQnmk4cgErc0cbTOGHK2TyDKczEPSCJgPdL6RavLSXgr7 Qej4aTK7MHDvw5ynyhPqvrEWJVGfTjyARQxigG+3Lu/JtcRq6grSb9hBTsPommEsCWTF eHsNJqO5LC/eslqFmmk7s8rlMiIxvMD9ceXz+2Vep79zwTTOmovB4+GgrJ0R3LqLstib qZCpOQ9kf0rtayH0DfiUwDM3ftdMuL9+kTnTYFp0Z6+rYaHm/wdFejUSZG1ltjxXNUL5 r/0AeT7OaPXtVxQ2l3IzEsGMp7Eaq8eLYuOMpeiNTg2EPAdAPI6LEZQaJJG3yEkz4fyW a6Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:mime-version:message-id :in-reply-to:references:user-agent:content-transfer-encoding; bh=YGuDiErQQ42Hc0nLZo7ea/SJqM4FxFI42R5TjzsfJsA=; b=fyFHvtVjorAFo03KA6LcTAB4lvnSoHTQqm82cSDrFkklC/0BlDEamGVdxW4ubKd+zG PpKtTU4pOdzyE61R1QPcVzzENyAG1wLrJB3npQNmoa4385tPmfjVJoznKOJgMHuKR0Ua j5u3zPX9nXRaEMtQQIAwLJo3tSr5OX/ccv7CrJ44hOcgRXWepML8HpLpIIlg+8zFn12J 2J5OmV4TE9FxEgglIUTS9p1JhCBpwegZ66SNJbs/YAQGPEWZtvEk5qMqpCs/8hJIccoW r5Qq6H9V3R6b3I7akEkU5KWe40qF88ckXFIR3CkmOqzL3AGk3dj7L5bQe2TYZXFhZmDm Tlcg== X-Gm-Message-State: APjAAAVSzB9fPH8/l5D4uiGEIIqTRZQ7DqJtwHLvmqB1O+3Ro2NTjrqS AGX2Pfotvx3NlHsYlh7GOZg= X-Received: by 2002:a1c:f918:: with SMTP id x24mr451668wmh.132.1565831758550; Wed, 14 Aug 2019 18:15:58 -0700 (PDT) Received: from localhost ([92.59.185.54]) by smtp.gmail.com with ESMTPSA id z7sm1005714wrh.67.2019.08.14.18.15.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Aug 2019 18:15:57 -0700 (PDT) From: Vicente Bergas To: Robin Murphy , Felipe Balbi Cc: Heiko Stuebner , Will Deacon , Marc Zyngier , Catalin Marinas , Matthias Brugger , Greg Kroah-Hartman , , , , Subject: Re: kexec on rk3399 Date: Thu, 15 Aug 2019 03:15:55 +0200 MIME-Version: 1.0 Message-ID: <59055782-7fc2-4b16-af8b-a56fb845a43f@gmail.com> In-Reply-To: <0408cb6c-1b16-eacb-d47e-17f4ff89e2b8@arm.com> References: <0408cb6c-1b16-eacb-d47e-17f4ff89e2b8@arm.com> User-Agent: Trojita Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday, August 14, 2019 3:12:26 PM CEST, Robin Murphy wrote: > On 14/08/2019 13:53, Vicente Bergas wrote: >> On Monday, July 22, 2019 4:31:27 PM CEST, Vicente Bergas wrote: ... > > This particular change looks like it's implicitly specific to=20 > RK3399, which wouldn't be ideal. Presumably if the core dwc3=20 > driver implemented shutdown correctly (echoing parts of=20 > dwc3_remove(), I guess) then the glue layers shouldn't need=20 > anything special anyway. > > Robin. I just checked simple->resets from dwc3-of-simple.c and it is an array with multiple resets whereas dwc->reset from core.c is NULL. So the reset seems specific to the glue layers. Is there another way than resetting the thing that is generic enough to go to core.c and allows kexec?