From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 24EC4CDB474 for ; Mon, 23 Oct 2023 09:50:26 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.621170.967347 (Exim 4.92) (envelope-from ) id 1qurZQ-0004HI-HS; Mon, 23 Oct 2023 09:50:00 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 621170.967347; Mon, 23 Oct 2023 09:50:00 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qurZQ-0004HB-Eq; Mon, 23 Oct 2023 09:50:00 +0000 Received: by outflank-mailman (input) for mailman id 621170; Mon, 23 Oct 2023 09:49:58 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qurZO-0004H5-Mf for xen-devel@lists.xenproject.org; Mon, 23 Oct 2023 09:49:58 +0000 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [2a00:1450:4864:20::236]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 869aa774-7189-11ee-98d5-6d05b1d4d9a1; Mon, 23 Oct 2023 11:49:57 +0200 (CEST) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2c16757987fso44728831fa.3 for ; Mon, 23 Oct 2023 02:49:57 -0700 (PDT) Received: from [192.168.201.133] ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id h8-20020a2ea488000000b002c27cd20711sm1532745lji.3.2023.10.23.02.49.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 02:49:56 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 869aa774-7189-11ee-98d5-6d05b1d4d9a1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698054597; x=1698659397; darn=lists.xenproject.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=ZUec5HQQ2PSukLyXg/hoAoXU+/9nN+IY2Wex/kqK/S8=; b=PEoYkluLHjSe6KgCh+5tPuatump5suqwhjPHZ8U2HRxosX5N6RWT+dLUde5XiQCFkq 9a1fBu4o2Rri86wktRjLZITeyw45QvJAzd7uUU58IK0WTbdiuxkcEQfZ1gvE/cSLKrlZ 9cB/7ZBdRNdOkIaR+nTMGBZZ3FEY32Y3C+wmCAVVxbEQTz3hCSa72P/wJ/+Djmy/CIMh rn65eQ/I902wzONPkTP4aE3gY8Q3lWWAGiaSOP7YwSS7Ix2deDOn/S85ERpcxgecKTBJ 61SEGESU5DdwM9lEYHImqnxwEpW73hsq5RWtZpbCkq4C81M6FjoNKMUBlMuJiakLH7Qo D0Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698054597; x=1698659397; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ZUec5HQQ2PSukLyXg/hoAoXU+/9nN+IY2Wex/kqK/S8=; b=asDBntkT67NwVQ/j96Ek2RrvzwUUaLWegRwiAqtjCtTKaWqRwRmkXG5NswlvRFnIkf 5aHZGb/34SZYMCWFYBFfPxsrCVOLn7Xnozi0NqlVbzyOzg5JpLOUKbsrVG2Z7qPQHg+h ZsOrUgJYjuZWx1Co287hF4AJJUbCR90xINp7QHak1l5Et9MGFKaGf6j77qwY//JkYMD+ FFHXni9Qzt9PCPhKelx27WhY1Bbl85uBDPBhw8wqoQbPbl1buR0zGQbDRmSRaNuJ3pm7 sSF3V01LVPNfNw+NJM0AZmZ2KEC9WCeYpaFWoN7kYcd/ZA6fzzXVdDMu9JQQodJ9EZxB gupA== X-Gm-Message-State: AOJu0YxDR+ZrpbP5OpWIcB3xB5lQ4CD0AmeD9OMDJowN40AAaeycbwSU x1tRnPhn2s32BZ3SiCRTU7g= X-Google-Smtp-Source: AGHT+IGfrBIxdBtldO0DBN8K4McjKWv91BJBT05/D5AskVb7Pt0FbfJTpZ0z0aVQmjmMaykcNwTnsQ== X-Received: by 2002:a2e:90d0:0:b0:2c5:ee7:b322 with SMTP id o16-20020a2e90d0000000b002c50ee7b322mr6207788ljg.18.1698054597113; Mon, 23 Oct 2023 02:49:57 -0700 (PDT) Message-ID: <3889dd0e2b3bae28d6b74ab72038ad29ac97cab9.camel@gmail.com> Subject: Re: [PATCH v1 03/29] xen/asm-generic: introduce stub header cpufeature.h From: Oleksii To: Jan Beulich Cc: Andrew Cooper , George Dunlap , Julien Grall , Stefano Stabellini , Wei Liu , xen-devel@lists.xenproject.org Date: Mon, 23 Oct 2023 12:49:55 +0300 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 On Thu, 2023-10-19 at 11:11 +0200, Jan Beulich wrote: > I'm not convinced an arch can get away without such a header. > Certainly > RISC-V and PPC can't, with all their ISA extensions that already > exist > (part of which will want making use of, others may simply want > exposing > to guests). Yes, it looks like you are right. I forgot about a considerable amount of ISA. By this patch series, I tried to move headers to asm-generic to build minimal Xen without introducing the stub cpu_nr_siblings(unsigned int cpu) for each new arch. But taking into account that likely this header will be re-introduced for an arch, there is probably no sense to have it in asm-generic. ~ Oleksii