Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1310481pxf; Fri, 12 Mar 2021 06:57:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7WDbizJBPtMYRsCUSA6kqrq++8lgbaqN6yjsi32HTDqjGvokxljxn6yLm5vSsbcCT5KcC X-Received: by 2002:a05:6402:2695:: with SMTP id w21mr14555807edd.99.1615561049660; Fri, 12 Mar 2021 06:57:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615561049; cv=none; d=google.com; s=arc-20160816; b=fVB2yyTeFNE+JVXLPsr9j3YZ+3OlbIb4sIkQY2TyNoL7UxEFdvY59RWdFyHML13t8r IiZco3HNxlYRoN0NPIPV0lLoeMFs8K2D0uCYjc4HLLMzjLLdW9N3+aa/XygjSModrHcs DXPkBs0lnHWm1i92NW49vskxjawpR5sVdN0REIKwk4tJnUaGHn3gBGhEw5KzoXj4ZlFl Rwj9a2uk0MZ+W1FZ0tCTzgs2yrAUv6Q91rlgOesi1wmst6o34CPOw/+Fftk+RGmmdgxR PqlnXbEq1A780dTlnuKJFg2Vvt4vx/QxpDltiuEYMlalyN5+HOV91RGd1OKpUeVPaTbF eT7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:autocrypt:from :references:cc:to:subject:sender:dkim-signature; bh=m78mBvSniWqKMDyGJEBqM8ia3GGy83UgRaI78+ZpVNs=; b=eIC7vfiU/7SAWYADaFTaTlvk8ziuc1uHqZX64xwknCZk8xzYn0zMgXcOa+aJIf3pPo agBo2VIc0PsM0GFHhWw6sVfhduh6GgRZgikq0fVOLgOhA1Kb8UYxfTKmabQqmYBFutKj iwEZxyaar6HfL9YPP5+taicur6IVgQhh3KI6RpSqm7/9mqeHKYx6tpmS+LAx3nSfGQ8D R/LJNznWrPTDRL6hUN97tmELuMnGip7jkhvHY5h7HwcZPcumExFVjOeloLkWwkf9dqBP lUkLgNiUqIRzr6aYu2+9ZZ7pNNwaEnAiXjUQsX7QIjbispj/tH5p0o0HeF4rvyh+toEU dYfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=px4Fb5SG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e8si4222951edq.351.2021.03.12.06.57.07; Fri, 12 Mar 2021 06:57:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=px4Fb5SG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231371AbhCLOz2 (ORCPT + 99 others); Fri, 12 Mar 2021 09:55:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230521AbhCLOy4 (ORCPT ); Fri, 12 Mar 2021 09:54:56 -0500 Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD92AC061574; Fri, 12 Mar 2021 06:54:55 -0800 (PST) Received: by mail-oi1-x22b.google.com with SMTP id d16so17794469oic.0; Fri, 12 Mar 2021 06:54:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=m78mBvSniWqKMDyGJEBqM8ia3GGy83UgRaI78+ZpVNs=; b=px4Fb5SG1RihopR8pXYMC7LNGcjKiTrrweSNpWcbEUQsdyI8QWTXncbMYnP/4dvNVQ iajkhic181Wb9MKx1zFPtKzPRuSP5uUeBshD0HE9ML5CfkBTOyAzCtvb8n1wk7/8XPgT 13FtU55/vHyHBQB04vn991dWzkHm+aKfbSVQSA5OkIwho/agLHrXyJR7oELKxV2M5JtE 7nophJtMuBeC4buSKkVwKOicZXzZ2PiI1T6UmVQ7r6xvcKZaxNHfJgl4cRtexcSBhh2N ug6B3obyAsI8CFn/a/WSkNUdtiPfJ46i3A3Voyu/tcazdAL4opqj3RKqlgEwchjUB+W5 YG2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=m78mBvSniWqKMDyGJEBqM8ia3GGy83UgRaI78+ZpVNs=; b=np42TkBmausowPTpT0rs4JAGkvL4hovc1gleXRI04ajP5q83nO1HKlPxJXIlJDbzCN mr1ldCfTh6++luwl8n63tCdDaEl/aYs/stNtUCMyVC27j+LDnBBoRWSc2spEujhPpUgD C6CENevZsfreLJcUxReDhwc5s9hkV4jEoraNpmgny/px5KVy8H3DWI7K1x9vvBrEsXSP VtEcHhjmMHr1wKgfZVSBaOmrwrpGerSxIoMpRYe0U/sizrPMHzbvlJnwgv1zY3Y+biv2 YdDaPLI49N2se/CTsdL4h9Ipcw68whN46z61V10xRYnRp3EkpIYCyONMU7zDjtaY1u3y 1pTg== X-Gm-Message-State: AOAM530AFXQTbHnWg4pod3CiuLFPNVpAWYTqDzM2GaWCCFhTxnoI51WH AbKonRbogpwJriIEncMJR+o1Nqi4lRQ= X-Received: by 2002:aca:3046:: with SMTP id w67mr9977443oiw.57.1615560894935; Fri, 12 Mar 2021 06:54:54 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id s21sm1268137oos.5.2021.03.12.06.54.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Mar 2021 06:54:54 -0800 (PST) Sender: Guenter Roeck Subject: Re: [PATCH RESEND v3 0/5] media: uvcvideo: Fix race conditions To: Dominique MARTINET 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 References: <20200917022547.198090-1-linux@roeck-us.net> <20200917124714.GD3969@pendragon.ideasonboard.com> <990652f1-b6e4-211c-7a96-8c3fc3ea6efd@roeck-us.net> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe1Zi/8Xo/2+M1dSSEt196rXaC kwu2KgIgmkRBb3cp2vIBBIIowU8W3qC1+w+RdMUrZxKGWJ3juwcgveJlzMpMZNyM1jobSXZ0 VHGMNJ3MwXlrEFPXaYJgibcg6brM6wGfX/LBvc/haWw4yO24lT5eitm4UBdIy9pKkKmHHh7s jfZJkB5fWKVdoCv/omy6UyH6ykLOPFugl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82EZtrhLuLjHRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= Message-ID: <74c0c32a-ebb5-34e0-d3a2-6b417ce328a1@roeck-us.net> Date: Fri, 12 Mar 2021 06:54:52 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/11/21 11:36 PM, Dominique MARTINET wrote: > 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? > Not that I know of. We applied the series to all Chrome OS kernel branches, and it reliably fixes the problem for us. We'd like to have the problem fixed upstream; until that happens we'll have to carry the series forward. > 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 ;)) > The problem still exists in the upstream kernel. Guenter