Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1901857ybv; Fri, 14 Feb 2020 07:59:26 -0800 (PST) X-Google-Smtp-Source: APXvYqzTZatauIubSbyou+mGupqNP9sdT6zznstbjMcskX9dsoiTTJxrPjpEqLyT/xuSr+5lyAHQ X-Received: by 2002:aca:2315:: with SMTP id e21mr2280696oie.147.1581695966316; Fri, 14 Feb 2020 07:59:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581695966; cv=none; d=google.com; s=arc-20160816; b=lWhGDzCSFsE7+DSiR1ibnl6d4o2milhJdk4WdoA3c4q1lbqTHF91232PYiq+W1qjyi OXaVjzIppNCSng9jU/nwDPPbLq6/eK5ttKKs3MlhQp4sTzZUw9t4W1FaWtX7PrQiILye ieM66RiqOtpi06nPtlUfHuyhBka7ZuQfmbELECESAwU8YXFw1ArVEc2tuIASjVwV+YT9 TUnBWQoWUoDNggvQdSYIsVcZeAy0jqF5iqIsHP4FyOsU6h65bik4nv8gkviXtGvrw5b9 0bAmF3TscZHH4phLAsSLnuRoQbEwLx/1jEcgkm4gUrat+kfY3hp8UyiCaB3vfgcNq1zo aPvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=7bOcfoQZl3F8fqHPhjMMAa503NpXfsD6HMvBw5tSP8s=; b=XHnuaz6w11qLmnuIHKlSzjzh7wOFApEnes0kGvwnjJkzjAv+ALrVxfkektNcRoS8Ap QCbXOXSK6t80zI/jf0x7aj964WaOydtrva6W4PlMEH32Yczm5GAW3vZz2sefDhqNV+hb ENE+akh/CkI9HCihLl5RsC7Ja8ReLP7yP6ZhT7LgA3gTCAkSA6jrP0d0MfK1Tmw+2kmk /8tuThP6+yO+0F0ij9v7GtfOQPjO+Hd8f+kVwKcjRGCY43jew2CthJSJ3PprEvGNbB3h SfPrh5mp5mmry9z3WXmC3lFKPktUHLYiHTg9yuGyoWw24EssXqIHOMepKXuaZSpEOsk0 i/Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kX2dO2lu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h28si3409231otg.63.2020.02.14.07.59.14; Fri, 14 Feb 2020 07:59:26 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=kX2dO2lu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388656AbgBNP6l (ORCPT + 99 others); Fri, 14 Feb 2020 10:58:41 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:46915 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387854AbgBNP6Z (ORCPT ); Fri, 14 Feb 2020 10:58:25 -0500 Received: by mail-ot1-f67.google.com with SMTP id g64so9551637otb.13 for ; Fri, 14 Feb 2020 07:58:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7bOcfoQZl3F8fqHPhjMMAa503NpXfsD6HMvBw5tSP8s=; b=kX2dO2lu3E8rOEoTVvCGYM8nPGoKdlDT8ZvHPHxRs3BzVhUSkxcCw6K24Y5aTtU5si +Ux5zL5Msjyx4lSZ/GeC2SApmABaIF5o7Wc2sn5Qi37BFA3bS/8cI9O/dAX9zoVOw6Rk tP7Ie6F3omocpszOy7JJPoqv8s7Mr+IYE6Wtf30DD3zw87++2OcYkknPGZLTjz6pIeyc jWc2ZI6heV1WH6u0CHC2nW2yYe1YZ/yK4yHg2FP1KqVlCiLhi1MXjQlr6h4I0ICE9pM2 8I357YnqPF2jqYz8P+jqGhFPLOfuRB8FXsCmq4Xm+moi+nt0eu0jnuhQMyhQeELq3wWP GUfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7bOcfoQZl3F8fqHPhjMMAa503NpXfsD6HMvBw5tSP8s=; b=BMDqB6nx/2LIsEKDDkkCXY6iePLWQjeyUUsxjdND8njtU5aMqSPNlCqB/7QmSwhds7 JOtYflerzb/b5sJh84SQNAkIIjUgdgXQBFFzkpdhOQzXvE8vlBNRRTTx7qpn5VwwwK7V uZ5vqlRGv7V7wPkpU+YmYM/Vx9P+ozLuQk23JoHoLfmK1xwmWl6JhuntgOYROZqyxLwU m87zo1uhVRaCrVZ+odWdIDh7iXciIl62cRPuU2YCDXu/oB4/bK5duPlIeNQiZJ+KDBhr bwMyTkaPiERPiFrh6pEQXyZk+n0VKgskQKyGagKRA862aEwxkyOUAUvtcgAeNMWGyQMN H3lQ== X-Gm-Message-State: APjAAAUwQYJWWA2axRAT+hNOJbfAENUW+40dw06sQG1R1uLNxcLkqkY2 1nzBxQpeMKD2G/5ljsx9NsUH0AiaghVYM0vUNCUgRQ== X-Received: by 2002:a05:6830:13d3:: with SMTP id e19mr2830279otq.135.1581695904754; Fri, 14 Feb 2020 07:58:24 -0800 (PST) MIME-Version: 1.0 References: <1580215149-21492-1-git-send-email-anshuman.khandual@arm.com> <45ce930c-81b3-3161-ced6-34a8c8623ac8@arm.com> In-Reply-To: <45ce930c-81b3-3161-ced6-34a8c8623ac8@arm.com> From: Peter Maydell Date: Fri, 14 Feb 2020 15:58:13 +0000 Message-ID: Subject: Re: [PATCH 0/6] Introduce ID_PFR2 and other CPU feature changes To: Anshuman Khandual Cc: arm-mail-list , Catalin Marinas , lkml - Kernel Mailing List , Marc Zyngier , Will Deacon , kvmarm@lists.cs.columbia.edu Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 14 Feb 2020 at 04:23, Anshuman Khandual wrote: > > > > On 01/28/2020 06:09 PM, Anshuman Khandual wrote: > > This series is primarily motivated from an adhoc list from Mark Rutland > > during our ID_ISAR6 discussion [1]. Besides, it also includes a patch > > which does macro replacement for various open bits shift encodings in > > various CPU ID registers. This series is based on linux-next 20200124. > > > > [1] https://patchwork.kernel.org/patch/11287805/ > > > > Is there anything else apart from these changes which can be accommodated > > in this series, please do let me know. Thank you. > > Just a gentle ping. Any updates, does this series looks okay ? Is there > anything else related to CPU ID register feature bits, which can be added > up here. FWIW, the series still applies on v5.6-rc1. I just ran into some "32-bit KVM doesn't expose all the ID registers to userspace via the ONE_REG API" issues today. I don't know if they'd be reasonable as something to include in this patchset or if they're unrelated. Anyway, missing stuff I have noticed specifically: * MVFR2 * ID_MMFR4 * ID_ISAR6 More generally I would have expected all these 32-bit registers to exist and read-as-zero for the purpose of the ONE_REG APIs, because that's what the architecture says is supposed to happen and it means we have compatibility and QEMU doesn't gradually build up lots of "kernel doesn't support this yet" conditionals... I think we get this right for 64-bit KVM, but can we do it for 32-bit as well? thanks -- PMM