From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751393AbbEFTRi (ORCPT ); Wed, 6 May 2015 15:17:38 -0400 Received: from mga11.intel.com ([192.55.52.93]:43239 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750965AbbEFTRg (ORCPT ); Wed, 6 May 2015 15:17:36 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,380,1427785200"; d="scan'208";a="567342565" From: Srinivas Pandruvada To: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org Cc: linux-kernel@vger.kernel.org, pebolle@tiscali.nl, Srinivas Pandruvada Subject: [PATCH v4] x86: punit_atom: punit device state debug driver Date: Wed, 6 May 2015 12:15:53 -0700 Message-Id: <1430939754-6900-1-git-send-email-srinivas.pandruvada@linux.intel.com> X-Mailer: git-send-email 1.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v4 - Created arch/x86/platform/atom/ and added this module here - Removed static global and use struct seq_file->private - Handle case when directory is created by create file in it failed - Use cpuid in decimal and naming it v3 - Fixed biggest blunder for using global static variable increment v2 Addressed Ingo Molnar's comments - Fix commit message - Added punit explanation - Formatting comments - Moved to arch/x86/platform/intel_mid - changed the debugfs file name v1 Based on review comments - Changed to tristate instead of bool - Moved config to kconfig.debug - Added debug in module name - Returning -ENXIO on debugfs file create error v0: Base version Srinivas Pandruvada (1): x86: punit_atom: punit device state debug driver arch/x86/Kconfig.debug | 11 ++ arch/x86/platform/Makefile | 1 + arch/x86/platform/atom/Makefile | 1 + arch/x86/platform/atom/punit_atom_debug.c | 183 ++++++++++++++++++++++++++++++ 4 files changed, 196 insertions(+) create mode 100644 arch/x86/platform/atom/Makefile create mode 100644 arch/x86/platform/atom/punit_atom_debug.c -- 1.9.1