Received: by 2002:a25:d783:0:0:0:0:0 with SMTP id o125csp468701ybg; Thu, 19 Mar 2020 03:09:47 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuc1bwIHVsr+Rg6Vqk49ukb4+bhPFiRDBtgGUNSG2POy72GZnK/7tOwneeojza4bW9TZXin X-Received: by 2002:a05:6830:239b:: with SMTP id l27mr1737439ots.278.1584612587411; Thu, 19 Mar 2020 03:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584612587; cv=none; d=google.com; s=arc-20160816; b=tGPuVPy/OZTCiYjTEVIgaj79W5yvxCCQohozxQYPkdyqFagmJLfxMWSbsSw/eObuOb IOW4Zmgz3BFE/zHsm2WiD1j/RqR/HFZd4bU14N3rVjPInijLRU52TCqslGZXeK8hKLN3 UzNZ/PR3DULKlgCXfQwmY80z8LyDONZXVWyW916nCLaFVlA6nQf4uk1UWWpWsOPIZpt9 CI4xYALObmTUP5Lq1pqXUPKX6BLzD3s8iwILSapTtuUo8ZSc+de4ZEIfMcKYqmINWjTO GjcTpvc1OVnn9LMgVbp1EI4nulE+sI8RFtiz5O3WxM2jZnJAl7NAPmCFemKmHYL5Dhfr bqUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=S18mqVLj4C+dprFcZruESBtgYMB7ZU6uPg7AgbB37Zk=; b=Wxk6X2PUVhpdxi0k/97QC31uiPG7IlyZ3Rn1dafP6pE2r1FdtO1jZ7tch10c28eokW 1EqyqP6xtVAAB1mV1YNaU95q6F4Y+ipPTOa+1xwufA/bqyohEbP2aX6GmoxkyGQYjFAd gAj7MpX4XoEXN6LsabPrh5Azqkgr/kxV+iFfSEU2UtwzYXoVSc2jSfDfaJZ/Z/YmXalr nQdz1jM+eXN4sSPyb3djtWQ+rrpige4fodeCq2UWEy0upQMRs6QJCVE0tRFU7yTssJOy dBlJbEBCieQ/ReLAVO3GwpZrO2MyJvTsFx2fTqaeqPLncZng8Cmrrmmgmmbp/3kl7aVg HcHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15si856200oix.96.2020.03.19.03.09.34; Thu, 19 Mar 2020 03:09:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726892AbgCSKDQ (ORCPT + 99 others); Thu, 19 Mar 2020 06:03:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:39456 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725767AbgCSKDQ (ORCPT ); Thu, 19 Mar 2020 06:03:16 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 2511BB14B; Thu, 19 Mar 2020 10:03:14 +0000 (UTC) Subject: Re: [PATCH v2 2/2] x86/xen: Make the secondary CPU idle tasks reliable To: Miroslav Benes Cc: boris.ostrovsky@oracle.com, jgross@suse.com, sstabellini@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, jpoimboe@redhat.com, andrew.cooper3@citrix.com, x86@kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, xen-devel@lists.xenproject.org, jslaby@suse.cz References: <20200319095606.23627-1-mbenes@suse.cz> <20200319095606.23627-3-mbenes@suse.cz> From: Jan Beulich Message-ID: <2ca0a03c-734c-3a9e-90fd-8209046c5f01@suse.com> Date: Thu, 19 Mar 2020 11:03:13 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200319095606.23627-3-mbenes@suse.cz> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19.03.2020 10:56, Miroslav Benes wrote: > --- a/arch/x86/xen/smp_pv.c > +++ b/arch/x86/xen/smp_pv.c > @@ -53,6 +53,7 @@ static DEFINE_PER_CPU(struct xen_common_irq, xen_irq_work) = { .irq = -1 }; > static DEFINE_PER_CPU(struct xen_common_irq, xen_pmu_irq) = { .irq = -1 }; > > static irqreturn_t xen_irq_work_interrupt(int irq, void *dev_id); > +extern unsigned char asm_cpu_bringup_and_idle[]; Imo this would better reflect the actual type, i.e. be a function decl. If left as an array one, I guess you may want to add const. Jan