Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp144251pxf; Wed, 17 Mar 2021 01:18:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHeFg0U93jfhDRlaURtebQLIVd+lxkfs8C3xdRgFXA+Q0ZqQ1T64GFFIoBpG4+LXrOoATD X-Received: by 2002:a17:906:24c7:: with SMTP id f7mr33696631ejb.473.1615969110049; Wed, 17 Mar 2021 01:18:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615969110; cv=none; d=google.com; s=arc-20160816; b=mcg24amP3wTxAFf+DgMveKYg/68uwimEjThQE/KX4m9sNc9qQhB52O86yZ8iD9YU6X XoMbC4dGV6AA1KHX0Vm1nFuqvlIt+jOdM8un/c+jIR8jSl5eG09LFik0v7lSy9THH0fw QRYNuzXudCdHl6X7+632C0VmYqMvhTUay2H6WHYyqrTsbJLmam/5MsBGaf8ePOFB18M4 XRMkapOMPqyr4k0BTnB6TWezORdwwp6MFTsOEewjyqLVTtFOMjejA81t4fuOq0YDBtaX yQJkI3FtcWN1WjfsU2u5GNJXRI+bllOqR/8PiCVgygFUQrzAv85hhCwWivTPhT606n8W z98w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=h7RuThKGVeD8HpXasnQO91ZFAcbdaCJWKNu1ufXCr2w=; b=e3hQIi3eGSB+ccausXhnKLukO92msORb0GF/g3gI1W2q66lXv+zff0G7fZWXzbK5ab RI0vx57psthJQMJR0Vo2MS0tldDUAyRQwkGMk7NfwVgaDt3yu+Q/ohu875wdlLOSSXQ0 NbJYxjLhPfqa1OSiD7VgZajrM3DnynLvyeUSGbJLi/j6balI4cfZOmlhR6DXKVJh8F83 Bw8+kfKXCUCh5Al638HfR+zdks9A3N/zpZJBux8JjVglYGdFp392821Z9M9gg+7e2OZ9 TaqWv09iWeS8Fsvjtgv0Z9fZbvJIjKTGkRmQznHPc8yiVQyTd2bWb1uRNyvrBfzo5A0Y HTDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m12si15430905ejx.720.2021.03.17.01.18.07; Wed, 17 Mar 2021 01:18:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229675AbhCQIQp (ORCPT + 99 others); Wed, 17 Mar 2021 04:16:45 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:46915 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229586AbhCQIQN (ORCPT ); Wed, 17 Mar 2021 04:16:13 -0400 Received: from mail-ej1-f71.google.com ([209.85.218.71]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lMRLg-0000CA-4W for linux-kernel@vger.kernel.org; Wed, 17 Mar 2021 08:16:12 +0000 Received: by mail-ej1-f71.google.com with SMTP id 11so14809282ejz.20 for ; Wed, 17 Mar 2021 01:16:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=h7RuThKGVeD8HpXasnQO91ZFAcbdaCJWKNu1ufXCr2w=; b=T7KOvpOA0ajTX58oYLo7qiT3lP8W4SF48hbGF8c1Q56pkUi648gXctLNSWabtm1fSd ejbVdE4hWjqqDAzOoyHQwUzLwCJEIS+LGLNTV5Sx28Fe8q0qzCKq9eqb6tICoOlRp0lC J36q5gpVRknunp3IJ6EcElrKK3IlbT48bAnf7ZfGI44YUOKTiSxCUlu6Vm9AyXvwG7w3 DYYkVH63eZBCOg38Jlup8XQgEJZkiBiHLnDjWLJ9Owj+sVRkPX90LVOaua2SuWEaPnZf 8Ed2O3qIJfAfrstUkpkKjraxBcGCZve1ENqh+k0eTNXMcgM32GiLdLHHjagc56f9K9kS +vXQ== X-Gm-Message-State: AOAM532DK5p5cKidvKIdpujKs1t4zEJSDEWYYu1y/UH0Y2d0ZS87GUfE 69qFqnyfzA/cobd9RZuG2Y1uE6NLl0ZNcRNjKRntB2LJAN42W7FmiY0K+LCN9RJwjn7Kv9FWrOy R1TqkgBHizf8rl5lP8N5IPcFv26IhAhcVZEwQzh0nUg== X-Received: by 2002:a17:906:75a:: with SMTP id z26mr33965990ejb.22.1615968971921; Wed, 17 Mar 2021 01:16:11 -0700 (PDT) X-Received: by 2002:a17:906:75a:: with SMTP id z26mr33965971ejb.22.1615968971762; Wed, 17 Mar 2021 01:16:11 -0700 (PDT) Received: from [192.168.1.116] (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id jv19sm10845827ejc.74.2021.03.17.01.16.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Mar 2021 01:16:11 -0700 (PDT) Subject: Re: [PATCH] MIPS: ralink: define stubs for clk_set_parent to fix compile testing To: Thomas Bogendoerfer Cc: John Crispin , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, thierry.reding@gmail.com, linux-tegra@vger.kernel.org, balbi@kernel.org, linux-usb@vger.kernel.org, digetx@gmail.com, kernel test robot References: <20210316175725.79981-1-krzysztof.kozlowski@canonical.com> <20210316215820.GA18064@alpha.franken.de> From: Krzysztof Kozlowski Message-ID: <804bb73f-7de0-e91b-ed57-a3b26de78fce@canonical.com> Date: Wed, 17 Mar 2021 09:16:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210316215820.GA18064@alpha.franken.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/03/2021 22:58, Thomas Bogendoerfer wrote: > On Tue, Mar 16, 2021 at 06:57:25PM +0100, Krzysztof Kozlowski wrote: >> The Ralink MIPS platform does not use Common Clock Framework and does >> not define certain clock operations leading to compile test failures: >> >> /usr/bin/mips-linux-gnu-ld: drivers/usb/phy/phy-tegra-usb.o: in function `tegra_usb_phy_init': >> phy-tegra-usb.c:(.text+0x1dd4): undefined reference to `clk_get_parent' > > hmm, why not make it use common clock framework ? And shouldn't > include/linux/clk.h provide what you need, if CONFIG_HAVE_CLK is not set ? Converting entire Ralink machine to the CCF is quite a task requiring testing and basic knowledge about this platform. I am just trying to plug the build failure reported some months ago [1][2]. The CCF does not provide stubs if platform provides its own clocks. [1] https://lore.kernel.org/lkml/202102170017.MgPVy7aZ-lkp@intel.com/ [2] https://lore.kernel.org/lkml/20210316075551.10259-1-krzysztof.kozlowski@canonical.com/ Best regards, Krzysztof