From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 914B22C01D3 for ; Tue, 10 Jul 2012 13:20:12 +1000 (EST) Message-ID: <1341890402.2561.2.camel@pasglop> Subject: Semantics of lv1_pause() From: Benjamin Herrenschmidt To: Geoff Levand Date: Tue, 10 Jul 2012 13:20:02 +1000 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: linuxppc-dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Geoff ! Do you have access to any kind of documentation regarding the precise semantics of lv1_pause() ? I'm fixing various issues with our idle loops, among other things, because we are soft-disabled when we hit ppc_md.powersave() but not hard-disabled, there could be an interrupt marked as pending and not taken yet. Will that work properly ? I have this understanding that it might not ... but heh. Also if I call lv1_pause() with MSR_EE off, will it work ? Will it return with MSR_EE on like H_CEDE does on pseries ? Cheers, Ben.