From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755563AbcAMWQc (ORCPT ); Wed, 13 Jan 2016 17:16:32 -0500 Received: from mail.skyhub.de ([78.46.96.112]:53220 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752590AbcAMWQ3 (ORCPT ); Wed, 13 Jan 2016 17:16:29 -0500 Date: Wed, 13 Jan 2016 23:16:13 +0100 From: Borislav Petkov To: Srinivas Pandruvada Cc: Jacob Pan , Thomas Gleixner , LKML , Linux PM , Rafael Wysocki , "H. Peter Anvin" , Ingo Molnar , X86 Kernel , Peter Zijlstra Subject: Re: [PATCH v2 2/2] powercap/rapl: reduce ipi calls Message-ID: <20160113221613.GW12897@pd.tnic> References: <20160113082113.3314fa92@icelake> <20160113163610.GH12897@pd.tnic> <20160113095124.186ff487@yairi> <20160113180412.GN12897@pd.tnic> <20160113102138.4e34e890@yairi> <20160113191622.GP12897@pd.tnic> <20160113121003.3e9c2108@yairi> <20160113212602.GT12897@pd.tnic> <1452722083.3092.92.camel@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1452722083.3092.92.camel@linux.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 13, 2016 at 01:54:43PM -0800, Srinivas Pandruvada wrote: > regmap_update_bits(), which is referenced for 346 times. I'm at a loss as to why people keep talking about regmap. $ git grep regmap_update_bits arch/x86/ $ > Are you saying that any such calls are not useful? It seems I have to repeat myself ad absurdum so let me summarize: I don't have anything against useful APIs. Those are not. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.