From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753400AbcCGRYZ (ORCPT ); Mon, 7 Mar 2016 12:24:25 -0500 Received: from mx2.suse.de ([195.135.220.15]:34892 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752579AbcCGRYP (ORCPT ); Mon, 7 Mar 2016 12:24:15 -0500 Date: Mon, 7 Mar 2016 18:24:12 +0100 (CET) From: Jiri Kosina X-X-Sender: jkosina@pobox.suse.cz To: Sedat Dilek cc: Alan Stern , Steven Rostedt , Tejun Heo , Lai Jiangshan , Benjamin Tissoires , Paul McKenney , Andy Lutomirski , LKML , USB list , Greg Kroah-Hartman , Peter Zijlstra , Ingo Molnar Subject: Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 7 Mar 2016, Sedat Dilek wrote: > Did someone look at the next/follow-ups in this thread? > For example: D6629 "x86: Emit LAHF/SAHF instead of PUSHF/POPF" [2]? Using LAHF/SAHF would "solve" it, as IF is at bit #9. The question is whether they need to play with flags here at all. On Mon, 7 Mar 2016, Sedat Dilek wrote: > So, if Clang is producing wrong X86 code here, is it possible to turn > interrupts on/off manually? But, hmm that affects other places as well > in the Linux sources, so. This issue needs to be handled in the compiler. -- Jiri Kosina SUSE Labs