Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp938360ybd; Wed, 26 Jun 2019 08:24:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzd787wybRXcW6Rsc45fdqJTmqxBNNfC92I1lFDoFhc8bWAbcU7Xt8SkYGheXUQ09E1gj3P X-Received: by 2002:a63:231c:: with SMTP id j28mr3438777pgj.430.1561562649387; Wed, 26 Jun 2019 08:24:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561562649; cv=none; d=google.com; s=arc-20160816; b=Y4hYDSBus/XJzTIWLzQu33/BEJISUI3yVNMBB2SPyTW6J+/Nx51eOud1LMOsfWqQcH iLUWAhSzOda+AeWMso4AGgFyOTF7HMhiBPk+OI7Av9InyuBICDvGX7L3mIlPkToK9g4c govDI4gjxwCWkjCu5RNP5JyXHzTIOPp/Rd/zlB2q5TnunA1OA4gqTlj+V3qAZT8H70zm 7xSbCctgQfP4mEU0eN+EGHV/B5yrcHL+UbxpskhwIaHvbWEE5nosi3CspXdN8xDoIABi R55apN8OLGdLbRG+ex47Z7kJpUe0LimnScYiZVNFIwrnPpCc81tW5IwBtzum7yOb/B2E su5A== 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=tzSq0zKBo0xHM9RVxeIeUk9VMaqDhDQP5ueLq1CoxCo=; b=lHvjo/8CcS4Jlwy0IvyGd7REp6TGq8U5h1Hce31YVkakxJF3JvhwMVkz1V2GjxF138 Cmm+8sbKuffnI+DnY9t9XhRcZpQbTyFNQ6tM3jz1WTv7lLL0Tgy6llEXU+ndfjTLSlqo jGyAhNlScfMRlf5sM1uCeOTI/sXZ35gn1CtNd9XipdLu/8FTxThKb1YRvgAdmY3cQ7e2 zIxucbRSQNoB3Wohaie6DCi9QUyhF3lLV+UV96oFHcxNbg64lVtOKGtodLWADjnAwou4 YtT6uRsfbnTBU8QbMJ7A/6Va53MeMVPiCqD75GATY1LhBKVFQhE/nzFML6gHhUf3ND61 ztlA== 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 v15si18221177pfm.238.2019.06.26.08.23.53; Wed, 26 Jun 2019 08:24:09 -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 S1728184AbfFZPWS (ORCPT + 99 others); Wed, 26 Jun 2019 11:22:18 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:19115 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725958AbfFZPWR (ORCPT ); Wed, 26 Jun 2019 11:22:17 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id CED06C1ABC82D47A8304; Wed, 26 Jun 2019 23:22:13 +0800 (CST) Received: from [127.0.0.1] (10.202.227.238) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.439.0; Wed, 26 Jun 2019 23:22:06 +0800 Subject: Re: [GIT PULL] Hisilicon fixes for v5.2 To: Olof Johansson , Wei Xu References: <20190625112148.ckj7sgdgvyeel7vy@localhost> <7e215bd7-daab-b6cf-8d0f-9513bd7c4f6d@huawei.com> CC: ARM-SoC Maintainers , linux-arm-kernel , Arnd Bergmann , Linuxarm , "xuwei (O)" , "Bjorn Helgaas" , , "Rafael J. Wysocki" , Linux Kernel Mailing List , Zhangyi ac , "Liguozhu (Kenneth)" , , huangdaode , Tangkunshan , Jonathan Cameron , Shameerali Kolothum Thodi , Shiju Jose , Salil Mehta From: John Garry Message-ID: <2e59728e-25fa-cc15-3c63-3566dc2ae69f@huawei.com> Date: Wed, 26 Jun 2019 16:21:56 +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: <7e215bd7-daab-b6cf-8d0f-9513bd7c4f6d@huawei.com> 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 14:31, John Garry wrote: > On 25/06/2019 14:03, Olof Johansson wrote: >>>> 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 >>> > >>> > Merged to fixes, thanks. >> >> This broke arm64 allmodconfig: >> >> arm64.allmodconfig: >> drivers/bus/hisi_lpc.c:656:3: error: implicit declaration of function >> 'hisi_lpc_acpi_remove'; did you mean 'hisi_lpc_acpi_probe'? >> [-Werror=implicit-function-declaration] As an aside, I find it a little strange that arm64 allmodconfig does not have CONFIG_ACPI set. It used to have it set, and this patch stopped that: 5bcd44083a082f314032969cd6db1eb8275ac77a is the first bad commit commit 5bcd44083a082f314032969cd6db1eb8275ac77a Author: AKASHI Takahiro Date: Mon Jul 23 10:57:29 2018 +0900 drivers: acpi: add dependency of EFI for arm64 As Ard suggested, CONFIG_ACPI && !CONFIG_EFI doesn't make sense on arm64, while CONFIG_ACPI and CONFIG_CPU_BIG_ENDIAN doesn't make sense either. As CONFIG_EFI already has a dependency of !CONFIG_CPU_BIG_ENDIAN, it is good enough to add a dependency of CONFIG_EFI to avoid any useless combination of configuration. This bug, reported by Will, will be revealed when my patch series, "arm64: kexec,kdump: fix boot failures on acpi-only system," is applied and the kernel is built under allmodconfig. Signed-off-by: AKASHI Takahiro Suggested-by: Ard Biesheuvel Signed-off-by: Will Deacon That patch stopped many configs being set for allmodconfig. With this change, CONFIG_EFI is not set. I think that this is because CONFIG_CPU_BIG_ENDIAN is set for arm64 allmodconfig. Any opinion on this? Could we change CONFIG_CPU_BIG_ENDIAN to be unset for arm64? >> >> > > Uhhh, that's my fault - I didn't provide a stub for !ACPI. Sorry. I'll > send a fixed v3 series. > >> >> Please build and test your branches before you send pull requests, Wei. >> >> I've dropped the branch again; please re-submit when fixed. I think >> it's probably 5.3 material now. >> > > Thanks, > John > >> >> -Olof >> >> . >> >