From patchwork Fri Aug 16 03:29:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Xu X-Patchwork-Id: 11096719 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 61073112C for ; Fri, 16 Aug 2019 03:30:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3B3872881B for ; Fri, 16 Aug 2019 03:30:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 299582883C; Fri, 16 Aug 2019 03:30:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1E1202881B for ; Fri, 16 Aug 2019 03:30:13 +0000 (UTC) X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by groups.io with SMTP; Thu, 15 Aug 2019 20:30:12 -0700 X-Received: by mail.kernel.org (Postfix) id 363882171F; Fri, 16 Aug 2019 03:30:12 +0000 (UTC) X-Received: from huawei.com (szxga06-in.huawei.com [45.249.212.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CB2E6206C2; Fri, 16 Aug 2019 03:30:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB2E6206C2 X-Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id A2D90E5A7ACA03E00971; Fri, 16 Aug 2019 11:30:09 +0800 (CST) X-Received: from [127.0.0.1] (10.57.101.250) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.439.0; Fri, 16 Aug 2019 11:29:59 +0800 From: Wei Xu Subject: [GIT PULL] Hisilicon fixes for v5.3 To: Linuxkernel+Patchwork-Soc via Email Integration CC: "xuwei (O)" , Linuxarm , "John Garry" , Bjorn Helgaas , , "Rafael J. Wysocki" , "Linux Kernel Mailing List" , Zhangyi ac , "Liguozhu (Kenneth)" , , huangdaode , Tangkunshan , Jonathan Cameron , Shameerali Kolothum Thodi , Salil Mehta , Shiju Jose , , Message-ID: <5D562335.7000902@hisilicon.com> Date: Fri, 16 Aug 2019 11:29:57 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 X-Originating-IP: [10.57.101.250] X-CFilter-Loop: Reflected Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1565926213; bh=9504pfD06P7ezOiWQtHBMiaq5OcjI3k0lA7gqGt4UW0=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=f2ywbj+iBOGxA61JNUqRQ89228Khzqq+yn6tdXD3DRe9awtoG8igYpiII9vrwHf8uNV Qy4MleSxMwT/E6NmdmluHVq5+60P09xG5/DAaG1J9DsPElQ2gMREplGPls1/IwiRKcXMd 3VjbTRUM7hH62JUePD3oZLUJtCaE1oO7ORU= X-Virus-Scanned: ClamAV using ClamSMTP Hi ARM-SoC team, Please consider to pull the following fixes. Thanks! Best Regards, Wei --- The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at: git://github.com/hisilicon/linux-hisi.git tags/hisi-fixes-for-5.3 for you to fetch changes up to 10e62b47973b0b0ceda076255bcb147b83e20517: bus: hisi_lpc: Add .remove method to avoid driver unbind crash (2019-08-13 14:54:34 +0800) ---------------------------------------------------------------- Hisilicon fixes for v5.3-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 (5): 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 drivers/bus/hisi_lpc.c | 47 ++++++++++++++++++++++++++---- include/linux/logic_pio.h | 1 + lib/logic_pio.c | 73 +++++++++++++++++++++++++++++++++++------------ 3 files changed, 96 insertions(+), 25 deletions(-) -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#358): https://linux.kernel.org/g/patchwork-soc/message/358 Mute This Topic: https://linux.kernel.org/mt/32894831/1554929 Group Owner: patchwork-soc+owner@linux.kernel.org Unsubscribe: https://linux.kernel.org/g/patchwork-soc/unsub [patchwork-linux-kernel-org@patchwork.kernel.org] -=-=-=-=-=-=-=-=-=-=-=-