Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3646942pxb; Wed, 13 Oct 2021 10:02:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyS47d4QZd/1jpakvMekmAoMEcZ3FzNZTDO2fqTlFD427gDif4YeJxLMtLEtYGQmC/5ZIbd X-Received: by 2002:a05:6402:5190:: with SMTP id q16mr778491edd.228.1634144551519; Wed, 13 Oct 2021 10:02:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634144551; cv=none; d=google.com; s=arc-20160816; b=vfTNmiwZ2ZpaFmbBWp4vgrzSjAyNa5CmHnGv293iwuiIZWdlSbOpZD03o9M/UfmO7a qZKisrWi28mdMr6RmLAJcRj8GunWXcT4bzEOKo1M4/RfXjsSXK5mF6aLKpQpZi0PdYcL DopPRKfydNhKDouIabrwY7gHRBtUypanVEwmFkokWqCZQIsTu/NaPTOzrb1D2r+p7uHL DSwucdDdDg7ukDAhXmgXnwRNZeeWdeoFS8axuYiYC5E+69sZTmBzJTs5wD4noIdJGFSU Cfbd69uRwvEWeTOhKZ+PjWDUQho+N/Rg1eKqogyErwL184MZaVGnH1x1y8+AR+khEe5V YBxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BqJ9v+qKrQZJN9M6joACzgDRICdWGPAemCXzOBxSZp0=; b=tUVnaIdUr6KLM68B+FVQT/90OhO17vXkGazN0bwEU3fdvlA/SZocjsOoiyEXDOtUfA GPMRmFbAskUinn+d5yYaQ1EuJKj84QsX2+tDvqXqtwmI9H5qUKGSStNgkby9MOjZdYzr A+eZJeiwZ34jr6RlgD5MGiac52G1zRgDgFMoa9IV71gUkU4wZJuB1Lkbm7wUlHeQznEL 6oDhzjiTIX7X1xncNtI9b+uy5EyM6Sy3TYQHs12gvoAeU7kgUEF/nNEE4ndxa9FO2l6T n1xpfqfGyXtWGR9b2LyYt5jTE3A/Vnr8bSpmf/BMkn5GLln/8fPu/Z2feDLFygIdXEf4 s7yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="T/E3dOPl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f7si77274edd.38.2021.10.13.10.01.53; Wed, 13 Oct 2021 10:02:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="T/E3dOPl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237194AbhJMRAC (ORCPT + 99 others); Wed, 13 Oct 2021 13:00:02 -0400 Received: from mail.skyhub.de ([5.9.137.197]:37814 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230415AbhJMQ7v (ORCPT ); Wed, 13 Oct 2021 12:59:51 -0400 Received: from zn.tnic (p200300ec2f12080010afaa72f664282d.dip0.t-ipconnect.de [IPv6:2003:ec:2f12:800:10af:aa72:f664:282d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 8FB151EC04DA; Wed, 13 Oct 2021 18:57:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1634144266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=BqJ9v+qKrQZJN9M6joACzgDRICdWGPAemCXzOBxSZp0=; b=T/E3dOPlSJ7eRhLGyVTRxLirMHKqnVsZgWuCdNAy84scW7kIDam/TaRyDSyaicc+/ckC/L zez1OXupgZAmtp5JJ+WvlAZZ5MiFMprfohIhk5AHV283c+MDwOM1jkiOjWJTi6aHGbAeUq 95XB/POm9Il9g761lgRzKmQlQ3hfeKI= Date: Wed, 13 Oct 2021 18:57:49 +0200 From: Borislav Petkov To: Marcos Del Sol Vives Cc: x86@kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86: add support DM&P devices Message-ID: References: <20211008162246.1638801-1-marcos@orca.pet> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211008162246.1638801-1-marcos@orca.pet> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 08, 2021 at 06:22:46PM +0200, Marcos Del Sol Vives wrote: > +config CPU_SUP_DMP_32 > + default y > + bool "Support DM&P processors" if PROCESSOR_SELECT > + depends on !64BIT You mean depends on X86_32 ? Wikipedia says those things are 32-bit. > + help > + This enables detection, tunings and quirks for DM&P processors > + > + You need this enabled if you want your kernel to run on a > + DM&P CPU. Disabling this option on other types of CPUs So I'm not sure about the nomenclature: those CPUs are called Vortex86 and DM&P is simply the next owner of the IP: "Vortex86 previously belonged to SiS, which got the basic design from Rise Technology.[1] SiS sold it to DM&P Electronics[2] in Taiwan." So I'm thinking we should call everything Vortex, the file vortex.c, the vendor define X86_VENDOR_VORTEX and so on. > + makes the kernel a tiny bit smaller. Disabling it on a DM&P > + CPU might render the kernel unbootable. Why unbootable? It looks like those are perfect clones: "No special init required for DM&P processors." it says in the patch. :) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette