From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965611AbdJQTAA (ORCPT ); Tue, 17 Oct 2017 15:00:00 -0400 Received: from mail-pu1apc01on0114.outbound.protection.outlook.com ([104.47.126.114]:45291 "EHLO APC01-PU1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965596AbdJQS75 (ORCPT ); Tue, 17 Oct 2017 14:59:57 -0400 From: Dexuan Cui To: Thomas Gleixner , LKML CC: "x86@kernel.org" , Bjorn Helgaas , Marc Zyngier , KY Srinivasan , Stephen Hemminger , "linux-pci@vger.kernel.org" , "devel@linuxdriverproject.org" , Josh Poulson , Haiyang Zhang , Simon Xiao , Saeed Mahameed , "Mihai Costache (Cloudbase Solutions SRL)" , Jork Loeser Subject: RE: [patch 3/3] x86/vector/msi: Select CONFIG_GENERIC_IRQ_RESERVATION_MODE Thread-Topic: [patch 3/3] x86/vector/msi: Select CONFIG_GENERIC_IRQ_RESERVATION_MODE Thread-Index: AQHTRx112Y/N7/2iHkuVeIbPFFk4saLoZElA Date: Tue, 17 Oct 2017 18:59:27 +0000 Message-ID: References: <20171017075456.694047687@linutronix.de> <20171017075600.527569354@linutronix.de> In-Reply-To: <20171017075600.527569354@linutronix.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Ref=https://api.informationprotection.azure.com/api/72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=decui@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2017-10-17T11:59:23.9134191-07:00; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General authentication-results: spf=none (sender IP is ) smtp.mailfrom=decui@microsoft.com; x-originating-ip: [2001:4898:80e8:2::5ff] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;KL1P15301MB0008;6:JXzFep90Iidt4/s/F4Fc6v/WcAR7iXf6yrvsM+n2R9X5D0VuwloiYTTQLZfc+fqEsIW1LRWCSmOVyD7gWawXYV8n79BABN0zqon2KlWeMzyDCva/mtEWj1nGlEJb/6bYydKci7S5POTMPNpjzARfRy8TsClOsNkXCkP6jEeqGTEjdmGa99i9X2lgpkSqSHMbGsXdiwEt3Vaoh4Di9Dwg2H/1RwwcOMLQZFmufSglr4Vx5qI/VdAOHe+OeYpGXCgbwvUJ2kw4sIeJSFifVDFJ+b68te95zZ0WUf5ygRlNIbLGqYKAfnNWkD5tfscjLyNL58ZjfuaOMo3kDDs8V+4qaoN/LIEBU+btq9R38kGUi64=;5:iafr8J5+nf3nXii3QfJJAqUbeAVLV5FoGaQO7RZZPzkTKbymr0+wPYrP5RLyNPCw/TtSC8W6pn+gtyk9wHDaVRyNp0uZ/04OfU3DH1ym4fftirTsdigjKDS98IghHUGjMa6wZSuPKrawJ88exF9r6wU0FvjSeVP/OT0pJNnj2Gc=;24:hPU6o0G1+saOKivHtkr7FXMowB4Ctck6lLx39LyyrZ8yerFkE5VodNkc7clRpYhCmTAu7eWpCAfbxdm5jlZEgb9AXjDcS9MM+y7fUKRQ7Po=;7:vwUkrMtJUg3zPr8OUkwZQBUQZESTdSVIrxUi8NL8QFR146p2l93yIf9yqZcvO/LoaYPtxnOMUFaT3MTNtYgSL0iGFpT9O9wymJb2JA2TBGWE2nqD3/vAipSJ0TQf1Psi29lD420RHe5q69GqBh8veDYvmzLdK6cIq8qDkQNBmYYyq2RGKtLhuvhZQG4KqThOdcxr6mVPOcFqmIDV4vMtpVw2n6jkzfNKFwl2x1A7Evf7D/Ol8U6/dP0vyQG9jpiA x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10019020)(6009001)(346002)(376002)(39860400002)(47760400005)(199003)(377454003)(189002)(2950100002)(2900100001)(106356001)(74316002)(105586002)(77096006)(229853002)(6506006)(33656002)(6436002)(10290500003)(8676002)(478600001)(86362001)(10090500001)(86612001)(8936002)(81156014)(81166006)(305945005)(7736002)(97736004)(25786009)(6116002)(102836003)(54356999)(316002)(22452003)(50986999)(54906003)(101416001)(8990500004)(4326008)(110136005)(3280700002)(76176999)(7696004)(2906002)(68736007)(53936002)(6246003)(3660700001)(107886003)(189998001)(55016002)(9686003)(14454004)(5660300001)(41533002);DIR:OUT;SFP:1102;SCL:1;SRVR:KL1P15301MB0008;H:KL1P15301MB0006.APCP153.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; x-ms-office365-filtering-correlation-id: 13fe12ab-d994-4e59-e439-08d515913170 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075);SRVR:KL1P15301MB0008; x-ms-traffictypediagnostic: KL1P15301MB0008: x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(61425038)(6040450)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(61426038)(61427038)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:KL1P15301MB0008;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:KL1P15301MB0008; x-forefront-prvs: 04631F8F77 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 13fe12ab-d994-4e59-e439-08d515913170 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2017 18:59:27.6517 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1P15301MB0008 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v9HJ04Im013363 > From: Thomas Gleixner [mailto:tglx@linutronix.de] > Sent: Tuesday, October 17, 2017 12:55 AM > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -95,7 +95,7 @@ config X86 > select GENERIC_IRQ_MATRIX_ALLOCATOR if X86_LOCAL_APIC > select GENERIC_IRQ_MIGRATION if SMP > select GENERIC_IRQ_PROBE > - select GENERIC_IRQ_SHOW > + select GENERIC_IRQ_RESERVATION_MODE > select GENERIC_PENDING_IRQ if SMP > select GENERIC_SMP_IDLE_THREAD > select GENERIC_STRNCPY_FROM_USER Hi Thomas, It looks you removed GENERIC_IRQ_SHOW by accident? I got this build error: ... LD vmlinux.o MODPOST vmlinux.o fs/proc/interrupts.o:(.rodata+0x118): undefined reference to `show_interrupts' Makefile:1000: recipe for target 'vmlinux' failed make: *** [vmlinux] Error 1 Adding GENERIC_IRQ_SHOW back can fix the build failure, and with the pachset Hyper-V PCI pass-through can work fine. Thanks, -- Dexuan From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Dexuan Cui To: Thomas Gleixner , LKML CC: "x86@kernel.org" , Bjorn Helgaas , Marc Zyngier , KY Srinivasan , Stephen Hemminger , "linux-pci@vger.kernel.org" , "devel@linuxdriverproject.org" , Josh Poulson , Haiyang Zhang , Simon Xiao , Saeed Mahameed , "Mihai Costache (Cloudbase Solutions SRL)" , Jork Loeser Subject: RE: [patch 3/3] x86/vector/msi: Select CONFIG_GENERIC_IRQ_RESERVATION_MODE Date: Tue, 17 Oct 2017 18:59:27 +0000 Message-ID: References: <20171017075456.694047687@linutronix.de> <20171017075600.527569354@linutronix.de> In-Reply-To: <20171017075600.527569354@linutronix.de> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: > From: Thomas Gleixner [mailto:tglx@linutronix.de] > Sent: Tuesday, October 17, 2017 12:55 AM > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -95,7 +95,7 @@ config X86 > select GENERIC_IRQ_MATRIX_ALLOCATOR if X86_LOCAL_APIC > select GENERIC_IRQ_MIGRATION if SMP > select GENERIC_IRQ_PROBE > - select GENERIC_IRQ_SHOW > + select GENERIC_IRQ_RESERVATION_MODE > select GENERIC_PENDING_IRQ if SMP > select GENERIC_SMP_IDLE_THREAD > select GENERIC_STRNCPY_FROM_USER Hi Thomas, It looks you removed GENERIC_IRQ_SHOW by accident? I got this build error: ... LD vmlinux.o MODPOST vmlinux.o fs/proc/interrupts.o:(.rodata+0x118): undefined reference to `show_interrup= ts' Makefile:1000: recipe for target 'vmlinux' failed make: *** [vmlinux] Error 1 Adding GENERIC_IRQ_SHOW back can fix the build failure, and with the pachset Hyper-V PCI pass-through can work fine. Thanks, -- Dexuan