Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3605180ybd; Tue, 25 Jun 2019 05:37:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqy6YpD6w/2G7DKSDSYFDS+mZ3gbILC1a662tP4npO3FEQ1FX9cP5oPt15vIQhIpGmIU51MO X-Received: by 2002:a17:902:bd05:: with SMTP id p5mr77916448pls.92.1561466222093; Tue, 25 Jun 2019 05:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561466222; cv=none; d=google.com; s=arc-20160816; b=vh0PecXvs8dpF6GI9UTTC60vPnXP7hMusTeoAl9pDMEEA6GSK8dVN0cJYGWZNL1bhp VtHYPi+bX1AqnYEPE0JZ7H+/vEwVOcIOHG3UkM1nnQnkcYwO0CKXPVkQKTxMDQzYINY1 PeLMECa8Pds4JgiFn/JZzZcdo4JyC8LIhhQhcmWC2DHPFqd48Gdgp5hHVkdWV6CNPukG wO7nRCbUvG9qJOvAj7i/ypVgOJa7DkpD1zfZ1M04cpjZDNb75ExkR3+S/eutBPhOrhZJ KRAjf4/XNPDrjrV1oHT6Fp+w4HX3dk3+R84tPochkePCNIS6A8B6SulnsmdKJqd14T3X Ng3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=cyfsv6aPHXjCVbm1OIbBzHGAdbc+nnUMcJI6zZmE0+A=; b=hmOXHOetBK+imVQg1fncm4LPh6gRza5qAF7fdtuwji0T8r25Ncf70sNW4A/ACsBF6c B3hOgpNGAaHwHUJ70PFnZ3Ijs5n0ZZcEcuCHqtD1hX5Tw83NfVWIE5QsARtWUgC+yuOu MU8STQY9Wer9qk7IjD3S1JUD6BHbqPaHVThfNkIvOMHTC0AL8mjsKBornbbyarI/p0FC RpCpN13x/adV7pqzc5RYPWtFJF7L9bdsEAVB1Alv8gIiUH40h2Bl7kv9b1e8aX4GFtY3 gZnaqyXL81OywNldpfEFf5bGNzKyWSJ+LLxvQjZN5eTSxQ2PMwZGzT/hSZM7LPq64Mm4 5KGA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v85si10617474pgb.263.2019.06.25.05.36.45; Tue, 25 Jun 2019 05:37:02 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728261AbfFYKot (ORCPT + 99 others); Tue, 25 Jun 2019 06:44:49 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:19106 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726521AbfFYKot (ORCPT ); Tue, 25 Jun 2019 06:44:49 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 12EA0BDC5EEDA6055D6F; Tue, 25 Jun 2019 18:44:45 +0800 (CST) Received: from [127.0.0.1] (10.202.227.238) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.439.0; Tue, 25 Jun 2019 18:44:33 +0800 Subject: Re: [GIT PULL] Hisilicon fixes for v5.2 To: Wei Xu , , linux-arm-kernel , Olof Johansson , References: CC: , "xuwei (O)" , , , , Linux Kernel Mailing List , Zhangyi ac , "Liguozhu (Kenneth)" , , huangdaode , Tangkunshan , Jonathan Cameron , Shameerali Kolothum Thodi , Shiju Jose , Salil Mehta From: John Garry Message-ID: <1dc5a7b1-5476-d732-74ba-d044e63706fa@huawei.com> Date: Tue, 25 Jun 2019 11:44:23 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.238] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/06/2019 11:39, Wei Xu wrote: > Hi ARM-SoC team, > > Sorry, I forgot to mention that one or two patches in this patch set > are not pure fix. > We are also OK to queue for v5.3. > Thanks! > Yes, specifically patch "lib: logic_pio: Enforce LOGIC_PIO_INDIRECT region ops are set at registration" is a minor tidy/optimisation. Others are fixes or required for fixes. And adding for v5.3 is fine, then we can ensure that the necessary is backported to stable when in mainline. Thanks, John > Best Regards, > Wei > > On 6/25/2019 11:23 AM, Wei Xu wrote: >> Hi ARM-SoC team, >> >> Please consider to pull the following changes. >> Thanks! >> >> Best Regards, >> Wei >> >> --- >> >> The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: >> >> Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) >> >> are available in the Git repository at: >> >> git://github.com/hisilicon/linux-hisi.git tags/hisi-fixes-for-5.2 >> >> for you to fetch changes up to 07c811af1c00d7b4212eac86900b023b6405a954: >> >> lib: logic_pio: Enforce LOGIC_PIO_INDIRECT region ops are set at registration (2019-06-25 09:40:42 +0100) >> >> ---------------------------------------------------------------- >> Hisilicon fixes for v5.2-rc >> >> - fixed RCU usage in logical PIO >> - Added a function to unregister a logical PIO range in logical PIO >> to support the fixes in the hisi-lpc driver >> - fixed and optimized hisi-lpc driver to avoid potential use-after-free >> and driver unbind crash >> >> ---------------------------------------------------------------- >> John Garry (6): >> lib: logic_pio: Fix RCU usage >> lib: logic_pio: Avoid possible overlap for unregistering regions >> lib: logic_pio: Add logic_pio_unregister_range() >> bus: hisi_lpc: Unregister logical PIO range to avoid potential use-after-free >> bus: hisi_lpc: Add .remove method to avoid driver unbind crash >> lib: logic_pio: Enforce LOGIC_PIO_INDIRECT region ops are set at registration >> >> drivers/bus/hisi_lpc.c | 43 ++++++++++++++++++++---- >> include/linux/logic_pio.h | 1 + >> lib/logic_pio.c | 86 +++++++++++++++++++++++++++++++++-------------- >> 3 files changed, 99 insertions(+), 31 deletions(-) >> > > > . >