Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp4217329imc; Mon, 25 Feb 2019 00:35:33 -0800 (PST) X-Google-Smtp-Source: AHgI3Iak4ojzxzTOQnx+Vxvn+OpYDKeMVm7kyZ/RxXJW9MaeOhLTr+7BpnJFWW4wSsyc80/mkFEh X-Received: by 2002:a62:f51d:: with SMTP id n29mr18970695pfh.21.1551083733075; Mon, 25 Feb 2019 00:35:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551083733; cv=none; d=google.com; s=arc-20160816; b=vVfk28kRQgO9No4ZgsiaBXoaDbP9rHVEqDYgPLO3XjckW4fuqam22Qj8s244tNbahP D34mHWKhWpHnpo4bKtQ9RjKEOx7rKkpMwJ2ITfqUIdiLfyVNad/HRm87iGuyKoJnxjKX uOXP5kmJcbixso1QVNRMFSmurm7wpa+CHS1NCTC3umJaH0/hzO0Q4aQB/EZWy3yATMAM zp1wekTaWZWaP4ejd4r3LNRXuVIyih3RYYJ2AuBeIjR76lKXMIWaK6VyIMWitF5UASKs 1lnVosKs8P+dQ370kZUKK+K4DmLuGOV9M23Uz65/0J8b/1PWRjKDFjs5Fyo45HfO4UIR xbJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=R8/jrsgZy37rcm9d0JexY38x/Q69aQEf6gbO5bG0DkY=; b=KGz1APtSuftaPxv8kHOSJM42FPWzcL9ip422jNZYKtT8rzDxys5SKFlPxQGlVQIwYS QNFHGrGk1n1yeCtR/l2JZEMbnDn6WyDXk5yKgImVRMK8vwfMwtFsanY9hiFyayu6OzEc U1VwoO438x6l1VjOemTFwRgQzUIbttqQzo0sAD6R7LSeQY8/+96K4xOOI+O73CU3fhD9 pjYQp2H2HIbLFRhbsVrM6LW3AexAMEYR0VtvwzKiKDEIzp/HbR/sEHYzvnTraHPjquJz MMuv+68bnA1EwkUMDTmooSy7U7M0noDpF3lWKpLPl87v1rdX3bA0bqolwb+mvAGmUiyf s95g== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a127si8958741pgc.371.2019.02.25.00.35.17; Mon, 25 Feb 2019 00:35:33 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726357AbfBYIeq (ORCPT + 99 others); Mon, 25 Feb 2019 03:34:46 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:34584 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726054AbfBYIep (ORCPT ); Mon, 25 Feb 2019 03:34:45 -0500 Received: by mail-lf1-f66.google.com with SMTP id u21so6226700lfu.1 for ; Mon, 25 Feb 2019 00:34:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=R8/jrsgZy37rcm9d0JexY38x/Q69aQEf6gbO5bG0DkY=; b=bDXS5I90RDEfHESvHrHCURG/2BWSSX2cZFD1o4UclNzUCPfsG+BR/T0U0filMl7DGn 7JkwuMdpQerSbkuuTlxt919UcylSGZ2eFG4v4f8wkxMR4ps2Iy5CN6yp3HQATT0Z9GeM vav+u0rTyWijFa2POwTV2sBFsiNBonoR86s3O7Qo6MVumCk8zYYABWWIyUOwy7lAk1po 5mz5em0VOPZeBOi837ibuiWIiwvish3Yw9hfjFqlcQJM5a+8sKVP7KzNaL9uSDoxJ3rn 1lw4A4D9F6IE8uEtNA0+FeQlXYpr0JuqtC+4ZmWRgzfh8eRzovYf5MRfBvhwPl1SOAfA QrmQ== X-Gm-Message-State: AHQUAuanckeMP04oqsY+U9gKEIVMNYB9yr/Dhj1XHlZ7wlQcFovePhx/ uym7QyViwzx7NwFXYdH9IC4= X-Received: by 2002:a19:7613:: with SMTP id c19mr9383947lff.103.1551083683383; Mon, 25 Feb 2019 00:34:43 -0800 (PST) Received: from xi.terra (c-74bee655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.190.116]) by smtp.gmail.com with ESMTPSA id j12sm2765584lfb.90.2019.02.25.00.34.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Feb 2019 00:34:42 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.91) (envelope-from ) id 1gyBih-0000Hq-TZ; Mon, 25 Feb 2019 09:34:39 +0100 Date: Mon, 25 Feb 2019 09:34:39 +0100 From: Johan Hovold To: Atish Patra Cc: linux-riscv@lists.infradead.org, Alan Kao , Albert Ou , Andreas Schwab , Anup Patel , Dmitriy Cherkasov , Johan Hovold , linux-kernel@vger.kernel.org, Palmer Dabbelt , Paul Walmsley , Thomas Gleixner Subject: Re: [v6 PATCH 6/6] RISC-V: Assign hwcap as per comman capabilities. Message-ID: <20190225083439.GA4747@localhost> References: <1550864500-13652-1-git-send-email-atish.patra@wdc.com> <1550864500-13652-7-git-send-email-atish.patra@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1550864500-13652-7-git-send-email-atish.patra@wdc.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 22, 2019 at 11:41:40AM -0800, Atish Patra wrote: > Currently, we set hwcap based on first valid hart from DT. This may not > be correct always as that hart might not be current booting cpu or may > have a different capability. > > Set hwcap as the capabilities supported by all possible harts with "okay" > status. > > Signed-off-by: Atish Patra Reviewed-by: Johan Hovold