[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 19/29] xen/asm-generic: introduce stub header hardirq.h


  • To: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 19 Oct 2023 13:04:50 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zl6czcccU3Je0a7T59b25S4OQslclU2No1euv4l2XDQ=; b=mTPr0ofhrm6mjJA8uX2T6nqcquVEJXCHf6HqbW8p6pvW/HhE9OaLho44ttcAIndx5UwCV5ZWrs4euGUHwxjKoABywxflhSj6URajqZoyQkd02aEIAgq1O3aMJl06vt8uaK2mGWUnP78n1P4Fou6seHWRKQWJOsquzOokOsOBI7NCbkwrI5m9YEAWL459Or5krQK3/Cx7jgYRpfxZCP8f234Symhnz303UuhZJOttbPXwlfkXSgJ6Z+pR0yA01R1jDIVXa70iqwaCDoZcHKCDRLZ3QOjycD7kG6iDtvBlFAeAwe0NaXktUWBcC0nD6ftDiyE7bGdxYNb3iTik2JzkLA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lFc7e5FSZ/8UQH3PvWFOaL71Y3Q+l5oj0beh5TCqwHFWg04A12N1eXEzi6i3i8326RbtX/zoDPbm5nDFogg3Cc5TyYGXL0v8SDL9Q7QKxjqunBwGvTrGetve/7CotHUa2scuPAVs2MxW+H+dpiQj45ZdkuXmFV8DmsYxBmJjIf5JlyCaMR5/6KxJSAAvtb0hGmRRx7OedLDBJOGEN5q5NzpPHvjThroQWXigOYSURRCo41hIQeca4v++L18+El+QjvHyjc1IMUU0FbylNffHhPfbh6/aPCmbJYKhEFdbknG4/8GNV1zTQs32xl8B/IMfxnP524ZFKqrXJLFt1cHh9g==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 19 Oct 2023 11:05:30 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 14.09.2023 16:56, Oleksii Kurochko wrote:
> The patch introduces header stub necessry for full Xen build.
> 
> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>

I agree this one can be generalized from Arm's, but ...

> --- /dev/null
> +++ b/xen/include/asm-generic/hardirq.h
> @@ -0,0 +1,27 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
> +#ifndef __ASM_GENERIC_HARDIRQ_H
> +#define __ASM_GENERIC_HARDIRQ_H
> +
> +#include <xen/smp.h>
> +
> +typedef struct {
> +        unsigned long __softirq_pending;
> +        unsigned int __local_irq_count;
> +} __cacheline_aligned irq_cpustat_t;

... where is __cacheline_aligned going to come from without inclusion
of xen/cache.h (as Arm has it)?

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.