Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp871388rdb; Fri, 20 Oct 2023 01:38:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2d3ScMSVzpy8Q4Wn88d0/ujbvznM3OU6OxutwHMI1UbfVUNamPKb30krN+72HQEArY4XG X-Received: by 2002:a17:902:e847:b0:1b0:3ab6:5140 with SMTP id t7-20020a170902e84700b001b03ab65140mr2034584plg.4.1697791109646; Fri, 20 Oct 2023 01:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697791109; cv=none; d=google.com; s=arc-20160816; b=WJQv548yfLdUVaVsAhza+2icqhT7yj8CnPI64uQwtVGl1MkOHZhLwL70K0y7GhHM1n J/s+E/nTPsJEK2pKgZkZvLkHzbb1diWy3QZ36P+RM2jeHRZFiwju0uPZfIY7d19mnkPI bbAa/2hyj+2G6QocLldaFK+pW3ok1rXQUiN3t5LXHBAyaGGuyUZp/m7kOlDGktC0+krO 6BGmIPOvAhgPKNQ9YBcdH7+d7i0NMfMZ9hVkFkAjiRvkJypupsSPhg9+pZV9Ath21j02 jylMJ+J8Ll6MxcO3/FjGv5uKOAbBN6lcVVRpjcS/MAkHNx8ARRIPBKbbhJs+x2DoN5VU xWeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fOAbn+G1khZisP9N03SFC4Xsec3hIyzeRw1MVnV4KDE=; fh=lA0/X79ZPEXoWZUgc4xUI5dZqBvGrbH1ML5dB6mzBZk=; b=cEocosiJAsCdBFt76nMNlIMwqycaN+ppkX59hPVo+qhscnlgdGvEG+IEHCINsSjyDg HlPJyG/wYaIP2054g98WJlX1caI3evlSK070iKDBwB9RNuTky2pceQtmnfgwJXry+70L jeTX6LWI3GN5g358LWyQPkylbyRfjfloGcnjOxmR9jWwN55nCQxXNBMjzGzP2jlamPHu ydOi3FAXvBszvTbZpwVMzlygxZLjFiWuQF784gwWDgGBDgaRp+35vyuG00zqHVvpcY/t nm2voaB/0g+ufCcgQrkWXpNGm38blVhuRsUBZ0UsHN8Ur48NU9qgdDUoLnkhqwdGKrR4 Z6Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KvrFJbPn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id u14-20020a170903124e00b001c20db25104si1449580plh.117.2023.10.20.01.38.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 01:38:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KvrFJbPn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5072681ADB7C; Fri, 20 Oct 2023 01:38:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376512AbjJTIiP (ORCPT + 99 others); Fri, 20 Oct 2023 04:38:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376509AbjJTIiN (ORCPT ); Fri, 20 Oct 2023 04:38:13 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 699A6D65; Fri, 20 Oct 2023 01:38:11 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFE3AC433C8; Fri, 20 Oct 2023 08:38:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697791091; bh=9SQfZR/nn3xuO36PSNTBTydsMCVV2RapIyMT5BBaj2E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KvrFJbPnL4+dhwzTK5G5E9IsJN1JtCCt+OgH9Rr7lkGYknzK+4DSJA0fUm8kKLBfc B1u1k3OgZPf8tEgZkwceNMZLi3YOMQ/v3RfivjZTJGwN8MretAHy8nGlFlJ5yT/x+L 9+/YmSvDh065sjME4f76IW7iHaYv8+N9fs3jO/Pq9LeBVKAWcvrTwSWw/iwZVpFH/u FbEg+Wh5uXLE0Vh+f4IKImMTeInPqVyNpESqrP02VfPs5sAfHhhned5RMEju7v5qSY YsDffpBWbQC0IbzVLKmEllaOPQ+wxd/E43Bc+/Tmh8GiESgiIm2v15Sg5wfFI+RCOr mN7m6YhnL1KHQ== Received: from johan by xi.lan with local (Exim 4.96) (envelope-from ) id 1qtl1M-0001lO-0v; Fri, 20 Oct 2023 10:38:16 +0200 Date: Fri, 20 Oct 2023 10:38:16 +0200 From: Johan Hovold To: Krishna Kurapati Cc: Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Felipe Balbi , Wesley Cheng , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, quic_pkondeti@quicinc.com, quic_ppratap@quicinc.com, quic_jackp@quicinc.com, ahalaney@redhat.com, quic_shazhuss@quicinc.com Subject: Re: [PATCH v13 02/10] usb: dwc3: core: Skip setting event buffers for host only controllers Message-ID: References: <20231007154806.605-1-quic_kriskura@quicinc.com> <20231007154806.605-3-quic_kriskura@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231007154806.605-3-quic_kriskura@quicinc.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 20 Oct 2023 01:38:27 -0700 (PDT) On Sat, Oct 07, 2023 at 09:17:58PM +0530, Krishna Kurapati wrote: > On some SoC's like SA8295P where the tertiary controller is host-only > capable, GEVTADDRHI/LO, GEVTSIZ, GEVTCOUNT registers are not accessible. > Trying to access them leads to a crash. > > For DRD/Peripheral supported controllers, event buffer setup is done > again in gadget_pullup. Skip setup or cleanup of event buffers if > controller is host-only capable. > > Suggested-by: Johan Hovold > Signed-off-by: Krishna Kurapati > Acked-by: Thinh Nguyen Reviewed-by: Johan Hovold