From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1425971AbdEZJ0Z (ORCPT ); Fri, 26 May 2017 05:26:25 -0400 Received: from mx2.suse.de ([195.135.220.15]:58300 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758415AbdEZJZ2 (ORCPT ); Fri, 26 May 2017 05:25:28 -0400 Subject: Re: [PATCH] reset: hisilicon: Fix hi6220 module license To: Arnd Bergmann Cc: Linux ARM , Chen Feng , Philipp Zabel , Linux Kernel Mailing List , Bamvor Jian Zhang References: <20170525092232.27960-1-afaerber@suse.de> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Organization: SUSE Linux GmbH Message-ID: Date: Fri, 26 May 2017 11:25:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 26.05.2017 um 10:44 schrieb Arnd Bergmann: > On Thu, May 25, 2017 at 11:22 AM, Andreas Färber wrote: >> The hi6220_reset driver fails to load: >> >> [ 10.423640] hi6220_reset: module license 'unspecified' taints kernel. >> [ 10.423644] Disabling lock debugging due to kernel taint >> [ 10.423735] hi6220_reset: Unknown symbol regmap_write (err 0) >> [ 10.423747] hi6220_reset: Unknown symbol devm_kmalloc (err 0) >> [ 10.423759] hi6220_reset: Unknown symbol syscon_node_to_regmap (err 0) >> [ 10.423768] hi6220_reset: Unknown symbol reset_controller_register (err 0) >> [ 10.423784] hi6220_reset: Unknown symbol __platform_driver_register (err 0) >> >> Add a MODULE_LICENSE() to fix this. >> >> Fixes: 70b3590f639f ("reset: hi6220: fix modular build") >> Cc: Arnd Bergmann >> Cc: Chen Feng >> Signed-off-by: Andreas Färber > > Acked-by: Arnd Bergmann > > I wonder why I never ran into this in randconfig testing. In the bigger picture I also found that PINCTRL_SINGLE needs to be built-in for the HiKey to proceed beyond earlycon. Usually when an option can be built as module, we build it as module. Further to that, I needed the following config for dracut so far: add_drivers+=" hi6220_reset hi6220-mailbox hi655x-pmic hi655x-regulator" I'm still not able to boot 4.11 from SD with our config: https://bugzilla.opensuse.org/show_bug.cgi?id=1040492 Any hints appreciated on what drivers may be missing in the initrd and why dracut is not picking them up on its own. And as pointed out at BUD17, it would be really great if Linaro would actually test modules for 96Boards - be it via Lava or manually once. Our configs are public on kernel.opensuse.org / GitHub kernel-source.git in case that aids with your testing - master is for linux.git tags, vanilla for linux.git master and linux-next for linux-next.git master. Investigating why the DragonBoard 410c gets stuck is still ongoing, too. For the Poplar I'm currently running into partition size issues trying to install additional kernels, so I couldn't verify beyond 4.11 yet. https://github.com/Linaro/poplar-tools/pull/3#issuecomment-304215367 It also seems to need CONFIG_PINCTRL_SINGLE=y though. For the HiKey 960 I'm lacking documentation how to get started bootloader-wise - by default it's uninterruptibly booting AOSP. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)