Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2787383imu; Mon, 17 Dec 2018 07:50:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/XcyQjkUtmON45/xQVMKnii9pzbrurCcOxeT0KUSJzHS3a+qZ9IEdWO3/QFZp8lxf+wv85t X-Received: by 2002:a63:902:: with SMTP id 2mr8729546pgj.219.1545061843212; Mon, 17 Dec 2018 07:50:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545061843; cv=none; d=google.com; s=arc-20160816; b=nzsYrCu0v7Brw8k2xdWkkWLnM+DbltZuD05o3P3AdFjP5OTaNAtaN1A1xjLSa6muiv UMKfp588TNKP+w1HoptBFYYVB4JuPBbxiKm+dw0opA3uFySFym8VUjyi+jvygXMXAzbK 90r/cAuhCtu9ZU3PWAHcDr+5fG3hkdASwfR2PvnZximk7DFoHjDWFK6YlQuNy9+jJKEv O3tREq4vEpKO7uQn37ELL8+d/XZEDsG3jLA9zGmoO5RUeh5lHu0aPlykTEASRe/pQD9O npcM2n+77petcRScA9DdHL1p0IGR2yLzPsTC2zDCcPGQiF4O4XJRIxYNepsUyU6F9lB0 yOeg== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=pa0RLJImQ2eDgtLTc7QSK1T23RNjKTVhr9Bl+5gHqSM=; b=YyZhnlMEh23NbQvYF1R12HQpFh4f1HUFRZpKBmeQknWF7daflyOQihyWA+K7gJTrTv rs1zbkJ7vWB05ZZtavruzDNPUu/mpXh7NMU6QBgArMNrCJ4NCw09DJdFQT5ibYdyAg+N Ue/Q6TtAqwiq/5c/ueJZ8kzuZDNohhIAGLKgxOLP9fVnZqoyHabud5p8hbn/Y6/q3Ff3 jREXXUwm50n1/lBJotKFbBfsBVLj0g4sl4lYFziPaVEs6i9qoMeFtglcrmTy5m1PbBeI 3VeU2CP+xeoS/nO+JJL4AIWBX5BhgoOkz3Rvue89Eoblk2CWjfD8D9FYGioN5J+XE3qH fVvw== 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 o1si11477861pgq.13.2018.12.17.07.50.27; Mon, 17 Dec 2018 07:50:43 -0800 (PST) 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 S2387889AbeLQPtK convert rfc822-to-8bit (ORCPT + 99 others); Mon, 17 Dec 2018 10:49:10 -0500 Received: from mail.bootlin.com ([62.4.15.54]:59712 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387609AbeLQPtK (ORCPT ); Mon, 17 Dec 2018 10:49:10 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id D151D20733; Mon, 17 Dec 2018 16:49:07 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.2 Received: from xps13 (aaubervilliers-681-1-89-7.w90-88.abo.wanadoo.fr [90.88.30.7]) by mail.bootlin.com (Postfix) with ESMTPSA id 6E48A20726; Mon, 17 Dec 2018 16:48:57 +0100 (CET) Date: Mon, 17 Dec 2018 16:48:57 +0100 From: Miquel Raynal To: Gregory Clement , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Kishon Vijay Abraham I Cc: , , linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , Thomas Petazzoni , Antoine Tenart , Maxime Chevallier , Nadav Haklai , Marcin Wojtas , Grzegorz Jaszczyk , Evan Wang Subject: Re: [PATCH v4 3/7] phy: add A3700 COMPHY support Message-ID: <20181217164857.68df3f84@xps13> In-Reply-To: <20181213083908.14180-4-miquel.raynal@bootlin.com> References: <20181213083908.14180-1-miquel.raynal@bootlin.com> <20181213083908.14180-4-miquel.raynal@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, [...] > + > +static int mvebu_a3700_comphy_smc(unsigned long function, unsigned long lane, > + unsigned long mode) > +{ > + struct arm_smccc_res res; > + > + arm_smccc_smc(function, lane, mode, 0, 0, 0, 0, 0, &res); I received the following bug report because I added a dependency on COMPILE_TEST in Kconfig: config: i386-allmodconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> ERROR: "__arm_smccc_smc" [drivers/phy/marvell/phy-mvebu-a3700-comphy.ko] undefined! Unless someone complains, I will drop the dependency on COMPILE_TEST in Kconfig. > + > + return res.a0; > +} Thanks, Miquèl