Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3587109ybd; Tue, 25 Jun 2019 05:17:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVdyq6b0j/kL/cqEAS5T11prChl2eBQIbHTFa5A/iXh3f1WnbUokfb4g+MuxKcPjUMW5iP X-Received: by 2002:a17:90a:601:: with SMTP id j1mr31039176pjj.96.1561465077315; Tue, 25 Jun 2019 05:17:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561465077; cv=none; d=google.com; s=arc-20160816; b=OXh2MXqHlhPv3tP/SUy72ZEqdhIPlMRcup3IF8alr8L1WK5FINKH1NR/EXQYvHCFKf VQxjz0sKr1BeBTh5GCf+l+3E7+whEnHn9za6Bv2OhvlIP0WA/Nx8jDlqeapRg1RdenfY xKwuT0P/7XTJ553/MT3JWIaatNFvtnM3vLElVZwv+xIpp4XLwvho7+D4HyBNAz93SOBy s/LQhBzysu2lUBz/zx87vOIwPh9wM2xKfsaZp5JzOLBb+EjnPKGNFSLKtFGMCbs52m97 y7wn9E3l11iA9jQBqJRTBozZ06Fh93mAqBF0aMeM/m4FpHIiPxWugUPB1iEzdspGrZUV FyuQ== 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 :content-language:mime-version:user-agent:date:message-id:cc:to :subject:from; bh=VYBv4g1ihOEzt45iIdtU0CCI1BLYy4mowoILmgxkkcY=; b=mgXpGeVg3P3dyesiTHBScVoClBQYDHAv98jE6a/P+ikj2UZBJu+m/OLx8Z4FNdoCNH bovpJy030TbM6TWQ+nREQXoz7s6q06AgkcALTe4mZ6CuQiF7LnwAwCo63XpMWtW+NQRM W8fqVYu5/MeDF3gLxb2H7+zmOOpkFXyhLYhvoud998BO6zSuQRwXs20AZV/fliuRPLSR /NauyK9QMTiNyhjlMIIE96i1BrHDUH2Hxwv4hU/LMelAKZDjOQwL93FuM5wPPHSa9JwV D1iy0o8cz4CL8ejEPrPIBb9MQdG5m4+nPD5na6fO+7vruTnD7ZuAGWckiqJpUHk3vyGU BW3A== 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 33si240081ply.10.2019.06.25.05.17.41; Tue, 25 Jun 2019 05:17:57 -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 S1731379AbfFYKXb (ORCPT + 99 others); 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-)