From: Alexander Graf Date: Thu, 11 Jul 2013 12:47:12 +0000 Subject: Re: [v1][PATCH 1/1] KVM: PPC: disable preemption when using hard_irq_disable() Message-Id: <3B36D92F-CD11-49A0-A0F5-CD3E49BD6793@suse.de> List-Id: References: <1373436139-27998-1-git-send-email-tiejun.chen@windriver.com> <62E2724C-EC17-4E36-AC9E-C9FFEDF5C5B7@suse.de> <51DE1CE9.7060406@windriver.com> <1373545684.19894.80.camel@pasglop> In-Reply-To: <1373545684.19894.80.camel@pasglop> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Benjamin Herrenschmidt Cc: "tiejun.chen" , "" , " list" On 11.07.2013, at 14:28, Benjamin Herrenschmidt wrote: > On Thu, 2013-07-11 at 11:49 +0200, Alexander Graf wrote: >> Ben, is soft_enabled = 0; hard_enabled = 1 a valid combination that >> may ever occur? > > Yes of course, that's what we call "soft disabled" :-) It's even the > whole point of doing lazy disable... Meh. Of course it's soft_enabled = 1; hard_enabled = 0. Alex