Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2296124rdb; Mon, 20 Nov 2023 07:23:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGA8laVB303iw+tMaaxQOS5I5rBaupJJdMBbnNVGODJxsck0Y8dxvO4Q+1IL9ER0GPd7Iib X-Received: by 2002:a62:6385:0:b0:6be:2e07:5c5c with SMTP id x127-20020a626385000000b006be2e075c5cmr5708264pfb.20.1700493793468; Mon, 20 Nov 2023 07:23:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700493793; cv=none; d=google.com; s=arc-20160816; b=pcTH5L0iTIiSf9l8wHJJkxgpwJrM2tUyXbUWdnPC7WKa471ckvXK0/Ecz2kBg+MSTH UgH48tMmH2zqJy4Q1dTC81QG05y8/28eVvElN2fthML8XHiQnbOvEmznMCgevOnix/7g K5tH3g2FMSdHx/oClA/4ODfW0eusB86w69hiCYNdiGKcLuBpunEIRiaCyw2DFhWbhaN+ EygzcW4cf59hzcUlcuIgMvD5R3aZG071wU0VIYj4tK/sC3UV5P3JrEk3Qq7zoVktR11F QmEq6KH4j+UazQhlIGJLAUCMGv+gVQRkJRhq8l2wc7IJLVaVtVEYc3bU7EbYXcHmuxCm a7aQ== 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=ZxbmrPGylWswXo8aLH4U/JNxik/OiDDURPN0WtCCdCc=; fh=ZRTonBYDYLXPQlLz/GJ/AZK4yitJ4xX4Q5LrsmYhYg4=; b=db+xw0kIP+b7PoIzbfgth4HSaLeOcI1RM42T+/jqwrk1O90GItffwEHBcfU+Iaoeeg CMVZNqqLZDw4KI+oL3ubaPU70cix+X8OLPd3xjk9NjcSCn8wAimNAQ7ORfqJ5+FVkxgb xal6a64JhNwHL+ydKpd1tc4hsUyXLh5l/xx+S57X8TfRsryXCDuOD3w8+4/N257nodDX AVtPyvtxQGw9PLEy6x4KrKjVUlVnB8y+Tk7B4oeZa5h+OEGybbrRObUFzWwg8QeKxt1W ClWV2Elm5/pJR2ppT4eRtKyvES2gHZ0qduuThENFzhHAupT8F58+O4k1+08lFOpIkON7 EiNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="XX/j28qA"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id b17-20020a656691000000b005ab1fd6fbc1si8349434pgw.847.2023.11.20.07.23.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 07:23:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="XX/j28qA"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0F9F380CF53B; Mon, 20 Nov 2023 07:23:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233710AbjKTPXG (ORCPT + 99 others); Mon, 20 Nov 2023 10:23:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233697AbjKTPXF (ORCPT ); Mon, 20 Nov 2023 10:23:05 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC093D8 for ; Mon, 20 Nov 2023 07:23:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700493781; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZxbmrPGylWswXo8aLH4U/JNxik/OiDDURPN0WtCCdCc=; b=XX/j28qAnJX+ci4pJo96vLQPGJ91NVKOnnK9kKcwE3ZrLntj7fOKv7sGGfHwUlzLUkWEQz kkL5gVsL7LxXpLtollOIfsrwOdFU7XfFxFHL6h0jOzBgDLBkZSKiNVrXuvPPgLB7QPJSf8 ANgKJi2eXVXf/OWo3U/NZFF0dp+3Raw= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-338-Z2Hd4SFIPImN50TpJyJAFA-1; Mon, 20 Nov 2023 10:22:59 -0500 X-MC-Unique: Z2Hd4SFIPImN50TpJyJAFA-1 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-41cb7c104ddso51226121cf.0 for ; Mon, 20 Nov 2023 07:22:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700493776; x=1701098576; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ZxbmrPGylWswXo8aLH4U/JNxik/OiDDURPN0WtCCdCc=; b=M5cF6abcvhG4mL1NCixiFFBaIkvvRvF2O5dIdcmZMjbi/1zyxP2rzzBUmYsU0ABcvW W8WSRTIDgHIz3F6NJY5WE5SvjfPKETJrR1iuEiLoCs/Wzkw0tByteRJaO6iCKO67sWvL RNoKsC/v4+mjHa+Pg629u3RdyWs2q6XPrj/UkWwaCI0ZT/vXU2J1ZmIRsbIhpEfhn9uU tIutcgh7b2R6rV2n1/9oP7wL8HsYFwZAR4ASSo6WxiagO22PiPrmRLUN67Chk2lm1yBX uWqAcbasXUB0IJAsgvLs4+bHWZ4IjHcAhRQeQ1FwZ2O0b0vnKzBxgMDuRmLDnl8jASju HJRw== X-Gm-Message-State: AOJu0YzHLHSGKwMu+8FuCqEPHCR8BQWVrINKzJ+e65Atq8xW2CyZAG8n vPwxCR3osoIolq6cUneWD3hyXBL7pDV6B5n/DMTaNJMend2pOj8N+Iv9T5BBJWN3QslysRq+oUT JF2J2ZPjvJGyUd243RcSX+tP8 X-Received: by 2002:ac8:5b84:0:b0:41e:1cd3:2ae9 with SMTP id a4-20020ac85b84000000b0041e1cd32ae9mr8941106qta.64.1700493776787; Mon, 20 Nov 2023 07:22:56 -0800 (PST) X-Received: by 2002:ac8:5b84:0:b0:41e:1cd3:2ae9 with SMTP id a4-20020ac85b84000000b0041e1cd32ae9mr8941086qta.64.1700493776436; Mon, 20 Nov 2023 07:22:56 -0800 (PST) Received: from fedora ([2600:1700:1ff0:d0e0::37]) by smtp.gmail.com with ESMTPSA id jr44-20020a05622a802c00b0041519614354sm2730324qtb.7.2023.11.20.07.22.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 07:22:56 -0800 (PST) Date: Mon, 20 Nov 2023 09:22:54 -0600 From: Andrew Halaney To: Konrad Dybcio Cc: Johan Hovold , Greg Kroah-Hartman , Andy Gross , Bjorn Andersson , Thinh Nguyen , Krishna Kurapati PSSNV , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] USB: dwc3: qcom: fix resource leaks on probe deferral Message-ID: <74cswe5tivcctmnty3gfavzsxdvjz5m4rktyj5auzwvrndninm@dah4h2fdj3zv> References: <20231117173650.21161-1-johan+linaro@kernel.org> <041f239f-7b40-4681-8c6c-2268f9c2c684@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <041f239f-7b40-4681-8c6c-2268f9c2c684@linaro.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 20 Nov 2023 07:23:08 -0800 (PST) On Sat, Nov 18, 2023 at 12:47:30AM +0100, Konrad Dybcio wrote: > On 17.11.2023 18:36, Johan Hovold wrote: > > When reviewing the recently submitted series which reworks the dwc3 qcom > > glue implementation [1], I noticed that the driver's tear down handling > > is currently broken, something which can lead to memory leaks and > > potentially use-after-free issues on probe deferral and on driver > > unbind. > > > > Let's get this sorted before reworking driver. > > > > Note that the last patch has only been compile tested as I don't have > > access to a sdm845 device. > > > > Johan > I'll sound like a broken record, but: > > is there anyone in the world that is actively benefiting from this failed > experiment of using the ACPI tables that were shipped with these SoCs? > > There are so so so many shortcomings associated with it due to how Windows > drivers on these platforms know waaaay too much and largely use ACPI to > "bind driver x" and I simply think it doesn't make sense to continue > carrying this code forward given little use and no testing. > > Konrad > For what it is worth, I have agreed with your opinion on this every time I've read it. I am not the target audience of the question, but I'll at least give my personal (interpreted: uneducated? undesired?) opinion that the ACPI support in here adds little value and extra burden. Of course that topic is a bit independent of this series, but I'd be curious if a patchset removing the support would be welcomed or not by maintainers, so I'm stirring the pot by replying here :) Thanks, Andrew