Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753195AbeAJVOP (ORCPT + 1 other); Wed, 10 Jan 2018 16:14:15 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:39448 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753094AbeAJVOL (ORCPT ); Wed, 10 Jan 2018 16:14:11 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1565C60312 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Wed, 10 Jan 2018 13:14:09 -0800 From: Stephen Boyd To: Geert Uytterhoeven Cc: Michael Turquette , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/4] clk: Show symbolic clock flags in debugfs Message-ID: <20180110211409.GL21040@codeaurora.org> References: <1514977577-11854-1-git-send-email-geert+renesas@glider.be> <1514977577-11854-4-git-send-email-geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1514977577-11854-4-git-send-email-geert+renesas@glider.be> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On 01/03, Geert Uytterhoeven wrote: > Currently the virtual "clk_flags" file in debugfs shows the numeric > value of the top-level framework flags for the specified clock. > Hence the user must manually interpret these values. > > Moreover, on big-endian 64-bit systems, the wrong half of the value is > shown, due to the cast from "unsigned long *" to "u32 *". > > Fix both issues by showing the symbolic flag names instead. > Any non-standard flags are shown as a hex number. > > Signed-off-by: Geert Uytterhoeven > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project