Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp793703imm; Wed, 26 Sep 2018 06:57:35 -0700 (PDT) X-Google-Smtp-Source: ACcGV6360M7H6lt5NraCB7BfMoJzVh6PlOrDzw80yCN0Gm8EgILcc44G3avrJhC0oqmS0QCNTW3m X-Received: by 2002:a17:902:6f10:: with SMTP id w16-v6mr6204305plk.216.1537970255642; Wed, 26 Sep 2018 06:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537970255; cv=none; d=google.com; s=arc-20160816; b=Pi+4Z/SSTuFG6yzQrWUSVuZGrblH/jfhaAjoaUJGni4c1GOYmVkM6uERPLSy0fe5yS ATl+XdrXm9GnDw9m9yE0v8XU8A40mPn+QS5HtOJQl9i6Pb54nDltm38sjM5gQC+hYoiw vRn5GcIo7iw8aR+9lSZPyX8w7ohACdx0zktZjdi0xBqSyvMpoOk4K57+DbtuNDrabitw c0i/jYI8umBdnvUwjZJJpXEo/zj11EjbcklNzxvLsbJYSDCWK1LU5wFgV1S8bOPvReCz +ElwsRIwpVD1Cr4XuT7372JGMCViJ6awssKSUTqhbqGmbYARNG8iPmR/50+mulzIMZl0 H8OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=7XiFz7wwjBZ6h4wPYBynF2BS+AWI2Y0Fn4TZoyf2mL0=; b=yRNYDcB8F7MOpwd8OeYB6J8ssh6r/rFyOjdj/TYcqIObtM5B8jL7m8+v6ZBtYJNEeq AGt+68Em+UnIT3/+vgrjw+xjWbPzn+PACxTmIet7+EvNhEfAGtenQ+9Np/MoxGeG3nqH EH87si9iIjOaSYojqQv6bbKjxuHTKq9dslQ4UdaMnpa1tBxzpYt2jWnOHbsyFdM0tmYb ZDHn2g90t88zIQdcBxBt/QtZN9kOmaPD6fnepN1kCn8fFrKRaYuLTxEbiQgbmUSUUxGJ 7CPd73sj/ZeCVUbga/Y8h6YmVnisoD2KJukH9vPpjAGlDQRlJpZp6uE40sEMeBfxQ0va HayQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=J4ufWlAd; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j15-v6si3197822pgi.552.2018.09.26.06.57.20; Wed, 26 Sep 2018 06:57:35 -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=@gmail.com header.s=20161025 header.b=J4ufWlAd; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727375AbeIZUJ4 (ORCPT + 99 others); Wed, 26 Sep 2018 16:09:56 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:39060 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727066AbeIZUJ4 (ORCPT ); Wed, 26 Sep 2018 16:09:56 -0400 Received: by mail-qk1-f196.google.com with SMTP id b19-v6so15710016qkc.6; Wed, 26 Sep 2018 06:56:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7XiFz7wwjBZ6h4wPYBynF2BS+AWI2Y0Fn4TZoyf2mL0=; b=J4ufWlAdh0G+EalcWi/FWXYWFRvprt6xQUkRIDkrkxOuJikemyPIfxeJvZ1+nxvj2C 2WPc6Le/G5JsdW2wDg6EMdN7v2pznlRSMkBV3TdFDSPZhdi0toWv5/Sx00Xg52A7+3nh Fnbl/PrpUGBwZFh3bgTefimNhbDWzzx+XTC7jdcZ9qdzYdoKZxcp+zg4t5U9OH6VxgWk me7ZwHjB3dIJV2dIV0x0wvFqWQtDA3rbt+JKBS8AT2DIQSeOO1eP5yWUv+Efw7XEI0j3 ub9+X1gij6NAE/4Eq31sBGTnMMTyChK+vVTAUzsXlNFO9rgfUl8ymnojb7qdy33g2XS2 hcAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7XiFz7wwjBZ6h4wPYBynF2BS+AWI2Y0Fn4TZoyf2mL0=; b=NwZ8mcLo7nwnpAN4Mls0/WFQT36bNceNsPA5Q7mkyPlXRcmTYCF6oaBB3k7LxiGfhE SiLZTstR2AC40S9HOdQUAU+RuGDFec3XgXGrRFfhc+FybALjrrQT+oPlgBbtRFVasvF7 P4rtP+0CCXqLdXfrNLfzjibFdHjv/r3qGjdKoQPFetkFj15fD8mf17uQl1BJ6LP7qAfn vukj9q20TqWhIZ2lIQOvCuoSdqJOpgRvKR2F3mKuiSjw+1KR4gOgTCNrbTfFsvkt/N9z GymQiG9e0ABV4dZNlJH60Q/yZ07tAmFraMMKPydD/xegItpLi1H01yZUlyOLVHR9jTrL WQvQ== X-Gm-Message-State: ABuFfohGo8/W8VG141geL+S1/FiAz60Tm0gGToEBoaAe4PekkddSr4g/ UsfjjXJ5d353shHuLJsJA4bUJXMcj6dA5LZ2WBlk7bvQivw= X-Received: by 2002:a37:6e01:: with SMTP id j1-v6mr4365100qkc.70.1537970210483; Wed, 26 Sep 2018 06:56:50 -0700 (PDT) MIME-Version: 1.0 References: <20180903180415.31575-1-rajneesh.bhardwaj@linux.intel.com> <20180903180415.31575-4-rajneesh.bhardwaj@linux.intel.com> In-Reply-To: <20180903180415.31575-4-rajneesh.bhardwaj@linux.intel.com> From: Andy Shevchenko Date: Wed, 26 Sep 2018 16:56:39 +0300 Message-ID: Subject: Re: [PATCH 4/4] platform/x86: intel_telemetry: report debugfs failure To: rajneesh.bhardwaj@linux.intel.com Cc: Platform Driver , Darren Hart , Andy Shevchenko , Linux Kernel Mailing List , Rajneesh Bhardwaj , Souvik Kumar Chakravarty , matt.turner@intel.com, "Brown, Len" , Sathyanarayanan Kuppuswamy Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 3, 2018 at 9:05 PM Rajneesh Bhardwaj wrote: > > On some Goldmont based systems such as ASRock J3455M the BIOS may not > enable the IPC1 device that provides access to the PMC and PUNIT. In > such scenarios, the ioss and pss resources from the platform device can IOSS PSS > not be obtained and result in a invalid telemetry_plt_config. What is telemetry_plt_config? > This is also applicable to the platforms where the BIOS supports IPC1 > device under debug configurations but IPC1 is disabled by user or the > policy. > > This change allows user to know the reason for not seeing entries under > /sys/kernel/debug/telemetry/* when there is no apparent failure at boot. > > Cc: Matt Turner > Cc: Len Brown > Cc: Souvik Kumar Chakravarty > Cc: Kuppuswamy Sathyanarayanan > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=198779 > There should be not a blank line. > Acked-by: Matt Turner > Signed-off-by: Rajneesh Bhardwaj > +exit: > + pr_debug(pr_fmt(DRIVER_NAME) " Failed\n"); Completely useless. Device core does it in generic way. -- With Best Regards, Andy Shevchenko