From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932274AbdHYK5E (ORCPT ); Fri, 25 Aug 2017 06:57:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33946 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932258AbdHYK5C (ORCPT ); Fri, 25 Aug 2017 06:57:02 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B1AF981DFD Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=pbonzini@redhat.com Subject: Re: [patch 40/41] x86/idt: Hide set_intr_gate() To: Thomas Gleixner , LKML Cc: Ingo Molnar , Peter Anvin , Peter Zijlstra , Andy Lutomirski , Borislav Petkov , Steven Rostedt References: <20170825103103.287814238@linutronix.de> <20170825104416.181446359@linutronix.de> From: Paolo Bonzini Message-ID: Date: Fri, 25 Aug 2017 12:56:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170825104416.181446359@linutronix.de> Content-Type: text/plain; charset=iso-8859-15 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 25 Aug 2017 10:57:02 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/08/2017 12:31, Thomas Gleixner wrote: > set_intr_gate() is an internal function of the IDT code. The only user left > is the KVM code which replaces the pagefault handler eventually. > > Provide an explicit update_intr_gate() function and make set_intr_gate() > static. While at it replace the magic number 14 in the KVM code with the > proper trap define. > > Signed-off-by: Thomas Gleixner > Cc: Paolo Bonzini Acked-by: Paolo Bonzini Thanks, Paolo