Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp583959pxb; Thu, 17 Feb 2022 10:09:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxyWMj5i8sIrF0c0Ye0Nqkk0Dt1E54OUxffPINqcZBntcULo1qACO5K3R6XNgCvYunk9zt7 X-Received: by 2002:a17:90a:c7c9:b0:1b9:64c5:bb98 with SMTP id gf9-20020a17090ac7c900b001b964c5bb98mr4285361pjb.236.1645121366235; Thu, 17 Feb 2022 10:09:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645121366; cv=none; d=google.com; s=arc-20160816; b=Dt3oLfnInaGFhZfVO9iq3cZ6ZPaxCJoc6Ut5fqnsZLPZjJ+wKOxemQC1abwvH/j9Ru CaMiM8CNZ6iuXG8LdbkBxFKxJ6RAzqdCJlBJNQFntp75kwj31RXeQp8GDqufSB2FqQMn dp6phXILB6wafnEpLMS0q+gDPmx3wR0gZC/Eq+bZRUQdHmQzkuikVTVndWCkqJH11IAL 1TBBkYHCXJGRKJGYvRBEFNKO4D9Fzbxi/OkDhMCoLGcD9ETK2JYzliPb1rC95OsFp9YV wf104b+mbdQpCKI2jF74Op5oaxth4QOiODOwM5SerMR4tc0wbmnos6In8xSs20sNd5Yn /O5Q== 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=6Y++KLCA7PkYTObLn0nJXa19qOHRn33fUcpkIytR/cc=; b=fQ/CzoORRNmTEQd+n+Ro6VJCPSY3r76FvxEgBDtfONndqyCb9SihnDw2W67wn3BYh5 0gmKPUYO3MCp4I5eEjolEWtzJUkgbBs30uOspmj3bUSHCuVPAg72xkJ87qX6mbggocFv 07lOw8SA2iHNhqrVuwH9BcNUGpu5vx2LKIWKhBSwhI5lpv3vwfJdAzjmjOj0OzD916yN Mxwl60h/+1pgozAfcp7FaTRGR9b17EB+LI5urWN3TDznGu79kk3c56tSCgeQYS4qMJiv LRq2nDP9zUMtr1L0CyfjktA2zgVJGVVlYhkgWocuKjTEPrzVm37hCRTtE6z76MpeL4vo d2vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ctzj9qYX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k21si5741240pll.131.2022.02.17.10.09.07; Thu, 17 Feb 2022 10:09:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ctzj9qYX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241727AbiBQOJS (ORCPT + 99 others); Thu, 17 Feb 2022 09:09:18 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:41580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230104AbiBQOJP (ORCPT ); Thu, 17 Feb 2022 09:09:15 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8909F2B1657; Thu, 17 Feb 2022 06:08:59 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4BE06B821B0; Thu, 17 Feb 2022 14:08:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F949C340E8; Thu, 17 Feb 2022 14:08:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1645106936; bh=VoulgDqx/o2S+UIto0WbQUhu6IyrEAGb9gidP9e2DWg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ctzj9qYXdaQqbnjHcUtT4/xgomJoaerH3oPclUjUHgFE6y3Jp0H88nII3odRZR7Q4 w+vcJmdliwGCG4C4gZ7JcPUwXOhakozb0nf2N5rLmT1uKiVlVBJOIOWpka4yWKuo90 /FfzdK0m90xQ+hdrted09EQMLDqfnBjOqcd4nCIw= Date: Thu, 17 Feb 2022 15:08:54 +0100 From: Greg Kroah-Hartman To: Jens Axboe Cc: Heikki Krogerus , linux-usb@vger.kernel.org, LKML , Sven Peter Subject: Re: [PATCH] tps6598x: clear int mask on probe failure Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Thu, Feb 17, 2022 at 06:51:27AM -0700, Jens Axboe wrote: > On 2/17/22 1:30 AM, Heikki Krogerus wrote: > > On Tue, Feb 15, 2022 at 11:22:04AM -0700, Jens Axboe wrote: > >> The interrupt mask is enabled before any potential failure points in > >> the driver, which can leave a failure path where we exit with > >> interrupts enabled but the device not live. This causes an infinite > >> stream of interrupts on an Apple M1 Pro laptop on USB-C. > >> > >> Add a failure label that's used post enabling interrupts, where we > >> mask them again before returning an error. > >> > >> Suggested-by: Sven Peter > >> Signed-off-by: Jens Axboe > > > > Should this be marked as a fix? > > Maybe, I can try and dig out the offending commit. From some quick > checking, it didn't come in with recent fixes, so it's probably been > there since support got added. Maybe we just mark it stable? > > > Reviewed-by: Heikki Krogerus > > Thanks! Greg, will you pick this up? Will do, thanks. greg k-h