Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4041487yba; Mon, 29 Apr 2019 12:44:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcG6PAZy0txqJmVnxVjCP4Q+UhVcKr624dpDUVxY746cM8RmbbN2ExuXVDsOw19V3cPGKZ X-Received: by 2002:a65:4489:: with SMTP id l9mr59337778pgq.1.1556567047560; Mon, 29 Apr 2019 12:44:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556567047; cv=none; d=google.com; s=arc-20160816; b=HpZZV4+X30jwIJc6p1HeNHtb0jBQIvzG6WDSIHZ5bWfqXr/Mh/A0CDirRJnL8GyoXs wXqLTNzzmYz41N7pRw/sylLPGPKu0nkrXH2eVFm8fN6vZZdHG0Mx9/UXgxbTL9/NpIhm a62pAL4vGJhAgNx/Yp19zoOfjkL8zSw5lmWC6XQyUnBOuUayl2sS1lBErPTnmRfMeKSw Tt1wtBSVJxVHWlvVG7Kb2+dGs5eNezpdkWCgNvaWSY44HHS1xCPMmDBxwBa2GphrEaHc maXpY3u5cR8Cw0YYzcKlRRrc1ysJYI3oNvyMfjZIyCWq2nwlK6uxMbdvfk0spPKyWc6D C1UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=OfSXGm/ZOpE/A5OPPtROuilo3cIAMJykM1qQwH2z66U=; b=W/5OUF715r9ZySTOj79GJ+d0MoXfe49MewmwgDAE93AzfQfYeHMBfADxOi5eQ5cXZQ AMzDo7HcgiwC+WcMcqL2YR9maRtGwnxckUeDK+Yfuj5+NYeIfNVSriH3u54bX8oTQGHD Sw9xIu+NaAcQmAW8RuhND+IBGjbDRI53z1AI0hcah/TYIKDePDfNMxdO/u1qekz60zu5 oks6ZeSfG01q0JiOiW7ZHjAqh0Vd8+EkgmHijHbPWucpu6YBCNfNZb/yMUYqUMChm47s HGK9XB/2MUXXcjVgy+66zAh5JR5eBwOoshaMKFk3fzpJ6OFqS7D9VRFVOpxZ6Kli048b yt8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=gPhueT4R; 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 h8si35684482plb.282.2019.04.29.12.43.51; Mon, 29 Apr 2019 12:44:07 -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; dkim=pass header.i=@sifive.com header.s=google header.b=gPhueT4R; 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 S1729219AbfD2TmK (ORCPT + 99 others); Mon, 29 Apr 2019 15:42:10 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:40243 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729171AbfD2TmJ (ORCPT ); Mon, 29 Apr 2019 15:42:09 -0400 Received: by mail-it1-f196.google.com with SMTP id k64so939760itb.5 for ; Mon, 29 Apr 2019 12:42:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=OfSXGm/ZOpE/A5OPPtROuilo3cIAMJykM1qQwH2z66U=; b=gPhueT4Rp4VegY21P3pKS9Ih/RR/nUEkk7jhKA1RfbY03ZnKHvyqL2Wk4lzdTDTHew xJvCjJt/zV14JZ8yo42NKhZo1GXXGsru7NvXarkjF84DA6TNMB0w/Seaco92ZgKmPQAp Wbmk1wofnz4d/0bHdBOMpivJ+knKJjh1QZ7Sblvpy6eEa9kQNKKbpWlvgzqushvBRdZT BChOhN2sliOuqFf7iD2f5CS7krUZ8wCqwo4bSX0iceJ8QK+Xyd80HiWowfUqUXWe5IYG EYZokboxA+1ZIybHhTM6idYhaLVjhpX7E7dKPr4P4x3DWqzMfOmYg5DxRkKClQzrKnhM F6nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=OfSXGm/ZOpE/A5OPPtROuilo3cIAMJykM1qQwH2z66U=; b=VNXbYPhkTOvTaJHxXslY8wXyEQWiECWqlbEHLhH4AeH18/GsA6DnGntTNFcFnNpzBK 0euKQSBz+as0Hn0WHFhuPLwPIz1fAhgDTSSorftul1KNCsJEzddxkzRA5wGfgxXocoZm VptK0rhcmwWQpBgX4ygBA4GD3AxtlFEKhZ8jo1Y8wXmvzPYeYfQrZCfaQy1wGar2yLrr en76b3/wNd2MYad+eHS1XTfK/xN2N1cYpPucw3+lVuXfW5A/VNRSaqECj8EY1Hd5oTfI hNc67SSIW/AVXwKz4SKAR1SXxS01j9MSMSMmLQzl34LBBQqYRSdceN5mLZKfzXirfkRz nI6A== X-Gm-Message-State: APjAAAUebAKZ+X/16nUNZaHVSx5ghypOt/V1Se/HiJpiv8cp6wgu1xSH Z/oV1TVHn1QjZzIaFIvBrFMskA== X-Received: by 2002:a24:4d85:: with SMTP id l127mr658460itb.53.1556566928783; Mon, 29 Apr 2019 12:42:08 -0700 (PDT) Received: from localhost (c-73-95-159-87.hsd1.co.comcast.net. [73.95.159.87]) by smtp.gmail.com with ESMTPSA id t24sm7949990ioc.1.2019.04.29.12.42.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Apr 2019 12:42:07 -0700 (PDT) Date: Mon, 29 Apr 2019 12:42:07 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Paul Walmsley cc: Stephen Boyd , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Paul Walmsley , Wesley Terpstra , Palmer Dabbelt , Michael Turquette , Megan Wachs Subject: Re: [PATCH v3 1/3] clk: analogbits: add Wide-Range PLL library In-Reply-To: Message-ID: References: <20190411082733.3736-2-paul.walmsley@sifive.com> <155632691100.168659.14460051101205812433@swboyd.mtv.corp.google.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, On Fri, 26 Apr 2019, Paul Walmsley wrote: > On Fri, 26 Apr 2019, Stephen Boyd wrote: > > > Quoting Paul Walmsley (2019-04-11 01:27:32) > > > Add common library code for the Analog Bits Wide-Range PLL (WRPLL) IP > > > block, as implemented in TSMC CLN28HPC. > > > > I haven't deeply reviewed at all, but I already get two problems when > > compile testing these patches. I can fix them up if nothing else needs > > fixing. > > > > drivers/clk/analogbits/wrpll-cln28hpc.c:165 __wrpll_calc_divq() warn: should 'target_rate << divq' be a 64 bit type? > > drivers/clk/sifive/fu540-prci.c:214:16: error: return expression in void function > > Hmm, that's odd. I will definitely take a look and repost. I'm not able to reproduce these problems. The configs tried here were: - 64-bit RISC-V defconfig w/ PRCI driver enabled (gcc 8.2.0 built with crosstool-NG 1.24.0) - 32-bit ARM defconfig w/ PRCI driver enabled (gcc 8.3.0 built with crosstool-NG 1.24.0) - 32-bit i386 defconfig w/ PRCI driver enabled (gcc 5.4.0-6ubuntu1~16.04.11) Could you post the toolchain and kernel config you're using? - Paul