Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1846863imm; Sun, 15 Jul 2018 19:11:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdL5WlOiwnY61Amc7/PqtKqtTmUPTLsjwCG7plbI7hS686FK+WyoEzAn/zGc1mStZGP9bYM X-Received: by 2002:a65:6104:: with SMTP id z4-v6mr13825749pgu.361.1531707074749; Sun, 15 Jul 2018 19:11:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531707074; cv=none; d=google.com; s=arc-20160816; b=SKSpTQiqqXGPktALa4vC6wNh14DcTBZUejtxdK8Sv4FD2xXTiMZH02c2Pe4cCSZMhI 4AZ3CkiWSrqqCIXfZb6xTFlV/tnfNz3aXBkRXDqv7N5NmP2sYnccIw8vNHq5OH2Xa9ry O/Zqb4xElbcx68b61uZt2tkf91rxXjaSdpV2cbDH0A2X53v+qgp/CUiRUOFU4Uicc9Wx qtnSKwaEsbVqwWPPP+PJuzSHWegPdfvM5uI46/tqlCrRO1nCdiEa0hsLCYzmOQzT4Ohu HBCp6dDbd4vs5NU19mu6IyUNs6HS65DWRsbRu3Xqy6ApM5ggwXUe/DA4GX2lxh1AMCin nx7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=Mc8dH15DxH4pOnch30eNZtGEiUSI2wOAkKRm7U0c6H4=; b=AGMFJjhwAAaRrs+0vXd/jqKR11IWaPrFKVf08xLyDEaWhcAhJ7BTCvMF+BYDcLqlFI 2CGo4dvOIesZtH4FT94x+FpGT0/w9Pw8ciYthB1fyg5zEDa1BkOr2yY+10QbBrewXtG4 ROH4rBVFs9dt6r81AEr/9BT8bfBcMP0dSsBONXyaUJbYGA8DyRB56GIxKMZPCJI3AS9r 9dZXSSdycf3jKF3h02O6I16Ggx1E2+OMu2Se1s0JznQQ6v+mKvb+ZknfwzZR39hBO6oR H2ncviWKMQUyfM4KEuEQwJWt9hFkX7n5Y/IY9VeoWYU1NOfJcByxkGW0WQ9UQ1bNc7cx bl3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j125-v6si860120pfc.243.2018.07.15.19.10.46; Sun, 15 Jul 2018 19:11:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727469AbeGPCex (ORCPT + 99 others); Sun, 15 Jul 2018 22:34:53 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:45738 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727008AbeGPCex (ORCPT ); Sun, 15 Jul 2018 22:34:53 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C7DAF401C7E8; Mon, 16 Jul 2018 02:09:50 +0000 (UTC) Received: from [10.72.12.29] (ovpn-12-29.pek2.redhat.com [10.72.12.29]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2BA212156893; Mon, 16 Jul 2018 02:09:45 +0000 (UTC) Subject: Re: [PATCH v4 0/3] uio: fix potential crash bug To: Hamish Martin , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" Cc: "jannh@google.com" , "pkalever@redhat.com" , "pkarampu@redhat.com" , "atumball@redhat.com" , "sabose@redhat.com" , "mchristi@redhat.com" References: <1530929139-13652-1-git-send-email-xiubli@redhat.com> <7c0ae0c9-2af6-c7c3-49b0-24302584a24d@alliedtelesis.co.nz> From: Xiubo Li Message-ID: <095acd45-675d-b9c3-244a-d1b6cdc1e8f0@redhat.com> Date: Mon, 16 Jul 2018 10:09:41 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <7c0ae0c9-2af6-c7c3-49b0-24302584a24d@alliedtelesis.co.nz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Mon, 16 Jul 2018 02:09:50 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Mon, 16 Jul 2018 02:09:50 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'xiubli@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/7/13 4:34, Hamish Martin wrote: > Hi Xiubo, > > Tested-by: Hamish Martin > > I see these were already merged into Linus' tree but I wanted to let you > know that I tested v4.18-rc4 (which contains these three patches) and > the issue which led to my original series is still fixed and this patch > series of yours has caused no regression in our scenario. This was > tested on PPC 64 bit system (NXP T2081). Hi Hamish, Cool and thanks very much for your testing about this. BRs Xiubo > Thanks for resolving that. > > Regards, > Hamish M. > > On 07/07/2018 02:05 PM, xiubli@redhat.com wrote: >> From: Xiubo Li >> >> V2: >> - resend it with some small fix >> >> V3: >> - switch to use request_threaded_irq >> >> V4: >> - remove useless checking code, Thanks Mike. >> - Thanks very much for the review from Hamish and Mike. >> >> >> Xiubo Li (3): >> uio: use request_threaded_irq instead >> uio: change to use the mutex lock instead of the spin lock >> uio: fix crash after the device is unregistered >> >> drivers/uio/uio.c | 139 +++++++++++++++++++++++++++++++++------------ >> include/linux/uio_driver.h | 2 +- >> 2 files changed, 104 insertions(+), 37 deletions(-) >>