Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752225AbbHJAYa (ORCPT ); Sun, 9 Aug 2015 20:24:30 -0400 Received: from e18.ny.us.ibm.com ([129.33.205.208]:49670 "EHLO e18.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751588AbbHJAY2 (ORCPT ); Sun, 9 Aug 2015 20:24:28 -0400 X-Helo: d01dlp01.pok.ibm.com X-MailFrom: stewart@linux.vnet.ibm.com X-RcptTo: linux-pm@vger.kernel.org From: Stewart Smith To: Shilpasri G Bhat , rjw@rjwysocki.net Cc: joel@jms.id.au, viresh.kumar@linaro.org, linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Shilpasri G Bhat Subject: Re: [PATCH v5 2/6] powerpc/powernv: Add definition of OPAL_MSG_OCC message type In-Reply-To: <1437033863-15864-3-git-send-email-shilpa.bhat@linux.vnet.ibm.com> References: <1437033863-15864-1-git-send-email-shilpa.bhat@linux.vnet.ibm.com> <1437033863-15864-3-git-send-email-shilpa.bhat@linux.vnet.ibm.com> User-Agent: Notmuch/0.18+16~gec02089 (http://notmuchmail.org) Emacs/23.1.1 (x86_64-redhat-linux-gnu) Date: Mon, 10 Aug 2015 10:23:58 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15081000-0045-0000-0000-000000FB119D Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1154 Lines: 23 Shilpasri G Bhat writes: > Add OPAL_MSG_OCC message definition to opal_message_type to receive > OCC events like reset, load and throttled. Host performance can be > affected when OCC is reset or OCC throttles the max Pstate. > We can register to opal_message_notifier to receive OPAL_MSG_OCC type > of message and report it to the userspace so as to keep the user > informed about the reason for a performance drop in workloads. > > The reset and load OCC events are notified to kernel when FSP sends > OCC_RESET and OCC_LOAD commands. Both reset and load messages are > sent to kernel on successful completion of reset and load operation > respectively. How is this done on OpenPower systems? Explanation involving just what OPAL does is likely better, rather than explaining in context of FSP, which Linux has no real knowledge of (OPAL provides all abstraction of it). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/