Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752584AbbHNEzl (ORCPT ); Fri, 14 Aug 2015 00:55:41 -0400 Received: from e23smtp04.au.ibm.com ([202.81.31.146]:39273 "EHLO e23smtp04.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752107AbbHNEzk (ORCPT ); Fri, 14 Aug 2015 00:55:40 -0400 X-Helo: d23dlp01.au.ibm.com X-MailFrom: sam.bobroff@au1.ibm.com X-RcptTo: linux-kernel@vger.kernel.org Date: Fri, 14 Aug 2015 14:54:34 +1000 From: Sam Bobroff To: "Gautham R. Shenoy" Cc: Paul Mackerras , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Michael Ellerman , Shreyas B Prabhu , mikey@neuling.org, Madhavan Srinivasan Subject: Re: [PATCH v3] powerpc: Add an inline function to update POWER8 HID0 Message-ID: <20150814045434.GA13544@tungsten.ozlabs.ibm.com> References: <20150805065400.GA14701@in.ibm.com> <1438758511-918-1-git-send-email-ego@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1438758511-918-1-git-send-email-ego@linux.vnet.ibm.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15081404-0013-0000-0000-000001BFA978 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 942 Lines: 23 On Wed, Aug 05, 2015 at 12:38:31PM +0530, Gautham R. Shenoy wrote: > Section 3.7 of Version 1.2 of the Power8 Processor User's Manual > prescribes that updates to HID0 be preceded by a SYNC instruction and > followed by an ISYNC instruction (Page 91). > > Create an inline function name update_power8_hid0() which follows this > recipe and invoke it from the static split core path. > > Signed-off-by: Gautham R. Shenoy Hi Gautham, I've tested this on a Power 8 machine and verified that it is able to change split modes and that when doing so the new code is used. Reviewed-by: Sam Bobroff Tested-by: Sam Bobroff -- 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/