Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 805FDC433E0 for ; Fri, 12 Mar 2021 07:47:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5DA8A64F82 for ; Fri, 12 Mar 2021 07:47:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231752AbhCLHq2 (ORCPT ); Fri, 12 Mar 2021 02:46:28 -0500 Received: from gw.atmark-techno.com ([13.115.124.170]:45786 "EHLO gw.atmark-techno.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231480AbhCLHqA (ORCPT ); Fri, 12 Mar 2021 02:46:00 -0500 X-Greylist: delayed 570 seconds by postgrey-1.27 at vger.kernel.org; Fri, 12 Mar 2021 02:46:00 EST Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by gw.atmark-techno.com (Postfix) with ESMTPS id 7B2DF8036B for ; Fri, 12 Mar 2021 16:36:27 +0900 (JST) Received: by mail-pg1-f199.google.com with SMTP id c30so12794686pgl.15 for ; Thu, 11 Mar 2021 23:36:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Ni/mHNWDgJgCkV2Qov8K8m4Vof33qd0Q1DF+vfmUdJw=; b=f4r6huINRfGV54BAr7h/1seCdhnJL+GZTnDou7jTnytKnv04BYt3o5xBJRN7x8q3Zu vO8nfQqRI8uaqgTZyek8YNnz6lGK0kPpZvqs5Nd/K3zARC4PtAVKDniC0x3gRByB3+uG T/Le65EnWhYr3LalryHgAjtNicwDvk97DdFS91RHFtrUn0tILv8ZGCwdB00/mRMrhHsX HzSsQw5R0G2o/Cz9VYK2sQN/0kEjIu0aSckUUcRrClP9PeWRJsKbUER0euB6rAhvi6G7 0djKQc6AYkYMhK1z6Kz/qOvUEPvTpayihfk5kD+98VB2YUcgSEZZmsXwH0kWV3nfByBa 7Tdw== X-Gm-Message-State: AOAM5321jVW5b2G9TfVyRtcMaj9K4HYEU8pEQFhMJz1bp4atEPsumcz6 LhFij9jqUgQ1Z2TxSjG2BWuS5M+CbNyZ17IEqGb7BxZf7dZbY/PrFcpsFFRLMybti+Vj0GNi72F eHS/iuYOTeM/RvlQOf0mVeGmeFsY= X-Received: by 2002:a63:5924:: with SMTP id n36mr10949130pgb.183.1615534586545; Thu, 11 Mar 2021 23:36:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzPIbKeb6psvpJsnHpQF8t4zkciEeez16xtGwuvrFudffyi1swnWFKsq/aprlUbvp4R5h1Ymg== X-Received: by 2002:a63:5924:: with SMTP id n36mr10949118pgb.183.1615534586316; Thu, 11 Mar 2021 23:36:26 -0800 (PST) Received: from pc-0115 (35.112.198.104.bc.googleusercontent.com. [104.198.112.35]) by smtp.gmail.com with ESMTPSA id e131sm4680920pfh.176.2021.03.11.23.36.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Mar 2021 23:36:25 -0800 (PST) Received: from martinet by pc-0115 with local (Exim 4.94) (envelope-from ) id 1lKcLQ-0010Se-An; Fri, 12 Mar 2021 16:36:24 +0900 Date: Fri, 12 Mar 2021 16:36:14 +0900 From: Dominique MARTINET To: Guenter Roeck Cc: Laurent Pinchart , Mauro Carvalho Chehab , Sakari Ailus , linux-uvc-devel@lists.sourceforge.net, linux-usb@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND v3 0/5] media: uvcvideo: Fix race conditions Message-ID: References: <20200917022547.198090-1-linux@roeck-us.net> <20200917124714.GD3969@pendragon.ideasonboard.com> <990652f1-b6e4-211c-7a96-8c3fc3ea6efd@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <990652f1-b6e4-211c-7a96-8c3fc3ea6efd@roeck-us.net> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi, Guenter Roeck wrote on Thu, Sep 17, 2020 at 07:16:17PM -0700: > On 9/17/20 5:47 AM, Laurent Pinchart wrote: > > On Wed, Sep 16, 2020 at 07:25:42PM -0700, Guenter Roeck wrote: > >> Something seems to have gone wrong with v3 of this patch series. > >> I am sure I sent it out, but I don't find it anywhere. > >> Resending. Sorry for any duplicates. > > > > I haven't checked the mailing list, but I've found it in my inbox :-) > > I'm not forgetting about you, just been fairly busy recently. I still > > plan to try and provide an alternative implementation in the V4L2 core > > (in a form that I think should even be moved to the cdev core) that > > would fix this for all drivers. > > > Thanks for letting me know. As it turns out, this problem is responsible > for about 2% of all Chromebook crashes, so I'll probably not wait for > the series to be accepted upstream but apply it as-is to the various > ChromeOS kernel branches. We have a customer who reported the same issue recently, has there been any development? I don't see anything in either uvc nor v4l2 that would address the race since this mail half a year ago (well, I could have missed it ;)) If nothing happened I'll probably backport this series as well, at which point it might make more sense to take it in until a better fix gets here then revert it... Thanks! -- Dominique