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 54FB5C48BD4 for ; Tue, 25 Jun 2019 10:23:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 298EB214DA for ; Tue, 25 Jun 2019 10:23:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731283AbfFYKXb (ORCPT ); Tue, 25 Jun 2019 06:23:31 -0400 Received: from lhrrgout.huawei.com ([185.176.76.210]:33032 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726301AbfFYKXb (ORCPT ); Tue, 25 Jun 2019 06:23:31 -0400 Received: from LHREML712-CAH.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 8453260D02D8B346C6FA; Tue, 25 Jun 2019 11:23:29 +0100 (IST) Received: from [127.0.0.1] (10.202.227.157) by LHREML712-CAH.china.huawei.com (10.201.108.35) with Microsoft SMTP Server id 14.3.408.0; Tue, 25 Jun 2019 11:23:22 +0100 From: Wei Xu Subject: [GIT PULL] Hisilicon fixes for v5.2 To: , linux-arm-kernel , Olof Johansson , CC: , "xuwei (O)" , John Garry , , , , Linux Kernel Mailing List , Zhangyi ac , "Liguozhu (Kenneth)" , , huangdaode , Tangkunshan , Jonathan Cameron , Shameerali Kolothum Thodi , Shiju Jose , Salil Mehta Message-ID: Date: Tue, 25 Jun 2019 11:23:21 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.157] X-CFilter-Loop: Reflected Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org 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(-)