From mboxrd@z Thu Jan 1 00:00:00 1970 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=-10.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 20023C48BD4 for ; Tue, 25 Jun 2019 10:44:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 00435215EA for ; Tue, 25 Jun 2019 10:44:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726958AbfFYKot (ORCPT ); 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-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@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(-) >> > > > . >